/*
Theme Name: Alan Bauco Child
Theme URI: https://alanbauco.com/
Description: Child theme minimal premium pour la landing Alan Bauco (sans page builder).
Author: Alan Bauco
Version: 1.0.0
Template: hello-elementor
Text Domain: alanbauco-child
*/

/* -----------------------------------------
   Alan Bauco — Landing (premium dark)
   Contraintes: léger, sans libs externes.
------------------------------------------ */

:root {
  --bg: #05070A;
  --text: #FFFFFF;
  --muted: #B3B3B3;
  --muted-2: rgba(179, 179, 179, 0.80);
  --surface: #0E1116;
  --surface-2: #0E1116;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
  --accent: #0F7A4A;
  --accent-hover: #0C5E39;
  --accent-2: rgba(15, 122, 74, 0.24);
  --radius: 16px;
  --container: 1100px;

  --font: system-ui, -apple-system, "Inter", "Inter Display", "Segoe UI", Roboto, Arial, sans-serif;
}

/* -----------------------------------------
   Mobile floating bottom navigation
   (Rendered via wp_footer; visible only <= 768px)
------------------------------------------ */
.ab-mnav {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --ab-mnav-h: 76px;
  }

  /* Remove top header/nav on mobile (keep only bottom navbar) */
  .site-header,
  header.site-header,
  .ab-floating-header {
    display: none !important;
  }

  /* Prevent content from being hidden behind fixed nav */
  body {
    padding-bottom: calc(var(--ab-mnav-h) + 16px + env(safe-area-inset-bottom, 0px));
  }

  /* Hide default mobile hamburger / dropdown toggles (Hello Elementor + Elementor widgets) */
  .menu-toggle,
  button.menu-toggle,
  .site-header .menu-toggle,
  .site-header .site-navigation-toggle-holder,
  .site-header .site-navigation-toggle,
  .elementor-menu-toggle,
  .elementor-nav-menu--toggle {
    display: none !important;
  }

  .ab-mnav {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    pointer-events: none; /* only the bar receives events */
  }

  .ab-mnav__bar {
    height: var(--ab-mnav-h);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(14, 17, 22, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    position: relative;
  }

  @supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .ab-mnav__bar {
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
      background: rgba(14, 17, 22, 0.78);
    }
  }

  .ab-mnav__group {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ab-mnav__group--left {
    justify-content: flex-start;
  }

  .ab-mnav__group--right {
    justify-content: flex-end;
  }

  .ab-mnav__item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 6px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
  }

  .ab-mnav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
  }

  .ab-mnav__label {
    display: none;
  }

  .ab-mnav__cta {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(15, 122, 74, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
    white-space: nowrap;
  }

  @media (hover: hover) {
    .ab-mnav__item:hover {
      background: rgba(255, 255, 255, 0.06);
    }
    .ab-mnav__cta:hover {
      background: var(--accent-hover);
    }
  }

  .ab-mnav__item:active,
  .ab-mnav__cta:active {
    transform: scale(0.97);
    opacity: 0.96;
  }

  @media (max-width: 360px) {
    .ab-mnav__bar {
      gap: 6px;
    }
    .ab-mnav__label {
      font-size: 10px;
    }
    .ab-mnav__cta {
      padding: 0 16px;
      height: 54px;
    }
  }
}

/* Safety: si le parent affiche quand même un header/footer via un autre template */
body.alanbauco-landing .site-header,
body.alanbauco-landing header.site-header,
body.alanbauco-landing .site-footer,
body.alanbauco-landing footer.site-footer {
  display: none !important;
}

