/* ============================================================
   INTERMODAL — Design System (Dark corporate)
   Identidade oficial: Segurança · Excelência · Modernidade
   Paleta: #179CFF · #2E75B5 · #103754
   ============================================================ */

:root {
  /* Brand palette — official */
  --brand-light: #179CFF;
  --brand-mid: #2E75B5;
  --brand-dark: #103754;

  /* Background scale (dark base, corporate tone) */
  --bg-0: #061425;
  --bg-1: #0a1f3a;
  --bg-2: #103754;
  --bg-3: #1a4a73;

  /* Surface (glass) */
  --surface: rgba(16, 55, 84, 0.45);
  --surface-strong: rgba(26, 74, 115, 0.7);

  /* Borders */
  --border: rgba(23, 156, 255, 0.12);
  --border-strong: rgba(23, 156, 255, 0.32);

  /* Text */
  --text: #f1f5fb;
  --text-muted: #9eb3cf;
  --text-dim: #6a82a3;

  /* Effects */
  --glow: 0 0 32px rgba(23, 156, 255, 0.25);
  --glow-soft: 0 0 48px rgba(23, 156, 255, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Atmospheric backdrop — subtle, corporate */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(23, 156, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(46, 117, 181, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(16, 55, 84, 0.6), transparent 70%);
  z-index: -2;
  pointer-events: none;
}

#network-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-light);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(23, 156, 255, 0.08);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 8px var(--brand-light);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-light) 60%, #4FB5FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.muted { color: var(--text-muted); }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

section {
  padding: clamp(80px, 11vw, 130px) 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.section-head p { max-width: 640px; }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(6, 20, 37, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 90px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.nav.scrolled .brand img { height: 70px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  position: relative;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); background: rgba(23, 156, 255, 0.08); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 8px var(--brand-light);
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  color: #fff;
  box-shadow: 0 8px 24px rgba(23, 156, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(23, 156, 255, 0.42);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s var(--ease);
}

.btn-primary:hover::before { left: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(23, 156, 255, 0.08);
  border-color: var(--brand-light);
}

.btn .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 200px 0 80px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero h1 { font-weight: 700; }

.hero h1 .accent {
  display: block;
  background: linear-gradient(135deg, #4FB5FF, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 540px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-value span { color: var(--brand-light); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
  font-weight: 500;
}

/* Hero photo backdrop */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-1);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(23, 156, 255, 0.15);
}

.hero-photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(23, 156, 255, 0.15), transparent 40%),
    linear-gradient(180deg, transparent 50%, rgba(6, 20, 37, 0.75));
  z-index: 1;
  pointer-events: none;
}

.hero-photo-frame .photo-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(6, 20, 37, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.hero-photo-frame .photo-tag-pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 8px var(--brand-light);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-photo-frame .photo-tag-text { font-size: 0.85rem; }
.hero-photo-frame .photo-tag-text strong { color: var(--text); display: block; }
.hero-photo-frame .photo-tag-text span { color: var(--text-muted); font-size: 0.78rem; }

/* Photo banner — full-width */
.photo-banner {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-1);
}

.photo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.photo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 37, 0.92) 0%, rgba(6, 20, 37, 0.5) 50%, rgba(6, 20, 37, 0.2) 100%);
  z-index: 1;
}

.photo-banner-content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 70px);
  max-width: 540px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.photo-banner-content h2 { color: #fff; }
.photo-banner-content p { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 720px) {
  .photo-banner { height: 380px; }
  .photo-banner::before {
    background: linear-gradient(180deg, rgba(6, 20, 37, 0.4) 0%, rgba(6, 20, 37, 0.92) 70%);
  }
}

/* Trust strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: fit-content;
}

.trust-strip .oea-badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00b4a0, #1565b5);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.62rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.trust-strip-text { font-size: 0.85rem; }
.trust-strip-text strong { display: block; color: var(--text); font-weight: 600; }
.trust-strip-text span { color: var(--text-dim); font-size: 0.78rem; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s var(--ease);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(23, 156, 255, 0.4), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(23, 156, 255, 0.18), rgba(46, 117, 181, 0.06));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--brand-light);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ============================================================
   Cargo types
   ============================================================ */
.cargo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cargo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
}

.cargo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.cargo-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cargo-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 20, 37, 0.85));
}

.cargo-image svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.95);
  z-index: 1;
}

.cargo-content { padding: 24px; flex: 1; }
.cargo-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}
.cargo-content p { font-size: 0.92rem; color: var(--text-muted); }

/* ============================================================
   Page hero
   ============================================================ */
