/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --navy:      #27348B;
  --sky:       #49C0EF;
  --midnight:  #1E2246;
  --navy-l:    #3A4AAD;
  --navy-d:    #1A2268;
  --sky-l:     #7DD6F5;
  --sky-d:     #2AAAD4;
  --mid-d:     #0F1226;
  --mid-l:     #2B3170;
  --white:     #FFFFFF;
  --off:       #F4F6FA;
  --g100:      #EAEDF5;
  --g200:      #D1D6E8;
  --g300:      #A8B0CC;
  --g400:      #7A85A8;
  --g500:      #505A7A;
  --g700:      #232940;

  --font-d: 'Montserrat', sans-serif;
  --font-b: 'Inter', sans-serif;

  --r-sm:  .25rem; --r-md:  .5rem;
  --r-lg:  .75rem; --r-xl:  1rem;
  --r-2xl: 1.5rem; --r-full:9999px;

  --ease: .25s ease;
  --ease-s: .4s ease;
  --spring: .4s cubic-bezier(.34,1.56,.64,1);

  /* semantic – light */
  --bg:        var(--off);
  --bg-s:      var(--white);
  --bg-muted:  var(--g100);
  --tx:        var(--midnight);
  --tx-2:      var(--g500);
  --tx-3:      var(--g400);
  --tx-inv:    var(--white);
  --tx-brand:  var(--navy);
  --tx-acc:    var(--sky-d);
  --bd:        var(--g200);
  --bd-m:      var(--g300);
  --nav-bg:    rgba(255,255,255,.95);
  --nav-bd:    var(--g200);
  --nav-tx:    var(--midnight);
  --nav-act:   var(--navy);
  --card-bg:   var(--white);
  --card-bd:   var(--g200);
  --card-sh:   0 2px 16px rgba(30,34,70,.08),0 1px 4px rgba(30,34,70,.05);
  --card-sh-h: 0 10px 32px rgba(30,34,70,.14),0 2px 8px rgba(30,34,70,.06);
  --inp-bg:    var(--white);
  --inp-bd:    var(--g300);
  --scroll-t:  var(--g100);
  --scroll-th: var(--g300);
  --scroll-thh:var(--navy);
  --sh-navy:   0 8px 30px rgba(39,52,139,.30);
  --sh-sky:    0 8px 30px rgba(73,192,239,.28);
}

