/* =========================================================
   Landing Auxílio-Acidente — Dr. Gabriel Pozza
   Stack: CSS puro. Tokens no :root para manutenção fácil.
   ========================================================= */

:root {
  --verde: #155139;        /* cor principal (branding atual) */
  --verde-escuro: #0e3a29;
  --verde-claro: #e8f0ec;
  --dourado: #c9a227;      /* detalhe sóbrio/jurídico */
  --azul: #0d6efd;
  --tinta: #1c2722;        /* texto principal */
  --cinza: #5a6b62;        /* texto secundário */
  --linha: #e3e8e5;
  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --wpp: #25d366;
  --radius: 14px;
  --container: 1140px;
  --shadow: 0 10px 30px rgba(21, 81, 57, 0.08);
  --shadow-lg: 0 18px 50px rgba(21, 81, 57, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", -apple-system, Arial, sans-serif;
  color: var(--tinta);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.18; font-weight: 700; color: var(--verde); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
strong { color: inherit; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 12px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn .ico { flex: none; }

.btn-primary { background: var(--verde); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--verde-escuro); box-shadow: var(--shadow-lg); }

.btn-secondary { background: #fff; color: var(--verde); border-color: var(--verde); }
.btn-secondary:hover { background: var(--verde-claro); }

.btn-ghost { background: transparent; color: var(--verde); border-color: var(--linha); padding: 9px 18px; }
.btn-ghost:hover { border-color: var(--verde); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }

/* ---------- Marca (logo) ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 60px; width: auto; display: block; }

@media (max-width: 560px){
  .header-cta { display: none; }
  .brand-logo { height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 600px at 50% -20%, var(--verde-claro), transparent),
    var(--bg);
  padding: 72px 0 80px;
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { margin-top: 4px; }
.hero h1 strong { color: var(--dourado); }
.hero .lead {
  font-size: 1.15rem; color: var(--cinza);
  margin: 20px auto 0; max-width: 60ch;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 20px; }
.trust-row {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 22px; font-size: .92rem; color: var(--cinza); font-weight: 500;
}

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--cinza); font-size: 1.08rem; margin-top: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: transform .15s ease;
}
.card:hover { transform: translateY(-4px); }
.card-ico { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: var(--verde); margin-bottom: 8px; }
.card p { color: var(--cinza); font-size: .98rem; }

/* Checklist */
.checklist {
  margin-top: 44px; background: var(--verde); color: #fff;
  border-radius: 20px; padding: 36px; text-align: center;
}
.checklist h3 { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.checklist ul {
  list-style: none; max-width: 620px; margin: 0 auto 26px; text-align: left;
  display: grid; gap: 12px;
}
.checklist li { padding-left: 30px; position: relative; color: #eaf3ee; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--dourado); font-weight: 700;
}
.checklist .btn-primary { background: #fff; color: var(--verde); }
.checklist .btn-primary:hover { background: var(--verde-claro); }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about-media img {
  width: 100%; aspect-ratio: 3 / 4; border-radius: 20px;
  object-fit: cover; object-position: top center;
  box-shadow: var(--shadow-lg);
}
.about-copy .oab { color: var(--dourado); font-weight: 600; margin: 4px 0 16px; }
.about-copy p { color: var(--cinza); }
.creds { list-style: none; margin: 22px 0 28px; display: grid; gap: 14px; }
.creds li { padding-left: 26px; position: relative; }
.creds li::before { content: "▪"; color: var(--dourado); position: absolute; left: 0; }
.creds strong { color: var(--verde); }

/* Contato */
.section-contato { background: var(--bg-alt); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contato-copy p { color: var(--cinza); margin-bottom: 22px; }
.contato-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.contato-list li { color: var(--tinta); }
.contato-list span {
  display: inline-block; min-width: 92px; color: var(--cinza);
  font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}

/* Form */
.contato-form {
  background: #fff; border: 1px solid var(--linha); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow);
}
.contato-form h3 { color: var(--verde); margin-bottom: 18px; }
.contato-form label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.contato-form input, .contato-form textarea {
  width: 100%; font-family: inherit; font-size: 1rem;
  padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 10px;
  background: #fdfdfd; transition: border-color .15s ease;
}
.contato-form input:focus, .contato-form textarea:focus {
  outline: none; border-color: var(--verde);
}
.contato-form input.invalid, .contato-form textarea.invalid { border-color: #d33; background: #fff6f6; }
.erro { display: block; color: #d33; font-size: .82rem; min-height: 1em; margin-top: 4px; }
.contato-form .btn { margin-top: 18px; }
.form-note { font-size: .82rem; color: var(--cinza); margin-top: 12px; text-align: center; }

/* Links de telefone — herdam a cor do contexto (sem azul padrão) */
.tel-link { color: inherit; text-decoration: none; font-weight: 600; }
.tel-link:hover { text-decoration: underline; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--verde-escuro); color: #cfe0d7; padding: 48px 0 0; }
.site-footer .brand { margin-bottom: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-inner p { font-size: .92rem; }
.footer-contact strong { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; padding-bottom: 24px; }
.footer-legal p { font-size: .78rem; color: #9fb8ab; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wpp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform .15s ease;
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero { padding: 52px 0 60px; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 360px; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
