/* ==========================================================================
   NUVEM DO SONO — Institucional
   Design system derivado do Manual de Marca (Ester Maia / brotardsgn)
   Paleta, tipografia e princípios de forma: Nuvem do Sono.pdf, p. 4–14
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTES — auto-hospedadas
   Os arquivos vieram do cliente (07. BRANDING/FONTE), os dois sob OFL, o que
   permite servir daqui. Isso tira o @import do Google Fonts: era a unica
   dependencia de terceiro do site e bloqueava a renderizacao.
   Subset na faixa latin — o site e 100% portugues, e o latin-ext custaria
   18 KB a mais por peso da Cormorant para servir glifo que ninguem usa.
   Pesos 300/400/500 das duas. Italico so da serifada: nenhuma regra do site
   pede italico na fonte de texto.

   O size-adjust da Poppins nao e enfeite. A x-height dela e 54,8% do em contra
   46,0% da Jost que saiu, e "Falar com Especialista" media 144 px em Jost
   contra 165 px em Poppins no mesmo corpo. Sem o ajuste, menu e botoes
   estourariam a largura em 59 paginas ja fechadas. A 88% a largura volta para
   145 px e a x-height fica 5% acima da Jost — a Poppins continua maior, que e
   o efeito desejado, sem quebrar a escala.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorantgaramond-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorantgaramond-300-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorantgaramond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorantgaramond-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorantgaramond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorantgaramond-500-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300.woff2') format('woff2');
  /* ver a nota acima: 88% devolve a largura que a Jost tinha */
  size-adjust: 88%;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  /* ver a nota acima: 88% devolve a largura que a Jost tinha */
  size-adjust: 88%;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
  /* ver a nota acima: 88% devolve a largura que a Jost tinha */
  size-adjust: 88%;
}


/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Cores oficiais — Manual de Marca */
  --branco-nuvem: #FCFDFE;
  --grafite: #21424E;
  --turquesa: #2B7B99;
  /* turquesa um tom mais fundo, SO para texto sobre o azul claro do badge:
     o #2B7B99 sobre #DFEDF5 rende 4,00:1 e reprova no AA (minimo 4,5 para
     texto normal). Este rende 4,65:1 e continua a mesma familia de cor. */
  --turquesa-fundo: #27708B;
  --turquesa-nuvem: #73C6E7;
  --dourado: #C9A96E;
  /* mesma matiz (39°) e saturação (46%) do dourado do manual, 6% mais claro.
     Existe só para texto pequeno sobre grafite: no pico das nuvens o dourado
     original cai para 4,26:1 e reprova em AA; este fica em 4,87:1. */
  --dourado-claro: #D1B684;

  /* Derivados de superfície (mesma família, só variação de luz) */
  --areia: #F1EDE5;
  --neve: #ECF3F7;
  --neve-fria: #DFEDF5;
  --neve-borda: #D4E6F0;
  --grafite-2: #1A353F;
  --grafite-3: #2C525F;

  /* Texto — todos validados em WCAG AA sobre Branco Nuvem */
  --texto: #21424E;            /* 11.5:1 */
  --texto-suave: #4A6A75;      /*  5.7:1 */
  --texto-claro: #FCFDFE;
  --texto-claro-suave: rgba(252, 253, 254, 0.88);

  /* Linhas */
  --linha: rgba(33, 66, 78, 0.14);
  --linha-forte: rgba(33, 66, 78, 0.22);
  --linha-clara: rgba(252, 253, 254, 0.16);
  --linha-dourada: rgba(201, 169, 110, 0.45);

  /* Tipografia */
  --serif: 'Circunflexo', 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Poppins', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Escala de espaço */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 80px;  --s-10: 96px; --s-11: 128px; --s-12: 160px;

  /* Cabecalho — altura fixa, para a hero saber onde comecar */
  /* altura de LAYOUT do cabecalho: a hero se posiciona por ela e ela NUNCA
     muda, senao a pagina pula ao rolar */
  --h-header: 86px;
  /* altura VISUAL: e a unica que encolhe, e quem gruda embaixo do cabecalho
     (a barra de filtros do catalogo) acompanha por ela */
  --h-header-min: 62px;
  --h-header-atual: var(--h-header);

  /* Container */
  --container: 1280px;
  --gutter: 40px;

  /* Raio — linguagem de formas: curvas largas, nada anguloso */
  --r-btn: 16px;
  --r-pill: 999px;
  --r-card: 24px;
  --r-img: 24px;
  --r-xl: 32px;

  /* Sombras — nunca preto, sempre grafite muito diluído */
  --sh-1: 0 8px 24px rgba(33, 66, 78, 0.05);
  --sh-2: 0 14px 40px rgba(33, 66, 78, 0.08);
  --sh-3: 0 18px 50px rgba(33, 66, 78, 0.12);
  --sh-4: 0 28px 70px rgba(33, 66, 78, 0.16);

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 700ms;
}

/* --------------------------------------------------------------------------
   1-b. CORREÇÃO DE CIRCUNFLEXO
   A família Cormorant desenha Â Ê Î Ô Û (e minúsculas) com o acento alto e
   deslocado para a direita — em "você", "três" e "mês" o traço parece solto.
   ã õ é ç ú í estão corretos e continuam vindo da Cormorant.
   Só os circunflexos são servidos pela EB Garamond (OFL), com size-adjust
   calibrado para casar com a altura-x e o peso da Cormorant Garamond 300.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Circunflexo';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/ebgaramond-latin-400.woff2') format('woff2');
  unicode-range: U+00C2, U+00CA, U+00CE, U+00D4, U+00DB, U+00E2, U+00EA, U+00EE, U+00F4, U+00FB;
  size-adjust: 88%;
}
@font-face {
  font-family: 'Circunflexo';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/ebgaramond-latin-400-italic.woff2') format('woff2');
  unicode-range: U+00C2, U+00CA, U+00CE, U+00D4, U+00DB, U+00E2, U+00EA, U+00EE, U+00F4, U+00FB;
  size-adjust: 88%;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--branco-nuvem);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--turquesa-nuvem); color: var(--grafite); }

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

/* --------------------------------------------------------------------------
   3. TIPOGRAFIA
   -------------------------------------------------------------------------- */
