/* Charte issue de la maquette « riviera » : bleu marine doux + bleu mer, Manrope/Jost/Inter,
   angles arrondis, ombres douces. Aucun or, aucune serif. */
:root {
  --navy:      #2B3A4D;
  --navy-deep: #1F2C3D;
  --navy-mid:  #33455C;
  --ink:       #22344F;
  --sea:       #4A7BA6;
  --sea-deep:  #3A6285;
  --sea-soft:  #E4EDF4;
  --sea-pale:  #A9C6DE;
  --sea-mist:  #BFD5E6;
  --ice:       #F5F8FA;
  --sky:       #EBF1F5;
  --mist:      #D8E2EA;
  --white:     #FFFFFF;
  --text-body: #33465E;
  --text-light:#65788D;
  --grad-airy: linear-gradient(180deg, #FFFFFF 0%, #F5F8FA 100%);
  --grad-sky:  linear-gradient(180deg, #F5F8FA 0%, #EBF1F5 100%);
  --grad-navy: linear-gradient(165deg, #2B3A4D 0%, #1F2C3D 60%, #33455C 100%);
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow-soft: 0 8px 32px rgba(16,35,78,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-body); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Filet « waterline » — signature de marque reprise du logo, posée au-dessus des intitulés
   de section (sections claires uniquement). */
.waterline { display: block; width: 96px; height: auto; margin-bottom: 18px; opacity: 0.9; }
.waterline.center { margin-left: auto; margin-right: auto; }

/* Nav — le logo est blanc + filet or sur fond transparent : il exige un fond sombre.
   La maquette pose une barre blanche translucide ; on garde le verre dépoli mais en navy. */
/* Barre transparente sur le hero, puis bleu marine au scroll. Le logo reste blanc dans les
   deux états (le lettrage est blanc : il lui faut un fond sombre ou une image). */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5%; display: flex; align-items: center; justify-content: space-between;
  height: 112px; background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
nav.scrolled {
  background: rgba(31,44,61,0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 28px rgba(16,35,78,0.28);
}
.nav-logo img { height: 84px; width: auto; }
.nav-links { display: flex; gap: 38px; list-style: none; align-items: center; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); opacity: 0.85; transition: opacity var(--transition), color var(--transition); }
.nav-links a:hover { opacity: 1; color: var(--sea-pale); }
.nav-lang { display: flex; gap: 6px; margin-right: 8px; }
.nav-lang a { display: inline-block; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.5); color: rgba(255,255,255,0.85); font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; padding: 5px 14px; border-radius: 100px; cursor: pointer; transition: all var(--transition); }
.nav-lang a.active, .nav-lang a:hover { background: var(--sea); color: var(--white); border-color: var(--sea); opacity: 1; }
.nav-cta { background: var(--sea); color: var(--white) !important; opacity: 1 !important; padding: 11px 24px; border-radius: 100px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--sea-deep); }
/* Bouton menu mobile (hamburger) : masqué en desktop, visible sous 768px. */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer; z-index: 120; }
.nav-burger span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
#mainNav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mainNav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
#mainNav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Barre de progression du défilement, sous la barre de menu : se remplit de gauche à droite
   à mesure qu'on descend la page (scaleX piloté en JS). Rail discret (::before) + remplissage
   clair et lumineux pour un bon contraste sur la nav transparente comme assombrie. */
.scroll-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; z-index: 121; opacity: 0; transition: opacity var(--transition); }
/* Masquée tant que la nav est transparente (en haut) : pas de ligne en travers du hero. */
#mainNav.scrolled .scroll-progress { opacity: 1; }
.scroll-progress::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.18); }
.scroll-progress::after { content: ''; position: absolute; inset: 0; background: var(--sea-pale); box-shadow: 0 0 8px rgba(169,198,222,0.8); transform: scaleX(var(--scroll, 0)); transform-origin: left; transition: transform 0.08s linear; }

/* padding-top = hauteur de la nav : le contenu (aligné en bas) ne peut jamais chevaucher la nav /
   le logo. min-height (au lieu de height) laisse le hero GRANDIR si le contenu est plus haut que
   l'écran (sur-titre + grand titre FR sur un écran court) au lieu de déborder sous la nav. */
