/* --- FONTS (Aventa) --- */
/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 24px;
    animation: slideUp 0.5s ease-out;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cookie-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
    border-radius: var(--radius-btn);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .btn-sm { width: 100%; }
}

/* --- VARIABLES --- */
:root {
    --primary: #00434F;      /* Verde Institucional */
    --primary-dark: #07272D;
    --accent: #DD7975;       /* Coral Institucional */
    --accent-hover: #c96662;
    --neutral-light: #F2CAAD;
    --bg-light: #FAFAF9;
    --white: #ffffff;
    --text-dark: #002B49;
    --text-gray: #57534e;
    
    --radius-card: 20px;
    --radius-btn: 50px;
    --shadow-soft: 0 10px 40px -10px rgba(0, 67, 79, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(0, 67, 79, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Aventa', sans-serif; }

body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; font-weight: 300; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }

/* --- COMPONENTS --- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,67,79,0.2); }

.btn-accent { background-color: var(--accent); color: var(--white); }
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(221, 121, 117, 0.3); }

/* Botão Branco com Texto Coral (Para a Hero) */
.btn-white-coral { 
    background-color: var(--white); 
    color: var(--accent); 
    border: 2px solid var(--white);
}
.btn-white-coral:hover { 
    background-color: transparent; 
    color: var(--white); 
    transform: translateY(-3px);
}

/* --- HEADER --- */
header {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

header.scrolled {
    background-color: var(--primary) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-img { max-height: 48px; width: auto; display: block; transition: var(--transition); }
header.scrolled .logo-img { max-height: 40px; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-item { position: relative; padding: 10px 0; }

.nav-link { 
    font-weight: 500; font-size: 0.9rem; color: var(--white); 
    text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.9; position: relative;
    cursor: pointer; /* Garante cursor de clique */
}
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--accent); transition: var(--transition);
}
.nav-item:hover .nav-link { opacity: 1; color: var(--neutral-light); }
.nav-item:hover .nav-link::after { width: 100%; }

/* --- DROPDOWN MENU --- */
.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 260px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%; margin-left: -6px;
    width: 12px; height: 12px; background: var(--white); transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.05); border-left: 1px solid rgba(0,0,0,0.05);
}

/* Hover apenas no Desktop */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(10px);
    }
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    border-radius: 8px;
    text-transform: none;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}
.dropdown-link:hover {
    background-color: #f0fdfa;
    color: var(--primary);
    padding-left: 20px;
}

.mobile-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Botão Header CTA */
.header-cta {
    background-color: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    font-size: 0.8rem;
    border-radius: var(--radius-btn);
    transition: var(--transition);
}
.header-cta:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(221, 121, 117, 0.4); }

header.scrolled .header-cta { background-color: var(--accent); color: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
header.scrolled .header-cta:hover { background-color: var(--white); color: var(--accent); }

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    position: relative; color: var(--white);
    background-image: url('imagens/hero-banner.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente para destacar o texto coral */
    background: linear-gradient(180deg, rgba(0,67,79,0.7) 0%, rgba(0,43,73,0.8) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; max-width: 1000px; }

/* H1 DA HERO */
.hero h1 { 
    font-size: 3.5rem; 
    color: var(--accent); 
    margin-bottom: 24px; 
    line-height: 1.2; 
    font-weight: 900; 
    text-transform: none; 
}

/* SUBTÍTULO DA HERO */
.hero-sub { 
    font-size: 1.5rem; 
    color: rgba(255,255,255,0.95); 
    margin-bottom: 40px; 
    font-weight: 300; 
    max-width: 800px; 
    margin-inline: auto; 
}

/* Container de Botões da Hero */
.hero-btns {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaço maior entre os botões */
    flex-wrap: wrap;
}

/* --- GRID PROCEDIMENTOS --- */
.content-section { padding: 120px 0; }
.section-title { text-align: center; margin-bottom: 80px; }
.section-title h2 { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.section-title p { color: var(--text-gray); font-size: 1.2rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; }

.card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex; flex-direction: column; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: transparent; }

.card-image-container {
    width: 100%; padding-top: 80%;
    position: relative; overflow: hidden; background-color: #f0fdfa;
}
.card-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover .card-img { transform: scale(1.1); }

.card-content { padding: 32px; display: flex; flex-direction: column; flex-grow: 1; }
.card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.4rem; line-height: 1.2; min-height: 3.4rem; display: flex; align-items: center; }
.card p { font-size: 1rem; color: var(--text-gray); margin-bottom: 30px; flex-grow: 1; line-height: 1.6; opacity: 0.9; }

.card-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.btn-card { 
    flex: 1; padding: 14px 10px; font-size: 0.75rem; border-radius: 12px; 
    text-align: center; font-weight: 700; cursor: pointer; 
    border: 1px solid transparent; text-transform: uppercase; transition: 0.2s; 
    white-space: nowrap; min-width: 120px;
}
.btn-card-primary { background: var(--accent); color: white; }
.btn-card-primary:hover { background: var(--accent-hover); box-shadow: 0 5px 15px rgba(221,121,117,0.3); }
.btn-card-outline { border-color: #e5e5e5; color: var(--text-gray); background: transparent; }
.btn-card-outline:hover { border-color: var(--primary); color: var(--primary); background: #f0fdfa; }

/* --- OTHER SECTIONS --- */
.bg-primary { background-color: var(--primary); color: white; }
.bg-primary h2 { color: var(--accent); }
.feature-list li { margin-bottom: 20px; font-size: 1.1rem; }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 67, 79, 0.85); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center; z-index: 2000;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
    background: white; padding: 50px; border-radius: 24px;
    max-width: 500px; width: 90%; position: relative;
    transform: translateY(20px); transition: transform 0.3s ease;
    text-align: center;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--text-gray); }
