/* =========================================================
   Castelo de Cetim Interiores | Landing page (Google Ads)
   Tokens retirados do "Sistema Visual para a Web v2".
   ========================================================= */

/* ---------- Fontes (alojadas localmente, variáveis) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/cormorant.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; src: url(../fonts/cormorant-italico.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cinzel.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/jost.woff2) format('woff2'); }

:root {
  /* Base neutra */
  --linho: #EBDFD2;
  --areia: #D6C2AA;
  --greige: #B9AA98;
  --taupe: #8C7865;
  --cacau: #5A4839;
  --nogueira: #463324;
  --rodape: #36271B;
  /* Apontamentos (pequenas doses) */
  --oliva: #7A7256;
  --azul: #7B8387;
  --terracota: #93603F;
  --amendoa: #C2AC92;
  --bronze: #B98463;   /* só logótipo, losango e foco */

  --f-titulo: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-marca: 'Cinzel', 'Times New Roman', serif;
  --f-texto: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --t-display: clamp(3rem, 2rem + 5vw, 5.75rem);
  --t-h1: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --t-h2: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  --t-h3: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  --t-sussurro: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --t-corpo: clamp(1rem, .95rem + .25vw, 1.125rem);
  --t-citacao: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);

  --margem: clamp(16px, 4vw, 56px);
  --largura: 1240px;
  --seccao: clamp(64px, 4rem + 4vw, 120px);

  /* Arco ogival (símbolo do logótipo), calculado para imagens 4:5 */
  --ogiva: polygon(0% 100%,0% 48.66%,.18% 44.87%,.72% 41.11%,1.62% 37.39%,2.88% 33.73%,4.47% 30.16%,6.41% 26.7%,8.67% 23.37%,11.24% 20.18%,14.1% 17.17%,17.25% 14.33%,20.66% 11.7%,24.31% 9.28%,28.18% 7.09%,32.25% 5.15%,36.49% 3.46%,40.88% 2.03%,45.39% .88%,50% 0%,54.61% .88%,59.12% 2.03%,63.51% 3.46%,67.75% 5.15%,71.82% 7.09%,75.69% 9.28%,79.34% 11.7%,82.75% 14.33%,85.9% 17.17%,88.76% 20.18%,91.33% 23.37%,93.59% 26.7%,95.53% 30.16%,97.12% 33.73%,98.38% 37.39%,99.28% 41.11%,99.82% 44.87%,100% 48.66%,100% 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--linho);
  color: var(--nogueira);
  font-family: var(--f-texto);
  font-size: var(--t-corpo);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salto { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--nogueira); color: var(--linho); padding: 10px 16px; text-decoration: none; }
.salto:focus { top: 12px; }
svg.ic { width: 1.15em; height: 1.15em; flex: none; }

.envolve { width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); }
.seccao { padding: var(--seccao) 0; }
.areia { background: var(--areia); }

/* ---------- Tipografia ---------- */
.display, .h1, h2, .h2, h3, .h3 { font-family: var(--f-titulo); color: var(--nogueira); }
.display { font-size: var(--t-display); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; }
.h1 { font-size: var(--t-h1); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; }
h2, .h2 { font-size: var(--t-h2); font-weight: 400; line-height: 1.15; }
h3, .h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.25; }
h4 { font-family: var(--f-texto); font-size: 18px; font-weight: 500; line-height: 1.4; }
.assinatura { font-family: var(--f-marca); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--cacau); line-height: 1.4; }
.sussurro { font-family: var(--f-titulo); font-style: italic; font-weight: 400; font-size: var(--t-sussurro); line-height: 1.45; color: var(--cacau); }
.lead { font-size: var(--t-lead); font-weight: 300; line-height: 1.65; }
.texto { max-width: 62ch; }
.texto p + p { margin-top: 1em; }
.legenda { font-size: 14px; line-height: 1.55; color: var(--cacau); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 30px;
  font-family: var(--f-texto); font-size: 15px; font-weight: 500; letter-spacing: .06em; line-height: 1;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--nogueira); border-radius: 1px;
  background: var(--nogueira); color: var(--linho);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--cacau); border-color: var(--cacau); }
.btn.sec { background: transparent; color: var(--nogueira); }
.btn.sec:hover { background: var(--nogueira); color: var(--linho); }
.escuro .btn { background: var(--linho); color: var(--nogueira); border-color: var(--linho); }
.escuro .btn:hover { background: var(--areia); border-color: var(--areia); }
.escuro .btn.sec { background: transparent; color: var(--linho); }
.escuro .btn.sec:hover { background: var(--linho); color: var(--nogueira); }

