/* ============================================================
   AMERICAN FUEL — Design Tokens
   Colors, type, spacing, radii and shadows.
   Import this once at the top of any page:
     <link rel="stylesheet" href="/colors_and_type.css">
   ============================================================ */

/* --- Webfonts ------------------------------------------------- */
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-0.ttf") format("truetype");
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-1.ttf") format("truetype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-2.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-3.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-4.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-5.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-6.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-7.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-8.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-9.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-10.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Exo 2";
  src: url("/lp/exo2-11.ttf") format("truetype");
  font-weight: 900; font-style: italic; font-display: swap;
}

:root {
  /* ============================================================
     COLORS
     ============================================================ */

  /* Brand — verified from Figma + uploaded SVG fills */
  --af-red:        #DC0024;   /* Primary brand red */
  --af-red-deep:   #B70020;   /* Pressed / hovered red */
  --af-red-soft:   #FCE6EB;   /* Pale tint for backgrounds, badges */
  --af-navy:       #2B3E82;   /* Primary brand navy */
  --af-navy-deep:  #1F2D5E;   /* Pressed / hovered navy */
  --af-navy-soft:  #E5E9F4;   /* Pale tint for backgrounds */
  --af-white:      #FFFFFF;
  --af-off-white:  #F6F4EF;   /* Warm neutral, paper-feel */

  /* Neutrals (greyscale ramp) */
  --af-ink-900:    #0F1428;   /* Near-black, slightly cool */
  --af-ink-800:    #1B2238;
  --af-ink-700:    #2B3045;
  --af-ink-500:    #6B7088;
  --af-ink-400:    #9AA0B3;
  --af-ink-300:    #C5CAD8;
  --af-ink-200:    #E2E5EE;
  --af-ink-100:    #F1F2F7;
  --af-ink-50:     #F8F9FC;

  /* Semantic */
  --af-success:    #1F8A5B;
  --af-warning:    #F2B233;
  --af-danger:     var(--af-red);
  --af-info:       var(--af-navy);

  /* Mapped roles (use these in components — not raw color tokens) */
  --fg-1:          var(--af-ink-900);   /* Primary text */
  --fg-2:          var(--af-ink-700);   /* Secondary text */
  --fg-3:          var(--af-ink-500);   /* Tertiary / hints */
  --fg-on-brand:   var(--af-white);     /* Text on red/navy */
  --bg-1:          var(--af-white);     /* Page bg */
  --bg-2:          var(--af-ink-50);    /* Card / section */
  --bg-3:          var(--af-ink-100);   /* Sunken / well */
  --bg-brand:      var(--af-navy);      /* Brand-dominant surface */
  --bg-accent:     var(--af-red);       /* Accent surface */
  --border-1:      var(--af-ink-200);
  --border-2:      var(--af-ink-300);
  --focus-ring:    var(--af-red);

  /* Signature gradients */
  --af-gradient-mesh:    linear-gradient(110deg, var(--af-navy) 0%, var(--af-navy) 35%, var(--af-red) 70%, var(--af-red) 100%);
  --af-gradient-flame:   linear-gradient(180deg, var(--af-red) 0%, var(--af-red-deep) 100%);
  --af-gradient-banner:  conic-gradient(from 220deg at 30% 60%, var(--af-red) 0deg, var(--af-red) 90deg, var(--af-navy) 180deg, var(--af-navy) 360deg);

  /* ============================================================
     TYPOGRAPHY
     ============================================================ */
  --font-display:  "Exo 2", "Exo", system-ui, sans-serif;
  --font-body:     "Exo 2", "Exo", system-ui, sans-serif;
  --font-mono:     ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* Weights */
  --fw-thin:        100;
  --fw-extralight:  200;
  --fw-light:       300;
  --fw-regular:     400;
  --fw-medium:      500;
  --fw-semibold:    600;
  --fw-bold:        700;
  --fw-extrabold:   800;
  --fw-black:       900;

  /* Type scale — display-led, the brand leans into big bold headlines.
     Sizes are in px; line-heights tuned for Exo 2's open aperture. */
  --ts-display-xl:  88px;   /* hero / banner */
  --ts-display-lg:  64px;
  --ts-display-md:  48px;
  --ts-display-sm:  36px;   /* Matches the 36px Bold seen on banners */
  --ts-h1:          32px;
  --ts-h2:          24px;
  --ts-h3:          20px;
  --ts-body-lg:     18px;
  --ts-body:        16px;
  --ts-body-sm:     14px;
  --ts-caption:     12px;
  --ts-overline:    11px;

  --lh-tight:       1.00;   /* Banner headlines use 100% per Figma */
  --lh-snug:        1.15;
  --lh-normal:      1.45;
  --lh-loose:       1.6;

  --tracking-display:  -0.01em;
  --tracking-heading:  -0.005em;
  --tracking-body:      0em;
  --tracking-overline:  0.14em;  /* Caps + spaced */

  /* ============================================================
     SPACING — 4px base
     ============================================================ */
  --sp-0:   0;
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   20px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;
  --sp-32:  128px;

  /* ============================================================
     RADII
     ============================================================ */
  --r-xs:    4px;
  --r-sm:    8px;
  --r-md:    12px;
  --r-lg:    16px;
  --r-xl:    24px;
  --r-2xl:   32px;
  --r-pill:  999px;

  /* ============================================================
     SHADOWS / ELEVATION
     ============================================================ */
  --shadow-sm:    0 1px 2px rgba(15,20,40,0.06), 0 1px 1px rgba(15,20,40,0.04);
  --shadow-md:    0 4px 12px rgba(15,20,40,0.08), 0 1px 2px rgba(15,20,40,0.04);
  --shadow-lg:    0 12px 32px rgba(15,20,40,0.10), 0 2px 6px rgba(15,20,40,0.04);
  --shadow-xl:    0 24px 64px rgba(15,20,40,0.14), 0 4px 12px rgba(15,20,40,0.06);
  --shadow-red:   0 12px 32px rgba(220,0,36,0.25);
  --shadow-navy:  0 12px 32px rgba(43,62,130,0.30);

  /* ============================================================
     MOTION
     ============================================================ */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:      cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);  /* slight overshoot */
  --dur-fast:     120ms;
  --dur-base:     200ms;
  --dur-slow:     360ms;
  --dur-banner:   600ms;
}

