/* ── Reset & Variables ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1829;
  --navy-mid: #0f2040;
  --navy-light: #16305a;
  --orange: #e87520;
  --orange-light: #f09040;
  --orange-dark: #c05f10;
  --cream: #f5edd8;
  --cream-dark: #e8d9bf;
  --text-light: #d4e3f5;
  --text-muted: #8aa5c0;
  /* texte courant : plus clair que --text-muted pour les longs paragraphes */
  --text-body: #b3c5da;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}
a {
  color: var(--orange);
  text-decoration: none;
}
a:hover {
  color: var(--orange-light);
}

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

/* ── Login Modal ───────────────────────────────────────────────────────────── */
#login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(6, 14, 25, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
#login-overlay.open {
  display: flex;
}
#login-box {
  background: #0f2040;
  border: 1px solid rgba(232, 117, 32, 0.25);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
#login-box h2 {
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
#login-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.login-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.login-field input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.login-field input:focus {
  border-color: var(--orange);
  background: rgba(232, 117, 32, 0.06);
}
#login-error {
  display: none;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
}
#login-btn,
#setpwd-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition:
    background 0.2s,
    transform 0.2s;
}
#login-btn:hover,
#setpwd-btn:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}
#setpwd-error {
  display: none;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
}
#login-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}
#login-close:hover {
  background: rgba(232, 117, 32, 0.2);
  color: var(--orange);
}
.login-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.login-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(232, 117, 32, 0.15);
  border: 1px solid rgba(232, 117, 32, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.login-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
}
.login-logo-text span {
  color: var(--orange);
}

