/* ════════════════════════════════════════════════════════════════════════════
   a2a-site-teasing.css — Page de teasing savannatoursandsafaris.net
   Convention : sélecteurs .a2a-site-teasing__*
   Variables   : hérite de a2a-site-corporate.css
   ────────────────────────────────────────────────────────────────────────────
   MODIFICATIONS 2026-07-11 (à retirer une fois prod validée) :
     • Hero : min-height 100vh (fallback) + 100svh
     • Hero : background-attachment scroll sur mobile (évite artefacts iOS)
     • Hero : background-position 68%/75% sur mobile — garde la girafe visible
     • Logo-band : position absolute top 22%, dégradé radial (ellipse 28%/55%)
     • Logo : height clamp(72px, 12vw, 120px) — responsive
     • Back-top : bouton rond orange 46px + chevron SVG
     • Responsive : breakpoints 600px, 480px, 400px
     • Accessibilité : prefers-reduced-motion
   ════════════════════════════════════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
}

/* ═══ RESET PAGE ═══ */
html,
body {
  margin: 0;
  padding: 0;
  background: var(--a2a-site-black);
}

/* ═══════════════════════════════════════════════════════════ HERO ═══ */

.a2a-site-teasing__hero {
  position: relative;
  min-height: 100vh;   /* fallback : vieux Safari, Firefox < 101 */
  min-height: 100svh;  /* unité dynamique : exclut la barre de navigation mobile */
  background-image: url('../img/teasing-hero.jpg'); /* relatif : fonctionne en dev et en prod */
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* fixed provoque des artefacts sur iOS/Android */
@media (max-width: 768px) {
  .a2a-site-teasing__hero {
    background-attachment: scroll;
    background-position: 68% 35%; /* décalé à droite : garde la girafe visible sur portrait */
  }
}

@media (max-width: 480px) {
  .a2a-site-teasing__hero {
    background-position: 75% 40%; /* viewport très étroit : girafe encore plus centrée */
  }
}

.a2a-site-teasing__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 11, 0.65) 0%,
    rgba(11, 11, 11, 0.30) 45%,
    rgba(11, 11, 11, 0.80) 100%
  );
}

.a2a-site-teasing__hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 2rem;
}

/* ═══ BANDEAU LOGO — centré dans le hero, dégradé horizontal ═══ */

.a2a-site-teasing__logo-band {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 22%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background: radial-gradient(
    ellipse 28% 100% at center,
    rgba(11, 11, 11, 0.90) 0%,
    rgba(11, 11, 11, 0.90) 30%,
    transparent 100%
  );
}

.a2a-site-teasing__logo {
  display: block;
  height: clamp(72px, 12vw, 120px); /* 120px desktop → 72px min mobile */
  width: auto;
}

.a2a-site-teasing__tagline {
  font-family: var(--a2a-site-font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.a2a-site-teasing__soon-badge {
  position: relative;
  display: inline-block;
  font-family: var(--a2a-site-font-cta);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a2a-site-accent);
  border: 1px solid var(--a2a-site-accent);
  padding: 0.5rem 1.4rem 0.5rem 2.1rem;
  border-radius: 2px;
  margin: 0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.a2a-site-teasing__soon-badge:hover,
.a2a-site-teasing__soon-badge:focus-visible {
  background: var(--a2a-site-accent);
  color: #ffffff;
  outline: 2px solid var(--a2a-site-accent);
  outline-offset: 3px;
}

.a2a-site-teasing__soon-badge:hover::before,
.a2a-site-teasing__soon-badge:focus-visible::before,
.a2a-site-teasing__soon-badge:hover::after,
.a2a-site-teasing__soon-badge:focus-visible::after {
  background: #ffffff;
}

/* ═══ DOT PULSANT — indicateur de cliquabilité ═══ */

/* Point statique */
.a2a-site-teasing__soon-badge::before {
  content: '';
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--a2a-site-accent);
}

/* Anneau pulsant */
.a2a-site-teasing__soon-badge::after {
  content: '';
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--a2a-site-accent);
  animation: a2a-teasing-pulse 2s ease-out infinite;
}

@keyframes a2a-teasing-pulse {
  0%   { transform: translateY(-50%) scale(1);   opacity: 0.85; }
  70%  { transform: translateY(-50%) scale(2.8); opacity: 0;    }
  100% { transform: translateY(-50%) scale(2.8); opacity: 0;    }
}

/* ═══════════════════════════════════════════════════════ ROADMAP ═══ */

.a2a-site-teasing__roadmap {
  background: var(--a2a-site-black);
  padding: 80px 24px 96px;
}

