/* Maquette du site d'accompagnement de groupes EAZIA (2026-11-08).
   Charte des accompagnements : nuit bleu marine du logo « Accompagnement sur mesure » (#262B45),
   dégradé vert -> turquoise -> bleu du symbole EAZIA, Poppins pour les titres, Figtree pour le texte.
   Aucun flou, aucun emoji, mouvement sobre (fondus et légères montées). */
@font-face { font-family: 'Poppins'; src: url('fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/poppins-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --nuit: #0D1229;        /* fond profond */
  --nuit-2: #151B36;      /* surfaces */
  --nuit-3: #1C2445;      /* surfaces au survol */
  --marine: #262B45;      /* fond du logo des accompagnements */
  --trait: #2A3358;
  --texte: #F2F5FB;
  --texte-2: #B4BED3;
  --texte-3: #7C88A6;
  --vert: #00E08A;
  --turquoise: #0BC4C4;
  --bleu: #1E8BFF;
  --or: #F5C518;
  --degrade: linear-gradient(100deg, #00E08A 0%, #0BC4C4 48%, #1E8BFF 100%);
  --rayon: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --marge: clamp(16px, 5vw, 88px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--nuit); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font: 400 17px/1.6 'Figtree', system-ui, sans-serif; color: var(--texte);
  background: radial-gradient(120% 90% at 78% 30%, #1A2350 0%, var(--nuit) 58%) fixed, var(--nuit);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.06; }
h1 { font-size: clamp(42px, 6.2vw, 92px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.degrade { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: 6px; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--texte); color: var(--nuit); border-radius: 8px; }
.evitement:focus { top: 16px; }

/* ---------- Toile 3D et étiquettes ---------- */
.monde { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.etiquettes { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.etiquette {
  position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; will-change: transform, opacity;
  font: 600 12.5px/1 'Figtree', sans-serif; letter-spacing: .02em; color: var(--texte);
  padding: 6px 10px; border-radius: 999px; background: rgba(13, 18, 41, .78); border: 1px solid var(--trait);
}
.etiquette b { font-weight: 700; color: var(--vert); margin-right: 6px; font-variant-numeric: tabular-nums; }
.etiquette.alerte b { color: var(--or); }
.sans-3d .monde, .sans-3d .etiquettes { display: none; }
/* voile de lecture : assombrit la moitié gauche (où se lit le texte) tant que le globe est à droite ; un dégradé, jamais un flou */
.voile { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 18, 41, .94) 0%, rgba(13, 18, 41, .82) 30%, rgba(13, 18, 41, .35) 46%, rgba(13, 18, 41, 0) 56%); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: 76px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--marge); transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.entete.plein { background: rgba(13, 18, 41, .94); border-color: var(--trait); }
.marque { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.marque img { width: 118px; height: auto; }
.marque-sous { font: 600 11px/1.25 'Figtree', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); padding-left: 14px; border-left: 1px solid var(--trait); }
.menu { display: flex; gap: 26px; }
.menu a { font-size: 15px; font-weight: 500; color: var(--texte-2); text-decoration: none; position: relative; padding: 6px 0; transition: color .2s var(--ease); }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--degrade); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu a:hover, .menu a[aria-current] { color: var(--texte); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.progression { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progression span { display: block; height: 100%; background: var(--degrade); transform: scaleX(0); transform-origin: left; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font: 600 16px/1 'Figtree', sans-serif; color: #04121F; text-decoration: none; border-radius: 999px;
  background: var(--degrade); background-size: 140% 100%; background-position: 0 0;
  transition: background-position .4s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(11, 196, 196, .55);
}
.bouton:hover { background-position: 100% 0; box-shadow: 0 14px 34px -12px rgba(30, 139, 255, .7); }
.bouton:active { transform: scale(.98); }
.bouton-contour { background: transparent; color: var(--texte); box-shadow: inset 0 0 0 1.5px rgba(242, 245, 251, .35); }
.bouton-contour:hover { box-shadow: inset 0 0 0 1.5px var(--texte); background: rgba(242, 245, 251, .06); }
.bouton-petit { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.bouton-plein { width: 100%; }

/* ---------- Chapitres ---------- */
main { position: relative; z-index: 2; }
.chapitre { position: relative; padding: 0 var(--marge); }
.cadre { max-width: 1280px; margin: 0 auto; }
.colonne-texte { max-width: 560px; margin-left: max(0px, calc((100% - 1280px) / 2)); }
.surtitre { font: 600 12.5px/1.2 'Figtree', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--vert); margin-bottom: 22px; }
.chapeau { margin-top: 26px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--texte-2); max-width: 58ch; }

.accueil { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.accueil .cadre { width: 100%; }
.accueil h1, .accueil .chapeau, .accueil .surtitre { max-width: 680px; }
.types { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.types li { font-size: 14px; font-weight: 500; color: var(--texte-2); padding: 8px 14px; border: 1px solid var(--trait); border-radius: 999px; background: rgba(21, 27, 54, .6); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.indice { position: absolute; left: var(--marge); bottom: 32px; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.indice span { width: 1px; height: 38px; background: linear-gradient(var(--texte-3), transparent); }

.metier { padding-top: 22vh; padding-bottom: 26vh; }
.piliers { margin-top: 48px; display: grid; gap: 4px; }
.piliers li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--trait); }
.piliers li:last-child { border-bottom: 1px solid var(--trait); }
.num { font: 700 14px/1.6 'Poppins', sans-serif; color: var(--vert); font-variant-numeric: tabular-nums; }
.piliers p, .etapes p, .garanties p { margin-top: 6px; color: var(--texte-2); font-size: 16.5px; }

/* section épinglée : 5 étapes du séjour */
.terrain { height: 620vh; padding: 0; }
.collant { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 76px var(--marge) 0; }
.collant .cadre { width: 100%; }
.exemple { margin-top: 14px; font-size: 14.5px; color: var(--texte-3); }
.etapes { margin-top: 30px; display: grid; gap: 6px; counter-reset: etape; }
.etapes li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 14px; border: 1px solid transparent; opacity: .42; transition: opacity .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.etapes li p { display: none; }
.etapes li.fait { opacity: .78; }
.etapes li.actif { opacity: 1; background: rgba(21, 27, 54, .86); border-color: var(--trait); }
.etapes li.actif p { display: block; }
.coche { width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--texte-3); position: relative; transition: border-color .3s, background-color .3s; }
.coche::after { content: ''; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #04121F; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.etapes li.actif .coche { border-color: var(--vert); }
.etapes li.fait .coche { background: var(--vert); border-color: var(--vert); }
.etapes li.fait .coche::after { transform: rotate(45deg) scale(1); }
.etapes li.etape-imprevu.actif:not(.resolu) .coche { border-color: var(--or); background: rgba(245, 197, 24, .15); }
.etapes li.etape-imprevu.actif:not(.resolu) h3 { color: var(--or); }

/* section épinglée : tour du monde par continent */
.destinations { height: 560vh; padding: 0; }
.destinations .chapeau { margin-top: 18px; font-size: 17px; }
.chiffres-ligne { margin-top: 26px; display: flex; gap: 0; border-block: 1px solid var(--trait); }
.chiffres-ligne > div { flex: 1; padding: 14px 0 12px 16px; border-left: 1px solid var(--trait); }
.chiffres-ligne > div:first-child { padding-left: 0; border-left: 0; }
.chiffres-ligne dt { font: 800 32px/1 'Poppins', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chiffres-ligne dd { margin-top: 6px; font-size: 13.5px; color: var(--texte-2); }
.legende-liste { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--texte-3); }
.continents { margin-top: 10px; display: grid; gap: 4px; }
.continents li { padding: 10px 16px; border-radius: 14px; border: 1px solid transparent; opacity: .45; transition: opacity .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.continents li.fait { opacity: .7; }
.continents li.actif { opacity: 1; background: rgba(21, 27, 54, .86); border-color: var(--trait); }
.continents h3 { display: flex; align-items: baseline; gap: 10px; font-size: 18px; }
.continents h3 span { font: 600 13px/1 'Figtree', sans-serif; letter-spacing: .04em; color: var(--vert); }
.continents p { display: none; margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--texte-2); }
.continents li.actif p { display: block; }
.chiffres { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--trait); }
.chiffres > div { padding: 26px 0 24px; border-bottom: 1px solid var(--trait); }
.chiffres > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--trait); }
.chiffres > div:nth-child(even) { padding-left: 24px; }
.chiffres dt { font: 800 clamp(40px, 4vw, 56px)/1 'Poppins', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chiffres dt .petit { font-size: .42em; letter-spacing: 0; color: var(--texte-2); margin-left: 4px; }
.chiffres dd { margin-top: 8px; color: var(--texte-2); font-size: 15.5px; }

/* le globe devient un horizon : les sections suivantes sont centrées et posées sur une surface */
.references { padding-top: 20vh; padding-bottom: 14vh; }
.references > .cadre > .surtitre, .references h2 { text-align: center; }
.citation-phare { max-width: 960px; margin: 64px auto 0; text-align: center; }
.citation-phare blockquote p { font: 600 clamp(22px, 2.5vw, 34px)/1.4 'Poppins', sans-serif; letter-spacing: -.015em; }
.citation-phare blockquote p::before { content: '«\00a0'; color: var(--vert); }
.citation-phare blockquote p::after { content: '\00a0»'; color: var(--vert); }
figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
figcaption strong { font-weight: 700; }
figcaption span { color: var(--texte-3); }
.citation-phare figcaption { align-items: center; margin-top: 26px; }
/* bandeau d'avis : trois cartes visibles, défilement horizontal par les flèches (ou au doigt, à la molette inclinée) */
.carrousel { margin-top: 72px; }
.carrousel-piste { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste:focus-visible { outline-offset: 6px; }
.carrousel figure { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 28px 24px; border-radius: var(--rayon); background: rgba(21, 27, 54, .94); border: 1px solid var(--trait); transition: border-color .25s var(--ease); }
.carrousel figure:hover { border-color: #3A4675; }
.carrousel blockquote p { color: var(--texte); font-size: 16.5px; line-height: 1.6; }
.carrousel-commandes { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.carrousel-position { font-size: 14px; color: var(--texte-3); font-variant-numeric: tabular-nums; min-width: 110px; text-align: center; }
.carrousel-position b { font-weight: 600; color: var(--texte); }
.fleche { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--trait); background: var(--nuit-2); color: var(--texte); font: 500 20px/1 'Figtree', sans-serif; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), opacity .2s; }
.fleche:hover:not(:disabled) { border-color: var(--vert); background: var(--nuit-3); }
.fleche:disabled { opacity: .35; cursor: default; }

.engagements { padding-top: 16vh; padding-bottom: 16vh; }
.engagements h2 { max-width: 760px; }
.grille-tarif { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.garanties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.garanties li { padding: 26px; border-radius: var(--rayon); background: rgba(21, 27, 54, .92); border: 1px solid var(--trait); }
.garanties h3 { font-size: 17px; }
.carte-tarif { position: relative; padding: 34px 32px 32px; border-radius: 22px; background: var(--nuit-2); }
.carte-tarif::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--degrade);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.carte-surtitre { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--vert); }
.carte-tarif h3 { margin-top: 10px; font-size: 22px; }
.prix { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.montant { font: 800 64px/1 'Poppins', sans-serif; letter-spacing: -.03em; }
.unite { color: var(--texte-2); font-size: 18px; }
.mention { margin-top: 12px; font-size: 14px; color: var(--texte-3); }
.inclus { margin: 24px 0 28px; display: grid; gap: 12px; }
.inclus li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--texte-2); }
.inclus li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 6px; height: 11px; border: solid var(--vert); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.contact { padding-top: 16vh; padding-bottom: 12vh; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 64px; align-items: center; }
.carte-contact { font-style: normal; display: grid; justify-items: start; gap: 6px; padding: 32px; border-radius: 22px; background: rgba(21, 27, 54, .94); border: 1px solid var(--trait); }
.carte-contact img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; box-shadow: 0 0 0 2px var(--nuit-2), 0 0 0 4px var(--turquoise); }
.carte-contact .nom { font: 700 20px/1.2 'Poppins', sans-serif; }
.carte-contact .role { color: var(--texte-3); font-size: 14.5px; margin-bottom: 10px; }
.carte-contact a { font-size: 16.5px; text-decoration: none; color: var(--texte); border-bottom: 1px solid var(--trait); padding: 4px 0; transition: border-color .2s; }
.carte-contact a:hover { border-color: var(--vert); }
.partenaires { position: relative; padding: 44px var(--marge) 48px; text-align: center; background: rgba(13, 18, 41, .9); border-block: 1px solid var(--trait); }
.partenaires p { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); }
.partenaires ul { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 84px); }
/* logos ramenés en blanc : harmonie sur fond de nuit, sans trahir leurs formes */
.partenaires img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .62; transition: opacity .25s var(--ease); }
.partenaires img.logo-rond { height: 84px; }
.lien-tarif { display: none; font-size: 14px; font-weight: 600; color: var(--texte); text-decoration: none; padding: 8px 4px; border-bottom: 1px solid var(--trait); }
.compteur { display: none; }
.monde { opacity: 0; transition: opacity .6s var(--ease); }
.monde.pret { opacity: 1; }
.partenaires a:hover img { opacity: 1; }

