/* ================================================
   FONTES — Self-hosted
   ================================================ */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ================================================
   STYLE.CSS — Versão 3 — Dra. Carla Ferner
   Hero centralizado | Masonry | Paleta azul
   #173258 | #718dac | #F2F2F2
   ================================================ */
   
   

:root {
    --azul-profundo: #173258;
    --azul-hover:    #0f2340;
    --azul-neutro:   #718dac;
    --azul-light:    #e8edf3;
    --cinza-claro:   #F2F2F2;
    --branco:        #FFFFFF;
    --texto-escuro:  #1a1a1a;
    --texto-medio:   #4a4a4a;
    --border-light:  #e0e0e0;
    --whatsapp-green:#25D366;
    --font-principal:'Montserrat', sans-serif;
    --container-max: 1200px;
    --section-py:    100px;
    --section-py-m:  60px;
    --transition:    all 0.35s cubic-bezier(0.4,0,0.2,1);
    --shadow-sm:     0 2px 8px rgba(23,50,88,0.06);
    --shadow-md:     0 4px 20px rgba(23,50,88,0.08);
    --shadow-lg:     0 8px 40px rgba(23,50,88,0.12);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     20px;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-principal);font-size:16px;line-height:1.7;color:var(--texto-escuro);background:var(--branco);overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{text-decoration:none;color:inherit;transition:var(--transition)}
ul{list-style:none}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input{font-family:inherit}
.container{width:100%;max-width:var(--container-max);margin:0 auto;padding:0 24px}


/* ================================================
   BUTTONS — azul profundo (paleta oficial)
   Exceção: hero usa branco para contraste
   ================================================ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-principal);font-weight:600;font-size:14px;letter-spacing:0.02em;border-radius:var(--radius-sm);padding:14px 28px;transition:var(--transition);white-space:nowrap}

/* Primary: azul em todo o site */
.btn--primary{background:var(--azul-profundo);color:var(--branco);border:2px solid var(--azul-profundo)}
.btn--primary:hover{background:var(--azul-hover);border-color:var(--azul-hover);transform:translateY(-2px);box-shadow:var(--shadow-lg)}

/* Primary no hero: branco para contraste com fundo escuro */
.hero .btn--primary{background:var(--branco);color:var(--azul-profundo);border-color:var(--branco)}
.hero .btn--primary:hover{background:var(--azul-light);border-color:var(--azul-light);transform:translateY(-2px);box-shadow:0 8px 30px rgba(255,255,255,0.2)}

.btn--secondary{background:transparent;color:var(--branco);border:2px solid rgba(255,255,255,0.55)}
.btn--secondary:hover{background:var(--branco);color:var(--azul-profundo);border-color:var(--branco);transform:translateY(-2px)}

.btn--secondary-light{background:transparent;color:var(--branco);border:2px solid rgba(255,255,255,0.5)}
.btn--secondary-light:hover{background:var(--branco);color:var(--azul-profundo);border-color:var(--branco);transform:translateY(-2px)}

/* Secondary dentro de seções claras */
.section--white .btn--secondary,
.section--gray  .btn--secondary{background:transparent;color:var(--azul-profundo);border-color:var(--azul-profundo)}
.section--white .btn--secondary:hover,
.section--gray  .btn--secondary:hover{background:var(--azul-profundo);color:var(--branco)}

.btn--lg{padding:16px 36px;font-size:15px}
.btn--sm{padding:10px 20px;font-size:13px}
.btn--full{width:100%}
.btn--nav{padding:10px 24px;font-size:13px}


/* ================================================
   SECTIONS
   ================================================ */
.section {
    padding-top: 40px; /* Corta o excesso do topo. Se achar que subiu muito, altere para 50px */
    padding-bottom: var(--section-py); /* Mantém os 100px embaixo do botão azul que já estão perfeitos */
}