.page-hero {
  padding: 220px 0 70px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 16px; font-size: clamp(2.3rem, 4.5vw, 3.6rem); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .eyebrow { margin-bottom: 24px; }

/* ============================================================
   Clientes hero (with photo collage)
   ============================================================ */
.clientes-hero {
  padding: 200px 0 60px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.clientes-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.clientes-hero-content { display: flex; flex-direction: column; gap: 20px; }
.clientes-hero-content h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 0; }
.clientes-hero-content p { max-width: 480px; margin: 0; font-size: 1.05rem; }

.clientes-hero-meta {
  display: flex;
  gap: 28px;
  padding-top: 22px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.clientes-hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.clientes-hero-meta strong {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--brand-light);
  letter-spacing: -0.02em;
  line-height: 1;
}
.clientes-hero-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

/* Photo collage on the right */
.clientes-hero-collage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}

.collage-photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6), 0 0 24px rgba(23, 156, 255, 0.15);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collage-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 20, 37, 0.85));
  pointer-events: none;
}

.collage-photo .caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.collage-photo .caption small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--brand-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Positions */
.collage-photo-1 {
  top: 0;
  right: 0;
  width: 62%;
  aspect-ratio: 4/3;
  transform: rotate(2deg);
  z-index: 3;
}

.collage-photo-2 {
  bottom: 22%;
  left: 0;
  width: 52%;
  aspect-ratio: 3/4;
  transform: rotate(-3deg);
  z-index: 2;
}

.collage-photo-3 {
  bottom: 0;
  right: 5%;
  width: 50%;
  aspect-ratio: 4/3;
  transform: rotate(-1deg);
  z-index: 1;
}

.clientes-hero-collage:hover .collage-photo-1 { transform: rotate(2deg) translateY(-6px); }
.clientes-hero-collage:hover .collage-photo-2 { transform: rotate(-3deg) translateY(-6px); }
.clientes-hero-collage:hover .collage-photo-3 { transform: rotate(-1deg) translateY(-6px); }

/* Floating partner badge */
.collage-badge {
  position: absolute;
  top: 38%;
  right: 56%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  display: grid;
  place-items: center;
  padding: 14px;
  z-index: 4;
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.5), 0 0 28px rgba(23, 156, 255, 0.4);
  animation: badgeFloat 4s ease-in-out infinite;
}

.collage-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .clientes-hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .clientes-hero-content { text-align: center; align-items: center; }
  .clientes-hero-content p { margin: 0 auto; }
  .clientes-hero-meta { justify-content: center; }
  .clientes-hero-collage { margin: 0 auto; max-width: 480px; }
}

@media (max-width: 720px) {
  .clientes-hero-meta { flex-wrap: wrap; gap: 16px 28px; }
  .collage-badge { width: 64px; height: 64px; padding: 10px; }
}

/* ============================================================
   Split
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split-content h2 { margin-bottom: 22px; }
.split-content p + p { margin-top: 14px; }

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  display: grid;
  place-items: center;
}

.split-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(23, 156, 255, 0.18), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 117, 181, 0.12), transparent 50%);
}

.split-visual-content {
  position: relative;
  padding: 40px;
  text-align: center;
}

/* Photo variant */
.split-visual.has-photo { background: var(--bg-1); }
.split-visual.has-photo::before { display: none; }
.split-visual.has-photo .photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.split-visual.has-photo .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 37, 0.1) 0%, rgba(6, 20, 37, 0.85) 100%);
  z-index: 1;
}
.split-visual.has-photo .split-visual-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px;
  align-self: end;
  text-align: left;
}

/* ============================================================
   OEA Visual (illustration badge)
   ============================================================ */
.oea-visual {
  aspect-ratio: 4/5;
  background: radial-gradient(ellipse at 50% 40%, rgba(23, 156, 255, 0.15), rgba(6, 20, 37, 0.6) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 30px;
}

.oea-visual::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(23, 156, 255, 0.18), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(252, 185, 28, 0.06), transparent 50%);
}

.oea-badge {
  width: 78%;
  max-width: 380px;
  aspect-ratio: 1;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(23, 156, 255, 0.3));
}

