/* ============================================================
   CLUB MESIBA — Style Sheet
   Architecture : Custom Properties → Reset → Base →
                  Layout → Components → Pages → Utilities
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  /* Couleurs */
  /* === Palette extraite du logo Mesiba — M ailé bleu royal === */
  --c-primary:        #1E52A0;   /* Bleu royal (corps du M + ailes)  */
  --c-primary-mid:    #3A78CC;   /* Bleu moyen (milieu des ailes)    */
  --c-primary-light:  #7BB0E8;   /* Bleu clair (reflets des ailes)   */
  --c-primary-xlight: #EAF2FB;   /* Fond bleu très léger             */
  --c-accent:         #E8920A;   /* Or chaud — CTA (complémentaire)  */
  --c-accent-dark:    #C47808;

  --c-text:           #1C2B3A;
  --c-text-mid:       #4A5E72;
  --c-text-light:     #7A8FA5;
  --c-white:          #FFFFFF;
  --c-bg-white:       #FFFFFF;
  --c-bg-light:       #F4F8FC;
  --c-bg-dark:        #09172C;   /* Bleu nuit profond (cohérent logo) */
  --c-success:        #1B873B;
  --c-error:          #C62828;
  --c-border:         #D6E4F0;

  /* Typographie */
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --fw-normal: 400;
  --fw-medium: 600;
  --fw-bold:   700;
  --fw-xbold:  800;
  --fw-black:  900;

  /* Tailles de police (modular scale ×1.25) */
  --fs-xs:   0.75rem;    /*  12px */
  --fs-sm:   0.875rem;   /*  14px */
  --fs-base: 1rem;       /*  16px */
  --fs-md:   1.125rem;   /*  18px */
  --fs-lg:   1.375rem;   /*  22px */
  --fs-xl:   1.75rem;    /*  28px */
  --fs-2xl:  2.25rem;    /*  36px */
  --fs-3xl:  3rem;       /*  48px */
  --fs-4xl:  3.75rem;    /*  60px */

  /* Espacement */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Rayons */
  --r-sm:   0.375rem;
  --r-md:   0.75rem;
  --r-lg:   1.25rem;
  --r-xl:   2rem;
  --r-full: 9999px;

  /* Ombres */
  --shadow-xs: 0 1px 3px rgba(30,82,160,.10);
  --shadow-sm: 0 2px 8px rgba(30,82,160,.12);
  --shadow-md: 0 4px 20px rgba(30,82,160,.15);
  --shadow-lg: 0 8px 40px rgba(30,82,160,.20);
  --shadow-xl: 0 16px 60px rgba(30,82,160,.25);

  /* Transitions */
  --ease-fast: 150ms ease;
  --ease-base: 250ms ease;
  --ease-slow: 350ms ease;

  /* Layout */
  --container-max:     1200px;
  --container-pad:     1.25rem;
  --header-h:          108px;  /* topbar (~34px) + navbar (~74px) */
}


/* ── 2. RESET / NORMALIZE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-bg-white);
  overflow-x: hidden;
}

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

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Focus visible pour le clavier */
:focus-visible {
  outline: 3px solid var(--c-primary-light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ── 3. UTILITAIRES ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* ── 4. SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: var(--fw-bold);
  border-radius: var(--r-md);
  z-index: 9999;
  transition: top var(--ease-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: var(--sp-4);
}


/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

/* Topbar */
.topbar {
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-sm);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-2);
}

.topbar__contact {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.topbar__link {
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color var(--ease-fast);
  text-decoration: none;
}
.topbar__link:hover { color: var(--c-white); }
.topbar__link svg { flex-shrink: 0; }

.topbar__social {
  display: flex;
  gap: var(--sp-4);
}

.topbar__social-link {
  color: rgba(255,255,255,.7);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: .03em;
  text-decoration: none;
  transition: color var(--ease-fast);
}
.topbar__social-link:hover { color: var(--c-white); }

/* Navbar */
.navbar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-3);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo image (PNG officiel du M ailé) */
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  transition: transform var(--ease-fast), opacity var(--ease-fast);
}
.navbar__logo:hover .logo-img {
  transform: scale(1.04);
  opacity: .9;
}

.logo-img--footer {
  height: 48px;
  width: auto;
}