.section--white{
    background:
        radial-gradient(ellipse 55% 45% at 4% 12%, rgba(113,141,172,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 45% 50% at 96% 88%, rgba(23,50,88,0.05) 0%, transparent 55%),
        var(--branco)
}

.section--gray{
    background:
        radial-gradient(ellipse 60% 45% at 96% 8%,  rgba(113,141,172,0.11) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 4%  92%, rgba(23,50,88,0.06)   0%, transparent 55%),
        var(--cinza-claro)
}

.section--dark{background:var(--azul-profundo)}

.section__header{text-align:center;max-width:680px;margin:0 auto 60px}
.section__title{font-size:clamp(28px,4vw,40px);font-weight:700;color:var(--azul-profundo);margin-bottom:16px;letter-spacing:-0.02em}
.section__title--light{color:var(--branco)}
.section__subtitle{font-size:clamp(15px,2vw,17px);color:var(--texto-medio);line-height:1.8}
.section__subtitle--light{color:rgba(255,255,255,0.75)}
.section__cta{text-align:center;margin-top:48px}

.decorative-quote{font-size:140px;font-family:Georgia,serif;color:rgba(23,50,88,0.06);line-height:0.8;margin-bottom:-30px;user-select:none}


/* ================================================
   PLACEHOLDERS
   ================================================ */
.img-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--azul-light);border:2px dashed var(--azul-neutro);border-radius:var(--radius-md);color:var(--azul-neutro);font-size:12px;font-weight:500;letter-spacing:0.05em;text-transform:uppercase;width:100%;overflow:hidden}
.img-placeholder--hero{position:absolute;inset:0;border-radius:0;border:none}
.img-placeholder--card-overlay{position:absolute;inset:0;border-radius:0;border:none;z-index:0}
.img-placeholder--video{aspect-ratio:16/9}
.img-placeholder--gallery{aspect-ratio:4/3;min-height:160px}
.img-placeholder--bio{aspect-ratio:3/4;min-height:400px}

.fade-up{opacity:0;transform:translateY(30px);transition:opacity 0.7s cubic-bezier(0.4,0,0.2,1),transform 0.7s cubic-bezier(0.4,0,0.2,1)}
.fade-up.visible{opacity:1;transform:translateY(0)}


/* ================================================
   HEADER — transparente → branco ao scrollar
   ================================================ */
.header{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:16px 0;transition:var(--transition);background:transparent}
.header.scrolled{background:rgba(255,255,255,0.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:10px 0;box-shadow:0 1px 20px rgba(23,50,88,0.08)}
.header__inner{display:flex;align-items:center;justify-content:space-between}

.header__logo{display:flex;align-items:center;transition:var(--transition)}
.header__logo-img{height:48px;width:auto;display:block;object-fit:contain;filter:brightness(0) invert(1);transition:var(--transition)}
.header.scrolled .header__logo-img{filter:none}

.header__nav{display:flex;align-items:center;gap:32px}
.header__menu{display:flex;align-items:center;gap:28px}
.header__menu a{font-size:14px;font-weight:500;color:rgba(255,255,255,0.85);position:relative}
.header__menu a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--branco);transition:var(--transition)}
.header__menu a:hover::after,.header__menu a.active::after{width:100%}
.header.scrolled .header__menu a{color:var(--texto-escuro)}
.header.scrolled .header__menu a::after{background:var(--azul-profundo)}
.header.scrolled .header__menu a.active{color:var(--azul-profundo);font-weight:600}

.header .btn--nav{background:rgba(255,255,255,0.12);color:var(--branco);border:2px solid rgba(255,255,255,0.35);backdrop-filter:blur(8px)}
.header .btn--nav:hover{background:var(--branco);color:var(--azul-profundo);border-color:var(--branco)}
.header.scrolled .btn--nav{background:var(--azul-profundo);color:var(--branco);border-color:var(--azul-profundo)}
.header.scrolled .btn--nav:hover{background:var(--azul-hover);border-color:var(--azul-hover)}