/* ── Edit Bar ──────────────────────────────────────────────────────────────── */
#edit-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.5rem;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-100%);
  transition: transform 0.3s;
}
#edit-bar.visible {
  transform: translateY(0);
}
.edit-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
#edit-bar button {
  padding: 0.35rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#edit-bar .btn-save {
  background: #fff;
  color: var(--orange-dark);
}
#edit-bar .btn-cancel {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
#edit-bar .btn-save:hover {
  background: var(--cream);
}
#edit-bar .btn-cancel:hover {
  background: rgba(255, 255, 255, 0.4);
}
#edit-bar .btn-logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #fff;
}
#edit-bar .btn-logout:hover {
  background: rgba(255, 255, 255, 0.15);
}
/* ── Edit Mode Styles ──────────────────────────────────────────────────────── */
body.edit-mode [contenteditable] {
  outline: 2px dashed var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
  cursor: text;
  min-height: 1em;
}
body.edit-mode [contenteditable]:focus {
  outline: 2px solid var(--orange);
  background: rgba(232, 117, 32, 0.06);
}
body.edit-mode .img-wrap {
  position: relative;
  cursor: pointer;
}
body.edit-mode .img-wrap::after {
  content: '✎ Changer l\2019image';
  position: absolute;
  inset: 0;
  background: rgba(11, 24, 41, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
body.edit-mode .img-wrap:hover::after {
  opacity: 1;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition:
    background 0.3s,
    padding 0.3s,
    box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(11, 24, 41, 0.97);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo-img {
  height: 62px;
  width: auto;
  display: block;
}
.nav-logo-text {
  height: 40px;
  width: auto;
  display: block;
  margin-left: -0.2rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--orange);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 40px;
  font-weight: 500 !important;
  transition:
    background 0.2s,
    transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-1px);
}
.nav-cta::after {
  display: none !important;
}
.nav-edit-btn {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.nav-edit-btn:hover {
  background: var(--orange);
  color: #fff;
}
.nav-logout-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-muted);
}
.nav-logout-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.nav-actions-desktop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 105vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #080f1c 0%, #0b1829 45%, #0f2240 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(232, 117, 32, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(22, 48, 90, 0.6) 0%, transparent 60%);
}
.hero-compass {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.06;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-tag {
  display: inline-block;
  background: rgba(232, 117, 32, 0.15);
  border: 1px solid rgba(232, 117, 32, 0.35);
  color: var(--orange-light);
  padding: 0.4rem 1.1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.hero-content h1 em {
  color: var(--orange);
  font-style: italic;
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232, 117, 32, 0.35);
}
.btn-primary:hover {
  background: var(--orange-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 117, 32, 0.45);
}
.btn-secondary {
  display: inline-block;
  border: 1.5px solid rgba(212, 227, 245, 0.35);
  color: var(--text-light);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 117, 32, 0.06);
}
.hero-scroll {
  position: absolute;
  z-index: 1;
  /* la vague la plus haute monte à ~4.8vw : on reste au-dessus sur grand écran */
  bottom: max(4rem, calc(4.8vw + 1rem));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  /* trait court : s'arrête avant la vague qui chevauche le bas du hero */
  height: 22px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── Separators ────────────────────────────────────────────────────────────── */
.sep {
  line-height: 0;
  display: block;
  width: 100%;
}
.sep svg {
  display: block;
  margin-top: -1px;
  margin-bottom: -1px;
}
.sep-cap svg {
  width: 100%;
  /* même proportion que le viewBox au-delà de 950px : rien n'est rogné sur grand écran */
  height: max(72px, 7.64vw);
}
.sep-cap .cap-north {
  fill: #e87520;
  font-weight: 600;
}
.trail-step {
  opacity: 0.35;
  transition: opacity 0.4s;
}
.trail-step.passed {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .trail-step {
    opacity: 1;
  }
}
.sep-embers {
  position: relative;
  height: 150px;
  background:
    radial-gradient(
      ellipse 50% 40% at 50% 60%,
      rgba(232, 117, 32, 0.16) 0%,
      rgba(232, 117, 32, 0.06) 40%,
      transparent 70%
    ),
    linear-gradient(to bottom, var(--navy-mid), var(--navy));
  overflow: hidden;
}
/* crête de feu : courbe vivante qui ondule lentement, chaleur diffuse en dessous */
.fire-crest {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fire-drift {
  animation: wave-drift 34s linear infinite;
}
/* la crête « respire » : légère variation de hauteur, comme une flamme */
.fire-sway {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: fire-sway 5s ease-in-out infinite alternate;
}
.fire-glow {
  opacity: 0.5;
  animation: fire-flicker 3.2s ease-in-out infinite alternate;
}
@keyframes fire-sway {
  to {
    transform: scaleY(1.12);
  }
}
@keyframes fire-flicker {
  0% {
    opacity: 0.35;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fire-drift,
  .fire-sway,
  .fire-glow {
    animation: none;
  }
}
/* braises qui s'élèvent de la crête */
.sep-embers span {
  position: absolute;
  left: var(--x);
  top: 60%;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, #ffd29a 0%, #f09040 45%, rgba(232, 117, 32, 0) 75%);
  box-shadow: 0 0 8px 2px rgba(240, 144, 64, 0.55);
  opacity: 0;
  animation: ember-rise var(--d) ease-out var(--delay) infinite;
}
@keyframes ember-rise {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift), var(--rise)) scale(0.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sep-embers span {
    animation: none;
    opacity: 0.6;
    transform: translate(calc(var(--drift) / 2), calc(var(--rise) / 2));
  }
}
.wave-layer {
  animation: wave-drift 50s linear infinite;
}
.wave-layer--l2 {
  animation-duration: 36s;
  animation-direction: reverse;
}
.wave-layer--l3 {
  animation-duration: 26s;
}
@keyframes wave-drift {
  to {
    transform: translateX(-1440px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wave-layer {
    animation: none;
  }
}
/* fondu du bas du hero vers une teinte unie, point de départ du dégradé du séparateur */
#hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30vh;
  background: linear-gradient(to bottom, rgba(14, 31, 59, 0), #0e1f3b);
  pointer-events: none;
}
/* dégradé continu du bas du hero (#0e1f3b) vers « À propos » (navy), vagues translucides par-dessus */
.sep-flame {
  position: relative;
}
/* lumière chaude qui rayonne autour de la ligne une fois allumée */
.sep-flame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  /* halo centré sur la ligne, nul sur ses bords : aucune découpe visible */
  top: calc(55% - 160px);
  height: 320px;
  background: radial-gradient(ellipse 42% 45% at 50% 50%, rgba(247, 181, 72, 0.12), transparent 100%);
  opacity: 0;
  transition: opacity 1.6s ease-out;
  pointer-events: none;
}
.sep-flame.lit::after {
  opacity: 1;
}
.sep-flame.lit .flame-glow {
  animation: flame-breathe 4s ease-in-out infinite;
}
@keyframes flame-breathe {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sep-flame.lit .flame-glow {
    animation: none;
  }
}
.sep-hero {
  position: relative;
  margin-top: -6.25vw;
  /* transparent sur la partie qui chevauche le hero, puis teinte du bas du hero → navy */
  /* fin du dégradé en douceur (ease-out) : pas de cassure visible à l'arrivée sur le navy */
  background: linear-gradient(
    to bottom,
    rgba(14, 31, 59, 0),
    #0e1f3b 6.25vw,
    #0d1d37 45%,
    #0c1b31 70%,
    #0b192c 88%,
    var(--navy)
  );
}
/* plus haut que le chevauchement du hero : le dégradé se prolonge dans la section suivante */
.sep-hero svg {
  width: 100%;
  height: calc(6.25vw + 120px);
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
section {
  padding: 5rem 0;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.section-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ── Blocs de texte & listes ───────────────────────────────────────────────── */
.text-block h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin: 2rem 0 0.6rem;
}
.text-block p {
  font-size: 1rem;
  max-width: 62ch;
  color: var(--text-body);
  margin-bottom: 1rem;
}
.text-block strong {
  color: var(--cream);
  font-weight: 500;
}
.quote-ref {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--orange-light);
  margin-bottom: 1.25rem;
}
.bullet-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.bullet-list strong {
  color: var(--cream);
  font-weight: 500;
}

/* ── À propos ──────────────────────────────────────────────────────────────── */
#apropos {
  position: relative;
  background: var(--navy);
}

.apropos-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem;
}
.apropos-intro .section-lead {
  margin: 0 auto;
}
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.apropos-img {
  position: sticky;
  top: 100px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.apropos-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apropos-img::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 2px solid rgba(232, 117, 32, 0.25);
  border-radius: 24px;
}
.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}
.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--orange);
}
.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Offres ────────────────────────────────────────────────────────────────── */
#offres {
  background: var(--navy-mid);
}
.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.offre-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offre-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.offre-card:hover {
  border-color: rgba(232, 117, 32, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.offre-card:hover::before {
  transform: scaleX(1);
}
.offre-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(232, 117, 32, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}
.offre-card h3 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.offre-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}
.offre-card h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  margin: 1.25rem 0 0.4rem;
}
.offre-card .offre-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
}
.offre-card .offre-result {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--cream);
}
.offre-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 500;
}
.offre-link::after {
  content: ' →';
  transition: margin 0.2s;
}
.offre-card:hover .offre-link::after {
  margin-left: 4px;
}