#hero { position: relative; min-height: 100vh; padding-top: 130px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; filter: brightness(0.62); transform-origin: center; animation: heroZoomOut 9s cubic-bezier(0.22,1,0.36,1) forwards; }
/* Vidéo de fond optionnelle : recouvre la photo (qui sert de poster instantané) quand une vidéo
   est publiée via /admin. Masquée par l'attribut `hidden` (règle navigateur par défaut, robuste
   même sans ce CSS) ; le middleware retire `hidden` dès qu'une vidéo est publiée. Position absolue
   pour ne JAMAIS entrer dans le flux du hero (pas de casse de mise en page si ce CSS est en cache). */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); }
@keyframes heroZoomOut { from { transform: scale(1.2); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,26,60,0.92) 0%, rgba(16,35,78,0.45) 45%, rgba(16,35,78,0.15) 100%); }
.hero-badge { position: absolute; top: 128px; right: 5%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.45); color: var(--white); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 18px; border-radius: 100px; backdrop-filter: blur(6px); }
.hero-content { position: relative; z-index: 2; padding: 0 5% 90px; max-width: 1060px; }
.hero-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea-mist); margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: var(--white); margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--sea-pale); }
.hero-sub { font-size: 1.02rem; font-weight: 300; color: rgba(255,255,255,0.85); max-width: 760px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--sea); color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 15px 34px; border: none; border-radius: 100px; cursor: pointer; transition: background var(--transition), transform var(--transition); display: inline-block; }
.btn-primary:hover { background: var(--sea-deep); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--white); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 15px 34px; border: 1px solid rgba(255,255,255,0.5); border-radius: 100px; cursor: pointer; transition: border-color var(--transition), background var(--transition); display: inline-block; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.14); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; animation: bounce 2.5s infinite; z-index: 2; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(74,123,166,0.4); } 50% { box-shadow: 0 0 0 8px rgba(74,123,166,0); } }

section { padding: 110px 5%; }
.section-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea); margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 20px; }
/* Accent de titre : Jost 300, plus grand et plus clair que le reste du titre. */
.section-title em { font-family: 'Jost', var(--font-body); font-style: normal; font-weight: 300; font-size: 1.1em; letter-spacing: 0.015em; color: var(--sea); display: inline-block; }
.section-lead { font-size: 1.03rem; font-weight: 300; color: var(--text-light); line-height: 1.75; max-width: 600px; }
.section-lead.lead-oneline { max-width: none; white-space: nowrap; }
@media (max-width: 900px) { .section-lead.lead-oneline { white-space: normal; max-width: 600px; } }

.construction-banner { background: var(--grad-sky); border-bottom: 1px solid var(--mist); padding: 16px 5%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.banner-text { display: flex; align-items: center; gap: 16px; }
.banner-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sea); flex-shrink: 0; animation: pulse 2s infinite; }
.banner-text p { color: var(--ink); font-size: 0.85rem; }
.banner-text strong { color: var(--sea-deep); }

#differenciateurs { background: var(--grad-airy); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.diff-card { background: var(--white); padding: 44px 34px; border: 1px solid var(--sky); border-radius: var(--radius-lg); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.diff-card:hover { border-color: var(--sea); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.diff-icon { margin-bottom: 22px; height: 44px; display: flex; align-items: flex-end; color: var(--sea); }
.diff-icon svg { width: 44px; height: 44px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.diff-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 12px; }
.diff-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.diff-tag { display: inline-block; margin-top: 18px; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sea-deep); background: var(--sea-soft); padding: 5px 12px; border-radius: 100px; }

#chiffres { background: var(--grad-navy); }
.chiffres-inner { display: flex; flex-direction: column; gap: 56px; }
.chiffres-text { max-width: 680px; }
.chiffres-text .section-title { color: var(--white); }
.chiffres-text .section-title em { color: var(--sea-pale); }
.chiffres-text .section-eyebrow { color: var(--sea-mist); }
.chiffres-text .section-lead { color: rgba(255,255,255,0.6); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* Chiffres désormais dans la rubrique « Une nouvelle référence » (#univers, fond clair) :
   cartes claires + chiffres colorés (avant : texte clair pour l'ancien fond sombre). */
.stat-card { background: var(--ice); border: 1px solid var(--sky); border-radius: var(--radius-lg); padding: 32px 28px; transition: background var(--transition), border-color var(--transition); }
.stat-card:hover { background: var(--sky); border-color: var(--sea-pale); }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--sea); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); }
#univers .stats-grid { margin-top: 64px; }