/* ============================================================
   SEMANTIC ELEMENT DEFAULTS
   Resets + base styling. Opt-in by wrapping in `.af` or use globally.
   ============================================================ */
.af, .af * { box-sizing: border-box; }

.af {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-1);
  font-size: var(--ts-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.af h1, .af .h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--ts-h1);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--fg-1);
  margin: 0;
}
.af h2, .af .h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--ts-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-heading);
  margin: 0;
}
.af h3, .af .h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--ts-h3);
  line-height: var(--lh-snug);
  margin: 0;
}
.af .display-xl, .af .display-lg, .af .display-md, .af .display-sm {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin: 0;
}
.af .display-xl { font-size: var(--ts-display-xl); }
.af .display-lg { font-size: var(--ts-display-lg); }
.af .display-md { font-size: var(--ts-display-md); }
.af .display-sm { font-size: var(--ts-display-sm); }

.af p, .af .body { font-size: var(--ts-body); line-height: var(--lh-normal); color: var(--fg-2); margin: 0; text-wrap: pretty; }
.af .body-lg    { font-size: var(--ts-body-lg); line-height: var(--lh-normal); color: var(--fg-2); }
.af .body-sm    { font-size: var(--ts-body-sm); line-height: var(--lh-normal); color: var(--fg-2); }
.af .caption    { font-size: var(--ts-caption); line-height: var(--lh-normal); color: var(--fg-3); }

.af .overline {
  font-size: var(--ts-overline);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--af-red);
}

.af code, .af .mono { font-family: var(--font-mono); font-size: 0.92em; }

/* Banner / hero treatment — the signature American Fuel headline look.
   100% line-height, Exo 2 Bold, often centered, on dark mesh bg. */
.af .banner-headline {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(28px, 4vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--af-white);
  text-wrap: balance;
  margin: 0;
}


/* American Fuel — Landing Page Styles */

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

body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--af-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ============================================================
   ANIMATIONS — keyframes
   ============================================================ */