/* Conteneur blanc arrondi pour le logo dans le footer sombre */
.footer__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-4);
  box-shadow: var(--shadow-sm);
}

/* Ancienne classe conservée pour compatibilité */
.logo-text {
  font-size: var(--fs-lg);
  font-weight: var(--fw-xbold);
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.logo-text strong { color: var(--c-primary-mid); display: inline; }
.logo-text--footer { color: var(--c-white); }
.logo-text--footer strong { color: var(--c-primary-light); }

/* Navigation principale */
.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  border-radius: var(--r-sm);
  transition: color var(--ease-fast), background var(--ease-fast);
  text-decoration: none;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--c-primary);
  background: var(--c-primary-xlight);
  text-decoration: none;
}

.nav-link--btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link--cta {
  background: var(--c-accent);
  color: var(--c-white) !important;
  font-weight: var(--fw-bold);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  transition: background var(--ease-fast), transform var(--ease-fast);
}
.nav-link--cta:hover { background: var(--c-accent-dark); transform: translateY(-1px); }

/* Dropdown */
.dropdown-arrow { transition: transform var(--ease-fast); flex-shrink: 0; }
.nav-link--btn[aria-expanded="true"] .dropdown-arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + var(--sp-2));
  left: 0;
  min-width: 200px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--ease-base), transform var(--ease-base), visibility var(--ease-base);
  z-index: 50;
}

.nav-item--dropdown:hover .dropdown,
.nav-item--dropdown:focus-within .dropdown,
.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  transition: background var(--ease-fast), color var(--ease-fast);
  text-decoration: none;
}
.dropdown__link:hover { background: var(--c-primary-xlight); color: var(--c-primary); }
.dropdown li:first-child .dropdown__link { border-radius: var(--r-md) var(--r-md) 0 0; }
.dropdown li:last-child  .dropdown__link { border-radius: 0 0 var(--r-md) var(--r-md); }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  background: var(--c-primary-xlight);
  transition: background var(--ease-fast);
}
.navbar__toggle:hover { background: var(--c-border); }

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  border-radius: var(--r-full);
  transition: transform var(--ease-base), opacity var(--ease-base);
}

.navbar__toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════
   BOUTONS
═══════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  line-height: 1;
  border-radius: var(--r-full);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast), border-color var(--ease-fast), color var(--ease-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--c-white);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary-light);
}
.btn--ghost:hover {
  background: var(--c-primary-xlight);
  border-color: var(--c-primary);
}
.btn--ghost svg { flex-shrink: 0; }

.btn--outline-light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--c-white);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}
.btn--white:hover {
  background: var(--c-primary-xlight);
  box-shadow: var(--shadow-md);
}

.btn--large {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-md);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
}

.btn--full { width: 100%; }


/* ═══════════════════════════════════
   SECTIONS — Structure commune
═══════════════════════════════════ */

.section { padding-block: var(--sp-20); }
.section--light  { background: var(--c-bg-light); }
.section--white  { background: var(--c-bg-white); }
.section--dark   { background: var(--c-bg-dark); }
.section--accent { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%); }
.section--light-blue { background: var(--c-primary-xlight); }

.section-header { text-align: center; margin-bottom: var(--sp-12); }
.section-header--light { text-align: center; margin-bottom: var(--sp-12); }

.section-tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-4);
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section--dark .section-tag,
.section--accent .section-tag {
  background: rgba(255,255,255,.15);
  color: var(--c-white);
}

.section-title {
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-2xl));
  font-weight: var(--fw-black);
  color: var(--c-text);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}
.section-title--light { color: var(--c-white); }

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--c-text-mid);
  max-width: 640px;
  margin-inline: auto;
}
.section-subtitle--light { color: rgba(255,255,255,.8); }


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

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--sp-20);
  /* Gradient de secours si la vidéo ne charge pas */
  background: linear-gradient(145deg, #0B1F52 0%, var(--c-primary) 55%, var(--c-primary-mid) 100%);
}

/* Vidéo de fond */
.hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Voile sombre sur la vidéo pour garder le texte lisible */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(11,31,82,.55) 0%, rgba(30,82,160,.45) 55%, rgba(58,120,204,.32) 100%);
  z-index: 1;
}

/* Formes décoratives */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }

