/* AlertEB - page de présentation publique (landing).
   Palette : bleu marine, blanc, touches dorées discrètes (DESIGN.md, web.css).
   Typographie : Montserrat (titres), Inter (texte). Icônes : SVG inline uniquement. */

.ae-vitrine {
  --vt-marine: #1B2A6B;
  --vt-marine-fonce: #0F1A47;
  --vt-marine-nuit: #0A1233;
  --vt-or: #D9B24C;
  --vt-or-clair: #F5C518;
  --vt-encre: #101418;
  --vt-gris: #4A5163;
  --vt-filet: #E3E7EF;
  --vt-fond-teinte: #F6F8FC;
  --vt-max: 1160px;
  display: block;
  padding: 0;
  background: #FFFFFF;
  color: var(--vt-encre);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ae-vitrine h1, .ae-vitrine h2, .ae-vitrine h3 { font-family: 'Montserrat', sans-serif; margin: 0; letter-spacing: -0.01em; }
.ae-vitrine .icon { width: 1.05em; height: 1.05em; }
html { scroll-behavior: smooth; }

.vt-conteneur { width: 100%; max-width: var(--vt-max); margin: 0 auto; padding: 0 24px; }

.vt-saut {
  position: absolute; left: 16px; top: -48px; z-index: 50; padding: 10px 14px;
  background: var(--vt-or-clair); color: var(--vt-marine-nuit); font-weight: 600; border-radius: 4px;
}
.vt-saut:focus { top: 12px; }

/* --- Boutons ----------------------------------------------------------------- */
.vt-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vt-btn:hover { transform: translateY(-1px); }
.vt-btn:focus-visible, .vt-nav a:focus-visible, .vt-pied a:focus-visible, .vt-marque:focus-visible {
  outline: 2px solid var(--vt-or-clair); outline-offset: 3px;
}
.vt-btn--or { background: var(--vt-or-clair); color: var(--vt-marine-nuit); box-shadow: 0 8px 24px -10px rgba(245, 197, 24, .55); }
.vt-btn--or:hover { background: #FFD43B; }
.vt-btn--clair { background: rgba(255,255,255,.08); color: #FFFFFF; border-color: rgba(255,255,255,.35); }
.vt-btn--clair:hover { background: rgba(255,255,255,.16); }
.vt-btn--contour { color: #FFFFFF; border-color: rgba(255,255,255,.45); background: transparent; }
.vt-btn--contour:hover { border-color: var(--vt-or); color: var(--vt-or-clair); }
.vt-btn--petit { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* --- En-tête ------------------------------------------------------------------- */
.vt-entete {
  position: fixed; inset: 0 0 auto 0; z-index: 40; padding: 14px 0;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.vt-entete.is-defile { background: rgba(10, 18, 51, .94); box-shadow: 0 1px 0 rgba(255,255,255,.06); padding: 8px 0; backdrop-filter: blur(8px); }
.vt-entete-ligne { display: flex; align-items: center; gap: 28px; }
.vt-marque { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.vt-marque img { width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; padding: 2px; }
.vt-marque span { display: flex; flex-direction: column; line-height: 1.15; }
.vt-marque strong { font-family: 'Montserrat', sans-serif; font-size: 17px; letter-spacing: .01em; }
.vt-marque small { font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; }
.vt-nav { display: flex; gap: 26px; margin-left: auto; }
.vt-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.vt-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--vt-or); transition: right .25s ease; }
.vt-nav a:hover { color: #FFFFFF; }
.vt-nav a:hover::after { right: 0; }

/* --- Hero ----------------------------------------------------------------------- */
/* Photo plein cadre. Titre en haut à gauche, sur le ciel au-dessus de l'aile gauche ;
   texte et boutons en bas à gauche ; carte flottante (Douala, avions en orbite) en bas à droite. */
.vt-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: min(100svh, 980px); min-height: 680px;
  color: #FFFFFF; background: var(--vt-marine-nuit);
}
.vt-hero-visuel { position: absolute; inset: 0; z-index: -2; }
.vt-hero-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.vt-hero::before {
  /* Voile : lisibilité du titre en haut à gauche et du bandeau bas. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,18,51,.7) 0%, rgba(10,18,51,.25) 22%, rgba(10,18,51,0) 38%),
    linear-gradient(100deg, rgba(10,18,51,.55) 0%, rgba(10,18,51,0) 42%),
    linear-gradient(180deg, rgba(10,18,51,0) 56%, rgba(10,18,51,.72) 74%, rgba(10,18,51,.94) 100%);
}
.vt-hero-grille {
  height: 100%; display: grid; grid-template-rows: auto 1fr auto;
  padding-top: 108px; padding-bottom: clamp(32px, 5vh, 52px);
}
.vt-hero-titre {
  grid-row: 1; max-width: 13.5ch; margin: 0;
  font-size: clamp(28px, 2.75vw, 40px); line-height: 1.1; font-weight: 700;
  text-shadow: 0 2px 18px rgba(10,18,51,.6);
}
.vt-hero-bas {
  grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px clamp(32px, 5vw, 80px); align-items: end;
}
.vt-hero-texte { max-width: 54ch; margin: 0 0 22px; font-size: clamp(15.5px, 1.25vw, 17.5px); color: rgba(255,255,255,.9); text-shadow: 0 1px 10px rgba(10,18,51,.7); }
.vt-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.vt-mention { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.72); }

/* Carte flottante. */
.vt-carte-vol {
  /* Largeur liée à la hauteur du hero : la carte ne remonte pas sur l'aile. */
  width: clamp(300px, calc(min(100svh, 980px) - 400px), 460px);
  margin: 0;
  padding: 16px 18px 12px; border-radius: 16px;
  background: rgba(10, 18, 51, .62); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  animation: vt-flotte 7s ease-in-out infinite alternate;
}
@keyframes vt-flotte { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.vt-carte-vol-entete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.vt-carte-vol-lieu { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #FFFFFF; }
.vt-carte-vol-lieu .icon { color: var(--vt-or-clair); }
.vt-carte-vol-codes {
  flex: none; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: #FFFFFF; border: 1px solid rgba(255,255,255,.55);
}
.vt-carte-vol svg { display: block; width: 100%; height: auto; border-radius: 8px; background: rgba(90,169,220,.08); }
.vt-c-terre { fill: rgba(90,169,220,.42); stroke: rgba(255,255,255,.18); stroke-width: .6; stroke-linejoin: round; }
.vt-c-trajet { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1; stroke-dasharray: 3 3; }
.vt-c-ville { fill: #FFFFFF; }
.vt-c-douala { fill: var(--vt-or-clair); filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.vt-c-avion { fill: #FFFFFF; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
.vt-c-onde {
  fill: none; stroke: var(--vt-or-clair); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center; animation: vt-onde 3s ease-out infinite;
}
.vt-c-onde--2 { animation-delay: 1.5s; }
@keyframes vt-onde { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }
.vt-c-nom { fill: #FFFFFF; font: 700 9px 'Inter', sans-serif; paint-order: stroke; stroke: rgba(10,18,51,.8); stroke-width: 3px; }

/* --- Sections ------------------------------------------------------------------- */
.vt-section { padding: clamp(72px, 9vw, 112px) 0; scroll-margin-top: 64px; }
.vt-section--teinte { background: var(--vt-fond-teinte); border-top: 1px solid var(--vt-filet); border-bottom: 1px solid var(--vt-filet); }
.vt-section h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; color: var(--vt-marine); font-weight: 700; max-width: 22ch; }
.vt-etiquette {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vt-marine);
}
.vt-etiquette::before { content: ""; width: 28px; height: 2px; background: var(--vt-or); }
.vt-etiquette--or { color: var(--vt-or-clair); }
.vt-deux-colonnes { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.vt-deux-colonnes--intro { margin-bottom: 52px; }
.vt-texte p { margin: 0 0 16px; color: var(--vt-gris); font-size: 16.5px; }
.vt-liste-coches { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.vt-liste-coches li { display: flex; gap: 12px; align-items: flex-start; color: var(--vt-encre); font-size: 15.5px; }
.vt-liste-coches .icon { margin-top: 4px; color: var(--vt-marine); padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: #EEF0FA; flex: none; }

/* Étapes */
.vt-etapes { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.vt-etape {
  position: relative; background: #FFFFFF; border: 1px solid var(--vt-filet); border-radius: 8px; padding: 28px 24px 26px;
  box-shadow: 0 1px 3px rgba(16,20,24,.04), 0 1px 2px -1px rgba(16,20,24,.03);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.vt-etape:hover { transform: translateY(-4px); border-color: rgba(27,42,107,.25); box-shadow: 0 18px 36px -24px rgba(15,26,71,.45); }
.vt-etape-num { position: absolute; top: 22px; right: 22px; font-family: 'Montserrat'; font-size: 13px; font-weight: 700; color: var(--vt-or); letter-spacing: .08em; }
.vt-etape-icone { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; background: var(--vt-marine); color: #FFFFFF; font-size: 20px; margin-bottom: 20px; }
.vt-etape h3 { font-size: 17px; color: var(--vt-marine); margin-bottom: 10px; }
.vt-etape p { margin: 0; color: var(--vt-gris); font-size: 14.5px; }

/* Équipements */
.vt-equipements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--vt-filet); border: 1px solid var(--vt-filet); border-radius: 8px; overflow: hidden; }
.vt-equipement { background: #FFFFFF; padding: 30px 28px; transition: background-color .25s ease; }
.vt-equipement:hover { background: #FBFCFE; }
.vt-equipement-icone { display: inline-flex; color: var(--vt-marine); font-size: 24px; margin-bottom: 16px; }
.vt-equipement-icone .icon { width: 26px; height: 26px; }
.vt-equipement h3 { font-size: 16.5px; color: var(--vt-encre); margin-bottom: 8px; }
.vt-equipement p { margin: 0; font-size: 14.5px; color: var(--vt-gris); }
.vt-precision {
  display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 16px 18px;
  border-left: 3px solid var(--vt-or); background: var(--vt-fond-teinte); color: var(--vt-gris); font-size: 14.5px; border-radius: 0 6px 6px 0;
}
.vt-precision .icon { margin-top: 4px; color: var(--vt-marine); flex: none; }

/* Application mobile */
.vt-section--marine { color: #FFFFFF; background: linear-gradient(160deg, var(--vt-marine) 0%, var(--vt-marine-nuit) 100%); position: relative; overflow: hidden; }
.vt-section--marine h2 { color: #FFFFFF; }
.vt-mobile { align-items: center; grid-template-columns: 6fr 5fr; }
.vt-liste-coches--claire li { color: rgba(255,255,255,.88); }
.vt-liste-coches--claire .icon { background: rgba(245,197,24,.14); color: var(--vt-or-clair); }
.vt-section--marine .vt-actions { margin-top: 34px; }
.vt-mention--claire { color: rgba(255,255,255,.6); max-width: 52ch; }
.vt-telephone {
  justify-self: center; width: 280px; padding: 12px; border-radius: 36px;
  background: linear-gradient(145deg, #2A3770, #0B1336); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-3deg);
}
.vt-telephone-ecran { border-radius: 26px; background: #F1F4F9; padding: 16px 12px 18px; color: var(--vt-encre); min-height: 470px; }
.vt-tel-barre { font-family: 'Montserrat'; font-weight: 700; color: var(--vt-marine); font-size: 15px; padding: 6px 4px 12px; }
.vt-tel-carte {
  display: flex; flex-direction: column; gap: 2px; background: #FFFFFF; border-radius: 8px; padding: 12px 12px 12px 14px; margin-bottom: 10px;
  border-left: 4px solid; box-shadow: 0 1px 3px rgba(16,20,24,.06); font-size: 12px;
}
.vt-tel-carte strong { font-size: 14px; }
.vt-tel-carte small { color: var(--vt-gris); }
.vt-tel-carte em { font-style: normal; color: var(--vt-gris); font-size: 11px; margin-top: 4px; }
.vt-tel-carte--critique { border-left-color: #93000A; }
.vt-tel-carte--urgent { border-left-color: #D32F2F; }
.vt-tel-carte--eleve { border-left-color: var(--vt-or-clair); }
.vt-tel-badge { align-self: flex-start; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; margin-bottom: 4px; }
.vt-tel-badge--critique { background: #93000A; color: #FFFFFF; }
.vt-tel-badge--urgent { background: #FFDAD6; color: #93000A; }
.vt-tel-badge--eleve { background: #FEF3C7; color: #92400E; }
.vt-tel-legende { margin: 14px 0 0; text-align: center; font-size: 10.5px; color: #8A90A2; }

/* --- Pied de page ------------------------------------------------------------------ */
.vt-pied { background: var(--vt-marine-nuit); color: rgba(255,255,255,.72); font-size: 14px; padding: 64px 0 0; border-top: 2px solid var(--vt-or); }
.vt-pied-grille { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.vt-pied-marque { display: flex; gap: 16px; align-items: flex-start; }
.vt-pied-marque img { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; padding: 2px; flex: none; }
.vt-pied-marque strong { font-family: 'Montserrat'; color: #FFFFFF; font-size: 18px; }
.vt-pied-marque p { margin: 6px 0 0; max-width: 38ch; }
.vt-pied-titre { margin: 0 0 12px; color: #FFFFFF; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.vt-pied nav a { display: block; color: rgba(255,255,255,.72); text-decoration: none; padding: 4px 0; }
.vt-pied nav a:hover { color: var(--vt-or-clair); }
.vt-pied p { margin: 0; }
.vt-pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.5); }

/* --- Responsive ------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .vt-etapes { grid-template-columns: repeat(2, 1fr); }
  .vt-equipements { grid-template-columns: repeat(2, 1fr); }
}
/* Écran moyen : carte flottante plus étroite pour ne pas toucher le moteur droit. */
@media (max-width: 1200px) {
  .vt-carte-vol { width: 300px; }
}
@media (max-width: 860px) {
  .vt-nav { display: none; }
  .vt-entete-ligne { justify-content: space-between; }
  .vt-deux-colonnes, .vt-mobile { grid-template-columns: 1fr; }
  .vt-pied-grille { grid-template-columns: 1fr 1fr; }
  .vt-pied-marque { grid-column: 1 / -1; }
  .vt-telephone { transform: none; }
  /* Écran étroit : titre, photo entière en bandeau, texte et boutons, puis carte flottante. */
  .vt-hero { height: auto; min-height: 0; padding: 84px 0 48px; }
  .vt-hero::before { display: none; }
  .vt-hero-grille { display: block; height: auto; padding-top: 0; padding-bottom: 0; }
  .vt-hero-titre { max-width: 20ch; margin-bottom: 16px; }
  .vt-hero-visuel { position: relative; inset: auto; z-index: auto; display: block; aspect-ratio: 16 / 9; margin: 0 0 24px; }
  .vt-hero-visuel::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--vt-marine-nuit) 0%, rgba(10,18,51,0) 18%, rgba(10,18,51,0) 62%, var(--vt-marine-nuit) 100%);
  }
  .vt-hero-visuel img { object-position: 50% 50%; }
  .vt-hero-bas { grid-template-columns: 1fr; }
  .vt-carte-vol { width: auto; max-width: 420px; margin: 0; }
}
@media (max-width: 560px) {
  .vt-conteneur { padding: 0 16px; }
  .vt-marque small { display: none; }
  .vt-actions .vt-btn { width: 100%; justify-content: center; }
  .vt-etapes, .vt-equipements { grid-template-columns: 1fr; }
  .vt-pied-grille { grid-template-columns: 1fr; }
  .vt-telephone { width: 100%; max-width: 280px; }
}
/* Mouvement réduit : aucune transition. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vt-btn, .vt-etape, .vt-equipement, .vt-entete { transition: none; }
  .vt-carte-vol, .vt-c-onde { animation: none; }
}