@keyframes af-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes af-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes af-slide-right {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes af-scale-in {
  from { opacity: 0; transform: scale(0.86); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes af-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes af-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-18px) rotate(var(--rot, 0deg)); }
}
@keyframes af-pulse-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.05); }
}
@keyframes af-flame-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(-20px, -30px) rotate(-4deg); }
  66%  { transform: translate(30px, -10px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes af-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes af-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes af-blink-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Reveal helper — element starts hidden; .in adds the entrance */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* ============================================================
   GLASS UTILITY
   ============================================================ */
/* ============================================================
   GLASS UTILITY — premium frosted glass system
   ============================================================ */
.af-glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 60%, rgba(255,255,255,0.08) 100%);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 12px 32px rgba(0,0,0,0.20);
}
.af-glass-dark {
  background: linear-gradient(135deg, rgba(20,24,46,0.55) 0%, rgba(15,18,38,0.45) 60%, rgba(20,24,46,0.55) 100%);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 12px 32px rgba(0,0,0,0.35);
}
.af-glass-light {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 60%, rgba(255,255,255,0.80) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 12px 32px rgba(0,0,0,0.06);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.af-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.af-btn:hover { transform: translateY(-2px); }
.af-btn:active { transform: translateY(0); }
.af-btn--sm { padding: 10px 18px; font-size: 13px; }
.af-btn--lg { padding: 18px 32px; font-size: 16px; }

.af-btn--primary { background: var(--af-red); color: #fff; box-shadow: 0 8px 24px rgba(220,0,36,0.35); }
.af-btn--primary:hover { background: var(--af-red-deep); box-shadow: 0 14px 32px rgba(220,0,36,0.45); }

.af-btn--white { background: #fff; color: var(--af-navy); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.af-btn--white:hover { background: var(--af-off-white); }

.af-btn--ghost-light {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 60%, rgba(255,255,255,0.10) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 24px rgba(0,0,0,0.18);
}
.af-btn--ghost-light:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.08) 60%, rgba(255,255,255,0.18) 100%);
  border-color: rgba(255,255,255,0.6);
}

.af-btn--ghost-dark {
  background: transparent;
  color: var(--af-navy);
  border: 1.5px solid var(--af-navy);
}
.af-btn--ghost-dark:hover { background: var(--af-navy); color: #fff; }

.af-btn .arr {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}
.af-btn:hover .arr { transform: translateX(4px); }

/* Shimmer effect for primary button */
.af-btn--primary::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  pointer-events: none;
}
.af-btn--primary:hover::before {
  animation: af-shimmer 900ms var(--ease-out);
}

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.af-section {
  position: relative;
  padding: 120px 56px;
  overflow: hidden;
}
.af-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.af-overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--af-red);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.af-overline::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--af-red);
}
.af-overline--light { color: #fff; }
.af-overline--light::before { background: #fff; }

/* ============================================================
   SECTION : NAV
   ============================================================ */
.af-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  transition: background 320ms var(--ease-out), border-color 320ms var(--ease-out), padding 320ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.af-nav.scrolled {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.82) 100%);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 8px 24px rgba(15,20,40,0.08);
  padding: 12px 56px;
}
.af-nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.af-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-1);
  position: relative;
  padding: 6px 0;
  transition: color 200ms var(--ease-out);
  cursor: pointer;
}
.af-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--af-red);
  transition: width 220ms var(--ease-out);
}
.af-nav-link:hover { color: var(--af-red); }
.af-nav-link:hover::after { width: 100%; }
.af-nav-link.active { color: var(--af-red); }
.af-nav-link.active::after { width: 100%; }

/* ============================================================
   SECTION : HERO
   ============================================================ */
.af-hero {
  position: relative;
  min-height: 100vh;
  background: var(--af-navy);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 140px 56px 80px;
  overflow: hidden;
}
.af-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
  animation: af-hero-photo-zoom 24s ease-in-out infinite alternate;
}
@keyframes af-hero-photo-zoom {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.08) translateX(-2%); }
}
.af-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15,20,40,0.92) 0%, rgba(15,20,40,0.72) 38%, rgba(15,20,40,0.35) 62%, rgba(15,20,40,0.2) 100%),
    radial-gradient(circle at 25% 60%, rgba(220,0,36,0.25), transparent 55%);
  pointer-events: none;
}
.af-hero-mesh {
  position: absolute;
  inset: -10%;
  background: url("./asset_29.png") center/cover no-repeat;
  opacity: 0.55;
  transform: rotate(-12deg) scale(1.3);
  filter: saturate(1.1);
  pointer-events: none;
}
.af-hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,0,36,0.5), transparent 60%);
  filter: blur(20px);
  right: -250px;
  top: -200px;
  animation: af-pulse-glow 6s ease-in-out infinite;
  pointer-events: none;
}
.af-hero-flame {
  position: absolute;
  right: -60px;
  top: 50%;
  width: 720px;
  transform: translateY(-50%);
  opacity: 0.25;
  animation: af-spin-slow 80s linear infinite;
  pointer-events: none;
}
.af-hero-flame-2 {
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 460px;
  opacity: 0.12;
  pointer-events: none;
}

