/* NiceTrip — site vitrine. Meme systeme de design que l'app mobile :
   memes couleurs, memes polices, memes animations d'avion (voir
   NiceTrip Mobile.dc.html) — pour une continuite de marque parfaite. */

:root {
  --navy: #002458;
  --navy-mid: #023a79;
  --navy-light: #06509e;
  --navy-bright: #0b5ea8;
  --navy-deep: #00203f;
  --navy-deep-2: #00376f;

  --orange: #ed8f0b;
  --orange-start: #f8970c;
  --gold: #ffad05;
  --gold-light: #ffd166;
  --ink: #22160a;

  --kente-red: #c23b22;
  --kente-green: #1e5631;
  --success: #2e8b57;

  --bg: #f7f9fc;
  --bg-alt: #edf1f7;
  --divider: #e6ebf2;

  --text-muted: #8496ae;
  --text-body: #3d4d63;
  --text-subtle: #5c6b82;
  --text-faint: #9aa8bc;
  --text-on-navy: #9fbce2;
  --text-on-navy-soft: #b9cde9;

  --gold-gradient: linear-gradient(94deg, var(--orange-start), var(--gold));
  --navy-gradient: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  --shadow-soft: 0 16px 40px rgba(0, 36, 88, 0.1);
  --shadow-strong: 0 24px 60px rgba(0, 36, 88, 0.18);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: "opsz" 24;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font: 700 11.5px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow.on-navy { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-sub {
  font: 500 15.5px/1.7 var(--font-body);
  color: var(--text-subtle);
  max-width: 560px;
}

.section-head {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 640px;
}

.kente-stripe {
  height: 5px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    115deg,
    var(--navy) 0 8px,
    var(--gold) 8px 16px,
    var(--kente-red) 16px 21px,
    var(--navy) 21px 29px
  );
}

/* ---------------------------------------------------------------- nav -- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 28px rgba(0, 36, 88, 0.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-logo { height: 40px; width: auto; transition: filter 0.3s ease; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  font: 600 13.5px var(--font-body);
  color: #e7edf7;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav.is-scrolled .nav-links a { color: var(--text-body); }

.nav-links a:hover { background: rgba(255, 255, 255, 0.12); }

.nav.is-scrolled .nav-links a:hover { background: var(--bg-alt); color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font: 700 13.5px var(--font-body);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav.is-scrolled .nav-login { border-color: var(--divider); color: var(--navy); }

.nav-login:hover { background: rgba(255, 255, 255, 0.12); }

.nav.is-scrolled .nav-login:hover { background: var(--bg-alt); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: var(--ink);
  font: 700 13.5px var(--font-body);
  box-shadow: 0 10px 24px rgba(248, 151, 12, 0.32);
  transition: transform 0.25s ease;
}

.nav-cta:hover { transform: translateY(-2px); }

.nav-burger {
  display: none;
  font-family: "Material Symbols Rounded";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.nav.is-scrolled .nav-burger { color: var(--navy); background: var(--bg-alt); }

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 36, 88, 0.14);
  border-radius: 0 0 20px 20px;
}

.nav-mobile-menu.is-open { display: block; }

.nav-mobile-menu a {
  display: block;
  padding: 12px 4px;
  font: 600 14.5px var(--font-body);
  color: var(--navy);
  border-bottom: 1px solid var(--divider);
}

.nav-mobile-menu a:last-child { border-bottom: none; }

/* --------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-gradient);
  padding-top: 96px;
}

.hero-stripes {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: repeating-linear-gradient(115deg, transparent 0 26px, var(--gold) 26px 28px);
  animation: driftSlow 12s ease-in-out infinite alternate;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(45% 60% at 30% 40%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(35% 50% at 75% 30%, rgba(255, 214, 102, 0.14), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero video.hero-video.is-ready { opacity: 0.62; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 48, 0.42) 0%, rgba(0, 20, 48, 0.38) 55%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  text-align: center;
  justify-items: center;
  padding-bottom: 90px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 214, 102, 0.35);
  color: var(--gold-light);
  font: 700 12px var(--font-body);
  letter-spacing: 0.04em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.hero h1 .accent {
  background: linear-gradient(94deg, #8fc0ff 0%, var(--gold-light) 46%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--text-on-navy-soft);
  font: 500 17px/1.7 var(--font-body);
  max-width: 560px;
}

.hero-stage {
  position: relative;
  width: 260px;
  height: 150px;
  margin: 6px 0 4px;
}

.hero-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: "Material Symbols Rounded";
  font-size: 40px;
  color: #fff;
  text-shadow: 0 8px 26px rgba(255, 173, 5, 0.55);
  animation: takeoff 2.1s 0.2s cubic-bezier(0.35, 0.75, 0.2, 1) both infinite;
  animation-iteration-count: 1;
}

/* -------------------------------------------------------- search card -- */
.search-card {
  position: relative;
  z-index: 3;
  width: min(920px, 92vw);
  min-width: 0;
  max-width: 100%;
  margin-top: 8px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 10px 10px 22px;
}

.search-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 10px 16px;
  overflow-x: auto;
}

