/* ==========================================================================
   PARTNER CLEAN — Pedido de orçamento
   Identidade retirada do site: azul profundo, dourado, Playfair e Open Sans.
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-var.woff2') format('woff2-variations');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-var.woff2') format('woff2-variations');
  font-weight: 300 800; font-style: normal; font-display: swap;
}

:root {
  --azul: #011833;
  --azul-2: #02204B;
  --azul-3: #0A2F63;
  --ouro: #E7B765;
  --ouro-2: #F0D2A0;
  --ouro-3: #C9954A;
  --verde: #008744;
  --verde-2: #00A353;
  --branco: #FFFFFF;
  --nevoa: #F6F8FB;
  --nevoa-2: #EDF1F7;
  --linha: #DCE3EC;
  --linha-2: #C2CDDC;
  --texto: #2C3A4D;
  --texto-2: #63738A;
  --erro: #B3261E;

  --display: 'Playfair Display', Georgia, serif;
  --corpo: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r: 14px;
  --sombra: 0 2px 6px rgba(1, 24, 51, .06), 0 24px 60px rgba(1, 24, 51, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh;
  font-family: var(--corpo); font-size: 16px; line-height: 1.6;
  color: var(--texto); background: var(--azul);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ouro); color: var(--azul); padding: 12px 18px; }
.saltar:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Cenário
   ========================================================================== */
.cena {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(20px, 4vh, 48px) clamp(14px, 4vw, 32px) clamp(30px, 6vh, 60px);
}
.cena__fundo { position: absolute; inset: 0; z-index: 0; }
.cena__fundo img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.cena__fundo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90% 55% at 50% -10%, rgba(231, 183, 101, .20) 0%, transparent 62%),
    linear-gradient(180deg, rgba(1, 24, 51, .74) 0%, rgba(1, 24, 51, .93) 55%, var(--azul) 100%);
}

.marca { position: relative; z-index: 1; margin-bottom: clamp(18px, 3vh, 32px); }
.marca img { width: clamp(132px, 15vw, 168px); height: auto; }

/* ==========================================================================
   Cartão do formulário
   ========================================================================== */
.painel {
  position: relative; z-index: 1;
  width: 100%; max-width: 700px;
  background: var(--branco); border-radius: 26px;
  box-shadow: var(--sombra);
  padding: clamp(52px, 6vw, 62px) clamp(22px, 4.4vw, 52px) clamp(26px, 3vw, 34px);
  margin-top: 34px;
}

/* Assinatura: a gota do logótipo enche-se à medida que se avança */
.gota {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 68px;
  background: var(--branco); border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(1, 24, 51, .16);
}
.gota svg { width: 40px; height: 40px; overflow: visible; }
.gota__vazia { fill: var(--nevoa-2); }
.gota__cheia { fill: var(--ouro); transition: transform .6s var(--ease); transform-origin: 50% 100%; }
.gota__risco { fill: none; stroke: var(--ouro-3); stroke-width: 1.6; opacity: .55; }

.conta {
  text-align: center; margin: 0 0 6px;
  font-family: var(--display); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--texto-2);
}
.conta b { color: var(--azul); font-weight: 600; }
.trilho {
  height: 3px; width: min(260px, 80%); margin: 0 auto clamp(24px, 3.4vw, 34px);
  background: var(--nevoa-2); border-radius: 999px; overflow: hidden;
}
.trilho i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--ouro-3) 0%, var(--ouro) 60%, var(--ouro-2) 100%);
  border-radius: 999px; transition: width .55s var(--ease);
}

/* ==========================================================================
   Passos
   ========================================================================== */
.passo { animation: entra .42s var(--ease) both; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.passo__eyebrow {
  margin: 0 0 10px; text-align: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ouro-3);
}
.passo__t {
  margin: 0 0 10px; text-align: center;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(25px, 3.6vw, 36px); line-height: 1.2; color: var(--azul);
}
.passo__n {
  margin: 0 auto clamp(22px, 3vw, 30px); max-width: 46ch; text-align: center;
  font-size: 15px; font-weight: 300; color: var(--texto-2);
}

/* Opções */
.opcoes { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opcoes--1 { grid-template-columns: minmax(0, 1fr); }
.opcoes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.opcao {
  position: relative; display: flex; align-items: center; gap: 13px;
  width: 100%; text-align: left; padding: 16px 18px;
  background: var(--branco); border: 1.5px solid var(--linha); border-radius: var(--r);
  transition: border-color .2s var(--ease), background .2s var(--ease),
              box-shadow .22s var(--ease), transform .2s var(--ease);
}
.opcao:hover { border-color: var(--linha-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(1, 24, 51, .07); }
.opcao.on { border-color: var(--azul); background: var(--nevoa); }
.opcao__m {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--linha-2); position: relative; transition: border-color .2s var(--ease);
}
.opcao.on .opcao__m { border-color: var(--azul); }
.opcao.on .opcao__m::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ouro); }
.opcao__c { min-width: 0; }
.opcao__r { display: block; font-weight: 600; font-size: 15.5px; color: var(--azul); line-height: 1.35; }
.opcao__s { display: block; margin-top: 2px; font-size: 13px; font-weight: 300; color: var(--texto-2); }