.af-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.af-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.af-hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  color: #fff;
  text-wrap: balance;
}
.af-hero-headline .highlight {
  display: inline;
  color: var(--af-red);
  font-style: normal;
}
.af-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.12) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 6px 18px rgba(0,0,0,0.25);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
.af-hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--af-red);
  box-shadow: 0 0 12px rgba(220,0,36,0.8);
  animation: af-blink-pulse 2s ease-in-out infinite;
}
.af-hero-sub {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.5;
  max-width: 620px;
  color: rgba(255,255,255,0.85);
}
.af-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* HERO STATS */
.af-hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
}
.af-hero-stat {
  position: relative;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 60%, rgba(255,255,255,0.08) 100%);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 12px 32px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), background 260ms var(--ease-out);
}
.af-hero-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
}
.af-hero-stat::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 0%, rgba(220,0,36,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
}
.af-hero-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.24);
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0.12) 100%);
}
.af-hero-stat:hover::after { opacity: 1; }
.af-hero-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.af-hero-stat .num .plus {
  color: var(--af-red);
  font-size: 36px;
}
.af-hero-stat .label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Hero scroll indicator */
.af-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.af-hero-scroll .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6));
  position: relative;
  overflow: hidden;
}
.af-hero-scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ============================================================
   SECTION : QUEM SOMOS
   ============================================================ */
.af-about {
  background: var(--af-off-white);
  padding: 140px 56px;
}
.af-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.af-about-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--af-ink-900);
  text-wrap: balance;
}
.af-about-title em {
  font-style: normal;
  color: var(--af-red);
  position: relative;
  display: inline-block;
}
.af-about-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 24px 0 0;
  max-width: 540px;
}
.af-about-pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 520px;
}
.af-pillar {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border-1);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.af-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--af-red-soft);
}
.af-pillar .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--af-navy);
  letter-spacing: -0.02em;
}
.af-pillar .lbl {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* About visual */
.af-about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 32px;
  overflow: hidden;
  background: var(--af-navy);
  box-shadow: var(--shadow-xl);
}
.af-about-visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 1200ms var(--ease-out);
}
.af-about-visual:hover .af-about-visual-photo {
  transform: scale(1.04);
}
.af-about-visual-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,40,0.0) 30%, rgba(15,20,40,0.85) 100%);
  pointer-events: none;
}
.af-about-visual-content {
  position: absolute;
  inset: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.af-about-visual-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20,24,46,0.55) 0%, rgba(0,0,0,0.45) 60%, rgba(20,24,46,0.55) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 6px 18px rgba(0,0,0,0.30);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
}
.af-about-visual-frentista {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.af-about-visual-frentista small {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  opacity: 0.85;
  text-transform: none;
}

/* ============================================================
   SECTION : NOSSA REDE
   ============================================================ */
.af-rede {
  background: #1a0a14;
  color: #fff;
  position: relative;
  padding: 96px 56px;
  overflow: hidden;
  isolation: isolate;
}
.af-rede-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) brightness(0.5);
  z-index: -2;
  animation: af-rede-bg-pan 30s ease-in-out infinite alternate;
}
@keyframes af-rede-bg-pan {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.12) translateX(-2%); }
}
.af-rede-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(80,8,20,0.88) 0%, rgba(40,4,12,0.78) 45%, rgba(15,18,38,0.82) 100%),
    radial-gradient(circle at 15% 45%, rgba(220,0,36,0.35), transparent 55%),
    radial-gradient(circle at 95% 95%, rgba(31,45,94,0.55), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.af-rede-flame-bg {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  opacity: 0.05;
  pointer-events: none;
  animation: af-spin-slow 120s linear infinite;
  z-index: 0;
}

.af-rede-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.af-rede-text {
  position: relative;
}
.af-rede-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 24px;
  color: #fff;
  text-wrap: balance;
}
.af-rede-title .big {
  color: var(--af-red);
  display: inline-block;
}
.af-rede-sub {
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0 0 28px;
}
.af-rede-link {
  background: transparent;
  border: none;
  color: var(--af-red);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: gap 220ms var(--ease-out), color 220ms var(--ease-out);
}
.af-rede-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: calc(100% - 30px);
  height: 2px;
  background: var(--af-red);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 280ms var(--ease-out);
}
.af-rede-link:hover { gap: 16px; color: #ff3052; }
.af-rede-link:hover::after { transform: scaleX(1); }

/* Premium glass stat grid */
.af-rede-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.af-rede-stat {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  /* Premium glass */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 60%, rgba(255,255,255,0.06) 100%);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 12px 32px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: transform 380ms var(--ease-out), border-color 380ms var(--ease-out), background 380ms var(--ease-out);
}
.af-rede-stat::before {
  /* Highlight reflection on top edge */
  content: "";
  position: absolute;
  top: 0; left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
}
.af-rede-stat::after {
  /* Subtle red glow that emerges on hover */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 0%, rgba(220,0,36,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 380ms var(--ease-out);
  pointer-events: none;
}
.af-rede-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.10) 100%);
}
.af-rede-stat:hover::after { opacity: 1; }