.search-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 11px;
  border: none;
  background: transparent;
  color: var(--text-subtle);
  font: 700 12.5px var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.search-tab .material-symbols-rounded { font-size: 18px; }

.search-tab.is-active { background: var(--navy); color: #fff; }

.search-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 0 12px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--divider);
  text-align: left;
}

.search-field > .material-symbols-rounded { color: var(--orange); font-size: 20px; flex-shrink: 0; }

.search-field-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.search-field-label {
  font: 600 9.5px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.search-field-value {
  font: 700 13.5px var(--font-head);
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 26px;
  border: none;
  border-radius: 14px;
  background: var(--gold-gradient);
  color: var(--ink);
  font: 700 14px var(--font-head);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(248, 151, 12, 0.32);
  transition: transform 0.25s ease;
}

.search-submit:hover { transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: 600 10.5px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}

/* -------------------------------------------------------------- stats -- */
.stats {
  position: relative;
  margin-top: -64px;
  z-index: 4;
}

.stats-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 30px 10px;
}

.stat { text-align: center; padding: 0 10px; border-right: 1px solid var(--divider); }

.stat:last-child { border-right: none; }

.stat-num {
  font: 800 34px/1 var(--font-head);
  color: var(--navy);
}

.stat-num .unit { color: var(--orange); }

.stat-label {
  margin-top: 8px;
  font: 600 12px var(--font-body);
  color: var(--text-muted);
}

/* ----------------------------------------------------------- services -- */
.services { padding: 130px 0 90px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  padding: 26px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 36, 88, 0.07);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(0, 36, 88, 0.14);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Rounded";
  font-size: 26px;
  margin-bottom: 16px;
}

.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }

.service-card p { margin: 0; font: 500 12.5px/1.6 var(--font-body); color: var(--text-muted); }

/* -------------------------------------------------------- destinations -- */
.destinations { padding: 90px 0; background: var(--bg-alt); }

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dest-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dest-card:hover img { transform: scale(1.08); }

.dest-fallback {
  position: absolute;
  inset: 0;
  background: var(--navy-gradient);
}

.dest-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 48, 0) 35%, rgba(0, 20, 48, 0.86) 100%);
}

.dest-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
}

.dest-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font: 700 10.5px var(--font-body);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.dest-body h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }

.dest-body .price { font: 800 16px var(--font-head); color: var(--gold-light); }

/* ------------------------------------------------------------ guarantees */
.guarantees { padding: 100px 0; }

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.guarantee-list { display: grid; gap: 20px; }

.guarantee-item { display: flex; gap: 16px; align-items: flex-start; }

.guarantee-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(46, 139, 87, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Rounded";
  font-size: 22px;
}

.guarantee-item h3 { font-size: 15.5px; margin-bottom: 4px; }

.guarantee-item p { margin: 0; font: 500 13px/1.6 var(--font-body); color: var(--text-muted); }

.guarantees-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(150deg, var(--navy-mid) 0%, var(--navy-bright) 45%, var(--orange) 100%);
  box-shadow: var(--shadow-strong);
}

.guarantees-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guarantees-visual-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7, 20, 51, 0.78) 0%, rgba(7, 20, 51, 0.3) 50%, rgba(230, 126, 34, 0.45) 100%);
}

.guarantees-visual .hero-stripes { opacity: 0.2; }

.guarantees-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
  color: #fff;
}

.guarantees-visual-content .material-symbols-rounded {
  font-size: 56px;
  color: var(--gold-light);
}

/* --------------------------------------------------------------- pay --- */
.pay { padding: 90px 0; background: var(--bg-alt); }