#univers { background: var(--white); }
.univers-header { max-width: 680px; margin-bottom: 64px; }
.univers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flip-card { height: 360px; perspective: 1200px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); transform-style: preserve-3d; }
.flip-card:hover .flip-inner, .flip-card:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.flip-front { background: var(--navy); }
.flip-photo { position: absolute; inset: 0; background-size: cover; background-position: center; background-image: linear-gradient(135deg, #33455C 0%, #1F2C3D 100%); }
.flip-photo::after { content: 'Photo à venir'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(169,198,222,0.75); border: 1px solid rgba(169,198,222,0.4); padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
.flip-card[data-photo] .flip-photo::after, .flip-photo[data-has-img]::after { display: none; }
.flip-front .flip-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 28px 28px; background: linear-gradient(to top, rgba(11,26,60,0.88) 0%, transparent 100%); z-index: 2; }
.flip-front .flip-caption h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white); margin-bottom: 6px; }
.flip-front .flip-caption p { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
/* Verso : seconde photo en fond (data-cms-img univers.cN.photo2) + voile navy pour garder le
   texte lisible. Sans photo, le dégradé par défaut de .flip-photo rend le verso uni comme avant. */
.flip-back { background: var(--grad-navy); border: 1px solid rgba(159,211,232,0.25); transform: rotateY(180deg); }
.flip-back .flip-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,26,60,0.94) 0%, rgba(11,26,60,0.78) 60%, rgba(11,26,60,0.62) 100%); }
/* Le badge « Photo à venir » n'a de sens qu'au recto : au verso, .flip-hint le dit déjà. */
.flip-back .flip-photo::after { display: none; }
.flip-back-body { position: relative; z-index: 2; height: 100%; padding: 34px 28px; display: flex; flex-direction: column; justify-content: center; }
.flip-back h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; color: var(--sea-pale); margin-bottom: 14px; }
.flip-back p { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.65; }
.flip-back .flip-hint { margin-top: 20px; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(169,198,222,0.65); }
/* Le yacht : niveaux cliquables à gauche (réutilise .plan-level/.plan-inner) + panneau d'espaces
   à droite. Cartes STATIQUES (plus de flip) : photo en haut, titre + description dessous. */
.deck-panels { position: relative; }
.deck-panel { display: none; }
.deck-panel.active { display: block; animation: deckFade 0.4s ease; }
@keyframes deckFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* auto-fill + largeur max fixe : une carte seule n'est PAS étirée (même taille qu'à 2 cartes). */
/* 2 colonnes fixes : à deux cartes elles remplissent toute la largeur à droite (bord aligné) ;
   à une seule carte elle occupe la moitié gauche (non étirée). */
.space-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.space-card { background: var(--white); border: 1px solid var(--sky); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.space-photo { height: 200px; position: relative; background-size: cover; background-position: center; background-image: linear-gradient(135deg, #33455C 0%, #1F2C3D 100%); }
.space-photo::after { content: 'Photo à venir'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.5); padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
.space-photo[data-has-img]::after { display: none; }
.space-body { padding: 22px 24px 24px; }
.space-body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.space-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

#plan { background: var(--grad-sky); }
/* En-tête pleine largeur (comme #univers et #partenaires) : titre et chapô tiennent chacun sur
   une ligne au lieu d'être coincés dans la colonne de gauche. */
.plan-header { margin-bottom: 56px; }
.plan-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; align-items: center; }
.plan-levels { display: flex; flex-direction: column; gap: 10px; }
.plan-level { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--white); border: 1px solid var(--sky); border-left: 3px solid transparent; border-radius: var(--radius); transition: all var(--transition); cursor: pointer; }
.plan-level:hover, .plan-level.active { border-left-color: var(--sea); box-shadow: var(--shadow-soft); }
.plan-level-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--sea); width: 58px; flex-shrink: 0; line-height: 1; }
.plan-level-name { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.plan-level-desc { font-size: 0.8rem; color: var(--text-light); }
.plan-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--white); background: var(--white); box-shadow: var(--shadow-soft); }
/* Dissuasion copie du plan : pas de sélection ni de glisser-déposer de l'image */
.plan-img-wrap, .plan-img-wrap img { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.plan-img-wrap img { width: 100%; display: block; transition: opacity 0.5s ease; pointer-events: none; }
.plan-img-wrap img.is-fading { opacity: 0; }
.plan-deck-label { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.92); border: 1px solid var(--mist); color: var(--sea-deep); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; backdrop-filter: blur(4px); }