.header__hamburger{display:none;flex-direction:column;gap:5px;z-index:1001}
.header__hamburger span{display:block;width:24px;height:2px;background:var(--branco);transition:var(--transition);border-radius:2px}
.header.scrolled .header__hamburger span{background:var(--azul-profundo)}
.header__hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.header__hamburger.active span:nth-child(2){opacity:0}
.header__hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.header__hamburger.active span{background:var(--branco) !important}


/* ================================================
   HERO — imagem de fundo + TEXTO CENTRALIZADO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* MUDANÇA AQUI: Transforma o eixo em vertical */
    padding-top: 140px; /* Barreira de titânio contra o header */
    padding-bottom: 80px; /* Respiro pro scroll */
    overflow: hidden;
}
.hero__bg{position:absolute;inset:0;z-index:0}

.hero__bg-img{
    position:absolute;inset:0;
    width:100%;height:100%;
    object-fit:cover;z-index:1;
    will-change:transform;
    animation:ken-burns 25s ease-in-out infinite alternate
}

@keyframes ken-burns{
    0%  {transform:scale(1)    translate(0,0)}
    100%{transform:scale(1.08) translate(-1%,-1%)}
}

/* Overlay com profundidade volumétrica */
.hero__overlay{
    position:absolute;inset:0;z-index:2;
    background:
        radial-gradient(ellipse 65% 70% at 80% 40%, rgba(113,141,172,0.30) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 15% 70%, rgba(42,82,152,0.22)   0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 50% 5%,  rgba(23,50,88,0.55)    0%, transparent 60%),
        linear-gradient(175deg, rgba(23,50,88,0.90) 0%, rgba(23,50,88,0.72) 50%, rgba(11,30,65,0.88) 100%)
}

/* Linha de luz diagonal */
.hero::before{
    content:'';
    position:absolute;inset:0;z-index:3;
    pointer-events:none;
    background:linear-gradient(
        110deg,
        transparent 25%,
        rgba(113,141,172,0.05) 42%,
        rgba(180,210,240,0.12) 50%,
        rgba(113,141,172,0.05) 58%,
        transparent 75%
    )
}

/* CONTEÚDO CENTRALIZADO — diferencial desta versão */
.hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 880px;
    margin: auto; /* A MÁGICA: Centraliza em todas as direções, mas obedece o padding do pai cegamente */
    text-align: center;
}

.hero__tagline{
    display:inline-flex;
    align-items:center;
    gap:12px;
    font-size:clamp(12px,1.8vw,15px);
    font-weight:700;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--branco);
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(12px);
    padding:14px 32px;
    border-radius:50px;
    margin-bottom:28px;
    border:1px solid rgba(255,255,255,0.30);
    box-shadow:0 0 20px rgba(255,255,255,0.06), 0 0 40px rgba(113,141,172,0.08);
    animation:tagline-glow 3s ease-in-out infinite
}

.hero__tagline::before{
    content:'';
    width:9px;
    height:9px;
    border-radius:50%;
    background:#25D366;
    flex-shrink:0;
    animation:pulse-dot 2s ease-in-out infinite;
    box-shadow:0 0 6px rgba(37,211,102,0.6)
}

@keyframes pulse-dot{
    0%{opacity:1;box-shadow:0 0 6px rgba(37,211,102,0.6)}
    50%{opacity:0.5;box-shadow:0 0 16px rgba(37,211,102,0.9)}
    100%{opacity:1;box-shadow:0 0 6px rgba(37,211,102,0.6)}
}

@keyframes tagline-glow{
    0%{box-shadow:0 0 20px rgba(255,255,255,0.06), 0 0 40px rgba(113,141,172,0.08)}
    50%{box-shadow:0 0 25px rgba(255,255,255,0.12), 0 0 50px rgba(113,141,172,0.15)}
    100%{box-shadow:0 0 20px rgba(255,255,255,0.06), 0 0 40px rgba(113,141,172,0.08)}
}

.hero__title{
    font-size:clamp(36px,5vw,68px);
    font-weight:700;
    color:var(--branco);
    line-height:1.08;
    letter-spacing:-0.03em;
    margin-bottom:24px
}

