/* ===== TOKENS ===== */
:root {
  --navy: #0B5583;
  --navy-dark: #073d5e;
  --navy-deep: #052e47;
  --cyan: #A9D8DE;
  --cyan-soft: #d6eef1;
  --teal: #1f8ca6;
  --ink: #12303f;
  --muted: #5c7180;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --line: #e2ebef;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(11, 85, 131, .28);
  --shadow-sm: 0 8px 24px -12px rgba(11, 85, 131, .25);
  --container: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-dark); }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }
.btn-whats { background: #25D366; color: #fff; }
.btn-whats:hover { background: #1eb856; }
.btn-support { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-support:hover { background: #17758b; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand-logo { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; color: var(--ink); font-size: .96rem; transition: color .15s; }
.nav a:hover { color: var(--navy); }
.nav .nav-cta {
  background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600;
}
.nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }
.nav .nav-support {
  border: 2px solid var(--teal); color: var(--teal); padding: 8px 18px; border-radius: 999px; font-weight: 600;
}
.nav .nav-support:hover { background: var(--teal); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy-dark); border-radius: 2px; transition: .25s; }

/* ===== HERO ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(169,216,222,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(31,140,166,.45), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 96px 24px 104px; max-width: 900px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .78rem;
  color: var(--cyan); margin-bottom: 18px;
}
.eyebrow-dark { color: var(--teal); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); color: #fff; font-weight: 800; letter-spacing: -.01em; }
.hero h1 span { color: var(--cyan); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #dceaf0; margin: 22px 0 34px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.stat span { font-size: .92rem; color: #cadfe8; margin-top: 6px; max-width: 190px; }

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== SERVICE CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--navy); margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card-highlight {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent; color: #fff;
}
.card-highlight h3 { color: #fff; }
.card-highlight p { color: #cfe3ec; }
.card-highlight .card-icon { background: rgba(255,255,255,.14); color: var(--cyan); }
.badge-new {
  position: absolute; top: 18px; right: 18px; background: var(--cyan); color: var(--navy-dark);
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-media { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow-sm); }
.about-media img { width: 100%; max-width: 340px; margin: 0 auto; }
.about-badge {
  position: absolute; bottom: -22px; right: 24px; background: var(--navy);
  color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.about-badge span { font-size: .82rem; color: var(--cyan); }
.about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 700; margin: 12px 0 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--cyan-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5583' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* ===== DIFERENCIAIS ===== */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.diff { padding: 30px 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.diff-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--cyan); }
.diff h3 { font-size: 1.1rem; font-weight: 600; margin: 12px 0 8px; }
.diff p { color: var(--muted); font-size: .94rem; }

/* ===== CONTATO ===== */
.contato { position: relative; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contato-info h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 700; margin: 10px 0 16px; }
.contato-lead { color: #cfe3ec; margin-bottom: 28px; }
.contato-list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.contato-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contato-list a:hover { color: var(--cyan); }
.ci { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--cyan); flex-shrink: 0; }
.ci svg { width: 22px; height: 22px; }

.contato-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: #1a9c5b; }
.form-note.err { color: #d4483b; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); color: #b8cdd8; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 60px 24px 40px; }
.footer-logo { height: 40px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; margin-bottom: 10px; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-size: .88rem; }
.footer-bottom a:hover { color: var(--cyan); }

/* ===== WHATSAPP FLOAT ===== */
.whats-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; transform: translateY(-140%); transition: transform .3s ease;
    box-shadow: var(--shadow-sm); align-items: stretch;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-support { text-align: center; margin-top: 12px; border-bottom: 0; }
  .nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .stat strong { font-size: 1.8rem; }
  .footer-bottom .container { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