.link {
  font-family: var(--f-texto); font-size: 15px; font-weight: 500; color: var(--cacau);
  text-decoration: underline; text-decoration-color: var(--terracota); text-decoration-thickness: 1px; text-underline-offset: .45em;
  background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .5em;
}
.link:hover { color: var(--nogueira); }
.escuro .link { color: var(--linho); text-decoration-color: var(--amendoa); }

/* Trio de contacto: WhatsApp, Ligar, Enviar e-mail */
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ctas .link { min-height: 44px; }

/* ---------- Divisor de marca ---------- */
.divisor { display: flex; align-items: center; gap: 14px; max-width: 280px; margin: 0 auto; color: var(--bronze); }
.divisor::before, .divisor::after { content: ''; flex: 1; height: 1px; background: currentColor; }
.losango { width: 9px; height: 9px; background: var(--bronze); transform: rotate(45deg); flex: none; }

/* ---------- Arco ogival ---------- */
.arco { clip-path: var(--ogiva); aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--areia), var(--greige) 60%, var(--taupe)); }
.arco img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.topo.solido { background: rgba(235, 223, 210, .95); border-bottom-color: var(--greige); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.topo .envolve { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.topo .marca img { height: 62px; width: auto; }
.topo .acoes { display: flex; align-items: center; gap: 22px; }
.topo .acoes .btn { min-height: 44px; padding: 0 22px; }
.topo .ligar-curto { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 var(--seccao); }
.hero .envolve { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero .assinatura { margin-bottom: 26px; }
.hero .sussurro { margin-top: 26px; max-width: 30ch; }
.hero .ctas { margin-top: 38px; }
.hero .confianca { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.hero .confianca .losango { width: 7px; height: 7px; }
.hero-foto { position: relative; max-width: 500px; justify-self: end; width: 100%; }
.hero-foto figcaption { margin-top: 14px; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .hero .texto-hero, .hero-foto { animation: entrar .8s ease-out both; }
  .hero-foto { animation-delay: .12s; }
  @keyframes entrar { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Reconhecimento da dor ---------- */
.dor .envolve { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dor figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dor .lead { margin-top: 22px; max-width: 46ch; }
.lista-dor { margin-top: 30px; border-top: 1px solid var(--greige); }
.lista-dor li { padding: 15px 0; border-bottom: 1px solid var(--greige); display: flex; gap: 16px; align-items: baseline; }
.lista-dor li span { font-family: var(--f-titulo); font-size: 22px; color: var(--cacau); font-weight: 500; min-width: 1.6em; }
.dor .sussurro { margin-top: 30px; }

/* ---------- Conceito ---------- */
.conceito .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.conceito .texto .lead { margin-bottom: 1em; }
.conceito .largo { margin-top: clamp(48px, 6vw, 80px); }
.conceito .largo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.conceito .largo figcaption { margin-top: 12px; }

/* ---------- Ambientes (galeria) ---------- */
.cab-seccao { max-width: 640px; }
.cab-seccao .sussurro { margin-top: 18px; }
.galeria { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.cartao h4 { margin-top: 20px; }
.cartao p { margin-top: 2px; }
.galeria-nota { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 28px; border-top: 1px solid var(--greige); }
.galeria-nota p { max-width: 58ch; }

/* ---------- Método ---------- */
.passos { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: passo; }
.passo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.passo .num { display: block; margin-top: 22px; font-family: var(--f-titulo); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--terracota); }
.passo h3 { margin-top: 10px; }
.passo p { margin-top: 10px; }
.metodo .ctas { margin-top: 56px; }

/* ---------- Investimento e stacking ---------- */
.investimento .cols { margin-top: 48px; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.stack li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--greige); align-items: start; }
.stack li:first-child { border-top: 1px solid var(--greige); }
.stack svg { width: 20px; height: 20px; margin-top: 4px; color: var(--oliva); }
.stack strong { font-weight: 500; }
.preco { background: var(--linho); border: 1px solid var(--greige); padding: clamp(28px, 4vw, 44px); position: sticky; top: 110px; }
.preco .h1 { margin-top: 14px; }
.preco p { margin-top: 18px; }
.preco .nota { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--greige); display: flex; gap: 12px; align-items: center; }
.preco .ctas { margin-top: 28px; flex-direction: column; align-items: stretch; gap: 12px; }
.preco .ctas .link { justify-content: center; }

/* ---------- É para si ---------- */
.para-si .cols { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.caixa { padding: clamp(26px, 3.5vw, 40px); border: 1px solid var(--greige); }
.caixa.sim { background: var(--areia); border-color: var(--areia); }
.caixa h3 { margin-bottom: 18px; }
.caixa li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 10px 0; }
.caixa svg { width: 18px; height: 18px; margin-top: 5px; }
.caixa.sim svg { color: var(--nogueira); }
.caixa.nao svg { color: var(--taupe); }
.caixa.nao li { color: var(--cacau); }

/* ---------- Testemunhos (fundo cacau) ---------- */
.escuro { color: var(--linho); }
.escuro h2, .escuro .h1, .escuro h3 { color: var(--linho); }
.escuro .sussurro, .escuro .legenda { color: var(--areia); }
.testemunhos { background: var(--cacau); }
.testemunhos .cab-seccao { margin: 0 auto; text-align: center; }
.citacoes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.citacoes figure { text-align: center; }
.citacoes blockquote { font-family: var(--f-titulo); font-style: italic; font-weight: 300; font-size: var(--t-citacao); line-height: 1.3; }
.citacoes figcaption { margin-top: 20px; }
.citacoes figcaption::before { content: ''; display: block; width: 7px; height: 7px; margin: 0 auto 16px; background: var(--amendoa); transform: rotate(45deg); }

/* ---------- Sobre ---------- */
.sobre .envolve { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sobre figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sobre .assinatura { margin-bottom: 18px; }
.sobre .texto { margin-top: 22px; }
.valores { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.valores > div { border-top: 1px solid var(--greige); padding-top: 18px; }
.valores p { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq .envolve { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .cab-seccao .ctas { margin-top: 30px; }
.perguntas { border-top: 1px solid var(--greige); }
.perguntas details { border-bottom: 1px solid var(--greige); }
.perguntas summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-titulo); font-size: var(--t-h3); font-weight: 500; line-height: 1.25;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 1px solid var(--nogueira); border-bottom: 1px solid var(--nogueira);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.perguntas details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.perguntas details p { padding: 0 44px 24px 0; max-width: 62ch; }

/* ---------- Fecho emocional (faixa com imagem) ---------- */
.faixa { position: relative; min-height: clamp(360px, 55vw, 560px); display: grid; place-items: center; text-align: center; overflow: hidden; }
.faixa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faixa::after { content: ''; position: absolute; inset: 0; background: rgba(70, 51, 36, .55); }
.faixa .envolve { position: relative; z-index: 1; }
.faixa p { font-family: var(--f-titulo); font-style: italic; font-weight: 300; font-size: var(--t-h1); line-height: 1.15; color: var(--linho); max-width: 20ch; margin: 0 auto; }

/* ---------- Contacto (fundo nogueira) ---------- */
.contacto { background: var(--nogueira); }
.contacto .envolve { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contacto .lead { margin-top: 22px; max-width: 40ch; }
.directos { margin-top: 38px; border-top: 1px solid var(--taupe); }
.directos a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--taupe); text-decoration: none; min-height: 60px; }
.directos a:hover .valor { text-decoration: underline; text-decoration-color: var(--amendoa); text-underline-offset: .35em; }
.directos svg { width: 22px; height: 22px; color: var(--areia); }
.directos .valor { font-size: 18px; letter-spacing: .02em; }
.directos .tipo { margin-left: auto; font-family: var(--f-titulo); font-style: italic; font-size: 20px; color: var(--areia); }
.contacto .nota-chamada { margin-top: 14px; font-size: 13px; color: var(--areia); }

.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo.largo { grid-column: 1 / -1; }
.campo label { font-size: 13px; font-weight: 500; letter-spacing: .06em; line-height: 1.4; color: var(--areia); }
.campo label .opc { font-weight: 400; letter-spacing: 0; opacity: .85; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--linho);
  background: transparent; border: 0; border-bottom: 1px solid var(--taupe); border-radius: 0;
  padding: 10px 0; min-height: 48px; appearance: none; -webkit-appearance: none;
}
.campo select { background-image: linear-gradient(45deg, transparent 50%, var(--areia) 50%), linear-gradient(135deg, var(--areia) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.campo select option { color: var(--nogueira); background: var(--linho); }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--greige); opacity: 1; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-bottom-color: var(--bronze); box-shadow: 0 1px 0 0 var(--bronze); }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.campo [aria-invalid="true"] { border-bottom-color: #E0A889; }
.erro { font-size: 13px; color: #F0C3A8; min-height: 0; }
.erro:empty { display: none; }
.consentimento { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.55; color: var(--areia); }
.consentimento input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bronze); }
.consentimento .link { font-size: 14px; }
.isco { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enviar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-estado { grid-column: 1 / -1; font-size: 15px; }
.form-estado:empty { display: none; }
.form-estado.ok { padding: 16px 18px; border: 1px solid var(--amendoa); color: var(--linho); }
.form-estado.falha { color: #F0C3A8; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--rodape); color: var(--greige); padding: 56px 0 36px; font-size: 12px; line-height: 1.5; }
.rodape .topo-rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(185, 170, 152, .25); }
.rodape .topo-rodape img { height: 58px; width: auto; }
.rodape .contactos-rodape { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.rodape .contactos-rodape a { text-decoration: none; }
.rodape .contactos-rodape a:hover { color: var(--linho); }
.rodape .legais { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.rodape .legais ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rodape .legais button, .rodape .legais a { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 12px; color: var(--greige); text-decoration: none; }
.rodape .legais button:hover, .rodape .legais a:hover { color: var(--linho); text-decoration: underline; }
.rodape .losango { width: 6px; height: 6px; display: inline-block; margin: 0 10px 1px 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 17px; border-radius: 29px;
  background: var(--nogueira); color: var(--linho); text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: .04em;
  box-shadow: 0 10px 28px rgba(54, 39, 27, .28);
  transition: transform .25s, background .25s, opacity .3s;
}
.wa-flutuante svg { width: 24px; height: 24px; }
.wa-flutuante:hover { background: var(--cacau); transform: translateY(-2px); }
body.cookies-aberto .wa-flutuante { opacity: 0; pointer-events: none; }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 420px;
  background: var(--linho); color: var(--nogueira); border: 1px solid var(--greige);
  padding: 22px 24px; box-shadow: 0 16px 40px rgba(54, 39, 27, .18);
  font-size: 14px; line-height: 1.55;
  transform: translateY(20px); opacity: 0; transition: transform .4s, opacity .4s;
}
.cookies.visivel { transform: none; opacity: 1; }
.cookies .link { font-size: 14px; }
.cookies .botoes { margin-top: 16px; display: flex; gap: 10px; }
.cookies .btn { min-height: 44px; padding: 0 22px; }

/* ---------- Modais legais ---------- */
dialog.legal {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0;
  border: 1px solid var(--greige); border-radius: 1px; background: var(--linho); color: var(--nogueira);
}
dialog.legal::backdrop { background: rgba(54, 39, 27, .55); }
dialog.legal[open] { display: flex; flex-direction: column; }
dialog.legal .cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--greige); }
dialog.legal .cab h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
dialog.legal .fechar { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; width: 44px; height: 44px; color: var(--nogueira); }
dialog.legal .conteudo { overflow-y: auto; padding: 24px 28px 34px; font-size: 15px; line-height: 1.65; }
dialog.legal .conteudo h3 { font-family: var(--f-texto); font-size: 16px; font-weight: 500; margin: 22px 0 6px; }
dialog.legal .conteudo p + p { margin-top: .8em; }
dialog.legal .conteudo ul { list-style: disc; padding-left: 1.2em; margin: .6em 0; }
dialog.legal .actualizado { font-size: 13px; color: var(--cacau); }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .passos { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .investimento .cols { grid-template-columns: 1fr; }
  .preco { position: static; }
  .faq .envolve { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .topo .envolve { height: 70px; }
  .topo .marca img { height: 42px; }
  .topo .acoes .btn, .topo .ligar-longo { display: none; }
  .topo .ligar-curto { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--nogueira); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .04em; }

  .hero { padding-top: 92px; }
  .hero .envolve, .dor .envolve, .conceito .cols, .sobre .envolve, .contacto .envolve { grid-template-columns: 1fr; }
  .hero-foto { order: -1; justify-self: center; max-width: 340px; }
  .hero-foto figcaption { display: none; }
  .hero .assinatura { margin-bottom: 18px; }

  .dor figure img, .sobre figure img { aspect-ratio: 16 / 11; }
  .conceito .largo img { aspect-ratio: 4 / 3; }

  .galeria {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * var(--margem)); margin-right: calc(-1 * var(--margem)); padding: 0 var(--margem) 10px;
    scrollbar-width: none;
  }
  .galeria::-webkit-scrollbar { display: none; }
  .cartao { scroll-snap-align: start; }
  .galeria-dica { display: block; }

  .para-si .cols, .citacoes, .valores { grid-template-columns: 1fr; }
  .citacoes { gap: 44px; }
  .formulario { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { .galeria-dica { display: none; } }

@media (max-width: 560px) {
  .passos { grid-template-columns: 1fr; }
  .passo img { aspect-ratio: 16 / 10; }
  .hero .ctas .btn { width: 100%; }
  .metodo .ctas .btn, .para-si .ctas .btn, .faq .ctas .btn { width: 100%; }
  .wa-flutuante { height: 54px; width: 54px; padding: 0; justify-content: center; }
  .wa-flutuante span { display: none; }
  .cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .directos .tipo { font-size: 17px; }
  .rodape .legais { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
