:root {
  --navy: #2b3a5b;
  --navy-dark: #22304c;
  --green: #8dc63f;
  --green-dark: #76ab2f;
  --cream: #efeee2;
  --cream-dark: #e4e2d2;
  --ink: #1d2740;
  --muted: #5a6478;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(43, 58, 91, 0.35);
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 700; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 46px; width: auto; display: block; }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-list a { font-weight: 600; font-size: 0.95rem; color: var(--navy); transition: color 0.2s; }
.nav-list a:hover { color: var(--green-dark); }
.nav-cta {
  background: var(--green); color: var(--navy) !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: 0.3s; }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(141, 198, 63, 0.22), transparent 45%),
    linear-gradient(135deg, #2b3a5b 0%, #22304c 60%, #1b2740 100%);
}
.hero-bg::after {
  content: ""; position: absolute; right: -8%; bottom: -30%;
  width: 520px; height: 520px; border-radius: 50%;
  border: 90px solid rgba(141, 198, 63, 0.10);
}
.hero-inner { position: relative; padding: clamp(60px, 10vw, 120px) 24px; }
.hero-content { max-width: 720px; }
.eyebrow {
  display: inline-block; background: rgba(141, 198, 63, 0.18); color: var(--green);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .hl { color: var(--green); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.85); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }

.btn {
  display: inline-block; font-weight: 700; padding: 15px 30px; border-radius: 999px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(141, 198, 63, 0.6); }
.btn-outline { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.9rem; color: var(--green); font-weight: 800; }
.hero-stats span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2 { color: var(--white); }

.section-tag {
  display: inline-block; color: var(--green-dark); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-tag.light { color: var(--green); }
.section-intro { max-width: 720px; color: var(--muted); margin-bottom: 36px; font-size: 1.05rem; }
.section-dark .section-intro { color: rgba(255,255,255,0.8); }

.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }

.about-card {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow); position: relative;
  border-left: 6px solid var(--green);
}
.about-card blockquote { font-size: 1.3rem; font-weight: 600; line-height: 1.5; font-style: italic; }

/* ---------- CARDS ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.card {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 10px 28px -20px rgba(43, 58, 91, 0.3); transition: transform 0.25s, box-shadow 0.25s;
}
.section-alt .card { background: var(--white); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card-accent { border-top: 4px solid var(--green); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-dark); font-weight: 900; background: rgba(141, 198, 63, 0.15);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem;
}

/* ---------- VIDEO ---------- */
.video-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.video-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.video-wrap {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #000; max-width: 420px; margin: 0 auto;
}
.video-wrap video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* ---------- SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.service {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.25s, border-color 0.25s;
}
.service:hover { transform: translateY(-4px); border-color: var(--green); }
.service-num { display: block; font-size: 1.5rem; font-weight: 900; color: var(--green); margin-bottom: 10px; }
.service p { font-weight: 600; color: var(--navy); font-size: 0.98rem; line-height: 1.4; }

/* ---------- REGIONS ---------- */
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 10px; }
.region {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius);
  padding: 24px; border-top: 4px solid var(--navy);
}
.region h3 { color: var(--green-dark); margin-bottom: 8px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; }
.region p { color: var(--muted); font-size: 0.95rem; }

/* ---------- RESPONSABILIDADES ---------- */
.resp-list { list-style: none; display: grid; gap: 14px; }
.resp-list li {
  background: var(--cream); border-radius: 12px; padding: 16px 20px 16px 52px;
  position: relative; font-weight: 600; color: var(--navy);
}
.resp-list li::before {
  content: "→"; position: absolute; left: 20px; color: var(--green-dark); font-weight: 900;
}

/* ---------- CONTATO ---------- */
.contato-inner { text-align: center; }
.contato-inner h2 { max-width: 760px; margin: 0 auto 36px; }
.contato-cards { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.contato-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 28px 40px; min-width: 260px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.contato-card:hover { transform: translateY(-4px); background: rgba(141,198,63,0.12); border-color: var(--green); }
.contato-icon { font-size: 1.8rem; }
.contato-label { color: rgba(255,255,255,0.65); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contato-card strong { color: var(--white); font-size: 1.25rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 56px 0 32px; text-align: center; }
.footer-logo {
  height: 48px; width: auto; margin: 0 auto 18px; display: block;
  background: #fff; padding: 12px 20px; border-radius: 12px; box-sizing: content-box;
}
.footer-tagline { font-size: 1.05rem; color: var(--green); font-weight: 600; margin-bottom: 20px; }
.footer-contact { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.footer-contact a { font-weight: 600; color: var(--white); }
.footer-contact a:hover { color: var(--green); }
.footer-copy { font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--cream-dark);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-list.open { max-height: 460px; }
  .nav-list li { border-top: 1px solid var(--cream); }
  .nav-list a { display: block; padding: 16px 24px; }
  .nav-cta { border-radius: 0; text-align: center; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .video-block { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .contato-card { min-width: 100%; }
}
