/* ==========================================================================
   FB WELLNESS — SECTIONS
   Blocos completos: hero, serviços, sobre, testimonials, cta, footer.
   ========================================================================== */

/* -------- HERO (bleed + numeral editorial) -------- */

.fb-hero {
    position: relative;
    padding: var(--fb-space-24) 0 var(--fb-space-24);
    background: var(--fb-color-cream);
    overflow: hidden;
    isolation: isolate;
}

.fb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--fb-glow-accent);
    z-index: -1;
}

/* Numeral tipográfico de fundo (clichê próprio: "15" anos) */
.fb-hero__numeral {
    position: absolute;
    top: -0.08em;
    left: 2%;
    font-family: var(--fb-font-display);
    font-weight: 500;
    font-size: clamp(14rem, 32vw, 30rem);
    line-height: 0.82;
    letter-spacing: -0.08em;
    color: var(--fb-color-primary);
    opacity: 0.09;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.fb-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-16);
    align-items: end;
    position: relative;
    z-index: 1;
}

.fb-hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: var(--fb-space-8);
}

@media (min-width: 1024px) {
    .fb-hero {
        padding: var(--fb-space-32) 0 0;
        min-height: 640px;
    }
    .fb-hero__grid {
        grid-template-columns: 55% 45%;
        gap: 0;
        align-items: end;
        min-height: 600px;
    }
    .fb-hero__content {
        padding-bottom: var(--fb-space-24);
        padding-right: var(--fb-space-8);
    }
}

.fb-hero__title {
    font-size: clamp(2.5rem, 7vw, var(--fb-text-5xl));
    margin-bottom: var(--fb-space-8);
}

.fb-hero__title em {
    font-style: italic;
    color: var(--fb-color-accent);
}

.fb-hero__subtitle {
    font-size: var(--fb-text-lg);
    line-height: var(--fb-leading-relaxed);
    color: var(--fb-color-muted);
    margin-bottom: var(--fb-space-12);
    max-width: 560px;
}

.fb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fb-space-4);
}

/* Cutout em bleed — sem card, sem sombra, sem radius */
.fb-hero__image {
    display: none;
    position: relative;
    z-index: 1;
}

.fb-hero__image picture,
.fb-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

@media (min-width: 1024px) {
    .fb-hero--with-cutout .fb-hero__image {
        display: block;
        align-self: end;
        justify-self: stretch;
        transform: translateX(-12%);
        width: 100%;
        margin-bottom: 0;
    }
    .fb-hero--with-cutout .fb-hero__image img {
        max-height: 640px;
        width: auto;
        max-width: 100%;
        margin-left: 0;
        margin-right: auto;
    }
}

@media (min-width: 1280px) {
    .fb-hero--with-cutout .fb-hero__image {
        transform: translateX(-14%);
    }
    .fb-hero--with-cutout .fb-hero__image img {
        max-height: 700px;
    }
}

/* Mobile ≤767px: hero vertical com foto cutout entre subtitle e CTAs.
   Tudo precisa caber em 100vh do iPhone SE (667px) − header sticky (73px). */
@media (max-width: 767px) {
    /* Rearquitetura hero mobile: ordem editorial CTAs antes da foto.
       eyebrow > H1 > parágrafo > CTA1 > CTA2 > foto.
       Foto encosta no bottom (sem padding-bottom). H1 maior, foto generosa. */
    .fb-hero {
        padding: 3rem 0 0;  /* 48px top, 0 bottom — foto bleeds pro bottom */
    }
    .fb-hero__numeral {
        display: none;  /* numeral 15 desligado no mobile (rearquitetura) */
    }
    .fb-hero__grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;  /* 24px entre blocos: eyebrow→H1→sub→CTA1→CTA2 */
        align-items: stretch;
    }
    .fb-hero__content {
        display: contents;
    }
    /* Ordem nova: eyebrow(1) → H1(2) → sub(3) → CTAs(4) → foto(5) */
    .fb-hero__content > .fb-eyebrow       { order: 1; }
    .fb-hero__title                       { order: 2; }
    .fb-hero__subtitle                    { order: 3; }
    .fb-hero__actions                     { order: 4; }
    .fb-hero--with-cutout .fb-hero__image { order: 5; margin-top: 0.5rem; }
    /* H1 maior pra ganhar presença editorial */
    .fb-hero__title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.1;
        margin: 0;
    }
    .fb-hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0;
    }
    /* Foto generosa, integral (object-fit: contain), sem corte de cabeça/pés */
    .fb-hero--with-cutout .fb-hero__image {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 380px;
        text-align: center;
        align-self: stretch;
    }
    .fb-hero--with-cutout .fb-hero__image picture {
        display: block;
    }
    .fb-hero--with-cutout .fb-hero__image img {
        max-height: clamp(280px, 42vh, 380px);
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        object-fit: contain;
        object-position: bottom center;
        filter: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
    }
    /* CTAs stacked, full-width, gap 12px entre eles */
    .fb-hero__actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;  /* 12px entre CTA1 e CTA2 */
        align-items: stretch;
        width: 100%;
        margin: 0;
    }
    .fb-hero__actions .fb-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
    }
    .fb-hero__content {
        padding-bottom: 0;
    }
}

