@font-face{font-family:"Work Sans";src:url("assets/fonts/work-sans-300.woff2") format("woff2");font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:"Work Sans";src:url("assets/fonts/work-sans-300.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Work Sans";src:url("assets/fonts/work-sans-300.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Poppins";src:url("assets/fonts/poppins-500-italic.woff2") format("woff2");font-style:italic;font-weight:500;font-display:swap}
@font-face{font-family:"Poppins";src:url("assets/fonts/poppins-500.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}

:root {
  --azul: #011833;
  --azul-botao: #001e42;
  --laranja: #ff6600;
  --branco: #fff;
  --borda: #b3b3b3;
  --texto: #000;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --titulo: "Poppins", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--branco);
  background: var(--azul);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Topo */
.topo { background: var(--azul); }

.topo__inner {
  display: flex;
  align-items: center;
  height: 146px;
  padding-top: 2px;
}

.topo__logo { flex: none; transform: translateY(-3px); }
.topo__logo img { width: 160px; height: auto; }

.topo__nav {
  display: flex;
  align-items: center;
  gap: 72px;
  margin-left: auto;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.topo__nav a { display: block; padding: 6px 0; transform: translateY(-2px); }

.topo__cta {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 227px;
  height: 62px;
  margin-left: 48px;
  padding: 0 7px 0 23px;
  border-radius: 999px;
  background: var(--laranja);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.topo__cta-seta {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--azul);
}

/* Hero */
.hero {
  background:
    radial-gradient(82.5% 40.6% at 50% 100%, #e8bab6, rgba(232, 186, 182, 0)),
    linear-gradient(180deg, #fc4842 0%, #fb722e 60%, #fa762d 67%, #f97937 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 564px;
  align-items: start;
  min-height: 861px;
  padding: 99px 43px 92px 0;
}

.hero__texto { padding-top: 87px; }

.hero__sub {
  margin: 0;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.hero__titulo {
  max-width: 9.75em;
  margin: 2px 0 0;
  font-family: var(--titulo);
  font-size: 75px;
  font-style: italic;
  font-weight: 500;
  line-height: 77px;
  letter-spacing: -0.04em;
}

.hero__desc {
  max-width: 580px;
  margin: 44px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.05em;
}

/* Formulário */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 670px;
  padding: 35px 38px;
  border-radius: 44px;
  background: var(--branco);
  color: var(--texto);
}

.campo { position: relative; }
.campo + .campo { margin-top: 6px; }

.campo input {
  display: block;
  width: 100%;
  height: 78px;
  padding: 0 29px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: #fff;
  color: var(--texto);
  font: 400 16px/1 var(--sans);
  letter-spacing: -0.05em;
  appearance: none;
}

.campo input:focus { outline: none; border-color: var(--azul-botao); box-shadow: 0 0 0 2px var(--azul-botao); }

.campo label {
  position: absolute;
  top: calc(50% + 1px);
  left: 28px;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.campo input:not(:placeholder-shown) + label { opacity: 0; }

.card__enviar {
  width: 100%;
  height: 78px;
  margin-top: 105px;
  padding: 3px 0 0;
  border: 0;
  border-radius: 999px;
  background: var(--azul-botao);
  color: var(--branco);
  font: 400 22px/1 var(--sans);
  letter-spacing: -0.035em;
  cursor: pointer;
}

.card__enviar:focus-visible { outline: 3px solid var(--azul-botao); outline-offset: 3px; }

[data-state="sending"] button[type="submit"] { opacity: 0.6; cursor: progress; }

.card__sucesso {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 28px;
  background: #fff1e8;
  color: var(--azul);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.card__sucesso strong { display: block; margin-bottom: 4px; font-size: 20px; font-weight: 500; color: var(--laranja); }

.card__erro { margin: 20px 0 0; color: #c62828; font-size: 16px; text-align: center; }

[hidden] { display: none !important; }

/* Rodapé */
.rodape { background: var(--azul); }

.rodape__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}

.rodape__inner img { width: 110px; height: auto; }
.rodape p { margin: 0; font-size: 14px; font-weight: 300; color: rgba(255, 255, 255, 0.8); }

/* WhatsApp flutuante */
.whats {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 100;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.whats:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--azul); }

/* Responsivo */
@media (max-width: 1520px) {
  .container { padding-left: 40px; padding-right: 40px; }
  .hero__inner { padding-right: 40px; }
}

@media (max-width: 1280px) {
  .topo__nav { gap: 40px; font-size: 18px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 48px; }
  .hero__titulo { font-size: clamp(44px, 5vw, 75px); line-height: 1.03; }
  .hero__desc { font-size: 20px; line-height: 1.45; }
  .hero__inner { align-items: center; min-height: 0; padding-top: 80px; padding-bottom: 80px; }
  .hero__texto { padding-top: 0; }
  .card { min-height: 0; padding-bottom: 44px; }
  .card__enviar { margin-top: 56px; }
}

@media (max-width: 1080px) {
  .topo__nav { display: none; }
  .topo__cta { margin-left: auto; }
}

@media (max-width: 960px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    min-height: 0;
    padding: 64px 24px 72px;
  }
  .hero__texto { padding-top: 0; }
  .hero__titulo { font-size: clamp(40px, 8vw, 64px); }
  .card { width: 100%; padding-bottom: 38px; }
  .card__enviar { margin-top: 36px; }
  .hero {
    background:
      radial-gradient(140% 30% at 50% 100%, #e8bab6, rgba(232, 186, 182, 0)),
      linear-gradient(180deg, #fc4842 0%, #fb722e 50%, #fa762d 67%, #f97937 100%);
  }
}

@media (max-width: 600px) {
  .topo__inner { height: 88px; padding-top: 0; }
  .topo__logo img { width: 110px; }
  .topo__cta { width: auto; height: 48px; gap: 10px; padding: 0 5px 0 16px; font-size: 15px; }
  .topo__cta-seta { width: 38px; height: 38px; }
  .hero__inner { padding: 48px 20px 56px; gap: 36px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero__sub { font-size: clamp(22px, 6.4vw, 30px); }
  .hero__titulo { font-size: clamp(34px, 10.4vw, 48px); line-height: 1.08; margin-top: 6px; }
  .hero__desc { margin-top: 24px; font-size: 17px; line-height: 1.5; }
  .card { padding: 24px 18px; border-radius: 32px; }
  .campo input { height: 60px; padding: 0 22px; }
  .campo label { left: 23px; }
  .card__enviar { height: 62px; margin-top: 32px; font-size: 18px; }
  .rodape__inner { flex-direction: column; text-align: center; padding: 28px 20px 96px; }
  .whats { width: 52px; height: 52px; }
}
