/* =========================================================
   FRETEX — Stylesheet
   Color palette inspired by the FRETEX logo:
   - Deep navy (logo ring, "FRETEX" wordmark)
   - Sky blue (logo sky)
   - Amber yellow (road markings)
   ========================================================= */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .5em; color: var(--primary); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

/* ---------- Tokens ---------- */
:root {
  --primary: #0F2D44;
  --primary-light: #1B3A5C;
  --primary-soft: #25466A;
  --secondary: #4FB3D9;
  --secondary-light: #A8D5E2;
  --accent: #FFC93C;
  --accent-dark: #E8B124;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --bg: #FFFFFF;
  --bg-alt: #F4F7FA;
  --bg-dark: #0A1E30;

  --text: #1A1F2E;
  --text-muted: #5A6573;
  --text-light: #8895A4;

  --border: #DDE3EA;
  --border-light: #E9EEF3;

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

  --shadow-sm: 0 1px 2px rgba(15,45,68,.05), 0 1px 3px rgba(15,45,68,.06);
  --shadow: 0 4px 6px -1px rgba(15,45,68,.07), 0 10px 25px -5px rgba(15,45,68,.10);
  --shadow-lg: 0 20px 40px -10px rgba(15,45,68,.18), 0 10px 20px -5px rgba(15,45,68,.08);

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.section-head h2 { margin-bottom: .35em; }
.section-head p  { color: var(--text-muted); }
.section-head .eyebrow { margin-bottom: 12px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--secondary);
  background: rgba(79,179,217,.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--accent); background: rgba(255,201,60,.12); }

.section-cta {
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- Internal SEO pages ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--text-muted);
  font-size: .86rem;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero {
  background:
    radial-gradient(ellipse at top right, rgba(168,213,226,.45), transparent 55%),
    linear-gradient(180deg, #F4F7FA 0%, #FFFFFF 100%);
  padding: clamp(44px, 7vw, 82px) 0;
  overflow: hidden;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
}
.page-hero-content h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-price {
  display: inline-flex;
  flex-direction: column;
  margin: 10px 0 4px;
  padding: 12px 18px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.8);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.page-price span { color: var(--text-muted); font-size: .82rem; }
.page-price strong { color: var(--primary); font: 800 1.55rem 'Plus Jakarta Sans', sans-serif; }
.page-hero-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--primary);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.content-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 28px;
  align-items: start;
}
.prose-card, .quote-card, .info-panels article {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(26px, 4vw, 42px);
}
.prose-card p, .quote-card p, .info-panels p { color: var(--text-muted); }
.quote-card {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.quote-card h2 { color: #fff; font-size: 1.35rem; }
.quote-card p { color: rgba(255,255,255,.8); }
.check-list { display: grid; gap: 10px; margin: 18px 0 24px; }
.check-list li { position: relative; padding-left: 25px; color: rgba(255,255,255,.9); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  min-height: 150px;
}
.mini-card span { display: block; color: var(--secondary); font-weight: 800; margin-bottom: 18px; }
.mini-card h3 { margin: 0; }
.info-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: all .25s var(--ease);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--secondary); }
.related-card strong { color: var(--primary); }
.related-card span { color: var(--text-muted); font-size: .86rem; margin-top: 18px; }
.not-found { min-height: 100vh; display: grid; place-items: center; }
.not-found-inner { max-width: 720px; text-align: center; }
.not-found-logo { margin: 0 auto 24px; }
.not-found-actions { justify-content: center; }

