/* =========================================================
   RIAL PLACAS — style.css
   Autor: Dev Sênior (30+ anos)
   Estrutura: variáveis → reset → base → componentes → seções → responsivo
   ========================================================= */

/* ---------- VARIÁVEIS ---------- */
:root {
  /* Cores vivas */
  --red: #e63946;
  --red-dark: #b52a36;
  --blue: #1d4ed8;
  --blue-light: #3b82f6;
  --yellow: #fbbf24;
  --green: #10b981;
  --purple: #8b5cf6;
  --orange: #f97316;

  /* Neutros */
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --light: #f8fafc;
  --white: #ffffff;

  /* Semânticas */
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;

  /* Tipografia */
  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Espaçamento */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);

  /* Transições */
  --t-fast: .2s ease;
  --t: .3s ease;
  --t-slow: .6s ease;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--dark); }

::selection { background: var(--red); color: var(--white); }

/* ---------- UTILITÁRIOS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-highlight {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
}

.text-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: var(--yellow);
  opacity: .5;
  z-index: -1;
  border-radius: 4px;
}

.muted { color: var(--text-muted); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(230, 57, 70, .35);
}
.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 10px 28px rgba(230, 57, 70, .45);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-light);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--white {
  background: var(--white);
  color: var(--red);
}
.btn--white:hover { background: var(--light); }

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .6);
}
.btn--ghost-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--white);
}

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(230, 57, 70, .35);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__text strong { font-size: 1.1rem; color: var(--dark); }
.logo__text small { font-size: .72rem; color: var(--text-muted); font-weight: 500; }

/* Navegação */
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--dark-2);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--t);
}

.nav__link:hover,
.nav__link.is-active { color: var(--red); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.header__cta { font-size: .9rem; }

/* Hambúrguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light);
  border: 1px solid var(--border);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
}

.shape--1 {
  width: 420px; height: 420px;
  background: var(--red);
  top: -120px; right: -80px;
}

.shape--2 {
  width: 340px; height: 340px;
  background: var(--blue-light);
  bottom: -120px; left: -80px;
}

.shape--3 {
  width: 260px; height: 260px;
  background: var(--yellow);
  top: 40%; left: 45%;
  opacity: .25;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: rgba(16, 185, 129, .12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, .3);
  margin-bottom: 20px;
}

.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero__title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.hero__stats span {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

/* Placa veicular (visual) */
.hero__card {
  display: grid;
  place-items: center;
}

.plate {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 2 / 1;
  background: linear-gradient(180deg, #ffffff 0%, #e9eef5 100%);
  border: 6px solid #1e293b;
  border-radius: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #cfd8e3;
  transform: rotate(-4deg);
  transition: transform var(--t-slow);
  animation: float 6s ease-in-out infinite;
}

.plate:hover { transform: rotate(0deg) scale(1.02); }

@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}

.plate__country {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--dark-2);
  text-align: center;
  border-bottom: 2px solid #94a3b8;
  padding-bottom: 6px;
}

.plate__code {
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--dark);
  text-align: center;
}

.plate__number {
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  border-top: 2px solid #94a3b8;
  padding-top: 6px;
}

.plate__state {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 6px;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--dark);
  color: var(--white);
  padding: 18px 0;
}

.trust-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 500;
  opacity: .95;
}

.trust-item__icon { font-size: 1.2rem; }

/* ---------- SEÇÕES ---------- */
.section {
  padding: 90px 0;
  position: relative;
}

.section--alt { background: var(--bg-alt); }

.section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- SOBRE ---------- */
.sobre {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: start;
}

.sobre__text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.sobre__text strong { color: var(--dark); }

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.check-list__icon {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .15);
  color: var(--green);
  font-size: .8rem;
  flex-shrink: 0;
}

/* Card institucional */
.sobre__card,
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.sobre__card h3,
.panel__title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-light);
}

.info-list { display: grid; gap: 14px; }

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .92rem;
  border-bottom: 1px dashed var(--gray-light);
  padding-bottom: 10px;
}

.info-list div:last-child { border-bottom: none; padding-bottom: 0; }