#partenaires { background: var(--white); }
.partenaires-header { max-width: 680px; margin-bottom: 64px; }
.partenaires-tabs { display: flex; gap: 10px; margin-bottom: 48px; }
/* Onglets : la pilule sombre se déploie depuis le centre (::before en scaleX) au lieu de
   basculer d'un coup. Le libellé reste au-dessus (z-index). */
/* `isolation: isolate` crée le contexte d'empilement qui garde le libellé (nœud texte, donc
   non stylable) au-dessus du ::before en z-index négatif. */
.tab-btn { position: relative; isolation: isolate; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 30px; background: var(--ice); border: 1px solid var(--sky); color: var(--text-light); cursor: pointer; border-radius: 100px; transition: color var(--transition), border-color var(--transition), transform var(--transition); }
.tab-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy); border-radius: 100px; transform: scaleX(0); transform-origin: center; transition: transform var(--transition); }
.tab-btn:not(.active):hover { transform: translateY(-1px); border-color: var(--sea); color: var(--sea-deep); }
.tab-btn.active { color: var(--white); border-color: var(--navy); }
.tab-btn.active::before { transform: scaleX(1); }

.tab-content { display: none; }
/* Entrée du panneau : fondu + montée, le visuel arrive juste après le texte (décalage), et
   l'image se dézoome légèrement. Neutralisé par prefers-reduced-motion (règle globale). */
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tab-content.active .tab-text { animation: tabTextIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }
.tab-content.active .tab-visual { animation: tabVisualIn 0.65s cubic-bezier(0.22,1,0.36,1) 0.08s both; }
.tab-content.active .tab-visual img { animation: tabZoomIn 0.9s cubic-bezier(0.22,1,0.36,1) both; }
.tab-content.active .tab-benefits li { animation: tabTextIn 0.45s cubic-bezier(0.22,1,0.36,1) both; }
.tab-content.active .tab-benefits li:nth-child(1) { animation-delay: 0.10s; }
.tab-content.active .tab-benefits li:nth-child(2) { animation-delay: 0.16s; }
.tab-content.active .tab-benefits li:nth-child(3) { animation-delay: 0.22s; }
.tab-content.active .tab-benefits li:nth-child(4) { animation-delay: 0.28s; }
.tab-content.active .tab-benefits li:nth-child(n+5) { animation-delay: 0.34s; }
@keyframes tabTextIn   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tabVisualIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes tabZoomIn   { from { transform: scale(1.06); } to { transform: scale(1); } }
.tab-text h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 16px; }
.tab-text p { font-size: 0.95rem; color: var(--text-light); line-height: 1.75; margin-bottom: 24px; }
.tab-benefits { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.tab-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-body); }
.tab-benefits li::before { content: ''; width: 6px; height: 6px; background: var(--sea); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.tab-visual { border-radius: var(--radius-lg); overflow: hidden; height: 440px; box-shadow: var(--shadow-soft); }
.tab-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Rubrique 6 « Devenez partenaire fondateur » (ex-#construction) : avancement + pré-réservation. */
#partenaire-fondateur { background: var(--grad-navy); }
#partenaire-fondateur .section-title { color: var(--white); }
#partenaire-fondateur .section-title em { color: var(--sea-pale); }
#partenaire-fondateur .section-eyebrow { color: var(--sea-mist); }
#partenaire-fondateur .section-lead { color: rgba(255,255,255,0.6); }
.rubric-header { max-width: 680px; margin-bottom: 56px; }
/* le formulaire (carte blanche) suit l'avancement dans la même rubrique, sur le fond sombre */
#partenaire-fondateur .prebooking-wrap { margin-top: 88px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; padding: 50px 44px 56px; }
#partenaire-fondateur .form-card { box-shadow: 0 24px 64px rgba(0,0,0,0.28); }
.prebooking-head { text-align: center; margin-bottom: 34px; }
.prebooking-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea-mist); margin-bottom: 12px; }
.prebooking-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; color: var(--white); }
.prebooking-title em { color: var(--sea-pale); font-style: normal; }
.prebooking-sub { text-align: center; font-size: 0.92rem; color: rgba(255,255,255,0.66); max-width: 600px; margin: 16px auto 0; line-height: 1.65; }
#partenaire-fondateur .form-subtitle, #partenaire-fondateur .form-note { color: var(--text-light); }
.construction-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.construction-img-wrap { position: relative; }
.construction-img-wrap img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid rgba(159,211,232,0.25); }
.construction-label { position: absolute; bottom: 20px; left: 20px; background: rgba(11,26,60,0.85); border: 1px solid rgba(127,198,227,0.6); color: var(--sea-mist); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 7px 15px; border-radius: 100px; backdrop-filter: blur(4px); }
.construction-intro { color: rgba(255,255,255,0.78); font-size: 1.18rem; font-weight: 300; line-height: 1.7; margin: 0 0 52px; }
.construction-benefits { list-style: none; display: flex; flex-direction: column; gap: 0; align-self: center; order: -1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 6px 26px; }
.construction-benefits li { display: flex; align-items: center; gap: 15px; padding: 17px 0; color: var(--white); font-size: 1rem; font-weight: 500; line-height: 1.45; border-bottom: 1px solid rgba(255,255,255,0.08); }
.construction-benefits li:last-child { border-bottom: none; }
.construction-benefits li::before { content: ''; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5L6.5 11.5L3 8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat; }
.construction-text { margin-top: 64px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 0; }
.timeline-item { display: flex; flex-direction: column; gap: 12px; position: relative; }
.timeline-item:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 13px; width: calc(100% + 28px); height: 1px; background: rgba(127,198,227,0.3); }
.timeline-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--sea-pale); background: transparent; flex-shrink: 0; margin-top: 2px; }
.timeline-dot.done { background: var(--sea-pale); }
/* Étape en cours (choisie dans /admin) : le point pulse. */
.timeline-dot.current { background: var(--sea-pale); animation: pulseDot 2s infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169,198,222,0.55); }
  50% { box-shadow: 0 0 0 9px rgba(169,198,222,0); }
}
.timeline-info h4 { font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.timeline-info p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.timeline-info .date { font-size: 0.7rem; color: var(--sea-mist); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 4px; }

#suite { background: var(--grad-airy); }
.suite-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.suite-img { border-radius: var(--radius-lg); overflow: hidden; height: 520px; box-shadow: var(--shadow-soft); }
.suite-img img { width: 100%; height: 100%; object-fit: cover; }
.suite-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.suite-feature { background: var(--white); padding: 20px 18px; border-radius: var(--radius); border: 1px solid var(--sky); border-left: 3px solid var(--sea); }
.suite-feature p { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }
.suite-feature strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 4px; }
.suite-note { background: var(--sea-soft); border-left: 3px solid var(--sea); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.85rem; color: var(--text-body); line-height: 1.6; margin-bottom: 32px; }

