@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --primary: #5ea3a3;
    --primary-dark: #467a7a;
    --secondary: #9dbbbd;
    --accent: #2c3e50;
    --text: #1a1a1a;
    --text-muted: #666;
    --bg: #f5f8f8;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: filter 0.3s ease;
}

body.high-contrast {
    filter: grayscale(1) contrast(1.5);
    background: white;
}

.container {
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: inline;
    }
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    gap: 0.5rem;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.top-bar {
    background: var(--accent);
    color: var(--white);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    z-index: 1001;
    position: relative;
    white-space: nowrap;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

.top-bar strong {
    color: var(--primary);
}

nav {
    position: fixed;
    top: 36px;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

nav.scrolled {
    top: 0;
    padding: 0.8rem 0;
    background: var(--glass);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1.1rem;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #eaf4f4 0%, #f5f8f8 100%);
    text-align: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--accent);
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    margin-top: 3rem;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
    animation: floating 5s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
}

.service-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.about-flex {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.about-text h2 span {
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 20px;
}

.testimonial-author h4 {
    font-size: 0.95rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 14px;
}

.faq-question {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.2rem;
    max-height: 150px;
}

.contact-wrap {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info h2 span { color: var(--primary); }

.info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.info-icon {
    font-size: 1.4rem;
    color: var(--primary);
}

.contact-image img {
    width: 100%;
    border-radius: 24px;
}

footer {
    background: var(--accent);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    font-size: 1.4rem;
}

.social-links a { color: white; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.brand-link {
    display: block;
    margin-top: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.brand-link strong { color: white; }

.trust-bar {
    background: #fff;
    padding: 2.5rem 0;
    border-bottom: 1px solid #eee;
}

.trust-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.trust-bar p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0.6;
}

.trust-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
}

.trust-logo strong {
    color: var(--primary);
}

.about-image {
    position: relative;
}

.crp-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    z-index: 5;
    border: 2px solid white;
}

@media (min-width: 768px) {
    .trust-bar .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.banner-cta {
    position: relative;
    padding: 120px 0;
    background-image: linear-gradient(rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0.75)), url('../img/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    text-align: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .banner-cta {
        padding: 160px 0;
        background-attachment: fixed;
    }
    
    .banner-content h2 {
        font-size: 3rem;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    border-radius: 20px;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.google-review {
    position: relative;
    padding-top: 3.5rem;
}

.google-logo {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #4285F4;
    opacity: 0.2;
}

.stars {
    color: #fbba00;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-map {
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.lgpd-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 2000;
    display: none;
    animation: slideUp 0.6s ease;
}

.lgpd-bar.active {
    display: block;
}

.lgpd-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.lgpd-bar p {
    font-size: 0.85rem;
    max-width: 800px;
}

.lgpd-bar a {
    color: var(--primary);
    text-decoration: underline;
}

.accessibility-ctrl button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
}

.accessibility-ctrl button:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lgpd-bar .container { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 768px) {
    .btn { width: auto; }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { flex-direction: row; justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .section-header h2 { font-size: 2.2rem; }
    .menu-toggle { display: none; }
    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        padding: 0;
        box-shadow: none;
        background: transparent;
        gap: 2rem;
    }
    .nav-links a { font-size: 1rem; }
}

@media (min-width: 992px) {
    .hero { text-align: left; padding: 180px 0 100px; }
    .hero-flex { display: flex; align-items: center; gap: 4rem; }
    .hero-btns { justify-content: flex-start; }
    .hero-image { margin-top: 0; flex: 1; }
    .hero-content { flex: 1.2; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .about-flex { flex-direction: row; align-items: center; }
    .about-image, .about-text { flex: 1; }
    .contact-wrap { flex-direction: row; align-items: flex-start; }
    .contact-info, .contact-image { flex: 1; }
    .footer-grid { flex-direction: row; justify-content: space-between; }
    section { padding: 100px 0; }
}
