/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #fefefe;   /* branco da marca — fundo da página */
  --bg-2:      #f6f1e7;   /* branco quente — footer, camadas sutis */
  --bg-3:      #f3ece0;   /* superfície de card — tom bege claro */
  --paper:     #f7f1e6;   /* superfície de diálogos/chat */
  --text:      #181818;   /* cinza escuro da marca — texto principal */
  --text-2:    #3a3733;   /* texto secundário, um pouco mais suave */
  --text-mute: #797774;   /* cinza da marca — texto de apoio/metadados */
  --accent:    #c5a56c;   /* dourado apagado da marca — preenchimentos, fundos escuros */
  --accent-2:  #8a6a3d;   /* dourado mais escuro — texto sobre fundo claro (contraste AA) */
  --gold-lt:   #e0d5be;   /* laranja claro da marca — destaques suaves */
  --hero-bg:   #d3b19a;   /* cor lisa extraída de assets/img/fondo.png (fornecida pela cliente) */
  --on-dark:   #fefefe;   /* texto sobre foto/banda escura */
  --on-dark-soft: rgba(254,254,254,.82);
  --line:      rgba(24,24,24,.12);
  --line-lt:   rgba(24,24,24,.08);

  /* aliases mantidos por compatibilidade semântica em componentes "light" */
  --ink:       #181818;
  --ink-mute:  #797774;

  --serif: "Cormorant", "Times New Roman", serif;
  --sans:  "Jost", "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 500; }