.info-list dt { color: var(--text-muted); font-weight: 500; }
.info-list dd { font-weight: 600; color: var(--dark); text-align: right; }
.info-list a { color: var(--blue); }
.info-list a:hover { text-decoration: underline; }

/* ---------- GRID / CARDS ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--red);
  transition: height var(--t);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before { height: 100%; }

.card__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card__icon--red { background: rgba(230, 57, 70, .12); }
.card__icon--blue { background: rgba(59, 130, 246, .12); }
.card__icon--yellow { background: rgba(251, 191, 36, .15); }
.card__icon--green { background: rgba(16, 185, 129, .12); }
.card__icon--purple { background: rgba(139, 92, 246, .12); }
.card__icon--orange { background: rgba(249, 115, 22, .12); }

.card__title { font-size: 1.15rem; margin-bottom: 10px; }
.card__text { color: var(--text-muted); font-size: .95rem; }

/* ---------- FEATURES (diferenciais) ---------- */
.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(230, 57, 70, .12), rgba(249, 115, 22, .12));
  margin-bottom: 18px;
}

.feature__title { font-size: 1.05rem; margin-bottom: 8px; }
.feature__text { color: var(--text-muted); font-size: .9rem; }

/* ---------- EMPRESA / PANELS ---------- */
.panel--full { margin-top: 24px; }

.cnae {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

.cnae strong { color: var(--red); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  top: -250px; right: -100px;
}

.cta::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  bottom: -150px; left: -80px;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta__title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--white); margin-bottom: 8px; }
.cta__text { opacity: .95; }

.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- CONTATO ---------- */
.contato {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}

.contato__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 20px; display: flex; flex-direction: column; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, .12);
}

.field textarea { resize: vertical; min-height: 120px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  background: #fef2f2;
}

.field__error {
  font-size: .8rem;
  color: var(--red);
  margin-top: 6px;
  min-height: 1em;
}

.form-note {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form-note a { color: var(--blue); text-decoration: underline; }

.form-success {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, .12);
  color: #047857;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, .3);
  font-size: .92rem;
}

/* Cards de contato */
.contato__info { display: grid; gap: 16px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(230, 57, 70, .1);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card h4 { font-size: .98rem; margin-bottom: 4px; }
.contact-card a { color: var(--blue); font-weight: 500; font-size: .95rem; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- POLÍTICA DE PRIVACIDADE ---------- */
.privacy {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.privacy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .98rem;
  line-height: 1.75;
}

.privacy strong { color: var(--dark); }

.privacy h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
}

.privacy ul {
  list-style: none;
  margin: 0 0 18px;
  padding-left: 0;
}

.privacy ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: .96rem;
}

.privacy ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.privacy a { color: var(--blue); text-decoration: underline; }
.privacy a:hover { color: var(--red); }

.privacy__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px dashed var(--gray-light);
  font-weight: 600;
  color: var(--dark) !important;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 70px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--red);
}

.logo--footer .logo__text strong { color: var(--white); }
.logo--footer .logo__text small { color: #94a3b8; }

.footer__about {
  font-size: .92rem;
  line-height: 1.7;
  margin: 18px 0 12px;
  color: #94a3b8;
}

.footer__cnpj {
  font-size: .82rem;
  color: #64748b;
  font-weight: 600;
}

.footer__links,
.footer__contact {
  display: grid;
  gap: 10px;
  font-size: .92rem;
}

.footer__links a,
.footer__contact a {
  color: #cbd5e1;
  transition: color var(--t-fast);
}

.footer__links a:hover,
.footer__contact a:hover { color: var(--yellow); }

.footer__contact li {
  color: #94a3b8;
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #94a3b8;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(230, 57, 70, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t-fast);
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--red-dark); }

/* ---------- REVEAL (animações de scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__card { order: -1; max-width: 420px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sobre { grid-template-columns: 1fr; }
  .contato { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav__link::after { display: none; }

  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 60px; }
  .hero__stats { gap: 24px; }
  .hero__stats strong { font-size: 1.7rem; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta__actions { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .privacy { padding: 26px 20px; }
  .contato__form { padding: 22px; }
  .trust-bar__inner { justify-content: center; }
  .logo__text small { display: none; }
}

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

/* ---------- FOCO VISÍVEL ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
  border-radius: 4px;
}