/* ---------- Privacy policy ---------- */
.legal-hero {
  padding: clamp(54px, 8vw, 88px) 0;
  background:
    radial-gradient(ellipse at top right, rgba(79,179,217,.22), transparent 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
}
.legal-hero-inner { max-width: 820px; }
.legal-hero h1 { margin-bottom: 16px; }
.legal-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 740px; }
.legal-hero small { color: var(--text-light); }
.legal-section { background: #fff; }
.legal-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.legal-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.legal-summary strong { display: block; color: var(--primary); margin-bottom: 14px; }
.legal-summary ul { display: grid; gap: 11px; }
.legal-summary li { position: relative; padding-left: 20px; color: var(--text-muted); font-size: .88rem; }
.legal-summary li::before { content: "✓"; position: absolute; left: 0; color: var(--whatsapp-dark); font-weight: 800; }
.legal-content { max-width: 820px; }
.legal-content section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border-light); }
.legal-content section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-content h2 { font-size: clamp(1.2rem, 2vw, 1.48rem); margin-bottom: 12px; }
.legal-content p { color: var(--text-muted); line-height: 1.78; }
.legal-content a { color: var(--whatsapp-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.10); border-color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline-light:hover { background: #fff; color: var(--primary); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img { width: 58px; height: 58px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: .02em;
}
.logo-text small { font-size: .72rem; color: var(--text-muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { font-size: .85rem; padding: 10px 18px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(ellipse at top right, rgba(168,213,226,.45), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(255,201,60,.10), transparent 50%),
    linear-gradient(180deg, #F4F7FA 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,45,68,.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: .7;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-content .eyebrow { margin-bottom: 20px; }
.hero-content .highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(255,201,60,.55) 60%);
  padding: 0 4px;
  color: var(--primary);
}
.lead { font-size: 1.05rem; color: var(--text); }
.lead-muted { color: var(--text-muted); font-size: .98rem; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}
.hero-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 18px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--text-muted);
}
.check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--primary);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15,45,68,.85);
  color: #fff;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37,211,102,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}
.stat span { font-size: .78rem; color: var(--text-muted); }

/* ---------- Prices ---------- */
.section-prices { background: var(--bg-alt); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--secondary-light);
}
.price-card:hover::before { transform: scaleX(1); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(255,201,60,.20);
}
.price-card.featured::before { background: var(--accent); transform: scaleX(1); }
.price-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  margin-bottom: 14px;
}
.price-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-card .price {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0;
}
.price-card .price strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 4px;
}
.price-note {
  text-align: center;
  max-width: 820px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--secondary-light);
}
.service-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { color: var(--primary); margin-bottom: 8px; }
.service-body p { color: var(--text-muted); font-size: .95rem; flex: 1; }
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.service-price { font-size: .9rem; color: var(--text-muted); }
.service-price strong {
  display: block;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: all .3s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--secondary-light);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: var(--accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: .05em;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ---------- Features ---------- */
.section-features { overflow: hidden; }
.section-features .container { max-width: 1280px; }
.section-features .section-head { margin-bottom: clamp(30px, 4vw, 44px); }
.features-layout {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(520px, 1.12fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}
.features-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}
.features-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7,23,42,.82) 100%);
  pointer-events: none;
}
.features-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.features-media figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.features-media figcaption span:last-child { display: flex; flex-direction: column; }
.features-media figcaption strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; }
.features-media figcaption small { color: rgba(255,255,255,.75); }
.features-media-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 6px rgba(37,211,102,.18); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 206px;
  transition: all .3s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--secondary-light);
}
.feature-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(79,179,217,.2), rgba(255,201,60,.18));
  margin-bottom: 18px;
}
.feature-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.58; }

/* ---------- About ---------- */
.section-about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.about-badge span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
}
.about-badge small { font-size: .78rem; color: var(--text-muted); }

.about-content h2 { margin-bottom: 18px; }
.about-content p { color: var(--text-muted); }
.info-list {
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}
.info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
}
.info-list li span { color: var(--text-muted); }
.info-list li strong { color: var(--primary); font-weight: 700; }

