/* ===========================================================
   Resende Embalagens — sistema visual
   Cores vindas do logotipo do cliente: azul-marinho e laranja. O azul carrega
   as ações (contraste alto com branco); o laranja é acento. Sem tema escuro
   imposto, sem gradientes decorativos.
   =========================================================== */
:root {
  /* Paleta da identidade real do cliente: azul-marinho e laranja do logotipo.
     Os tons kraft ficaram só nas ilustrações das caixas, que representam
     papelão de verdade. */
  /* valores medidos no logotipo do catálogo oficial (13/10/2026) */
  --navy:       #022248;
  --navy-esc:   #01183A;
  --navy-luz:   #E6EBF3;
  --laranja:    #FC6804;  /* cor de marca: usar em superfície, nunca em texto pequeno */
  --laranja-txt:#B04600;  /* versão legível, para texto pequeno sobre fundo claro */
  --laranja-luz:#FFEBDD;

  --papel:      #F7F8FA;
  --papel-2:    #EDF1F6;
  --branco:     #FFFFFF;
  --tinta:      #14233A;
  --tinta-70:   #4B5B70;
  --tinta-45:   #78879A;
  --linha:      #DCE3EC;
  --link:       #1D4E89;
  --verde-wa:   #1C7A5E;
  --erro:       #A32020;
  --foco:       #1D4E89;

  /* papelão das ilustrações */
  --cx-top:   #E8C9A3;
  --cx-right: #C79A6B;
  --cx-left:  #A97B4F;
  --cx-edge:  #6F4A27;
  --cx-flap:  #8A6440;
  --cx-tampa: #FCFBF8;   /* a caixa de pizza do cliente é branca */
  --cx-parede:#EFEAE1;

  --r:    10px;
  --r-lg: 16px;
  --sombra:    0 1px 2px rgba(20,35,58,.06), 0 6px 18px -8px rgba(20,35,58,.20);
  --sombra-fo: 0 2px 4px rgba(20,35,58,.08), 0 18px 40px -16px rgba(20,35,58,.30);
  --serif: 'Saira', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --marca: 'Montserrat', 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }   /* width/height nos atributos só reservam espaço; a proporção vem da imagem */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.16; letter-spacing: -.012em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
p  { margin: 0 0 1em; }
a  { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }
.muted { color: var(--tinta-70); }
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.skip {
  position: fixed; left: .5rem; top: -4rem; z-index: 60;
  background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--r);
  transition: top .15s ease;
}
.skip:focus { top: .5rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: .95rem 1.4rem; border-radius: var(--r); border: 1.5px solid transparent;
  background: var(--navy); color: #fff;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover { background: var(--navy-esc); color: #fff; transform: translateY(-2px); box-shadow: var(--sombra-fo); }
.btn:active { transform: none; }
.btn-ghost { background: transparent; color: var(--tinta); border-color: var(--linha); }
.btn-ghost:hover { background: var(--branco); color: var(--tinta); border-color: var(--tinta-45); }
.btn-wa, .sec-dark .btn-wa { background: var(--verde-wa); color: #fff; }
.btn-wa:hover { background: #15614A; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--papel); /* reserva para navegador sem color-mix */
  background: color-mix(in srgb, var(--papel) 93%, transparent);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--linha);
}
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.top { transition: box-shadow .25s ease; }
.top.rolou { box-shadow: 0 8px 28px -14px rgba(2,34,72,.35); }
.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: auto; flex: none; }
.brand-img { display: block; height: 44px; width: auto; }
@media (max-width: 480px) { .brand-img { height: 38px; } }
.brand-txt { display: grid; gap: 1px; font-family: var(--marca); }
.brand-txt strong { font-weight: 800; font-size: 1.1rem; line-height: 1; letter-spacing: .005em; color: var(--navy); }
/* o laranja do logotipo vale como logotipo (isento de contraste na WCAG);
   fora da marca, texto pequeno em laranja usa --laranja-txt */
