/* =========================================================
   Inove Coberturas — landing page
   Conceito: a página é montada como uma estrutura metálica.
   Grafite = viga/perfil (estrutura, peso). Verde da marca = ação.
   Cinza aço = base. A "cota" do desenho técnico (linha de medida
   com traços nas pontas) é o elemento-assinatura: aparece na
   legenda do hero e na sequência "Como funciona".
   ========================================================= */

/* Archivo (OFL) hospedada junto com a página: variável em peso e largura */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations"), url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* cor — paleta oficial + derivados para contraste */
  --grafite: #2B2B2B;
  --grafite-2: #383838;
  --grafite-linha: #474747;
  --verde: #75C69E;
  --verde-escuro: #2C6E4E;   /* texto/links verdes sobre fundo claro (contraste AA) */
  --verde-claro: #DFF2E8;
  --cinza: #737373;
  --cinza-texto: #555555;
  --aco: #EAEAEA;
  --branco: #FFFFFF;
  --pend-bg: #FFF1A8;
  --pend-tx: #5C4700;

  /* tipo */
  --f: "Archivo", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --larg-titulo: 72%;
  --t-base: 1.0625rem;
  --t-peq: .9375rem;
  --t-h3: 1.25rem;
  --t-h2: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem);
  --t-h1: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem);

  /* espaço */
  --g: 20px;                 /* calha lateral */
  --max: 1160px;
  --sec: clamp(56px, 4rem + 3vw, 112px);
  --raio: 4px;               /* chapa dobrada: canto quase reto */
}
@media (min-width: 960px) { :root { --t-base: 1.125rem; --g: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--branco); color: var(--grafite);
  font-family: var(--f); font-size: var(--t-base); line-height: 1.55;
  font-stretch: 100%;
  padding-bottom: 84px; /* espaço do botão fixo no celular */
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f); font-stretch: var(--larg-titulo); font-weight: 800; line-height: 1.04; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; font-weight: 750; }
p { margin: 0 0 1em; }
a { color: var(--verde-escuro); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 8px; top: -60px; background: var(--verde); color: var(--grafite); padding: 10px 14px; z-index: 100; font-weight: 700; }
.pular:focus { top: 8px; }