.oea-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.oea-tagline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.oea-tagline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.oea-tagline-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.oea-tagline-row .dot-green { background: #4ade80; box-shadow: 0 0 10px rgba(74, 222, 128, 0.6); }
.oea-tagline-row .dot-blue { background: var(--brand-light); box-shadow: 0 0 10px rgba(23, 156, 255, 0.6); }
.oea-tagline-row .dot-yellow { background: #fcb91c; box-shadow: 0 0 10px rgba(252, 185, 28, 0.6); }

/* ============================================================
   Cargo Flow (infográfico jornada da carga)
   ============================================================ */
.cargo-flow-wrap {
  position: relative;
  padding: 56px 32px;
  background:
    linear-gradient(180deg, rgba(23, 156, 255, 0.04), rgba(16, 55, 84, 0.18)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cargo-flow-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(23, 156, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(74, 222, 128, 0.06), transparent 50%);
  pointer-events: none;
}

.cargo-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
  z-index: 1;
}

.flow-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px;
  position: relative;
}

.flow-step-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-light);
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(23, 156, 255, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.flow-step-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(23, 156, 255, 0.25), transparent 60%),
    linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--brand-light);
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 24px rgba(23, 156, 255, 0.2);
  transition: all 0.3s var(--ease);
}

.flow-step-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(23, 156, 255, 0.3);
  animation: flowRing 3s ease-in-out infinite;
}

.flow-step:nth-child(1) .flow-step-icon::after { animation-delay: 0s; }
.flow-step:nth-child(3) .flow-step-icon::after { animation-delay: 0.6s; }
.flow-step:nth-child(5) .flow-step-icon::after { animation-delay: 1.2s; }
.flow-step:nth-child(7) .flow-step-icon::after { animation-delay: 1.8s; }

@keyframes flowRing {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
}

.flow-step-icon svg { width: 36px; height: 36px; }

.flow-step:hover .flow-step-icon {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(23, 156, 255, 0.35), 0 0 36px rgba(23, 156, 255, 0.3);
}

.flow-step h3 {
  font-size: 1.05rem;
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--text);
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.45;
}

/* Animated connector line between steps */
.flow-line {
  position: absolute;
  top: 30px;
  height: 2px;
  z-index: 0;
}

.flow-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Place lines between icons (after step nums) — 4 steps, 3 gaps */
.flow-line-1 { left: 12.5%; width: 25%; top: 60px; }
.flow-line-2 { left: 37.5%; width: 25%; top: 60px; }
.flow-line-3 { left: 62.5%; width: 25%; top: 60px; }

@media (max-width: 720px) {
  .cargo-flow { grid-template-columns: 1fr; gap: 36px; }
  .flow-line { display: none; }
  .flow-step p { max-width: 100%; }
}

/* ============================================================
   Operações
   ============================================================ */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.op-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
}

.op-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.op-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 40px;
  margin-bottom: 14px;
}

.op-card h3 { font-size: 1.05rem; color: var(--text); }

/* ============================================================
   Terminals
   ============================================================ */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.terminal-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.terminal-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(23, 156, 255, 0.12), rgba(16, 55, 84, 0.4));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.terminal-header .pin {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(23, 156, 255, 0.15);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--brand-light);
  flex-shrink: 0;
}

.terminal-header .pin svg { width: 18px; height: 18px; }
.terminal-header h3 { color: var(--text); font-size: 1.1rem; line-height: 1.2; }
.terminal-header .tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--brand-light);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}

.terminal-body { padding: 24px 28px; }
.terminal-body p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 6px; }
.terminal-body p strong { color: var(--text); font-weight: 500; }

.terminal-body .phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--brand-light);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ============================================================
   OEA
   ============================================================ */
.oea-cert {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(23, 156, 255, 0.05), rgba(16, 55, 84, 0.4));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.oea-cert::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(23, 156, 255, 0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.oea-seal {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.oea-seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(23, 156, 255, 0.4);
  animation: rotate 40s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.oea-seal-body {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(23, 156, 255, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  box-shadow: var(--glow-soft);
}

.oea-seal-body .label {
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  color: var(--brand-light);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.oea-seal-body .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  font-style: italic;
}

.oea-seal-body .type {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.oea-info h2 { margin-bottom: 16px; }

.oea-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.oea-meta-item .key {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}

.oea-meta-item .value {
  font-weight: 500;
  color: var(--text);
  font-size: 0.96rem;
}

.status-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
}

.status-active::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================================
   Awards
   ============================================================ */
.awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.award {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(255, 200, 50, 0.06), rgba(23, 156, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.award-medal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4c430, #c98c1c);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(244, 196, 48, 0.3);
}

.award-text strong { display: block; color: var(--text); font-weight: 600; }
.award-text span { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================================
   Partners carousel
   ============================================================ */
.partners-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(16, 55, 84, 0.25), transparent);
}

.partners-head {
  text-align: center;
  margin-bottom: 40px;
}

.partners-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 600; }

.partners-carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  width: max-content;
  align-items: center;
}

@keyframes scroll {
  to { transform: translateX(calc(-50% - 30px)); }
}

.partner {
  min-width: 180px;
  height: 80px;
  display: grid;
  place-items: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease);
}