/* ── Parcours ──────────────────────────────────────────────────────────────── */
#parcours {
  background: var(--navy);
}
.parcours-intro {
  margin-bottom: 4rem;
}
.parcours-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.parcours-blocks h3 {
  margin-top: 0;
}
.parcours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(232, 117, 32, 0.1));
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd29a 0%, var(--orange) 60%);
  box-shadow:
    0 0 0 4px rgba(232, 117, 32, 0.2),
    0 0 12px 3px rgba(240, 144, 64, 0.55),
    0 0 28px 8px rgba(232, 117, 32, 0.22);
  animation: timeline-glow 3.2s ease-in-out infinite;
}
/* chaque étape pulse à son tour */
.timeline-item:nth-child(2)::before {
  animation-delay: -1.1s;
}
.timeline-item:nth-child(3)::before {
  animation-delay: -2.2s;
}
@keyframes timeline-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(232, 117, 32, 0.2),
      0 0 10px 2px rgba(240, 144, 64, 0.45),
      0 0 22px 6px rgba(232, 117, 32, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(232, 117, 32, 0.28),
      0 0 16px 4px rgba(247, 181, 72, 0.7),
      0 0 34px 10px rgba(232, 117, 32, 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-item::before,
  .certif-list li::before {
    animation: none;
  }
}
.timeline-year {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.timeline-item h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* ── Leviers (À propos) ────────────────────────────────────────────────────── */
.leviers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 5rem;
}
.levier {
  padding: 2rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(232, 117, 32, 0.08), rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid rgba(232, 117, 32, 0.18);
}
.levier-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.levier h3 {
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.levier p {
  color: var(--text-body);
  font-size: 1rem;
}
.leviers-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-body);
}
.leviers-note strong {
  color: var(--cream);
  font-weight: 500;
}
.valeurs {
  margin-top: 6rem;
  text-align: center;
}
.valeur-nom {
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.75rem;
}
.valeur-devise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: var(--text-body);
}
.valeur-faire {
  color: var(--cream);
}
.valeur-chemin {
  width: auto;
  height: 130px;
  fill: var(--orange);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}