.af-rede-stat .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--af-red);
  display: flex;
  align-items: baseline;
}
.af-rede-stat .v .plus { color: var(--af-red); margin-right: 2px; }
.af-rede-stat .v .suffix {
  font-size: 22px;
  margin-left: 4px;
  font-weight: 700;
  opacity: 0.85;
}
.af-rede-stat .l {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   SECTION : ENCONTRE UM POSTO
   ============================================================ */
.af-find {
  background: var(--af-white);
  padding: 140px 56px;
}
.af-find-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.af-find-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.af-find-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 420px;
}

/* Search bar */
.af-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border-1);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  margin-bottom: 28px;
}
.af-search:focus-within {
  border-color: var(--af-red);
  box-shadow: 0 4px 16px rgba(220,0,36,0.15);
}
.af-search svg { color: var(--fg-3); flex-shrink: 0; }
.af-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  color: var(--fg-1);
}
.af-search input::placeholder { color: var(--fg-3); }

/* Filter chips */
.af-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}
.af-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--border-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  white-space: nowrap;
}
.af-chip:hover {
  border-color: var(--af-red);
  color: var(--af-red);
}
.af-chip.active {
  background: var(--af-navy);
  border-color: var(--af-navy);
  color: #fff;
}
.af-chip .count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--af-ink-100);
  color: var(--fg-2);
  font-size: 11px;
}
.af-chip.active .count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Split layout: list + map */
.af-find-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

/* Station list - scrollable */
.af-stations-wrap {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 24px;
  overflow: hidden;
  height: 640px;
}
.af-stations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-1);
  background: var(--af-off-white);
  flex-shrink: 0;
}
.af-stations-header .count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--af-ink-900);
}
.af-stations-header .count-pill strong {
  color: var(--af-red);
  font-size: 18px;
}
.af-stations-header .hint {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 600;
}
.af-stations {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  scroll-behavior: smooth;
}
.af-stations::-webkit-scrollbar { width: 10px; }
.af-stations::-webkit-scrollbar-track { background: transparent; }
.af-stations::-webkit-scrollbar-thumb {
  background: var(--af-ink-200);
  border-radius: 999px;
  border: 2px solid #fff;
}
.af-stations::-webkit-scrollbar-thumb:hover { background: var(--af-ink-300); }

.af-station {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: all 200ms var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.af-station + .af-station { margin-top: 2px; }
.af-station:hover {
  background: var(--af-off-white);
  border-color: var(--border-1);
}
.af-station.active {
  background: var(--af-red-soft);
  border-color: var(--af-red);
}
.af-station::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--af-red);
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 240ms var(--ease-out);
}
.af-station:hover::before,
.af-station.active::before { transform: scaleY(1); }

.af-station-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--af-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  transition: all 220ms var(--ease-out);
}
.af-station.active .af-station-num,
.af-station:hover .af-station-num {
  background: var(--af-red);
  transform: scale(1.05);
}

.af-station-body { flex: 1; min-width: 0; }
.af-station-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--af-ink-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.af-station-addr {
  margin-top: 3px;
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.af-station-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--af-red);
  margin-bottom: 2px;
}

.af-station-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--fg-3);
  font-size: 14px;
}