.pied { position: relative; z-index: 2; padding: 34px var(--marge); border-top: 1px solid var(--trait); background: var(--nuit); }
.pied-grille { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 14px; color: var(--texte-3); }
.pied-grille img { width: 96px; }
.pied-grille nav { margin-left: auto; display: flex; gap: 22px; }
.pied-grille nav a { text-decoration: none; }
.pied-grille nav a:hover { color: var(--texte); }

/* ---------- Apparitions (posées par monde.js, seulement si le mouvement est permis) ---------- */
.anime .revele { opacity: 0; transform: translateY(26px); }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .lien-tarif { display: inline-block; }
  .grille-tarif, .contact-grille { grid-template-columns: 1fr; }
  .carrousel figure { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .entete { height: 64px; gap: 12px; }
  .marque img { width: 98px; }
  .marque-sous { display: none; }
  .voile { display: none; }
  /* le globe occupe le haut de l'écran : le texte commence plus bas, sur un fond qui garantit la lecture */
  .accueil { align-items: flex-end; padding-top: 40vh; padding-bottom: 56px; }
  .compteur { display: inline; }
  .compteur b { color: var(--vert); }
  .partenaires img { height: 34px; }
  .partenaires img.logo-rond { height: 64px; }
  .accueil .cadre { background: linear-gradient(transparent, rgba(13, 18, 41, .9) 28px); padding-top: 28px; }
  .indice { display: none; }
  .actions .bouton { flex: 1 1 100%; }
  .metier { padding-top: 48vh; }
  .metier .cadre { background: rgba(13, 18, 41, .9); margin: 0 -16px; padding: 28px 16px; border-radius: 20px; }
  .destinations .chapeau { display: none; }
  .chiffres-ligne { margin-top: 12px; }
  .chiffres-ligne dt { font-size: 24px; }
  .chiffres-ligne > div { padding-left: 10px; }
  .legende-liste { margin-top: 10px; font-size: 13px; }
  .continents { margin-top: 8px; }
  .continents li { display: none; padding: 8px 10px; }
  .continents li.actif { display: block; }
  .continents p { font-size: 14px; }
  .collant { align-items: flex-end; padding-bottom: 20px; }
  .collant .cadre { background: rgba(13, 18, 41, .92); border: 1px solid var(--trait); border-radius: 20px; padding: 20px 16px; }
  .collant h2 { font-size: 26px; }
  .collant .surtitre { margin-bottom: 10px; }
  .etapes { margin-top: 14px; }
  .etapes li { padding: 8px 10px; display: none; }
  .etapes li.actif { display: grid; }
  .garanties { grid-template-columns: 1fr; }
  .carrousel figure { flex-basis: 86%; }
  .carrousel { margin-top: 44px; }
  .montant { font-size: 54px; }
  .chiffres > div:nth-child(odd) { padding-right: 12px; }
  .chiffres > div:nth-child(even) { padding-left: 14px; }
  .pied-grille nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bouton, .menu a::after, .etapes li, .coche, .coche::after, .carrousel figure, .fleche { transition: none; }
  .carrousel-piste { scroll-behavior: auto; }
}

/* ---------- Pages légales (CGV, mentions) : texte seul, sans globe ---------- */
.page-legale { background: var(--nuit); }
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--marge) 96px; box-sizing: content-box; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); }
.legal h2 { margin-top: 44px; font-size: 22px; letter-spacing: -.01em; }
.legal h3 { margin-top: 20px; font-size: 17px; }
.legal p, .legal li { margin-top: 12px; color: var(--texte-2); font-size: 16.5px; line-height: 1.7; }
.legal ul { margin-top: 8px; padding-left: 22px; list-style: disc; }
.legal li { margin-top: 6px; }
.legal a { color: var(--texte); text-decoration-color: var(--vert); text-underline-offset: 3px; }
.legal strong { color: var(--texte); font-weight: 600; }
.legal .maj { margin-top: 18px; font-size: 14px; color: var(--texte-3); }