.partner:hover { transform: scale(1.05); }

.partner img { max-height: 50px; width: auto; }

.partners-carousel:hover .partners-track { animation-play-state: paused; }

/* ============================================================
   Clients grid
   ============================================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client-tile {
  height: 130px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 20px;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

.client-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(23, 156, 255, 0.18); }

.client-tile span {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
  text-align: center;
}

.client-tile img {
  max-height: 70%;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Daily gallery (Nosso dia a dia) — masonry-like grid */
.daily-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.daily-gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.daily-gallery-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.daily-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.daily-gallery-item:hover img { transform: scale(1.06); }

.daily-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 20, 37, 0.7));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.daily-gallery-item:hover::after { opacity: 1; }

.daily-gallery-item .tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}

.daily-gallery-item:hover .tag { opacity: 1; transform: translateY(0); }

/* Sizing patterns for the masonry feel */
.daily-gallery-item.size-lg { grid-column: span 6; grid-row: span 2; }
.daily-gallery-item.size-md { grid-column: span 4; grid-row: span 2; }
.daily-gallery-item.size-sm { grid-column: span 3; grid-row: span 1; }
.daily-gallery-item.size-wide { grid-column: span 8; grid-row: span 1; }
.daily-gallery-item.size-tall { grid-column: span 3; grid-row: span 2; }

@media (max-width: 1024px) {
  .daily-gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
  .daily-gallery-item.size-lg { grid-column: span 6; }
  .daily-gallery-item.size-md { grid-column: span 3; }
  .daily-gallery-item.size-sm { grid-column: span 3; grid-row: span 1; }
  .daily-gallery-item.size-wide { grid-column: span 6; }
  .daily-gallery-item.size-tall { grid-column: span 3; }
}

@media (max-width: 720px) {
  .daily-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .daily-gallery-item.size-lg,
  .daily-gallery-item.size-md,
  .daily-gallery-item.size-sm,
  .daily-gallery-item.size-wide,
  .daily-gallery-item.size-tall { grid-column: span 1; grid-row: span 1; }
}

/* Partners grid (individual logos) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.partner-logo {
  height: 140px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 24px;
  transition: all 0.35s var(--ease);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23, 156, 255, 0.25);
  border-color: var(--border-strong);
}

.partner-logo img {
  max-width: 80%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-logo.placeholder {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.partner-logo.placeholder:hover { box-shadow: none; transform: none; }

@media (max-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.photo-gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  transition: all 0.4s var(--ease);
}

.photo-gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.photo-gallery-item:hover img { transform: scale(1.05); }

.photo-gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 37, 0.92));
  z-index: 1;
}

.photo-gallery-item .caption strong {
  color: var(--text);
  display: block;
  font-size: 1.05rem;
}

.photo-gallery-item .caption span {
  color: var(--brand-light);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 720px) {
  .photo-gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial {
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.4;
}

.testimonial-author { font-size: 0.88rem; color: var(--text-muted); }
.testimonial-author strong { color: var(--text); display: block; font-weight: 600; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.3s var(--ease);
}

.contact-item:hover { border-color: var(--border-strong); }

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(23, 156, 255, 0.1);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--brand-light);
  flex-shrink: 0;
}

.contact-item .icon svg { width: 20px; height: 20px; }

.contact-item .key {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-item .value {
  color: var(--text);
  font-size: 0.95rem;
  word-break: break-word;
  line-height: 1.4;
}

.contact-item .value a { color: var(--brand-light); }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  background: rgba(6, 20, 37, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(23, 156, 255, 0.15);
  background: rgba(6, 20, 37, 0.85);
}

.field textarea { resize: vertical; min-height: 130px; }

.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
  background: var(--bg-1);
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section { text-align: center; position: relative; }

.cta-card {
  padding: clamp(48px, 8vw, 80px);
  background: linear-gradient(135deg, rgba(23, 156, 255, 0.12), rgba(16, 55, 84, 0.35));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(23, 156, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-card > * { position: relative; }
.cta-card h2 { margin-bottom: 16px; }
.cta-card p { margin-bottom: 32px; max-width: 560px; margin-inline: auto; }

.tagline-handwritten {
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--brand-light);
  font-weight: 500;
  margin: 24px 0;
  font-style: italic;
}

/* ============================================================
   Social icons
   ============================================================ */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(23, 156, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--brand-light);
  transition: all 0.3s var(--ease);
}

.social-links a:hover {
  background: var(--brand-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 156, 255, 0.4);
  border-color: var(--brand-light);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(16, 55, 84, 0.3));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-light); }

