/* ============================================================
   SECTION MANIFESTO
   ============================================================ */
.section-manifesto {
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 80px) clamp(80px, 10vw, 140px);
  background: #060809;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* texte en haut */
}

/* Image de fond — pleine largeur, transition couleur au survol */
.manifesto-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.manifesto-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(0.6) brightness(0.25) saturate(0.5);
  transition: filter 4s ease;
  display: block;
  transform: translateZ(0);
}
.section-manifesto.in-view .manifesto-map-img {
  filter: grayscale(0) brightness(0.68) saturate(1.15);
}

/* Overlay — s'allège à l'entrée de l'écran */
.manifesto-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 90% at 50% 50%,
    rgba(6,8,9,0.5) 0%,
    rgba(6,8,9,0.72) 100%);
  transition: opacity 4s ease;
  pointer-events: none;
}
.section-manifesto.in-view .manifesto-bg-overlay {
  opacity: 0.3;
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-white);
}
.manifesto-line--2 {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-blue);
}
.manifesto-line em { color: var(--c-blue); font-style: normal; }
.manifesto-dest {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(160,180,210,0.55);
  margin-top: 28px;
  position: relative;
  z-index: 2;
}
.manifesto-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(58,143,255,0.75);
  margin-top: 8px;
}
.manifesto-rule {
  position: relative;
  z-index: 2;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-blue), transparent);
  margin: 40px auto 0;
}


/* ============================================================
   SECTION STATS
   ============================================================ */
.section-stats { background: var(--c-dark); }
.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item {
  flex: 1;
  padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 0.5px solid var(--c-border);
  cursor: default;
  transition: background 0.35s, border-color 0.35s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
  position: relative;
  overflow: visible;
  z-index: 0;
}
.stat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(58,143,255,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.stat-item:hover {
  border-color: rgba(58,143,255,0.22);
  background: rgba(58,143,255,0.03);
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(58,143,255,0.14);
  z-index: 2;
}
.stat-item:hover::after { opacity: 1; }
.stat-icon { transition: transform 0.35s ease; }
.stat-item:hover .stat-icon { transform: translateY(-5px) scale(1.12); }
.stat-num { transition: color 0.3s, text-shadow 0.3s; }
.stat-item:hover .stat-num { color: #fff; text-shadow: 0 0 24px rgba(58,143,255,0.25); }
.stat-unit { transition: color 0.3s; }
.stat-item:hover .stat-unit { color: #7ab8ff; }
.stat-label { transition: color 0.3s; }
.stat-item:hover .stat-label { color: rgba(160,200,255,0.55); }
.stat-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.15));
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  margin-top: 6px;
  min-height: 18px;   /* hauteur minimale pour aligner même si vide */
}
.stat-label {
  font-size: 14px;
  color: var(--c-muted-2);
  margin-top: auto;   /* pousse le label en bas — tous au même niveau */
  padding-top: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Groupe num+unit en hauteur fixe pour aligner les labels */
.stat-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
}
.stat-divider {
  width: 0.5px;
  background: var(--c-border);
  align-self: stretch;
}

/* ============================================================
   TITRES STYLE RDR — blanc + dernier mot teal + trait dessous
   ============================================================ */
.section-title-rdr {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--c-white);
}
.section-title-rdr em {
  font-style: normal;
  color: var(--c-teal);
}
.section-title-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--c-teal);
  margin-top: 12px;
}
@media (max-width: 640px) {
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-bottom: 0.5px solid var(--c-border); }
  .stat-divider { display: none; }
}

/* ============================================================
   SECTION SKIPPEUSE
   ============================================================ */