/* Filigrane logo (M ailé) en arrière-plan du hero */
.hero__watermark {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: clamp(300px, 48vw, 620px);
  height: auto;
  opacity: .07;
  filter: brightness(0) invert(1); /* Logo blanc sur fond bleu */
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}
.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
}
.hero__bg-shape--1 {
  width: 700px; height: 700px;
  background: var(--c-primary-mid);
  top: -280px; right: -200px;
  opacity: .12;
}
.hero__bg-shape--2 {
  width: 450px; height: 450px;
  background: var(--c-primary-light);
  bottom: -120px; left: -120px;
  opacity: .07;
}
.hero__bg-shape--3 {
  width: 250px; height: 250px;
  background: var(--c-white);
  top: 35%; left: 38%;
  opacity: .04;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.hero__text { max-width: 680px; }

.hero__badge {
  display: inline-block;
  padding: var(--sp-2) var(--sp-5);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: var(--sp-5);
  letter-spacing: .03em;
}

.hero__title {
  font-size: clamp(var(--fs-2xl), 5.5vw, var(--fs-4xl));
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  letter-spacing: -.02em;
}

.hero__title-accent {
  color: var(--c-primary-light);
}

.hero__description {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

/* Stats Hero */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__stat-number {
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-3xl));
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  font-weight: var(--fw-medium);
  margin-top: var(--sp-1);
}


/* ═══════════════════════════════════
   BARRE DE CONFIANCE
═══════════════════════════════════ */

.trustbar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-5);
  box-shadow: var(--shadow-xs);
}

.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-mid);
  white-space: nowrap;
}

.trust-item__icon { font-size: 1.2em; }


/* ═══════════════════════════════════
   CARDS SÉJOURS ÉTÉ
═══════════════════════════════════ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--featured { border-color: var(--c-primary-light); }

.card__badge-top {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  background: var(--c-accent);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  z-index: 2;
  letter-spacing: .03em;
}
.card__badge-top--new { background: var(--c-primary); }

/* ── Logo image dans les cards destination ── */
.card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: var(--sp-4);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}

/* Logo image — centré, conserve les proportions */
.card__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 190px;
  transition: transform var(--ease-base);
}
.card:hover .card__logo-img { transform: scale(1.06); }

/* Reset button quand card__visual est un <button> */
button.card__visual {
  border: none;
  font: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

/* Icône play centrée sur l'image */
.card__play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,82,160,0);
  transition: background var(--ease-base);
  pointer-events: none;
}
.card__play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.30);
  color: var(--c-primary);
  transform: scale(.7);
  opacity: 0;
  transition: transform var(--ease-base), opacity var(--ease-base);
}
button.card__visual:hover .card__play-icon  { background: rgba(30,82,160,.15); }
button.card__visual:hover .card__play-circle,
button.card__visual:focus-visible .card__play-circle {
  transform: scale(1);
  opacity: 1;
}