.hero__subtitle{
    font-size:clamp(15px,2vw,18px);
    color:rgba(255,255,255,0.78);
    line-height:1.85;
    margin-bottom:40px;
    max-width:680px;
    margin-left:auto;
    margin-right:auto
}

.hero__ctas{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}

/* Scroll Indicator */
.scroll-indicator{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);z-index:4;display:flex;flex-direction:column;align-items:center;gap:8px;animation:fade-in-up 1s ease 1.5s both;transition:opacity 0.4s ease}
.scroll-indicator__mouse{width:24px;height:38px;border:2px solid rgba(255,255,255,0.45);border-radius:12px;display:flex;justify-content:center;padding-top:6px}
.scroll-indicator__wheel{width:4px;height:8px;background:rgba(255,255,255,0.75);border-radius:2px;animation:scroll-wheel 2s ease-in-out infinite}
.scroll-indicator span{font-size:10px;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:rgba(255,255,255,0.45)}

@keyframes scroll-wheel{0%{opacity:1;transform:translateY(0)}50%{opacity:0.4;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}
@keyframes fade-in-up{from{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}


/* ================================================
   WAVE SEPARATOR
   ================================================ */
.separator{position:relative;margin-top:-2px;z-index:5;line-height:0;pointer-events:none}
.separator svg{width:100%;height:50px;display:block}


/* ================================================
   CARDS GRID
   ================================================ */
.cards-grid{display:grid;grid-template-columns:1fr;gap:20px}
.card--overlay{position:relative;min-height:300px;border-radius:var(--radius-md);overflow:hidden;cursor:pointer}
.card__bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;transition:transform 0.6s cubic-bezier(0.4,0,0.2,1)}
.card--overlay:hover .card__bg-img{transform:scale(1.08)}
.card__overlay-gradient{position:absolute;inset:0;z-index:2;background:linear-gradient(to top,rgba(23,50,88,0.92) 0%,rgba(23,50,88,0.45) 40%,transparent 70%);transition:var(--transition)}
.card--overlay:hover .card__overlay-gradient{background:linear-gradient(to top,rgba(23,50,88,0.96) 0%,rgba(23,50,88,0.55) 50%,rgba(23,50,88,0.22) 80%)}
.card__body-overlay{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:28px 24px;transition:var(--transition)}
.card--overlay:hover .card__body-overlay{transform:translateY(-4px)}
.card--overlay .card__title{font-size:24px;font-weight:700;color:var(--branco);margin-bottom:0}
.card--overlay .card__text{font-size:13px;color:rgba(255,255,255,0.82);line-height:1.65;opacity:0;max-height:0;overflow:hidden;transition:opacity 0.4s ease,max-height 0.4s ease}
.card--overlay:hover .card__text{opacity:1;max-height:200px}


/* ================================================
   WELLNESS CLUB — números grandes decorativos
   ================================================ */
.wellness{display:flex;flex-direction:column;gap:48px}
.wellness__title{font-size:clamp(28px,4vw,40px);font-weight:700;color:var(--azul-profundo);margin-bottom:20px;letter-spacing:-0.02em}
.wellness__text{font-size:clamp(15px,2vw,17px);color:var(--texto-medio);line-height:1.8;margin-bottom:32px}
.wellness__video{border-radius:var(--radius-md);overflow:hidden}
.wellness__right{position:relative}
.timeline-line{display:none}

.step{display:flex;gap:20px;padding:28px 0;border-bottom:1px solid var(--border-light);position:relative;overflow:hidden}
.step:last-child{border-bottom:none}

/* Número grande como elemento decorativo de fundo */
.step__number{
    position:absolute;
    right:0;top:50%;
    transform:translateY(-50%);
    font-size:120px;
    font-weight:700;
    color:rgba(23,50,88,0.05);
    line-height:1;
    pointer-events:none;
    user-select:none;
    letter-spacing:-0.05em
}

.step__icon{flex-shrink:0;width:56px;height:56px;border-radius:50%;background:var(--azul-light);display:flex;align-items:center;justify-content:center;color:var(--azul-profundo);transition:var(--transition);position:relative;z-index:2}
.step:hover .step__icon{background:var(--azul-profundo);color:var(--branco);transform:scale(1.1)}
.step__label{display:block;font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--azul-neutro);margin-bottom:4px}
.step__title{font-size:18px;font-weight:700;color:var(--azul-profundo);margin-bottom:8px}
.step__text{font-size:14px;color:var(--texto-medio);line-height:1.7}