.h1, .h2, .h3, .h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.012em;
  color: var(--grafite);
}

.h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.07; }
.h2 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.12; }
.h3 { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.2; }
.h4 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.25; }

.serif-it { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turquesa);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--dourado);
  flex: none;
}
.eyebrow.is-light { color: var(--dourado-claro); }
.eyebrow.is-plain::before { display: none; }

.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.72;
  color: var(--texto-suave);
  font-weight: 300;
}

.micro {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--texto-suave);
}

.num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1;
  color: var(--grafite);
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(76px, 9vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 104px); }

.section--dark {
  background: var(--grafite);
  color: var(--texto-claro);
}
.section--dark .h1,
.section--dark .h2,
.section--dark .h3,
.section--dark .h4,
.section--dark .num { color: var(--branco-nuvem); }
.section--dark .lead,
.section--dark .micro { color: var(--texto-claro-suave); }

.section--neve { background: var(--neve); }

.section-head { max-width: 680px; }
.section-head .h2 { margin-top: var(--s-5); }
.section-head .lead { margin-top: var(--s-5); }

/* Regra dourada fina — recurso editorial recorrente */
.rule-gold {
  width: 52px; height: 1px;
  background: var(--dourado);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  /* 350ms era lento demais para um botao: a cor so terminava de mudar bem
     depois do ponteiro ter chegado. 160ms responde junto com o mouse. */
  transition: background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), transform .16s var(--ease),
              box-shadow .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }

.btn--primary { background: var(--turquesa); color: var(--branco-nuvem); box-shadow: var(--sh-2); }
.btn--primary:hover { background: #24697F; box-shadow: var(--sh-3); }

.btn--ghost { background: transparent; color: var(--grafite); border-color: var(--linha-forte); }
.btn--ghost:hover { border-color: var(--turquesa); color: var(--turquesa); }

.btn--light { background: var(--branco-nuvem); color: var(--grafite); }
.btn--light:hover { background: #fff; box-shadow: var(--sh-3); }

.btn--outline-light { background: transparent; color: var(--branco-nuvem); border-color: var(--linha-clara); }
.btn--outline-light:hover { border-color: var(--dourado); color: var(--dourado); }

.btn--wa { background: #1FA855; color: #fff; box-shadow: 0 14px 40px rgba(31, 168, 85, 0.22); }
.btn--wa:hover { background: #18944A; }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--turquesa);
  padding-block: 4px;
  transition: gap .35s var(--ease), color .35s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--grafite); }
.section--dark .link-arrow { color: var(--dourado); }
.section--dark .link-arrow:hover { color: var(--branco-nuvem); }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--h-header-atual);
  display: flex;
  align-items: center;
  /* faixa branca sólida, sempre: a imagem da hero começa abaixo dela e nunca
     passa por trás do menu nem do painel de categorias */
  background: var(--branco-nuvem);
  border-bottom: 1px solid var(--linha);
  transition: height .26s var(--ease), box-shadow .4s var(--ease);
}

/* Encolhido. A classe mora no <html> para a barra de filtros do catalogo
   enxergar a variavel sem depender de onde ela esta na arvore. */
html.compacto { --h-header-atual: var(--h-header-min); }
.header.is-stuck { box-shadow: 0 1px 24px rgba(33, 66, 78, 0.06); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  width: 100%;
}

.brand { display: block; flex: none; }
.brand img {
  height: 40px;
  width: auto;
  transition: height .26s var(--ease);
}
html.compacto .brand img { height: 30px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--texto-suave);
  position: relative;
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--dourado);
  transition: width .4s var(--ease);
}
.nav a:hover { color: var(--grafite); }
.nav a:hover::after { width: 100%; }

/* pagina corrente: o mesmo fio dourado do hover, so que fixo */
.nav a[aria-current="page"] { color: var(--grafite); }
.nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.header__cta .btn { min-height: 46px; padding-inline: 22px; font-size: 14px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--linha-forte);
  border-radius: 14px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--grafite);
  position: relative;
  transition: background-color .3s var(--ease);
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute; left: 0;
  width: 18px; height: 1.5px;
  background: var(--grafite);
  transition: transform .4s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--branco-nuvem);
  /* o respiro abaixo do cabecalho segue a altura VISUAL dele: com o menu
     encolhido, 116px fixos deixavam um vao de 54px em vez de 30px */
  padding: calc(var(--h-header-atual) + 30px) var(--s-5) var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer__link {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--grafite);
  padding-block: 14px;
  border-bottom: 1px solid var(--linha);
}
.drawer__foot { margin-top: var(--s-7); display: grid; gap: var(--s-4); }