.modal-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 25px 0; }
.badge { background: #f0fdfa; color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; border: 1px solid #ccfbf1; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- REVIEWS MARQUEE --- */
.reviews-marquee {
    position: relative; width: 100%; overflow: hidden; padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track { display: flex; gap: 30px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.review-card {
    background: #fafaf9; border-radius: 16px; padding: 25px;
    min-width: 320px; max-width: 320px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.03);
    display: flex; flex-direction: column; justify-content: space-between;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.review-info h4 { font-size: 0.95rem; margin-bottom: 2px; color: var(--text-dark); }
.stars { color: #FFB400; font-size: 0.8rem; }
.review-text { font-size: 0.9rem; color: var(--text-gray); font-style: italic; line-height: 1.5; }
.google-icon { width: 20px; height: 20px; margin-left: auto; opacity: 0.6; }

/* --- PAGE CONTENT --- */
.page-header { background-color: var(--primary); color: white; padding: 180px 0 80px; text-align: center; }
.page-header h1 { color: white; font-size: 2.8rem; margin-bottom: 10px; }
.page-feature-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 20px; margin-bottom: 50px; box-shadow: var(--shadow-soft); }
.content-wrapper h2 { color: var(--primary); font-size: 1.8rem; margin: 40px 0 20px; border-left: 4px solid var(--accent); padding-left: 15px; }
.content-wrapper ul li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.content-wrapper ul li::before { content: '•'; color: var(--accent); font-weight: bold; position: absolute; left: 0; }
.faq-item { background: white; border: 1px solid #eee; padding: 20px; margin-bottom: 15px; border-radius: 8px; }
.faq-question { font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { margin-top: 15px; color: var(--text-gray); display: none; padding-top: 15px; border-top: 1px solid #f0f0f0; }

/* --- FOOTER --- */
footer { background: var(--primary-dark); color: white; padding: 100px 0 40px; font-size: 0.95rem; }
.footer h4 { color: var(--accent); margin-bottom: 30px; font-size: 1.1rem; }
.footer a { color: rgba(255,255,255,0.7); } .footer a:hover { color: var(--accent); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    /* Menu Hambúrguer (Alinhado à direita) */
    .mobile-toggle { 
        display: block; 
        z-index: 1002; 
        color: var(--white); 
        margin-left: auto; /* Força para direita */
    }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
        background: var(--white);
        flex-direction: column; align-items: flex-start; justify-content: flex-start;
        padding: 100px 30px 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        z-index: 1001;
    }
    
    .nav-links.active { right: 0; }
    .nav-link { color: var(--text-dark); font-size: 1.2rem; padding: 15px 0; display: block; border-bottom: 1px solid #f0f0f0; width: 100%; }
    .header-cta { width: 100%; margin: 20px 0 0 0; text-align: center; }
    
    /* Mobile Dropdown */
    .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        border: none; 
        opacity: 1; 
        visibility: visible; 
        transform: none; 
        padding: 0 0 0 20px; 
        display: none; 
        background: #fafaf9; 
        width: 100%;
        margin-top: 10px;
    }
    .nav-item.expanded .dropdown-menu { display: block; }
    
    .hero { min-height: 85vh; background-attachment: scroll; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -1px; margin-bottom: 30px; }
    
    /* Botões da Hero no Mobile */
    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .hero-btns .btn { width: 100%; margin-left: 0; }
    
    .grid { grid-template-columns: 1fr; gap: 30px; }
    .card-actions { flex-direction: column; }
    
    .page-header { padding: 120px 0 60px; }
    .page-feature-image { max-height: 300px; }
    
    header.scrolled .mobile-toggle { color: var(--white); }
}