/* ---------- Coverage ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.coverage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.coverage-card-secondary { background: var(--primary); color: #fff; border-color: var(--primary); }
.coverage-card-secondary h3 { color: #fff; }
.coverage-card-secondary p { color: rgba(255,255,255,.78); }
.coverage-card h3 { margin-bottom: 16px; }
.coverage-card p { color: var(--text-muted); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chips li {
  padding: 8px 14px;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: .88rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}
.chips-light li { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.15); }
.coverage-note { color: rgba(255,255,255,.65) !important; font-size: .88rem; margin-top: 8px; margin-bottom: 18px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  aspect-ratio: 16/10;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  background: linear-gradient(180deg, transparent 50%, rgba(15,45,68,.85) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: all .25s var(--ease);
}
.faq-item[open] {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  transition: all .25s var(--ease);
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--primary);
  color: #fff;
}
.faq-item p {
  padding: 0 22px 22px;
  color: var(--text-muted);
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- CTA Final ---------- */
.cta-final {
  background:
    radial-gradient(ellipse at top right, rgba(79,179,217,.18), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(255,201,60,.10), transparent 50%),
    linear-gradient(135deg, var(--primary) 0%, #1B3A5C 100%);
  color: #fff;
  padding: clamp(64px, 9vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta-final-inner {
  text-align: center;
  max-width: 780px;
  position: relative;
  z-index: 1;
}
.cta-final h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 18px;
}
.cta-note { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ---------- Footer ---------- */
.footer {
  background: #07172A;
  color: #B7C2D0;
  padding: clamp(48px, 6vw, 72px) 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col li { font-size: .9rem; }
.footer-col a { color: #B7C2D0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { color: #8E9AAE; font-size: .9rem; margin-top: 14px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: #8E9AAE; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .85rem;
  color: #6B7A8E;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff;
  border: 2px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(15,45,68,.22);
  z-index: 90; isolation: isolate;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float svg { width: 36px; height: 36px; position: relative; z-index: 1; }
.whatsapp-float:hover { transform: translateY(-3px); background: #25D366; }
.whatsapp-float:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.whatsapp-float-pulse {
  position: absolute; inset: -3px; border: 2px solid #25D366;
  border-radius: 50%; z-index: -1; pointer-events: none;
  animation: floatPulse 3.2s ease-out infinite;
}
@keyframes floatPulse {
  0%, 35% { transform: scale(1); opacity: 0; }
  40% { transform: scale(1); opacity: .35; }
  100% { transform: scale(1.28); opacity: 0; }
}
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #718399; border-radius: 50%; color: #fff; transition: background .2s ease; }
.social-links a:hover { background: #28485f; }
.social-links a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .whatsapp-float-pulse { animation: none; opacity: 0; } .whatsapp-float { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .price-grid     { grid-template-columns: repeat(2, 1fr); }
  .features-layout { grid-template-columns: 1fr; }
  .features-media { min-height: 390px; }
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps          { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .mini-grid      { grid-template-columns: repeat(2, 1fr); }
  .related-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: block; }
  .header-cta  { display: none; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
  }
  .nav a:last-child { border-bottom: 0; }

  .hero-inner { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-media { order: -1; }
  .content-layout { grid-template-columns: 1fr; }
  .info-panels { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
  .hero-visual { order: -1; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero-checks { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .logo-text small { display: none; }
  .logo img { width: 50px; height: 50px; }
  .logo-text strong { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .price-grid    { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .features-media { min-height: 300px; }
  .feature { min-height: 0; padding: 22px; }
  .steps         { grid-template-columns: 1fr; }
  .gallery       { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats    { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat          { padding: 12px 6px; }
  .stat strong   { font-size: 1.15rem; }
  .stat span     { font-size: .7rem; }

  .btn-lg { padding: 14px 22px; font-size: .95rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .whatsapp-float { width: 56px; height: 56px; }
  .whatsapp-float svg { width: 32px; height: 32px; }
  .service-foot { flex-direction: column; align-items: stretch; }
  .service-foot .btn { width: 100%; }
  .mini-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- Accessibility / Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

::selection { background: var(--accent); color: var(--primary); }

/* ---------- Scroll-reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Links de apoio da página 404 */
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 28px; }
.not-found-links a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }

/* Símbolo consistente em todos os botões de WhatsApp */
.btn .whatsapp-icon { width: 22px; height: 22px; flex: 0 0 22px; }
