/* GMA – Global Marine Aménagement | styles.css (P2) */
/* ================================================
   POLICES AUTO-HÉBERGÉES (Montserrat + Open Sans)
   Fichiers : assets/fonts/ (source Fontsource, licence OFL)
   ================================================ */
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 400; src: url('assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 600; src: url('assets/fonts/montserrat-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 700; src: url('assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 800; src: url('assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 400; src: url('assets/fonts/montserrat-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 600; src: url('assets/fonts/montserrat-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 700; src: url('assets/fonts/montserrat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 800; src: url('assets/fonts/montserrat-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url('assets/fonts/open-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url('assets/fonts/open-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url('assets/fonts/open-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url('assets/fonts/open-sans-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* ================================================
   GMA – Global Marine Aménagement
   Palette officielle :
     Sage   #AFBEB4  |  Navy  #0B344E
     Rose   #A16871  |  Teal  #28AEBB
   ================================================ */

:root {
  --navy:       #0B344E;
  --navy-light: #144468;
  --navy-dark:  #071F30;
  --teal:       #28AEBB;
  --teal-dark:  #1C8898;
  --teal-text:  #177A89; /* teal assombri pour texte sur fond clair (contraste AA) */
  --rose:       #A16871;
  --rose-light: #B8828A;
  --sage:       #AFBEB4;
  --sage-light: #D1DEDA;
  --sage-dark:  #8A9F96;
  --white:      #FFFFFF;
  --off-white:  #F4F7F6;
  --light-gray: #E4EDEA;
  --mid-gray:   #8AA39B;
  --text:       #0B344E;
  --text-light: #4A6A72;

  --header-height: 88px;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(11,52,78,0.10);
  --shadow-lg:  0 12px 48px rgba(11,52,78,0.18);

  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: var(--font-body); }

/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--navy);
  z-index: 1000;
  border-bottom: 3px solid var(--teal);
  transition: box-shadow 0.3s;
}
#main-header.scrolled { box-shadow: 0 4px 20px rgba(11,52,78,0.4); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.96);
  border-radius: 6px;
  padding: 5px 12px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.88; }
.logo-img { height: 58px; width: auto; display: block; }

#main-nav { flex: 1; }
#main-nav ul {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.10); }
.nav-link.active { color: var(--teal); background: rgba(40,174,187,0.12); }

.header-brand-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-radius: 6px;
  padding: 4px 10px;
  line-height: 0;
  transition: opacity 0.2s;
}
.header-brand-logo:hover { opacity: 0.88; }
.header-brand-logo img { height: 44px; width: auto; display: block; }

.btn-cta-header {
  flex-shrink: 0;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.btn-cta-header:hover { background: var(--rose-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, #0E5065 75%, var(--teal-dark) 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(40,174,187,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(161,104,113,0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(175,190,180,0.08) 0%, transparent 60%);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cpath fill='%23F4F7F6' fill-opacity='1' d='M0,100 C240,160 480,40 720,100 C960,160 1200,40 1440,100 L1440,200 L0,200 Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,31,48,0.20);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 2rem 140px;
}

.hero-tag {
  display: inline-block;
  background: rgba(40,174,187,0.15);
  border: 1px solid var(--teal);
  color: var(--sage-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.80);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-arrow {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40,174,187,0.35);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.10); border-color: var(--white); }

.full-width { width: 100%; text-align: center; }

/* ===== MAIN CONTENT ===== */
#main-content {
  margin-top: 0;
  min-height: 60vh;
}

.page-section {
  padding: 5rem 0 4rem;
  background: var(--off-white);
}
/* One-pager : toutes les sections sont visibles et empilées ;
   fond alterné pour rythmer le défilement */
main .page-section:nth-of-type(even) { background: var(--white); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-label {
  display: inline-block;
  color: var(--teal-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--sage-light); }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.cards-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-accent { width: 32px; height: 3px; background: var(--teal); border-radius: 2px; margin-bottom: 1.25rem; }
.card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.two-col-text h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.two-col-text p { color: var(--text-light); line-height: 1.7; margin-bottom: 0.9rem; }

.feature-list { margin-top: 1.2rem; }
.feature-list li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  color: var(--text);
  font-size: 0.92rem;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal-text);
  font-weight: 700;
}

.stat-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-box .stat:last-child { grid-column: 1 / -1; text-align: center; }
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ===== TIMELINE ===== */
.timeline-block { margin-bottom: 2rem; }
.timeline-block h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
}
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--light-gray);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 2px solid var(--mid-gray);
}
.timeline-item.current .timeline-marker {
  background: var(--rose);
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(161,104,113,0.20);
}
.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline-item.current .timeline-date { color: var(--rose); }
.timeline-content h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.3rem 0 0.4rem;
}
.timeline-content p { font-size: 0.88rem; color: var(--text-light); }

