
/* Font metric overrides to reduce CLS during font swap */
@font-face {
  font-family: 'Poppins-fallback';
  src: local('Segoe UI'), local('-apple-system');
  size-adjust: 97%;
  ascent-override: 95%;
  descent-override: 20%;
  line-gap-override: 0%;
}
/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --blue-deep:  #1A3A5C;
  --blue-mid:   #2563A8;
  --blue-sky:   #4A9ECC;
  --blue-light: #E8F4FB;
  --white:      #FFFFFF;
  --gray-50:    #F9FAFB;
  --gray-100:   #F4F6F8;
  --gray-200:   #E5E7EB;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
  --sh-sm: 0 1px 4px rgba(0,0,0,.07);
  --sh-md: 0 6px 24px rgba(26,58,92,.11);
  --sh-lg: 0 16px 48px rgba(26,58,92,.16);
  --t: .3s cubic-bezier(.4,0,.2,1);
  --t-spring: .5s cubic-bezier(.34,1.56,.64,1);
  --ft: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  --fb: 'Open Sans', -apple-system, 'Segoe UI', sans-serif;
  --mw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--gray-900); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--ft); font-weight: 700; }
.container { max-width: var(--mw); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   ANIMATIONS — data-animate system
   ============================================================ */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
}
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-down"]  { transform: translateY(-30px); }
[data-animate="fade-left"]  { transform: translateX(-50px); }
[data-animate="fade-right"] { transform: translateX(50px); }
[data-animate="scale-up"]   { transform: scale(0.88); }
[data-animate="zoom"]       { transform: scale(0.92); filter: blur(4px); }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity .75s cubic-bezier(.16,1,.3,1),
    transform .75s cubic-bezier(.16,1,.3,1),
    filter .5s ease;
}

/* Word-by-word hero title */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) rotate(-1deg);
  animation: wordIn .6s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: none; }
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar { background: var(--blue-deep); color: var(--white); font-size: .82rem; padding: 9px 0; }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; transition: color var(--t); }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--t);
}
.nav--scrolled { box-shadow: 0 2px 16px rgba(26,58,92,.08); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img { height: 58px; width: auto; flex-shrink: 0; transition: transform var(--t); }
.nav-logo:hover img { transform: scale(1.03); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-logo-name { font-family: var(--ft); font-size: .95rem; font-weight: 700; color: var(--blue-deep); }
.nav-logo-sub  { font-family: var(--fb); font-size: .78rem; font-weight: 400; color: var(--gray-500); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-family: var(--fb); font-size: .88rem; font-weight: 600;
  color: var(--gray-700);
  position: relative;
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 3px; left: 14px; right: 14px;
  height: 2px; background: var(--blue-mid); border-radius: 2px;
  transform: scaleX(0);
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover { color: var(--blue-mid); background: var(--blue-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue-mid); }
.nav-links a.active::after { transform: scaleX(1); }
.btn-nav {
  background: var(--blue-mid) !important; color: var(--white) !important;
  border-radius: var(--r-md) !important; padding: 10px 22px !important;
  font-family: var(--fb) !important; font-weight: 600 !important; font-size: .88rem !important;
  box-shadow: 0 5px 0 #1a3a5c, 0 7px 14px rgba(37,99,168,.28) !important;
  transform: translateY(0) !important;
  transition: box-shadow .18s ease, transform .18s ease !important;
  white-space: nowrap !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  color: var(--white) !important;
  box-shadow: 0 2px 0 #1a3a5c, 0 3px 8px rgba(37,99,168,.2) !important;
  transform: translateY(3px) !important;
}
.btn-nav:active { box-shadow: 0 0px 0 #1a3a5c !important; transform: translateY(5px) !important; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--blue-deep); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* ============================================================
   BUTTONS — 3D press effect
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: var(--r-md);
  font-size: .95rem; font-weight: 600; font-family: var(--fb);
  cursor: pointer; border: 2px solid transparent;
  transform: translateY(0);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
  line-height: 1; white-space: nowrap;
}
.btn-primary {
  background: var(--blue-mid); color: var(--white);
  box-shadow: 0 6px 0 #1a3a5c, 0 10px 22px rgba(37,99,168,.35);
}
.btn-primary:hover { box-shadow: 0 2px 0 #1a3a5c, 0 5px 12px rgba(37,99,168,.3); transform: translateY(4px); }
.btn-primary:active { box-shadow: 0 0 0 #1a3a5c; transform: translateY(6px); }

.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.65);
  box-shadow: 0 6px 0 rgba(0,0,0,.28), 0 10px 22px rgba(0,0,0,.2);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); box-shadow: 0 2px 0 rgba(0,0,0,.22), 0 5px 12px rgba(0,0,0,.15); transform: translateY(4px); }
.btn-outline:active { box-shadow: 0 0 0 rgba(0,0,0,.15); transform: translateY(6px); }

.btn-outline-dark {
  background: transparent; color: var(--blue-mid); border-color: var(--blue-mid);
  box-shadow: 0 6px 0 rgba(26,58,92,.35), 0 10px 18px rgba(37,99,168,.18);
}
.btn-outline-dark:hover { background: var(--blue-light); box-shadow: 0 2px 0 rgba(26,58,92,.3), 0 5px 10px rgba(37,99,168,.15); transform: translateY(4px); }
.btn-outline-dark:active { box-shadow: 0 0 0 rgba(26,58,92,.2); transform: translateY(6px); }

/* ============================================================
   HERO — cinematic full-bleed
   ============================================================ */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 105%; object-fit: cover; object-position: center;
  transform-origin: center;
  will-change: transform;
}
/* Multi-layer gradient for depth */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(26,58,92,.88) 0%, rgba(26,58,92,.6) 50%, rgba(26,58,92,.15) 100%),
    linear-gradient(to top, rgba(26,58,92,.5) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 660px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22); border-radius: 100px;
  padding: 7px 18px; font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px;
  opacity: 0; animation: fadeSlideUp .7s .2s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-sky);
  box-shadow: 0 0 8px var(--blue-sky);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.4)} }

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 22px;
  letter-spacing: -.02em;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero h1 em { font-style: normal; color: var(--blue-sky); }