/* Em telas mais altas (iPhone 14 Pro, 390x844), foto pode crescer pra 35vh */
@media (max-width: 767px) and (min-height: 800px) {
    /* Telas mais altas (14Pro e similares): foto pode ir até o cap 380px do clamp */
    .fb-hero--with-cutout .fb-hero__image img {
        max-height: clamp(320px, 42vh, 380px);
    }
}

/* Tablet 768-1023: foto pequena abaixo */
@media (min-width: 768px) and (max-width: 1023px) {
    .fb-hero__numeral {
        font-size: clamp(10rem, 42vw, 16rem);
        opacity: 0.06;
    }
    .fb-hero__grid {
        gap: var(--fb-space-8);
    }
    .fb-hero--with-cutout .fb-hero__image {
        display: block;
        align-self: end;
        margin: 0 auto;
        max-width: 360px;
        width: 100%;
    }
    .fb-hero--with-cutout .fb-hero__image img {
        max-height: 460px;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
}

/* -------- SERVICES GRID -------- */

.fb-services {
    padding: var(--fb-space-section) 0;
}

.fb-services__header {
    text-align: center;
    max-width: var(--fb-container-narrow);
    margin: 0 auto var(--fb-space-16);
}

.fb-services__header p {
    margin-left: auto;
    margin-right: auto;
}

.fb-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-6);
}

@media (min-width: 640px) {
    .fb-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .fb-services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fb-space-8);
    }
}

/* -------- SOBRE / ABOUT -------- */

.fb-about {
    padding: var(--fb-space-section) 0;
    background: #EFE8DD;  /* cream-rosa: quebra cromática sutil pra evitar sensação de corte da foto do hero */
}

.fb-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-12);
    align-items: center;
}

/* Mobile: foto vai ABAIXO do conteúdo */
@media (max-width: 1023px) {
    .fb-about__image,
    .fb-about__numeral {
        order: 2;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
    .fb-about__grid > div:not(.fb-about__image):not(.fb-about__numeral) {
        order: 1;
    }
}

@media (min-width: 1024px) {
    .fb-about__grid {
        grid-template-columns: 1fr 1.1fr;
        gap: var(--fb-space-24);
    }
}

.fb-about__image {
    aspect-ratio: 3/4;
    border-radius: var(--fb-radius-lg);
    overflow: hidden;
    background: var(--fb-color-border);
}

.fb-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bloco editorial decorativo quando n\u00e3o tem foto */
.fb-about__numeral {
    display: none;
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--fb-radius-lg);
    background:
        radial-gradient(ellipse at 30% 30%, rgba(168, 133, 93, 0.15), transparent 60%),
        linear-gradient(180deg, rgba(239, 231, 218, 0.6) 0%, rgba(239, 231, 218, 0.2) 100%);
    border: 1px solid rgba(168, 133, 93, 0.18);
    overflow: hidden;
    isolation: isolate;
}

.fb-about__numeral::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 80%, rgba(201, 106, 75, 0.08), transparent 40%);
    z-index: 0;
}

.fb-about__numeral-big {
    position: relative;
    z-index: 1;
    font-family: var(--fb-font-display);
    font-size: clamp(9rem, 22vw, 18rem);
    line-height: 0.9;
    color: var(--fb-color-primary);
    letter-spacing: -0.06em;
    opacity: 0.88;
    padding: 3rem 0 0 3rem;
    display: block;
}