.valeurs.visible .valeur-chemin {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .valeur-chemin {
    clip-path: none;
    transition: none;
  }
}
@media (max-width: 700px) {
  .valeur-chemin {
    height: 100px;
  }
}
.mission {
  max-width: 860px;
  margin: 5rem auto 0;
  text-align: center;
}
.mission blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  color: var(--cream);
}
.mission blockquote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* ── Offres : puces, détail repliable, bandeau d'appel ─────────────────────── */
.offre-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.25rem;
}
.offre-chips li {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}
.offre-card .offre-objectif {
  color: var(--text-light);
  font-size: 1rem;
}
.offre-card .offre-cible {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.offre-cible span:first-child {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
}
.offre-details {
  margin-top: 1.25rem;
}
.offre-details summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange-light);
}
.offre-details summary::-webkit-details-marker {
  display: none;
}
.offre-details summary::after {
  content: ' +';
}
.offre-details[open] summary::after {
  content: ' −';
}
.cta-band {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 2.75rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(232, 117, 32, 0.16), transparent 70%), rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 117, 32, 0.25);
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--cream);
}
.cta-text {
  color: var(--text-body);
  margin-top: 0.25rem;
}
.cta-band .btn-primary {
  flex-shrink: 0;
}

/* ── Certifications (liste façon frise) ────────────────────────────────────── */
.certif-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.certif-badge img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.certif-badge p {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
  color: var(--text-body);
}
.certif-badge strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.certif-list {
  list-style: none;
  margin-top: 2rem;
  border-left: 1px solid rgba(232, 117, 32, 0.3);
}
.certif-list li {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}
.certif-list li::before {
  content: '';
  position: absolute;
  left: -5.5px;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  /* même braise lumineuse que la frise des expériences, en plus petit */
  background: radial-gradient(circle, #ffd29a 0%, var(--orange) 60%);
  animation: timeline-glow 3.2s ease-in-out infinite;
}
.certif-list li:nth-child(2)::before {
  animation-delay: -0.8s;
}
.certif-list li:nth-child(3)::before {
  animation-delay: -1.6s;
}
.certif-list li:nth-child(4)::before {
  animation-delay: -2.4s;
}
.certif-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--orange);
}
.certif-list h4 {
  font-size: 1.05rem;
  color: var(--cream);
  margin: 0.15rem 0 0.25rem;
}
.certif-list p {
  font-size: 0.92rem;
  color: var(--text-body);
}

/* ── Témoignages éditoriaux ────────────────────────────────────────────────── */
.quotes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
}
/* croisée façon boussole : axes nord-sud / est-ouest qui s'estompent aux extrémités */
.quotes::before,
.quotes::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.quotes::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(245, 237, 216, 0.22) 30%,
    rgba(245, 237, 216, 0.22) 70%,
    transparent
  );
}
.quotes::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 237, 216, 0.22) 25%,
    rgba(245, 237, 216, 0.22) 75%,
    transparent
  );
}
.quotes-compass {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--navy-mid);
  z-index: 1;
}
.quotes-compass svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(245, 237, 216, 0.45);
  stroke-width: 1;
}
.quotes-compass .needle-n {
  fill: var(--orange);
  stroke: none;
}
.quotes-compass .needle-s {
  fill: rgba(245, 237, 216, 0.55);
  stroke: none;
}
.quotes-compass .needle-ew {
  fill: rgba(245, 237, 216, 0.25);
  stroke: none;
}
.quotes-compass .needle-pin {
  fill: var(--cream);
  stroke: none;
}
/* séparateurs boussole entre les citations : visibles seulement sur mobile (une colonne) */
.quote-divider {
  display: none;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1rem;
}
.quote-divider::before,
.quote-divider::after {
  content: '';
  flex: 1;
  height: 1px;
}
.quote-divider::before {
  background: linear-gradient(90deg, transparent, rgba(245, 237, 216, 0.22));
}
.quote-divider::after {
  background: linear-gradient(90deg, rgba(245, 237, 216, 0.22), transparent);
}
.quote-divider svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: none;
  stroke: rgba(245, 237, 216, 0.45);
  stroke-width: 1;
}
.quote-divider .needle-n {
  fill: var(--orange);
  stroke: none;
}
.quote-divider .needle-s {
  fill: rgba(245, 237, 216, 0.55);
  stroke: none;
}
.quote {
  position: relative;
  padding: 2.5rem 2.5rem 2.5rem 4.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--cream);
}
.quote::before {
  content: '\201C';
  position: absolute;
  left: 1.5rem;
  top: 1.6rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--orange);
}