.hero-sub {
  font-size: 1.1rem; opacity: .88; margin-bottom: 36px;
  line-height: 1.7; max-width: 500px;
  opacity: 0; animation: fadeSlideUp .7s .55s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeSlideUp .7s .7s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-trust {
  margin-top: 44px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeSlideUp .7s .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-stars { color: #FBBF24; font-size: 1.05rem; letter-spacing: 3px; }
.hero-trust-text { font-size: .82rem; opacity: .8; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; animation: fadeSlideUp .7s 1.2s ease forwards;
}
.scroll-hint-line {
  width: 1px; height: 48px; background: rgba(255,255,255,.4);
  position: relative; overflow: hidden;
}
.scroll-hint-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; bottom: 0;
  background: white;
  animation: scrollLine 1.8s 1.5s ease infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--blue-deep); color: var(--white); padding: 0; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  text-align: center; padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.stat-item::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.04);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.stat-item:hover::before { transform: none; }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--ft); font-size: 2.6rem; font-weight: 800; color: var(--blue-sky); line-height: 1; display: block; }
.stat-label { font-size: .8rem; opacity: .7; margin-top: 6px; display: block; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 96px 0; }
.section-label { font-family: var(--fb); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-sky); margin-bottom: 12px; display: block; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--blue-deep); line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 1rem; color: var(--gray-500); max-width: 580px; line-height: 1.8; margin-bottom: 52px; }
.section-centered { text-align: center; }
.section-centered .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   VALEURS CARDS
   ============================================================ */
.valeurs { background: var(--gray-50); }
.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 36px 30px; box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-200);
  transform-style: preserve-3d;
  transition: box-shadow var(--t), transform .3s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { box-shadow: var(--sh-md); }
.card-icon { width: 56px; height: 56px; background: var(--blue-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform var(--t-spring), background var(--t); }
.card:hover .card-icon { transform: scale(1.1) rotate(-4deg); background: var(--blue-mid); }
.card:hover .card-icon svg { color: var(--white); }
.card-icon svg { width: 26px; height: 26px; color: var(--blue-mid); transition: color var(--t); }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 10px; }
.card p { font-size: .9rem; color: var(--gray-500); line-height: 1.78; }

/* ============================================================
   REMBOURSEMENT
   ============================================================ */
.remboursement { background: var(--blue-deep); color: var(--white); position: relative; overflow: hidden; }
.remboursement::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,204,.15) 0%, transparent 70%);
  pointer-events: none;
}
.remboursement .section-title { color: var(--white); }
.remb-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.remb-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 32px 26px; text-align: center;
  transition: background var(--t), transform var(--t-spring), border-color var(--t);
  position: relative; overflow: hidden;
}
.remb-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05) 0%, transparent 100%);
  opacity: 0; transition: opacity var(--t);
}
.remb-card:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); transform: translateY(-4px); }
.remb-card:hover::after { opacity: 1; }
.remb-card-icon { width: 64px; height: 64px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; transition: transform var(--t-spring); }
.remb-card:hover .remb-card-icon { transform: scale(1.15) rotate(6deg); }
.remb-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.remb-card p { font-size: .88rem; opacity: .8; line-height: 1.7; }