.fb-about__numeral-label {
    position: absolute;
    z-index: 1;
    right: 2.5rem;
    bottom: 2.5rem;
    font-family: var(--fb-font-body);
    font-size: var(--fb-text-base);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fb-color-muted);
    max-width: 60%;
    text-align: right;
    line-height: 1.4;
    border-top: 1px solid rgba(168, 133, 93, 0.35);
    padding-top: 0.75rem;
}

@media (min-width: 1024px) {
    .fb-about__numeral {
        display: block;
        max-width: 520px;
    }
}

.fb-about__credentials {
    margin-top: var(--fb-space-8);
    padding-top: var(--fb-space-8);
    border-top: 1px solid var(--fb-color-border);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-6);
}

@media (min-width: 640px) {
    .fb-about__credentials {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fb-space-4);
    }
}

.fb-about__credential-num {
    font-family: var(--fb-font-display);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--fb-color-primary);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: var(--fb-space-2);
    display: block;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

/* No mobile 1-col, cada c\u00e9lula \u00e9 full-width: pode crescer um pouco a fonte */
@media (max-width: 640px) {
    .fb-about__credential-num {
        font-size: clamp(1.375rem, 5.5vw, 1.75rem);
    }
}

.fb-about__credential-label {
    font-size: var(--fb-text-sm);
    color: var(--fb-color-muted);
    display: block;
}

/* -------- TESTIMONIALS -------- */

.fb-testimonials {
    padding: var(--fb-space-section) 0;
}

.fb-testimonials__header {
    text-align: center;
    margin-bottom: var(--fb-space-16);
}

.fb-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-8);
    max-width: var(--fb-container-narrow);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .fb-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fb-testimonial {
    padding: var(--fb-space-8);
    border-left: 2px solid var(--fb-color-accent);
}

.fb-testimonial__quote {
    font-family: var(--fb-font-display);
    font-size: var(--fb-text-lg);
    line-height: var(--fb-leading-snug);
    font-style: italic;
    color: var(--fb-color-charcoal);
    margin-bottom: var(--fb-space-6);
}

.fb-testimonial__author {
    font-size: var(--fb-text-sm);
    font-weight: var(--fb-weight-medium);
    color: var(--fb-color-primary);
}

.fb-testimonial__meta {
    font-size: var(--fb-text-sm);
    color: var(--fb-color-muted);
    margin-top: var(--fb-space-1);
}

/* -------- CTA BLOCK -------- */

.fb-cta {
    padding: var(--fb-space-section) 0;
    background: var(--fb-color-primary);
    color: var(--fb-color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.fb-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(201, 111, 74, 0.25), transparent 60%);
    z-index: -1;
}

.fb-cta__title {
    color: var(--fb-color-white);
    max-width: var(--fb-container-narrow);
    margin: 0 auto var(--fb-space-8);
}

.fb-cta__subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--fb-space-12);
    font-size: var(--fb-text-lg);
}

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

.fb-cta .fb-btn--primary:hover {
    background: var(--fb-color-accent);
    color: var(--fb-color-white);
}

/* -------- FAQ -------- */

.fb-faq {
    padding: var(--fb-space-section) 0;
}

.fb-faq__list {
    max-width: var(--fb-container-prose);
    margin: 0 auto;
}

.fb-faq__item {
    border-bottom: 1px solid var(--fb-color-border);
}

.fb-faq__item summary {
    padding: var(--fb-space-6) 0;
    font-family: var(--fb-font-display);
    font-size: var(--fb-text-xl);
    font-weight: var(--fb-weight-regular);
    color: var(--fb-color-charcoal);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: var(--fb-space-12);
}

.fb-faq__item summary::-webkit-details-marker { display: none; }

.fb-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fb-text-2xl);
    color: var(--fb-color-accent);
    transition: transform var(--fb-duration-fast) var(--fb-ease-out);
}

.fb-faq__item[open] summary::after {
    content: '−';
}

.fb-faq__item p {
    padding: 0 0 var(--fb-space-6);
    color: var(--fb-color-muted);
    max-width: 640px;
}