[data-theme="dark"] {
  --bg: #1A1D3D; --bg-s: #2B3170; --bg-muted: #0F1226;
  --tx: #FFFFFF; --tx-2: #A8B0CC; --tx-3: #7A85A8; --tx-inv: #1E2246;
  --tx-brand: #49C0EF; --tx-acc: #FFFFFF; --bd: rgba(255,255,255,0.1); --bd-m: rgba(255,255,255,0.2);
  --nav-bg: rgba(26,29,61,0.95); --nav-bd: rgba(255,255,255,0.05); --nav-tx: #A8B0CC; --nav-act: #49C0EF;
  --card-bg: #2B3170; --card-bd: rgba(255,255,255,0.05); --card-sh: 0 4px 20px rgba(0,0,0,0.3); --card-sh-h: 0 10px 30px rgba(73,192,239,0.15);
  --inp-bg: rgba(255,255,255,0.05); --inp-bd: rgba(255,255,255,0.1);
  --scroll-t: #0F1226; --scroll-th: #49C0EF; --scroll-thh: #7DD6F5;
  --sh-navy: 0 8px 30px rgba(0,0,0,0.4); --sh-sky: 0 8px 30px rgba(73,192,239,0.25);
}
[data-theme="dark"] .hero { background: #0F1226; }
[data-theme="dark"] .hero-overlay { background: linear-gradient(90deg, #0F1226 0%, rgba(15,18,38,0.85) 50%, rgba(15,18,38,0.5) 100%); }
[data-theme="dark"] .hero-bg, [data-theme="dark"] .page-hero { background-color: #0F1226; }
[data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-nav { background: var(--sky); color: #1E2246; }
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] .btn-theme-toggle:hover { background: var(--bg-muted); }
.btn-nav:hover { background: var(--white); }
[data-theme="dark"] .missao-banner { background: linear-gradient(135deg, #0F1226 0%, #1A1D3D 100%); }

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-b); background: var(--bg); color: var(--tx);
       transition: background var(--ease-s), color var(--ease-s); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
::selection { background: var(--sky); color: var(--midnight); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scroll-t); }
::-webkit-scrollbar-thumb { background: var(--scroll-th); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thh); }

/* ── LAYOUT ──────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: var(--nav-bg); border-bottom: 1px solid var(--nav-bd);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background var(--ease-s), border-color var(--ease-s), box-shadow var(--ease);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(30,34,70,.12); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
}
.logo-icon {
  width: 36px; height: 36px; position: relative; flex-shrink: 0;
}
.logo-icon span {
  position: absolute; display: block; border-radius: 3px;
  transition: transform var(--spring);
}
.logo-icon span:nth-child(1) { width: 22px; height: 10px; background: var(--sky); top: 0; right: 0; }
.logo-icon span:nth-child(2) { width: 18px; height: 10px; background: #2A3060; top: 13px; left: 8px; }
.logo-icon span:nth-child(3) { width: 22px; height: 10px; background: var(--navy); bottom: 0; left: 0; }
.nav-logo:hover .logo-icon span:nth-child(1) { transform: translateX(3px); }
.nav-logo:hover .logo-icon span:nth-child(3) { transform: translateX(-3px); }
.logo-text {
  font-family: var(--font-d); font-size: .95rem; font-weight: 700;
  letter-spacing: .12em; color: var(--tx-brand);
  transition: color var(--ease-s);
}
.logo-sub {
  font-family: var(--font-b); font-size: .5rem; font-weight: 500;
  letter-spacing: .15em; color: var(--tx-3); text-transform: uppercase;
  display: block; margin-top: -2px;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-d); font-size: .8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--nav-tx);
  position: relative; transition: color var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--sky); transform: scaleX(0);
  transform-origin: center; transition: transform var(--ease);
}
.nav-links a:hover { color: var(--nav-act); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.btn-nav {
  font-family: var(--font-d); font-size: .75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: .55rem 1.4rem; background: var(--navy); color: var(--white);
  border: none; border-radius: 3px; cursor: pointer;
  box-shadow: var(--sh-navy); transition: background var(--ease), transform var(--spring), box-shadow var(--ease);
}
.btn-theme-toggle:hover { background: var(--bg-muted); }
.btn-nav:hover { background: var(--navy-d); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(39,52,139,.40); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--tx-brand); border-radius: 2px; transition: all var(--ease); }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--midnight);
}
/* ── CAROUSEL CSS ── */
.hero-carousel {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1.1);
  mix-blend-mode: luminosity;
}
.hero-slide.active {
  opacity: 0.35;
  transform: scale(1);
  z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--midnight) 0%, rgba(30,34,70,0.8) 50%, rgba(30,34,70,0.4) 100%);
}
[data-theme="dark"] .hero-overlay {
  background: linear-gradient(90deg, #0A0D1A 0%, rgba(10,13,26,0.85) 50%, rgba(10,13,26,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center;
  padding: 7rem 0 5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(73,192,239,.15); border: 1px solid rgba(73,192,239,.3);
  border-radius: var(--r-full); padding: .5rem 1.2rem;
  font-family: var(--font-d); font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; color: var(--sky); text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp .6s .1s both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky);
}

.hero-title {
  font-family: var(--font-d); font-weight: 800; line-height: 1.1;
  letter-spacing: .02em; color: var(--white); margin-bottom: 1.5rem;
  animation: fadeUp .6s .2s both;
}
.hero-title .line1 { font-size: clamp(2.5rem, 5vw, 4rem); display: block; }
.hero-title .line2 {
  font-size: clamp(2.5rem, 5vw, 4rem); display: block;
  color: var(--white); -webkit-text-stroke: 0;
}
.hero-title .accent {
  color: var(--sky);
}
.hero-desc {
  font-family: var(--font-b); font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 2.5rem;
  animation: fadeUp .6s .3s both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp .6s .4s both;
}
.btn-primary {
  font-family: var(--font-d); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 2rem; background: var(--navy); color: var(--white);
  border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  box-shadow: var(--sh-navy); transition: all var(--spring);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--navy-l); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(39,52,139,.5); }