/* ── MODAL VIDÉO SÉJOUR ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.video-modal[hidden] { display: none; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}
.video-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
}
.video-modal__player {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.video-modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease-fast), transform var(--ease-fast);
}
.video-modal__close:hover { background: rgba(0,0,0,.9); transform: scale(1.1); }

/* Trait coloré en haut de chaque card selon la destination */
.card--limoges  { border-top: 4px solid #F5A820; }
.card--lacote   { border-top: 4px solid #1E52A0; }
.card--chaumont { border-top: 4px solid #2E7D42; }
.card--portugal { border-top: 4px solid #CC2233; }
.card--chypre   { border-top: 4px solid #E8780A; }

/* Sous-titre destination (Porto, Ayia Napa) */
.card__subtitle {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-mid);
  margin-top: var(--sp-1);
  letter-spacing: .02em;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
  gap: var(--sp-3);
}

.card__meta {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.badge {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .03em;
}
.badge--age  { background: var(--c-primary-xlight); color: var(--c-primary); }
.badge--date { background: #FFF3E0; color: #E65100; }

.card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  color: var(--c-text);
  line-height: 1.2;
}

.card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.6;
  flex: 1;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.card__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.card__price {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
}
.card__price strong {
  display: block;
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  color: var(--c-primary);
}


/* ═══════════════════════════════════
   SÉJOURS HIVER
═══════════════════════════════════ */

.hiver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.hiver-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: background var(--ease-base), transform var(--ease-base);
}
.hiver-card:hover {
  background: rgba(255,255,255,.10);
  transform: translateY(-4px);
}

.hiver-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.hiver-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  color: var(--c-white);
}

.hiver-card__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.hiver-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
}
.hiver-card__details li {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.8);
}

.hiver-card .btn { margin-top: auto; align-self: flex-start; }


/* ═══════════════════════════════════
   VALEURS
═══════════════════════════════════ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.value-item {
  padding: var(--sp-6);
  background: var(--c-bg-light);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.value-item__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.value-item__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}

.value-item__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.65;
}


/* ═══════════════════════════════════
   TÉMOIGNAGES
═══════════════════════════════════ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.testimonial {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--ease-base);
}
.testimonial:hover { transform: translateY(-4px); }

.testimonial__stars {
  color: #F59E0B;
  font-size: var(--fs-md);
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial__footer { margin-top: auto; }

.testimonial__author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  font-style: normal;
}


/* ═══════════════════════════════════
   RECRUTEMENT
═══════════════════════════════════ */

.recrutement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.recrutement__content { flex: 1; min-width: 280px; }

.recrutement__content .section-title--light {
  text-align: left;
  margin-bottom: var(--sp-4);
}

.recrutement__desc {
  color: rgba(255,255,255,.85);
  font-size: var(--fs-md);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.recrutement__avantages {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.recrutement__avantages li {
  color: rgba(255,255,255,.9);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.recrutement__cta { flex-shrink: 0; }


/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 380px; }
}

/* Formulaire */
.contact-form-wrapper {
  background: var(--c-bg-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  border: 1px solid var(--c-border);
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}
.form-label abbr {
  text-decoration: none;
  color: var(--c-accent);
  margin-left: var(--sp-1);
}

.form-input {
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  color: var(--c-text);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  appearance: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--c-primary-mid);
  box-shadow: 0 0 0 3px rgba(0, 132, 187, .15);
  outline: none;
}
.form-input.is-invalid { border-color: var(--c-error); }
.form-input.is-valid   { border-color: var(--c-success); }

.form-select { cursor: pointer; }

.form-textarea { resize: vertical; min-height: 120px; }

.form-hint {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
}

.form-error {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-error);
  min-height: 1em;
}

.form-success-msg {
  padding: var(--sp-4);
  background: #E8F5E9;
  color: var(--c-success);
  border-radius: var(--r-md);
  font-weight: var(--fw-medium);
  border: 1px solid #A5D6A7;
}

.form-legal {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  text-align: center;
}
.form-legal a { color: var(--c-primary-mid); }

/* Infos de contact */
.contact-info { display: flex; flex-direction: column; gap: var(--sp-5); }

.contact-info__card {
  background: var(--c-primary);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  color: var(--c-white);
}

.contact-info__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  margin-bottom: var(--sp-5);
  color: var(--c-white);
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.contact-info__item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.contact-info__item a { color: var(--c-primary-light); }
.contact-info__item a:hover { color: var(--c-white); }
.contact-info__item strong { color: var(--c-white); display: block; margin-bottom: var(--sp-1); }
.contact-info__item small { color: rgba(255,255,255,.6); font-size: var(--fs-xs); }

.contact-info__icon { font-size: 1.2em; flex-shrink: 0; margin-top: 2px; }

.contact-info__horaires {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: var(--sp-5);
}
.contact-info__horaires h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}
.contact-info__horaires p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

.contact-info__social {
  background: var(--c-primary-xlight);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
}
.contact-info__social p {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text-mid);
  margin-bottom: var(--sp-3);
}

.social-links { display: flex; flex-direction: column; gap: var(--sp-3); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-white);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}
.social-link:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); text-decoration: none; }
.social-link svg { flex-shrink: 0; color: var(--c-primary); }


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

.site-footer { background: var(--c-bg-dark); color: rgba(255,255,255,.7); }

.footer__top { padding-block: var(--sp-16); }

.footer__top-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

@media (min-width: 768px) {
  .footer__top-inner { grid-template-columns: 260px 1fr; }
}

.footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); }

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  font-style: italic;
}