/* ================================================
   GALLERY MASONRY — diferencial desta versão
   Imagem z-index:1 sobre placeholder z-index:0
   ================================================ */
.gallery--masonry{
    column-count:2;
    column-gap:16px
}

.gallery--masonry .gallery__item{
    break-inside:avoid;
    margin-bottom:16px;
    border-radius:var(--radius-md);
    overflow:hidden;
    position:relative;
    display:inline-block;
    width:100%;
    background:var(--azul-light)
}

/* Imagem fica acima do placeholder */
.gallery--masonry .gallery__img{
    position:relative;
    z-index:1;
    width:100%;
    height:auto;
    display:block;
    transition:transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
    opacity:0
}

.gallery--masonry .gallery__img[complete]{
    opacity:1
}
.gallery--masonry .gallery__item:hover .gallery__img{transform:scale(1.04)}

/* Placeholder atrás da imagem */
.gallery--masonry .img-placeholder--gallery{
    position:absolute;
    inset:0;
    z-index:0;
    border-radius:0;
    aspect-ratio:auto;
    min-height:100%;
    height:100%
}

/* Overlay escuro no hover */
.gallery--masonry .gallery__item::after{
    content:'';
    position:absolute;inset:0;
    background:rgba(23,50,88,0);
    transition:var(--transition);
    pointer-events:none;
    z-index:2
}
.gallery--masonry .gallery__item:hover::after{background:rgba(23,50,88,0.10)}


/* ================================================
   BIO — DRA. CARLA
   ================================================ */
.bio{display:flex;flex-direction:column;gap:40px}
.bio__photo{border-radius:var(--radius-lg);overflow:hidden;position:relative;aspect-ratio:3/4;min-height:400px}
.bio__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:var(--radius-lg);z-index:1}
.bio__photo .img-placeholder{position:absolute;inset:0;z-index:0;border-radius:0}
.bio__title{font-size:clamp(28px,4vw,40px);font-weight:700;color:var(--azul-profundo);margin-bottom:20px;letter-spacing:-0.02em}
.bio__text{font-size:15px;color:var(--texto-medio);line-height:1.85;margin-bottom:16px}
.bio__text:last-of-type{margin-bottom:32px}


/* ================================================
   STATS — luzes volumétricas no azul
   ================================================ */
.stats-section{
    position:relative;
    padding:80px 0;
    background:
        radial-gradient(ellipse 55% 80% at 80% 50%,  rgba(113,141,172,0.42) 0%, transparent 65%),
        radial-gradient(ellipse 45% 55% at 20% 25%,  rgba(90,130,180,0.28)  0%, transparent 60%),
        radial-gradient(ellipse 70% 40% at 50% 100%, rgba(5,15,35,0.88)     0%, transparent 80%),
        radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(8,20,50,0.65)     0%, transparent 70%),
        #0d1e3a
}
.stats-section::before{
    content:'';position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(115deg,transparent 30%,rgba(113,141,172,0.04) 45%,rgba(170,200,230,0.09) 50%,rgba(113,141,172,0.04) 55%,transparent 70%)
}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;text-align:center}
.stat{padding:20px 12px}
.stat__number{font-size:clamp(48px,6vw,68px);font-weight:700;color:var(--branco);letter-spacing:-0.03em;line-height:1}
.stat__number .counter{display:inline-block}
.stat__label{font-size:15px;font-weight:600;color:var(--branco);margin-top:10px;letter-spacing:0.02em}
.stat__desc{font-size:13px;color:rgba(255,255,255,0.5);margin-top:6px;line-height:1.5}