/* ===== PRODUCT SELECT ===== */
.product-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}
.product-select-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.product-select-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-select-card.active {
  border-color: var(--navy);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.product-select-icon { font-size: 2.8rem; }
.product-select-title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 0.25rem;
}
.product-select-desc {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 260px;
}
.product-select-tag {
  display: inline-block;
  background: rgba(40,174,187,0.18);
  color: var(--teal-text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  margin-top: 0.25rem;
}
.product-select-card.active .product-select-tag {
  background: rgba(40,174,187,0.30);
  color: var(--teal);
}
.product-select-arrow {
  font-size: 1rem;
  color: var(--teal);
  margin-top: 0.5rem;
  transition: transform 0.3s;
}
.product-select-card:not(.active) .product-select-arrow { opacity: 0; }

.product-detail {
  display: none;
  margin-top: 2.5rem;
}
.product-detail.active { display: block; }
.product-detail-inner {
  border-top: 3px solid var(--teal);
  padding-top: 2.5rem;
  animation: fadeSlideIn 0.35s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-placeholder--crapaud {
  background: linear-gradient(135deg, var(--rose), var(--navy-dark));
}
.product-placeholder--ebuoy {
  background: #6EC6E0;
  padding: 0;
  overflow: hidden;
  height: 360px;
}
.buoy-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Vague animée */
@keyframes waveMove {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-20px); }
  100% { transform: translateX(0); }
}
.wave1 { animation: waveMove 3.5s ease-in-out infinite; }
.wave2 { animation: waveMove 4.2s ease-in-out infinite reverse; }
/* Feu de signalisation clignotant */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}
.light-halo { animation: blink 1.8s ease-in-out infinite; }
.product-description .section-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* ===== PRODUCT ===== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.product-placeholder {
  background: linear-gradient(135deg, var(--navy-dark), var(--teal-dark));
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.70);
  font-size: 0.9rem;
}
.product-icon { font-size: 4rem; }
.product-img-placeholder {
  position: relative;
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #e8eef3 0%, #dce8f0 100%);
  border: 2px dashed #9ab5cc;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: none;
}
.product-photo[src]:not([src=""]) { display: block; }
.product-img-label {
  color: #7a9ab5;
  font-size: 0.875rem;
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
}
.product-img-placeholder:has(.product-photo[src]:not([src=""])) {
  background: #fff;
  border: none;
}
.product-img-placeholder:has(.product-photo[src]:not([src=""])) .product-img-label {
  display: none;
}
.product-description h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.product-description p { color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }

.service-list { margin: 0.75rem 0 0 1.25rem; padding: 0; list-style: disc; }
.service-list li { color: var(--text-light); line-height: 1.8; font-size: 0.95rem; }

.status-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-left: 4px solid var(--teal);
}
.product-select-icon { display: none; }
.status-text { flex: 1; min-width: 200px; }
.status-text strong { color: var(--teal); font-size: 1rem; font-family: var(--font-head); }
.status-text p { color: rgba(255,255,255,0.72); font-size: 0.88rem; margin-top: 0.35rem; }