/* ============================================================
   ZONE
   ============================================================ */
.zone-section { background: var(--white); }
.zone-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.zone-map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); position: relative; }
.zone-map img { width: 100%; height: 360px; object-fit: cover; transition: transform .5s ease; }
.zone-map:hover img { transform: scale(1.03); }
.villes-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ville-tag {
  background: var(--blue-light); color: var(--blue-deep);
  padding: 6px 16px; border-radius: 100px; font-size: .82rem; font-weight: 600;
  transition: background var(--t), color var(--t), transform var(--t-spring);
  cursor: default;
}
.ville-tag:hover { background: var(--blue-mid); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   COLLABORATIONS
   ============================================================ */
.collabs { background: var(--gray-50); padding: 80px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.collabs-title { text-align: center; font-family: var(--ft); font-size: 1.6rem; font-weight: 800; color: var(--blue-deep); margin-bottom: 52px; }
.collabs-inner { display: flex; align-items: center; justify-content: center; gap: 100px; flex-wrap: wrap; }
.collab-logo {
  opacity: .85;
  transition: opacity var(--t), transform var(--t-spring);
}
.collab-logo:hover { opacity: 1; transform: translateY(-6px) scale(1.07); filter: grayscale(0); }
.collab-logo img { height: 80px; width: auto; }

/* ============================================================
   EQUIPE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); border: 1px solid var(--gray-200);
  transition: box-shadow var(--t), transform .3s ease;
}
.team-card:hover { box-shadow: var(--sh-md); }
.team-card-header { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%); padding: 36px 28px 28px; color: var(--white); position: relative; overflow: hidden; }
.team-card-header::after { content: ''; position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.06); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; border: 3px solid rgba(255,255,255,.3); font-family: var(--ft); }
.team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: .8rem; opacity: .8; line-height: 1.45; }
.team-badge { display: inline-block; background: rgba(255,255,255,.15); border-radius: 100px; padding: 4px 12px; font-size: .7rem; font-weight: 600; margin-top: 10px; }
.team-card-body { padding: 26px 28px; }
.team-card-body p { font-size: .9rem; color: var(--gray-700); line-height: 1.78; }
.team-coming { color: var(--gray-500); font-style: italic; }

.ordre-badge { display: flex; align-items: center; gap: 24px; background: var(--gray-50); border-radius: var(--r-lg); padding: 28px 32px; margin-top: 48px; border: 1px solid var(--gray-200); }
.ordre-badge img { height: 60px; width: auto; flex-shrink: 0; }
.ordre-badge p { font-size: .9rem; color: var(--gray-500); line-height: 1.75; }
.ordre-badge strong { color: var(--blue-deep); }

/* ============================================================
   A PROPOS
   ============================================================ */
.apropos-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.apropos-img-stack { position: relative; padding-bottom: 32px; }
.img-main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.img-main img { width: 100%; height: 420px; object-fit: cover; transition: transform .5s ease; }
.img-main:hover img { transform: scale(1.03); }
.img-badge { position: absolute; bottom: 0; right: -16px; background: var(--white); border-radius: var(--r-lg); padding: 20px 26px; box-shadow: var(--sh-md); text-align: center; border: 1px solid var(--gray-200); }
.img-badge strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue-deep); line-height: 1; font-family: var(--ft); }
.img-badge span { font-size: .78rem; color: var(--gray-500); }
.info-blocks { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.info-block { background: var(--gray-50); border-radius: var(--r-md); padding: 14px 20px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--gray-200); transition: border-color var(--t), background var(--t); }
.info-block:hover { background: var(--blue-light); border-color: var(--blue-sky); }
.info-block-icon { width: 36px; height: 36px; background: var(--blue-light); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-block-icon svg { width: 17px; height: 17px; color: var(--blue-mid); }
.info-block-text label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-sky); display: block; margin-bottom: 2px; }
.info-block-text span { font-size: .9rem; color: var(--gray-700); font-weight: 500; line-height: 1.4; }
.galerie-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.galerie-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4/3; }
.galerie-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie-img:hover img { transform: scale(1.06); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: var(--gray-50); border-radius: var(--r-md); border: 1px solid var(--gray-200); transition: border-color var(--t), background var(--t), transform var(--t-spring); }
.contact-item:hover { background: var(--blue-light); border-color: var(--blue-sky); transform: translateX(4px); }
.contact-item-icon { width: 42px; height: 42px; background: var(--blue-mid); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 18px; height: 18px; color: var(--white); }
.contact-item-text label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); display: block; margin-bottom: 3px; }
.contact-item-text a, .contact-item-text span { font-size: .95rem; font-weight: 600; color: var(--blue-deep); line-height: 1.4; display: block; }
.form-card { background: var(--white); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-lg); border: 1px solid var(--gray-200); }
.form-title { font-size: 1.3rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--r-sm); font-family: var(--fb); font-size: .9rem; color: var(--gray-900); transition: border-color var(--t), box-shadow var(--t); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 4px rgba(37,99,168,.09); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; margin-top: 6px; }
.form-success { display: none; background: #D1FAE5; color: #065F46; border-radius: var(--r-sm); padding: 14px; text-align: center; font-weight: 600; margin-top: 14px; font-size: .9rem; }
.form-error { display: none; background: #FEE2E2; color: #991B1B; border-radius: var(--r-sm); padding: 14px; text-align: center; font-weight: 600; margin-top: 14px; font-size: .9rem; }
.livret-card { background: var(--blue-light); border: 2px solid var(--blue-sky); border-radius: var(--r-lg); padding: 28px; display: flex; align-items: center; gap: 20px; margin-top: 28px; transition: transform var(--t-spring), box-shadow var(--t); }
.livret-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.livret-icon { font-size: 2.2rem; flex-shrink: 0; }
.livret-text h3 { font-size: 1rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; }
.livret-text p { font-size: .86rem; color: var(--gray-500); margin-bottom: 12px; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%); color: var(--white); padding: 60px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -60%; right: -5%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(74,158,204,.18) 0%, transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 10px; position: relative; }
.page-hero p { font-size: 1rem; opacity: .85; max-width: 580px; position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; opacity: .65; margin-bottom: 18px; position: relative; }
.breadcrumb a { color: inherit; transition: opacity var(--t); }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb-sep { opacity: .4; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { background: var(--blue-deep); color: var(--white); text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -40%; left: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(74,158,204,.12) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-section p { font-size: 1rem; opacity: .8; margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--blue-deep); margin: 40px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: .93rem; color: var(--gray-700); line-height: 1.85; margin-bottom: 12px; }
.legal-content a { color: var(--blue-mid); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--gray-900); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 220px; width: auto; margin-bottom: 18px; aspect-ratio: 1/1; }
.footer-brand p { font-size: .85rem; line-height: 1.75; opacity: .6; }
.footer h4 { font-family: var(--ft); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-sky); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { font-size: .85rem; opacity: .65; transition: opacity var(--t), color var(--t); display: inline-flex; align-items: center; gap: 6px; }
.footer ul li a:hover { opacity: 1; color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; opacity: .45; flex-wrap: wrap; gap: 8px; }
.footer-stars { color: #FBBF24; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .soins-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .apropos-layout { grid-template-columns: 1fr; gap: 40px; }
  .img-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav .container { height: 90px; }
  .nav-logo img { height: 72px; }
  .nav-links {
    display: none; position: fixed; top: 0; padding-top: 156px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; padding: 24px 16px;
    gap: 6px; z-index: 199; overflow-y: auto; box-shadow: var(--sh-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1rem; border-radius: var(--r-sm); width: 100%; }
  .nav-links a::after { display: none; }
  .btn-nav { width: 100% !important; justify-content: center !important; border-radius: var(--r-sm) !important; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column;
    align-items: stretch; padding: 16px; gap: 4px;
    z-index: 199; overflow-y: auto; box-shadow: var(--sh-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: .95rem; }
  .nav-links a::after { display: none; }
  .btn-nav { margin-top: 8px; width: 100% !important; text-align: center !important; border-radius: var(--r-sm) !important; padding: 14px !important; }
  .topbar .container { justify-content: center; gap: 12px; }
  .hero { min-height: 82vh; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); letter-spacing: -.01em; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 4px; }
  .scroll-hint { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 24px 12px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-number { font-size: 2rem; }
  section { padding: 56px 0; }
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .section-sub { margin-bottom: 32px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .soins-grid { grid-template-columns: 1fr; gap: 16px; }
  .remb-cards { grid-template-columns: 1fr; gap: 14px; }
  .zone-layout { grid-template-columns: 1fr; gap: 32px; }
  .zone-map img { height: 230px; }
  .collabs { padding: 52px 0; }
  .collabs-title { font-size: 1.3rem; margin-bottom: 36px; }
  .collabs-inner { gap: 40px; }
  .collab-logo img { height: 56px; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .ordre-badge { flex-direction: column; text-align: center; }
  .ordre-badge img { height: 48px; }
  .galerie-grid { grid-template-columns: 1fr; gap: 12px; }
  .galerie-img { aspect-ratio: 16/9; }
  .apropos-layout { gap: 28px; }
  .img-main img { height: 250px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .form-card { padding: 26px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .livret-card { flex-direction: column; text-align: center; }
  .page-hero { padding: 40px 0; }
  .cta-section { padding: 60px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 44px 0 24px; }
  .footer-brand img { height: 160px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .btn { padding: 14px 26px; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .nav-logo img { height: 56px; }
  .hero h1 { font-size: 1.6rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-animate] { opacity: 1; transform: none; filter: none; }
  .word-reveal { opacity: 1; transform: none; animation: none; }
  .hero-bg img { transform: none !important; }
}

/* ============================================================
   PREMIUM ADDITIONS — cursor glow, char reveal, card shine
   ============================================================ */

/* Cursor glow (desktop, like microsoft.ai) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,204,.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transition: width .4s ease, height .4s ease, background .4s ease;
  will-change: transform;
}
.cursor-glow--active {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,158,204,.18) 0%, transparent 65%);
}

/* Character-by-character reveal */
.char-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotate(-2deg);
  animation: charIn .55s cubic-bezier(.16,1,.3,1) forwards;
  will-change: transform, opacity;
  white-space: pre;
}
@keyframes charIn {
  to { opacity: 1; transform: none; }
}

/* Card shine overlay */
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: background .15s ease;
  z-index: 1;
}
.card { position: relative; }

/* Stat bar hover shimmer */
.stat-item {
  cursor: default;
  position: relative;
  overflow: hidden;
}
.stat-item::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transition: left .5s ease;
}
.stat-item:hover::after { left: 150%; }

/* Nav link animated underline */
.nav-links a {
  position: relative;
}

/* Section title gradient accent (sunmetalon style) */
.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero content slight entrance refinement */
.hero-content { padding-bottom: 60px; }

/* Scroll line draw (decorative) */
.draw-line {
  height: 1px;
  background: var(--gray-200);
  position: relative;
  overflow: hidden;
}
.draw-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-sky), var(--blue-mid));
  transition: left .9s cubic-bezier(.16,1,.3,1), right .9s cubic-bezier(.16,1,.3,1);
}
.draw-line.drawn::after { left: 0; right: 0; }

/* Hover reveal line on section titles */
.section-title {
  position: relative;
  display: inline-block;
}
.section-centered .section-title { display: block; }

/* No dark mode filter on logos — preserve original colors */

/* Stats number gradient */
.stat-number {
  background: linear-gradient(135deg, #7DD3F0 0%, var(--blue-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero eyebrow pulse ring */
.hero-eyebrow-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--blue-sky);
  animation: ring 2s infinite;
  opacity: 0;
}
@keyframes ring {
  0%  { transform: scale(1);   opacity: .8; }
  100%{ transform: scale(2.5); opacity: 0;  }
}
.hero-eyebrow-dot { position: relative; }

/* Page hero decorative circles */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

/* Footer top bar removed */

/* CTA section radial depth */
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,204,.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Smooth image hover zoom */
.galerie-img, .zone-map, .img-main {
  overflow: hidden;
}

/* Staggered list items in soins */
.soins-list li {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s ease, transform .4s ease;
}
.soins-cat.is-visible .soins-list li,
.soins-cat[data-animate].is-visible ~ * .soins-list li {
  opacity: 1;
  transform: none;
}
/* Direct approach */
[data-animate].is-visible .soins-list li { opacity: 1; transform: none; }
.soins-list li:nth-child(1) { transition-delay: .1s; }
.soins-list li:nth-child(2) { transition-delay: .18s; }
.soins-list li:nth-child(3) { transition-delay: .26s; }
.soins-list li:nth-child(4) { transition-delay: .34s; }
.soins-list li:nth-child(5) { transition-delay: .42s; }
.soins-list li:nth-child(6) { transition-delay: .50s; }

/* Nav logo scale on scroll */
.nav-logo img {
  transition: height .35s cubic-bezier(.16,1,.3,1), transform .3s ease;
}
.nav--scrolled .nav-logo img {
  height: 52px;
  width: auto;
}

/* Mobile: prevent cursor glow */
@media (max-width: 768px) {
  .cursor-glow { display: none; }
  .nav--scrolled .nav-logo img { height: 56px; }
  .stat-number {
    background: linear-gradient(135deg, #7DD3F0 0%, var(--blue-sky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ── Form validation ── */
.input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
}
.field-error {
  display: block;
  font-size: .78rem;
  color: #DC2626;
  margin-top: 5px;
  font-weight: 600;
}