@media(min-width:1024px){
    .stats-grid{grid-template-columns:repeat(4,1fr);gap:0}
    .stat+.stat{border-left:1px solid rgba(255,255,255,0.1)}
}


/* ================================================
   CAROUSEL — DEPOIMENTOS
   ================================================ */
.carousel{position:relative;overflow:hidden;max-width:700px;margin:0 auto}
.carousel__track{display:flex;transition:transform 0.5s cubic-bezier(0.4,0,0.2,1)}
.carousel__slide{min-width:100%;padding:0 16px}
.testimonial{text-align:center}
.testimonial__video{border-radius:var(--radius-md);overflow:hidden;margin-bottom:24px}
.testimonial__quote{font-size:17px;font-weight:500;font-style:italic;color:var(--texto-escuro);line-height:1.8;margin-bottom:12px;padding:0 20px}
.testimonial__name{font-size:14px;font-weight:600;color:var(--azul-profundo)}
.carousel__btn{position:absolute;top:35%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:var(--branco);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;color:var(--azul-profundo);transition:var(--transition);z-index:10}
.carousel__btn:hover{background:var(--azul-profundo);color:var(--branco)}
.carousel__btn--prev{left:0}
.carousel__btn--next{right:0}
.carousel__dots{display:flex;justify-content:center;gap:8px;margin-top:32px}
.carousel__dot{width:10px;height:10px;border-radius:50%;background:var(--border-light);border:none;cursor:pointer;transition:var(--transition)}
.carousel__dot.active{background:var(--azul-profundo);transform:scale(1.2)}


/* ================================================
   FAQ
   ================================================ */
.faq{max-width:800px;margin:0 auto}
.faq__item{border-bottom:1px solid var(--border-light)}
.faq__question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;font-size:16px;font-weight:600;color:var(--azul-profundo);text-align:left;transition:var(--transition)}
.faq__question:hover{color:var(--azul-neutro)}
.faq__question svg{flex-shrink:0;transition:var(--transition);color:var(--azul-neutro)}
.faq__item.active .faq__question svg{transform:rotate(180deg);color:var(--azul-profundo)}
.faq__answer{max-height:0;overflow:hidden;transition:max-height 0.4s cubic-bezier(0.4,0,0.2,1),padding 0.4s;padding:0}
.faq__item.active .faq__answer{max-height:400px;padding:0 0 22px}
.faq__answer p{font-size:15px;color:var(--texto-medio);line-height:1.8}


/* ================================================
   CONTINGÊNCIA — 2 colunas + luzes azul
   ================================================ */
#contingencia{
    padding:72px 0;
    background:
        radial-gradient(ellipse 60% 70% at 88% 50%, rgba(113,141,172,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 12% 20%, rgba(42,82,152,0.22)   0%, transparent 55%),
        var(--azul-profundo)
}
#contingencia .container{display:grid;grid-template-columns:1fr 2fr;gap:64px;align-items:start}
#contingencia .section__header{margin:0;text-align:left;max-width:none;position:sticky;top:120px}
#contingencia .section__title--light{font-size:clamp(22px,2.8vw,32px)}
#contingencia .contingencia-card{padding:28px 20px}

.contingencia-grid{display:grid;grid-template-columns:1fr;gap:16px}
.contingencia-card{background:rgba(255,255,255,0.06);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-md);padding:36px 28px;text-align:center;transition:var(--transition)}
.contingencia-card:hover{background:rgba(255,255,255,0.11);transform:translateY(-4px);border-color:rgba(255,255,255,0.2)}
.contingencia-card__icon{color:var(--azul-neutro);margin-bottom:16px}
.contingencia-card__title{font-size:18px;font-weight:700;color:var(--branco);margin-bottom:10px}
.contingencia-card__text{font-size:14px;color:rgba(255,255,255,0.7);margin-bottom:24px;line-height:1.7}