/* -------- FOOTER -------- */

.fb-footer {
    background: var(--fb-color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--fb-space-24) 0 var(--fb-space-8);
    font-size: var(--fb-text-sm);
}

.fb-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-12);
    margin-bottom: var(--fb-space-16);
}

@media (min-width: 768px) {
    .fb-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: var(--fb-space-8);
    }
}

.fb-footer__title {
    color: var(--fb-color-white);
    font-family: var(--fb-font-display);
    font-size: var(--fb-text-lg);
    margin-bottom: var(--fb-space-6);
}

.fb-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-block;
    padding: var(--fb-space-1) 0;
}

.fb-footer a:hover {
    color: var(--fb-color-white);
}

.fb-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fb-footer__list li {
    line-height: 1.7;
}

.fb-footer__list--icons li {
    margin-bottom: var(--fb-space-2);
}

.fb-footer__link {
    display: inline-flex !important;
    align-items: flex-start;
    gap: var(--fb-space-3);
    color: rgba(255, 255, 255, 0.78);
    transition: color 200ms var(--fb-ease-out), transform 200ms var(--fb-ease-out);
    line-height: 1.45;
}

.fb-footer__link svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--fb-color-primary);
    transition: transform 200ms var(--fb-ease-out);
}

.fb-footer__link:not(.fb-footer__link--static):hover {
    color: var(--fb-color-white);
    transform: translateX(2px);
}

.fb-footer__link:not(.fb-footer__link--static):hover svg {
    transform: scale(1.1);
}

.fb-footer__link--static {
    cursor: default;
}

.fb-footer__tagline {
    margin: var(--fb-space-3) 0 var(--fb-space-6);
    max-width: 320px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.fb-footer__credential {
    font-size: var(--fb-text-xs);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
    margin-top: var(--fb-space-4);
}

.fb-footer__social {
    display: flex;
    gap: var(--fb-space-4);
    margin-bottom: var(--fb-space-3);
}

.fb-footer__social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 240ms var(--fb-ease-out);
    padding: 0 !important;
}

.fb-footer__social a:hover {
    border-color: var(--fb-color-primary);
    color: var(--fb-color-primary);
    transform: translateY(-2px);
}

.fb-footer__handle {
    font-size: var(--fb-text-xs);
    color: var(--fb-color-primary);
    letter-spacing: 0.04em;
    margin: 0;
}

.fb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--fb-space-8);
    display: flex;
    flex-direction: column;
    gap: var(--fb-space-4);
    align-items: center;
    text-align: center;
    font-size: var(--fb-text-xs);
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .fb-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* -------- CONTACT SECTION -------- */

.fb-contact {
    padding: var(--fb-space-section) 0;
    background: var(--fb-color-cream);
}

.fb-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-16);
    align-items: start;
}

@media (min-width: 1024px) {
    .fb-contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--fb-space-24);
    }
}

.fb-contact__info-item {
    margin-bottom: var(--fb-space-8);
}

.fb-contact__info-label {
    font-size: var(--fb-text-sm);
    font-weight: var(--fb-weight-medium);
    letter-spacing: var(--fb-tracking-wide);
    text-transform: uppercase;
    color: var(--fb-color-accent);
    margin-bottom: var(--fb-space-2);
}

.fb-contact__info-value {
    font-family: var(--fb-font-display);
    font-size: var(--fb-text-xl);
    color: var(--fb-color-charcoal);
}

.fb-contact__info-value a {
    color: inherit;
    text-decoration: none;
}

/* -------- HERO INTERNO (páginas de serviço) -------- */

.fb-hero--inner {
    padding: var(--fb-space-24) 0 var(--fb-space-16);
}

.fb-hero--inner .fb-hero__title {
    font-size: clamp(2rem, 6vw, var(--fb-text-4xl));
    margin-bottom: var(--fb-space-6);
    letter-spacing: -0.01em;
}

/* Hero textual mobile (sem foto, sem numeral) — Opção B minimalista.
   padding compactado + tipografia editorial densa. */