/* Map */
.af-map {
  position: relative;
  background: linear-gradient(160deg, #F1F4FB 0%, #E5E9F4 100%);
  border: 1px solid var(--border-1);
  border-radius: 24px;
  overflow: hidden;
  height: 640px;
}
.af-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.af-map-pin {
  cursor: pointer;
  transition: transform 200ms var(--ease-out);
  transform-origin: center bottom;
}
.af-map-pin:hover,
.af-map-pin.active {
  transform: scale(1.4);
}
.af-map-pin.dim { opacity: 0.25; pointer-events: none; }
.af-map-pin .pulse {
  transform-origin: center;
  animation: af-map-pulse 2s ease-in-out infinite;
}
@keyframes af-map-pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}
.af-map-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.95) 40%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.af-map-overlay .legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.af-map-overlay .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.af-map-overlay .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--af-red);
  box-shadow: 0 0 0 2px #fff;
}

.af-map-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.88) 100%);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--af-navy);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 8px 24px rgba(15,20,40,0.12);
}
.af-map-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--af-red);
  box-shadow: 0 0 8px var(--af-red);
  animation: af-blink-pulse 1.8s ease-in-out infinite;
}

/* Map tooltip */
.af-map-tooltip {
  position: absolute;
  z-index: 5;
  padding: 12px 14px;
  background: var(--af-ink-900);
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 260px;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 160ms var(--ease-out);
}
.af-map-tooltip.show { opacity: 1; }
.af-map-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--af-ink-900);
}
.af-map-tooltip .tt-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 4px;
}
.af-map-tooltip .tt-addr {
  color: rgba(255,255,255,0.7);
  font-size: 11.5px;
}
.af-map-tooltip .tt-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--af-red);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.af-find-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  color: var(--fg-3);
  font-size: 13px;
}

/* ============================================================
   SECTION : BANDEIRAS
   ============================================================ */
.af-flags {
  background: var(--af-off-white);
  padding: 140px 56px;
}
.af-flags-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.af-flags-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
  text-wrap: balance;
}
.af-flags-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 580px;
  margin: 0 auto;
}
.af-flags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.af-flag-card {
  position: relative;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-height: 200px;
  transition: all 260ms var(--ease-out);
  overflow: hidden;
}
.af-flag-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.af-flag-card.featured {
  background: var(--af-navy);
  color: #fff;
  border-color: var(--af-navy);
}
.af-flag-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./asset_29.png") center/cover;
  opacity: 0.4;
  pointer-events: none;
}
.af-flag-card-logo {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 80px;
}
.af-flag-card-logo img {
  display: block;
  object-fit: contain;
  object-position: left center;
}
.af-flag-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  position: relative;
}
.af-flag-card.featured .af-flag-card-tag { color: rgba(255,255,255,0.7); }

/* Quality cards — elaborated */
.af-quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.af-quality-card {
  position: relative;
  padding: 40px 36px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border-1);
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.af-quality-card::before {
  /* top accent line */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent, var(--af-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms var(--ease-out);
}
.af-quality-card::after {
  /* subtle gradient glow on hover */
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 80%; height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--af-red) 12%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity 480ms var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.af-quality-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 56px rgba(15,20,40,0.10), 0 8px 18px rgba(15,20,40,0.06);
}
.af-quality-card:hover::before { transform: scaleX(1); }
.af-quality-card:hover::after { opacity: 1; }

.af-quality-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
.af-quality-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent, var(--af-red)) 10%, transparent);
  color: var(--accent, var(--af-red));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 280ms var(--ease-out);
  position: relative;
}
.af-quality-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px dashed color-mix(in srgb, var(--accent, var(--af-red)) 25%, transparent);
  transform: scale(1.18);
  opacity: 0;
  transition: all 320ms var(--ease-out);
}
.af-quality-card:hover .af-quality-icon { transform: rotate(-4deg) scale(1.05); }
.af-quality-card:hover .af-quality-icon::before { opacity: 1; transform: scale(1.25); }

.af-quality-tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--af-red));
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--af-red)) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, var(--af-red)) 18%, transparent);
  white-space: nowrap;
}
.af-quality-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--af-ink-900);
}
.af-quality-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 24px;
}
.af-quality-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-1);
}
.af-quality-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--af-ink-900);
}
.af-quality-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--af-red) 12%, transparent);
}

/* ============================================================
   SECTION : CONTATO
   ============================================================ */
