/* ===========================
   Fonte (local) — Ruda
   Coloque seus arquivos em assets/fonts/
   Exemplos esperados:
   - assets/fonts/Ruda-Variable.woff2
   - assets/fonts/Ruda-Regular.woff2
   =========================== */
@font-face{
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root{
  --blue: #00438d;
  --gold: #eaad24;
  --orange: #ee781f;

  --bg: #0b1020;
  --text: #0b1324;
  --muted: #5b667a;
  --card: #ffffff;
  --line: rgba(10, 24, 51, .12);

  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .12);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #f6f8fc;
  line-height:1.45;
}

button, input, select, textarea{
  font: inherit;
}

img{ max-width:100%; height:auto; }
a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border-radius:12px;
  box-shadow: var(--shadow);
  z-index:9999;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ height: 44px; width:auto; }

.nav{
  display:none;
  gap: 18px;
  align-items:center;
}
.nav a{ opacity:.92; }
.nav a:hover{ opacity:1; }

@media (min-width: 980px){
  .nav{ display:flex; }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .08s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(135deg, var(--orange), #ff5f2a);
  color:#fff;
  box-shadow: 0 14px 30px rgba(238,120,31,.28);
}
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color:#fff;
}
.section .btn--ghost{
  color: var(--blue);
  border-color: rgba(0,67,141,.22);
}
.btn--whats{
  background: #25D366;     /* verde WhatsApp */
  color:#fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .22);
}

.btn--whats:hover{
  filter: brightness(.95);
  text-decoration: none;
}

.btn--whats:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .25);
}

.btn--block{ width:100%; }

/* Hero */
.hero{
  background:
    radial-gradient(1000px 500px at 15% 15%, rgba(234,173,36,.35), transparent 60%),
    radial-gradient(900px 550px at 80% 10%, rgba(238,120,31,.25), transparent 55%),
    linear-gradient(180deg, #0a2f62 0%, #0a2a57 100%, #f6f8fc 100%,#f6f8fc 100%);
  padding: 42px 0 28px;
}

.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 980px){
  .hero__grid{ grid-template-columns: 1.05fr .95fr; gap: 34px; }
}

.eyebrow{
  display:inline-block;
  background: rgba(255,255,255,.16);
  color:#fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .3px;
}
.hero h1{
  margin: 14px 0 10px;
  color:#fff;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
}
/* Lead padrão (fora do hero) */
.lead{
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.06rem;
}

/* Lead do hero (em cima do fundo escuro) */
.hero .lead{
  color: rgba(255,255,255,.92);
}

.hero__cta{ display:flex; gap: 12px; flex-wrap:wrap; margin: 16px 0 18px; }

.trust{
  margin: 14px 0 0;
  padding: 12px 16px;
  list-style: none;
  border-radius: 14px;

  background: rgba(255,255,255,.92);
  color: #0b1324;

  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.trust li{
  margin: 8px 0;
}

/* Sections */
.section{ padding: 56px 0; }
.section--alt{
  background:
    radial-gradient(700px 280px at 10% 95%, rgba(0,67,141,.10), transparent 60%),
    radial-gradient(700px 280px at 90% 95%, rgba(238,120,31,.12), transparent 60%),
    #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2{
  font-size: clamp(22px, 2.3vw, 34px);
  margin: 0 0 10px;
}
.muted{ color: var(--muted); margin: 0 0 16px; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
@media (min-width: 820px){
  .cards{ grid-template-columns: repeat(3, 1fr); }
}
.mini{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.mini h3{ margin: 0 0 10px; color: var(--blue); }
.mini ul{ margin:0; padding-left:18px; }
.mini li{ margin: 8px 0; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
@media (min-width: 920px){
  .steps{ grid-template-columns: repeat(3, 1fr); }
}
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.step__num{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(234,173,36,.22);
  color: #6a4a00;
  font-weight: 900;
  margin-bottom: 10px;
}
.cta-row{ display:flex; gap: 12px; flex-wrap:wrap; margin-top: 16px; }
.section--alt .btn--ghost{ background: transparent; }

/* Form */
.form{ margin-top: 10px; }
.field{ margin-bottom: 12px; }
label{ display:block; font-weight: 800; margin-bottom: 6px; color: #1b2a44; }
input, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(13, 28, 55, .18);
  background: #fff;
  outline: none;
  font-size: 1rem;
}
input:focus, select:focus{
  border-color: rgba(0,67,141,.55);
  box-shadow: 0 0 0 4px rgba(0,67,141,.12);
}
.grid2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 520px){
  .grid2{ grid-template-columns: 1fr 1fr; }
}
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin: 10px 0 12px;
  font-weight: 600;
  color: #2a3854;
}
.check input{ width:auto; margin-top: 3px; }
.fineprint{ font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.form-msg{ margin-top: 10px; font-weight: 800; }
.form-msg.ok{ color: #137a3a; }
.form-msg.err{ color: #b42318; }

.hp{ position:absolute; left:-9999px; opacity:0; height:1px; width:1px; overflow:hidden; }

/* About */
.about{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 980px){
  .about{ grid-template-columns: 1.2fr .8fr; gap: 22px; }
}
.contact{ padding-left: 18px; }
.badge{
  background: #fff;
  border: 1px solid rgba(238,120,31,.25);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.badge__title{ margin: 0 0 6px; font-weight: 900; color: #9a3c00; }
.badge__text{ margin:0; color:#3a2a24; }

.faq{
  margin-top: 12px;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.faq summary{ cursor:pointer; font-weight: 900; color: var(--blue); }
.faq p{ margin: 10px 0 0; color: #23314c; }

/* Sticky CTA (mobile) */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display:flex;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 60;
}
@media (min-width: 980px){
  .sticky-cta{ display:none; }
}

/* Footer */
.footer{
  background: var(--blue);
  color: #fff;
  padding: 26px 0;
}
.footer__inner{ display:grid; gap: 16px; }
.footer__brand img{ height: 30px; }
.footer__cols{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 780px){
  .footer__cols{ grid-template-columns: 1fr 1fr; }
}

.footer h3{ margin: 0 0 8px; }
.footer p{ margin: 0 0 6px; }
.footer .muted{ color: rgba(255,255,255,.78); }
.footer .fineprint{ color: rgba(255,255,255,.78); margin-top: 10px; }

/* Form no HERO: textos brancos (mobile + desktop) */
.hero label,
.hero .check,
.hero .check span,
.hero .fineprint,
.hero .form-msg,
.hero .muted{
  color: rgba(255,255,255,.92) !important;
}

/* Se existir link dentro do fineprint */
.hero .fineprint a{
  color: rgba(255,255,255,.92) !important;
  text-decoration-color: rgba(255,255,255,.35);
}

/* Placeholders brancos suaves */
.hero input::placeholder,
.hero textarea::placeholder{
  color: rgba(255,255,255,.70);
}

/* Mantém o texto digitado dentro dos campos legível (em campo branco) */
.hero input,
.hero select,
.hero textarea{
  color: #0b1324;
}

/* Título do formulário (“Cotação gratuita”) branco */
.hero h2,
.hero .card h2,
.hero .hero__card h2{
  color: #fff !important;
}