body.alanbauco-landing {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll géré côté JS sur la landing (évite d’impacter tout le site) */

body.alanbauco-landing button,
body.alanbauco-landing input,
body.alanbauco-landing select,
body.alanbauco-landing textarea {
  font-family: var(--font);
}

body.alanbauco-landing * {
  box-sizing: border-box;
}

body.alanbauco-landing a {
  color: var(--text);
  text-decoration: none;
}

body.alanbauco-landing a:hover {
  color: var(--text);
}

body.alanbauco-landing ::selection {
  background: rgba(15, 122, 74, 0.45);
}

/* Layout */
.ab-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ab-wrap:before {
  content: "";
  position: absolute;
  inset: -240px -240px auto -240px;
  height: 720px;
  background:
    radial-gradient(closest-side, rgba(15, 122, 74, 0.22), rgba(15, 122, 74, 0) 70%),
    radial-gradient(closest-side, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.ab-wrap:after {
  /* “noise” CSS-only, subtil (pas d’image) */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.35) 0, rgba(0,0,0,0.35) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: overlay;
  z-index: 0;
}

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

.ab-main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.ab-section {
  padding: 100px 0;
}

.ab-section--tight {
  padding: 72px 0;
}

.ab-section[id],
#pour-qui {
  scroll-margin-top: 110px; /* compense le header sticky */
}

.ab-below-fold {
  padding-top: 0; /* ticker collé au formulaire + sections qui démarrent tout de suite */
}

.ab-floating-header {
  position: sticky;
  top: 24px;
  z-index: 50;
  padding: 0;
}

.ab-header-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 9px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.90);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.58),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;
  position: relative;
}

.ab-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center; /* keep logo vertically centered within header pill */
  gap: 10px;
  line-height: 1;
}

.ab-brand__logo {
  height: 38px; /* desktop (bigger, keeps header height unchanged) */
  width: auto;
  display: block;
  transform: scale(1.35);
  transform-origin: left center;
  box-shadow: none;
  filter: none;
}

.ab-brand__first {
  font-weight: 700;
}

.ab-brand__last {
  font-weight: 600;
  opacity: 0.92;
}

.ab-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.ab-nav-link {
  color: rgba(255, 255, 255, 0.86);
  opacity: 0.84;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 6px;
  border: 0;
  background: transparent;
  border-radius: 0;
  position: relative;
  transition: opacity 160ms ease, color 160ms ease;
}

.ab-nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.55;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ab-nav-link:hover {
  opacity: 1;
  color: var(--accent);
}

.ab-nav-link:hover::after {
  transform: scaleX(1);
  opacity: 0.75;
}

/* Premium scroll state: solidify + subtle divider */
body.alanbauco-landing .ab-floating-header.is-scrolled .ab-header-pill {
  background: rgba(10, 10, 10, 0.98);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.62),
    0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

body.alanbauco-landing .ab-floating-header.is-scrolled .ab-header-pill::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* Header CTA: less pill, no glow, decisive */
body.alanbauco-landing .ab-floating-header .ab-btn,
body.alanbauco-landing .ab-floating-header .ab-btn--sm {
  border-radius: 10px;
  padding: 9px 16px;
  min-height: 38px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(15, 122, 74, 0.85);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.42);
  transform: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 90ms ease;
}

body.alanbauco-landing .ab-floating-header .ab-btn:hover,
body.alanbauco-landing .ab-floating-header .ab-btn--sm:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.48);
  transform: none;
}

body.alanbauco-landing .ab-floating-header .ab-btn:active,
body.alanbauco-landing .ab-floating-header .ab-btn--sm:active {
  transform: scale(0.98);
}

.ab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.ab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.18);
}