.brand-txt > span { font-weight: 600; font-size: .545rem; line-height: 1; letter-spacing: .285em; color: var(--laranja); }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.menu ul a { white-space: nowrap; color: var(--tinta-70); text-decoration: none; font-weight: 500; font-size: .94rem; padding: .35rem 0; position: relative; }
.menu ul a:hover { color: var(--tinta); }
.menu ul a { position: relative; transition: color .2s ease; }
.menu ul a:not([aria-current="page"])::before { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.menu ul a:not([aria-current="page"]):hover::before { transform: scaleX(1); }
.menu ul a[aria-current="page"] { color: var(--tinta); font-weight: 600; }
.menu ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--laranja); border-radius: 2px;
}
.menu .btn { text-decoration: none; flex: none; white-space: nowrap; }
.burger { display: none; }

@media (max-width: 900px) {
  .burger {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; flex: none;
    background: transparent; border: 1.5px solid var(--linha); border-radius: var(--r); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 68px 0 auto; gap: .25rem; align-items: stretch;
    background: var(--papel); border-bottom: 1px solid var(--linha);
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; box-shadow: var(--sombra-fo);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  /* o estado fechado precisa vir depois do bloco acima para vencer na cascata */
  .menu { display: none; }
  .menu.aberto { display: grid; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: .85rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--linha); }
  .menu ul a[aria-current="page"]::after { display: none; }
  .menu .btn { margin-top: .9rem; width: 100%; padding: .9rem 1rem; font-size: 1rem; white-space: normal; }
}

/* ---------- seções ---------- */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec-tight { padding: clamp(2.2rem, 4vw, 3.2rem) 0; }
.sec-alt { background: var(--papel-2); border-block: 1px solid var(--linha); }
.sec-dark { background: linear-gradient(120deg, var(--navy) 0%, #073A74 100%); color: #D4DEEA; position: relative; overflow: hidden; }
.sec-dark::before { content: ''; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; background: radial-gradient(circle, rgba(252,104,4,.22), transparent 65%); pointer-events: none; }
.sec-dark h2 { color: var(--branco); }
.sec-dark .muted { color: #A9BCD1; }
.sec-dark a { color: var(--laranja); }
.lede { font-size: clamp(1.03rem, .98rem + .4vw, 1.2rem); color: var(--tinta-70); max-width: 62ch; }
.eyebrow {
  display: inline-block; font-size: .73rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--laranja-txt); margin-bottom: .9rem;
}
.sec-dark .eyebrow { color: var(--laranja); }
.head-blk { max-width: 64ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgba(252,104,4,.10), transparent 60%),
    radial-gradient(50rem 26rem at 0% 110%, rgba(2,34,72,.10), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(2,34,72,.085) 1px, transparent 0) 0 0 / 22px 22px,
    #EAF0F8;
}
/* onda na base do herói, no espírito do site de referência: uma só */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(26px, 4vw, 48px); z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23F7F8FA' d='M0 30C240 50 480 2 720 14s480 38 720 10v24H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-bottom: .6rem; }
.hero h1 em { font-style: normal; color: var(--laranja-txt); }
.hero .btns { margin-top: 1.6rem; }
.hero-note { margin-top: 1.4rem; font-size: .88rem; color: var(--tinta-45); }
.hero-art {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
  padding: 1.2rem; background: var(--papel-2); border: 1px solid var(--linha); border-radius: var(--r-lg);
}
.hero-art figure { margin: 0; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r); padding: .7rem; display: grid; place-items: center; box-shadow: var(--sombra); transition: transform .3s ease, box-shadow .3s ease; }
.hero-art figure:hover { transform: translateY(-4px); box-shadow: var(--sombra-fo); }
.hero-art figure .cx { animation: flutua 5s ease-in-out infinite; }
.hero-art figure:nth-child(2) .cx { animation-delay: -1.7s; }
.hero-art figure:nth-child(3) .cx { animation-delay: -3.4s; }
.hero-art figure:first-child { grid-column: span 2; }
.hero-art figcaption { font-size: .78rem; color: var(--tinta-45); font-variant-numeric: tabular-nums; text-align: center; margin-top: .3rem; }
.hero-art .cx { width: 100%; height: auto; }
.hero-art figure:first-child .cx { max-width: 340px; }

