/* ================================================================
   Fortaleza Clínica Integrada — LP Vacinação Domiciliar
   Identidade: Clínica Premium. Clean. Tons claros.
   Arquivo independente — não depende do styles.css original.
   ================================================================ */

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== TOKENS ========== */
:root {
    --bg:        #FAFAF8;
    --bg-blush:  #F8F3F0;
    --white:     #FFFFFF;
    --rose:      #CFAAA0;
    --rose-light:#E8D5CF;
    --rose-bg:   #FBF6F4;
    --sand:      #B8AFA6;
    --text:      #4A443F;
    --text-light:#6E6862;
    --heading:   #3A3530;
    --border:    #EDE9E5;
    --accent:    #8FAF9A;
    --accent-dk: #6E9A7C;
    --cta:       #6E9A7C;
    --cta-hover: #5F8A6D;
    --radius:    16px;
    --radius-sm: 10px;
    --shadow:    0 2px 20px rgba(60,50,40,0.04);
    --shadow-md: 0 8px 30px rgba(60,50,40,0.06);
    --max:       1060px;
    --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== BASE ========== */
body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ========== LAYOUT ========== */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.wrap--narrow { max-width: 720px; }

/* ========== TYPOGRAPHY ========== */
.overline {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rose);
    margin-bottom: 12px;
}
.overline--center { text-align: center; }

.sec__h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.25;
    color: var(--heading);
    margin-bottom: 16px;
}
.sec__h2--center { text-align: center; }

.sec__intro {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.sec__cta { text-align: center; margin-top: 48px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--cta);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    line-height: 1.3;
}
.btn:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(110,154,124,0.2);
}
.btn svg { flex-shrink: 0; }

.btn--outline {
    background: transparent;
    color: var(--heading);
    border: 1.5px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--heading);
    background: transparent;
    box-shadow: none;
}

.btn--soft {
    background: var(--white);
    color: var(--heading);
    border: 1.5px solid var(--border);
}
.btn--soft:hover {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: var(--shadow);
}

.btn--white {
    background: var(--white);
    color: var(--heading);
}
.btn--white:hover {
    background: #F5F3F0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ========== FAB (Floating) ========== */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 54px;
    height: 54px;
    background: var(--cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(110,154,124,0.3);
    transition: all 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }

/* ========== NAV ========== */
.nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(250,250,248,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav__logo img { border-radius: 6px; }
.nav__name {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--heading);
}
.nav__btn {
    padding: 8px 20px;
    background: var(--cta);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.nav__btn:hover {
    background: var(--cta-hover);
}

/* ========== HERO — FULL WIDTH ========== */
.hero-fw {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-fw__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-fw__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

/* Overlay: gradiente suave bege-rosado → transparente */
.hero-fw__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        105deg,
        rgba(248, 243, 240, 1)    0%,
        rgba(248, 243, 240, 0.97) 35%,
        rgba(248, 243, 240, 0.88) 50%,
        rgba(248, 243, 240, 0.45) 70%,
        rgba(248, 243, 240, 0.1)  100%
    );
}

.hero-fw__content {
    position: relative;
    z-index: 3;
    padding: 80px 0;
    width: 100%;
}

.overline--hero {
    color: var(--rose);
}

.hero-fw__h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--heading);
    margin-bottom: 18px;
    max-width: 480px;
}

.hero-fw__sub {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 440px;
    opacity: 1;
}

.hero-fw__micro {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.03em;
    max-width: 400px;
}

/* Botão específico do hero — para contraste sobre o overlay */
.btn--hero {
    background: var(--cta);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(110, 154, 124, 0.25);
}

.btn--hero:hover {
    background: var(--cta-hover);
    box-shadow: 0 6px 32px rgba(110, 154, 124, 0.3);
}

/* ========== HERO — OPÇÃO B: SEM FOTO (padrão abstrato) ========== */
/* Se não tiver uma boa foto panorâmica, descomente esta classe
   e use <section class="hero-fw hero-fw--abstract"> no HTML.
   Remove a <div class="hero-fw__bg"> e a overlay do HTML. */

/*
.hero-fw--abstract {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(207,170,160,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(143,175,154,0.08) 0%, transparent 50%),
        linear-gradient(160deg, #FAF8F5 0%, #F8F3F0 50%, #FAF8F5 100%);
    min-height: 480px;
}

.hero-fw--abstract .hero-fw__overlay { display: none; }
.hero-fw--abstract .hero-fw__bg { display: none; }
*/

