/* Casa Tsuru — design tokens extraídos de resources/landing/incoming/casa-tsuru/source/src/styles.css.
   Classes .ct-* são específicas desta LP; .lsb-* são o contrato fixo dos componentes
   reaproveitados do catálogo (lead-form, announcement-popup, whatsapp-float) — ver AUDIT.md. */

:root {
    --ct-brand: #56667B;
    --ct-brand-dark: #475563;
    --ct-forest: #3F5742;
    --ct-forest-dark: #314432;
    --ct-sand: #BFB9A2;
    --ct-sand-dark: #a89f7f;
    --ct-ink: #2B2B2B;
    --ct-ink-soft: #4F4F4F;
    --ct-bg: #EFEFEF;
    --ct-card: #ffffff;
    --ct-border: #d9d7cc;
    --ct-muted: #e6e5df;
    --ct-whatsapp: #25a35a;
    --ct-radius: 0.75rem;
    --ct-radius-lg: 1rem;
    --ct-max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

.ct-body {
    margin: 0;
    background: var(--ct-bg);
    color: var(--ct-ink);
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.ct-body h1, .ct-body h2, .ct-body h3, .ct-body h4 {
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.015em;
    margin: 0;
}
/* Escala de line-height do Tailwind, que o original usa por classe. Sem isto
   os títulos herdam 1.5 do body (h2 de 36px fica 54px em vez de 45px) e cada
   seção cresce alguns px em relação à referência. */
:where(.ct-body) :where(h2, h3) { line-height: 1.25; }

.ct-body p { margin: 0; }
.ct-body img { max-width: 100%; display: block; }
/* :where() zera a especificidade do reset — sem isso `.ct-body a` (0,1,1) vence
   `.ct-btn--sand` (0,1,0) e o texto do botão herda a cor da seção (bege sobre
   bege = invisível, aparecendo só no hover quando o fundo vira branco). */
:where(.ct-body) :where(a) { color: inherit; text-decoration: none; }
/* dl/dd trazem margin do UA (1em / 40px) que o preflight do Tailwind zera no
   original — sem este reset o hero fica ~16px mais alto e a imagem (centralizada
   pelo grid) desce junto. */
:where(.ct-body) :where(dl, dd) { margin: 0; }
html { scroll-behavior: smooth; }

.ct-container { max-width: var(--ct-max); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .ct-container { padding-inline: 1.5rem; } }

.ct-eyebrow {
    font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.25em; color: var(--ct-forest);
}

/* ---------------- Botões ---------------- */
.ct-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 2.75rem; padding-inline: 1.5rem; border-radius: 0.5rem;
    font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; border: none; cursor: pointer;
    transition: background-color .2s, color .2s, opacity .2s;
}
/* Hero e "Endereço fiscal" usam botão alto (min-h-12 no original); as demais
   seções usam o padrão de 2.75rem (min-h-11). */
.ct-btn--lg { min-height: 3rem; }
.ct-btn--brand { background: var(--ct-brand); color: #fff; }
.ct-btn--brand:hover { background: var(--ct-brand-dark); }
.ct-btn--sand { background: var(--ct-sand); color: var(--ct-ink); }
.ct-btn--sand:hover { background: #ffffff; }
.ct-btn--outline-sand { background: transparent; border: 1px solid rgba(191,185,162,.4); color: var(--ct-sand); }
.ct-btn--outline-sand:hover { background: rgba(255,255,255,.05); }
.ct-btn--outline-brand { background: transparent; border: 1px solid rgba(86,102,123,.3); color: var(--ct-brand); }
.ct-btn--outline-brand:hover { background: rgba(86,102,123,.05); }
.ct-btn--block { width: 100%; }

/* ---------------- Header ---------------- */
.ct-header {
    position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(217,215,204,.6);
    background: rgba(239,239,239,.85); backdrop-filter: blur(8px);
}
.ct-header__bar { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.ct-header__brand { display: flex; align-items: center; gap: 0.5rem; }
.ct-header__logo { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: var(--ct-brand); }
.ct-header__logo img { height: 1.75rem; width: 1.75rem; object-fit: contain; }
.ct-header__word { font-weight: 600; color: var(--ct-brand); display: flex; align-items: baseline; gap: 0.25rem; }
.ct-header__word small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ct-ink-soft); }
.ct-nav { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1280px) { .ct-nav { gap: 1.5rem; } }
.ct-nav a { font-size: 0.875rem; color: var(--ct-ink-soft); transition: color .2s; }
.ct-nav a:hover { color: var(--ct-brand); }
.ct-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.ct-icon-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; color: var(--ct-ink-soft); }
.ct-icon-btn:hover { background: rgba(86,102,123,.05); color: var(--ct-brand); }
.ct-header__cta { display: none; }
.ct-header__portal { display: none; align-items: center; gap: .4rem; border: 1px solid rgba(86,102,123,.3); border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; font-weight: 500; color: var(--ct-brand); }
.ct-header__portal:hover { background: rgba(86,102,123,.05); }
.ct-menu-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: none; border: none; color: var(--ct-ink); cursor: pointer; }
.ct-mobile-nav { display: none; border-top: 1px solid var(--ct-border); background: var(--ct-bg); }
.ct-mobile-nav.is-open { display: block; }
.ct-mobile-nav__list { display: flex; flex-direction: column; gap: .25rem; padding-block: .75rem; }
/* :not(.ct-btn) para não sobrescrever a cor do CTA "Agende uma visita", que é
   um botão de marca dentro da lista (senão fica cinza sobre azul). */