em { font-style: italic; color: var(--accent-2); }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--text); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-2); font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow::before { display: none; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-title.one-line { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lede { color: var(--text-2); font-size: 1.05rem; margin-top: .9rem; max-width: 52ch; }
.section-head.center .lede { margin-inline: auto; }

/* Franjas de cor de marca */
.band-dark { background: linear-gradient(155deg, #262626 0%, #181818 55%, #0d0d0d 100%); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark em { color: var(--accent); }
.band-dark .lede { color: var(--on-dark-soft); }
.band-dark .eyebrow { color: var(--on-dark); font-weight: 700; font-size: 1rem; letter-spacing: .1em; }
.band-dark .btn-ghost { border-color: rgba(254,254,254,.5); color: var(--on-dark); }
.band-dark .btn-ghost:hover { border-color: var(--on-dark); color: var(--on-dark); background: rgba(254,254,254,.08); }
.band-accent { background: linear-gradient(155deg, #dcbd93 0%, var(--accent) 52%, #ac835a 100%); color: #241b0e; }
.band-accent h2, .band-accent h3 { color: #211a08; }
.band-accent em { color: #4a3517; }
.band-accent .lede { color: rgba(33,26,8,.75); }
.band-accent .eyebrow { color: #4a3517; }
.band-accent .btn-primary { background: var(--ink); color: var(--bg); }
.band-accent .btn-primary:hover { background: #000; }
.band-accent .btn-ghost { border-color: rgba(33,26,8,.4); color: #241b0e; }
/* Mesmo tom claro das .tilt-card (fundo dos cards de serviço) — pedido
   explícito: CTA final "Vamos agendar sua avaliação?" não devia mais ser
   uma banda escura alta, e sim clara e baixa, "del color de esta
   tarjeta". */
.band-card { background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 130%); color: var(--text); }
.band-card h2, .band-card h3 { color: var(--text); }
.band-card em { color: var(--accent-2); }
.band-card .lede { color: var(--text-2); }
.band-card .eyebrow { color: var(--accent-2); }
.band-accent .btn-ghost:hover { border-color: #241b0e; background: rgba(33,26,8,.08); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-paper h2, .band-paper h3 { color: var(--ink); }
.band-paper .lede { color: var(--ink-mute); }
.band-paper em { color: var(--accent-2); }
/* alias — mantém compatível com marcação existente (antigo "carmesim", agora banda escura da marca) */
.band-carmesim { background: linear-gradient(155deg, #262626 0%, #181818 55%, #0d0d0d 100%); color: var(--on-dark); }
.band-carmesim h2, .band-carmesim h3 { color: var(--on-dark); }
.band-carmesim em { color: var(--accent); }
.band-carmesim .lede { color: var(--on-dark-soft); }
.band-carmesim .eyebrow { color: var(--on-dark); font-weight: 700; font-size: 1rem; letter-spacing: .1em; }
.band-carmesim .btn-ghost { border-color: rgba(254,254,254,.5); color: var(--on-dark); }
.band-carmesim .btn-ghost:hover { border-color: var(--on-dark); color: var(--on-dark); background: rgba(254,254,254,.08); }

/* =============================================================
   6b. Marquesina
   ============================================================= */
.marquee { background: var(--ink); overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee-viewport { overflow: hidden; height: 58px; display: flex; align-items: center; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marqueeScroll 28s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--accent);
  white-space: nowrap; padding: 0 1.6rem; letter-spacing: .01em;
}
.marquee-track span::after { content: "✦"; margin-left: 1.6rem; color: rgba(254,254,254,.5); font-size: .8rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 60s; } }
@media (max-width: 700px) { .marquee-viewport { height: 48px; } .marquee-track span { font-size: .92rem; padding: 0 1rem; } }

.marquee-light { background: var(--paper); }
.marquee-light::before { background: linear-gradient(90deg, var(--paper), transparent); }
.marquee-light::after { background: linear-gradient(270deg, var(--paper), transparent); }
.marquee-light .marquee-track span { color: var(--ink); }
.marquee-light .marquee-track span::after { color: rgba(24,24,24,.35); }

/* =============================================================
   6c. Lista de problemas (pain list)
   ============================================================= */
.pain-list { display: flex; flex-direction: column; }
.pain-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.pain-item:last-child { border-bottom: 1px solid var(--line); }
.pain-num { font-family: var(--serif); font-weight: 700; color: var(--accent-2); font-size: 1.2rem; padding-top: .1rem; }
.pain-item p { font-size: 1.02rem; color: var(--text-2); }

/* =============================================================
   6d. Bento de diferenciais
   ============================================================= */
.bento-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.bento-item {
  border-radius: 18px; border: 1px solid var(--line); padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; background: var(--bg-3); min-height: 190px;
}
.bento-item.tinted { background: linear-gradient(160deg, rgba(197,165,108,.16), var(--bg-3)); }
.bento-item.imaged { padding: 0; min-height: 280px; border-color: transparent; }
.bento-item.imaged img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-item.imaged::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0) 35%, rgba(24,24,24,.88) 100%);
}
.bento-item.imaged .bento-text { position: relative; z-index: 1; padding: 1.4rem; }
.bento-item.imaged h3, .bento-item.imaged p { color: var(--on-dark); }
.bento-icon {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(197,165,108,.16);
  display: flex; align-items: center; justify-content: center; color: var(--accent-2);
  margin-bottom: .8rem; flex-shrink: 0;
}
.bento-item h3 { font-size: 1.08rem; color: var(--text); }
.bento-item p { font-size: .88rem; margin-top: .4rem; color: var(--text-mute); }
.bento-item.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.1rem; justify-content: flex-start; }
.bento-item.wide .bento-icon { margin-bottom: 0; }
@media (max-width: 700px) {
  .bento-row { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .bento-item { padding: 1.1rem; min-height: 0; }
  .bento-item.wide { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   6e. Objeções / dúvidas frequentes — acordeão
   ============================================================= */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.1rem 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; color: var(--text); }
.faq-toggle {
  position: relative; flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px;
  background: rgba(197,165,108,.16);
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent-2);
  transform: translate(-50%, -50%); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.faq-toggle::before { width: 10px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 10px; }
.faq-item[open] .faq-toggle::after { opacity: 0; transform: translate(-50%, -50%) scaleY(0); }
.faq-item p { font-size: .95rem; margin: -.3rem 0 1.2rem; color: var(--text-2); max-width: 62ch; }

/* =============================================================
   4. Components — buttons
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
  white-space: nowrap;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--accent) 55%, var(--accent-2) 130%);
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(197,165,108,.65);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover {
  background: var(--gold-lt); transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(197,165,108,.75);
}
.btn-ghost {
  border: 1.5px solid rgba(24,24,24,.4); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); background: rgba(197,165,108,.14); }
.btn-sm { padding: .65rem 1.2rem; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .65rem;
  background: rgba(254,254,254,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.nav.is-scrolled { border-color: var(--line); background: rgba(254,254,254,.94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.18rem; letter-spacing: .01em; color: var(--text); }
.nav-brand img { width: 30px; height: 30px; border-radius: 6px; background: var(--bg); object-fit: contain; }
.nav-links { display: none; align-items: center; gap: 1.8rem; font-size: .87rem; }
.nav-social { display: flex; align-items: center; gap: .8rem; padding-left: 1.2rem; margin-left: .2rem; border-left: 1px solid rgba(24,24,24,.15); }
.nav-social a { display: flex; color: var(--text-2); opacity: .8; transition: opacity .2s var(--ease-out), color .2s var(--ease-out); }
.nav-social a:hover { opacity: 1; color: var(--accent-2); }
.nav-links a { position: relative; color: var(--text-2); transition: color .25s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px;
  background: var(--accent); transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--accent-2); }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-cta { display: none; }
@media (min-width: 620px) { .nav-cta { display: inline-flex; } }
.nav-burger {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1.5px solid rgba(24,24,24,.3); border-radius: 50%;
}
@media (min-width: 860px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 16px; height: 1px; background: var(--text); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--text); }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--serif); font-size: 1.9rem; color: var(--text); }
.mobile-menu a[aria-current="page"] { color: var(--accent-2); }
.mobile-menu-social { display: flex; gap: 1.4rem; margin-top: .4rem; }
.mobile-menu-social a { display: flex; color: var(--text-2); }

/* =============================================================
   6. Hero — composição fundo liso + recorte da pessoa
   ============================================================= */
/* A cliente forneceu 2 arquivos: um fundo (cor lisa, extraída aqui como
   --hero-bg) e um retrato em estúdio com fundo liso quase branco — não
   tinha alpha real (PNG em modo RGB), então o recorte foi gerado por
   chroma-key (distância de cor ao fundo original) via Pillow/numpy e
   salvo como assets/img/hero-persona.webp com transparência real. Com
   isso a pessoa "flutua" direto sobre --hero-bg, sem card/moldura —
   pedido do cliente: "quiero la foto tamaño del hero... la foto de la
   persona en png sin fondo para que la superpongas en el fondo arriba y
   a la derecha". A cor RGB dos pixels semi-transparentes da borda
   (cabelo) foi "descontaminada" na extração (remove o branco do fundo
   original que ficava misturado no alpha) — sem isso, qualquer fundo
   escuro atrás do recorte revelava um halo claro no contorno do cabelo
   (bug real, cliente marcou com linha vermelha: "se ve que es un
   recorte").

   Mobile = padrão real da Atencio Digital (pedido explícito do cliente:
   "en la version movil usa de referencia atencio digital"), lido direto
   do styles.css dela: DUAS zonas, não um gradiente escuro único sobre
   tudo. Zona 1 (.hero-media) clara — o --hero-bg liso, foto quase sem
   escurecer — com um fade curto SÓ nos últimos ~70px pro tom escuro da
   zona 2. Zona 2 (.hero-content) um painel sólido escuro (mesmo
   gradiente de .band-dark, já usado em outras seções do site) com texto
   on-dark. O primeiro fundo escuro cobria a seção inteira e ficou "muy
   oscuro" no mobile — esse era o problema real, não só o brilho do
   texto. Desktop mantém a composição flutuante sobre gradiente escuro
   (não pedida pra mudar, só o halo do recorte). */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); }
.hero-grid { display: grid; gap: 0; }
.hero-media {
  position: relative; overflow: hidden;
  background: var(--hero-bg);
  display: flex; justify-content: center;
  padding-top: 1.2rem;
}
.hero-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(180deg, rgba(38,38,38,0) 0%, #262626 100%);
  pointer-events: none;
}
/* .hero-content mora dentro do .container (com padding-inline) — o
   painel escuro precisa ir de ponta a ponta da viewport, então o fundo
   vai num ::before com o "breakout" clássico (100vw + margin -50vw) em
   vez de ir direto no background de .hero-content, que ficaria inset. */
.hero-content { position: relative; }
.hero-content::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw; width: 100vw;
  background: linear-gradient(155deg, #262626 0%, #181818 55%, #0d0d0d 100%);
}
.hero-persona {
  display: block; width: auto; height: clamp(280px, 62vw, 460px);
  max-width: 82%;
  object-fit: contain; object-position: top center;
  filter: saturate(1.05) contrast(1.02);
  opacity: 0; transform: translateY(14px);
  animation: heroRise 1.1s var(--ease-out) .15s forwards;
  /* A foto original já vinha cortada rente ao braço/ombro E ao torso —
     bbox do recorte tocava tanto a borda direita quanto a de baixo do
     canvas original (627/2200, 2400/2400), ou seja as DUAS bordas são
     corte reto, não só o canto. Um único gradiente diagonal (versão
     anterior) só esmaecia o canto e deixava a borda direita inteira e a
     de baixo quase inteira ainda duras — por isso o cliente ainda via o
     corte. Fix: duas máscaras (uma esmaece a direita, outra esmaece
     embaixo) combinadas com mask-composite:intersect, pra cada borda
     esmaecer de forma independente. */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 74%, transparent 96%),
    linear-gradient(to right, #000 78%, transparent 97%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, #000 74%, transparent 96%),
    linear-gradient(to right, #000 78%, transparent 97%);
          mask-composite: intersect;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 1.6rem 0 clamp(2.2rem, 6vw, 3rem);
  opacity: 0; transform: translateY(14px);
  animation: heroRise 1.1s var(--ease-out) .35s forwards;
}
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-persona, .hero-content { animation: none; opacity: 1; transform: none; }
}
/* Cores on-dark globais (mobile + desktop) — .hero-content sempre tem
   fundo escuro por baixo (painel sólido no mobile, gradiente no
   desktop), então o texto é sempre claro, nunca var(--text) escuro.
   text-shadow leve dá "brilho/destaque" extra pedido pelo cliente ("se
   ve muy opaco"). */
.hero-content .eyebrow { color: var(--accent); font-weight: 700; }
.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  max-width: 23ch;
  color: var(--on-dark);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-title em { color: var(--accent); }
.hero-sub {
  margin-top: .6rem; color: var(--on-dark-soft); font-size: 1.02rem;
  max-width: 58ch;
}
@media (max-width: 700px) {
  .hero-sub { text-align: justify; hyphens: auto; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1rem; }
.hero-actions .btn-ghost {
  background: rgba(24,24,24,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-color: rgba(254,254,254,.45); color: var(--on-dark);
}
.hero-actions .btn-ghost:hover { border-color: var(--accent); color: var(--on-dark); background: rgba(197,165,108,.3); }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.8rem;
  margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(254,254,254,.25);
  max-width: 46ch;
}
.hero-stat strong {
  display: block; font-family: var(--sans); font-weight: 700; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; font-size: 1.65rem; color: var(--accent);
}
.hero-stat span { font-size: .82rem; color: var(--on-dark-soft); }
@media (max-width: 480px) {
  /* Os 2 botões do hero quebravam linha em telas pequenas (viravam um
     embaixo do outro) — pedido do cliente: manter lado a lado sempre.
     Encolhe padding/fonte/ícone só aqui pra caber os dois numa linha
     só dentro da largura real da coluna de texto no mobile (~350px). */
  .hero-actions { gap: .5rem; flex-wrap: nowrap; }
  .hero-actions .btn { padding: .65rem 1rem; font-size: .8rem; gap: .4rem; }
  .hero-actions .btn svg { width: 15px; height: 15px; }
  .hero-stats { gap: 1rem; flex-wrap: nowrap; }
  .hero-stat strong { font-size: 1.15rem; }
  .hero-stat span { font-size: .68rem; white-space: nowrap; }
}

/* Desktop: a pessoa vira uma camada absoluta encostada no topo/direita do
   hero (pedido: "arriba y a la derecha"), o texto ocupa a coluna esquerda
   em fluxo normal — nunca se sobrepõem porque hero-content tem max-width
   e a imagem fica ancorada à direita do container. Uma capa extra em
   gradiente (::before) reforça o escurecimento à esquerda (onde fica o
   texto) por cima do gradiente base + da foto — o fundo em si já é
   escuro em todo breakpoint, isso só garante contraste extra onde o
   texto se sobrepõe à foto (só acontece no desktop). */
@media (min-width: 860px) {
  /* Desktop não usa o padrão de 2 zonas do mobile (Atencio) — a pessoa
     flutua por cima de um único gradiente escuro que cobre o .hero
     inteiro, então o fundo claro de .hero-media e o painel sólido de
     .hero-content::before (ambos pensados só pro empilhamento mobile)
     ficam desligados aqui. */
  .hero { background: linear-gradient(150deg,
    #120e0b 0%, #2e2116 22%, #55402c 42%, #7a5f45 62%, #96795c 82%, #a88968 100%); }
  .hero-media::after { display: none; }
  .hero-content::before { display: none; }
  .hero-grid { position: relative; grid-template-columns: 1fr; min-height: clamp(560px, 74vh, 780px); align-content: center; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(115deg,
      rgba(9,6,4,.65) 0%,
      rgba(9,6,4,.42) 32%,
      rgba(9,6,4,.16) 58%,
      rgba(9,6,4,.04) 80%,
      rgba(9,6,4,0) 92%);
  }
  .hero-media {
    position: absolute; inset: 0 0 0 auto; justify-content: flex-end;
    background: transparent; padding-top: 0; pointer-events: none;
  }
  .hero-persona {
    height: 108%; max-width: none; align-self: flex-start;
    margin-top: 1%;
    margin-right: clamp(-1rem, -2vw, 1rem);
  }
  .hero-content { max-width: 50%; padding: 0; }
}
@media (min-width: 1180px) {
  .hero-persona { margin-right: clamp(1rem, 4vw, 3.5rem); }
}

/* Variante em teste: fotos dedicadas pra cada breakpoint (assets/img/
   hero-photo-desktop.webp + hero-photo-mobile.webp, "hero mejorado
   escritorio"/"nuevo hero movil" que a cliente subiu) via <picture>, em
   vez do recorte flutuante sobre fundo liso. Isolado com a classe
   .hero-full-photo pra poder reverter fácil (tirar a classe da seção +
   trocar a imagem de volta pra hero-persona.webp) sem mexer nas regras
   da composição anterior acima.

   A 1ª tentativa (uma foto larga única, full-bleed no desktop, com um
   scrim escuro por cima só do lado do texto) foi rejeitada: "esa
   transparencia se ve como gris, quitala" — o scrim rgba(10,8,5,..) por
   cima do dourado quente da foto lia como um cinza sujo, não como uma
   sombra elegante. Fix estrutural, não só trocar a cor do scrim: virou
   duas colunas de verdade (como o hero clássico da Atencio Digital) —
   painel sólido escuro (mesmo gradiente de .band-dark) pro texto de um
   lado, foto limpa do outro, SEM nenhuma camada por cima da foto. Texto
   nunca fica sobre a foto, então nunca precisa de scrim. No mobile
   mantém o padrão de 2 zonas empilhadas (foto em cima, painel embaixo). */
.hero-full-photo .hero-media { background: none; }
.hero-full-photo .hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block; filter: saturate(1.05) contrast(1.02);
  -webkit-mask-image: none; mask-image: none;
  opacity: 0; animation: heroRise 1.1s var(--ease-out) .15s forwards;
}
@media (max-width: 859.98px) {
  .hero-full-photo .hero-media { aspect-ratio: 700/1120; padding-top: 0; }
}
@media (min-width: 860px) {
  .hero-full-photo .hero { background: none; }
  .hero-full-photo .hero::before { display: none; }
  /* .hero-grid é o mesmo elemento que leva a classe .container (max-width
     1180px + padding-inline centralizados) — ótimo pras outras seções,
     mas nessa variante full-bleed faz o painel escuro E a foto pararem
     bem antes da borda real da tela, sobrando uma tira clara à esquerda
     — bug apontado pela cliente ("aqui, este color" com seta pro canto).
     Reseta o comportamento de .container só aqui; o respiro da coluna de
     texto vira padding do próprio .hero-content, não do grid. */
  .hero-full-photo .hero-grid {
    max-width: none; padding-inline: 0; margin-inline: 0;
    grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0;
    min-height: clamp(560px, 74vh, 780px);
  }
  .hero-full-photo .hero-media {
    position: relative; inset: auto; order: 2; overflow: hidden;
    justify-content: unset; align-items: unset; pointer-events: auto;
  }
  .hero-full-photo .hero-photo { object-position: 67% 20%; }
  .hero-full-photo .hero-content {
    order: 1; max-width: none; display: flex; flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.8rem, 4vw, 3rem)
             clamp(2.5rem, 5vw, 4.5rem) max(clamp(1.8rem, 4vw, 3rem), calc((100vw - 1180px) / 2 + 1.25rem));
    background: linear-gradient(155deg, #262626 0%, #181818 55%, #0d0d0d 100%);
  }
}

/* =============================================================
   7. Cards — tilt 3D com halo
   ============================================================= */
.card-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid:has(> :only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
@media (min-width: 960px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .card-grid-4 .tilt-card { padding: 1.4rem 1.1rem 1.3rem; }
  .card-grid-4 .tilt-card h3 { font-size: 1.1rem; }
  .card-grid-4 .tilt-card p { font-size: .86rem; }
}

.tilt-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .7rem;
  text-align: left;
  padding: 1.9rem 1.7rem 1.7rem;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 130%);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px -22px rgba(0,0,0,.18);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  width: 100%;
}
.tilt-card::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 65%; height: 65%;
  background: radial-gradient(circle, rgba(197,165,108,.28), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.tilt-card:hover, .tilt-card:focus-visible {
  border-color: rgba(197,165,108,.5);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.24);
}
.tilt-card:hover::before, .tilt-card:focus-visible::before { opacity: 1; }
.tilt-card .card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 32% 28%, rgba(224,213,190,.5), rgba(197,165,108,.16) 70%);
  box-shadow: inset 0 0 0 1px rgba(197,165,108,.35), 0 4px 14px -6px rgba(197,165,108,.5);
  color: var(--accent-2);
  font-family: var(--serif); font-size: 1.3rem; flex-shrink: 0;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.tilt-card:hover .card-icon, .tilt-card:focus-visible .card-icon {
  box-shadow: inset 0 0 0 1px rgba(197,165,108,.55), 0 6px 20px -6px rgba(197,165,108,.7);
  transform: scale(1.06);
}
.card-head { display: flex; align-items: center; gap: .7rem; }
.card-head .card-icon { margin-bottom: 0; }
.tilt-card h3 { font-size: 1.35rem; color: var(--text); }
.tilt-card p { color: var(--text-2); font-size: .92rem; }
.tilt-card .card-price {
  font-family: var(--serif); font-weight: 700; color: var(--accent-2); font-size: 1.3rem; margin-top: .3rem;
  align-self: center; text-align: center;
}
.tilt-card .card-price .was {
  font-size: .95rem; font-weight: 500; color: var(--text-2); margin-right: .45rem;
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.tilt-card .card-sub {
  align-self: center; text-align: center; margin-top: -.35rem;
  font-size: .86rem; color: var(--text-2);
}
.tilt-card .cta-hint {
  margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--ink);
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  align-self: center; padding: .75rem 1.6rem; border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(197,165,108,.65);
  transition: filter .25s var(--ease-out), transform .25s var(--ease-out), gap .25s var(--ease-out);
}
.tilt-card:hover .cta-hint, .tilt-card:focus-visible .cta-hint { filter: brightness(1.08); transform: translateY(-2px); gap: .6rem; }

/* Tarjeta premium — destaque especial (ex.: Indique e ganhe) */
.tilt-card.premium {
  border: 1.5px solid var(--accent);
  background: linear-gradient(165deg, var(--gold-lt) 0%, var(--bg-3) 48%, var(--bg-2) 130%);
  box-shadow: 0 26px 60px -24px rgba(197,165,108,.55), 0 16px 34px -22px rgba(0,0,0,.18);
}
.tilt-card.premium:hover, .tilt-card.premium:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 32px 70px -22px rgba(197,165,108,.7), 0 30px 60px -30px rgba(0,0,0,.24);
}
.tilt-card.premium .card-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold-lt) 100%);
  color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(197,165,108,.65);
}
.tilt-card.premium .card-price { font-size: 1.45rem; }

/* =============================================================
   8. Qualify dialog (calificação de leads)
   ============================================================= */
.qualify-dialog {
  position: fixed; inset: 0; margin: auto;
  border: none; border-radius: 22px; padding: 0;
  width: min(480px, 92vw);
  max-height: 88vh; overflow-y: auto;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.4);
}
.qualify-dialog::backdrop { background: rgba(10,8,5,.65); backdrop-filter: blur(3px); }
.qualify-form { padding: 2rem; position: relative; }
.qualify-form .eyebrow { color: var(--accent-2); }
.qualify-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24,24,24,.06); font-size: 1.15rem; line-height: 1;
}
.qualify-close:hover { background: rgba(24,24,24,.12); }
.qualify-form h3 { font-size: 1.5rem; margin-top: .2rem; }
.qualify-question { margin-top: 1.4rem; }
.qualify-question p { font-size: .88rem; font-weight: 500; margin-bottom: .6rem; color: var(--ink); font-family: var(--sans); }
.qualify-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.qualify-option {
  position: relative;
  display: inline-flex; align-items: baseline; gap: .45rem;
  border: 1.5px solid rgba(24,24,24,.3); border-radius: 999px;
  padding: .55rem 1rem; font-size: .85rem; cursor: pointer;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.qualify-option:hover { border-color: var(--accent-2); }
.qualify-option:has(input:checked) {
  background: var(--accent); border-color: var(--accent); font-weight: 600; color: var(--ink);
}
.qualify-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qualify-option-price { font-size: .78rem; color: var(--ink-mute); }
.qualify-option:has(input:checked) .qualify-option-price { color: rgba(24,24,24,.7); }
.qualify-actions { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.4rem; }
.qualify-actions .btn { width: 100%; justify-content: center; }
.qualify-submit { margin-top: 1.8rem; width: 100%; justify-content: center; }
.qualify-actions .qualify-submit { margin-top: 0; }

/* =============================================================
   9. Testimonials
   ============================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 720px)  { .testi-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 539px)  { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  padding: 1.6rem; border-radius: 18px;
  background: var(--bg-3); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.testi-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: #fff;
}
.testi-who strong { display: block; font-size: .88rem; color: var(--text); font-weight: 500; }
.testi-who .testi-date { font-size: .74rem; color: var(--text-mute); }
.testi-card .stars { color: var(--accent-2); font-size: .82rem; letter-spacing: .1em; margin-bottom: .7rem; }
.testi-card p.quote {
  font-size: .92rem; line-height: 1.5; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.testi-card .source { margin-top: auto; padding-top: .9rem; font-size: .72rem; color: var(--text-mute); }
.testi-card.placeholder {
  align-items: center; justify-content: center; text-align: center;
  border-style: dashed; color: var(--text-mute); min-height: 180px; gap: .5rem;
}
.testi-card.placeholder .testi-avatar-empty {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px dashed var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--text-mute); font-size: 1.2rem;
}
.testi-card.placeholder p { font-size: .82rem; }

/* =============================================================
   10. About split
   ============================================================= */
.about-grid {
  display: grid; gap: 2.4rem; align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }
.about-figure {
  position: relative;
  border-radius: 22px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(197,165,108,.28);
}
.about-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 60px rgba(0,0,0,.2);
}
.about-figure img, .about-figure video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-figure.square { aspect-ratio: 1/1; max-width: 380px; justify-self: center; }
.about-figure.reel { aspect-ratio: 9/16; max-width: 300px; justify-self: center; }
.video-sound-toggle {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24,24,24,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(254,254,254,.35); color: var(--on-dark);
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.video-sound-toggle:hover { background: rgba(24,24,24,.8); border-color: var(--accent); }
.video-sound-toggle svg { width: 18px; height: 18px; }
.video-sound-toggle .icon-unmuted { display: none; }
.video-sound-toggle.is-unmuted .icon-muted { display: none; }
.video-sound-toggle.is-unmuted .icon-unmuted { display: block; }
.lede.justify { text-align: justify; }
.about-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.about-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .96rem; color: var(--text-2); }
.about-list li::before { content: "✦"; color: var(--accent-2); flex-shrink: 0; margin-top: .1rem; }

/* =============================================================
   10b. CTA com foto de fundo (banda cinematográfica)
   ============================================================= */
.cta-photo-band { position: relative; overflow: hidden; }
.cta-photo-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-photo-band-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.03);
}
.cta-photo-band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,.5) 0%, rgba(24,24,24,.72) 65%, rgba(24,24,24,.82) 100%);
}
.cta-photo-band .container { position: relative; z-index: 1; }
.cta-photo-band .section-title { color: var(--on-dark); }
.cta-photo-band .lede { color: var(--on-dark-soft); }
.cta-photo-band .btn-ghost {
  background: rgba(24,24,24,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-color: rgba(254,254,254,.45); color: var(--on-dark);
}
.cta-photo-band .btn-ghost:hover { border-color: var(--accent); color: var(--on-dark); background: rgba(197,165,108,.3); }

/* =============================================================
   11b. Antes e depois
   ============================================================= */
/* As 4 fotos reais têm proporções bem diferentes entre si (retrato
   completo lado a lado, close-up empilhado, etc.) — em vez de forçar um
   aspect-ratio único com object-fit:cover (corta metade do "antes" ou do
   "depois"), cada card usa a proporção natural da própria foto, sem
   nenhum recorte. */
/* Cinco fotos sempre numa linha só: no desktop as 5 cabem lado a lado; no celular desliza pro lado. */
.before-after-grid {
  display: grid; gap: 1rem; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; -webkit-overflow-scrolling: touch;
}
.before-after-grid > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .before-after-grid { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; padding-bottom: 0; }
}
.before-after-card {
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -22px rgba(0,0,0,.45);
}
.before-after-card img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .5s var(--ease-out);
}
.before-after-card:hover img { transform: scale(1.035); }