/* marcador de dado faltando — visível de propósito */
.pend {
  background: var(--pend-bg); color: var(--pend-tx); font-weight: 600;
  font-stretch: 100%; font-size: .82em; letter-spacing: 0; line-height: 1.3;
  outline: 1px dashed #B39200; outline-offset: -1px; padding: .05em .3em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: .85em 1.4em; border: 0; border-radius: var(--raio);
  font: 750 1.0625rem/1.2 var(--f); font-stretch: 88%; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--wa { background: var(--verde); color: var(--grafite); box-shadow: 0 3px 0 var(--verde-escuro); }
.btn--wa:hover { background: #86D0AC; }
.btn--wa:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--verde-escuro); }
.btn--escuro { background: var(--grafite); color: var(--branco); width: 100%; box-shadow: 0 3px 0 #000; }
.btn--escuro:hover { background: var(--grafite-2); }

/* ---------- seção genérica ---------- */
.sec { padding: var(--sec) max(var(--g), calc((100% - var(--max)) / 2)); }
.sec__h { max-width: 22ch; margin-bottom: .55em; }
@media (min-width: 900px) { .sec__h { max-width: 30ch; } }
.sec__sub { color: var(--cinza-texto); max-width: 60ch; margin-top: -.6em; margin-bottom: 2em; }

/* ---------- viga (topo) ---------- */
.viga { background: var(--grafite); border-bottom: 6px solid var(--grafite-2); }
.viga__in { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 14px var(--g); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.viga__logo { width: 132px; height: auto; }
.viga__wa { display: none; align-items: center; gap: .5em; color: var(--verde); font-weight: 700; font-stretch: 90%; text-decoration: none; font-size: var(--t-peq); padding: 8px 12px; border: 1.5px solid var(--grafite-linha); border-radius: var(--raio); }
.viga__wa svg { width: 18px; height: 18px; }
.viga__wa:hover { border-color: var(--verde); }
@media (min-width: 960px) { .viga__logo { width: 156px; } .viga__wa { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { background: var(--aco); display: grid; }
.hero__foto { margin: 0; position: relative; background: var(--grafite-2); }
.hero__foto img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__texto { padding: 26px var(--g) 30px; }
.hero h1 { font-size: var(--t-h1); max-width: 17ch; margin-bottom: .45em; }
.hero__sub { font-size: 1.0625rem; color: #3E3E3E; max-width: 46ch; margin-bottom: 1.4em; }
.hero .btn { width: 100%; }
.hero__micro { font-size: .875rem; color: var(--cinza-texto); margin: .9em 0 0; }

/* cota — linha de medida de desenho técnico */
.cota { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 10px; color: var(--branco); font-size: .78rem; font-weight: 600; font-stretch: 90%; }
.cota::before, .cota::after { content: ""; flex: 1 1 0; min-width: 14px; height: 9px; border: 0 solid currentColor; border-width: 0 1.5px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; opacity: .9; transform-origin: center; animation: cota .9s .25s cubic-bezier(.2,.7,.2,1) both; }
.cota > span { flex: 0 1 auto; background: rgba(43,43,43,.82); padding: 4px 9px; border-radius: 2px; text-align: center; line-height: 1.35; }
@keyframes cota { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: min(640px, calc(100vh - 82px)); }
  .hero__foto { order: 2; }
  .hero__foto img { aspect-ratio: auto; position: absolute; inset: 0; }
  .hero__texto { order: 1; align-self: center; padding: 56px 48px 64px max(var(--g), calc((100vw - var(--max)) / 2)); }
  .hero .btn { width: auto; }
  .cota { left: 24px; right: 24px; bottom: 20px; font-size: .85rem; }
}

/* barra de confiança: a segunda viga, que fecha o hero */
.confianca { list-style: none; margin: 0; background: var(--grafite); color: var(--aco); display: grid; grid-template-columns: 1fr 1fr; padding: 4px max(var(--g), calc((100% - var(--max)) / 2)); font-size: .9rem; font-stretch: 92%; }
.confianca li { padding: 12px 10px 12px 0; line-height: 1.3; }
.confianca strong { color: var(--verde); font-size: 1.05em; }
.confianca .pend { font-size: .75em; }
.confianca__estrela { width: 15px; height: 15px; color: var(--verde); vertical-align: -2px; margin-right: 4px; }
@media (min-width: 720px) {
  .confianca { grid-template-columns: repeat(4, auto); justify-content: space-between; font-size: .98rem; }
  .confianca li { padding: 16px 0; }
}

/* ---------- dor ---------- */
.dor__grid { display: grid; gap: 32px; }
.dor__chat { background: #E3DDD3 repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.025) 14px 15px); border-radius: var(--raio); padding: 28px 18px; position: relative; }
.chat__balao { position: relative; background: var(--branco); max-width: 300px; padding: 10px 12px 22px; border-radius: 0 8px 8px 8px; box-shadow: 0 1px 1px rgba(0,0,0,.12); font-family: Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.35; margin: 0; color: #111; }
.chat__balao::before { content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: var(--branco); border-right-color: var(--branco); border-width: 0 8px 10px 0; }
.chat__hora { position: absolute; right: 8px; bottom: 4px; font-size: .7rem; color: #8A8A8A; }
.dor__sem { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); font-weight: 800; font-stretch: var(--larg-titulo); line-height: 1.15; margin-bottom: .6em; }
.dor__sem span { white-space: nowrap; }
.dor__lead { font-weight: 700; margin-bottom: .5em; }
.medos { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.medos li { position: relative; padding-left: 30px; }
.medos li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: var(--grafite); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' d='M5 5l10 10M15 5L5 15'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' d='M5 5l10 10M15 5L5 15'/%3E%3C/svg%3E") center/contain no-repeat; }
.dor__fecho { font-weight: 700; font-size: 1.125rem; border-left: 4px solid var(--verde); padding-left: 14px; margin: 0; max-width: 44ch; }
@media (min-width: 900px) {
  .dor__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
  .dor__chat { padding: 56px 32px; position: sticky; top: 24px; }
  .chat__balao { font-size: 1.15rem; }
}

/* ---------- pilares ---------- */
.pilares { background: var(--aco); }
.pilares__grid { display: grid; gap: 36px; margin-top: 8px; }
.pilar { border-top: 8px solid var(--grafite); padding-top: 20px; }
.pilar h3 { font-size: 1.5rem; margin-bottom: .5em; }
.pilar p { color: #3E3E3E; margin: 0; }
.nota { color: var(--cinza-texto); font-size: .92em; }
.orc { margin: 22px 0 0; background: var(--branco); padding: 14px 16px; border-radius: var(--raio); font-size: .95rem; border: 1px solid #D5D5D5; }
.orc div { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.orc div + div { border-top: 1px solid #EFEFEF; }
.orc dt { flex: none; }
.orc dd { margin: 0; flex: 1; text-align: right; color: var(--cinza); font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; }
.orc dd::before { content: ""; flex: 1; border-bottom: 1.5px dotted #B5B5B5; transform: translateY(-3px); }
@media (min-width: 900px) {
  .pilares__grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 40px; }
}

/* ---------- como funciona: cadeia de cotas ---------- */
.cadeia { list-style: none; margin: 8px 0 40px; padding: 0; counter-reset: passo; display: grid; }
.cadeia li { counter-increment: passo; position: relative; padding: 0 0 30px 52px; border-left: 2px solid var(--grafite); margin-left: 15px; }
.cadeia li:last-child { padding-bottom: 6px; }
.cadeia li::before { /* número sobre a linha, como o valor de uma cota */
  content: counter(passo); position: absolute; left: -16px; top: -2px; width: 30px; height: 30px;
  display: grid; place-items: center; background: var(--grafite); color: var(--verde); font-weight: 800; font-size: 1rem; border-radius: 2px;
}
.cadeia li::after { /* traço da cota */
  content: ""; position: absolute; left: -9px; bottom: -1px; width: 16px; height: 2px; background: var(--grafite);
}
.cadeia h3 { margin: 3px 0 .35em; }
.cadeia p { margin: 0; color: #3E3E3E; max-width: 40ch; }
@media (min-width: 900px) {
  .cadeia { grid-template-columns: repeat(3, 1fr); row-gap: 48px; margin-top: 24px; }
  .cadeia li { border-left: 0; border-top: 2px solid var(--grafite); margin: 0; padding: 30px 32px 0 0; }
  .cadeia li::before { left: 0; top: -16px; }
  .cadeia li::after { left: -1px; top: -9px; bottom: auto; width: 2px; height: 16px; }
  .cadeia li:nth-child(3n) { padding-right: 0; }
  .cadeia li:nth-child(3n) h3::before { content: ""; position: absolute; right: -1px; top: -9px; width: 2px; height: 16px; background: var(--grafite); }
}

/* ---------- depoimento em destaque ---------- */
.destaque { background: var(--grafite); color: var(--aco); display: grid; }
.destaque__foto { margin: 0; position: relative; }
.destaque__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.destaque__foto figcaption { font-size: .82rem; color: #BDBDBD; padding: 10px var(--g) 0; }
.destaque__texto { padding: 32px var(--g) var(--sec); }
.estrelas { display: flex; gap: 3px; color: var(--verde); margin: 0 0 18px; }
.estrelas svg { width: 22px; height: 22px; }
.destaque blockquote { margin: 0; }
.destaque blockquote p { font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.35rem); line-height: 1.22; font-weight: 600; font-stretch: 85%; color: var(--branco); max-width: 30ch; text-wrap: pretty; }
.destaque__autor { font-size: var(--t-peq); color: #BDBDBD; margin: 0; }
.destaque__autor strong { color: var(--verde); }
@media (min-width: 900px) {
  .destaque { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .destaque__foto { align-self: stretch; }
  .destaque__foto img { height: 100%; aspect-ratio: auto; min-height: 520px; }
  .destaque__foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 24px 14px; background: linear-gradient(transparent, rgba(43,43,43,.9)); color: var(--aco); }
  .destaque__texto { padding: 72px max(var(--g), calc((100vw - var(--max)) / 2)) 72px 64px; }
}

/* ---------- portfólio ---------- */
.abas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--g) * -1) 22px; padding: 0 var(--g) 4px; }
.abas::-webkit-scrollbar { display: none; }
.abas button { flex: none; font: 700 var(--t-peq)/1.2 var(--f); font-stretch: 90%; padding: 12px 16px; border: 1.5px solid #CFCFCF; background: var(--branco); color: var(--grafite); border-radius: var(--raio); cursor: pointer; min-height: 46px; }
.abas button[aria-selected="true"] { background: var(--grafite); border-color: var(--grafite); color: var(--branco); box-shadow: inset 0 -4px 0 var(--verde); }
.painel { display: grid; gap: 24px; }
.painel[hidden] { display: none; }
.painel__aviso { margin: 0; }
.obra { margin: 0; }
.obra img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--raio); background: var(--aco); }
.obra figcaption { padding-top: 10px; font-size: var(--t-peq); color: var(--cinza-texto); line-height: 1.45; }
.obra figcaption strong { display: block; color: var(--grafite); font-size: 1.05rem; font-stretch: 90%; }
.portfolio__falta { margin: 28px 0 0; font-size: var(--t-peq); }
@media (min-width: 760px) {
  .painel { grid-template-columns: 1fr 1fr; gap: 28px; }
  .obra--larga { grid-column: 1 / -1; }
  .obra--larga img { aspect-ratio: 21 / 9; }
  .painel__aviso { grid-column: 1 / -1; }
  .abas { margin-left: 0; margin-right: 0; padding: 0 0 4px; }
}

/* ---------- prova social ---------- */
.prova { background: var(--aco); }
.prova__topo { display: grid; gap: 20px; margin-bottom: 32px; }
.prova__topo .sec__h { margin: 0; }
.selo { display: flex; align-items: center; gap: 16px; background: var(--branco); color: var(--grafite); text-decoration: none; padding: 16px 18px; border-radius: var(--raio); border: 1px solid #D5D5D5; max-width: 460px; }
.selo:hover { border-color: var(--grafite); }
.selo__nota { font-size: 3rem; font-weight: 800; font-stretch: var(--larg-titulo); line-height: 1; }
.selo__info { display: grid; gap: 4px; font-size: .9rem; }
.selo .estrelas { margin: 0; color: #E8A317; }
.selo .estrelas svg { width: 18px; height: 18px; }
.selo__perfil { color: var(--cinza-texto); font-size: .82rem; line-height: 1.35; }
.depos { display: grid; gap: 16px; }
.depo { margin: 0; background: var(--branco); padding: 22px 22px 20px; border-radius: var(--raio); border-left: 4px solid var(--verde); }
.depo blockquote { margin: 0 0 12px; }
.depo blockquote p { margin: 0; font-size: 1.0625rem; line-height: 1.45; }
.depo--g blockquote p { font-size: 1.25rem; font-weight: 600; font-stretch: 90%; line-height: 1.32; }
.depo figcaption { font-size: .9rem; color: var(--cinza-texto); }
.depo figcaption strong { color: var(--grafite); }
.prova__nota { margin: 22px 0 0; font-size: .85rem; color: var(--cinza-texto); }
@media (min-width: 900px) {
  .prova__topo { grid-template-columns: 1fr auto; align-items: end; }
  .depos { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ---------- comparativo ---------- */
.comp__tabela { border-top: 3px solid var(--grafite); }
.comp__lin { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #DADADA; }
.comp__lin > span { padding: 12px 12px 14px 0; line-height: 1.35; }
.comp__lin > [role="rowheader"] { grid-column: 1 / -1; padding: 14px 0 0; font-weight: 800; font-stretch: 85%; font-size: 1.05rem; }
.comp__cab { position: sticky; top: 0; background: var(--branco); z-index: 2; }
.comp__cab > span { padding: 12px 12px 12px 0; font-weight: 800; font-stretch: 85%; font-size: .95rem; }
.comp__cab > span:first-child { display: none; }
.comp__cab > span:last-child { color: var(--verde-escuro); }
.c-comum { color: var(--cinza-texto); }
.c-inove { font-weight: 650; padding-left: 12px !important; background: var(--verde-claro); margin: 8px 0 10px; border-radius: 2px; }
@media (min-width: 900px) {
  .comp__lin { grid-template-columns: 1fr 1.35fr 1.35fr; align-items: stretch; }
  .comp__lin > [role="rowheader"] { grid-column: auto; padding: 18px 0; font-size: 1.15rem; }
  .comp__lin > span { padding: 18px 20px 18px 0; }
  .comp__cab > span:first-child { display: block; }
  .comp__cab > span { padding: 16px 20px 16px 0; font-size: 1.1rem; }
  .comp__cab > span:last-child { padding-left: 20px; background: var(--grafite); color: var(--verde); }
  .c-inove { margin: 0; padding-left: 20px !important; border-radius: 0; }
}

/* ---------- materiais ---------- */
.materiais { background: var(--aco); }
.mat__grid { display: grid; gap: 18px; }
.mat { background: var(--branco); border-radius: var(--raio); overflow: hidden; }
.mat::before { content: ""; display: block; height: 64px; }
.mat h3, .mat p { padding: 0 20px; }
.mat h3 { padding-top: 18px; margin-bottom: .4em; }
.mat p { padding-bottom: 20px; margin: 0; color: #3E3E3E; }
/* amostras desenhadas em CSS: alveolar, sanduíche, vidro */
.mat--poli::before { background: repeating-linear-gradient(90deg, rgba(117,198,158,.55) 0 2px, rgba(117,198,158,.18) 2px 14px), linear-gradient(#CDEBDC, #E9F6EF); }
.mat--termo::before { background: repeating-linear-gradient(90deg, #8A8A8A 0 10px, #A6A6A6 10px 12px, #8A8A8A 12px 22px, #6E6E6E 22px 24px) top / 100% 18px no-repeat, linear-gradient(#F1E7C9, #F1E7C9) 0 18px / 100% 34px no-repeat, linear-gradient(#BDBDBD, #BDBDBD) bottom / 100% 12px no-repeat; }
.mat--vidro::before { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 31% 36%, transparent 37% 44%, rgba(255,255,255,.5) 45% 47%, transparent 48%), linear-gradient(#CFE3EA, #E8F2F5); }
.mat__fecho { margin: 28px 0 0; font-weight: 700; font-size: 1.125rem; max-width: 50ch; }
@media (min-width: 900px) { .mat__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- garantia: o contrato ---------- */
.contrato { max-width: 860px; background: var(--branco); border: 1px solid #D5D5D5; border-top: 8px solid var(--grafite); padding: 30px 22px 26px; box-shadow: 10px 10px 0 var(--aco); }
.contrato h2 { margin-bottom: .7em; }
.contrato__itens { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.contrato__itens li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.contrato__itens svg { width: 22px; height: 22px; color: var(--verde-escuro); margin-top: 3px; }
.contrato__ass { display: grid; gap: 6px; max-width: 280px; font-size: .82rem; color: var(--cinza-texto); }
.contrato__linha { height: 34px; border-bottom: 1.5px solid var(--grafite); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34'%3E%3Cpath d='M4 26c10-14 18-20 22-14s-6 16 2 12 14-18 20-16-4 14 4 12 10-10 18-10 4 8 12 6 18-8 30-6' fill='none' stroke='%232C6E4E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 160px 34px no-repeat; }
@media (min-width: 900px) { .contrato { padding: 44px 48px 36px; box-shadow: 16px 16px 0 var(--aco); } }

/* ---------- FAQ ---------- */
.faq { background: var(--aco); }
.faq__lista { max-width: 820px; border-top: 2px solid var(--grafite); }
.faq details { border-bottom: 1px solid #CFCFCF; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 750; font-stretch: 90%; font-size: 1.125rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--grafite), var(--grafite)) center / 100% 2.5px no-repeat, linear-gradient(var(--grafite), var(--grafite)) center / 2.5px 100% no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: #3E3E3E; max-width: 62ch; }

/* ---------- CTA final + formulário ---------- */
.final { background: var(--grafite); color: var(--aco); padding: var(--sec) max(var(--g), calc((100% - var(--max)) / 2)); display: grid; gap: 40px; }
.final h2 { color: var(--branco); max-width: 18ch; margin-bottom: .5em; }
.final__texto p { max-width: 44ch; margin-bottom: 1.4em; }
.final__texto .btn { width: 100%; }
.form-caixa { background: var(--branco); color: var(--grafite); border-radius: var(--raio); padding: 26px 20px; border-top: 6px solid var(--verde); }
.form h3 { font-size: 1.4rem; margin-bottom: 18px; }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.campo input, .campo select { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1.0625rem/1.2 var(--f); color: var(--grafite); background: #FAFAFA; border: 1.5px solid #BFBFBF; border-radius: var(--raio); }
.campo select { appearance: none; background: #FAFAFA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B2B2B' stroke-width='2'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px var(--verde); }
.campo [aria-invalid="true"] { border-color: #B3261E; }
.erro { color: #B3261E; font-size: .875rem; margin: 6px 0 0; }
.form .btn { margin-top: 6px; }
.form__lgpd { font-size: .8rem; color: var(--cinza-texto); margin: 12px 0 0; }
.obrigado { text-align: left; }
.obrigado:focus { outline: none; }
.obrigado__ico { width: 44px; height: 44px; color: var(--grafite); background: var(--verde); border-radius: 50%; padding: 9px; margin-bottom: 14px; }
.obrigado h3 { font-size: 1.6rem; margin-bottom: .4em; }
.obrigado .btn { width: 100%; margin-top: 6px; }
@media (min-width: 900px) {
  .final { grid-template-columns: 1fr minmax(360px, 440px); gap: 72px; align-items: center; }
  .final__texto .btn { width: auto; }
  .form-caixa { padding: 32px 30px; }
}

/* ---------- rodapé ---------- */
.rodape { background: var(--grafite); color: #C9C9C9; border-top: 1px solid var(--grafite-linha); font-size: .9rem; }
.rodape__in { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 36px var(--g) 40px; display: grid; gap: 24px; }
.rodape__logo { width: 130px; }
.rodape p { margin: 0 0 .6em; }
.rodape strong { color: var(--branco); }
.rodape__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape a, .link-btn { color: var(--verde); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 900px) { .rodape__in { grid-template-columns: auto 1fr auto; gap: 56px; align-items: start; } .rodape__dados { display: flex; gap: 48px; } }

/* ---------- botão fixo de WhatsApp ---------- */
.wa-fixo {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px;
  background: var(--verde); color: var(--grafite); text-decoration: none; font-weight: 750; font-stretch: 88%;
  border-radius: var(--raio); box-shadow: 0 3px 0 var(--verde-escuro), 0 8px 24px rgba(0,0,0,.28);
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform .25s ease;
}
.wa-fixo.is-off { transform: translateY(150%); }
.wa-fixo svg { width: 22px; height: 22px; }
@media (min-width: 960px) {
  .wa-fixo { left: auto; right: 24px; bottom: 24px; padding: 0 22px; }
}

/* ---------- cookies ---------- */
/* no celular fica no alto da tela, para nunca cobrir o botão de WhatsApp */
.cookies { position: fixed; z-index: 50; left: 0; right: 0; top: 0; background: var(--branco); color: var(--grafite); border-bottom: 1px solid #CFCFCF; box-shadow: 0 6px 20px rgba(0,0,0,.2); padding: 10px var(--g); font-size: .84rem; line-height: 1.35; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; }
.cookies__bts { display: flex; gap: 6px; }
.btn-mini { font: 700 .85rem/1 var(--f); padding: 10px 12px; border-radius: var(--raio); border: 1.5px solid #BFBFBF; background: var(--branco); color: var(--grafite); cursor: pointer; min-height: 42px; }
.btn-mini--ok { background: var(--grafite); border-color: var(--grafite); color: var(--branco); }
@media (min-width: 960px) {
  .cookies { top: auto; left: auto; right: 24px; bottom: 24px; max-width: 400px; border: 1px solid #CFCFCF; border-radius: var(--raio); padding: 14px 16px; grid-template-columns: 1fr; font-size: .9rem; }
  .cookies__bts { justify-content: flex-end; }
  body.cookies-on .wa-fixo { bottom: 150px; }
}