.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 320px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================
   Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cargo-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .oea-cert { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* Nav mobile */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand img { height: 64px; }
  .nav.scrolled .brand img { height: 54px; }
  .nav { padding: 12px 0; }

  /* Hero spacing */
  .hero { padding: 140px 0 60px; min-height: auto; }
  .page-hero { padding: 140px 0 50px; }
  .clientes-hero { padding: 140px 0 40px; }

  /* Hero content */
  .hero-content { gap: 22px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; padding-top: 24px; }
  .hero-stats > div { display: flex; align-items: baseline; gap: 12px; }
  .hero-stats .stat-value { font-size: 1.6rem; }
  .hero-stats .stat-label { margin-top: 0; }

  /* Eyebrow on mobile (prevent ugly wrap) */
  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Trust strip */
  .trust-strip { max-width: 100%; }
  .trust-strip-text { font-size: 0.78rem; }
  .trust-strip-text span { font-size: 0.7rem; }

  /* Grids → single column */
  .grid-3, .grid-2, .grid-4, .ops-grid, .cargo-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-logo { height: 100px; padding: 16px; }
  .client-tile { height: 90px; padding: 14px; }

  /* Sections */
  section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; gap: 14px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }

  /* OEA */
  .oea-meta { grid-template-columns: 1fr; gap: 14px; }
  .oea-cert { padding: 28px 22px; }
  .oea-seal { max-width: 240px; }
  .oea-badge { width: 90%; }
  .oea-tagline-row { font-size: 0.85rem; padding: 8px 14px; }

  /* Cards & spacings */
  .card { padding: 24px; }
  .op-card { padding: 22px; }

  /* Terminal cards on mobile — extra padding fix */
  .terminal-body[style] { grid-template-columns: 1fr !important; gap: 18px !important; padding: 22px !important; }
  .terminal-header[style] { padding: 20px 22px !important; }

  /* CTA */
  .cta-card { padding: 40px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Awards */
  .award { padding: 16px 18px; }
  .award-medal { width: 52px; height: 52px; font-size: 0.85rem; }

  /* Partners section button — make sure button doesn't overlap */
  .partners-section { padding: 60px 0; }
  .partners-section .container[style*="margin-top"] { margin-top: 32px !important; }

  /* Clientes hero */
  .clientes-hero-content h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .clientes-hero-meta { gap: 16px 24px; padding-top: 18px; }
  .clientes-hero-meta strong { font-size: 1.4rem; }
  .collage-photo-1 { width: 75%; }
  .collage-photo-2 { width: 60%; }
  .collage-photo-3 { width: 58%; }
  .collage-badge { width: 56px; height: 56px; padding: 8px; right: 60%; top: 42%; }

  /* Hero photo frame */
  .hero-photo-frame { aspect-ratio: 4/3; }
  .hero-photo-frame .photo-tag { left: 14px; right: 14px; bottom: 14px; padding: 10px 14px; }
  .hero-photo-frame .photo-tag-text { font-size: 0.78rem; }
  .hero-photo-frame .photo-tag-text span { font-size: 0.7rem; }

  /* Photo banner */
  .photo-banner-content { padding: 28px 22px; max-width: 100%; }
  .photo-banner-content h2 { font-size: 1.5rem; }

  /* Cargo flow on mobile */
  .cargo-flow { grid-template-columns: 1fr; gap: 30px; }
  .flow-line { display: none; }
  .flow-step p { max-width: 100%; }
  .cargo-flow-wrap { padding: 32px 22px; }

  /* Daily gallery */
  .daily-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 12px; }
  .daily-gallery-item.size-lg,
  .daily-gallery-item.size-md,
  .daily-gallery-item.size-sm,
  .daily-gallery-item.size-wide,
  .daily-gallery-item.size-tall { grid-column: span 1; grid-row: span 1; }
  .daily-gallery-item .tag { opacity: 1; transform: translateY(0); }
  .daily-gallery-item::after { opacity: 1; }

  /* Buttons full width on small screens */
  .hero-actions, .cta-card > div:last-child { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-card .btn { justify-content: center; }
}

@media (max-width: 380px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { height: 56px; }
  .nav.scrolled .brand img { height: 48px; }
  .hero h1, .page-hero h1, .clientes-hero-content h1 { font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .partner-logo { height: 88px; padding: 12px; }
  .client-tile { height: 78px; }
  .oea-badge { width: 100%; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 37, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.4rem; color: var(--text); padding: 10px; font-weight: 500; }
.mobile-menu a.active { color: var(--brand-light); }

::selection { background: var(--brand-light); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(23, 156, 255, 0.25); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(23, 156, 255, 0.45); }