.section-skipper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--c-black);
}
.skipper-media {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
}
.skipper-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.15) brightness(0.9);
  transition: filter 4s ease;
}
.section-skipper.in-view .skipper-photo {
  filter: grayscale(0) contrast(1.05) brightness(1) saturate(1.3);
}
.skipper-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--c-black) 100%);
}
.skipper-photo-placeholder {
  width: 100%; height: 100%; min-height: 500px;
  background: var(--c-dark-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted-2);
  letter-spacing: 0.1em;
}
.skipper-content {
  padding: clamp(48px, 8vw, 100px) clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.skipper-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  
  color: var(--c-teal);
  margin-bottom: 24px;
}
.skipper-bio {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(160,180,210,0.7);
  line-height: 1.75;
  max-width: 480px;
}
.skipper-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.badge {
  padding: 7px 16px;
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(160,180,210,0.5);
  cursor: default;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(58,143,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.badge:hover {
  color: var(--c-white);
  border-color: rgba(58,143,255,0.5);
  background: rgba(58,143,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(58,143,255,0.15);
}
.badge:hover::before { transform: translateX(100%); }
@media (max-width: 768px) {
  .section-skipper { grid-template-columns: 1fr; }
  .skipper-photo-overlay { background: linear-gradient(to top, var(--c-black) 0%, transparent 50%); }
}

/* ============================================================
   SECTION BATEAU
   ============================================================ */
/* ============================================================
   SECTION BATEAU — layout type skippeuse (image grande à gauche)
   ============================================================ */
.section-boat {
  display: grid;
  grid-template-columns: 5fr 7fr; /* colonne texte plus étroite, photo plus large */
  min-height: 80vh;
  background: var(--c-black);
  border-top: 0.5px solid var(--c-border);
}
/* Texte à gauche → ordre 1, image à droite → ordre 2 */
.boat-content { order: 1; }
.boat-media   { order: 2; }
.boat-media {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
}
.boat-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.1) brightness(0.88);
  transition: filter 4s ease;
}
.section-boat.in-view .boat-photo {
  filter: grayscale(0) contrast(1.05) brightness(1) saturate(1.3);
}
.boat-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 60%, var(--c-black) 100%);
}
.boat-content {
  padding: clamp(28px, 4vw, 52px) clamp(24px, 3.5vw, 52px); /* padding réduit */
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.boat-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  color: var(--c-teal);
  letter-spacing: -0.02em;
  
  line-height: 1;
  margin-bottom: 6px;
}
.boat-class-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-blue);
  letter-spacing: 0.12em;
  margin-bottom: 20px; /* réduit de 28→20 */
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 440px;
}
.spec-card {
  background: var(--c-panel);
  border: 0.5px solid var(--c-border);
  border-radius: 4px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.25s, background 0.25s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  position: relative;
  overflow: visible;
  z-index: 0;
  cursor: default;
}
.spec-card:hover {
  border-color: rgba(58,143,255,0.5);
  background: rgba(58,143,255,0.08);
  transform: scale(1.07);
  box-shadow: 0 6px 24px rgba(58,143,255,0.18);
  z-index: 2;
}
.spec-icon {
  width: 36px; height: 36px;
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.spec-icon svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.12));
}
.spec-card:hover .spec-icon { transform: translateY(-3px) scale(1.1); }
.spec-val {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  transition: text-shadow 0.3s;
}
.spec-card:hover .spec-val { text-shadow: 0 0 20px rgba(58,143,255,0.3); }
.spec-val small { font-size: 18px; color: var(--c-blue); }
.spec-key {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-2);
  transition: color 0.3s;
}
.spec-card:hover .spec-key { color: rgba(160,200,255,0.5); }
@media (max-width: 900px) {
  .section-boat { grid-template-columns: 1fr; }
  .boat-photo-overlay { background: linear-gradient(to top, var(--c-black) 0%, transparent 50%); }
}
@media (max-width: 480px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SECTION ACTUALITÉS
   ============================================================ */
.section-news {
  padding: var(--section-pad) 0;
  background: var(--c-black);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--c-dark);
  border: 0.5px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.3s;
}
.news-card:hover {
  border-color: var(--c-border-2);
  transform: translateY(-4px);
}
.news-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 3/2; }
.news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  text-transform: uppercase;
}
.news-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-top: 8px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.news-title a { transition: color 0.2s; }
.news-title a:hover { color: var(--c-blue); }
.news-excerpt {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 10px;
  line-height: 1.6;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION PARTENAIRES
   ============================================================ */
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  border-top: 0.5px solid var(--c-border);
}
.partners-cta p {
  font-size: 15px;
  color: var(--c-muted);
}
.btn-outline {
  padding: 10px 28px;
  border: 0.5px solid var(--c-border-2);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--c-blue);
  background: var(--c-blue-dim);
}
.partners-empty {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted-2);
}