/* ── Témoignages ───────────────────────────────────────────────────────────── */
#temoignages {
  background: var(--navy-mid);
}
/* ── Contact ───────────────────────────────────────────────────────────────── */
#contact {
  background: var(--navy);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(232, 117, 32, 0.1);
  border: 1px solid rgba(232, 117, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-linkedin {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}
.contact-item h4 {
  font-size: 0.85rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.contact-item p {
  font-size: 0.95rem;
  color: var(--text-light);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: rgba(232, 117, 32, 0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group select option {
  background: var(--navy-mid);
}
.btn-submit {
  background: var(--orange);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232, 117, 32, 0.3);
  align-self: flex-start;
}
.btn-submit:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 117, 32, 0.4);
}
#form-success {
  display: none;
  background: rgba(232, 117, 32, 0.1);
  border: 1px solid rgba(232, 117, 32, 0.3);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  color: var(--orange-light);
  font-weight: 500;
}
/* visible en mode édition pour pouvoir modifier le message */
body.edit-mode #form-success {
  display: block;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  background: #060e19;
  padding: 3.5rem 0 2rem;
}
.footer-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-signature::before,
.footer-signature::after {
  content: '';
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 237, 216, 0.25));
}
.footer-signature::after {
  background: linear-gradient(90deg, rgba(245, 237, 216, 0.25), transparent);
}
.footer-signature img {
  height: 72px;
  width: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Animations ────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Short laptop screens: keep room for the "Découvrir" hint so the centered content never runs into it */
@media (min-width: 601px) and (max-height: 900px) {
  #hero {
    padding-top: 7.5rem;
    padding-bottom: calc(max(4rem, 4.8vw + 1rem) + 4.5rem);
  }
  /* As low as possible: just above the waves, but never below the first screen */
  .hero-scroll {
    bottom: auto;
    top: min(calc(100% - 4.8vw - 3.5rem), calc(100vh - 3.75rem));
  }
}

/* Too short to show the hint without covering the buttons */
@media (min-width: 601px) and (max-height: 720px) {
  .hero-scroll {
    display: none;
  }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .apropos-img {
    position: relative;
    top: auto;
  }
  .apropos-grid,
  .contact-grid,
  .parcours-blocks,
  .parcours-grid {
    grid-template-columns: 1fr;
  }
  .offres-grid,
  .leviers,
  .quotes {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .quotes::before,
  .quotes::after,
  .quotes-compass {
    display: none;
  }
  .quote-divider {
    display: flex;
  }
  .quote {
    padding: 1.75rem 0.5rem 1.75rem 3.5rem;
  }
  .quote::before {
    left: 0.5rem;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .apropos-img {
    aspect-ratio: 16/9;
  }
  .apropos-img img {
    object-position: center 25%;
  }
  .nav-edit-btn--desktop {
    display: none;
  }
  .nav-actions-desktop {
    display: none;
  }
  .nav-links-connexion {
    display: flex;
    gap: 0.5rem;
  }
  .nav-links-connexion .nav-edit-btn {
    width: auto;
  }
}
@media (min-width: 901px) {
  .nav-links-connexion {
    display: none;
  }
}
@media (max-width: 600px) {
  section {
    padding: 3.5rem 0;
  }
  .hero-scroll {
    bottom: 1rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    text-align: center;
  }
  .stat-row {
    justify-content: center;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Page Mentions légales ─────────────────────────────────────────────────── */
.legal-page nav {
  position: sticky;
}
.legal-back {
  color: var(--text-light);
  font-size: 0.9rem;
}
.legal {
  max-width: 820px;
  padding-top: 4rem;
  padding-bottom: 5rem;
}
.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}
.legal section {
  padding: 0;
  margin-bottom: 2.25rem;
}
.legal h2 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.legal p {
  color: var(--text-body);
  margin-bottom: 0.75rem;
}
.legal a,
.form-privacy a {
  color: var(--orange-light);
}
.legal strong {
  color: var(--text-light);
  font-weight: 500;
}
.form-privacy {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