/* ===== eSPM SECTIONS ===== */
.espm-subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}
.espm-section {
  margin-bottom: 3rem;
}
.espm-section-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.espm-section > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.espm-invest {
  background: linear-gradient(135deg, rgba(0,48,73,0.04), rgba(0,168,150,0.06));
  border-radius: var(--radius);
  padding: 2.5rem;
  border-left: 4px solid var(--teal);
}
.espm-cta-text {
  font-size: 1.1rem;
  color: var(--navy) !important;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem !important;
}
.espm-invest .btn-primary {
  display: inline-block;
}

/* ===== PARTNERS ===== */
.partner-categories { display: flex; flex-direction: column; gap: 3rem; margin-bottom: 3rem; }
.partner-category h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-gray);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.2s;
}
.partner-card.placeholder { border-style: dashed; border-color: var(--sage-light); }
.partner-card.add-partner {
  border-style: dashed;
  border-color: var(--teal);
  background: rgba(40,174,187,0.04);
}
.partner-card:hover { box-shadow: var(--shadow-lg); }
.partner-logo-svg {
  display: block;
  margin: 0 auto 0.75rem;
}
.partner-logo-img {
  display: block;
  max-width: 140px;
  max-height: 70px;
  width: auto;
  height: auto;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}
.partner-logo-placeholder {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin: 0 auto 0.75rem;
}
.partner-card p { font-size: 0.8rem; color: var(--text-light); }
.partner-card.add-partner p { color: var(--teal-text); font-weight: 600; }

.partner-cta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.partner-cta h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.partner-cta p { color: var(--text-light); max-width: 520px; margin: 0 auto 1.5rem; }