#prebooking { background: var(--grad-sky); }
/* Bloc réservation : une seule carte (titre pleine largeur + checklist intégrée), champs courts
   à gauche et « Votre projet » à droite sur toute la hauteur. */
.prebooking-wrap { display: block; }
.prebooking-wrap .form-card { max-width: 1120px; margin: 0 auto; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 56px; align-items: stretch; margin-bottom: 28px; }
.form-col { display: flex; flex-direction: column; }
.form-col .form-group-grow { flex: 1 1 auto; display: flex; flex-direction: column; }
.form-col .form-group-grow textarea { flex: 1 1 auto; min-height: 150px; }
.form-section-label { display: flex; align-items: center; gap: 14px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sea); margin: 22px 0 18px; }
.form-section-label::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--sky); }
.form-col > .form-section-label:first-child { margin-top: 0; }
.form-group-pills { margin-bottom: 0; }
.form-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.form-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 100px; border: 1px solid var(--sky); background: var(--white); color: var(--navy); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition); }
.form-pill:hover { border-color: var(--sea); }
.form-pill.active { background: var(--sea); border-color: var(--sea); color: var(--white); }
/* Le ✓ est réservé (caché) des deux côtés sur CHAQUE pastille : la largeur ne bouge donc
   pas à la sélection, sinon la pastille active s'élargit et fait sauter les autres. */