.footer__social { display: flex; gap: var(--sp-3); }

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-full);
  color: rgba(255,255,255,.7);
  transition: background var(--ease-fast), color var(--ease-fast);
  text-decoration: none;
}
.footer__social-link:hover { background: rgba(255,255,255,.2); color: var(--c-white); }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

@media (min-width: 640px) {
  .footer__nav { grid-template-columns: repeat(4, 1fr); }
}

.footer__nav-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  color: var(--c-white);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer__nav ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__nav a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--ease-fast);
}
.footer__nav a:hover { color: var(--c-white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--sp-5);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
}


/* ═══════════════════════════════════
   BOUTON RETOUR EN HAUT
═══════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 48px; height: 48px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--ease-fast), transform var(--ease-fast), opacity var(--ease-base);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--c-primary-mid); transform: translateY(-2px); }
.back-to-top[hidden] { display: flex; opacity: 0; pointer-events: none; }


/* ═══════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════ */

@media (max-width: 767px) {

  /* Header */
  .topbar__contact { gap: var(--sp-4); }
  .topbar__social   { display: none; }

  .navbar__toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: var(--header-h, 90px);
    background: var(--c-white);
    padding: var(--sp-6);
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--ease-base);
    z-index: 80;
    box-shadow: var(--shadow-xl);
  }
  .main-nav.is-open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; gap: var(--sp-1); }
  .nav-link { font-size: var(--fs-base); padding: var(--sp-3) var(--sp-4); }
  .nav-link--cta { text-align: center; margin-top: var(--sp-4); border-radius: var(--r-md); }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--c-primary-xlight);
    border-radius: var(--r-md);
    margin-top: var(--sp-1);
    display: none;
  }
  .dropdown.is-open { display: block; }
  .dropdown__link { font-size: var(--fs-sm); padding: var(--sp-2) var(--sp-6); }

  /* Hero */
  .hero { padding-block: var(--sp-16); min-height: auto; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__stats { gap: var(--sp-5); }

  /* Formulaire */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: var(--sp-5); }

  /* Trust bar */
  .trustbar__inner { gap: var(--sp-4); justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--sp-2); }
  .trust-item { flex-shrink: 0; }

  /* Recrutement */
  .recrutement__inner { text-align: center; }
  .recrutement__content .section-title--light { text-align: center; }

  /* Sections */
  .section { padding-block: var(--sp-12); }
  .section-header { margin-bottom: var(--sp-8); }
}

@media (max-width: 479px) {
  .hero__stat-number { font-size: var(--fs-xl); }
  .cards-grid,
  .hiver-grid,
  .values-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {
  .card,
  .hiver-card,
  .value-item,
  .testimonial {
    animation: fade-up .4s ease both;
  }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* Respecter les préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


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

.hero-countdowns {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cd {
  padding: 16px 20px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}

.hero-cd--fp {
  background: rgba(245, 158, 11, .15);
  border: 1px solid rgba(245, 158, 11, .35);
}

.hero-cd--ins {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
}

.hero-cd__head {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.hero-cd--fp .hero-cd__head {
  color: #fcd34d;
}

.hero-cd__blocks {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-cd__item {
  border-radius: 12px;
  padding: 10px 8px;
  min-width: 56px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}

.hero-cd__item--fp {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hero-cd__item--ins {
  background: linear-gradient(135deg, #1E52A0, #2B6BC0);
}

.hero-cd__val {
  display: block;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-cd__unit {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
}

.hero-cd__done {
  display: none;
  font-weight: 800;
  color: #4ade80;
  font-size: 16px;
  padding: 8px 0;
}

.hero-cd--fp .hero-cd__done {
  color: #fbbf24;
}

@media (max-width: 600px) {
  .hero-countdowns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-cd { padding: 12px 16px; }
  .hero-cd__item { min-width: 48px; padding: 8px 6px; }
  .hero-cd__val { font-size: 20px; }
}


/* ═══════════════════════════════════
   IMPRESSION
═══════════════════════════════════ */

@media print {
  .site-header,
  .back-to-top,
  .hero__actions,
  .card .btn,
  .footer__social { display: none; }

  body { font-size: 12pt; color: #000; }
  .hero { background: none; color: #000; min-height: auto; }
  .hero__title,
  .hero__description { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
}