.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.pay-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

.pay-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Rounded";
  font-size: 26px;
  flex: 0 0 auto;
}

.pay-card h3 { font-size: 17px; margin-bottom: 4px; }

.pay-card p { margin: 0; font: 500 13px/1.6 var(--font-body); color: var(--text-muted); }

/* ----------------------------------------------------------- app promo */
.app-promo { padding: 110px 0; overflow: hidden; }

.app-promo-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  background: linear-gradient(100deg, var(--navy-deep), var(--navy-deep-2));
  border-radius: 32px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.app-promo-inner::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 173, 5, 0.14);
}

.app-promo-copy { position: relative; z-index: 1; color: #fff; }

.app-promo-copy h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }

.app-promo-copy p { color: var(--text-on-navy-soft); font: 500 15px/1.7 var(--font-body); max-width: 420px; margin-bottom: 28px; }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font: 600 12.5px var(--font-body);
}

.store-badge .material-symbols-rounded { font-size: 20px; color: var(--gold-light); }

.store-badge small { display: block; font-size: 9.5px; color: var(--text-on-navy); font-weight: 500; }
.store-badge strong { display: block; font-size: 13.5px; font-family: var(--font-head); }

.phone-mock {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 260px;
  max-width: 100%;
  border-radius: 42px;
  padding: 12px;
  background: #0b1424;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  animation: floaty 5s ease-in-out infinite;
}

.phone-mock img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

/* --------------------------------------------------------- testimonials */
.testimonials { padding: 100px 0; }

.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.testi-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.testi-stars { color: var(--gold); font-family: "Material Symbols Rounded"; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }

.testi-card p.quote { font: 500 13.5px/1.75 var(--font-body); color: var(--text-body); margin-bottom: 20px; }

.testi-person { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 13px var(--font-head);
}

.testi-person strong { display: block; font: 700 13px var(--font-head); color: var(--navy); }
.testi-person span { font: 500 11.5px var(--font-body); color: var(--text-muted); }

/* -------------------------------------------------------------- footer */
.footer { background: var(--navy); color: var(--text-on-navy); padding: 70px 0 30px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo { height: 34px; margin-bottom: 14px; filter: brightness(0) invert(1); }

.footer p.tag { font: 500 12.5px/1.7 var(--font-body); max-width: 260px; color: var(--text-on-navy); }

.footer h4 {
  color: #fff;
  font: 700 12px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer ul a { font: 500 13px var(--font-body); color: var(--text-on-navy); transition: color 0.2s ease; }

.footer ul a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
  font: 500 11.5px var(--font-body);
  color: var(--text-on-navy);
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Rounded";
  font-size: 17px;
  color: #fff;
}

/* ------------------------------------------------------------- reveal -- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-stagger.is-visible > * { animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: 0.44s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: 0.51s; }

/* ------------------------------------------------------------ keyframes */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@keyframes driftSlow { from { transform: translateX(3%); } to { transform: translateX(-3%); } }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@keyframes takeoff {
  0% { transform: translate(-72px, 40px) rotate(-8deg) scale(0.7); opacity: 0; }
  18% { opacity: 1; }
  60% { transform: translate(4px, -10px) rotate(-26deg) scale(1); }
  100% { transform: translate(74px, -58px) rotate(-34deg) scale(1.05); opacity: 0; }
}

@keyframes drawArc { from { stroke-dashoffset: 620; } to { stroke-dashoffset: 0; } }

.hero-arc path { animation: drawArc 2.4s 0.1s cubic-bezier(0.3, 0.8, 0.2, 1) both infinite; }

/* -------------------------------------------------------- responsive -- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .destinations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantees-grid { grid-template-columns: minmax(0, 1fr); }
  .app-promo-inner { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 48px 32px; }
  .app-promo-copy p { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .phone-mock { margin-top: 24px; }
  .testi-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; align-items: center; justify-content: center; }
  .search-fields { grid-template-columns: minmax(0, 1fr); }
  .search-submit { padding: 14px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-right: none; }
  .destinations-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .app-promo-inner { padding: 40px 20px; }
  .guarantees-visual { min-height: 280px; }
}

/* =====================================================================
   Animations au défilement et micro-interactions (voir home.js).
   Tout est désactivé si le système demande de réduire les animations.
   ===================================================================== */

/* ------------------------------------------------- barre de progression */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--orange-start), var(--gold), var(--gold-light));
  box-shadow: 0 0 12px rgba(255, 173, 5, 0.6);
}