/* ===== COMMUNICATION ===== */
.featured-article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  position: relative;
  border-left: 5px solid var(--rose);
}
.featured-badge {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.article-tag {
  display: inline-block;
  background: rgba(40,174,187,0.12);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.featured-content h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.9rem;
  line-height: 1.3;
}
.featured-content p { color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem; }
.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.article-read-more {
  color: var(--teal-text);
  font-weight: 600;
  font-size: 0.88rem;
  border: 2px solid var(--teal);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: all 0.2s;
}
.article-read-more:hover { background: var(--teal); color: var(--white); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.article-img-placeholder {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
/* Article placeholder colors using brand palette */
.article-img-placeholder.blue  { background: linear-gradient(135deg, var(--navy), var(--teal-dark)); }
.article-img-placeholder.teal  { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }
.article-img-placeholder.gold  { background: linear-gradient(135deg, #7A4A52, var(--rose)); }
.article-img-placeholder.navy  { background: linear-gradient(135deg, #0B344E, #0d4a6e); }
.article-tag--press { background: rgba(11,52,78,0.10); color: var(--navy); }
.article-source { font-weight: 600; color: var(--navy); font-size: 0.82rem; }
.article-card--press { border-left: 3px solid var(--navy); }

.article-body { padding: 1.5rem; }
.article-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0 0.6rem;
  line-height: 1.35;
}
.article-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.article-body .article-meta { margin-top: 0.9rem; margin-bottom: 0.75rem; }

/* Newsletter */
.newsletter-block {
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
}
.newsletter-block h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.newsletter-block p { opacity: 0.85; max-width: 480px; margin: 0 auto 1.5rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: none;
  font-size: 0.9rem;
  outline: none;
  color: var(--text);
}

/* ===== INVESTOR SECTION ===== */
.investor-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #0E4560 100%);
  padding: 5rem 0;
}
.investor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.investor-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.investor-text p { color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 1.5rem; }
.investor-list { display: flex; flex-direction: column; gap: 0.6rem; }
.investor-list li { color: rgba(255,255,255,0.82); font-size: 0.92rem; }

.investor-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--rose);
}
.investor-form-box h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid rgba(11,52,78,0.22);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
  box-shadow: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-group textarea { height: 90px; resize: vertical; }

/* ===== FOOTER ===== */
#main-footer {
  background: var(--navy-dark);
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,0.60);
  border-top: 2px solid rgba(40,174,187,0.20);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo-img {
  height: 72px;
  width: auto;
  background: rgba(255,255,255,0.96);
  border-radius: 6px;
  padding: 6px 14px;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-links h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.85rem;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--teal); }
.footer-contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.4rem;
}
.footer-legal h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-legal ul { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.footer-legal ul a { font-size: 0.85rem; transition: color 0.2s; cursor: pointer; }
.footer-legal ul a:hover { color: var(--teal); }
.footer-legal p { font-size: 0.8rem; line-height: 1.6; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--teal);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-left-color: var(--rose); background: #6E2F38; }

/* ===== AJOUTS P1 ===== */
.btn-primary[disabled] { opacity: 0.6; cursor: wait; pointer-events: none; }
.form-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
#investisseurs { scroll-margin-top: calc(var(--header-height) + 16px); }
.page-section { scroll-margin-top: calc(var(--header-height) + 16px); }
#hero { scroll-margin-top: var(--header-height); }
.legal-content { max-width: 820px; }
.legal-content h3 { font-family: var(--font-head); font-size: 1.15rem; margin: 2rem 0 0.6rem; color: var(--navy); }
.legal-content p, .legal-content li { margin-bottom: 0.75rem; color: var(--text-light); }
.legal-content ul { list-style: disc; padding-left: 1.4rem; }
.legal-content .legal-updated { font-size: 0.85rem; font-style: italic; margin-top: 2.5rem; }
mark.todo-legal { background: #FFE58A; color: #5C4400; padding: 0 0.3em; border-radius: 3px; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col, .product-hero, .investor-inner {
    grid-template-columns: 1fr;
  }
  .product-select-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-box { grid-template-columns: 1fr 1fr 1fr; }
  .stat-box .stat:last-child { grid-column: auto; text-align: center; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  #main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--teal);
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 0.5rem; }
  .nav-link { display: block; }
  .hamburger { display: flex; }
  .btn-cta-header { display: none; }
  .header-brand-logo { display: none; }

  .hero-content h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; }

  .status-banner { flex-direction: column; text-align: center; }

  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .page-section { padding: 3rem 0 2.5rem; }
  .investor-form-box { padding: 1.5rem; }
  .featured-article { padding: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ================================================
   P2 : ACCESSIBILITÉ
   ================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 2000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   P2 : FAQ
   ================================================ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-text);
  font-size: 1.4rem;
  font-weight: 700;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.5rem 1.4rem; color: var(--text-light); }
.faq-answer p { margin-bottom: 0.5rem; }

/* ================================================
   P2 : FENÊTRES LÉGALES (dialogues modaux)
   ================================================ */
dialog.legal-dialog {
  margin: auto; /* le reset global (* { margin: 0 }) écrase le centrage natif du dialog */
  border: none;
  padding: 0;
  background: transparent;
  width: min(860px, calc(100vw - 2rem));
  max-width: none;
  max-height: none;
}
dialog.legal-dialog::backdrop {
  background: rgba(7, 25, 41, 0.65);
  backdrop-filter: blur(3px);
}
.legal-dialog-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 900px);
  overflow: hidden;
}
.legal-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--teal);
}
.legal-dialog-header h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.legal-dialog-close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--navy);
  background: rgba(11, 52, 78, 0.10);
  transition: background 0.2s;
}
.legal-dialog-close:hover { background: rgba(11, 52, 78, 0.22); }
.legal-dialog-body {
  overflow-y: auto;
  padding: 0.75rem 2rem 2rem;
}
.legal-dialog-body .legal-content h3:first-child { margin-top: 1rem; }
body:has(dialog.legal-dialog[open]) { overflow: hidden; }
@media (max-width: 640px) {
  .legal-dialog-body { padding: 0.5rem 1.25rem 1.5rem; }
}