.ct-mobile-nav__list a:not(.ct-btn) { border-radius: .5rem; padding: .75rem; font-size: .875rem; color: var(--ct-ink-soft); }
.ct-mobile-nav__list a:not(.ct-btn):hover { background: var(--ct-muted); }
.ct-mobile-nav__cta { margin-top: .5rem; display: flex; align-items: center; justify-content: center; gap: .375rem; border-radius: .5rem; padding: .75rem; font-size: .875rem; font-weight: 600; }

/* 1024px, não 768px como o resto do arquivo: em 768px (tablet retrato, ex.
   iPad) não cabe logo + 5 links + Instagram + "Painel do cliente" + "Agende
   uma visita" numa linha só sem quebrar — "Painel do cliente" e "Agende uma
   visita" quebravam em 3 linhas cada e o header estourava a largura da tela
   (~44px de scroll horizontal, reproduzido nas 3 páginas da família Casa
   Tsuru). O menu hambúrguer continua até 1024px, onde já sobra espaço. */
@media (min-width: 1024px) {
    .ct-nav { display: flex; }
    .ct-header__cta { display: inline-flex; }
    .ct-header__portal { display: inline-flex; }
    .ct-menu-toggle { display: none; }
}

/* ---------------- Hero ---------------- */
.ct-hero { position: relative; overflow: hidden; background: var(--ct-brand); color: var(--ct-sand); }
.ct-hero__grid { position: relative; display: grid; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 768px) { .ct-hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; padding-block: 6rem; } }
.ct-hero__badge {
    display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(191,185,162,.3);
    border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; line-height: 1rem;
    text-transform: uppercase; letter-spacing: .2em; color: rgba(191,185,162,.9);
}
.ct-hero__badge img { height: .875rem; width: .875rem; object-fit: contain; }
.ct-hero h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 600; line-height: 1.05; color: #fff; }
.ct-hero h1 .ct-accent { color: var(--ct-sand); }
@media (min-width: 768px) { .ct-hero h1 { font-size: 3.75rem; } }
.ct-hero p.ct-lead { margin-top: 1.25rem; max-width: 32rem; font-size: 1rem; line-height: 1.5rem; color: rgba(191,185,162,.85); }
@media (min-width: 768px) { .ct-hero p.ct-lead { font-size: 1.125rem; line-height: 1.75rem; } }
.ct-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.ct-hero__stats { margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 28rem; border-top: 1px solid rgba(191,185,162,.2); padding-top: 1.5rem; }
.ct-hero__stats dt { font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(191,185,162,.8); }
.ct-hero__stats dd { margin: .25rem 0 0; font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: #fff; }
.ct-hero__media { position: relative; }
/* Moldura decorativa deslocada 12px para fora da imagem (-inset-3 no original). */
.ct-hero__media::before {
    content: ""; position: absolute; inset: -.75rem; border-radius: 1rem;
    border: 1px solid rgba(191,185,162,.2); pointer-events: none;
}
.ct-hero__media img { position: relative; }
/* Altura explícita também no mobile — antes só existia a partir de 768px.
   .ct-hero__grid é um CSS grid de coluna única abaixo de 768px, e a
   track de linha (auto) dimensiona pelo conteúdo: sem altura definida na
   imagem, o item ficava preso na altura NATIVA do arquivo (1399px) mesmo
   com a largura já reduzida a 100% da coluna, esticando a imagem numa
   caixa alta e estreita e "achatando" o enquadramento (testado: tentar
   `aspect-ratio` em vez de altura fixa não resolveu — o valor computava
   certo mas o grid ignorava para fins de sizing da track, mesma classe de
   inconsistência que motivou o `height: 593px` fixo já usado a partir de
   768px). */
.ct-hero__media img { width: 100%; height: 22rem; border-radius: .75rem; object-fit: cover; box-shadow: 0 25px 50px -12px rgba(0,0,0,.35); }
@media (min-width: 768px) { .ct-hero__media img { height: 593px; } }
.ct-tsuru-grid {
    position: absolute; inset: 0; opacity: .7; pointer-events: none;
    background-image: linear-gradient(to right, rgb(255 255 255 / .08) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .08) 1px, transparent 1px);
    background-size: 88px 88px;
}