/* ============================================================
   SECTION NEWSLETTER
   ============================================================ */
.section-newsletter {
  padding: var(--section-pad) 0;
  background: var(--c-black);
  border-top: 0.5px solid var(--c-border);
}

/* 3 colonnes égales au même niveau */
.nl-three-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

/* Séparateurs verticaux */
.nl-sep {
  width: 1px;
  background: var(--c-border);
  align-self: stretch;
  min-height: 260px;
  margin: 0 clamp(24px, 3.5vw, 52px);
}

/* Colonnes */
.nl-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 260px;
}

.nl-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  color: var(--c-teal);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}
.nl-sub {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Newsletter form */
.nl-field-group {
  display: flex;
  border: 0.5px solid var(--c-border-2);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.nl-field-group:focus-within { border-color: var(--c-blue); }
.nl-input {
  flex: 1;
  background: var(--c-dark);
  border: none;
  outline: none;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-white);
  min-width: 0;
}
.nl-input::placeholder { color: var(--c-muted-2); }
.nl-submit {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--c-blue);
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nl-submit:hover { background: #5aa3ff; }
.nl-privacy {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--c-muted-2);
  margin-top: 10px;
}

/* Contact */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-blue);
  transition: opacity 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-contact-email:hover { opacity: 0.75; }
.btn-contact-form {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 22px;
  border: 0.5px solid var(--c-border-2);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-contact-form:hover {
  border-color: var(--c-blue);
  background: rgba(58,143,255,0.08);
}

/* Réseaux sociaux — avec curseur correct */
.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.contact-social-link {
  color: rgba(160,180,210,0.45);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  cursor: pointer !important;
  text-decoration: none;
}
.contact-social-link:hover {
  color: var(--c-white);
  transform: translateY(-2px);
}

/* Partenaires dans la colonne */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.partners-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.partners-cta p {
  font-size: 13px;
  color: var(--c-muted);
}
.partners-empty {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-muted-2);
  margin-bottom: 20px;
}

/* Responsive — empiler les colonnes */
@media (max-width: 900px) {
  .nl-three-grid {
    grid-template-columns: 1fr;
  }
  .nl-sep {
    width: 100%;
    height: 1px;
    min-height: 0;
    margin: clamp(28px, 4vw, 48px) 0;
  }
}

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
.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;
}
  color: var(--c-teal);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.nl-section-divider {
  width: 100%;
  height: 0.5px;
  background: var(--c-border);
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ============================================================
   BOUTON SCROLL TO TOP
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 52px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: rgba(58,143,255,0.15);
  border: 1px solid rgba(58,143,255,0.5);
  border-radius: 4px;
  color: rgba(58,143,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, color 0.2s, border-color 0.2s, background 0.2s;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top-btn:hover {
  color: var(--c-white);
  border-color: var(--c-blue);
  background: rgba(58,143,255,0.28);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .scroll-top-btn { right: 12px; bottom: 16px; }
}

.manifesto-dest {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(160,180,210,0.45);
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   PATCH CROSS-BROWSER — stabilité Safari / Firefox / Chrome
   ============================================================ */

/* Safari : scale() sur flex children = layout glitch
   Isoler chaque item dans son propre stacking context */
.stats-inner {
  isolation: isolate;
}
.stat-item {
  /* GPU layer pour éviter le repaint sur les voisins au hover */
  will-change: transform;
}

/* Firefox : overflow:visible + scale peut déborder du parent.
   Ajouter de l'espace autour pour absorber le scale(1.06) */
.stats-inner {
  padding: 4px;
  box-sizing: border-box;
}

/* Safari : -webkit-text-stroke — assurer teal partout */
.manifesto-line--2 {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-blue);
  text-stroke: 1.5px var(--c-blue);
}
.hero-title-last {
  color: rgba(2, 104, 111, 0.55);
  -webkit-text-stroke: 2px #f0f4f8;
  text-stroke: 2px #f0f4f8;
}

/* spec-grid isolation pour le hover scale */
.spec-grid {
  isolation: isolate;
  padding: 4px;
}
.spec-card {
  will-change: transform;
}

/* KPI date — taille adaptée pour tenir sur une ligne */
.stat-num--date {
  font-size: clamp(22px, 2.8vw, 36px);
  white-space: nowrap;
}
.stat-unit--time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-blue);
  letter-spacing: 0.12em;
  margin-top: 2px;
}