@media (max-width: 767px) {
    .fb-hero--inner {
        padding: 3rem 0 4rem;  /* 48px top / 64px bottom */
    }
    .fb-hero--inner .fb-hero__content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;  /* 24px entre eyebrow→H1→lead */
    }
    .fb-hero--inner .fb-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.20em;
        margin: 0;
    }
    .fb-hero--inner .fb-hero__title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.08;
        letter-spacing: -0.01em;
        margin: 0;
    }
    .fb-hero--inner .fb-hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin: 0;
    }
    .fb-hero--inner .fb-hero__actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;  /* 12px entre CTAs */
        margin-top: 0.5rem;  /* 8px extra (24px do gap pai + 8px = 32px antes do CTA1) */
        width: 100%;
    }
    .fb-hero--inner .fb-hero__actions .fb-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
    }
}

/* -------- PROSE SECTION (conteúdo em blocos narrativos) -------- */

.fb-prose {
    padding: var(--fb-space-section) 0;
}

.fb-prose--cream {
    background: var(--fb-color-cream);
}

.fb-prose h2 {
    margin: var(--fb-space-4) 0 var(--fb-space-6);
}

.fb-prose .fb-lead {
    margin-bottom: var(--fb-space-8);
}

.fb-prose p {
    color: var(--fb-color-muted);
    font-size: var(--fb-text-lg);
    line-height: var(--fb-leading-relaxed);
    margin-bottom: var(--fb-space-6);
}

.fb-bullet-list {
    list-style: none;
    padding: 0;
    margin: var(--fb-space-8) 0;
    display: grid;
    gap: var(--fb-space-4);
}

.fb-bullet-list li {
    padding-left: var(--fb-space-8);
    position: relative;
    color: var(--fb-color-charcoal);
    font-size: var(--fb-text-lg);
    line-height: var(--fb-leading-snug);
}

.fb-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: var(--fb-space-4);
    height: 1px;
    background: var(--fb-color-accent);
}

.fb-muted {
    color: var(--fb-color-muted);
    font-size: var(--fb-text-base);
    padding: var(--fb-space-6);
    background: var(--fb-color-white);
    border-left: 2px solid var(--fb-color-accent);
    margin-top: var(--fb-space-8);
}

/* -------- MÉTODO BUTT ERREJOTA (identidade Flavia) -------- */

.fb-method {
    padding: var(--fb-space-section) 0;
    position: relative;
    background:
        linear-gradient(180deg, var(--fb-color-cream) 0%, #EFE7DA 100%);
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 1024px) {
    .fb-method {
        padding: var(--fb-space-32) 0;
    }
}

.fb-method::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(168, 133, 93, 0.12), transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(201, 106, 75, 0.08), transparent 60%);
    z-index: -1;
}

.fb-method__content {
    text-align: center;
}

.fb-method h2 {
    font-size: clamp(1.75rem, 7vw, var(--fb-text-4xl));
    letter-spacing: -0.03em;
    margin: var(--fb-space-4) 0 var(--fb-space-8);
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.fb-method__reg {
    font-size: 0.4em;
    vertical-align: super;
    color: var(--fb-color-primary);
    margin-left: 0.1em;
}

.fb-method .fb-lead {
    max-width: 640px;
    margin: 0 auto var(--fb-space-16);
}

.fb-method__pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fb-space-4);
    margin-bottom: var(--fb-space-12);
    text-align: left;
}

@media (min-width: 768px) {
    .fb-method__pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fb-space-8);
        margin-bottom: var(--fb-space-16);
    }
}

.fb-method__pillars > div {
    padding: var(--fb-space-5) var(--fb-space-5);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--fb-color-primary);
    transition: transform 250ms var(--fb-ease-out), box-shadow 250ms var(--fb-ease-out);
}

.fb-method__pillars > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 133, 93, 0.15);
}

@media (min-width: 768px) {
    .fb-method__pillars > div {
        padding: var(--fb-space-6) 0 var(--fb-space-6) var(--fb-space-6);
        background: transparent;
        border-radius: 0;
        border-left: 1px solid var(--fb-color-border);
    }
    .fb-method__pillars > div:hover {
        transform: none;
        box-shadow: none;
    }
}

.fb-method__pillars h3 {
    font-family: var(--fb-font-display);
    font-size: var(--fb-text-xl);
    color: var(--fb-color-primary);
    margin-bottom: var(--fb-space-3);
    font-weight: var(--fb-weight-regular);
}