/* --------------------------------------------------------------------------
   7. HERO — tres camadas
   Fundo: a fachada real da loja, fotografada com pouca profundidade de campo.
   Veu:   abre um campo claro da esquerda para o meio, onde mora o texto.
   Frente: o recorte da consultora. O PNG ja traz duas faixas brancas rasgadas
          que emendam com a faixa branca do menu em cima e com a pagina embaixo,
          por isso as duas camadas precisam cobrir exatamente a mesma caixa
          (daí o aspect-ratio 1672/941, que e a proporcao nativa do recorte).
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--h-header);          /* comeca onde a faixa do menu termina */
  width: 100%;                          /* sem isto o aspect-ratio encolhe a caixa
                                           quando o max-height morde, e sobra tira
                                           branca na direita em telas largas */
  aspect-ratio: 1672 / 941;
  /* o piso proporcional trava a razao da caixa em 3,85 no maximo — abaixo dos
     4,0 do recorte alargado. Enquanto a caixa for mais ESTREITA que a imagem,
     o cover escala pela altura e so corta as laterais lisas: as faixas brancas
     rasgadas do topo e da base ficam sempre inteiras. */
  min-height: max(460px, 26vw);
  /* O teto de 860px nao e estetico: o mascote escala com a ALTURA da hero
     (object-fit: cover ancorado a direita). Numa tela cheia de 1080, a hero ia
     a 994 px, o mascote crescia junto e o dourado do gorro entrava atras do
     lead — contraste media 3,48:1, abaixo do AA. Com 860 ele para 94 px antes
     do texto na pior tela medida. */
  max-height: min(calc(100svh - var(--h-header)), 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--branco-nuvem);
}

/* camada 1 — fachada */
.hero__fundo { position: absolute; inset: 0; z-index: 0; }
.hero__fundo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

/* camada 2 — veu: solido a esquerda, so um filme sobre a loja */
.hero__veu {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(96deg,
      var(--branco-nuvem) 0%,
      rgba(252, 253, 254, .99) 30%,
      rgba(252, 253, 254, .93) 43%,
      rgba(252, 253, 254, .62) 56%,
      rgba(252, 253, 254, .30) 72%,
      rgba(252, 253, 254, .18) 100%),
    linear-gradient(180deg,
      rgba(252, 253, 254, .62) 0%,
      rgba(252, 253, 254, .22) 30%,
      rgba(252, 253, 254, 0) 52%);
}

/* camada 3 — recorte da consultora, com as faixas rasgadas */
.hero__frente {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__frente img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Ancorado a DIREITA, nao centrado. O mascote encosta na borda direita do
     desenho, entao a imagem so foi alargada pela esquerda — repetir a coluna
     da direita esticaria o pe dele pela tela. Com right, o corte do cover cai
     todo na folga esquerda, que e faixa branca lisa. */
  object-position: right center;
}

/* camada 4 — texto */
.hero__conteudo {
  position: relative;
  z-index: 3;
  padding-top: var(--s-8);
  padding-bottom: var(--s-8);
}
/* O mascote comeca em 43% da arte, contra os 50% da consultora que estava
   aqui antes, e por isso a coluna encolheu de 48vw para 40vw: com 48vw o
   titulo encostava no gorro dele a partir de 1440 px. */
.hero__conteudo > * { max-width: min(600px, calc(40vw - 48px)); }

/* etiqueta acima do titulo — reaproveitada em outras secoes */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  background: var(--neve-fria);
  color: var(--turquesa-fundo);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--turquesa);
  flex: none;
}

/* fileira de estrelas — usada aqui e na pagina de avaliacoes */
.proof__stars { display: flex; gap: 3px; flex: none; }
.proof__stars svg { width: 15px; height: 15px; fill: var(--dourado); }

.hero__titulo {
  margin-top: var(--s-5);
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.05;
}
.hero__titulo .serif-it { color: var(--turquesa); }

.hero__lead {
  margin-top: var(--s-5);
  font-size: clamp(15.5px, 1.15vw, 18px);
}

.hero__actions {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* chamada de rolagem */
.hero__rolar {
  position: absolute;
  z-index: 3;
  left: calc((100% - min(var(--container), 100%)) / 2 + var(--gutter));
  bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.hero__rolar-txt {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.hero__rolar-linha {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--linha-forte);
  overflow: hidden;
  position: relative;
}
.hero__rolar-linha::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--dourado);
  animation: puxa 2.6s var(--ease) infinite;
}
@keyframes puxa {
  0%   { transform: translateX(-110%); }
  60%  { transform: translateX(180%); }
  100% { transform: translateX(180%); }
}

/* telas medias: a consultora encolhe junto com a caixa, entao o texto
   precisa de um pouco mais de veu para nao encostar nela */
@media (max-width: 1100px) {
  .hero__conteudo { padding-top: var(--s-6); padding-bottom: var(--s-6); }
  .hero__veu {
    background:
      linear-gradient(100deg,
        var(--branco-nuvem) 0%,
        rgba(252, 253, 254, .98) 32%,
        rgba(252, 253, 254, .90) 46%,
        rgba(252, 253, 254, .54) 62%,
        rgba(252, 253, 254, .26) 80%,
        rgba(252, 253, 254, .16) 100%),
      linear-gradient(180deg, rgba(252, 253, 254, .50) 0%, rgba(252, 253, 254, 0) 24%);
  }
}

/* celular: as camadas deixam de se sobrepor. O texto fica em cima, no claro,
   e o recorte entra embaixo no tamanho natural, ainda sobre a fachada. */