.af-contact {
  background: var(--af-navy);
  color: #fff;
  position: relative;
  padding: 140px 56px;
  overflow: hidden;
}
.af-contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(220,0,36,0.4), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(31,45,94,1), transparent 60%);
  pointer-events: none;
}
.af-contact-flame {
  position: absolute;
  left: -120px;
  bottom: -100px;
  width: 540px;
  opacity: 0.08;
  pointer-events: none;
  animation: af-float 10s ease-in-out infinite;
  --rot: 12deg;
}
.af-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
.af-contact-col {
  display: flex;
  flex-direction: column;
}
.af-contact-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  color: #fff;
  text-wrap: balance;
}
.af-contact-sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
  max-width: 440px;
}

/* Single consolidated contact card */
.af-contact-card {
  margin-top: auto;
  position: relative;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 60%, rgba(255,255,255,0.08) 100%);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 18px 40px rgba(0,0,0,0.30);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.af-contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
}
.af-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  transition: transform 220ms var(--ease-out);
}
.af-contact-item:hover { transform: translateX(4px); }
.af-contact-item .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(220,0,36,0.18);
  color: var(--af-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(220,0,36,0.25);
}
.af-contact-item .lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.af-contact-item .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-top: 2px;
}
.af-contact-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  margin: 2px 0;
}

/* Form */
.af-form {
  position: relative;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 60%, rgba(255,255,255,0.08) 100%);
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 24px 64px rgba(0,0,0,0.35);
  overflow: hidden;
}
.af-form::before {
  content: "";
  position: absolute;
  top: 0; left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
}
.af-form::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(220,0,36,0.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(43,62,130,0.18), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}
.af-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.af-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.af-field.full { grid-column: 1 / -1; }
.af-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.af-field input,
.af-field textarea {
  background: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.20) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: all 200ms var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.af-field input::placeholder,
.af-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.af-field input:focus,
.af-field textarea:focus {
  border-color: var(--af-red);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 4px rgba(220,0,36,0.15);
}
.af-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}
.af-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 16px;
  flex-wrap: wrap;
}
.af-counter {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   FOOTER
   ============================================================ */
.af-footer {
  background: var(--af-ink-900);
  color: rgba(255,255,255,0.78);
  padding: 96px 56px 36px;
  position: relative;
  overflow: hidden;
}
.af-footer-flame {
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  opacity: 0.04;
  pointer-events: none;
}
.af-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 56px;
  position: relative;
}
.af-footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}
.af-footer-overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--af-red);
  margin-bottom: 18px;
}
.af-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.af-footer-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 180ms var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.af-footer-list a:hover { color: #fff; }
.af-footer-list a svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 180ms var(--ease-out);
}
.af-footer-list a:hover svg {
  opacity: 1;
  transform: translateX(0);
}
.af-footer-bottom {
  position: relative;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .af-nav { padding: 16px 28px; }
  .af-nav.scrolled { padding: 10px 28px; }
  .af-nav-links { display: none; }
  .af-section, .af-hero, .af-about, .af-rede, .af-find, .af-flags, .af-contact, .af-footer {
    padding-left: 28px; padding-right: 28px;
  }
  .af-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .af-rede { padding: 80px 28px; }
  .af-rede-layout { grid-template-columns: 1fr; gap: 40px; }
  .af-rede-stats { grid-template-columns: 1fr 1fr; }
  .af-find-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .af-find-split { grid-template-columns: 1fr; }
  .af-stations-wrap { height: 480px; }
  .af-map { height: 420px; }
  .af-flags-grid { grid-template-columns: repeat(2, 1fr); }
  .af-quality { grid-template-columns: 1fr; }
  .af-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .af-footer-grid { grid-template-columns: 1fr 1fr; }
  .af-hero-stats { grid-template-columns: 1fr; max-width: 360px; }
  .af-hero-stat .num { font-size: 44px; }
}

@media (max-width: 640px) {
  .af-hero { padding: 120px 20px 80px; }
  .af-section, .af-about, .af-rede, .af-find, .af-flags, .af-contact, .af-footer {
    padding-left: 20px; padding-right: 20px;
  }
  .af-form { padding: 24px; }
  .af-form-row { grid-template-columns: 1fr; }
  .af-flags-grid { grid-template-columns: 1fr; }
  .af-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Leaflet pin marker (custom) */
.af-pin { background: transparent; border: none; }
.af-pin-dot {
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--af-red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--af-red), 0 4px 10px rgba(220,0,36,0.35);
}