.fb-method__pillars p {
    color: var(--fb-color-muted);
    font-size: var(--fb-text-base);
    line-height: var(--fb-leading-relaxed);
    margin: 0;
}

/* -------- POST / SINGLE -------- */

.fb-post {
    padding: var(--fb-space-16) 0 var(--fb-space-24);
}

.fb-post__header {
    max-width: var(--fb-container-prose);
    margin: 0 auto var(--fb-space-16);
    text-align: center;
}

.fb-post__meta {
    font-size: var(--fb-text-sm);
    color: var(--fb-color-muted);
    margin-bottom: var(--fb-space-4);
}

.fb-post__content {
    max-width: var(--fb-container-prose);
    margin: 0 auto;
    font-size: var(--fb-text-lg);
    line-height: var(--fb-leading-relaxed);
}

.fb-post__content h2 {
    margin-top: var(--fb-space-16);
}

.fb-post__content h3 {
    margin-top: var(--fb-space-12);
}

.fb-post__content img {
    border-radius: var(--fb-radius-md);
    margin: var(--fb-space-8) 0;
}

/* -------- NA MÍDIA -------- */

.fb-media {
    padding: var(--fb-space-section) 0;
    background: var(--fb-color-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fb-media__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--fb-space-12);
}

.fb-media__header h2 {
    font-size: var(--fb-text-3xl);
    margin: var(--fb-space-2) 0 var(--fb-space-3);
}

.fb-media__header .fb-lead {
    color: var(--fb-color-muted);
    font-size: var(--fb-text-base);
}

.fb-media__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--fb-space-6);
    align-items: stretch;
    max-width: 860px;
    margin: 0 auto;
}

.fb-media__item {
    flex: 0 1 240px;
}

.fb-media__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fb-space-3);
    padding: var(--fb-space-4) var(--fb-space-4);
    background: transparent;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    color: var(--fb-color-ink);
    transition: transform 280ms var(--fb-ease-out);
    min-height: auto;
}

a.fb-media__item:hover,
a.fb-media__item:focus-visible {
    transform: translateY(-3px);
    outline: none;
}

.fb-media__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 56px;
}

/* Logo padrão (formato horizontal/retangular tipo R7) */
.fb-media__logo img,
.fb-media__logo svg {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: 48px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.05) contrast(1.05);
    opacity: 0.78;
    transition: filter 280ms var(--fb-ease-out), opacity 280ms var(--fb-ease-out), transform 280ms var(--fb-ease-out);
}

/* Logo SBT (circular sem fundo) precisa de altura maior pra equilibrar 'massa' visual com R7 retangular */
.fb-media__item[aria-label="SBT"] .fb-media__logo img {
    height: 64px;
    max-height: 64px;
    max-width: 64px;
}

a.fb-media__item:hover .fb-media__logo img,
a.fb-media__item:hover .fb-media__logo svg,
a.fb-media__item:focus-visible .fb-media__logo img,
a.fb-media__item:focus-visible .fb-media__logo svg {
    filter: grayscale(0.2) brightness(1) contrast(1);
    opacity: 1;
}

/* Sem URL (div, não <a>): mantém logo sem hover mas ainda interativo via cursor */
.fb-media__item:not(a) { cursor: default; }
.fb-media__item:not(a):hover .fb-media__logo img {
    filter: grayscale(0.4) brightness(1.05);
    opacity: 0.92;
    transform: scale(1.04);
}

.fb-media__item--placeholder {
    background:
        repeating-linear-gradient(
            45deg,
            var(--fb-color-cream) 0,
            var(--fb-color-cream) 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px
        );
}

.fb-media__placeholder-text {
    font-family: var(--fb-font-display, 'Fraunces', serif);
    font-size: var(--fb-text-xl);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--fb-color-muted);
    text-transform: uppercase;
}

.fb-media__label {
    font-size: var(--fb-text-xs);
    color: var(--fb-color-muted);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

@media (max-width: 720px) {
    /* 2 col mobile (display:flex no base; força flex-basis 50%). */
    .fb-media__grid {
        gap: var(--fb-space-3);
        max-width: none;
    }
    .fb-media__item {
        flex: 0 0 calc(50% - var(--fb-space-3) / 2);
        min-height: 96px;
        padding: var(--fb-space-5) var(--fb-space-4);
    }
}

/* Fade-in on scroll */
.fb-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms var(--fb-ease-out),
                transform 800ms var(--fb-ease-out);
}