/* ============================================================
   SÉPARATEUR VAGUE ASYMÉTRIQUE — option 3
   ============================================================ */
.section-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--c-black);
  --wave-bg: #080a0d;
  position: relative;
  z-index: 1;
}
.section-wave svg {
  display: block;
  width: 100%;
  height: 72px;
}
.section-wave .wave-accent {
  fill: rgba(2, 104, 111, 0.18);
  transition: fill 0.8s ease;
}
.section-wave:hover .wave-accent {
  fill: rgba(2, 104, 111, 0.38);
}

/* Variante inversée (vague vers le haut) */
.section-wave--flip svg {
  transform: scaleY(-1);
}

/* Variante colorée — fond teinté */
.section-wave--teal {
  background: linear-gradient(to bottom, #080a0d, rgba(2,104,111,0.04), #080a0d);
}

/* ============================================================
   PATCH QUALITÉ D'IMAGE — Edge / Safari vs Chrome
   ============================================================
   
   Problème : Edge (Chromium) et Safari appliquent un downsampling
   agressif sur les images avec filter: et object-fit: cover quand
   l'image n'est pas dans un GPU compositing layer.
   
   Solution : forcer le compositing GPU sur toutes les images de fond
   via transform: translateZ(0) — crée un layer dédié qui bypasse
   le rendu logiciel de bas niveau utilisé par Edge par défaut.
*/

/* Images de fond des grandes sections */
.manifesto-map-img,
.skipper-photo,
.boat-photo,
.hero-fallback-img,
.hero-video {
  /* Force GPU compositing layer — même rendu sur tous les navigateurs */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Empêche Edge d'appliquer son propre anti-aliasing sur les filtres */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Qualité maximale de rendu */
  image-rendering: high-quality;
  -webkit-optimize-contrast: auto;
}

/* Spécifique Edge : améliorer le rendu des images avec filter actif */
@supports (-ms-ime-align: auto), (not (-webkit-touch-callout: none)) {
  .manifesto-map-img,
  .skipper-photo,
  .boat-photo {
    /* Edge utilise parfois un rendu bicubique dégradé sur les grandes images */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Ligne 3 manifesto — outline blanc, plus petite */
.manifesto-line--3 {
  color: var(--c-white);
  font-size: clamp(36px, 6vw, 80px);
  opacity: 0.85;
}

/* ---- Contact top : lien + langue ---- */
.nl-contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nl-contact-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  transition: opacity 0.2s;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nl-contact-link:hover { opacity: 0.7; }

.nl-lang-row {
  display: flex;
  gap: 5px;
  align-items: center;
}
.nl-lang-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 3px;
  border: none;
  background: rgba(2,104,111,0.2);
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.nl-lang-btn:hover { background: rgb(2,104,111); color: #fff; }
.nl-lang-active {
  background: rgb(2,104,111) !important;
  color: #fff !important;
}

.nl-contact-divider {
  width: 100%;
  height: 0.5px;
  background: var(--c-border);
  margin-bottom: 20px;
}

/* ---- Animation KPI à l'entrée — une fois au scroll ---- */
.stat-item {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.4,0.64,1),
              background 0.35s, border-color 0.35s,
              box-shadow 0.35s;
}
/* Déclenché quand la section stats est visible */
.section-stats.kpi-visible .stat-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Délai échelonné par enfant */
.section-stats.kpi-visible .stat-item:nth-child(1) { transition-delay: 0s; }
.section-stats.kpi-visible .stat-item:nth-child(2) { transition-delay: 0.15s; }
.section-stats.kpi-visible .stat-item:nth-child(3) { transition-delay: 0.30s; }
.section-stats.kpi-visible .stat-item:nth-child(4) { transition-delay: 0.45s; }

/* ============================================================
   COUNTDOWN — bande pleine largeur entre hero et manifesto
   ============================================================ */
.section-countdown {
  width: 100%;
  background: #0a0c10;
  border-top: 1px solid rgba(2, 104, 111, 0.35);
  border-bottom: 1px solid rgba(2, 104, 111, 0.35);
  padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cd-race-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(2, 104, 111, 0.7);
}

.cd-blocks {
  display: flex;
  align-items: flex-start;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.cd-block:last-child { border-right: none; }

.cd-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 120px);
  color: var(--c-white);
  line-height: 1;
  display: block;
  min-width: 2ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}
/* Flash teal à chaque seconde */
.cd-num.cd-tick { color: rgb(2, 104, 111); }

.cd-unit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(160, 180, 210, 0.28);
  margin-top: 10px;
}

.cd-footer {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(160, 180, 210, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(2, 104, 111);
  flex-shrink: 0;
  animation: cdBlink 1s ease-in-out infinite;
}
@keyframes cdBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

@media (max-width: 600px) {
  .cd-block { padding: 0 clamp(12px, 3vw, 20px); }
  .cd-num   { font-size: clamp(38px, 10vw, 56px); }
}

/* ============================================================
   SECTION PARTENAIRES — style Route du Rhum
   ============================================================ */

/* ============================================================
   SECTION PARTENAIRES
   ============================================================ */
.section-partners {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--c-dark);
}
.partners-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.partners-header { margin-bottom: clamp(32px, 5vw, 52px); }
.partners-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-teal);
  margin-top: 4px;
}
.partners-block { margin-bottom: clamp(40px, 6vw, 64px); }
.partners-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(160,180,210,0.3);
  margin-bottom: 20px;
  text-align: center;
}

