/* SafeGeo - Landing Page (HTML/CSS/JS estático) */
:root {
  --primary: #1f3d2b;
  --primary-light: #2f5d3a;
  --accent: #c58a3a;
  --accent-light: #e0a85a;
  --bg: #ffffff;
  --surface: #f5f7f3;
  --text: #1c2a22;
  --muted: #5b6b62;
  --border: #e4e8e4;
  --shadow-soft: 0 4px 24px -8px rgba(31,61,43,.18);
  --shadow-elegant: 0 20px 60px -20px rgba(31,61,43,.35);
  --shadow-gold: 0 12px 32px -10px rgba(197,138,58,.45);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -.02em; line-height: 1.15; color: var(--text);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; object-fit: contain; }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--primary); font-size: 18px; line-height: 1; }
.brand-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #2d3a32; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: transform .2s, box-shadow .2s; cursor: pointer; border: 0; }
.btn-gold { background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: #2a1d09; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.05); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* HERO */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #1a3526 0%, #1f3d2b 45%, #2f5d3a 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/hero-sondagem.jpg') center/cover;
  opacity: .22;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(31,61,43,.95), rgba(31,61,43,.75), rgba(31,61,43,.4));
}
.hero-inner { position: relative; z-index: 1; padding: 100px 0 120px; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(197,138,58,.15); border: 1px solid rgba(197,138,58,.4);
  color: var(--accent-light); padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; color: #fff; margin-top: 24px; }
.hero h1 span { color: var(--accent-light); }
.hero p.lead { margin-top: 22px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); max-width: 480px; }
.hero-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.hero-stats dd { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent-light); margin-top: 4px; }

/* CLIENTES */
.clients { padding: 50px 0; border-block: 1px solid var(--border); background: #fff; }
.clients-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.clients-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.clients-row { display: flex; gap: 60px; align-items: center; width: max-content; animation: marquee 35s linear infinite; }
.clients-row img { height: 44px; width: auto; max-width: 140px; object-fit: contain; opacity: .65; filter: grayscale(1); transition: .3s; }
.clients-row img:hover { opacity: 1; filter: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
section.section { padding: 90px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* O QUE É */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col .img-wrap { position: relative; }
.two-col .img-wrap img { border-radius: 18px; box-shadow: var(--shadow-elegant); }
.badge-norm { position: absolute; right: -20px; bottom: -20px; background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: #2a1d09; padding: 22px 26px; border-radius: 18px; box-shadow: var(--shadow-gold); }
.badge-norm strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; line-height: 1; }
.badge-norm span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; font-weight: 600; }
.two-col p { color: var(--muted); margin-top: 14px; }
.two-col p strong { color: var(--text); }

/* CARD GRIDS */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); border-color: rgba(197,138,58,.4); }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: rgba(31,61,43,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.icon-gold { background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: #2a1d09; box-shadow: var(--shadow-gold); width: 54px; height: 54px; border-radius: 14px; }
.card h3 { font-size: 18px; margin-top: 20px; }
.card .norm { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 600; margin-top: 4px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* PROCESS - dark */
.process { background: var(--primary); color: #fff; }
.process h2 { color: #fff; }
.process .section-eyebrow { color: var(--accent-light); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 22px; border-radius: 16px; backdrop-filter: blur(6px); }
.step .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 38px; font-weight: 700; color: rgba(224,168,90,.4); }
.step p { font-size: 14px; margin-top: 14px; font-weight: 500; }

/* DIFERENCIAIS list */
.diff-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.diff-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); padding: 16px 20px; border-radius: 12px; list-style: none; font-weight: 500; font-size: 14px; }
.diff-list .check { color: var(--accent); font-size: 18px; flex-shrink: 0; }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-soft); transition: .3s; }
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.testi .quote { color: var(--accent); opacity: .4; font-size: 28px; line-height: 1; }
.testi blockquote { font-size: 14px; margin: 10px 0 18px; color: var(--text); }
.testi figcaption { border-top: 1px solid var(--border); padding-top: 12px; }
.testi figcaption strong { display: block; color: var(--primary); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; }
.testi figcaption span { color: var(--muted); font-size: 12px; }
.stars { color: var(--accent); margin-top: 10px; font-size: 18px; letter-spacing: 2px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; margin-bottom: 14px; transition: .25s; }
.faq details[open] { border-color: rgba(197,138,58,.4); box-shadow: var(--shadow-soft); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; list-style: none; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 16px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 999px; background: rgba(31,61,43,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .25s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.65; }

/* CTA FINAL */
.cta-final {
  position: relative; overflow: hidden; padding: 100px 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, #1a3526 0%, #1f3d2b 45%, #2f5d3a 100%);
}
.cta-final::before { content: ''; position: absolute; inset: 0; background: url('images/hero-sondagem.jpg') center/cover; opacity: .18; }
.cta-final > .container { position: relative; max-width: 720px; }
.cta-final h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.cta-final p { margin: 20px 0 36px; color: rgba(255,255,255,.85); font-size: 18px; }
.cta-final .icon-clock { display: inline-block; font-size: 36px; color: var(--accent-light); }

/* FORM */
.form-section { background: var(--surface); padding: 90px 0; }
.form-wrap { max-width: 640px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 20px; box-shadow: var(--shadow-elegant); border: 1px solid var(--border); }
.form-wrap h2 { font-size: 28px; }
.form-wrap p.sub { color: var(--muted); margin: 8px 0 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(197,138,58,.18); }
.field textarea { min-height: 110px; resize: vertical; }
.form-wrap button[type="submit"] { width: 100%; padding: 14px; font-size: 15px; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: #e6f4ec; color: #1f3d2b; border: 1px solid #b7dec5; }
.form-msg.err { display: block; background: #fde8e8; color: #7a1c1c; border: 1px solid #f2bcbc; }

/* FOOTER */
.site-footer { background: var(--primary); color: #fff; padding: 60px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-light); }
.foot-grid ul { list-style: none; margin-top: 16px; }
.foot-grid li { margin-bottom: 8px; font-size: 14px; color: rgba(255,255,255,.8); }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { margin-top: 16px; color: rgba(255,255,255,.75); font-size: 14px; max-width: 420px; }
.foot-brand .slogan { color: var(--accent-light); font-style: italic; margin-top: 14px; font-family: 'Plus Jakarta Sans', sans-serif; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: 10px; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 999px;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant); transition: transform .25s; font-size: 28px;
}
.wa-float:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .menu-toggle { display: block; }
  .nav-open .nav-links { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .nav-open .nav-links a { padding: 12px 8px; border-radius: 8px; }
  .two-col, .grid-3, .grid-2, .grid-5, .steps, .testi-grid, .diff-list, .foot-grid { grid-template-columns: 1fr; }
  .diff-list { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .badge-norm { right: 12px; bottom: 12px; padding: 14px 18px; }
  .hero-inner { padding: 70px 0 90px; }
  section.section { padding: 60px 0; }
  .form-wrap { padding: 26px; }
}
@media (max-width: 600px) {
  .diff-list, .testi-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .hero-stats dd { font-size: 22px; }
}