/* =============================================================
   11c. Carrossel de bastidores (morph gallery — dissolve com ruído)
   ============================================================= */
.morph-gallery { position: relative; }
.morph-gallery-stage {
  /* O shader agora usa "contain" (ver sampleContain em main.js), não "cover" —
     a foto inteira sempre cabe na caixa, com tarja da cor de fundo nas
     laterais quando a proporção não bate, em vez de cortar rosto/olhos.
     Por isso a caixa pode ser bem larga (pedido: "abarque toda la sección")
     sem nunca cortar ninguém. */
  position: relative; width: 100%; aspect-ratio: 4/5;
  border-radius: 22px; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(197,165,108,.28);
}
@media (min-width: 700px) {
  .morph-gallery-stage { aspect-ratio: 2.35/1; }
}
.morph-gallery-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .4s ease; }
.morph-gallery-stage canvas.is-ready { opacity: 1; }
/* A borda reta "quadrada" da foto (onde o "contain" do shader termina e
   começa o preenchimento sólido --bg-3) foi corrigida DENTRO do shader
   (sampleContain em main.js, feather de 6% nas UV) — uma tentativa
   anterior de esconder isso com uma vinheta CSS por cima do canvas não
   funcionava porque a vinheta é relativa à CAIXA inteira, não ao
   retângulo real da foto (que muda de tamanho conforme a proporção de
   cada imagem) — pedido do cliente marcando com linha vermelha, "aun los
   veo" depois da 1ª tentativa. Ver aprendizado no CLAUDE.md. */