.fb-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   CLINIC GALLERY
   ============================================================ */
.fb-clinic-gallery {
    padding: var(--fb-space-section) 0;
    background: var(--fb-color-cream);
}

.fb-clinic-gallery__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--fb-space-12);
}

.fb-clinic-gallery__header h2 {
    font-family: var(--fb-font-display, 'Fraunces', serif);
    font-size: var(--fb-text-3xl);
    font-weight: 400;
    line-height: 1.15;
    margin: var(--fb-space-3) 0 var(--fb-space-4);
}

.fb-clinic-gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--fb-space-3);
}

.fb-clinic-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.fb-clinic-gallery__item:nth-child(1) { grid-column: span 7; aspect-ratio: 4/3; }
.fb-clinic-gallery__item:nth-child(2) { grid-column: span 5; aspect-ratio: 3/4; grid-row: span 2; }
.fb-clinic-gallery__item:nth-child(3) { grid-column: span 4; aspect-ratio: 1/1; }
.fb-clinic-gallery__item:nth-child(4) { grid-column: span 3; aspect-ratio: 1/1; }

.fb-clinic-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms var(--fb-ease-out);
}

.fb-clinic-gallery__item:hover img {
    transform: scale(1.04);
}

@media (max-width: 720px) {
    .fb-clinic-gallery__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--fb-space-2);
    }
    .fb-clinic-gallery__item:nth-child(1),
    .fb-clinic-gallery__item:nth-child(2),
    .fb-clinic-gallery__item:nth-child(3),
    .fb-clinic-gallery__item:nth-child(4) {
        grid-column: span 1;
        aspect-ratio: 1/1;
        grid-row: auto;
    }
}

/* ============================================================
   CLINIC GALLERY — grid masonry 6 fotos
   ============================================================ */
.fb-clinic-gallery {
    padding: var(--fb-space-section) 0;
    background: var(--fb-color-cream);
    margin-top: 4rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .fb-clinic-gallery {
        margin-top: 6rem;
        margin-bottom: 5rem;
    }
}

.fb-clinic-gallery__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--fb-space-12);
}

.fb-clinic-gallery__header h2 {
    font-family: var(--fb-font-display, 'Fraunces', serif);
    font-size: var(--fb-text-3xl);
    font-weight: 400;
    line-height: 1.15;
    margin: var(--fb-space-3) 0 var(--fb-space-4);
}

.fb-clinic-gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 140px;
    gap: var(--fb-space-3);
}

.fb-clinic-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.fb-clinic-gallery__item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.fb-clinic-gallery__item:nth-child(2) { grid-column: span 6; grid-row: span 2; }
.fb-clinic-gallery__item:nth-child(3) { grid-column: span 4; grid-row: span 2; }
.fb-clinic-gallery__item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.fb-clinic-gallery__item:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.fb-clinic-gallery__item:nth-child(6) { grid-column: span 12; grid-row: span 2; }

.fb-clinic-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms var(--fb-ease-out);
}

.fb-clinic-gallery__item:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) and (min-width: 541px) {
    .fb-clinic-gallery__grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 130px;
        gap: var(--fb-space-2);
    }
    .fb-clinic-gallery__item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
    .fb-clinic-gallery__item:nth-child(2) { grid-column: span 3; grid-row: span 2; }
    .fb-clinic-gallery__item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
    .fb-clinic-gallery__item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
    .fb-clinic-gallery__item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
    .fb-clinic-gallery__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 540px) {
    /* Carrossel horizontal scroll-snap nativo (sem JS).
       6 fotos em grid vertical viravam seção de ~1900px;
       agora rolam lateralmente com snap por foto. */
    .fb-clinic-gallery__grid {
        display: flex;
        grid-template-columns: none;
        grid-auto-rows: auto;
        gap: var(--fb-space-3);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 calc(var(--fb-container-gutter) * -1);
        padding: 0 var(--fb-container-gutter) var(--fb-space-2);
    }
    .fb-clinic-gallery__grid::-webkit-scrollbar {
        display: none;
    }
    .fb-clinic-gallery__item:nth-child(n) {
        flex: 0 0 85%;
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4/3;
        scroll-snap-align: center;
    }
}