.newsletter-form{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
.newsletter-form__input{flex:1;min-width:100px;padding:14px 18px;border:1px solid rgba(255,255,255,0.2);border-radius:var(--radius-sm);background:rgba(255,255,255,0.07);color:var(--branco);font-size:14px;transition:var(--transition);font-family:inherit}
.newsletter-form__input::placeholder{color:rgba(255,255,255,0.4)}
.newsletter-form__input:focus{outline:none;border-color:var(--azul-neutro);background:rgba(255,255,255,0.12)}
.newsletter-form .btn--full{flex-basis:100%}
/* Newsletter btn: branco para contraste no fundo azul */
.newsletter-form .btn--primary{background:var(--branco);color:var(--azul-profundo);border-color:var(--branco)}
.newsletter-form .btn--primary:hover{background:var(--azul-light);border-color:var(--azul-light)}


/* ================================================
   FOOTER
   ================================================ */
.footer{background:#0c1c33;padding:60px 0 0;color:rgba(255,255,255,0.7)}
.footer__grid{display:grid;grid-template-columns:1fr;gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,0.08)}
.footer__logo{font-size:20px;font-weight:700;color:var(--branco);margin-bottom:12px}
.footer__text{font-size:14px;line-height:1.7}
.footer__heading{font-size:14px;font-weight:700;color:var(--branco);text-transform:uppercase;letter-spacing:0.08em;margin-bottom:16px}
.footer__list li{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;font-size:14px}
.footer__list li svg{flex-shrink:0;margin-top:3px}
.footer__list a:hover{color:var(--branco)}
.footer__social{display:flex;gap:12px;margin-bottom:20px}
.footer__social-link{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.06);display:flex;align-items:center;justify-content:center;transition:var(--transition)}
.footer__social-link:hover{background:var(--azul-neutro);color:var(--branco)}
.footer__ctas{display:flex;flex-direction:column;gap:8px}
.footer__bottom{padding:24px 0;text-align:center;font-size:13px;color:rgba(255,255,255,0.35)}
.footer__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 40px 0;
    border: 1px solid rgba(255,255,255,0.08);
    filter: grayscale(20%) brightness(0.85);
}
.footer__map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}


/* ================================================
   WHATSAPP FLOAT + BACK TO TOP
   ================================================ */
.whatsapp-float{position:fixed;bottom:24px;right:24px;z-index:999;width:56px;height:56px;border-radius:50%;background:var(--whatsapp-green);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(37,211,102,0.4);transition:var(--transition);animation:wa-pulse 2.5s ease-in-out infinite}
.whatsapp-float:hover{transform:scale(1.1)}
@keyframes wa-pulse{0%{box-shadow:0 4px 16px rgba(37,211,102,0.4)}50%{box-shadow:0 4px 16px rgba(37,211,102,0.4),0 0 0 12px rgba(37,211,102,0.12)}100%{box-shadow:0 4px 16px rgba(37,211,102,0.4)}}

.back-to-top{position:fixed;bottom:92px;right:28px;z-index:998;width:42px;height:42px;border-radius:50%;background:var(--branco);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;color:var(--azul-profundo);opacity:0;pointer-events:none;transition:var(--transition)}
.back-to-top.visible{opacity:1;pointer-events:auto}
.back-to-top:hover{background:var(--azul-profundo);color:var(--branco);transform:translateY(-2px)}


/* ================================================
   RESPONSIVE — TABLET (768px)
   ================================================ */
@media(min-width:768px){
    .cards-grid{grid-template-columns:repeat(2,1fr)}
    .gallery--masonry{column-count:3}
    .contingencia-grid{grid-template-columns:repeat(3,1fr)}
    .footer__grid{grid-template-columns:repeat(2,1fr)}
    .bio{flex-direction:row;align-items:flex-start}
    .bio__photo{flex:0 0 40%;position:sticky;top:120px}
    .bio__content{flex:1}
    .separator svg{height:60px}
}


/* ================================================
   RESPONSIVE — DESKTOP (1024px)
   ================================================ */