.btn-outline {
  font-family: var(--font-d); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 2rem; background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.25); border-radius: 3px; cursor: pointer;
  transition: all var(--ease); display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-3px); }

/* ── Tracking Card ── */
.hero-visual-corporate {
  display: flex; justify-content: flex-end; align-items: center;
  animation: fadeUp .6s .3s both;
}
.tracking-card {
  width: 100%; max-width: 420px;
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  position: relative; z-index: 10;
}
[data-theme="dark"] .tracking-card {
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.tracking-card h3 {
  font-family: var(--font-d); font-size: 1.1rem; font-weight: 700;
  color: var(--tx-brand); margin-bottom: 0.5rem;
}
.tracking-card p {
  font-size: 0.85rem; color: var(--tx-2); margin-bottom: 1.5rem; line-height: 1.5;
}
.tracking-form { display: flex; flex-direction: column; gap: 1rem; }
.tracking-form input {
  background: var(--inp-bg); border: 1px solid var(--inp-bd);
  border-radius: var(--r-md); padding: 1.15rem 1rem; font-family: var(--font-b);
  font-size: 0.9rem; color: var(--tx); outline: none; width: 100%;
  transition: all var(--ease);
}
.tracking-form input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(73,192,239,.15); }
.tracking-form button {
  background: var(--navy); color: var(--white); border: none;
  border-radius: var(--r-md); padding: 1.15rem 1rem; font-family: var(--font-d);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; cursor: pointer; transition: all var(--spring);
  display: flex; justify-content: center; align-items: center; gap: 0.5rem;
}
.tracking-form button:hover { background: var(--sky-d); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
  animation: fadeUp .6s .5s both;
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-d); font-size: 1.75rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-num span { color: var(--sky); }
.stat-lbl { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .25rem; letter-spacing: .05em; }

@keyframes fadeUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }

/* ── DIVIDER ──────────────────────────────────────────── */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── SOBRE ───────────────────────────────────────────── */
.sobre { background: var(--bg); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.sobre-visual { position: relative; }
.sobre-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--midnight) 100%);
  border-radius: var(--r-2xl); padding: 3rem; color: var(--white); position: relative; overflow: hidden;
  box-shadow: var(--sh-navy);
}
.sobre-box::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(73,192,239,.08); pointer-events: none;
}
.sobre-box-tag {
  font-family: var(--font-d); font-size: .5rem; letter-spacing: .2em;
  color: var(--sky); text-transform: uppercase; margin-bottom: 1.5rem;
}
.sobre-box-title {
  font-family: var(--font-d); font-size: 1.6rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 1rem; color: var(--white);
}
.sobre-box-title em { color: var(--sky); font-style: normal; }
.sobre-box p { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.7); }
.sobre-floater {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--bg-s); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  box-shadow: var(--card-sh); min-width: 180px;
}
.sobre-floater-label {
  font-family: var(--font-d); font-size: .5rem; letter-spacing: .18em;
  color: var(--tx-acc); text-transform: uppercase; margin-bottom: .5rem;
}
.sobre-floater-num {
  font-family: var(--font-d); font-size: 2rem; font-weight: 800; color: var(--tx-brand);
}
.sobre-floater-sub { font-size: .7rem; color: var(--tx-2); }

.section-tag {
  font-family: var(--font-d); font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--sky-d);
  margin-bottom: 1rem;
}
[data-theme="dark"] .section-tag { color: var(--sky); }
.section-title {
  font-family: var(--font-d); font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: .02em;
  color: var(--tx-brand); margin-bottom: 1.25rem;
}
.section-title em { color: var(--sky); font-style: normal; }
.section-desc { font-size: 1rem; line-height: 1.75; color: var(--tx-2); margin-bottom: 2rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: var(--tx-2); line-height: 1.5;
}
.check-list li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px;
  border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--sky));
  margin-top: 2px; display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