/* ---------------- Genérico de seção ---------------- */
.ct-section { padding-block: 5rem; }
@media (min-width: 768px) { .ct-section { padding-block: 7rem; } }
.ct-section--muted { background: rgba(230,229,223,.5); }
.ct-section-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .ct-section-head { flex-direction: row; align-items: flex-end; } }
/* Título de seção (text-3xl md:text-4xl no original). Vale para todas as
   seções — About, FAQ e Localização não usam .ct-section-head e ficavam com o
   tamanho default do browser (24px em vez de 36px). */
.ct-section-head h2, .ct-about__grid h2, .ct-faq__head h2, .ct-location__info h2 {
    margin-top: .75rem; font-size: 1.875rem; font-weight: 600; line-height: 1.2;
}
@media (min-width: 768px) {
    .ct-section-head h2, .ct-about__grid h2, .ct-faq__head h2, .ct-location__info h2 { font-size: 2.25rem; }
}
.ct-section-head .ct-intro { max-width: 24rem; font-size: .875rem; color: var(--ct-ink-soft); }
.ct-stat dt { font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ct-ink-soft); }
.ct-stat dd { margin: .25rem 0 0; font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: var(--ct-brand); }

/* ---------------- About ---------------- */
.ct-about__grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .ct-about__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.ct-about__images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ct-about__images img { aspect-ratio: 3/4; width: 100%; border-radius: .75rem; object-fit: cover; }
.ct-about__images img:last-child { margin-top: 2.5rem; }
.ct-about__text p { margin-top: 1.25rem; color: var(--ct-ink-soft); }
.ct-about__text p + p { margin-top: 1rem; }
/* md:pt-6 na coluna de texto, como no original */
@media (min-width: 768px) { .ct-about__grid > div:last-child { padding-top: 1.5rem; } }
.ct-about__stats { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; border-top: 1px solid var(--ct-border); padding-top: 1.5rem; }

/* ---------------- Services ---------------- */
.ct-services__grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .ct-services__grid { grid-template-columns: 1fr 1fr; } }
.ct-card {
    display: flex; flex-direction: column; border-radius: .75rem; border: 1px solid var(--ct-border);
    background: var(--ct-card); padding: 1.5rem; transition: border-color .2s, box-shadow .2s;
}
@media (min-width: 768px) { .ct-card { padding: 2rem; } }
.ct-card:hover { border-color: rgba(86,102,123,.4); box-shadow: 0 10px 25px -10px rgba(0,0,0,.15); }
.ct-card__head { display: flex; align-items: center; gap: .75rem; }
.ct-card__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .5rem; background: rgba(86,102,123,.1); color: var(--ct-brand); flex-shrink: 0; }
.ct-card__icon svg { width: 1.25rem; height: 1.25rem; }
.ct-card h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.ct-card p.ct-desc { margin-top: 1rem; font-size: .875rem; line-height: 1.25rem; color: var(--ct-ink-soft); }
.ct-card__perks { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .625rem; list-style: none; padding: 0; }
.ct-card__perks li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; }
.ct-card__perks img { margin-top: .125rem; height: 1rem; width: 1rem; flex-shrink: 0; object-fit: contain; }
.ct-card__link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: var(--ct-brand); }
.ct-card__link:hover { gap: .625rem; }