/* ---------- destaques ---------- */
.marcas { display: grid; gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .marcas { grid-template-columns: repeat(3, 1fr); } }
.marcas div { background: var(--branco); padding: 1.4rem 1.3rem; }
.marcas strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .25rem; }
.marcas p { margin: 0; font-size: .92rem; color: var(--tinta-70); }

/* ---------- cards de aplicação ---------- */
.aplic { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.aplic article {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.aplic article:hover { box-shadow: var(--sombra); border-color: var(--tinta-45); transform: translateY(-2px); }
.aplic h3 { margin-bottom: .4rem; }
.aplic p { margin: 0; font-size: .93rem; color: var(--tinta-70); }
.aplic .ic { width: 38px; height: 38px; color: var(--navy); margin-bottom: .9rem; }

/* ---------- catálogo ---------- */
.filtros {
  display: grid; gap: 1rem; padding: 1.2rem; margin-bottom: 1.8rem;
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-lg);
}
@media (min-width: 760px) { .filtros { grid-template-columns: minmax(220px, 1.2fr) auto; align-items: end; } }
/* align-content stretch (padrao do grid) distribuia a sobra de altura nas linhas:
   num par onde so um campo tem mensagem de erro, o outro ficava mais alto e mais
   baixo que o vizinho. start mantem rotulo e controle alinhados entre as colunas. */
.campo { display: grid; gap: .35rem; align-content: start; }
/* o navegador da padding-inline: 2px ao <legend>, desalinhando o texto das
   legendas em relacao aos <label> dos campos vizinhos */
.campo > label, .grupo > legend { font-size: .82rem; font-weight: 600; color: var(--tinta-70); }
.grupo > legend { padding-inline: 0; }
.campo input, .campo select, .campo textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--tinta); background: var(--branco);
  border: 1.5px solid var(--linha); border-radius: var(--r); padding: .7rem .85rem; width: 100%;
}
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: var(--tinta-45); }
.campo textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; padding: 0; margin: 0; }
.chips legend { padding: 0; margin-bottom: .35rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: .5rem .9rem; font-size: .88rem; font-weight: 500;
  border: 1.5px solid var(--linha); border-radius: 999px; background: var(--branco); color: var(--tinta-70);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--foco); outline-offset: 2px; }
.chip:hover span { border-color: var(--tinta-45); }