/* ========== RESPONSIVE — HERO ========== */
@media (max-width: 767px) {
    .hero-fw {
        min-height: auto;
    }

    /* No mobile: overlay cobre tudo para legibilidade */
    @media (max-width: 767px) {
    /* ... */
    .hero-fw__overlay {
        background: linear-gradient(
            180deg,
            rgba(248, 243, 240, 1)    0%,
            rgba(248, 243, 240, 0.96) 50%,
            rgba(248, 243, 240, 0.8)  100%
        );
    }
}

    .hero-fw__content {
        padding: 48px 0 56px;
    }

    .hero-fw__h1 {
        font-size: 1.7rem;
    }

    .hero-fw__sub {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .hero-fw {
        min-height: 560px;
    }

    .hero-fw__h1 {
        font-size: 2.5rem;
    }

    .hero-fw__content {
        padding: 96px 0;
    }
}

@media (min-width: 1024px) {
    .hero-fw {
        min-height: 620px;
    }

    .hero-fw__h1 {
        font-size: 3rem;
    }

    .hero-fw__content {
        padding: 112px 0;
    }
}


/* ========== INDICATORS ========== */
.indicators {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.indicators__row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 56px;
}
.ind { text-align: center; }
.ind__number {
    display: block;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--heading);
    line-height: 1;
    margin-bottom: 4px;
}
.ind__label {
    font-size: 0.76rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ========== SECTIONS ========== */
.sec {
    padding: 72px 0;
}
.sec--blush {
    background: var(--bg-blush);
}

/* ========== SITUATIONS (dores) ========== */
.situations__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.sit-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s var(--ease);
    position: relative;
}
.sit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.sit-card__num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    color: var(--rose-light);
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}
.sit-card__title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--heading);
    margin-bottom: 8px;
}
.sit-card__text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}
.sit-card--full {
    grid-column: 1 / -1;
}

/* ========== AUDIENCE (para quem) ========== */
.audience {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
}
.aud-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s var(--ease);
}
.aud-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.aud-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rose-bg);
    color: var(--rose);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.aud-card__title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--heading);
    margin-bottom: 8px;
}
.aud-card__text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== STEPS (como funciona) ========== */
.steps {
    max-width: 560px;
    margin: 48px auto 0;
    position: relative;
}
.step {
    display: flex;
    gap: 24px;
    position: relative;
    padding-bottom: 40px;
}
.step:last-child { padding-bottom: 0; }
.step:last-child .step__line { display: none; }

.step__dot {
    width: 12px;
    height: 12px;
    background: var(--rose);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 2;
}
.step__line {
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: 0;
    width: 1.5px;
    background: var(--border);
    z-index: 1;
}
.step__content { flex: 1; }
.step__label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rose);
    margin-bottom: 4px;
    display: block;
}
.step__title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--heading);
    margin-bottom: 6px;
}
.step__text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== DIFFS (diferenciais) ========== */
.diffs { margin-top: 48px; }
.diff { padding: 20px 0; }
.diff__title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--heading);
    margin-bottom: 6px;
}
.diff__text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}
.diff__divider {
    height: 1px;
    background: var(--border);
}

/* ========== ABOUT ========== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.about__img img {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}
.about__text {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 28px;
}
.tag {
    padding: 5px 14px;
    background: var(--rose-bg);
    color: var(--rose);
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ========== URGENCY ========== */
.urgency {
    padding: 56px 0;
    background: var(--white);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.urgency__text {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--heading);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== FAQ ========== */
.faq {
    margin-top: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}
.faq__item {
    border-bottom: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: none; }
.faq__q {
    padding: 20px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--heading);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--rose);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__q::after {
    transform: rotate(45deg);
}
.faq__item[open] .faq__q { color: var(--accent-dk); }
.faq__a {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== CLINIC ========== */
.clinic__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
}
.clinic__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.clinic__row svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.clinic__row strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--heading);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.clinic__row p {
    font-size: 0.9rem;
    color: var(--text-light);
}
.clinic__row a { color: var(--accent-dk); }
.clinic__row a:hover { color: var(--heading); }
.clinic__map iframe {
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.map-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--accent-dk);
    font-weight: 500;
}
.map-link:hover { color: var(--heading); }