/* ── SERVIÇOS ─────────────────────────────────────────── */
.servicos { background: var(--bg-muted); }
[data-theme="dark"] .servicos { background: #080B18; }
.services-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.scard {
  display: block;
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 2rem; cursor: pointer;
  box-shadow: var(--card-sh); transition: all var(--ease-s);
  position: relative; overflow: hidden;
}
.scard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform var(--ease-s);
}
.scard:hover { box-shadow: var(--card-sh-h); transform: translateY(-4px); border-color: var(--bd-m); }
.scard:hover::before { transform: scaleX(1); }

.scard-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(39,52,139,.1), rgba(73,192,239,.08));
  border: 1px solid rgba(39,52,139,.15); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.25rem; font-size: 1.35rem;
  color: var(--navy);
  transition: all var(--ease);
}
[data-theme="dark"] .scard-icon {
  background: linear-gradient(135deg,rgba(39,52,139,.25),rgba(73,192,239,.12));
  border-color: rgba(73,192,239,.2); color: var(--sky-l);
}
.scard:hover .scard-icon { background: linear-gradient(135deg, var(--navy), var(--sky-d)); border-color: transparent; color: var(--white); }
.scard-title {
  font-family: var(--font-d); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .05em; color: var(--tx-brand); margin-bottom: .75rem;
  text-transform: uppercase;
}
.scard-desc { font-size: .875rem; line-height: 1.7; color: var(--tx-2); }
.scard-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag {
  font-family: var(--font-d); font-size: .45rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--r-full);
  background: rgba(39,52,139,.06); border: 1px solid rgba(39,52,139,.12);
  color: var(--navy);
}
[data-theme="dark"] .tag { background: rgba(73,192,239,.08); border-color: rgba(73,192,239,.18); color: var(--sky-l); }

/* ── MISSÃO / VALORES ────────────────────────────────── */
.valores { background: var(--bg); }
.valores-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.valores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.vcard {
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 1.75rem; text-align: center;
  box-shadow: var(--card-sh); transition: all var(--ease-s);
  position: relative; overflow: hidden;
}
.vcard:hover { box-shadow: var(--card-sh-h); transform: translateY(-3px); }
.vcard-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg); margin: 0 auto .85rem;
  background: linear-gradient(135deg, rgba(39,52,139,.08), rgba(73,192,239,.06));
  border: 1px solid rgba(39,52,139,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--navy);
  transition: all var(--ease-s);
}
[data-theme="dark"] .vcard-icon {
  background: linear-gradient(135deg,rgba(39,52,139,.22),rgba(73,192,239,.10));
  border-color: rgba(73,192,239,.18); color: var(--sky-l);
}
.vcard:hover .vcard-icon { background: linear-gradient(135deg,var(--navy),var(--sky-d)); color: var(--white); border-color: transparent; }
.vcard-title {
  font-family: var(--font-d); font-size: 1rem; font-weight: 700;
  letter-spacing: .08em; color: var(--tx-brand); text-transform: uppercase;
  margin-bottom: .6rem;
}
.vcard-desc { font-size: .8rem; color: var(--tx-2); line-height: 1.6; }

/* ── MISSÃO BANNER ─────────────────────────────────── */
.missao-banner {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--navy) 50%, #1C3A8A 100%);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.missao-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(73,192,239,.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
.missao-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.missao-text .section-tag { color: var(--sky); }
.missao-text .section-title { color: var(--white); }
.missao-text .section-title em { color: var(--sky); }
.missao-text .section-desc { color: rgba(255,255,255,.7); }
.missao-quote {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--sky); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 1.5rem 1.75rem; border-radius: var(--r-lg); border-left: 3px solid var(--sky);
}
.missao-quote p {
  font-family: var(--font-b); font-size: 1.05rem; font-style: italic;
  line-height: 1.7; color: rgba(255,255,255,.85);
}

.missao-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.mstat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 2rem; text-align: center;
  transition: all var(--ease);
}
.mstat:hover { background: rgba(255,255,255,.1); transform: scale(1.02); }
.mstat-num {
  font-family: var(--font-d); font-size: 2.5rem; font-weight: 900;
  color: var(--sky); line-height: 1;
}
.mstat-lbl { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: .4rem; letter-spacing: .05em; }