.form-pill::before, .form-pill::after { content: '\2713'; font-size: 0.8em; font-weight: 700; visibility: hidden; }
.form-pill.active::before { visibility: visible; }
.form-footer-card { background: var(--ice); border: 1px solid var(--sky); border-radius: var(--radius-lg); padding: 30px 34px; max-width: 620px; margin: 8px auto 0; text-align: center; }
.form-footer-card .form-optin { border: none; background: transparent; padding: 0; margin-bottom: 22px; text-align: center; }
.form-footer-card .form-optin-title { display: inline-flex; align-items: center; gap: 7px; }
.form-footer-card .form-optin-title::before { content: ''; width: 14px; height: 14px; flex: 0 0 auto; background: var(--sea); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.form-footer-card .form-consent { max-width: 460px; margin: 0 auto; text-align: left; }
.form-consent input { appearance: none; -webkit-appearance: none; width: 19px; height: 19px; border: 1.5px solid var(--sky); border-radius: 5px; background: var(--white); cursor: pointer; position: relative; flex: 0 0 auto; margin-top: 1px; transition: background var(--transition), border-color var(--transition); }
.form-consent input:checked { background: var(--sea); border-color: var(--sea); }
.form-consent input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form-footer-card .form-submit { width: auto; display: inline-flex; align-items: center; gap: 10px; padding: 17px 52px; margin-top: 4px; font-size: 0.82rem; box-shadow: 0 10px 26px rgba(16,35,78,0.28); transition: background var(--transition), transform var(--transition), box-shadow var(--transition); }
.form-footer-card .form-submit::after { content: '\2192'; font-size: 1.05rem; letter-spacing: 0; }
.form-footer-card .form-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(16,35,78,0.34); }
#partenaire-fondateur .urgence-box { margin: 0 0 24px; }
.urgence-box { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-lg); padding: 26px 30px; margin-top: 32px; box-shadow: var(--shadow-soft); }
.urgence-box p { font-size: 0.85rem; color: var(--text-body); line-height: 1.65; }
.urgence-box strong { color: var(--navy); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: 0 12px 48px rgba(16,35,78,0.10); border: 1px solid var(--sky); }
.form-title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; text-align: center; color: var(--navy); }
.form-title em { color: var(--sea); font-style: normal; }
.form-subtitle { font-size: 0.8rem; color: var(--text-light); margin-bottom: 20px; text-align: center; }
.form-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 4px 0 26px; }
.form-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 500; color: var(--text-body); background: var(--ice); border: 1px solid var(--sky); border-radius: 100px; padding: 8px 16px; }
.form-trust li::before { content: ''; width: 15px; height: 15px; flex: 0 0 auto; background: var(--sea); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5L6.5 11.5L3 8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5L6.5 11.5L3 8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; background: var(--ice); border: 1px solid var(--sky); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-body); transition: border-color var(--transition), background var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sea); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.75rem; color: var(--text-light); text-align: center; margin-top: 12px; }
/* Rubrique opt-in e-mails commerciaux : encadré discret qui la détache du reste du formulaire. */
.form-optin { border: 1px solid var(--sky); background: var(--ice); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.form-optin-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin: 0 0 10px; }
/* Consentement prospection : la case reste à sa taille native (les règles .form-group input
   étirent les champs à 100%, d'où une classe dédiée hors .form-group). */
.form-optin .form-consent { margin-bottom: 0; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; cursor: pointer; font-size: 0.8rem; line-height: 1.5; color: var(--text-light); }
.form-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--sea); cursor: pointer; }
/* Mention d'information RGPD : lisible mais discrète, sous le bouton. */
.form-legal { font-size: 0.7rem; line-height: 1.6; color: var(--text-light); text-align: center; margin-top: 10px; opacity: 0.85; }
.form-legal a { color: var(--sea); text-decoration: underline; }
.form-submit { width: 100%; padding: 17px; background: var(--sea); color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; border: none; border-radius: 100px; cursor: pointer; transition: background var(--transition); margin-top: 8px; }
.form-submit:hover { background: var(--sea-deep); }

