/* Operação Meu Apê · LP do formulário RD (Urben + CP Construplan)
   Cores e fontes da campanha (mesmos tokens do projeto "Operação meu apê"). */

@font-face { font-family: 'Bricolage Grotesque'; src: url(../fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --cor-noite: #07110B;
  --cor-floresta: #0F2A1B;
  --cor-folha: #1F5A3A;
  --cor-lima: #C6F135;
  --cor-creme: #F3EFE4;
  --fonte-titulo: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --fonte-texto: 'Figtree', system-ui, sans-serif;
  --raio: 24px;
  --largura: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cor-floresta);
  color: var(--cor-creme);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--cor-lima); outline-offset: 2px; }

.titulo {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: 'wdth' 75;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .92;
  margin: 0;
}
.ape { color: var(--cor-lima); white-space: nowrap; }

.in { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--gutter); }

/* Marcas */
.topo { padding-block: 20px; }
.marcas { display: flex; align-items: center; justify-content: center; gap: 14px; }
.marcas__urben { height: 24px; width: auto; }
.marcas__cp { height: 38px; width: auto; }
.marcas__fio { width: 1px; height: 30px; background: currentColor; opacity: .35; }

/* Conteúdo principal */
.principal { flex: 1; padding-block: 16px 48px; }
.grade { display: grid; gap: 32px; align-items: center; }

.chamada { text-align: center; }
.selo {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px;
  border-radius: 999px; background: var(--cor-lima); color: var(--cor-floresta);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chamada__manchete { display: flex; flex-direction: column; gap: .28em; }
.chamada__l1 { font-size: clamp(38px, 9.5vw, 62px); max-width: 13ch; text-wrap: balance; }
.chamada__l2 { font-size: clamp(60px, 16vw, 112px); line-height: .85; white-space: nowrap; }
@media (max-width: 899px) { .chamada__l1 { margin-inline: auto; } }
.chamada__apoio { margin: 18px auto 0; max-width: 42ch; font-size: 16px; opacity: .9; }

/* Cartão do formulário */
.cartao {
  background: var(--cor-noite);
  border: 1px solid rgba(198, 241, 53, .25);
  border-radius: var(--raio);
  padding: 24px 18px;
}
.cartao__titulo { font-size: clamp(26px, 6vw, 34px); color: var(--cor-lima); }
.cartao__apoio { margin: 8px 0 4px; font-size: 14px; opacity: .85; }
.cartao__nota { margin: 12px 0 0; font-size: 12px; opacity: .7; }

/* Embed RD: o visual dos campos vem do editor do RD; aqui só ajustamos largura e fundo */
.rd-form { min-height: 320px; }
.rd-form section,
.rd-form .bricks--section,
.rd-form .bricks--row,
.rd-form .bricks--column,
.rd-form .bricks--component:not(button):not(.bricks--component-button) { max-width: 100% !important; background: transparent !important; }
.rd-form form { margin: 0 !important; padding: 0 !important; }

/* Rodapé */
.rodape { padding-block: 28px; border-top: 1px solid rgba(243, 239, 228, .12); text-align: center; }
.rodape p { margin: 12px auto 0; max-width: 70ch; font-size: 12px; opacity: .7; }
.rodape__assinatura { font-size: 22px; color: var(--cor-lima); opacity: 1 !important; }

/* Obrigado */
.obrigado { text-align: center; display: flex; flex-direction: column; align-items: center; }
.obrigado__icone { width: 96px; height: 96px; margin-bottom: 20px; }
.obrigado__titulo { font-size: clamp(48px, 13vw, 92px); }
.obrigado__texto { margin: 20px auto 0; max-width: 46ch; font-size: 17px; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; margin-top: 28px; padding: 0 28px; border-radius: 999px;
  background: var(--cor-lima); color: var(--cor-floresta); text-decoration: none;
}
.botao .titulo { font-size: 22px; }
@media (hover: hover) { .botao:hover { filter: brightness(1.06); } }

@media (min-width: 900px) {
  .topo .marcas { justify-content: flex-start; }
  .principal { display: flex; align-items: center; padding-block: 24px 64px; }
  .grade { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .chamada { text-align: left; }
  .chamada__apoio { margin-left: 0; font-size: 18px; }
  .cartao { padding: 32px 28px; }
}