/* Grade estática pré-JS / fallback sem WebGL */
.morph-gallery-stage.is-static { aspect-ratio: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; box-shadow: none; }
.morph-gallery-stage.is-static img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.morph-gallery-stage .morph-gallery-fade-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  opacity: 0; transition: opacity .8s ease;
}
.morph-gallery-stage .morph-gallery-fade-img.is-active { opacity: 1; }
.morph-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.2rem; }
.morph-gallery-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  border: 1.5px solid rgba(24,24,24,.3); background: var(--paper); color: var(--text);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.morph-gallery-arrow:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-1px); }
.morph-gallery-arrow svg { width: 18px; height: 18px; }
.morph-gallery-dots { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center; max-width: 220px; }
.morph-gallery-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: background .25s var(--ease-out), transform .25s var(--ease-out); }
.morph-gallery-dot.is-active { background: var(--accent-2); transform: scale(1.3); }

/* =============================================================
   12. Price table
   ============================================================= */
.tech-hint { margin-top: 1rem; font-size: .78rem; color: var(--text-mute); text-align: center; }
.price-note { margin-top: 1.4rem; font-size: .85rem; color: var(--text-mute); }

/* =============================================================
   13. Botões flutuantes — WhatsApp + Assistente IA
   ============================================================= */
.fab-stack {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: .8rem;
}
.fab {
  position: relative;
  width: 56px; height: 56px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 18px 40px -14px rgba(0,0,0,.4);
  transition: transform .3s var(--ease-out);
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 24px; height: 24px; }
.fab-whatsapp { background: #25D366; }
.fab-whatsapp::before {
  content: ""; position: absolute; inset: -6px; border-radius: 999px;
  border: 1.5px solid var(--accent); opacity: .55;
  animation: waPulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .55; }
  70%  { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-whatsapp::before { animation: none; opacity: .25; } }
.fab-chat { background: var(--bg-3); border: 1px solid var(--line); color: var(--accent-2); }
.fab-chat-dot {
  position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 999px;
  background: var(--accent); border: 2px solid var(--bg);
  animation: fabDotPulse 2.4s ease-in-out infinite;
}
@keyframes fabDotPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .fab-chat-dot { animation: none; } }
@media (max-width: 700px) { .fab-stack { right: .9rem; bottom: .9rem; gap: .6rem; } .fab { width: 50px; height: 50px; } }