/* -------------------------------------------------- titre du hero ----- */
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }

.hero-title .line-inner {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.18s; }

.hero-title .accent { background-size: 200% auto; animation: lineUp 1.1s 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, shine 6s 1.4s linear infinite; }

.hero-badge.reveal, .hero .lead.reveal { transition-delay: 0.35s; }
.hero .hero-stage.reveal { transition-delay: 0.5s; }
.hero .search-card.reveal { transition-delay: 0.65s; }

.hero-inner { will-change: transform, opacity; }

/* ---------------------------------------------- ciel animé du hero ---- */
.hero-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.cloud {
  position: absolute;
  width: 220px;
  height: 64px;
  border-radius: 64px;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(2px);
  animation: cloudDrift linear infinite;
}

.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before { width: 96px; height: 96px; left: 36px; top: -44px; }
.cloud::after { width: 130px; height: 130px; left: 96px; top: -66px; }

.cloud-1 { top: 22%; animation-duration: 58s; animation-delay: -12s; }
.cloud-2 { top: 54%; transform: scale(0.65); animation-duration: 44s; animation-delay: -30s; opacity: 0.8; }
.cloud-3 { top: 12%; transform: scale(0.45); animation-duration: 70s; animation-delay: -50s; opacity: 0.7; }
.cloud-4 { top: 70%; transform: scale(0.9); animation-duration: 64s; animation-delay: -5s; opacity: 0.6; }

.sky-path { position: absolute; inset: 0; width: 100%; height: 100%; }

.sky-path path {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
}

.sky-plane {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 30px;
  color: #fff;
  text-shadow: 0 6px 20px rgba(255, 173, 5, 0.6);
  offset-path: path("M-40 520 C 360 120, 900 80, 1500 260");
  offset-rotate: auto 90deg;
  animation: flyPath 16s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px 3px rgba(255, 209, 102, 0.6);
  animation: twinkle 3.6s ease-in-out infinite;
}

/* --------------------------------------------------------- bandeau ---- */
.marquee {
  margin-top: 70px;
  padding: 18px 0;
  overflow: hidden;
  background: var(--navy);
  transform: rotate(-1.6deg) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 36, 88, 0.18);
  -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; animation: marquee 38s linear infinite; }

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group { display: flex; gap: 14px; padding-right: 14px; }

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 214, 102, 0.28);
  color: #fff;
  font: 700 14px var(--font-head);
  white-space: nowrap;
}

.marquee-group i { font-style: normal; color: var(--gold); font-size: 20px; }

.services { padding-top: 110px; }

/* ----------------------------------------------- cartes inclinables --- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

[data-tilt].is-tilting { transition: transform 0.08s linear, box-shadow 0.35s ease !important; }

[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-tilt]:hover::after { opacity: 1; }

.pay-card, .testi-card { position: relative; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease; }

.pay-card:hover, .testi-card:hover { box-shadow: var(--shadow-strong); }

.service-card:hover .service-icon { animation: iconPop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }

.dest-card { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }

.dest-card img[data-parallax-img],
.guarantees-visual img[data-parallax-img] {
  inset: -12% 0;
  height: 124%;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1));
  transition: none;
}

.dest-card:hover img[data-parallax-img] { --ps: 1.08; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }

.dest-body { transform: translateZ(30px); }

/* ---------------------------------------- galerie inspiration --------- */
.inspire { position: relative; background: var(--bg); }

.inspire-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  overflow: hidden;
}

.inspire-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

.inspire-progress { flex: 0 0 180px; height: 4px; border-radius: 4px; background: var(--divider); overflow: hidden; }

.inspire-progress span {
  display: block;
  height: 100%;
  background: var(--gold-gradient);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.inspire-track {
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px));
  width: max-content;
  will-change: transform;
}

.inspire-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 34vw, 440px);
  height: clamp(340px, 56vh, 520px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.inspire-card:nth-child(even) { margin-top: 48px; }

.inspire-card img {
  position: absolute;
  inset: 0 -15%;
  width: 130%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--ix, 0px), 0, 0);
}

.inspire-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 48, 0) 40%, rgba(0, 20, 48, 0.85) 100%);
}

.inspire-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; color: #fff; }