/* ========== FINAL CTA ========== */
.final {
    padding: 80px 0;
    background: var(--heading);
    text-align: center;
}
.final__h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 16px;
}
.final__text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.75;
}
.final__micro {
    margin-top: 20px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.3);
}

/* ========== FOOTER ========== */
.foot {
    background: var(--heading);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0 24px;
    color: rgba(255,255,255,0.4);
}
.foot__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.foot__logo {
    border-radius: 8px;
    margin-bottom: 12px;
}
.foot__name {
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    margin-bottom: 6px;
}
.foot__addr {
    font-size: 0.84rem;
    line-height: 1.7;
}
.foot__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 6px;
    font-weight: 500;
}
.foot__social {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.foot__social:hover { color: rgba(255,255,255,0.8); }
.foot__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 18px;
    font-size: 0.75rem;
    text-align: center;
    color: rgba(255,255,255,0.25);
    line-height: 1.7;
}
.foot__bottom a {
    color: rgba(255,255,255,0.3);
    text-decoration: underline;
}
.foot__bottom a:hover { color: rgba(255,255,255,0.6); }

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    
    .nav__name { display: none; }
    .foot { text-align: center; }
    .foot__logo { margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
    .hero-fw {
        min-height: auto;
    }

    .hero-fw__bg,
    .hero-fw__overlay {
        display: none;
    }

    .hero-fw__content {
        padding: 40px 0 48px;
    }

    .hero-fw__h1 {
        font-size: 1.7rem;
    }

    .hero-fw__sub {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    

    .situations__grid { grid-template-columns: 1fr 1fr; }
    .audience { grid-template-columns: 1fr 1fr; }

    .about__grid { grid-template-columns: 300px 1fr; }
    .clinic__grid { grid-template-columns: 1fr 1fr; }
    .foot__grid { grid-template-columns: 1fr auto; }

    .sec { padding: 88px 0; }
    .sec__h2 { font-size: 1.8rem; }
}

@media (min-width: 1024px) {
    
    .sec { padding: 104px 0; }
    .sec__h2 { font-size: 2rem; }
    .final { padding: 96px 0; }
    .final__h2 { font-size: 2rem; }
    .audience { grid-template-columns: repeat(4, 1fr); }
    .about__grid { grid-template-columns: 360px 1fr; }
}

/* ========== PRINT ========== */
@media print {
    .nav, .fab, .btn, .urgency, .final { display: none !important; }
    body { background: #fff; color: #000; }
}

/* Hero mobile: mesmo fundo da seção "Para quem" (.sec--blush) */
@media (max-width: 767px) {
    .hero-fw {
        background: var(--bg-blush);
    }
}

/* ========== SECTION MODIFIERS ========== */
.sec--white { background: var(--white); }

/* ========== ECOSSISTEMA (Fundo Branco) ========== */
.eco-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px; /* Ajustado para o mesmo espaçamento dos cards originais */
    margin-top: 48px;
}
@media (min-width: 768px) {
    .eco-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card idêntico ao aud-card, mas com fundo --bg para dar contraste no branco */
.eco-card {
    background: var(--bg); 
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s var(--ease);
}
.eco-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.eco-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rose-bg); /* Voltando ao rosinha original */
    color: var(--rose);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.eco-card__title {
    font-family: 'DM Sans', sans-serif; /* Voltando para a fonte correta */
    font-weight: 500;
    font-size: 1rem;
    color: var(--heading);
    margin-bottom: 8px;
}
.eco-card__text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== GALERIA DE FOTOS (Estilo Editorial / Bento) ========== */
.gallery-wrapper {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(237, 233, 229, 0.6);
}
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 40px;
}
.gal-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--border);
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: grayscale(20%) contrast(1.05);
}
.gallery img:hover {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(1);
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(12, 1fr);
        gap: 20px;
    }
    .gal-img-wrap:nth-child(1) { grid-column: span 7; height: 380px; }
    .gal-img-wrap:nth-child(2) { grid-column: span 5; height: 380px; }
    .gal-img-wrap:nth-child(3) { grid-column: span 5; height: 320px; }
    .gal-img-wrap:nth-child(4) { grid-column: span 7; height: 320px; }
}