/* Hero */
.ab-hero {
  padding-top: 92px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ab-hero:before {
  content: "";
  position: absolute;
  inset: -220px -220px -220px -220px;
  background:
    radial-gradient(920px 560px at 50% 22%, rgba(15, 122, 74, 0.26), rgba(15, 122, 74, 0) 62%),
    radial-gradient(760px 520px at 50% 28%, rgba(255,255,255,0.05), rgba(255,255,255,0) 62%);
  pointer-events: none;
  z-index: 0;
}

.ab-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ab-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.ab-h1 {
  margin: 14px 0 10px;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.accent,
.ab-accent {
  color: var(--accent);
}

.ab-subtitle {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ab-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.ab-btn {
  appearance: none;
  border: 1px solid rgba(15, 122, 74, 0.70);
  background: var(--accent);
  color: var(--text);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.52);
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, filter 200ms ease, background 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.ab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 75px rgba(0, 0, 0, 0.58);
  border-color: rgba(15, 122, 74, 0.90);
  background: var(--accent-hover);
  filter: none;
}

.ab-btn:active {
  transform: translateY(0);
}

.ab-btn--outline,
.ab-btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.ab-btn--outline:hover,
.ab-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.ab-btn--sm {
  padding: 10px 14px;
  min-height: 40px;
  border-radius: 999px;
}

.ab-btn--wide {
  width: 100%;
  justify-content: center;
}

.ab-micro {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}

.ab-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.ab-hero-panel {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.ab-hero-panel .ab-panel-title {
  text-align: center;
}

.ab-hero-panel .ab-stats {
  grid-template-columns: repeat(3, 1fr);
}

.ab-panel-title {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.ab-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ab-stat {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 12px;
}

.ab-stat strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.ab-stat span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* Headings & content */
.ab-h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ab-h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ab-lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.ab-lead--sm {
  font-size: 15px;
  margin-bottom: 0;
}

.ab-muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.ab-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 20px 75px rgba(0,0,0,0.35);
  position: relative;
}

/* -----------------------------------------
   Sections premium (below the fold)
------------------------------------------ */
.ab-section-head {
  margin-bottom: 24px;
}

.ab-section-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.ab-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ab-feature-carousel {
  position: relative;
}

.ab-method-result {
  margin: 16px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ab-method-result:before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,0.10);
}

.ab-feature-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.ab-feature-card:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: radial-gradient(60% 60% at 30% 0%, rgba(15,122,74,0.18), rgba(15,122,74,0) 62%);
  pointer-events: none;
  opacity: 0.75;
}

.ab-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15,122,74,0.26);
  background: rgba(15,122,74,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.ab-icon svg {
  width: 22px;
  height: 22px;
}

/* Pastilles crédibilité — ticker premium (collé au formulaire) */
.credibility-ticker {
  padding: 80px 60px;
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.credibility-ticker.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.pill-ticker {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 50vw; /* snap au centre de l’écran */
}

.pill-ticker::-webkit-scrollbar { display: none; }

.pill-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 20px;
  padding: 0;
  margin: 0;
  padding-inline: 50vw; /* permet de centrer la première/dernière bulle */
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1px;
  color: #FFFFFF;
  background: rgba(15, 122, 74, 0.22); /* vert principal, remplissage léger */
  border: 1px solid rgba(15, 122, 74, 0.42);
  white-space: nowrap;
  line-height: 1.1;
  box-shadow:
    0 22px 70px rgba(0,0,0,0.30),
    0 10px 30px rgba(0,0,0,0.22);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.pill:hover {
  background: rgba(15, 122, 74, 0.28);
  border-color: rgba(15, 122, 74, 0.52);
}

@media (prefers-reduced-motion: reduce) {
  .credibility-ticker {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* La section suivante reste gérée par ses paddings standards */

/* Méthode — carousel mobile premium */
@media (max-width: 768px) {
  .ab-feature-carousel:before,
  .ab-feature-carousel:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34px;
    pointer-events: none;
    z-index: 2;
  }

  .ab-feature-carousel:before {
    left: 0;
    background: linear-gradient(90deg, rgba(5,7,10,0.96), rgba(5,7,10,0));
  }

  .ab-feature-carousel:after {
    right: 0;
    background: linear-gradient(270deg, rgba(5,7,10,0.96), rgba(5,7,10,0));
  }

  .ab-feature-carousel .ab-feature-grid {
    --methodCardW: clamp(280px, 82vw, 360px);
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100% - var(--methodCardW)) / 2);
    padding-inline: calc((100% - var(--methodCardW)) / 2);
    padding-block: 2px; /* avoid shadow clipping */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .ab-feature-carousel .ab-feature-grid::-webkit-scrollbar {
    display: none;
  }

  .ab-feature-carousel .ab-feature-card {
    flex: 0 0 var(--methodCardW);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

.ab-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: center;
}

.ab-photo {
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 60% at 30% 10%, rgba(15,122,74,0.22), rgba(15,122,74,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 26px 90px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.ab-photo--placeholder:after {
  content: "PHOTO";
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(14,17,22,0.70);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ab-transformations-wrap {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.ab-transformation-card {
  width: 100%;
  padding: 22px;
}

.ab-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.ab-media {
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 60% at 30% 10%, rgba(255,255,255,0.06), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.ab-media--placeholder:after {
  content: attr(data-label);
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(14,17,22,0.70);
  color: rgba(255,255,255,0.76);
  font-size: 12px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ab-transformation-body {
  display: grid;
  gap: 6px;
}

/* FAQ (accordéon premium — animations + états hover desktop) */
.ab-faq-section {
  background: var(--bg);
}

/* Moins d’air entre la FAQ et le CTA suivant (sinon 100px + 100px) */
.ab-section.ab-faq-section {
  padding-bottom: 44px;
}

.ab-faq-section + .ab-section {
  padding-top: 56px;
}

@media (max-width: 720px) {
  .ab-section.ab-faq-section {
    padding-bottom: 28px;
  }

  .ab-faq-section + .ab-section {
    padding-top: 36px;
  }
}

.ab-faq-section .ab-h2,
.ab-faq-section .ab-lead {
  color: var(--text);
}

.ab-faq-section .ab-lead--sm {
  color: var(--muted);
}

.ab-faq {
  max-width: 720px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ab-faq__item {
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-bottom-color 0.25s ease, border-left-color 0.25s ease;
}

.ab-faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    border-bottom-color 0.25s ease,
    border-top-color 0.25s ease,
    border-left-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ab-faq__item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.6);
  }

  .ab-faq__item:first-child:hover {
    border-top-color: rgba(255, 255, 255, 0.6);
  }
}

.ab-faq__item.is-open {
  border-left-color: var(--accent);
}

.ab-faq-section .ab-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  margin: 0;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(15, 122, 74, 0.25);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.ab-faq-section .ab-faq__trigger:focus {
  outline: none;
}

.ab-faq__question {
  flex: 1;
  min-width: 0;
  transition: opacity 0.15s ease, color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ab-faq__question {
    opacity: 0.7;
  }

  .ab-faq-section .ab-faq__trigger:hover .ab-faq__question {
    opacity: 1;
  }

  .ab-faq-section .ab-faq__item.is-open .ab-faq__trigger:hover .ab-faq__question {
    opacity: 1;
  }
}

.ab-faq-section .ab-faq__item.is-open .ab-faq__question {
  color: var(--accent);
  opacity: 1;
}

.ab-faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  transform: rotate(0deg);
  transition: transform 300ms ease-in-out, color 0.2s ease;
}

.ab-faq__item.is-open .ab-faq__icon {
  color: var(--accent);
  transform: rotate(180deg);
}

.ab-faq__icon::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .ab-faq-section .ab-faq__trigger:hover .ab-faq__icon {
    transform: translateY(2px) rotate(0deg);
  }

  .ab-faq-section .ab-faq__item.is-open .ab-faq__trigger:hover .ab-faq__icon {
    transform: translateY(2px) rotate(180deg);
  }
}

.ab-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out;
}

.ab-faq__item:not(.is-open) .ab-faq__panel {
  pointer-events: none;
}

.ab-faq__item.is-open .ab-faq__panel {
  max-height: 100em;
}

.ab-faq__answer {
  padding: 0 32px 22px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0;
  transition: opacity 200ms ease;
  transition-delay: 0ms;
}

.ab-faq__item.is-open .ab-faq__answer {
  opacity: 1;
  transition-delay: 100ms;
}

.ab-faq__answer p {
  margin: 0 0 12px;
}

.ab-faq__answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .ab-faq__answer {
    padding-right: 0;
  }
}

.ab-section--contrast {
  /* Integrate naturally with main background (no band, no separator line) */
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.ab-final-cta {
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(15,122,74,0.18), rgba(15,122,74,0) 62%),
    linear-gradient(180deg, rgba(14,17,22,0.92), rgba(14,17,22,0.70));
  box-shadow: 0 34px 120px rgba(0,0,0,0.55);
  padding: 42px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ab-final-cta__copy .ab-h2 {
  margin-bottom: 10px;
}

.ab-final-cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ab-final-cta__actions .ab-btn {
  transform: none; /* override global translateY hover for this CTA */
  will-change: transform, box-shadow;
}

.ab-final-cta__actions .ab-btn:hover {
  transform: scale(1.03);
  box-shadow:
    0 22px 75px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(15, 122, 74, 0.22) inset,
    0 18px 55px rgba(15, 122, 74, 0.18);
}

/* Apply form – premium highlight */
.ab-apply-card {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 36px 40px; /* 36 vertical / 40 horizontal */
  background: #05070A; /* EXACT match with body */
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.ab-apply-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(600px 240px at 30% 0%, rgba(15,122,74,0.55), rgba(15,122,74,0) 62%);
  pointer-events: none;
  opacity: 0.12; /* subtle: 0.08–0.15 */
}

.ab-apply-card:focus-within {
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.64),
    0 10px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(15,122,74,0.20) inset,
    0 0 0 6px rgba(15,122,74,0.08);
}

.ab-apply-head {
  margin-bottom: 10px;
}

.ab-form-card {
  width: 100%;
}

/* Form (scoped) — ultra premium, minimal */
.ab-apply-card .ab-wizard {
  gap: 14px;
}

.ab-apply-card .ab-wizard__slides {
  min-height: 210px; /* reduce unused height */
}

.ab-apply-card .ab-wizard__title {
  margin-bottom: 12px;
}

.ab-apply-card .ab-label {
  color: rgba(255,255,255,0.70);
}

.ab-apply-card .ab-input,
.ab-apply-card .ab-select,
.ab-apply-card .ab-textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: none;
}

.ab-apply-card .ab-input:focus,
.ab-apply-card .ab-select:focus,
.ab-apply-card .ab-textarea:focus {
  border-color: #0F7A4A;
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.12);
  background: transparent;
}

.ab-apply-card .ab-choice {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 12px 12px;
}

.ab-apply-card .ab-choice:hover {
  border-color: rgba(255,255,255,0.22);
  background: transparent;
}

.ab-apply-card .ab-choice:focus-within {
  border-color: #0F7A4A;
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.10);
}