@media (max-width: 768px) {
  .hero {
    aspect-ratio: auto;
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  /* o recorte esta antes do texto no HTML porque precisa ficar por baixo dele
     no desktop; no celular as camadas viram pilha e a ordem se inverte */
  .hero__conteudo { order: 1; }
  .hero__frente   { order: 2; }
  .hero__fundo img { object-position: 50% 30%; }
  /* no celular o claro desce ate onde o texto termina; so depois a fachada
     aparece, ja na faixa onde entra o recorte da consultora */
  .hero__veu {
    background: linear-gradient(180deg,
      var(--branco-nuvem) 0%,
      rgba(252, 253, 254, .99) 46%,
      rgba(252, 253, 254, .92) 58%,
      rgba(252, 253, 254, .52) 72%,
      rgba(252, 253, 254, .22) 86%,
      rgba(252, 253, 254, .12) 100%);
  }
  .hero__conteudo {
    padding-top: var(--s-6);
    padding-bottom: var(--s-5);
  }
  .hero__conteudo > * { max-width: none; }
  .hero__titulo { max-width: none; font-size: clamp(38px, 10.5vw, 50px); }
  .hero__lead { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  /* sem margem: a onda do recorte precisa encostar no fim do texto, senao
     sobra uma faixa branca lisa e a borda parece solta no meio do nada —
     que e exatamente como o defeito aparecia no celular */
  .hero__frente {
    position: relative;
    inset: auto;
    display: block;
    margin-top: 0;
  }
  .hero__frente img {
    width: 100%;
    height: auto;
    object-fit: fill;
  }
  .hero__rolar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__rolar-linha::after { animation: none; }
  .header, .brand img { transition: none; }
}

/* --------------------------------------------------------------------------
   8. TRUST BAR
   -------------------------------------------------------------------------- */
.trust {
  background: var(--grafite);
  color: var(--texto-claro);
  padding-block: var(--s-8);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding-inline: var(--s-5);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  border-left: 1px solid var(--linha-clara);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item svg { width: 26px; height: 26px; flex: none; stroke: var(--dourado-claro); }
.trust__item h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--branco-nuvem);
  margin-bottom: 3px;
}
.trust__item p { font-size: 13.5px; line-height: 1.55; color: var(--texto-claro-suave); }

/* --------------------------------------------------------------------------
   9. ESSÊNCIA (brand story)
   -------------------------------------------------------------------------- */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.story__text p + p { margin-top: var(--s-5); }

.quote {
  margin-top: var(--s-7);
  padding: var(--s-6) var(--s-6) var(--s-6) var(--s-7);
  background: var(--neve);
  border-radius: var(--r-card);
  border-left: 2px solid var(--dourado);
  position: relative;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.42;
  color: var(--grafite);
}
.quote cite {
  display: block;
  margin-top: var(--s-4);
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--turquesa);
}

.metrics {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6) var(--s-7);
}
.metrics__item { min-width: 110px; }
.metrics__item .num { color: var(--turquesa); }
.metrics__item p:not(.num) {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.story__art { position: relative; }
.story__art img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.story__art figcaption {
  margin-top: var(--s-4);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--texto-suave);
  display: flex;
  align-items: center;
  gap: 9px;
}
.story__art figcaption::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--dourado);
  flex: none;
}

/* --------------------------------------------------------------------------
   10. CATEGORIAS
   -------------------------------------------------------------------------- */
.cards {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.card {
  position: relative;
  background: var(--branco-nuvem);
  box-shadow: var(--sh-1);
  border: 1px solid var(--linha);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #FFFFFF;   /* fundo branco: o packshot ja vem recortado em branco */
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: var(--s-5);
  transition: transform .7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.025); }

.card__tag {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  background: var(--grafite);
  color: var(--branco-nuvem);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  z-index: 2;
}

.card__body { padding: var(--s-6); display: flex; flex-direction: column; flex: 1; }
.card__body .h4 { margin-bottom: var(--s-3); }
.card__body > p { font-size: 15px; line-height: 1.65; color: var(--texto-suave); }

.card__list { margin-top: var(--s-5); display: grid; gap: 11px; }
.card__list li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-suave);
}
.card__list svg { width: 15px; height: 15px; flex: none; margin-top: 4px; stroke: var(--turquesa); }

.card__foot {
  margin-top: auto;
  padding-top: var(--s-6);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
}
.card__price { font-size: 13px; color: var(--texto-suave); }
.card__price strong {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  color: var(--grafite);
  line-height: 1.1;
}

/* --------------------------------------------------------------------------
   11. CAMA COMPLETA (bloco horizontal)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: clamp(40px, 5vw, 86px);
  align-items: center;
}
.split__art img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* A foto da fachada com o mascote e quase quadrada (1308x1203). Em 4/3 o
   cover comeria 222 px de altura — ou a placa, que tem o telefone e o
   Instagram, ou os pes do mascote. Em 6/5 ela cabe inteira: o corte de 113 px
   fica no ceu acima da placa e na calcada abaixo dos pes. */
.split__art--retrato img { aspect-ratio: 6 / 5; }

.split__text .h2 { margin-top: var(--s-5); }
.split__text > p { margin-top: var(--s-5); }

.pairs {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-6);
}
.pairs li { display: flex; gap: var(--s-3); }
.pairs svg { width: 17px; height: 17px; flex: none; margin-top: 4px; stroke: var(--dourado); }
.pairs strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--grafite); }
.pairs span { font-size: 13.5px; line-height: 1.55; color: var(--texto-suave); }

/* --------------------------------------------------------------------------
   12. TECNOLOGIA (dark)
   -------------------------------------------------------------------------- */
.tech__grid {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4.5vw, 78px);
}
.tech__item { padding-top: var(--s-6); border-top: 1px solid var(--linha-clara); }
.tech__item svg { width: 30px; height: 30px; stroke: var(--dourado-claro); margin-bottom: var(--s-5); }
.tech__item .h4 { margin-bottom: var(--s-3); }
.tech__item p { font-size: 15px; line-height: 1.7; color: var(--texto-claro-suave); }
.tech__item .tech__meta {
  margin-top: var(--s-4);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--turquesa-nuvem);
}

/* --------------------------------------------------------------------------
   13. COMPARATIVO DE LINHAS
   -------------------------------------------------------------------------- */
.tiers {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--branco-nuvem);
  border: 1px solid var(--linha);
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-6) var(--s-6);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }

.tier--destaque { border-color: var(--turquesa); box-shadow: var(--sh-2); }
.tier--premium { background: var(--grafite); border-color: var(--grafite); }
.tier--premium .tier__nome,
.tier--premium .tier__preco strong { color: var(--dourado); }
.tier--premium .tier__perfil,
.tier--premium li,
.tier--premium .tier__preco { color: var(--texto-claro-suave); }
.tier--premium .tier__prod { color: var(--branco-nuvem); }
.tier--premium li svg { stroke: var(--dourado); }
.tier--premium hr { border-color: var(--linha-clara); }

.tier__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--turquesa);
  color: var(--branco-nuvem);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.tier__nome {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--turquesa);
}
.tier__prod {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.15;
  color: var(--grafite);
  margin-top: var(--s-3);
}
.tier__preco { margin-top: var(--s-4); font-size: 13px; color: var(--texto-suave); }
.tier__preco strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--grafite);
  margin-right: 6px;
}
.tier hr { border: 0; border-top: 1px solid var(--linha); margin: var(--s-6) 0; }
.tier ul { display: grid; gap: 12px; font-size: 14.5px; color: var(--texto-suave); }
.tier li { display: flex; gap: 11px; line-height: 1.5; }
.tier li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; stroke: var(--turquesa); }
.tier__perfil {
  margin-top: var(--s-6);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--texto-suave);
  font-style: italic;
  font-family: var(--serif);
  font-size: 17px;
}
.tier .btn { margin-top: var(--s-6); }
.tier__foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   14. JORNADA
   -------------------------------------------------------------------------- */
.journey {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  position: relative;
}
.journey::before {
  content: '';
  position: absolute;
  top: 27px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--linha-dourada) 12%, var(--linha-dourada) 88%, transparent);
}
.step { position: relative; padding-top: 0; }
.step__n {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--branco-nuvem);
  border: 1px solid var(--linha-dourada);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--dourado);
  position: relative;
  z-index: 1;
  margin-bottom: var(--s-5);
}
.step h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--grafite);
  margin-bottom: var(--s-3);
}
.step p { font-size: 14.5px; line-height: 1.65; color: var(--texto-suave); }

/* --------------------------------------------------------------------------
   15. OFERTA
   -------------------------------------------------------------------------- */
.offer {
  background: var(--grafite);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 54fr 46fr;
  align-items: stretch;
  box-shadow: var(--sh-4);
}
.offer__body { padding: clamp(40px, 5vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.offer .h2 { color: var(--branco-nuvem); margin-top: var(--s-5); }
.offer__desc { margin-top: var(--s-5); color: var(--texto-claro-suave); font-size: 16px; line-height: 1.7; }

.offer__stats {
  margin-top: var(--s-7);
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.offer__stats .num { color: var(--dourado-claro); }
.offer__stats p:not(.num) {
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-claro-suave);
}
.offer__actions { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.offer__note { margin-top: var(--s-5); font-size: 12.5px; color: rgba(252,253,254,.55); line-height: 1.6; max-width: 46ch; }

.offer__art { position: relative; min-height: 340px; }
.offer__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer__art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--grafite) 0%, rgba(33,66,78,.35) 34%, rgba(33,66,78,0) 72%);
}
.offer__selo {
  position: absolute;
  right: var(--s-6); bottom: var(--s-6);
  z-index: 2;
  background: rgba(252, 253, 254, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: var(--r-card);
  padding: 14px 18px;
  max-width: 190px;
}
.offer__selo strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--grafite);
  line-height: 1.2;
}
.offer__selo span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--turquesa); }

/* --------------------------------------------------------------------------
   16. AVALIAÇÕES
   -------------------------------------------------------------------------- */
.rating-agg {
  margin-top: var(--s-7);
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  background: var(--branco-nuvem);
  border: 1px solid var(--neve-borda);
  box-shadow: var(--sh-1);
  border-radius: var(--r-pill);
}
.rating-agg .num { font-size: 36px; color: var(--grafite); }

.placeholder-note {
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  border: 1px dashed var(--linha-dourada);
  border-radius: var(--r-btn);
  background: rgba(201, 169, 110, 0.06);
  font-size: 13px;
  line-height: 1.6;
  color: var(--texto-suave);
}
.placeholder-note strong { color: var(--grafite); font-weight: 500; }

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: 38fr 62fr;
  gap: clamp(40px, 5vw, 86px);
  align-items: start;
}
.acc { display: grid; }
.acc__item { border-bottom: 1px solid var(--linha-clara); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--branco-nuvem);
  transition: color .3s var(--ease);
}
.acc__btn:hover { color: var(--dourado); }
.acc__icon {
  position: relative;
  width: 20px; height: 20px;
  flex: none;
}
.acc__icon::before, .acc__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--dourado-claro);
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.acc__icon::before { width: 18px; height: 1.5px; transform: translate(-50%, -50%); }
.acc__icon::after  { width: 1.5px; height: 18px; transform: translate(-50%, -50%); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p {
  padding-bottom: var(--s-6);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--texto-claro-suave);
  max-width: 62ch;
}
.acc__panel p + p { padding-top: var(--s-4); }
.acc__panel a { color: var(--turquesa-nuvem); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   18. CONTATO
   -------------------------------------------------------------------------- */
.contact { background: var(--neve-fria); }
.contact__box {
  background: var(--branco-nuvem);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: clamp(40px, 5.5vw, 88px);
  display: grid;
  grid-template-columns: 46fr 54fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.contact__box .h2 { margin-top: var(--s-5); }
.contact__box .lead { margin-top: var(--s-5); }

.contact__info { margin-top: var(--s-7); display: grid; gap: var(--s-4); }
.contact__info li { display: flex; gap: var(--s-3); font-size: 14.5px; color: var(--texto-suave); line-height: 1.55; }
.contact__info svg { width: 17px; height: 17px; flex: none; margin-top: 3px; stroke: var(--turquesa); }

.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: 9px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  background: var(--branco-nuvem);
  border: 1px solid var(--linha-forte);
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: 300;
  color: var(--grafite);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  appearance: none;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(74, 106, 117, 0.55); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--turquesa);
  box-shadow: 0 0 0 3px rgba(43, 123, 153, 0.12);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234A6A75' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 46px;
}
.form__note { font-size: 12.5px; line-height: 1.6; color: var(--texto-suave); }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--grafite); color: var(--texto-claro-suave); padding-block: var(--s-10) var(--s-7); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(36px, 4vw, 72px);
  padding-bottom: var(--s-9);
  border-bottom: 1px solid var(--linha-clara);
}
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin-top: var(--s-5); font-size: 14.5px; line-height: 1.7; max-width: 34ch; }
.footer__social { margin-top: var(--s-6); display: flex; gap: var(--s-3); }
.footer__social a {
  width: 42px; height: 42px;
  border: 1px solid var(--linha-clara);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.footer__social a:hover { border-color: var(--dourado); background: rgba(201,169,110,.1); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; stroke: var(--branco-nuvem); }

.footer__col h3 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: var(--s-5);
}
.footer__col li + li { margin-top: 13px; }
.footer__col a, .footer__col li { font-size: 14.5px; line-height: 1.55; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--branco-nuvem); }