.inspire-num { font: 800 13px var(--font-head); color: var(--gold-light); letter-spacing: 0.1em; }

.inspire-body h3 { color: #fff; font-size: 24px; margin: 6px 0 6px; }

.inspire-body p { margin: 0; font: 500 13.5px/1.6 var(--font-body); color: var(--text-on-navy-soft); }

/* ---------------------------------------- garanties ------------------- */
.reveal-stagger.from-left.is-visible > * { animation-name: fadeLeft; }

.reveal-zoom { transform: scale(0.92); clip-path: inset(8% 8% 8% 8% round 24px); transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), clip-path 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }

.reveal-zoom.is-visible { transform: none; clip-path: inset(0 0 0 0 round 24px); }

.guarantees-visual-content { z-index: 1; }

.shield-pulse { animation: pulse 2.6s ease-in-out infinite; }

/* ---------------------------------------- grande bannière ------------- */
.bleed {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.bleed-img {
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}

.bleed-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 20, 48, 0.9) 0%, rgba(0, 36, 88, 0.55) 55%, rgba(237, 143, 11, 0.25) 100%);
}

.bleed-inner { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }

.bleed-title { color: #fff; font-size: clamp(32px, 5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }

.bleed-cta { padding: 15px 26px; font-size: 15px; }

.bleed-inner .reveal:nth-child(2) { transition-delay: 0.12s; }
.bleed-inner .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ---------------------------------------- application ------------------ */
.phone-stage { position: relative; z-index: 1; justify-self: center; perspective: 1200px; padding: 40px; }


.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  animation: spin 24s linear infinite;
}

.orbit-dot {
  position: absolute;
  left: -25px;
  top: -25px;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  box-shadow: 0 14px 30px rgba(248, 151, 12, 0.4);
  transform: rotate(var(--a)) translateX(210px) rotate(calc(-1 * var(--a)));
}

.orbit-dot i { font-style: normal; font-size: 24px; color: var(--ink); animation: spin 24s linear infinite reverse; }

/* ---------------------------------------- boutons aimantés ------------ */
.magnetic { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------------------------------------- retour en haut -------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 36, 88, 0.3);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }

.to-top:hover { transform: translateY(-3px); }

.to-top svg { position: absolute; inset: 4px; width: 44px; height: 44px; transform: rotate(-90deg); }

.to-top circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 125.7;
  stroke-dashoffset: calc(125.7 * (1 - var(--progress, 0)));
}

/* ---------------------------------------- titres de section ----------- */
.section-head.reveal .eyebrow { display: inline-block; }

.section-head.reveal.is-visible .eyebrow { animation: fadeUp 0.6s 0.1s both; }

/* ------------------------------------------------------ keyframes ----- */
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes cloudDrift { from { left: -320px; } to { left: 110%; } }
@keyframes flyPath {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  70% { opacity: 1; }
  78% { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes iconPop { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 209, 102, 0)); } 50% { transform: scale(1.1); filter: drop-shadow(0 0 18px rgba(255, 209, 102, 0.7)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------ responsive ---- */
@media (max-width: 1024px) {
  .orbit-dot { transform: rotate(var(--a)) translateX(170px) rotate(calc(-1 * var(--a))); }
}

@media (max-width: 760px) {
  .inspire-sticky { position: static; height: auto; padding: 80px 0; }
  .inspire { height: auto !important; }
  .inspire-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; transform: none !important; }
  .inspire-card { width: 78vw; height: 380px; scroll-snap-align: center; }
  .inspire-card:nth-child(even) { margin-top: 0; }
  .inspire-progress { display: none; }
  .orbit-dot { width: 40px; height: 40px; left: -20px; top: -20px; transform: rotate(var(--a)) translateX(140px) rotate(calc(-1 * var(--a))); }
  .orbit-dot i { font-size: 20px; }
  .phone-stage { padding: 30px 10px; }
  .bleed { min-height: 60vh; }
  .to-top { right: 14px; bottom: 14px; }
}

/* ---------------------------------------- moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-zoom, .hero-title .line-inner { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .sky-plane { display: none; }
  .inspire-sticky { position: static; height: auto; padding: 80px 0; }
  .inspire { height: auto !important; }
  .inspire-track { overflow-x: auto; width: auto; transform: none !important; }
  html { scroll-behavior: auto; }
}

.phone-tilt { transform-style: preserve-3d; will-change: transform; }
