/* Steer Tech · estilos do site
   Base: Bootstrap 5.3 + Bootstrap Icons. Aqui ficam só as personalizações. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores tiradas do logo: laranja e amarelo sobre azul-marinho escuro */
  --brand: #ffa514;        /* laranja do logo: botões e destaques */
  --brand-dark: #f08c00;
  --brand-text: #b45309;   /* laranja escuro para textos sobre fundo claro (contraste AA) */
  --brand-soft: #fff3df;
  --accent: #ffc21a;
  --accent-dark: #f5ad00;
  --navy: #0b1622;        /* fundo do cabeçalho e rodapé */
  --ink: #0f1b2a;
  --muted: #5a6677;
  --line: #e3e8ef;
  --surface: #f5f7fa;
  --radius: 16px;
  --header-h: 76px;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: #fff;
  --bs-link-color-rgb: 180, 83, 9;
  --bs-link-hover-color-rgb: 146, 64, 14;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* Botões */
.btn { font-weight: 600; border-radius: 999px; padding-inline: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; justify-content: center; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-brand { background: var(--brand); color: var(--navy); border: 0; }
.btn-brand:hover, .btn-brand:focus-visible, .btn-brand:active { background: var(--brand-dark); color: var(--navy); }
.btn-accent { background: var(--accent); color: var(--ink); border: 0; }
.btn-accent:hover, .btn-accent:focus-visible, .btn-accent:active { background: var(--accent-dark); color: var(--ink); }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .1); box-shadow: 0 6px 24px rgba(11, 22, 34, .25); }
.site-header .navbar { min-height: var(--header-h); }
.navbar-brand { padding: 0; }
.navbar-brand img { height: 52px; width: auto; display: block; }
@media (min-width: 992px) { :root { --header-h: 84px; } .navbar-brand img { height: 64px; } }
.navbar-toggler { border: 0; font-size: 1.75rem; color: #fff; padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255, 165, 20, .4); }
.navbar-nav .nav-link { font-weight: 500; color: rgba(255, 255, 255, .72); padding-inline: .9rem !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible, .navbar-nav .nav-link.active { color: var(--accent); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .5rem 0 1rem; }
  .navbar-nav .btn { margin-top: .5rem; width: 100%; }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(5rem, 12vw, 9rem) 0;
  background:
    linear-gradient(100deg, rgba(5, 22, 40, .92) 0%, rgba(5, 22, 40, .75) 45%, rgba(5, 22, 40, .35) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
}
.hero-content { max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1.08; margin: 1rem 0 1.25rem; }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-badges { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.hero-badges i { color: var(--accent); margin-right: .35rem; }

/* Seções */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-muted { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-text); margin-bottom: .5rem;
}
.eyebrow-light { color: var(--accent); }
.lead-text { color: var(--muted); font-size: 1.1rem; line-height: 1.65; }

.icon-box {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand-text); font-size: 1.5rem; margin-bottom: 1.25rem;
}

/* Cards de materiais */
.card-link {
  display: flex; flex-direction: column; height: 100%;
  padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: inherit; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-link:hover, .card-link:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 27, 42, .08); border-color: transparent; }
.card-link h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card-link p { color: var(--muted); margin-bottom: 1.5rem; }
.card-cta { margin-top: auto; font-weight: 600; color: var(--brand-text); display: inline-flex; align-items: center; gap: .4rem; }
.card-cta small { color: var(--muted); font-weight: 400; }
.card-cta i { transition: transform .2s; }
.card-link:hover .card-cta i { transform: translateX(4px); }

/* Quem somos */
.check-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.check-list i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--navy); font-size: .9rem; }
.prose p { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }

/* Política */
.feature { height: 100%; padding: 2rem; border-radius: var(--radius); background: var(--surface); }
.feature p { margin: 0; font-size: 1.05rem; line-height: 1.6; }

/* Representante */
.whatsapp-card {
  display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem;
  padding: 1rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.15rem;
  transition: border-color .2s, box-shadow .2s;
}
.whatsapp-card:hover { border-color: #25d366; box-shadow: 0 8px 24px rgba(37, 211, 102, .15); color: var(--ink); }
.whatsapp-card i { font-size: 2rem; color: #25d366; }
.whatsapp-card small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); }
.form-card fieldset + fieldset { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.form-card legend { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-label { font-size: .9rem; font-weight: 500; color: var(--muted); margin-bottom: .35rem; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); padding: .7rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-dark); box-shadow: 0 0 0 4px var(--brand-soft); }

.yn { height: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.yn-label { display: block; font-size: .95rem; font-weight: 500; margin-bottom: .75rem; }
.yn-options { display: flex; gap: .5rem; }
.btn-yn { flex: 1; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; font-weight: 500; padding: .5rem; }
.btn-yn:hover { border-color: var(--brand-dark); color: var(--brand-text); background: #fff; }
.btn-check:checked + .btn-yn { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-check:focus-visible + .btn-yn { box-shadow: 0 0 0 4px var(--brand-soft); }
.yn .invalid-feedback { margin-top: .5rem; }
.was-validated .yn:has(.btn-check:invalid) { border-color: var(--bs-form-invalid-border-color); }
.was-validated .yn:has(.btn-check:invalid) .invalid-feedback { display: block; }
.was-validated .btn-check:valid + .btn-yn, .was-validated .btn-check:invalid + .btn-yn { color: var(--ink); }
.was-validated .btn-check:checked + .btn-yn { color: #fff; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.form-note { color: var(--bs-form-invalid-color); font-size: .9rem; margin: 1rem 0 0; }

#form-status .alert { border-radius: 12px; display: flex; gap: .75rem; align-items: flex-start; }

/* Rodapé */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 2.5rem 0; font-size: .9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer img { height: 56px; width: auto; }
.site-footer p { margin: 0; }
/* Links das páginas principais no rodapé */
.site-footer .footer-nav { display: block; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-nav a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus { color: #fff; text-decoration: underline; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 1.75rem; text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card-link, .whatsapp-float { transition: none; }
}

/* Endereço preenchido pelo CEP */
.cep-field { position: relative; }
.cep-spinner { position: absolute; right: .9rem; top: 50%; margin-top: -.5rem; color: var(--brand-dark); }
.form-control.addr-auto[readonly] { background: var(--surface); color: var(--ink); cursor: not-allowed; }
.form-control.addr-auto[readonly]:focus { border-color: var(--line); box-shadow: none; }
.optional { color: var(--muted); font-weight: 400; font-size: .85em; }

/* Menu com mais itens: nada quebra em duas linhas em telas médias */
.navbar-nav .nav-link, .navbar-nav .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav .nav-link { padding-inline: .5rem !important; font-size: .92rem; }
  .navbar-brand img { height: 52px; }
}