.footer__bottom {
  padding-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  justify-content: space-between;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(252,253,254,.55);
}

/* --------------------------------------------------------------------------
   20. WHATSAPP FLUTUANTE
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1FA855;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(31, 168, 85, 0.34);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 38px rgba(31,168,85,.42); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* --------------------------------------------------------------------------
   21. ANIMAÇÕES
   -------------------------------------------------------------------------- */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
[data-anim].is-in { opacity: 1; transform: none; }

.float-soft { animation: floatSoft 7s ease-in-out infinite; }
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* --------------------------------------------------------------------------
   22. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta .btn { display: none; }   /* no mobile o atendimento fica dentro do drawer */

  .hero__grid,
  .story__grid,
  .split,
  .faq__grid,
  .contact__box,
  .offer { grid-template-columns: 1fr; }

  /* o texto vem primeiro no mobile; so o bloco 'cama completa' inverte */
  .split__art { order: -1; }

  .cards, .tiers, .reviews, .tech__grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .offer__art { min-height: 300px; order: -1; }
  .offer__art::after { background: linear-gradient(0deg, var(--grafite) 0%, rgba(33,66,78,0) 60%); }
  .story__art img { aspect-ratio: 4 / 3; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }

  .section { padding-block: clamp(64px, 12vw, 96px); }

  .seal { right: 8px; top: 12px; padding: 13px 15px; max-width: 142px; }
  .seal__value { font-size: 20px; }
  .proof { flex-wrap: wrap; }

  .trust__grid { grid-template-columns: 1fr 1fr; gap: var(--s-6) 0; }
  .trust__item { border-left: 0; padding-inline: 0; padding-right: var(--s-4); }
  .trust__item:nth-child(n+3) { padding-top: var(--s-6); border-top: 1px solid var(--linha-clara); }

  .cards, .tiers, .reviews, .tech__grid, .journey, .pairs, .footer__top { grid-template-columns: 1fr; }
  .tier--destaque { order: -1; }
  .metrics { gap: var(--s-6) var(--s-7); }
  .offer__stats { gap: var(--s-6); }
  .offer__actions { flex-direction: column; align-items: stretch; }
  .offer__actions .btn { width: 100%; }
  .contact__box { padding: var(--s-7) var(--s-5); }
  .quote { padding: var(--s-5); }
  .footer { padding-block: var(--s-8) var(--s-6); }
  .journey .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 var(--s-5); align-items: start; }
  .journey .step__n { margin-bottom: 0; grid-row: span 2; }
  .wa-float { width: 56px; height: 56px; }
}

/* --------------------------------------------------------------------------
   23. ACESSIBILIDADE
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 10px; left: 50%;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--grafite);
  color: var(--branco-nuvem);
  padding: 12px 22px;
  border-radius: var(--r-btn);
  font-size: 14px;
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-anim] { opacity: 1; transform: none; }
}

.cards-cta { margin-top: var(--s-8); text-align: center; }

/* ==========================================================================
   25. AVALIAÇÕES — as 4 reais, centralizadas
   Eram um marquee infinito; com apenas 4 depoimentos, a grade centralizada
   alinha melhor e não corta cartão nas bordas.
   ========================================================================== */
.avals {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.rev-card {
  padding: var(--s-6);
  background: var(--branco-nuvem);
  box-shadow: var(--sh-1);
  border: 1px solid var(--linha);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.rev-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--sh-2); }

.rev-card__stars { display: flex; gap: 3px; margin-bottom: var(--s-5); }
.rev-card__stars svg { width: 14px; height: 14px; fill: var(--dourado); }

.rev-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--grafite);
  flex: 1;
}
.rev-card figcaption {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--linha);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--turquesa);
}

.avals__cta { margin-top: var(--s-8); text-align: center; }

@media (max-width: 1080px) { .avals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .avals { grid-template-columns: 1fr; } }
/* ==========================================================================
   26. MENU INSTITUCIONAL (dropdown de categorias)
   ========================================================================== */
.nav__drop { position: relative; }

.nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--texto-suave);
  cursor: pointer;
  position: relative;
  transition: color .3s var(--ease);
}
.nav__btn::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--dourado);
  transition: width .4s var(--ease);
}
.nav__btn:hover,
.nav__btn.is-ativo,
.nav__btn[aria-expanded="true"] { color: var(--grafite); }
.nav__btn:hover::after,
.nav__btn.is-ativo::after,
.nav__btn[aria-expanded="true"]::after { width: 100%; }
.nav__seta { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.nav__btn[aria-expanded="true"] .nav__seta { transform: rotate(180deg); }

.nav__painel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 620px;
  padding: var(--s-6);
  background: var(--branco-nuvem);
  border: 1px solid var(--linha);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.nav__painel[hidden] { display: block; }          /* o JS controla por classe */
.nav__drop.is-open .nav__painel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__painel::before {                            /* ponte para o mouse não cair */
  content: '';
  position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}

.nav__painel-titulo {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--turquesa);
  margin-bottom: var(--s-4);
}
.nav__painel-grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px var(--s-4);
}
.nav__painel-grade a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background-color .25s var(--ease);
}
.nav__painel-grade a:hover { background: var(--neve); }
.nav__painel-grade strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--grafite);
  white-space: nowrap;
}
.nav__painel-grade span { font-size: 11.5px; color: var(--texto-suave); white-space: nowrap; }

/* painel curto: o de "A Loja" tem 3 itens, não cabe na grade de duas colunas */
.nav__painel--curto { width: 340px; }
.nav__painel-grade--uma { grid-template-columns: 1fr; }
.nav__painel-grade--uma a { justify-content: flex-start; }

.nav__painel-todos {
  display: block;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--linha);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--turquesa);
  transition: color .3s var(--ease);
}
.nav__painel-todos:hover { color: var(--grafite); }

/* drawer: categorias dentro do menu mobile */
.drawer__rotulo {
  margin-top: var(--s-5);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--turquesa);
}
.drawer__cats {
  margin-top: var(--s-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.drawer__cat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: var(--neve);
  border-radius: 12px;
  font-size: 14px;
  color: var(--grafite);
}
.drawer__cat span { font-size: 11px; color: var(--texto-suave); }
.drawer__link--todos { font-size: 20px !important; color: var(--turquesa) !important; }

/* ==========================================================================
   27. CARDS DE CATEGORIA (dobra 3 da home)
   ========================================================================== */
.cats {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.cat {
  display: flex;
  flex-direction: column;
  background: var(--branco-nuvem);
  border: 1px solid var(--linha);
  border-radius: var(--r-card);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }

.cat__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  overflow: hidden;
}
.cat__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: var(--s-4);
  transition: transform .4s var(--ease);
}
.cat:hover .cat__media img { transform: scale(1.03); }

.cat__n {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--dourado);
}

.cat__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--linha);
}
.cat__titulo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 23px;
  line-height: 1.2;
  color: var(--grafite);
}
.cat__desc {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--texto-suave);
  flex: 1;
}
/* O rodape do cartao virou um botao centralizado (13a rodada): sairam a
   contagem de produtos e o "a partir de". O cartao deixou de ser um <a>
   envolvendo tudo — ancora dentro de ancora e invalido — mas continua
   clicavel inteiro pelo ::after do botao, que cobre o cartao. */
.cat { position: relative; }
.cat__foot {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--linha);
  display: flex;
  justify-content: center;
}
.cat__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cat:hover .cat__btn {
  background: var(--turquesa);
  border-color: var(--turquesa);
  color: var(--branco-nuvem);
}

@media (max-width: 1080px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cats { grid-template-columns: 1fr; } }

/* ==========================================================================
   28. TEXTURA
   Duas camadas, nenhuma delas decorativa:
   1. GRÃO  — ruído SVG embutido (feTurbulence), tira o plástico do chapado.
   2. NUVENS — manchas radiais largas, do mesmo traço do símbolo da marca,
      que dão relevo de longe, onde o grão sozinho não se lê.
   Tudo abaixo de 8% de opacidade: textura, não padrão.
   ========================================================================== */
:root {
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.075'/%3E%3C/svg%3E");
  --grao-escuro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.11'/%3E%3C/svg%3E");

  --nuvens:
    radial-gradient(440px 270px at 16% 20%, rgba(115, 198, 231, .075), transparent 63%),
    radial-gradient(520px 310px at 74%  6%, rgba(201, 169, 110, .045), transparent 60%),
    radial-gradient(380px 250px at 56% 68%, rgba(115, 198, 231, .060), transparent 64%),
    radial-gradient(500px 300px at  6% 88%, rgba( 43, 123, 153, .040), transparent 62%),
    radial-gradient(360px 230px at 94% 54%, rgba(115, 198, 231, .050), transparent 64%);

  /* sobre grafite as nuvens clareiam o fundo e comem contraste do texto.
     Valores calibrados para o ponto mais claro manter AA (>= 4,5:1). */
  --nuvens-escuras:
    radial-gradient(520px 320px at 14% 14%, rgba(115, 198, 231, .030), transparent 64%),
    radial-gradient(460px 280px at 82% 86%, rgba(201, 169, 110, .020), transparent 62%),
    radial-gradient(420px 260px at 58% 42%, rgba(115, 198, 231, .017), transparent 66%);
}

body {
  background-color: var(--branco-nuvem);
  background-image: var(--grao), var(--nuvens);
  background-size: 180px 180px, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-attachment: fixed, fixed;
}

.section--neve,
.contact {
  background-image: var(--grao), var(--nuvens);
  background-size: 180px 180px, 130% 120%;
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center;
}

.section--dark,
.trust,
.footer,
.offer {
  background-image: var(--grao-escuro), var(--nuvens-escuras);
  background-size: 180px 180px, 130% 130%;
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center;
}

/* o cartão fica liso de propósito: é o contraponto do fundo texturizado */
.card, .prod, .cat, .rev-card, .tier, .contact__box, .modal__caixa,
.quote, .firmeza, .rating-agg {
  background-image: none;
}