/* Buttons (scoped) */
.ab-apply-card .ab-wizard__actions {
  display: grid;
  grid-template-columns: 1fr 1fr; /* wide, not tall */
  gap: 12px;
}

.ab-apply-card .ab-wizard__actions .ab-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  transform: none;
}

.ab-apply-card .ab-wizard__actions .ab-btn:hover {
  transform: none;
}

.ab-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ab-bullets li {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--text);
  line-height: 1.5;
}

.ab-bullets li:before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.18);
}

.ab-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Apply form */
.ab-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ab-form-card .ab-form {
  grid-template-columns: 1fr; /* full width */
}

.ab-form-card .ab-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

.ab-form-card .ab-input,
.ab-form-card .ab-select,
.ab-form-card .ab-textarea {
  border-radius: 14px;
  padding: 14px 14px;
}

.ab-field {
  display: grid;
  gap: 8px;
}

.ab-field--full {
  grid-column: 1 / -1;
}

.ab-label {
  font-size: 13px;
  color: var(--muted);
}

.ab-input,
.ab-select,
.ab-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
  line-height: 1.2;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ab-textarea {
  min-height: 108px;
  resize: vertical;
}

.ab-input::placeholder,
.ab-textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.ab-input:focus,
.ab-select:focus,
.ab-textarea:focus {
  outline: none;
  border-color: rgba(15, 122, 74, 0.85);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.ab-check {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}

.ab-check input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.ab-check span {
  color: var(--text);
  line-height: 1.45;
}

.ab-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ab-success {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 122, 74, 0.55);
  background: rgba(15, 122, 74, 0.12);
  color: var(--text);
}