.chat-panel {
  position: fixed; right: 1.2rem; bottom: 6.2rem; z-index: 91;
  width: 350px; max-width: calc(100vw - 2.4rem);
  background: var(--paper); color: var(--ink);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.35);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-header {
  background: var(--ink); color: var(--on-dark);
  padding: 1rem 1.1rem; display: flex; align-items: center; justify-content: space-between;
}
.chat-header strong { font-family: var(--serif); font-size: 1.05rem; }
.chat-header span { display: block; color: var(--on-dark-soft); font-size: .78rem; margin-top: 1px; }
.chat-close { color: var(--on-dark); opacity: .8; padding: .3rem; }
.chat-close:hover { opacity: 1; }
.chat-messages {
  flex: 1; max-height: 320px; min-height: 160px; overflow-y: auto;
  padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem;
  background: #efe7d8;
}
.chat-msg { max-width: 85%; padding: .55rem .8rem; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line-lt); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.chat-typing { color: var(--ink-mute); font-style: italic; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.1rem .8rem; background: #efe7d8; }
.chat-chip {
  background: #fff; border: 1px solid var(--line-lt); border-radius: 999px;
  padding: .4rem .8rem; font-size: .78rem; color: var(--ink);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.chat-chip:hover { border-color: var(--accent-2); color: var(--accent-2); }
.chat-input-row { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line-lt); background: #fff; }
.chat-input-row input {
  flex: 1; border: 1px solid var(--line-lt); border-radius: 999px; padding: .55rem .9rem;
  font-family: var(--sans); font-size: .88rem; color: var(--ink); background: var(--paper);
}
.chat-input-row input:focus { outline: none; border-color: var(--accent-2); }
.chat-send {
  width: 38px; height: 38px; border-radius: 999px; background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .chat-panel { right: .7rem; left: .7rem; width: auto; bottom: 5.6rem; } }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { padding-block: 2.4rem 1.6rem; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1.8rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.4rem; color: var(--text); }
.footer-brand img { width: 42px; height: 42px; border-radius: 6px; background: var(--bg); object-fit: contain; }
.footer p.muted { color: var(--text-mute); font-size: .88rem; margin-top: .6rem; max-width: 34ch; }
.footer h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); margin-bottom: .7rem; font-weight: 500; }
.footer ul { display: grid; gap: .5rem; font-size: .92rem; }
.footer a:hover { color: var(--accent-2); }
.footer-social { display: flex; align-items: center; gap: .9rem; margin-top: .7rem; }
.footer-social a { display: flex; color: var(--text-2); opacity: .8; transition: opacity .2s var(--ease-out), color .2s var(--ease-out); }
.footer-social a:hover { opacity: 1; color: var(--accent-2); }
.footer-bottom {
  margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  font-size: .78rem; color: var(--text-mute);
}