/* ---------------- Fiscal education ---------------- */
/* padding-block igual ao .ct-section (py-20 / md:py-28 no original) — sem isso
   o CTA "Quero um endereço fiscal" fica colado na borda inferior da seção. */
.ct-fiscal { position: relative; overflow: hidden; background: var(--ct-forest); color: var(--ct-sand); padding-block: 5rem; }
@media (min-width: 768px) { .ct-fiscal { padding-block: 7rem; } }
.ct-fiscal__intro { max-width: 42rem; }
.ct-fiscal__intro h2 { margin-top: .75rem; font-size: 1.875rem; font-weight: 600; color: #fff; }
@media (min-width: 768px) { .ct-fiscal__intro h2 { font-size: 2.25rem; } }
.ct-fiscal__intro p { margin-top: 1rem; color: rgba(191,185,162,.85); }
.ct-fiscal__grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .ct-fiscal__grid { grid-template-columns: repeat(3, 1fr); } }
.ct-fiscal__card { border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); padding: 1.5rem; backdrop-filter: blur(4px); }
.ct-fiscal__card svg { width: 1.5rem; height: 1.5rem; color: var(--ct-sand); }
.ct-fiscal__card h3 { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: #fff; }
.ct-fiscal__card p { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; color: rgba(191,185,162,.8); }
.ct-fiscal__cta { margin-top: 3rem; }

/* ---------------- Gallery ---------------- */
.ct-gallery__grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ct-gallery__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .ct-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.ct-gallery__item { position: relative; overflow: hidden; border-radius: .75rem; background: var(--ct-card); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ct-gallery__btn { display: block; width: 100%; text-align: left; background: none; border: none; padding: 0; cursor: pointer; }
.ct-gallery__item img { height: 15rem; width: 100%; object-fit: cover; transition: transform .5s; }
.ct-gallery__btn:hover img { transform: scale(1.05); }
.ct-gallery__overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(86,102,123,.7); opacity: 0; transition: opacity .2s; pointer-events: none;
}
.ct-gallery__btn:hover .ct-gallery__overlay { opacity: 1; }
.ct-gallery__overlay span { border-radius: .5rem; background: var(--ct-sand); padding: .5rem 1rem; font-size: .875rem; font-weight: 600; color: var(--ct-ink); }
.ct-gallery__caption { padding: .75rem 1rem; font-size: .875rem; color: var(--ct-ink-soft); }
.ct-gallery__more { margin-top: 2rem; display: flex; justify-content: center; }

.ct-lightbox { position: fixed; inset: 0; z-index: 110; display: none; }
.ct-lightbox.is-open { display: block; }
.ct-lightbox--all {
    display: none; align-items: center; justify-content: center;
    background: rgba(17,17,17,.72); padding: 1.5rem 1rem;
}
.ct-lightbox--all.is-open { display: flex; }
.ct-lightbox--all__panel {
    width: 100%; max-width: 64rem; max-height: min(90vh, 48rem);
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--ct-bg); border-radius: var(--ct-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.ct-lightbox--all__bar { flex: none; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ct-border); padding: 1rem 1.25rem; }
.ct-lightbox--all__bar .ct-eyebrow { display: block; }
.ct-lightbox--all__bar strong { font-size: 1.125rem; font-weight: 600; }
/* grid-auto-rows explícito (12rem, igual à altura da imagem) — sem isto, as
   linhas "auto" eram dimensionadas pelo espaço DISPONÍVEL no item flex
   (flex:1 dentro do painel de altura limitada), não pelo conteúdo: com
   overflow-y:auto no próprio grid, o item flex ganha min-height:0 (regra
   padrão pra elementos com overflow não-visible) e o algoritmo de tracks
   "auto" do Grid comprimia as 7 linhas pra caber nos ~498px disponíveis
   (~52px cada) em vez de manter 12rem e deixar o excesso rolar — cada
   miniatura mostrava só uma tira de ~52px da foto (as imagens em si
   continuavam com height:12rem, só a linha do grid é que ficava menor,
   cortando o resto via overflow:hidden do botão). align-content:start
   sozinho NÃO resolve (só afeta sobra de espaço depois do sizing, não o
   sizing em si — confirmado via getComputedStyle().gridTemplateRows).
   Tamanho fixo nas linhas garante 12rem sempre, e aí sim overflow-y:auto
   rola o excesso normalmente. */
.ct-lightbox--all__grid { flex: 1; overflow-y: auto; grid-auto-rows: 12rem; padding: 1.25rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ct-lightbox--all__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .ct-lightbox--all__grid { grid-template-columns: repeat(3, 1fr); } }
.ct-lightbox--all__thumb { display: block; width: 100%; overflow: hidden; border-radius: .75rem; background: none; border: none; padding: 0; cursor: pointer; }
.ct-lightbox--all__thumb img { height: 12rem; width: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ct-lightbox--all__thumb:hover img, .ct-lightbox--all__thumb:focus-visible img { transform: scale(1.06); }
.ct-close-round { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--ct-muted); border: none; color: var(--ct-ink); cursor: pointer; }
.ct-close-round:hover { background: var(--ct-brand); color: #fff; }

.ct-lightbox--photo { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.9); padding: 1rem; }
.ct-lightbox--photo.is-open { display: flex; }
.ct-lightbox--photo figure { display: flex; max-height: 100%; max-width: var(--ct-max); flex-direction: column; align-items: center; gap: 1rem; }
/* Moldura só da imagem (sem a legenda) — ancora as setas do lado de fora da
   foto, perto da borda. Sem isto, prev/next eram absolute relativo a
   .ct-lightbox--photo (tela inteira, position:fixed inset:0); como a foto
   costuma ser bem mais estreita que a viewport (max-height:80vh limita
   antes da largura), as setas ficavam longe da imagem, grudadas nos cantos.
   max-width reduzido (em vez de 100%) reserva sempre espaço nas laterais
   para as setas caberem por fora, mesmo no mobile onde a foto tenderia a
   ocupar a largura toda — sem isso, "fora da imagem" colidiria com a borda
   da tela no mobile. */
.ct-lightbox__frame { position: relative; max-width: calc(100% - 6rem); }
@media (min-width: 768px) { .ct-lightbox__frame { max-width: calc(100% - 8rem); } }
.ct-lightbox--photo img { display: block; max-height: 80vh; width: auto; max-width: 100%; border-radius: .5rem; object-fit: contain; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.ct-lightbox--photo figcaption { text-align: center; font-size: .875rem; color: rgba(255,255,255,.8); }
.ct-lightbox--photo figcaption strong { color: #fff; }
.ct-lightbox__close {
    position: absolute; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.1);
    color: #fff; backdrop-filter: blur(4px); border: none; cursor: pointer;
}
.ct-lightbox__close:hover { background: rgba(255,255,255,.2); }
.ct-lightbox__close { top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
.ct-lightbox__prev, .ct-lightbox__next {
    position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
    width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(255,255,255,.1);
    color: #fff; backdrop-filter: blur(4px); border: none; cursor: pointer;
}
.ct-lightbox__prev:hover, .ct-lightbox__next:hover { background: rgba(255,255,255,.2); }
.ct-lightbox__prev { left: -3rem; }
.ct-lightbox__next { right: -3rem; }
@media (min-width: 768px) {
    .ct-lightbox__prev, .ct-lightbox__next { width: 3rem; height: 3rem; }
    .ct-lightbox__prev { left: -4rem; }
    .ct-lightbox__next { right: -4rem; }
}

/* ---------------- FAQ ---------------- */
.ct-faq__wrap { max-width: 48rem; margin-inline: auto; }
.ct-faq__head { text-align: center; }
.ct-faq__head p { margin: 1rem auto 0; max-width: 28rem; font-size: .875rem; color: var(--ct-ink-soft); }
.ct-accordion { margin-top: 3rem; border-radius: 1rem; border: 1px solid var(--ct-border); background: var(--ct-card); padding-inline: 1rem; }
@media (min-width: 768px) { .ct-accordion { padding-inline: 1.5rem; } }
.ct-accordion__item { border-bottom: 1px solid var(--ct-border); }
.ct-accordion__item:last-child { border-bottom: none; }
.ct-accordion__trigger {
    width: 100%; display: flex; align-items: center; gap: .75rem; text-align: left; background: none; border: none;
    padding-block: 1.25rem; font-size: 1rem; font-weight: 500; cursor: pointer; color: var(--ct-ink);
}
.ct-accordion__trigger svg.ct-chevron { margin-left: auto; width: 1rem; height: 1rem; color: var(--ct-ink-soft); transition: transform .2s; flex-shrink: 0; }
.ct-accordion__trigger svg.ct-icon-q { width: 1rem; height: 1rem; color: var(--ct-brand); flex-shrink: 0; }
.ct-accordion__item.is-open .ct-chevron { transform: rotate(180deg); }
.ct-accordion__panel { display: none; padding-bottom: 1.25rem; color: var(--ct-ink-soft); }
.ct-accordion__item.is-open .ct-accordion__panel { display: block; }
.ct-faq__cta { margin-top: 2.5rem; text-align: center; }

/* ---------------- Location ---------------- */
.ct-location__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .ct-location__grid { grid-template-columns: repeat(5, 1fr); } }
.ct-location__info { }
@media (min-width: 768px) { .ct-location__info { grid-column: span 2; } }
.ct-location__list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; list-style: none; padding: 0; }
.ct-location__list li { display: flex; align-items: flex-start; gap: .75rem; }
.ct-location__list svg { margin-top: .125rem; width: 1.25rem; height: 1.25rem; color: var(--ct-brand); flex-shrink: 0; }
.ct-location__list a:hover { color: var(--ct-brand); }
.ct-location__map { }
@media (min-width: 768px) { .ct-location__map { grid-column: span 3; } }
.ct-location__map-frame { overflow: hidden; border-radius: .75rem; border: 1px solid var(--ct-border); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ct-location__map-frame iframe { height: 380px; width: 100%; border: 0; }

/* ---------------- Contact ---------------- */
.ct-contact { position: relative; overflow: hidden; background: var(--ct-brand-dark); color: var(--ct-sand); padding-block: 5rem; }
@media (min-width: 768px) { .ct-contact { padding-block: 7rem; } }
.ct-contact__grid { position: relative; display: grid; gap: 3rem; }
@media (min-width: 768px) { .ct-contact__grid { grid-template-columns: 1fr 1fr; } }
.ct-contact h2 { margin-top: .75rem; font-size: 1.875rem; font-weight: 600; color: #fff; }
@media (min-width: 768px) { .ct-contact h2 { font-size: 2.25rem; } }
.ct-contact p.ct-lead { margin-top: 1rem; max-width: 28rem; color: rgba(191,185,162,.85); }
.ct-contact__list { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.ct-contact__list a, .ct-contact__list span { display: flex; align-items: center; gap: .75rem; color: var(--ct-sand); }
.ct-contact__list a:hover { color: #fff; }
.ct-contact-card { border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); padding: 1.5rem; backdrop-filter: blur(4px); }
@media (min-width: 768px) { .ct-contact-card { padding: 2rem; } }

/* ---------------- Footer ---------------- */
.ct-footer { border-top: 1px solid var(--ct-border); background: var(--ct-bg); }
.ct-footer__grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 768px) { .ct-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.ct-footer__brand { display: flex; align-items: center; gap: .5rem; }
.ct-footer__brand span.ct-word { font-weight: 600; color: var(--ct-brand); }
.ct-footer p.ct-desc { margin-top: .75rem; max-width: 20rem; font-size: .875rem; color: var(--ct-ink-soft); }
.ct-footer h4 { font-weight: 600; }
.ct-footer ul { margin-top: .75rem; display: flex; flex-direction: column; gap: .375rem; list-style: none; padding: 0; font-size: .875rem; color: var(--ct-ink-soft); }
.ct-footer ul a { display: inline-flex; align-items: center; gap: .5rem; }
.ct-footer ul a:hover { color: var(--ct-brand); }
.ct-footer__bottom { border-top: 1px solid var(--ct-border); }
.ct-footer__bottom-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .5rem; padding-block: 1.5rem; font-size: .75rem; color: var(--ct-ink-soft); }
@media (min-width: 768px) { .ct-footer__bottom-inner { flex-direction: row; align-items: center; } }

/* ---------------- Floating actions ----------------
   Os dois botões (endereço fiscal em cima, WhatsApp embaixo) vivem no MESMO
   container flex, como no original — cada um com position:fixed próprio se
   desalinha (larguras e offsets independentes). Por isso esta LP não usa o
   componente whatsapp-float do catálogo; ver AUDIT.md §8. */
/* bottom maior que o padrão (1.25rem) de propósito: o badge do reCAPTCHA
   (injetado pelo Google no formulário de lead) também é fixed no canto
   inferior direito (bottom:14px, 60px de altura — grecaptcha-badge, CSS
   deles, não dá pra reposicionar) e sobrepunha o botão de WhatsApp. Medido:
   o badge ocupa até 74px acima da borda (14px + 60px); 5.5rem (88px) deixa
   uns 14px de folga limpa acima dele. Remover o badge da tela exigiria
   trocar o aviso "protegido por reCAPTCHA" pro rodapé (política do Google
   pra quem esconde o badge via CSS) — fora do escopo deste ajuste. */
.ct-floating { position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
/* .ct-mobile-nav (menu hamburger) não é overlay — é bloco normal que empurra
   o conteúdo abaixo do header. No topo da página (hero logo abaixo do
   header), abrir o menu empurra o título do hero para dentro da faixa
   inferior da tela, onde os botões flutuantes ficam fixos — sobrepondo
   ícone e texto do hero (reproduzido em mobile 390×844, menu aberto no
   topo da página). Oculta os flutuantes enquanto o menu estiver aberto. */
body:has(.ct-mobile-nav.is-open) .ct-floating { display: none; }
.ct-floating__btn {
    display: inline-flex; height: 3.5rem; align-items: center; border-radius: 999px; padding-inline: 1rem;
    font-size: .875rem; line-height: 1.25rem; font-weight: 600; box-shadow: 0 20px 25px -5px rgba(0,0,0,.2); text-decoration: none;
}
.ct-floating__btn svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.ct-floating__btn--sand { background: var(--ct-sand); color: var(--ct-ink); }
.ct-floating__btn--sand:hover { background: #fff; }
.ct-floating__btn--wa { background: var(--ct-whatsapp); color: #fff; }
.ct-floating__btn--wa:hover { filter: brightness(.95); }
/* max-width:0 + overflow:hidden (não grid-template-columns:0fr) — um item de
   grid só encolhe até seu "automatic minimum size", que por padrão é o
   tamanho do conteúdo (min-width:auto) a menos que o próprio item declare
   overflow diferente de visible; como aqui o span interno não declara isso,
   0fr nunca chega a zerar. max-width não tem essa pegadinha. Mesmo padrão já
   usado em public/lp-assets/levi-site-builder/site.css (.lsb-wa-float span). */
.ct-floating__label { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .3s ease-out, margin-left .3s ease-out, opacity .3s ease-out; }
@media (hover: hover) {
    .ct-floating__btn:hover .ct-floating__label, .ct-floating__btn:focus-visible .ct-floating__label {
        margin-left: .5rem; max-width: 16rem; opacity: 1;
    }
}

/* ==================================================================
   Contrato fixo dos componentes reaproveitados do catálogo
   (resources/landing/components/{lead-form,announcement-popup,whatsapp-float})
   ================================================================== */

.lsb-form { display: flex; flex-direction: column; gap: 1rem; }
.lsb-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.lsb-form-row--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .lsb-form-row--2 { grid-template-columns: 1fr 1fr; } }
.lsb-field { display: flex; flex-direction: column; gap: .375rem; font-size: .875rem; color: var(--ct-sand); }
.lsb-field--checkbox { flex-direction: row; align-items: flex-start; gap: .5rem; font-size: .8rem; color: rgba(191,185,162,.85); }
.lsb-field__label { }
.lsb-field__required { color: #f3a3a3; }
.lsb-input, .lsb-textarea, .lsb-select {
    width: 100%; border-radius: .5rem; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
    color: #fff; padding: .5rem .75rem; font: inherit; font-size: .875rem;
}
.lsb-input::placeholder, .lsb-textarea::placeholder { color: rgba(191,185,162,.5); }
.lsb-input:focus, .lsb-textarea:focus, .lsb-select:focus { outline: 2px solid var(--ct-sand); outline-offset: 1px; }
.lsb-select option { color: var(--ct-ink); }
.lsb-checkbox { margin-top: .2rem; }
.lsb-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lsb-form__error { border-radius: .5rem; background: rgba(220,38,38,.15); color: #fca5a5; padding: .625rem .75rem; font-size: .8rem; }
.lsb-form__success { text-align: center; padding: 1rem 0; color: var(--ct-sand); }
.lsb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding-inline: 1.5rem; border-radius: .5rem; font-size: .875rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; }
.lsb-btn--brand { background: var(--ct-sand); color: var(--ct-ink); }
.lsb-btn--brand:hover { background: #fff; }
.lsb-btn--block { width: 100%; }

.lsb-popup-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem 1rem; background: rgba(43,43,43,.7); backdrop-filter: blur(4px); }
.lsb-popup-overlay.is-open { display: flex; }
.lsb-popup { position: relative; width: 100%; max-width: 560px; overflow: hidden; border-radius: .75rem; color: var(--ct-sand); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
/* Cor de fundo por campanha (cadastrada em /admin/lp/popup) — sempre um dos 4
   papéis de tema, nunca hex livre; JS troca esta classe ao virar de slide
   (site.js, initAnnouncementPopup). */
.lsb-popup--primary { background: var(--ct-brand); }
.lsb-popup--primary-dark { background: var(--ct-brand-dark); }
.lsb-popup--secondary { background: var(--ct-forest); }
.lsb-popup--secondary-dark { background: var(--ct-forest-dark); }
.lsb-popup__close { position: absolute; right: .75rem; top: .75rem; z-index: 10; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: rgba(0,0,0,.25); color: #fff; border: none; cursor: pointer; }
.lsb-popup__close:hover { background: rgba(0,0,0,.45); }
.lsb-popup__media { position: relative; padding: 2rem 1.5rem; }
@media (min-width: 768px) { .lsb-popup__media { padding: 2rem 2.5rem; } }
/* Altura travada (era 100% da largura, sem limite — com uma foto grande a
   imagem dominava o pop-up inteiro). object-fit:cover recorta em vez de
   esticar/distorcer. */
.lsb-popup__media img { width: 100%; height: 8rem; object-fit: cover; border-radius: .5rem; margin-bottom: .75rem; }
@media (min-width: 768px) { .lsb-popup__media img { height: 9rem; } }
.lsb-popup__caption h3 { margin-top: .75rem; font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: #fff; }
@media (min-width: 768px) { .lsb-popup__caption h3 { font-size: 1.875rem; } }
.lsb-popup__caption p { margin-top: .75rem; font-size: .875rem; color: rgba(191,185,162,.8); }
@media (min-width: 768px) { .lsb-popup__caption p { font-size: 1rem; } }
.lsb-popup__gradient { display: none; }
/* top fixo no centro vertical da IMAGEM (2rem de padding + metade da altura
   dela), não 50% do bloco inteiro — .lsb-popup__media também contém a
   legenda (título + texto) abaixo da imagem, com altura variável conforme o
   tamanho do título; com top:50% a seta ficava sobre o título sempre que ele
   tinha mais de uma linha (reproduzido com "Primeiro mês de endereço fiscal
   com desconto"). */
.lsb-popup__arrow { position: absolute; top: 6rem; transform: translateY(-50%); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(0,0,0,.3); color: #fff; border: none; cursor: pointer; }
@media (min-width: 768px) { .lsb-popup__arrow { top: 6.5rem; } }
.lsb-popup__arrow:hover { background: rgba(0,0,0,.5); }
.lsb-popup__arrow--prev { left: .5rem; }
.lsb-popup__arrow--next { right: .5rem; }
.lsb-popup__footer { display: flex; align-items: center; justify-content: space-between; padding: 0 2rem 1.5rem; }
.lsb-popup__dots { display: flex; gap: .5rem; }
.lsb-popup__dot { height: .5rem; width: .5rem; border-radius: 999px; background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: all .2s; }
.lsb-popup__dot.is-active { width: 1.5rem; background: #fff; }

/* Selo de badge dos slides do popup (usado em title/description) */
.lsb-popup__caption { }