/* ── CONTACTO ─────────────────────────────────────────── */
.contacto { background: var(--bg); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.ccard {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  box-shadow: var(--card-sh); transition: all var(--ease);
}
.ccard:hover { border-color: var(--sky); transform: translateX(4px); box-shadow: var(--card-sh-h); }
.ccard-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.ccard-icon.phone { background: linear-gradient(135deg,rgba(39,52,139,.12),rgba(73,192,239,.08)); color: var(--navy); }
.ccard-icon.email { background: linear-gradient(135deg,rgba(73,192,239,.12),rgba(39,52,139,.08)); color: var(--sky-d); }
.ccard-icon.addr  { background: linear-gradient(135deg,rgba(39,52,139,.1),rgba(26,34,104,.15)); color: var(--navy); }
[data-theme="dark"] .ccard-icon.phone,
[data-theme="dark"] .ccard-icon.email,
[data-theme="dark"] .ccard-icon.addr { color: var(--sky-l); }
.ccard-label {
  font-family: var(--font-d); font-size: .5rem; font-weight: 600;
  letter-spacing: .18em; color: var(--tx-3); text-transform: uppercase; margin-bottom: .3rem;
}
.ccard-val { font-size: .95rem; font-weight: 600; color: var(--tx); }
.ccard-val a { color: var(--tx); transition: color var(--ease); }
.ccard-val a:hover { color: var(--sky-d); }
[data-theme="dark"] .ccard-val a:hover { color: var(--sky); }

/* Contact row — 3 cards side by side */
.contact-cards-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 3rem;
}

/* Contact social block */
.contact-social { text-align: center; }
.contact-social-label {
  font-family: var(--font-d); font-size: .55rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 1.25rem;
}
.contact-social-links { display: flex; justify-content: center; gap: 1rem; }
.csocial {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .8rem 1.75rem; border-radius: var(--r-full);
  font-family: var(--font-d); font-size: .6rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all var(--spring); border: 2px solid transparent;
}
.csocial i { font-size: 1rem; }
.csocial-fb {
  background: #1877F2; color: var(--white);
  box-shadow: 0 6px 24px rgba(24,119,242,.30);
}
.csocial-fb:hover { background: #1464d3; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(24,119,242,.45); color: var(--white); }
.csocial-ig {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: var(--white); box-shadow: 0 6px 24px rgba(220,39,67,.25);
}
.csocial-ig:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(220,39,67,.40); color: var(--white); }

.contact-form { background: var(--card-bg); border: 1px solid var(--card-bd); border-radius: var(--r-2xl); padding: 2.5rem; box-shadow: var(--card-sh); }
.form-title {
  font-family: var(--font-d); font-size: .9rem; font-weight: 700;
  letter-spacing: .08em; color: var(--tx-brand); text-transform: uppercase; margin-bottom: 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label {
  font-family: var(--font-d); font-size: .5rem; font-weight: 700;
  letter-spacing: .18em; color: var(--tx-3); text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--inp-bg); border: 1px solid var(--inp-bd);
  border-radius: var(--r-md); padding: .75rem 1rem;
  font-family: var(--font-b); font-size: .875rem; color: var(--tx);
  outline: none; transition: all var(--ease); width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--tx-3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sky); box-shadow: 0 0 0 3px rgba(73,192,239,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--bg-s); color: var(--tx); }
.btn-submit {
  width: 100%; padding: 1rem; font-family: var(--font-d); font-size: .65rem;
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--navy), var(--sky-d)); color: var(--white);
  border: none; border-radius: var(--r-md); cursor: pointer;
  box-shadow: var(--sh-navy); transition: all var(--spring);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(39,52,139,.5); filter: brightness(1.1); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--mid-d) 0%, #060813 100%);
  color: rgba(255,255,255,.7); padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.5); margin-top: 1rem; max-width: 280px; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.fsocial {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.5); cursor: pointer;
  transition: all var(--ease); text-decoration: none;
}
.fsocial:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  font-family: var(--font-d); font-size: .55rem; font-weight: 700;
  letter-spacing: .2em; color: var(--white); text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.5); transition: color var(--ease); }
.footer-col ul a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(73,192,239,.8); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--sky); }

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── MOBILE NAV ──────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--nav-bg); backdrop-filter: blur(20px); z-index: 400;
  padding: 2rem; flex-direction: column; gap: 1.5rem;
  border-top: 1px solid var(--nav-bd);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-d); font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--nav-tx);
  padding: 1rem 0; border-bottom: 1px solid var(--bd);
  transition: color var(--ease);
}
.mobile-nav a:hover { color: var(--nav-act); }