/* =============================================================
   15. Reveal / reduced-motion safety
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
}

/* =============================================================
   16. Page hero (sub-pages)
   ============================================================= */
.page-hero {
  padding-block: clamp(2rem, 4vw, 2.8rem) clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}
.page-hero .section-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lede { margin-inline: auto; }

/* =============================================================
   17. Breakpoints reference (mobile-first, used above)
   ============================================================= */

/* =============================================================
   18. Aviso de cookies (LGPD) + página de privacidade
   ============================================================= */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--accent-2); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 120;
  width: min(440px, calc(100vw - 2.4rem));
  padding: 1.1rem 1.2rem; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -22px rgba(0,0,0,.45);
  display: grid; gap: .9rem;
  animation: cookie-in .5s var(--ease-out) both;
}
.cookie-banner p { font-size: .9rem; line-height: 1.5; color: var(--text-2); margin: 0; }
.cookie-banner p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: .6rem; justify-content: flex-end; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
@media (max-width: 700px) { .cookie-banner { left: .9rem; bottom: .9rem; width: calc(100vw - 1.8rem); } }
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-2); font-size: 1rem; line-height: 1.65; }
.legal ul { display: grid; gap: .7rem; padding-left: 1.2rem; list-style: disc; margin-top: .4rem; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.chat-msg a { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