/* Campos */
.grupo {
  margin: 26px 0 11px; text-align: left;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--texto-2);
}
.campos { display: grid; gap: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.campos--1 { grid-template-columns: minmax(0, 1fr); }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo--largo { grid-column: 1 / -1; }
.campo__r {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--texto-2);
}
.campo__r span { color: var(--ouro-3); }
.campo__i, .campo__a {
  width: 100%; padding: 14px 16px;
  background: var(--branco); border: 1.5px solid var(--linha); border-radius: 11px;
  font-size: 16px; color: var(--azul);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.campo__a { min-height: 104px; resize: vertical; line-height: 1.55; }
.campo__i:focus, .campo__a:focus {
  outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(231, 183, 101, .28);
}
.campo__i::placeholder, .campo__a::placeholder { color: #9AA8BB; }
.campo__aj { font-size: 12.5px; font-weight: 300; color: var(--texto-2); }
.campo.mal .campo__i, .campo.mal .campo__a { border-color: var(--erro); }
.campo__e { font-size: 12.5px; color: var(--erro); font-weight: 600; }

/* Resumo */
.resumo {
  border: 1.5px solid var(--linha); border-radius: var(--r);
  background: var(--nevoa); padding: 18px 20px; margin: 0 0 22px;
}
.resumo dl { margin: 0; display: grid; gap: 8px; }
.resumo div { display: flex; gap: 14px; justify-content: space-between; align-items: baseline; }
.resumo dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); flex: 0 0 auto; }
.resumo dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--azul); text-align: right; }

/* ==========================================================================
   Navegação
   ========================================================================== */
.navega {
  display: flex; align-items: center; gap: 12px;
  margin-top: clamp(24px, 3vw, 32px); padding-top: 20px; border-top: 1px solid var(--linha);
}
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-size: 14.5px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease),
              transform .18s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
}
.bt--p { background: var(--verde); color: var(--branco); box-shadow: 0 6px 18px rgba(0, 135, 68, .22); }
.bt--p:hover { background: var(--verde-2); transform: translateY(-1px); }
.bt--f { background: transparent; color: var(--texto-2); border: 1.5px solid var(--linha); }
.bt--f:hover { color: var(--azul); border-color: var(--azul); }
.bt--w { background: var(--azul); color: var(--branco); }
.bt--w:hover { background: var(--azul-3); transform: translateY(-1px); }
.bt[disabled], .bt.ocupado { opacity: .6; pointer-events: none; }
.bt__roda {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: roda .7s linear infinite;
}
@keyframes roda { to { transform: rotate(360deg); } }
.navega .bt--p { margin-left: auto; }

.legal { margin: 18px 0 0; text-align: center; font-size: 12.5px; font-weight: 300; color: var(--texto-2); }
.legal a { color: var(--texto); }

.alerta {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 16px; border-radius: 11px; margin-bottom: 18px;
  background: #FBEDEC; border: 1px solid #F0CFCC; color: var(--erro); font-size: 14px;
}

/* ==========================================================================
   Final
   ========================================================================== */
.feito { text-align: center; animation: entra .5s var(--ease) both; }
.feito__selo {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: rgba(0, 135, 68, .10); color: var(--verde);
}
.feito__ref {
  display: inline-block; margin-bottom: 22px; padding: 7px 18px; border-radius: 999px;
  border: 1.5px solid var(--linha-2); font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--azul);
}
.feito__acs { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin-top: 6px; }
.feito .resumo dd { text-align: right; }

/* ==========================================================================
   Faixa de confiança
   ========================================================================== */
.confianca {
  position: relative; z-index: 1;
  width: 100%; max-width: 700px; margin-top: 22px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.confianca div {
  padding: 15px 14px; text-align: center;
  border: 1px solid rgba(231, 183, 101, .28); border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
}
.confianca b {
  display: block; font-family: var(--display); font-size: 15px; font-weight: 600;
  color: var(--ouro-2); margin-bottom: 2px;
}
.confianca span { font-size: 12.5px; font-weight: 300; color: rgba(255, 255, 255, .72); line-height: 1.45; }

.rodape {
  position: relative; z-index: 1; margin-top: 22px; text-align: center;
  font-size: 12.5px; font-weight: 300; color: rgba(255, 255, 255, .52);
}
.rodape a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.rodape a:hover { color: var(--ouro-2); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 640px) {
  .opcoes, .opcoes--3 { grid-template-columns: minmax(0, 1fr); }
  .campos { grid-template-columns: minmax(0, 1fr); }
  .painel { border-radius: 20px; margin-top: 30px; }
  .confianca { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .confianca div { display: flex; align-items: baseline; gap: 9px; text-align: left; padding: 12px 15px; }
  .confianca b { margin: 0; flex: 0 0 auto; }
  .navega { position: sticky; bottom: 0; background: var(--branco); padding-bottom: 12px; }
  .bt { padding: 14px 22px; font-size: 13.5px; }
  .resumo div { flex-direction: column; gap: 1px; }
  .resumo dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 430px) {
  .navega { gap: 8px; }
  .bt { padding: 13px 15px; font-size: 12.5px; letter-spacing: .05em; }
  .navega .bt--p { flex: 1 1 auto; }
  .feito__acs .bt { flex: 1 1 auto; }
}