.contagem { font-size: .9rem; color: var(--tinta-70); margin-bottom: 1rem; }
.grade { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); list-style: none; margin: 0; padding: 0; }
.prod {
  display: flex; flex-direction: column; background: var(--branco);
  border: 1px solid var(--linha); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.prod { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.prod:hover { box-shadow: var(--sombra-fo); border-color: var(--tinta-45); transform: translateY(-3px); }
.prod-art .cx { transition: transform .35s ease; }
.prod:hover .prod-art .cx { transform: scale(1.07) rotate(-1deg); }
.prod-art { background: linear-gradient(180deg, #FFFFFF, var(--papel-2)); padding: .35rem; display: grid; place-items: center; border-bottom: 1px solid var(--linha); }
.prod-art .cx { width: 100%; max-width: 280px; height: auto; display: block; }
.prod-body { padding: 1.05rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.prod h3 { font-size: 1.16rem; margin: 0; font-variant-numeric: tabular-nums; }
.prod h3 small { font-family: var(--sans); font-size: .72rem; font-weight: 500; color: var(--tinta-45); display: block; letter-spacing: .04em; margin-top: .15rem; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: .2rem .55rem; border-radius: 999px; background: var(--navy-luz); color: var(--navy); }
.tags li.pk { background: var(--laranja-luz); color: var(--laranja-txt); }
.tags li.ln { background: var(--navy); color: var(--branco); }
/* as duas linhas do catálogo, acima dos filtros */
.linhas { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
@media (min-width: 640px) { .linhas { grid-template-columns: 1fr 1fr; } }
.linhas > div { background: var(--branco); border: 1px solid var(--linha); border-left: 4px solid var(--navy); border-radius: var(--r); padding: 1rem 1.1rem; }
.linhas strong { font-family: var(--serif); font-size: 1.08rem; margin-right: .5rem; }
.linhas .muted { font-size: .85rem; }
.linhas p { margin: .35rem 0 0; font-size: .92rem; color: var(--tinta-70); }
/* tabela de ondas e gramaturas */
.tabela-wrap { overflow-x: auto; border: 1px solid var(--linha); border-radius: var(--r-lg); background: var(--branco); }
.tabela { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabela th, .tabela td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
.tabela thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-45); background: var(--papel-2); }
.tabela tbody tr:last-child th, .tabela tbody tr:last-child td { border-bottom: 0; }
.tabela tbody th strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.tabela tbody th small { color: var(--tinta-70); font-weight: 400; }
.prod .vol { font-size: .86rem; color: var(--tinta-70); margin: 0; }
.prod .btn { margin-top: auto; width: 100%; }
.pizza-bloco { display: grid; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center; }
@media (min-width: 760px) { .pizza-bloco { grid-template-columns: minmax(280px, 460px) 1fr; } }
.pizza-art { background: linear-gradient(180deg, #FFFFFF, var(--papel-2)); border: 1px solid var(--linha); border-radius: var(--r-lg); padding: .5rem; display: grid; place-items: center; }
.pizza-art .cx { width: 100%; max-width: 460px; height: auto; }

.vazio { padding: 2.5rem 1.5rem; text-align: center; background: var(--branco); border: 1px dashed var(--linha); border-radius: var(--r-lg); }

/* ---------- listas de conteúdo ---------- */
.cols { display: grid; gap: clamp(1.8rem, 4vw, 3rem); }
@media (min-width: 880px) { .cols-2 { grid-template-columns: 1fr 1fr; } .cols-7030 { grid-template-columns: 1.4fr 1fr; } }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.check svg { width: 22px; height: 22px; color: var(--navy); margin-top: .15rem; }
.passos { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 34px 1fr; gap: .9rem; }
.passos li::before {
  content: counter(p); display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--laranja-luz); color: var(--laranja-txt); border-radius: 50%;
  font: 600 .95rem var(--sans);
}
/* o numero ocupa a coluna 1; todo o conteudo textual fica na coluna 2, senao a
   colocacao automatica joga o <p> para a coluna estreita do numero */
.passos li > *:not(::before) { grid-column: 2; }
.passos strong { grid-column: 2; display: block; font-family: var(--serif); font-size: 1.05rem; }
.passos p { grid-column: 2; margin: .2rem 0 0; font-size: .94rem; color: var(--tinta-70); }
.cartao { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem); }
.cartao-destaque { background: var(--navy-luz); border-color: #CEDBEB; }
.nota { font-size: .88rem; color: var(--tinta-70); border-left: 3px solid var(--linha); padding-left: .9rem; margin-top: 1.4rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq details { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r); }
.faq details[open] { border-color: var(--tinta-45); box-shadow: var(--sombra); }
.faq summary {
  cursor: pointer; padding: 1.05rem 1.2rem; font-family: var(--serif); font-weight: 600; font-size: 1.04rem;
  display: flex; gap: .8rem; align-items: center; justify-content: space-between; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--laranja); border-bottom: 2px solid var(--laranja);
  transform: rotate(45deg) translateY(-2px); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq-body { padding: 0 1.2rem 1.2rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- formulário de orçamento ---------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 680px) { .form-grid .dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
.grupo { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.dim { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.req { color: var(--laranja-txt); }
.hint { font-size: .82rem; color: var(--tinta-45); }
.erro-msg { font-size: .84rem; color: var(--erro); font-weight: 500; min-height: 1.1em; }
.campo input[aria-invalid="true"], .campo select[aria-invalid="true"], .campo textarea[aria-invalid="true"] { border-color: var(--erro); background: #FDF5F4; }
.previa {
  background: var(--papel-2); border: 1px solid var(--linha); border-radius: var(--r);
  padding: 1rem 1.1rem; font: 400 .9rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap; word-break: break-word; margin: 0; max-height: 300px; overflow: auto;
}
.aviso { display: flex; gap: .7rem; align-items: start; background: var(--navy-luz); border: 1px solid #CEDBEB; border-radius: var(--r); padding: .9rem 1rem; font-size: .9rem; color: var(--navy-esc); }
.aviso svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; }
.copiado { font-size: .88rem; font-weight: 600; color: var(--verde-wa); }

/* ---------- CTA faixa ---------- */
.cta-faixa { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .cta-faixa { grid-template-columns: 1.5fr auto; } }
.cta-faixa h2 { margin-bottom: .35rem; }
.cta-faixa p { margin: 0; }

/* ---------- rodapé ---------- */
.foot { background: var(--navy); color: #BDCCDC; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
/* depois da faixa de CTA escura, o rodape continua o mesmo bloco: a faixa clara
   entre os dois parecia acidental */
.sec-dark + .foot { margin-top: 0; border-top: 1px solid #27486F; }
.foot-in { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 700px)  { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8EA4BD; font-family: var(--sans); font-weight: 600; margin-bottom: .9rem; }
.foot-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.foot-mark { width: 32px; height: auto; flex: none; }
.foot-logo { display: block; height: 48px; width: auto; }
.foot-slogan { color: var(--branco); font-family: var(--serif); font-size: 1.02rem; margin: 0 0 .5rem; }
.foot-brand > span { display: grid; gap: 1px; font-family: var(--marca); }
.foot-brand strong { font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: .005em; color: #fff; }
.foot-brand > span > span { font-weight: 600; font-size: .52rem; line-height: 1; letter-spacing: .285em; color: var(--laranja); }
.foot .muted { color: #9BB0C7; font-size: .91rem; }
.foot a { color: #DCE6F1; text-decoration: none; }
.foot a:hover { color: var(--branco); text-decoration: underline; }
.foot address { font-style: normal; font-size: .93rem; line-height: 1.7; }
.mapa { display: grid; gap: .45rem; margin-top: .9rem; }
.mapa iframe { display: block; width: 100%; height: var(--mapa-h, 240px); border: 0; border-radius: var(--r); background: var(--papel-2); }
.mapa-abrir { font-size: .88rem; font-weight: 500; }
.foot .mapa iframe { border: 1px solid #27486F; }
.plain, .social { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
.social { display: flex; gap: 1rem; margin-top: .9rem; }
.foot-legal { border-top: 1px solid #27486F; padding-block: 1.3rem 1.8rem; display: grid; gap: .3rem; font-size: .85rem; }
.foot-legal p { margin: 0; }
.foot-credito { margin-top: .5rem !important; padding-top: .7rem; border-top: 1px solid #1A3C66; color: #9BB0C7; }
.foot-credito a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--laranja); }
.foot-credito a:hover { color: var(--laranja); }

/* sem JavaScript, o menu fica sempre visível */
.no-js .menu { display: grid !important; }
.no-js .burger { display: none !important; }

/* render 3D com cotas por cima: a imagem e o SVG ocupam o mesmo quadro */
.cx-foto { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.cx-foto img, .cx-foto .cx-cotas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cx-foto img { object-fit: contain; }
.prod-art .cx-foto { max-width: 300px; }

/* ---------- efeitos ---------- */
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes sobe { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* entrada do herói (só com JS e fora de navegador automatizado, para as capturas) */
html.js:not(.auto) .hero-grid > :first-child { animation: sobe .7s cubic-bezier(.2,.7,.2,1) both; }
html.js:not(.auto) .hero-art { animation: sobe .7s .15s cubic-bezier(.2,.7,.2,1) both; }

/* revelação ao rolar: as classes são postas pelo app.js */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
html.js .rv.on { opacity: 1; transform: none; }
html.js .rv-grp > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
html.js .rv-grp.on > * { opacity: 1; transform: none; }
html.js .rv-grp.on > :nth-child(2) { transition-delay: .07s; }
html.js .rv-grp.on > :nth-child(3) { transition-delay: .14s; }
html.js .rv-grp.on > :nth-child(4) { transition-delay: .21s; }
html.js .rv-grp.on > :nth-child(5) { transition-delay: .28s; }
html.js .rv-grp.on > :nth-child(6) { transition-delay: .35s; }
html.js .rv-grp.on > :nth-child(7) { transition-delay: .42s; }
html.js .rv-grp.on > :nth-child(n+8) { transition-delay: .48s; }

/* faixa de números */
.numeros-sec { padding: clamp(1.2rem, 3vw, 2rem) 0 0; }
.numeros { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .numeros { grid-template-columns: repeat(4, 1fr); } }
.numeros li { background: var(--branco); padding: 1.1rem 1.2rem; display: grid; gap: .1rem; }
.numeros strong { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.numeros strong::after { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--laranja); margin-top: .35rem; }
.numeros span { font-size: .88rem; color: var(--tinta-70); }

/* botão flutuante do WhatsApp */
.wa-flutuante {
  position: fixed; right: clamp(.9rem, 3vw, 1.6rem); bottom: clamp(.9rem, 3vw, 1.6rem); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  animation: pulso 2.6s ease-out infinite; transition: transform .2s ease, background .2s ease;
}
.wa-flutuante svg { width: 32px; height: 32px; }
.wa-flutuante:hover { transform: scale(1.08); background: #1EBE5A; }
.wa-flutuante:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
@media print { .wa-flutuante { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-art figure .cx, .wa-flutuante { animation: none; }
  html.js .rv, html.js .rv-grp > * { opacity: 1; transform: none; transition: none; }
  html.js:not(.auto) .hero-grid > :first-child, html.js:not(.auto) .hero-art { animation: none; }
}


/* ===================== redesign: estrutura inspirada no site de referência ===================== */
/* tipografia condensada: títulos e menu em caixa alta, texto corrido em Inter */
h1, h2 { text-transform: uppercase; letter-spacing: .01em; font-weight: 700; }
h3 { letter-spacing: .005em; }
.menu ul a { text-transform: uppercase; font-family: var(--serif); font-weight: 600; font-size: .93rem; letter-spacing: .03em; }
.btn { font-family: var(--serif); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.btn-laranja { background: var(--laranja); color: #fff; border-color: var(--laranja); }
.btn-laranja:hover { background: #E05D00; color: #fff; }
.eyebrow { font-family: var(--serif); }
.head-centro { margin-inline: auto; text-align: center; }

/* herói: linhas topográficas próprias, caixas empilhadas e onda na base */
.hero-v2 {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520' fill='none' stroke='%23022248' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-20 120C60 60 140 180 240 130S420 40 540 110'/%3E%3Cpath d='M-20 170C60 110 140 230 240 180S420 90 540 160'/%3E%3Cpath d='M-20 220C60 160 140 280 240 230S420 140 540 210'/%3E%3Cpath d='M-20 360C80 300 180 420 280 370S440 290 540 350'/%3E%3Cpath d='M-20 410C80 350 180 470 280 420S440 340 540 400'/%3E%3C/svg%3E") 0 0 / 520px 520px,
    radial-gradient(60rem 28rem at 85% -10%, rgba(252,104,4,.08), transparent 60%),
    #F4F7FB;
  padding-bottom: clamp(5rem, 9vw, 8rem);
}
.hero-v2 h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; color: var(--navy); margin-bottom: .7rem; }
.hero-v2 .lede { max-width: 34ch; }
.hero-pilha { position: relative; min-height: clamp(280px, 40vw, 460px); }
.hero-grande { position: absolute; inset: 0 8% 6% 0; display: grid; place-items: center; }
.hero-grande .cx { max-width: 100%; }
.hero-peq { position: absolute; width: 34%; filter: drop-shadow(0 18px 24px rgba(2,34,72,.18)); animation: flutua 6s ease-in-out infinite; }
.hero-peq-1 { right: 0; top: 2%; }
.hero-peq-2 { right: 6%; bottom: 0; animation-delay: -2.4s; }
.hero-v2 .hero-art { display: none; }

/* blocos azuis com onda no topo e na base */
.bloco-azul { position: relative; background: linear-gradient(135deg, var(--navy) 0%, #063A78 100%); color: #D9E4F1; padding: clamp(4rem, 8vw, 6.5rem) 0; margin-top: -1px; }
.bloco-azul::before, .bloco-azul::after { content: ''; position: absolute; left: 0; right: 0; height: clamp(26px, 4vw, 54px); background-size: 100% 100%; background-repeat: no-repeat; pointer-events: none; }
.bloco-azul::before { top: 0; transform: translateY(-99%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23022248' d='M0 48V26C240 6 480 44 720 30s480-30 720-6v24z'/%3E%3C/svg%3E"); }
.bloco-azul::after { bottom: 0; transform: translateY(99%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23063A78' d='M0 0v22C240 42 480 4 720 18s480 30 720 6V0z'/%3E%3C/svg%3E"); }
.bloco-azul h2, .bloco-azul h3 { color: #fff; }
.bloco-azul .eyebrow { color: var(--laranja); }
.bloco-azul .lede { color: #C3D3E6; }

.conheca-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .conheca-grid { grid-template-columns: .9fr 1.1fr; } }
.conheca-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.conheca-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .6rem; }
.conheca-card p { color: #D4E0EE; margin-bottom: 1.2rem; }
.solucoes-tit { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.7rem); text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.solucoes-grade { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
.solucoes-grade a { display: grid; gap: .15rem; justify-items: center; text-align: center; padding: 1.3rem .8rem; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; text-decoration: none; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.solucoes-grade a:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); border-color: var(--laranja); color: #fff; }
.solucoes-grade .ic { width: 44px; height: 44px; color: #fff; margin-bottom: .5rem; }
.solucoes-grade span { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.solucoes-grade small { color: #A9BCD1; font-size: .8rem; }

/* diferenciais: seis cartões claros sobre o azul */
.bloco-porque { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.porque-grade { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.porque-grade li { background: #fff; color: var(--tinta-70); border-radius: var(--r-lg); padding: 1.5rem 1.4rem 1.6rem; box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); transition: transform .25s ease, box-shadow .25s ease; }
.porque-grade li:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -22px rgba(0,0,0,.6); }
.porque-grade li:nth-child(4) { background: var(--laranja); color: #fff; }
.porque-grade li:nth-child(4) h3, .porque-grade li:nth-child(4) .ic { color: #fff; }
.porque-grade .ic { width: 38px; height: 38px; color: var(--navy); margin-bottom: .8rem; }
.porque-grade h3 { color: var(--navy); font-size: 1.15rem; text-transform: uppercase; margin-bottom: .45rem; }
.porque-grade p { margin: 0; font-size: .95rem; }

@media (max-width: 640px) { .hero-pilha { min-height: 300px; } .hero-peq { width: 38%; } }
@media (prefers-reduced-motion: reduce) { .hero-peq { animation: none; } }

/* ajustes do redesign */
.porque-grade svg { width: 38px; height: 38px; color: var(--navy); margin-bottom: .8rem; display: block; }
.porque-grade li:nth-child(4) svg { color: #fff; }
.hero-v2 .cx-foto img { mix-blend-mode: multiply; }   /* o fundo claro do render some sobre o fundo da página */
.numeros-sec { padding-top: clamp(3rem, 6vw, 4.5rem); }

/* foto do herói enviada pelo cliente (recorte sem fundo) */
.hero-foto { margin: 0; justify-self: center; width: 100%; max-width: 540px; position: relative; z-index: 1; margin-bottom: clamp(-3.2rem, -4vw, -1.6rem); }
.hero-foto img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(2,34,72,.28)); transition: transform .45s ease; }
@media (min-width: 900px) { .hero-foto:hover img { transform: translateY(-6px) scale(1.012); } }
.hero-v2 { padding-bottom: clamp(3.6rem, 6vw, 5.5rem); }
.hero-v2 .hero-grid { align-items: end; }

/* foto real da caixa (feita pelo cliente): proporção própria, centralizada no quadro do card */
.cx-real img { object-fit: contain; filter: drop-shadow(0 14px 14px rgba(2,34,72,.14)); transition: transform .35s ease; }
.prod:hover .cx-real img { transform: scale(1.05); }
.prod-art .cx-real { max-width: 320px; }