.ab-success.is-visible {
  display: block;
}

/* Calendly placeholder */
.ab-calendly {
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.ab-calendly strong {
  display: block;
  margin-bottom: 6px;
}

.ab-calendly p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */
.ab-footer {
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted-2);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* Accessible focus */
body.alanbauco-landing a:focus-visible,
body.alanbauco-landing button:focus-visible,
body.alanbauco-landing input:focus-visible,
body.alanbauco-landing select:focus-visible,
body.alanbauco-landing textarea:focus-visible {
  outline: 2px solid rgba(15, 122, 74, 0.95);
  outline-offset: 3px;
}

/* FAQ triggers : focus vert (priorité sur la règle globale boutons) */
body.alanbauco-landing .ab-faq-section .ab-faq__trigger:focus-visible {
  outline: 2px solid rgba(15, 122, 74, 0.95);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 920px) {
  .ab-hero-grid {
    gap: 22px;
  }
  .ab-panel {
    box-shadow: 0 14px 45px rgba(0,0,0,0.28);
  }
}

@media (max-width: 720px) {
  .ab-nav {
    display: none;
  }

  .ab-brand__logo {
    height: 32px; /* mobile (bigger, still within header constraints) */
    transform: scale(1.25);
  }

  .ab-floating-header {
    top: 12px;
  }
  .ab-section {
    padding: 60px 0;
  }
  .ab-section--tight {
    padding: 56px 0;
  }
  .ab-hero {
    padding-top: 88px;
    padding-bottom: 0;
  }
  .ab-below-fold {
    padding-top: 0;
  }
  .ab-h1 {
    font-size: clamp(40px, 9vw, 48px);
    line-height: 1.06;
  }
  .ab-hero-panel .ab-stats {
    grid-template-columns: 1fr;
  }
  .ab-apply-card {
    max-width: 100%;
    margin-left: 16px;
    margin-right: 16px;
    padding: 24px 18px;
  }
  .ab-container {
    padding: 0 18px;
  }
  .ab-grid-2 {
    grid-template-columns: 1fr;
  }
  .ab-form {
    grid-template-columns: 1fr;
  }
  .ab-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ab-about-grid {
    grid-template-columns: 1fr;
  }
  .ab-before-after {
    grid-template-columns: 1fr;
  }
  .ab-final-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 20px;
  }
  .ab-final-cta__actions .ab-btn {
    width: 100%;
  }
  .ab-apply-card .ab-wizard__actions {
    grid-template-columns: 1fr;
  }
  .credibility-ticker {
    padding: 56px 24px;
  }

  .pill-ticker {
    scroll-padding-inline: 50vw;
  }

  .pill-track {
    padding-inline: 50vw;
  }
}