@media(min-width:1024px){
    .header__hamburger{display:none !important}
    .header__nav{display:flex !important;position:static;background:none;flex-direction:row;width:auto;height:auto;padding:0}
    .cards-grid{grid-template-columns:repeat(3,1fr)}
    .card--overlay{min-height:360px}
    .wellness{flex-direction:row;gap:60px}
    .wellness__left{flex:0 0 40%;position:sticky;top:120px;align-self:flex-start}
    .wellness__right{flex:1}
    .timeline-line{display:block;position:absolute;left:27px;top:40px;bottom:40px;width:2px;background:linear-gradient(to bottom,var(--azul-neutro),transparent);z-index:0;opacity:0.3}
    .footer__grid{grid-template-columns:repeat(4,1fr)}
    .separator svg{height:80px}
}


/* ================================================
   RESPONSIVE — MOBILE (max 767px)
   ================================================ */
@media(max-width:767px){
    .section {
        padding-top: 20px; /* Reduz o topo no celular */
        padding-bottom: var(--section-py-m); /* Mantém os 60px na base do celular */
    }
    .section__header{margin-bottom:40px}
    .header__hamburger{display:flex}
    .header__nav{display:none;position:fixed;top:0;left:0;width:100%;height:100vh;background:var(--azul-profundo);flex-direction:column;align-items:center;justify-content:center;gap:24px;z-index:999}
    .header__nav.open{display:flex}
    .header__menu{flex-direction:column;gap:20px;text-align:center}
    .header__menu a{font-size:18px;color:var(--branco) !important}
    .header__nav .btn--nav{margin-top:12px;background:rgba(113,141,172,0.35);border-color:rgba(255,255,255,0.35);color:var(--branco) !important;backdrop-filter:blur(8px)}
    
    

    .hero__content{padding-top:40px;padding-bottom:40px}
    .hero__ctas{flex-direction:column;align-items:center}
    .hero__ctas .btn{width:100%;max-width:320px}

    .card--overlay{min-height:260px}
    .card--overlay .card__text{opacity:1;max-height:200px}

    .gallery--masonry{column-count:2;column-gap:10px}
    .gallery--masonry .gallery__item{margin-bottom:10px}

    .step{flex-direction:column;gap:12px}
    .step__icon{width:48px;height:48px}
    .step__number{font-size:72px;opacity:0.5}

    .carousel__btn{width:36px;height:36px}
    .carousel__btn--prev{left:-4px}
    .carousel__btn--next{right:-4px}

    .decorative-quote{font-size:80px;margin-bottom:-20px}

    .stats-section{padding:60px 0}
    .stats-grid{gap:24px}
    .stat__number{font-size:42px}

    #contingencia .container{grid-template-columns:1fr;gap:36px}
    #contingencia .section__header{text-align:center;position:static}
    .newsletter-form{flex-direction:column}
    .newsletter-form__input{flex:none}

    .whatsapp-float{width:50px;height:50px;bottom:20px;right:20px}
    .back-to-top{bottom:80px;right:22px;width:38px;height:38px}
}


/* ================================================
   AJUSTE [A] — ESPAÇAMENTO DAS DOBRAS
   Hero menor para mostrar início da próxima dobra
   ================================================ */
.hero {
    min-height: 100vh;
}

@media(max-width:767px){
    .hero {
        min-height: 90vh;
    }
}


/* ================================================
   AJUSTE [B] — TÍTULOS APARECEM IMEDIATAMENTE
   Cabeçalhos de seção visíveis sem esperar scroll
   ================================================ */
.section__header.fade-up {
    opacity: 1;
    transform: translateY(0);
}


@media(min-width:1280px){
    .container{padding:0 32px}
    .card--overlay{min-height:380px}
}

/* ================================================
   AJUSTE CIRÚRGICO — TOPO DA SESSÃO OBJETIVOS
   Compensação da altura da onda branca
   ================================================ */
#objetivos {
    padding-top: 10px !important; 
}

#objetivos .section__header {
    margin-top: 0 !important; 
}