/* ============================================================
   MEDIA — centralizar imprensa quando há 2 itens
   ============================================================ */
.fb-media__grid {
    justify-content: center;
}

/* ============================================================
   PILLARS — 3 princípios não-negociáveis
   ============================================================ */
.fb-pillars {
    padding: var(--fb-space-section) 0;
    background: var(--fb-color-cream);
    position: relative;
}

.fb-pillars__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--fb-space-16);
}

.fb-pillars__header h2 {
    font-family: var(--fb-font-display, 'Fraunces', serif);
    font-size: clamp(1.85rem, 5vw, var(--fb-text-4xl));
    font-weight: 400;
    line-height: 1.15;
    margin: var(--fb-space-3) 0 var(--fb-space-4);
    letter-spacing: -0.02em;
}

.fb-pillars__header h2 em {
    font-style: italic;
    color: var(--fb-color-accent);
}

.fb-pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;  /* equaliza altura dos cards em mobile (1 col) */
    gap: var(--fb-space-6);
}

@media (min-width: 768px) {
    .fb-pillars__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fb-space-8);
    }
}

.fb-pillars__card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(168, 133, 93, 0.18);
    border-radius: 12px;
    padding: var(--fb-space-8);
    position: relative;
    transition: transform 280ms var(--fb-ease-out),
                box-shadow 280ms var(--fb-ease-out),
                border-color 280ms var(--fb-ease-out);
}

.fb-pillars__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(168, 133, 93, 0.18);
    border-color: rgba(168, 133, 93, 0.4);
}

.fb-pillars__num {
    display: inline-block;
    font-family: var(--fb-font-display, 'Fraunces', serif);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--fb-color-primary);
    letter-spacing: 0.18em;
    margin-bottom: var(--fb-space-4);
}

.fb-pillars__card h3 {
    font-family: var(--fb-font-display, 'Fraunces', serif);
    font-size: var(--fb-text-2xl);
    font-weight: 400;
    margin: 0 0 var(--fb-space-4);
    color: var(--fb-color-charcoal);
    line-height: 1.2;
}

.fb-pillars__card p {
    color: var(--fb-color-muted);
    line-height: var(--fb-leading-relaxed);
    font-size: var(--fb-text-base);
    margin: 0;
}

/* ============================================================
   FIX URGENTE — 5 BUGS MOBILE (audit 2026-05-04)
   ============================================================ */

/* BUG 2: hero fundo branco puro pra criar quebra visual */
/* Hero bg: cream uniforme (Opção A da rearquitetura mobile).
   Override branco anterior removido — agora respeita base var(--fb-color-cream). */
/* .fb-hero override removido intencionalmente */

/* BUG 4: cards BUTT ERREJOTA (fb-method__pillars) — bordas simétricas + padding */
.fb-method__pillars > div {
    background: #FFFFFF !important;
    border: 1px solid #E8DFCB !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    transition: transform 250ms var(--fb-ease-out), box-shadow 250ms var(--fb-ease-out);
}

.fb-method__pillars > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 133, 93, 0.12);
}

@media (min-width: 768px) {
    .fb-method__pillars > div {
        padding: 2rem !important;
    }
}

.fb-method__pillars {
    gap: 1rem !important;
}

@media (min-width: 768px) {
    .fb-method__pillars {
        gap: var(--fb-space-8) !important;
    }
}

.fb-method__pillars h3 {
    font-weight: 500 !important;
    color: var(--fb-color-primary) !important;
}

/* BUG 5: botão Conhecer o método completo — responsivo */
.fb-btn--responsive-text {
    max-width: 100%;
    box-sizing: border-box;
    padding-left: clamp(1.25rem, 5vw, 3rem);
    padding-right: clamp(1.25rem, 5vw, 3rem);
}

.fb-btn__text-mobile {
    display: none;
}

.fb-btn__text-desktop {
    display: inline;
}

@media (max-width: 767px) {
    .fb-btn__text-desktop {
        display: none;
    }
    .fb-btn__text-mobile {
        display: inline;
    }
}