@media (max-width: 980px) {
  .ab-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ab-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -----------------------------------------
   Wizard multi-step (landing)
------------------------------------------ */

body.alanbauco-landing .ab-wizard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ab-wizard__top {
  display: grid;
  gap: 10px;
}

.ab-wizard__progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ab-wizard__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(15, 122, 74, 0.85), rgba(15, 122, 74, 0.55));
  box-shadow: 0 0 22px rgba(15, 122, 74, 0.28);
  transition: width 240ms ease;
}

.ab-wizard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
}

.ab-wizard__stepcount {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.ab-wizard__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ab-wizard__slides {
  min-height: 240px;
}

.ab-wizard__slide {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.ab-wizard__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: auto;
  overflow: visible;
}

.ab-wizard__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ab-wizard__subtitle {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ab-wizard__error {
  margin-top: 10px;
  font-size: 13px;
  /* No reds: use a warm neutral alert tone that stays premium on dark */
  color: rgba(255, 230, 190, 0.95);
}

.ab-sr-control {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Option cards (steps 2–4, 6) */
.ab-option-grid {
  display: grid;
  /* Steps 2–4: 4 rectangles (1 per row) for better readability/tap UX */
  grid-template-columns: 1fr;
  gap: 8px;
}

.ab-option-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .ab-option-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ab-option-card {
  appearance: none;
  border: 1px solid var(--border-2);
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 8px; /* squared look */
  padding: 12px 12px;
  min-height: 58px;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

/* Steps 2–4 rectangles */
.ab-option-grid .ab-option-card {
  aspect-ratio: auto;
  min-height: 62px;
  padding: 14px 14px;
  font-size: 14px;
}

.ab-option-card--rect {
  place-items: start;
  text-align: left;
  padding: 12px 12px;
  min-height: 64px;
  gap: 6px;
}

.ab-option-card__title {
  font-weight: 700;
  font-size: 14px;
}

.ab-option-card__meta {
  font-weight: 500;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.ab-option-card.is-selected {
  background: var(--accent) !important;
  border-color: var(--accent);
  color: #ffffff;
}

.ab-option-card.is-selected .ab-option-card__meta {
  color: rgba(255, 255, 255, 0.92);
}

/* Desktop-only hover (do not override selected state) */
@media (hover: hover) and (pointer: fine) {
  .ab-option-card:not(.is-selected):hover {
    background: var(--accent) !important;
    border-color: var(--accent);
    color: #ffffff;
    transform: scale(1.02);
  }

  .ab-option-card:not(.is-selected):hover .ab-option-card__meta {
    color: rgba(255, 255, 255, 0.92);
  }

  /* Selected stays selected (no flicker / no override) */
  .ab-option-card.is-selected:hover {
    background: var(--accent) !important;
    border-color: var(--accent);
    color: #ffffff;
    transform: none;
  }
}

.ab-option-card:active {
  transform: scale(0.98);
  background: transparent !important;
}

.ab-option-card:focus-visible {
  outline: none;
  border-color: rgba(15, 122, 74, 0.9);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.14);
  background: transparent !important;
}

/* Step 7: phone + dial selector */
.ab-phone {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.ab-dial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  min-width: 104px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.ab-dial-btn:active {
  transform: scale(0.98);
}

.ab-dial-btn:focus-visible {
  outline: none;
  border-color: rgba(15, 122, 74, 0.9);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.14);
}

.ab-dial-btn__code {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ab-phone__input {
  width: 100%;
}

.ab-dial-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(14, 17, 22, 0.92);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .ab-dial-menu {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: rgba(14, 17, 22, 0.78);
  }
}

.ab-dial-menu__top {
  padding: 10px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ab-dial-menu__search {
  height: 44px;
}

.ab-dial-menu__list {
  max-height: min(340px, 52vh);
  overflow: auto;
  padding: 6px;
}

.ab-dial-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ab-dial-item__left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ab-dial-item__name {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ab-dial-item__dial {
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.ab-dial-item[aria-selected="true"] {
  border-color: rgba(15, 122, 74, 0.65);
  background: rgba(15, 122, 74, 0.18);
}

@media (hover: hover) {
  .ab-dial-item:hover {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
  }
}

.ab-dial-item:active {
  transform: scale(0.99);
}

.ab-dial-item:focus-visible {
  outline: none;
  border-color: rgba(15, 122, 74, 0.9);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.14);
}

.ab-wizard__fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ab-choice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
}

.ab-choice input {
  accent-color: var(--accent);
}

.ab-choice:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
}

.ab-choice:focus-within {
  border-color: rgba(15, 122, 74, 0.85);
  box-shadow: 0 0 0 4px rgba(15, 122, 74, 0.14);
}

.ab-wizard__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ab-wizard__actions .ab-btn[aria-disabled="true"],
.ab-wizard__actions .ab-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  .ab-wizard__actions {
    flex-direction: column;
  }
  .ab-wizard__actions .ab-btn {
    width: 100%;
  }
}

/* -----------------------------------------
   Identification / Filtering (same design language as pill ticker)
------------------------------------------ */

.ab-identify {
  padding: 80px 60px;
  margin: 0;
  background: var(--bg);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.ab-identify.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ab-identify .ab-section-head {
  margin-bottom: 26px;
}

.ab-identify {
  --identifyCardW: min(520px, 78vw);
  --ab-identify-gap: 32px;
  --ab-identify-marquee-duration: 72s;
}

.ab-identify + .ab-identify--mirror {
  padding-top: 48px;
}

.ab-identify-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

@media (max-width: 600px) {
  .ab-identify-list {
    grid-template-columns: 1fr;
  }
}

.ab-identify-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.ab-identify-list__icon {
  flex-shrink: 0;
  width: 1.35em;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.ab-identify-list__icon--yes {
  color: var(--accent);
}

.ab-identify-list__icon--no {
  color: rgba(200, 95, 95, 0.75);
}

.ab-identify-list__text {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

@media (max-width: 720px) {
  .ab-identify-list {
    padding: 18px 18px;
    gap: 16px;
  }

  .ab-identify-list__text {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* Use the same ticker structure as the previous bubbles,
   but center LARGE cards correctly (not with generic 50vw paddings). */
.ab-identify .pill-ticker {
  /* keep the same container behavior as the bubble ticker */
  scroll-padding-inline: calc((100% - var(--identifyCardW)) / 2);
  /* prevent hover lift from being clipped */
  overflow-y: visible;
  padding-block: 10px;
  /* marquee: disable snap so the auto-scroll is perfectly continuous */
  scroll-snap-type: none;
}

.ab-identify .pill-track {
  /* fallback (non-marquee / reduced-motion) spacing */
  gap: var(--ab-identify-gap);
  padding-inline: calc((100% - var(--identifyCardW)) / 2);
  padding-block: 8px; /* room for hover lift */
}

@media (max-width: 720px) {
  .ab-identify {
    padding: 56px 24px;
    --ab-identify-gap: 22px;
  }
}

/* Marquee (infinite CSS loop) — enabled only after JS duplicates the DOM */
@keyframes ab-identify-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.ab-identify[data-ab-marquee-ready="1"] .pill-ticker {
  /* hide scrollbar + clip the band horizontally, but keep vertical shadows */
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: auto;
  touch-action: pan-y; /* allow vertical scroll; avoid horizontal interference */
  position: relative;
}

.ab-identify[data-ab-marquee-ready="1"] .pill-ticker::-webkit-scrollbar {
  display: none;
}

.ab-identify[data-ab-marquee-ready="1"] .pill-ticker::before,
.ab-identify[data-ab-marquee-ready="1"] .pill-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 3;
}

.ab-identify[data-ab-marquee-ready="1"] .pill-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5,7,10,1), rgba(5,7,10,0));
}

.ab-identify[data-ab-marquee-ready="1"] .pill-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(5,7,10,1), rgba(5,7,10,0));
}

/* Cinematic fade edges (mask). Falls back to ::before/::after gradients if unsupported. */
@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  .ab-identify[data-ab-marquee-ready="1"] .pill-ticker {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      transparent 6%,
      #000 12%,
      #000 88%,
      transparent 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      transparent 6%,
      #000 12%,
      #000 88%,
      transparent 94%,
      transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  .ab-identify[data-ab-marquee-ready="1"] .pill-ticker::before,
  .ab-identify[data-ab-marquee-ready="1"] .pill-ticker::after {
    content: none;
  }
}

.ab-identify[data-ab-marquee-ready="1"] .pill-track {
  padding-inline: 0; /* remove "center first/last" paddings – we are infinite now */
  width: max-content;
  will-change: transform;
  animation: ab-identify-marquee var(--ab-identify-marquee-duration) linear infinite;
  display: flex;
  gap: 0; /* spacing is handled inside each duplicated set (seamless) */
}

.ab-identify[data-ab-marquee-ready="1"][data-ab-marquee-direction="reverse"] .pill-track {
  animation-direction: reverse;
}

/* Each duplicated half of the marquee */
.ab-identify[data-ab-marquee-ready="1"] .ab-marquee-set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--ab-identify-gap);
  padding-right: var(--ab-identify-gap); /* preserve spacing at the seam between sets */
}

@media (hover: hover) {
  .ab-identify[data-ab-marquee-ready="1"] .pill-ticker:hover .pill-track {
    animation-play-state: paused;
  }
}

.ab-identify[data-ab-marquee-ready="1"] .pill-ticker.is-paused .pill-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ab-identify[data-ab-marquee-ready="1"] .pill-ticker {
    overflow-x: auto;
  }
  .ab-identify[data-ab-marquee-ready="1"] .pill-track {
    animation: none;
    transform: none;
  }
}