#faq { background: var(--grad-airy); }
.faq-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.faq-header .waterline { margin-left: auto; margin-right: auto; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--sky); }
.faq-q { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); transition: color var(--transition); }
.faq-q:hover { color: var(--sea); }
.faq-q::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.6rem; font-weight: 300; color: var(--sea); transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 44px 26px 0; font-size: 0.95rem; color: var(--text-light); line-height: 1.75; }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(16,35,78,0.22); transition: transform var(--transition), box-shadow var(--transition); }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(16,35,78,0.3); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

footer { background: var(--navy-deep); padding: 64px 5% 36px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 84px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sea-mist); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-partner { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-partner a { color: var(--sea-pale); }
.footer-lang { display: flex; gap: 6px; }
.footer-lang a { display: inline-block; background: rgba(255,255,255,0.06); border: 1px solid rgba(169,198,222,0.35); color: rgba(255,255,255,0.65); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; padding: 5px 14px; border-radius: 100px; transition: all var(--transition); }
.footer-lang a.active, .footer-lang a:hover { background: var(--sea); color: var(--white); border-color: var(--sea); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* Pages légales */
/* La barre des pages légales reste dans le flux (le sélecteur `nav` la rendrait fixe : elle
   recouvrirait le titre). */
.legal-nav { position: static; background: var(--navy-deep); padding: 0 5%; height: 96px; display: flex; align-items: center; justify-content: space-between; }
.legal-nav img { height: 64px; width: auto; }
.legal-nav-right { display: flex; align-items: center; gap: 22px; }
.legal-lang { font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.legal-lang a { color: var(--white); }
.legal-lang a:hover { color: var(--sea-pale); }
.legal-back { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); opacity: 0.85; }
.legal-back:hover { color: var(--sea-pale); opacity: 1; }
.legal-foot { background: var(--navy-deep); padding: 32px 5%; text-align: center; }
.legal-foot p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.legal-foot a { color: var(--sea-pale); }
.legal { max-width: 820px; margin: 0 auto; padding: 72px 5% 96px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(1.9rem,3.8vw,2.8rem); font-weight: 600; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 12px; }
.legal .updated { font-size: 0.8rem; color: var(--text-light); margin-bottom: 48px; }
.legal h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin: 40px 0 14px; }
.legal p, .legal li { font-size: 0.95rem; color: var(--text-body); line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--sea); }
.legal a:hover { color: var(--sea-deep); }
.legal .tofill { background: var(--sea-soft); border-left: 3px solid var(--sea); padding: 3px 8px; border-radius: var(--radius); }

@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .plan-inner, .construction-inner, .suite-inner, .prebooking-wrap { grid-template-columns: 1fr; gap: 48px; }
  /* Empilé : le bloc de texte de la suite passe AVANT la photo (photo après le bloc). */
  #suite .suite-text { order: -1; }
  .tab-content.active { grid-template-columns: 1fr; }
  .univers-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 5%; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline-item:not(:last-child)::after { display: none; }
  #partenaire-fondateur .prebooking-wrap { padding: 30px 16px 34px; border-radius: 20px; }
  .diff-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .univers-grid { grid-template-columns: 1fr; }
  .suite-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-split { grid-template-columns: 1fr; }
  .space-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .partenaires-tabs { flex-wrap: wrap; }
  /* Menu mobile : hamburger + panneau latéral coulissant (avant : nav masquée = pas de menu). */
  .nav-burger { display: flex; }
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; background: var(--navy-deep); padding: 96px 34px 34px; margin: 0; transform: translateX(100%); transition: transform var(--transition); box-shadow: -10px 0 50px rgba(11,26,60,0.45); overflow-y: auto; }
  #mainNav.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 0.95rem; }
  .nav-lang { margin-top: 8px; }
  /* Hero : contenu aligné en haut sous le badge -> plus de chevauchement badge / sur-titre. */
  #hero { align-items: flex-start; padding-top: 176px; }
  .hero-badge { top: 116px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