@media (max-width: 768px) {
  body { background-attachment: scroll, scroll; }   /* fixed custa caro em mobile */
  :root { --nuvens: radial-gradient(360px 240px at 14% 16%, rgba(115,198,231,.07), transparent 64%),
                     radial-gradient(320px 220px at 86% 72%, rgba(201,169,110,.045), transparent 62%); }
}

/* ==========================================================================
   29. ABERTURA (preloader)
   O símbolo respira enquanto a página monta. Sai no `load` e tem travessão de
   segurança no JS: a página nunca fica refém da animação.
   ========================================================================== */
.abertura {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-7);
  background: var(--branco-nuvem);
  background-image: var(--grao), var(--nuvens);
  background-size: 180px 180px, 100% 100%;
  background-repeat: repeat, no-repeat;
  transition: opacity .7s var(--ease), visibility .7s;
}
.abertura.is-fora { opacity: 0; visibility: hidden; }

/* rede de segurança SEM JavaScript: a abertura some sozinha em 2,4 s.
   Com JS ela sai antes, no evento `load`. A página nunca fica coberta. */
.abertura { animation: aberturaSai .7s var(--ease) 2.4s forwards; }
@keyframes aberturaSai {
  to { opacity: 0; visibility: hidden; }
}

.abertura__marca img {
  width: 150px;
  height: auto;
  animation: respira 2.8s var(--ease) infinite;
}
@keyframes respira {
  0%, 100% { opacity: .72; transform: scale(.985); }
  50%      { opacity: 1;   transform: scale(1.015); }
}

.abertura__linha {
  display: block;
  width: 120px;
  height: 1px;
  background: var(--linha-forte);
  overflow: hidden;
}
.abertura__linha i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--dourado);
  animation: corre 1.5s var(--ease) infinite;
}
@keyframes corre {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* o conteúdo entra junto com a saída da abertura */
body.is-montando { overflow: hidden; }
body.is-pronto .header,
body.is-pronto main { animation: sobe .9s var(--ease) both; }
body.is-pronto main { animation-delay: .08s; }
@keyframes sobe {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   30. CONVITE PARA O WHATSAPP
   ========================================================================== */
.convite {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 95;
  width: min(340px, calc(100vw - 40px));
  padding: var(--s-6);
  background: var(--branco-nuvem);
  border: 1px solid var(--linha);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .6s var(--ease);
}
.convite[hidden] { display: none; }
.convite.is-visivel { opacity: 1; transform: none; }

.convite__x {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--texto-suave);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.convite__x:hover { background: var(--neve); color: var(--grafite); }
.convite__x svg { width: 15px; height: 15px; }

.convite__olho {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--turquesa);
}
.convite__titulo {
  margin-top: var(--s-3);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 25px;
  line-height: 1.2;
  color: var(--grafite);
  padding-right: var(--s-5);
}
.convite__texto {
  margin-top: var(--s-4);
  font-size: 14px;
  line-height: 1.6;
  color: var(--texto-suave);
}
.convite .btn { margin-top: var(--s-5); }
.convite__nota {
  margin-top: var(--s-3);
  font-size: 11.5px;
  text-align: center;
  color: var(--texto-suave);
}

@media (max-width: 768px) {
  .convite { left: 12px; right: 12px; bottom: 86px; width: auto; padding: var(--s-5); }
  .convite__titulo { font-size: 21px; }
}

/* ==========================================================================
   31. REVELAÇÕES EXTRAS
   ========================================================================== */
/* imagem entra com um respiro de escala, sem zoom perceptível */
[data-anim] img { transition: transform 1.1s var(--ease); }
[data-anim]:not(.is-in) img { transform: scale(1.03); }

/* número que conta — o JS escreve o valor; aqui só o estado inicial */
.num[data-conta] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .abertura { display: none; }
  .abertura__marca img, .abertura__linha i { animation: none; }
  body.is-pronto .header, body.is-pronto main { animation: none; }
  .convite { transition: none; }
  [data-anim]:not(.is-in) img { transform: none; }
}

/* ==========================================================================
   32. FORMAS DE PAGAMENTO
   As marcas sao SVG inline, desenhadas aqui: o site nao carrega nada de
   terceiro. Para a arte oficial exata, basta trocar por SVG do brand center
   de cada bandeira em assets/logo/pagamento/.
   ========================================================================== */
.pgto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-6) var(--s-8);
  padding: var(--s-7) var(--s-6);
  background: var(--branco-nuvem);
  border: 1px solid var(--linha);
  border-radius: var(--r-card);
  box-shadow: var(--sh-1);
}
.pgto__destaque { display: flex; align-items: center; gap: var(--s-4); }
.pgto__cartoes { text-align: left; }
.pgto__pix { display: flex; flex: none; }
.pgto__pix .pgto__marca { width: 38px; height: 38px; }

.pgto__ou {
  width: 1px;
  align-self: stretch;
  min-height: 46px;
  background: var(--linha);
}

.pgto__titulo {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--grafite);
}
.pgto__titulo strong { font-weight: 500; color: var(--turquesa); }

.pgto__bandeiras {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.pgto__marca {
  width: 44px;
  height: 29px;
  border: 1px solid var(--linha);
  border-radius: 6px;
  background: #FFFFFF;
  padding: 2px;
}
.pgto__pix .pgto__marca { border: 0; background: none; padding: 0; }

.pgto__nota {
  margin-top: var(--s-5);
  max-width: 76ch;
  margin-inline: auto;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--texto-suave);
}

@media (max-width: 680px) {
  .pgto { flex-direction: column; gap: var(--s-5); text-align: center; }
  .pgto__destaque { flex-direction: column; }
  .pgto__ou { width: 60px; min-height: 0; height: 1px; align-self: center; }
  .pgto__bandeiras { justify-content: center; }
  .pgto__cartoes { text-align: center; }
  .pgto__nota { text-align: left; }
}