.a2a-site-teasing__roadmap-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* ═══ BOUTON REMONTER ═══ */

.a2a-site-teasing__back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 48px;
  background: var(--a2a-site-accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.a2a-site-teasing__back-top:hover,
.a2a-site-teasing__back-top:focus-visible {
  background: #e07800;
  transform: translateY(-2px);
  outline: 2px solid var(--a2a-site-accent);
  outline-offset: 3px;
}

.a2a-site-teasing__roadmap-eyebrow {
  font-family: var(--a2a-site-font-cta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 56px;
}

.a2a-site-teasing__phases {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ═══ PHASE — structure commune ═══ */

.a2a-site-teasing__phase {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "num  badge"
    "num  body";
  column-gap: 28px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.a2a-site-teasing__phase:first-child {
  border-top: none;
}

.a2a-site-teasing__phase-num {
  grid-area: num;
  font-family: var(--a2a-site-font-cta);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  align-self: center;
}

.a2a-site-teasing__phase-badge {
  grid-area: badge;
  display: inline-block;
  align-self: start;
  font-family: var(--a2a-site-font-cta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 12px;
}

.a2a-site-teasing__phase-body {
  grid-area: body;
}

.a2a-site-teasing__phase-title {
  font-family: var(--a2a-site-font-title);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
}

.a2a-site-teasing__phase-desc {
  font-family: var(--a2a-site-font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ═══ PHASE — en cours ═══ */

.a2a-site-teasing__phase--active .a2a-site-teasing__phase-num {
  color: var(--a2a-site-accent);
}

.a2a-site-teasing__phase--active .a2a-site-teasing__phase-badge {
  background: var(--a2a-site-accent);
  color: #ffffff;
}

.a2a-site-teasing__phase--active .a2a-site-teasing__phase-title {
  color: rgba(255, 255, 255, 0.95);
}

.a2a-site-teasing__phase--active .a2a-site-teasing__phase-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* ═══ PHASE — bientôt (contraste ≥ 4.5:1 sur #0b0b0b) ═══ */

.a2a-site-teasing__phase--soon .a2a-site-teasing__phase-num {
  color: rgba(255, 255, 255, 0.25);
}

.a2a-site-teasing__phase--soon .a2a-site-teasing__phase-badge {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.a2a-site-teasing__phase--soon .a2a-site-teasing__phase-title {
  color: rgba(255, 255, 255, 0.65);
}

.a2a-site-teasing__phase--soon .a2a-site-teasing__phase-desc {
  color: rgba(255, 255, 255, 0.50);
}

/* ═════════════════════════════════════════════════════════ FOOTER ═══ */

.a2a-site-teasing__footer {
  background: var(--a2a-site-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a2a-site-teasing__footer-text {
  font-family: var(--a2a-site-font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.a2a-site-teasing__footer-link {
  color: var(--a2a-site-accent);
  text-decoration: none;
}

.a2a-site-teasing__footer-link:hover,
.a2a-site-teasing__footer-link:focus-visible {
  text-decoration: underline;
  outline: 2px solid var(--a2a-site-accent);
  outline-offset: 2px;
  border-radius: 1px;
}

.a2a-site-teasing__footer-copy {
  font-family: var(--a2a-site-font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
}

/* ═══════════════════════════════════════════════════ RESPONSIVE ═══ */

/* ── ≤ 600px ── */
@media (max-width: 600px) {
  .a2a-site-teasing__roadmap {
    padding: 56px 20px 72px;
  }

  /* Halo radial plus large : logo ne déborde plus du dégradé */
  .a2a-site-teasing__logo-band {
    background: radial-gradient(
      ellipse 55% 100% at center,
      rgba(11, 11, 11, 0.90) 0%,
      rgba(11, 11, 11, 0.90) 30%,
      transparent 100%
    );
  }

  .a2a-site-teasing__phase {
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    padding: 32px 0;
  }

  .a2a-site-teasing__phase-num {
    font-size: 2.5rem;
  }
}

/* ── ≤ 400px : très petits écrans (iPhone SE, Galaxy A03…) ── */
@media (max-width: 400px) {
  .a2a-site-teasing__phase {
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
  }

  .a2a-site-teasing__phase-num {
    font-size: 2rem;
  }

  .a2a-site-teasing__roadmap-eyebrow {
    margin-bottom: 36px;
  }
}

/* ── Accessibilité : animations désactivées ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .a2a-site-teasing__back-top,
  .a2a-site-teasing__soon-badge,
  .a2a-site-teasing__footer-link {
    transition: none;
  }

  .a2a-site-teasing__soon-badge::after {
    animation: none;
  }
}