/* ── WHATSAPP BUTTON ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--spring);
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  color: #FFF;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .valores-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-cards-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .burger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-floater { position: relative; bottom: auto; right: auto; margin-top: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .missao-inner { grid-template-columns: 1fr; }
  .missao-stats { grid-template-columns: repeat(2,1fr); }
  .aduaneiro-grid { grid-template-columns: 1fr; }
  .ad-visual { position: relative; top: auto; }
  .contact-cards-row { grid-template-columns: 1fr; }
  .contact-social-links { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float {
    width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 26px;
  }
}
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .valores-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
}


/* ── SHARED SERVICE DETAILS STYLES (FROM PROTOTYPE SUBPAGES) ────────────────── */

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  padding: 12rem 0 6rem;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.25; mix-blend-mode: luminosity;
}
.page-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--midnight) 0%, rgba(30,34,70,0.5) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto;
}
.page-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(73,192,239,.15); border: 1px solid rgba(73,192,239,.3);
  border-radius: var(--r-full); padding: .5rem 1.2rem;
  font-family: var(--font-d); font-size: .6rem; font-weight: 700; letter-spacing: .2em; color: var(--sky); text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.page-title {
  font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.page-desc {
  font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,.8);
}

/* ── CONTENT AREA ────────────────────────────────────── */
.service-details {
  display: grid; grid-template-columns: 1fr 350px; gap: 4rem; align-items: start;
}
.main-content h3 {
  font-family: var(--font-d); font-size: 1.75rem; font-weight: 800; color: var(--tx-brand); margin-bottom: 1.5rem; margin-top: 3rem;
}
.main-content h3:first-child { margin-top: 0; }
.main-content p {
  font-size: 1.05rem; line-height: 1.8; color: var(--tx-2); margin-bottom: 1.5rem;
}
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 1.75rem;
  box-shadow: var(--card-sh); transition: transform var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--sky); }
.f-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(39,52,139,.1), rgba(73,192,239,.08));
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--navy); margin-bottom: 1.25rem;
}
[data-theme="dark"] .f-icon { background: linear-gradient(135deg, rgba(39,52,139,.3), rgba(73,192,239,.15)); color: var(--sky-l); }
.feature-card h4 { font-family: var(--font-d); font-size: 0.95rem; font-weight: 700; color: var(--tx); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ── SIDEBAR ─────────────────────────────────────────── */
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--card-sh);
  margin-bottom: 2rem;
}
.sidebar-widget h4 {
  font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--tx-brand); margin-bottom: 1.25rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--bd);
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.service-list a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.95rem; font-weight: 500; color: var(--tx-2); padding: 0.75rem 1rem;
  border-radius: var(--r-md); background: var(--bg-muted); transition: all var(--ease);
}
.service-list a.active, .service-list a:hover {
  background: var(--navy); color: var(--white);
}

.cta-widget {
  background: linear-gradient(145deg, var(--navy) 0%, var(--midnight) 100%);
  color: var(--white); text-align: center; border: none;
}
.cta-widget h4 { color: var(--white); border-color: rgba(255,255,255,.1); }
.cta-widget p { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.cta-btn {
  display: inline-block; width: 100%; padding: 1rem;
  background: var(--sky); color: var(--midnight); font-family: var(--font-d);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: var(--r-md); transition: background var(--ease);
}
.cta-btn:hover { background: var(--white); }

@media (max-width: 992px) {
  .service-details { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── SERVICES FILTER TABS ── */
.services-filter {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  background: var(--bg-s);
  border: 1px solid var(--bd);
  border-radius: var(--r-full);
  color: var(--tx-2);
  cursor: pointer;
  transition: all var(--ease);
}

.filter-btn:hover {
  border-color: var(--sky-d);
  color: var(--tx);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--sh-navy);
}

[data-theme="dark"] .filter-btn.active {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--midnight);
  box-shadow: var(--sh-sky);
}

.scard.card-hidden {
  display: none !important;
}
