/* ==========================================================================
   Cyber Des Amis : feuille de style
   --------------------------------------------------------------------------
   Système de formes :
     - cartes / cadres  : coque extérieure 32px, cœur intérieur 26px (double cadre)
     - pastilles, chips, boutons : rayon complet (pill)
     - champs de formulaire : 14px
   Couleurs : vert de marque = couleur d'action (boutons, liens, focus).
   Orange et ambre (issus du logo) = identité graphique (arcs, accents).
   Z-index : nav 40, menu 50, bouton WhatsApp 30.
   ========================================================================== */

:root {
  --green-900: #06331b;
  --green-800: #0a4a29;
  --green-700: #08793a;
  --green-500: #12a24f;
  --orange: #ee5a24;
  --amber: #f4a83a;

  --bg: #f4f6f3;
  --bg-tint: #eaefe9;
  --surface: #fdfefc;
  --surface-2: #f7f9f6;
  --ink: #0f1f17;
  --ink-2: #33463c;
  --muted: #56685e;
  --line: rgb(15 31 23 / 0.09);
  --line-strong: rgb(15 31 23 / 0.16);
  --shell: rgb(15 31 23 / 0.035);

  --accent: var(--green-700);
  --accent-ink: #fbfdfb;
  --accent-soft: rgb(8 121 58 / 0.09);

  --panel-bg: #0b3d22;
  --panel-ink: #eef6f0;
  --panel-muted: #b7cfc0;

  --shadow-soft: 0 1px 1px rgb(16 60 36 / 0.04), 0 24px 48px -28px rgb(16 60 36 / 0.28);
  --shadow-lift: 0 2px 2px rgb(16 60 36 / 0.05), 0 40px 80px -40px rgb(16 60 36 / 0.42);
  --inner-hi: inset 0 1px 0 rgb(255 255 255 / 0.7);

  --nav-bg: rgb(253 254 252 / 0.72);

  --r-shell: 32px;
  --r-core: 26px;
  --r-field: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 152px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a120e;
    --bg-tint: #0e1813;
    --surface: #121d17;
    --surface-2: #16231c;
    --ink: #e9f1eb;
    --ink-2: #c3d2c8;
    --muted: #92a69a;
    --line: rgb(233 241 235 / 0.08);
    --line-strong: rgb(233 241 235 / 0.16);
    --shell: rgb(233 241 235 / 0.035);
    --accent: #22b965;
    --accent-ink: #04130a;
    --accent-soft: rgb(34 185 101 / 0.12);
    --panel-bg: #0f2a1b;
    --shadow-soft: 0 1px 1px rgb(0 0 0 / 0.2), 0 24px 48px -28px rgb(0 0 0 / 0.7);
    --shadow-lift: 0 2px 2px rgb(0 0 0 / 0.25), 0 40px 80px -40px rgb(0 0 0 / 0.8);
    --inner-hi: inset 0 1px 0 rgb(255 255 255 / 0.06);
    --nav-bg: rgb(18 29 23 / 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a120e;
  --bg-tint: #0e1813;
  --surface: #121d17;
  --surface-2: #16231c;
  --ink: #e9f1eb;
  --ink-2: #c3d2c8;
  --muted: #92a69a;
  --line: rgb(233 241 235 / 0.08);
  --line-strong: rgb(233 241 235 / 0.16);
  --shell: rgb(233 241 235 / 0.035);
  --accent: #22b965;
  --accent-ink: #04130a;
  --accent-soft: rgb(34 185 101 / 0.12);
  --panel-bg: #0f2a1b;
  --shadow-soft: 0 1px 1px rgb(0 0 0 / 0.2), 0 24px 48px -28px rgb(0 0 0 / 0.7);
  --shadow-lift: 0 2px 2px rgb(0 0 0 / 0.25), 0 40px 80px -40px rgb(0 0 0 / 0.8);
  --inner-hi: inset 0 1px 0 rgb(255 255 255 / 0.06);
  --nav-bg: rgb(18 29 23 / 0.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Grain très léger, fixe (aucun repaint au scroll) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  margin-bottom: 22px;
}
.section { position: relative; z-index: 2; padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
.section__title--center { text-align: center; max-width: 820px; margin-inline: auto; }
.section__lead { margin-top: 20px; max-width: 60ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); }

/* ---------- Boutons (pill + icône imbriquée) ---------- */
.btn {
  --btn-bg: transparent; --btn-ink: var(--ink); --btn-icon-bg: var(--shell);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 24px; min-height: 56px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform 0.5s var(--ease-spring), background-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.btn__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-icon-bg); font-size: 1.15rem;
  transition: transform 0.5s var(--ease-spring);
}
.btn:hover .btn__icon { transform: translate(3px, -1px) scale(1.06); }
.btn:active { transform: scale(0.98); }
.btn--primary {
  --btn-bg: var(--accent); --btn-ink: var(--accent-ink); --btn-icon-bg: rgb(255 255 255 / 0.16);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 18px 36px -18px rgb(8 121 58 / 0.7);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 24px 44px -18px rgb(8 121 58 / 0.85); }
:root[data-theme="dark"] .btn--primary .btn__icon { background: rgb(4 19 10 / 0.14); }
.btn--ghost { --btn-bg: var(--surface); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.btn--ghost:hover { --btn-bg: var(--surface-2); }
.btn--sm { min-height: 48px; padding: 6px 6px 6px 18px; font-size: 0.94rem; gap: 10px; }
.btn--sm .btn__icon { width: 36px; height: 36px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: space-between; }

/* ---------- Double cadre (coque + cœur) ---------- */
.bezel {
  padding: 6px; border-radius: var(--r-shell);
  background: var(--shell); box-shadow: 0 0 0 1px var(--line) inset;
}
.bezel__core {
  position: relative; height: 100%; overflow: hidden;
  border-radius: var(--r-core);
  background: var(--surface);
  box-shadow: var(--inner-hi), var(--shadow-soft);
}

.logo-tile {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px; padding: 4px;
  background: #fdfefc; box-shadow: 0 0 0 1px rgb(15 31 23 / 0.08), 0 6px 14px -8px rgb(16 60 36 / 0.4);
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile--lg { width: 96px; height: 96px; border-radius: 22px; padding: 8px; }

/* ==========================================================================
   NAVIGATION (îlot flottant)
   ========================================================================== */
.nav {
  position: fixed; inset: 16px 0 auto; z-index: 40;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1180px; margin-inline: auto;
  padding: 7px 7px 7px 8px; border-radius: 999px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 0 1px var(--line) inset, 0 12px 32px -20px rgb(16 60 36 / 0.35);
  transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
}
.nav.is-scrolled .nav__bar { box-shadow: 0 0 0 1px var(--line-strong) inset, 0 18px 40px -22px rgb(16 60 36 / 0.5); }
.nav__brand { display: flex; align-items: center; gap: 12px; padding-right: 8px; }
.nav__name { font-weight: 700; letter-spacing: -0.02em; font-size: 1.02rem; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 10px 16px; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.nav__links a:hover { background: var(--shell); color: var(--ink); }
.nav__links a.is-active { background: var(--accent-soft); color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--shell); box-shadow: 0 0 0 1px var(--line) inset; font-size: 1.2rem;
  display: grid; place-items: center; overflow: hidden;
}
.theme-toggle i { position: absolute; transition: transform 0.6s var(--ease-spring), opacity 0.4s var(--ease); }
.theme-toggle .ph-moon { transform: translateY(120%) rotate(-40deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .ph-sun { transform: translateY(-120%) rotate(40deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .ph-moon { transform: none; opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ph-sun { transform: translateY(-120%) rotate(40deg); opacity: 0; }
  :root:not([data-theme="light"]) .theme-toggle .ph-moon { transform: none; opacity: 1; }
}

.burger {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
}
.burger span {
  position: absolute; left: 15px; right: 15px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 0.55s var(--ease-spring), top 0.55s var(--ease-spring);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 35;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a, .menu__foot {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-spring);
  transition-delay: calc(80ms + var(--i) * 55ms);
}
.menu__links a { font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; padding-block: 6px; }
.menu.is-open .menu__links a, .menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__foot { display: grid; gap: 16px; }
.menu__foot .btn { justify-content: space-between; }
.menu__lines { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; z-index: 2; padding-top: clamp(116px, 14vh, 140px); padding-bottom: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  min-height: min(calc(100dvh - 210px), 700px);
}
.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04;
  max-width: 15ch;
}
.hero__title em { font-style: italic; font-weight: 700; color: var(--accent); display: inline-block; padding-bottom: 0.06em; line-height: 1.12; }
.hero__lead { margin-top: 24px; max-width: 46ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; display: grid; place-items: center; padding: 24px 0 0; }
.hero__photo { position: relative; z-index: 2; width: min(100%, 370px); transform: rotate(1.5deg); }
.hero__photo .bezel__core { aspect-ratio: 4 / 5; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Arcs inspirés du logo */
.arcs { position: absolute; inset: auto 0 6% 0; z-index: 1; display: grid; place-items: end center; pointer-events: none; }
.arc {
  grid-area: 1 / 1; border-style: solid; border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform-origin: 50% 100%;
}
.arc--1 { width: min(118%, 620px); aspect-ratio: 2 / 1; border-width: 30px; border-color: var(--orange); }
.arc--2 { width: min(98%, 528px); aspect-ratio: 2 / 1; border-width: 30px; border-color: var(--amber); }
.arc--3 { width: min(84%, 452px); aspect-ratio: 2 / 1; border-width: 30px; border-color: var(--green-500); }
.waves { position: absolute; z-index: 3; top: 4%; right: 2%; display: grid; justify-items: center; gap: 7px; pointer-events: none; }
.waves span { display: block; height: 10px; border-radius: 999px 999px 0 0; border: 4px solid var(--orange); border-bottom: 0; }
.waves span:nth-child(1) { width: 78px; }
.waves span:nth-child(2) { width: 60px; border-color: #f07a35; }
.waves span:nth-child(3) { width: 44px; border-color: var(--amber); }
.waves span:nth-child(4) { width: 28px; border-color: var(--green-500); }

/* ==========================================================================
   BANDEAU (marquee unique de la page)
   ========================================================================== */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; flex: none; gap: 0; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 26px clamp(22px, 3vw, 40px);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; color: var(--ink-2);
}
.marquee__list i { font-size: 1.5em; color: var(--accent); }
.marquee__list li:nth-child(3n+2) i { color: var(--orange); }
.marquee__list li:nth-child(3n) i { color: #c97a10; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   VOYAGES : BENTO
   ========================================================================== */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "visa visa visa visa visa visa visa ticket ticket ticket ticket ticket"
    "visa visa visa visa visa visa visa hotel hotel hotel hotel hotel"
    "agency agency agency agency agency agency agency agency agency agency agency agency";
}
.tile--visa { grid-area: visa; }
.tile--ticket { grid-area: ticket; }
.tile--hotel { grid-area: hotel; }
.tile--agency { grid-area: agency; }
.tile .bezel__core { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.tile p { color: var(--muted); max-width: 46ch; }
.tile__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: auto;
  font-size: 1.7rem; color: var(--accent); background: var(--accent-soft);
}
.tile__icon--amber { color: #b4650c; background: rgb(244 168 58 / 0.16); }

.tile--visa .bezel__core { min-height: 520px; justify-content: flex-end; color: #f4f8f5; background: var(--green-900); }
.tile__bg { position: absolute; inset: 0; }
.tile__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.tile--visa:hover .tile__bg img { transform: scale(1.08); }
.tile__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(6 51 27 / 0.05) 0%, rgb(6 51 27 / 0.35) 38%, rgb(6 40 22 / 0.94) 100%);
}
.tile__body { position: relative; display: grid; gap: 14px; }
.tile--visa .tile__icon { margin-bottom: 8px; color: #fff; background: rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile--visa h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 16ch; }
.tile--visa p { color: rgb(244 248 245 / 0.82); }

.tile--ticket .bezel__core {
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(238 90 36 / 0.20), transparent 60%),
    var(--surface);
}
.tile--ticket .tile__icon { color: #c2410c; background: rgb(238 90 36 / 0.12); }
.tile--hotel .bezel__core {
  background:
    radial-gradient(120% 90% at 0% 100%, rgb(244 168 58 / 0.22), transparent 62%),
    var(--surface);
}
.tile--hotel .tile__icon { color: #b4650c; background: rgb(244 168 58 / 0.16); }
.tile--agency .bezel__core { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tile__row { display: flex; align-items: center; gap: 22px; }
.tile__row .tile__icon { margin: 0; flex: none; }
.tile__row p { margin-top: 6px; }

/* ==========================================================================
   BUREAUTIQUE : split
   ========================================================================== */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__media { transform: rotate(-1.5deg); }
.split__media .bezel__core { aspect-ratio: 1 / 1.02; background: var(--orange); }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-soft);
  font-weight: 600; font-size: 0.97rem;
  transition: transform 0.5s var(--ease-spring);
}
.chips li:hover { transform: translateY(-2px); }
.chips i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; color: var(--accent); background: var(--accent-soft); }
.job { margin-top: 28px; }
.job .bezel__core { display: flex; gap: 20px; align-items: center; padding: 22px 26px; }
.job .tile__icon { margin: 0; flex: none; }
.job h3 { font-size: 1.2rem; }
.job p { margin-top: 4px; color: var(--muted); font-size: 0.98rem; }

/* ==========================================================================
   DÉMARCHES : grand panneau vert
   ========================================================================== */
.panel {
  position: relative; padding-bottom: clamp(96px, 8vw, 120px) !important; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center;
  padding: clamp(36px, 6vw, 88px);
  border-radius: 40px; background: var(--panel-bg); color: var(--panel-ink);
  box-shadow: var(--shadow-lift);
}
.panel .section__lead { color: var(--panel-muted); }
.panel__arcs { position: absolute; z-index: -1; left: -70px; bottom: -150px; display: grid; place-items: end center; }
.panel__arcs span { grid-area: 1 / 1; border: 18px solid; border-bottom: 0; border-radius: 999px 999px 0 0; aspect-ratio: 2 / 1; }
.panel__arcs span:nth-child(1) { width: 380px; border-color: var(--orange); }
.panel__arcs span:nth-child(2) { width: 320px; border-color: var(--amber); }
.panel__arcs span:nth-child(3) { width: 260px; border-color: var(--green-500); }
.docs { display: grid; gap: 12px; }
.docs__item {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px; border-radius: 24px;
  background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.08);
  transition: background-color 0.4s var(--ease), transform 0.6s var(--ease-spring);
}
.docs__item:hover { background: rgb(255 255 255 / 0.1); transform: translateX(6px); }
.docs__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; font-size: 1.6rem; background: var(--amber); color: #3a2205; }
.docs__item:nth-child(2) .docs__icon { background: var(--orange); color: #fff; }
.docs__item:nth-child(3) .docs__icon { background: #22b965; color: #04210f; }
.docs h3 { font-size: 1.22rem; }
.docs p { margin-top: 4px; color: var(--panel-muted); font-size: 0.97rem; }

/* ==========================================================================
   FORMATION
   ========================================================================== */
.learn { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.learn__copy { position: sticky; top: 128px; }
.learn__copy .btn { margin-top: 32px; }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modules .module:nth-child(2), .modules .module:nth-child(4) { transform: translateY(40px); }
.module {
  display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  padding: 28px; border-radius: var(--r-core);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-soft);
}
.module i { font-size: 2.2rem; color: var(--accent); margin-bottom: auto; }
.module h3 { font-size: 1.25rem; }
.module p { color: var(--muted); font-size: 0.98rem; }
.module--green { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-lift); }
.module--green i, .module--green p { color: inherit; }
.module--green p { opacity: 0.86; }
.module--orange { background: linear-gradient(150deg, #f4a83a 0%, #ee5a24 100%); color: #2a0e02; box-shadow: var(--shadow-lift); }
.module--orange i { color: #2a0e02; }
.module--orange p { color: rgb(42 14 2 / 0.82); }

/* ==========================================================================
   DÉROULEMENT
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--green-500));
  border-radius: 2px; opacity: 0.55;
}
.step { position: relative; text-align: center; display: grid; justify-items: center; gap: 12px; }
.step__icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 10px;
  font-size: 1.9rem; color: var(--accent);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, 0 0 0 10px var(--bg), var(--shadow-soft);
}
/* ---------- Équipe ---------- */
.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin: clamp(40px, 5vw, 64px) auto 0; max-width: 860px; }
.member { display: grid; gap: 16px; text-align: center; }
.member picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-core); background: var(--bg-tint); box-shadow: var(--shadow-soft); }
.member img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s var(--ease); }
.member:hover img { transform: scale(1.04); }
.member h3 { font-size: 1.15rem; }
/* Gérant et promoteur : mis en avant sous la rangée des trois autres membres */
.member--lead { grid-column: 1 / -1; position: relative; width: min(100%, 520px); margin: clamp(8px, 2vw, 24px) auto 0; }
.member--lead picture { aspect-ratio: 1 / 1.02; border: 3px solid var(--amber); box-shadow: var(--shadow-lift); }
.member--lead h3 { position: absolute; left: 3px; right: 3px; bottom: 3px; padding: 16px 12px; background: var(--green-800); color: #fff; font-size: clamp(1.1rem, 2.4vw, 1.4rem); border-radius: 0 0 calc(var(--r-core) - 3px) calc(var(--r-core) - 3px); }
@media (prefers-reduced-motion: reduce) { .member img { transition: none; } .member:hover img { transform: none; } }

.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); max-width: 30ch; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow 0.4s var(--ease); }
.faq__item[open] { box-shadow: 0 0 0 1px var(--line-strong) inset, var(--shadow-soft); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 1.1rem;
  transition: transform 0.5s var(--ease-spring);
}
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__body { padding: 0 26px 24px; color: var(--muted); max-width: 64ch; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__title { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.98; }
.contact__title span { color: var(--accent); }
.infos { margin: 40px 0 0; display: grid; gap: 22px; }
.infos__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.infos dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.infos dt i { font-size: 1.25rem; color: var(--accent); }
.infos dd { margin: 0; display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 2px; font-weight: 600; font-size: 1.08rem; }
.infos dd a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.5s var(--ease); }
.infos dd a:hover { background-size: 100% 1.5px; }
.infos dd span + span { flex-basis: 100%; font-weight: 500; color: var(--muted); }
.map { margin-top: 36px; }
.map .bezel__core { aspect-ratio: 16 / 9; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
:root[data-theme="dark"] .map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); } }

.form-card { position: sticky; top: 112px; }
.form { padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 20px; }
.form__title { font-size: 1.6rem; }
.form__intro { color: var(--muted); margin-top: -8px; font-size: 0.98rem; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.94rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: var(--r-field); border: 0;
  background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-strong) inset;
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); box-shadow: 0 0 0 2px var(--accent) inset, 0 0 0 5px var(--accent-soft); }
.field.is-invalid input { box-shadow: 0 0 0 2px #c2321b inset; }
.field__error { color: #b42318; font-size: 0.9rem; font-weight: 500; }
:root[data-theme="dark"] .field__error { color: #ff8a73; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field__error { color: #ff8a73; } }
.field__hint { color: var(--muted); font-size: 0.88rem; }
.select { position: relative; }
.select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select select { padding-right: 44px; cursor: pointer; }
.form__status { min-height: 1.4em; font-size: 0.94rem; color: var(--accent); font-weight: 500; text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; z-index: 2; padding: clamp(64px, 8vw, 104px) 0 32px; background: var(--bg-tint); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.footer__brand p { margin-top: 22px; max-width: 38ch; color: var(--muted); }
.footer__col { display: grid; align-content: start; gap: 10px; color: var(--ink-2); }
.footer__col h4 { font-size: 0.95rem; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.footer__col a { width: fit-content; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 10px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom a:hover { color: var(--accent); }
.footer__credit { white-space: nowrap; }
.footer__credit::before { content: "·"; margin: 0 8px; }
.footer__credit a { display: inline; color: var(--ink-2); font-weight: 600; }

/* Bouton WhatsApp flottant */
.wa-fab {
  position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: #fff; font-size: 1.85rem;
  box-shadow: 0 0 0 6px rgb(31 168 85 / 0.14), 0 18px 34px -12px rgb(16 80 40 / 0.6);
  transform: translateY(120px); transition: transform 0.7s var(--ease-spring);
}
.wa-fab.is-visible { transform: none; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab:active { transform: scale(0.96); }

/* ==========================================================================
   ANIMATIONS D'ENTRÉE
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(32px); filter: blur(6px);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js .modules .module[data-reveal]:nth-child(even) { transform: translateY(72px); }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  .js .modules .module[data-reveal].is-in:nth-child(even) { transform: translateY(40px); }

  .js .arc { transform: scale(0.6); opacity: 0; animation: arc-in 1.4s var(--ease) forwards; }
  .js .arc--1 { animation-delay: 0.15s; }
  .js .arc--2 { animation-delay: 0.27s; }
  .js .arc--3 { animation-delay: 0.39s; }
  .js .waves span { opacity: 0; animation: wave 2.8s var(--ease) infinite; }
  .js .waves span:nth-child(4) { animation-delay: 0s; }
  .js .waves span:nth-child(3) { animation-delay: 0.18s; }
  .js .waves span:nth-child(2) { animation-delay: 0.36s; }
  .js .waves span:nth-child(1) { animation-delay: 0.54s; }
  .js .hero__photo { animation: photo-in 1.3s var(--ease) both 0.1s; }
}
@keyframes arc-in { to { transform: none; opacity: 1; } }
@keyframes wave { 0% { opacity: 0; } 25%, 60% { opacity: 1; } 100% { opacity: 0; } }
@keyframes photo-in { from { opacity: 0; transform: translateY(40px) rotate(4deg); } to { opacity: 1; transform: rotate(1.5deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .marquee__track { flex-wrap: wrap; width: 100%; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 10px 12px; }
  .nav__name { display: none; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .nav__name { display: inline; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__title { max-width: 16ch; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "visa visa" "ticket hotel" "agency agency";
  }
  .tile--visa .bezel__core { min-height: 440px; }

  .split, .learn, .faq, .contact__grid { grid-template-columns: 1fr; }
  .split__media { max-width: 560px; }
  .learn__copy, .form-card { position: static; }
  .panel { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .nav { inset: 10px 0 auto; padding-inline: 10px; }
  .nav__brand { gap: 10px; }
  .logo-tile { width: 42px; height: 42px; border-radius: 12px; }
  .burger { width: 46px; height: 46px; }
  .burger span:nth-child(1) { top: 18px; }
  .burger span:nth-child(2) { top: 27px; }
  .burger[aria-expanded="true"] span:nth-child(1), .burger[aria-expanded="true"] span:nth-child(2) { top: 22.5px; }
  .theme-toggle { width: 42px; height: 42px; }

  .hero { padding-top: 104px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__photo, .split__media { transform: none; }
  .hero__photo { width: 80%; }
  .hero__visual { padding-top: 8px; }
  .arc--1, .arc--2, .arc--3 { border-width: 20px; }
  .waves { right: 4%; }
  .waves span { border-width: 3px; height: 8px; }
  .waves span:nth-child(1) { width: 58px; } .waves span:nth-child(2) { width: 44px; } .waves span:nth-child(3) { width: 32px; } .waves span:nth-child(4) { width: 20px; }

  .bento { grid-template-columns: 1fr; grid-template-areas: "visa" "ticket" "hotel" "agency"; gap: 14px; }
  .tile .bezel__core { min-height: 0; }
  .tile--visa .bezel__core { min-height: 420px; }
  .tile__icon { margin-bottom: 18px; }
  .tile--agency .bezel__core { flex-direction: column; align-items: stretch; }
  .tile__row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tile--agency .btn { justify-content: space-between; }

  .panel { padding: 32px 20px; border-radius: 30px; }
  .docs__item { padding: 18px; gap: 16px; }
  .docs__item:hover { transform: none; }

  .modules { grid-template-columns: 1fr; }
  .modules .module:nth-child(even), .js .modules .module[data-reveal].is-in:nth-child(even) { transform: none; }
  .module { min-height: 0; }
  .module i { margin-bottom: 14px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }

  .team { gap: 10px; }
  .member { gap: 10px; }
  .member picture { border-radius: 16px; }
  .member h3 { font-size: 0.78rem; line-height: 1.25; }
  .member--lead h3 { font-size: 1.05rem; }

  .faq__item summary { padding: 18px 20px; font-size: 1rem; }
  .faq__body { padding: 0 20px 20px; }

  .infos__row { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .js .modules .module[data-reveal]:nth-child(even) { transform: translateY(32px); }
  .js .hero__photo { animation-name: photo-in-flat; }
}
@keyframes photo-in-flat { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .menu { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
}