/* Rangée — flex centré */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

/* Card partenaire — hauteur fixe uniforme */
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  width: 180px;
  height: 100px;
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Image dans la card — max-height pour uniformité */
.partner-item img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Texte si pas d'image */
.partner-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.2;
}

/* Card plus large pour le logo Impact & Heritage */
.partners-block:first-of-type .partner-item {
  width: 220px;
  height: 120px;
}

/* CTA */
.partners-cta {
  margin-top: clamp(32px, 5vw, 52px);
  text-align: center;
}
.btn-partners-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgb(2, 104, 111);
  border: 1.5px solid rgb(2, 104, 111);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease,
              color 0.25s ease,
              transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-partners-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.btn-partners-contact:hover::before { transform: translateX(0); }
.btn-partners-contact:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  .partner-item { width: 140px; height: 80px; padding: 12px; }
  .partner-item img { max-height: 48px; }
}

/* Tagline CTA partenaires — style Calisto */
.partners-cta-tagline {
  text-align: center;
  line-height: 1.15;
  margin-bottom: 28px;
}
.partners-tagline-plain {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-white);
  display: block;
  margin-bottom: 6px;
}
.partners-tagline-highlight {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 60px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-white);
  background: rgb(2, 104, 111);
  display: inline;
  padding: 2px 16px 6px 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.3;
}

/* Skipper name — Aina au-dessus de Bauza Roig */
.skipper-name {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.skipper-name-first {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--c-teal);
}
.skipper-name-last {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--c-teal);
}
