/* =========================================================
    — Styles principaux — Navigation Douce
   Palette  : bleu ciel nautique + chaleur crème/rose
   Typos    : Playfair Display (serif) + Source Sans 3 (sans)
   ========================================================= */

/* ------ Variables ------ */
:root {
  --black:       #0f0e0e;
  --white:       #f8f9fb;
  --blue:        #5b9ec9;
  --blue-soft:   #ddeef8;
  --blue-deep:   #2a6496;
  --blue-navy:   #1a3a5c;
  --yellow:      #f3b410;
  --yellow-soft: #fdf0cb;
  --pink:        #e8829a;
  --pink-soft:   #fce8ef;
  --cream:       #eef5fa;
  --grey:        #4a5e6a; /* contraste WCAG AA sur --white */
  --text-dark:   #2d3f4e;

  --font-d: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Source Sans 3', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 48px;
  --r-full: 100px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --t: 0.28s;
  --max: 1080px;

  --shadow-card: 0 4px 24px rgba(26,58,92,.07);
  --shadow-card-hover: 0 12px 36px rgba(26,58,92,.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3 {
  font-family: var(--font-d);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ------ Layout ------ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.4rem, 5vw, 3rem);
}

/* ═══════════════════════════════════════════
   BOUTONS — système nautique
═══════════════════════════════════════════ */

/* Variante A — Vague latérale (CTA principal) */
.btn-wave {
  display: inline-flex;
  align-items: stretch;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  overflow: hidden;
  font-family: var(--font-b);
  text-decoration: none;
  position: relative;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
  flex-shrink: 0;
}
.btn-wave:hover { transform: translateY(-2px); }
.btn-wave:active { transform: translateY(0); }

.btn-wave--yellow { background: var(--yellow); box-shadow: 0 4px 18px rgba(243,180,16,.32); }
.btn-wave--yellow:hover { box-shadow: 0 8px 26px rgba(243,180,16,.46); }
.btn-wave--blue { background: var(--blue); box-shadow: 0 4px 18px rgba(91,158,201,.3); }
.btn-wave--blue:hover { box-shadow: 0 8px 26px rgba(91,158,201,.44); }
.btn-wave--navy { background: var(--blue-navy); box-shadow: 0 4px 18px rgba(26,58,92,.25); }

.btn-wave__label {
  padding: 1rem 1.4rem 1rem 2rem;
  font-size: .94rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}
.btn-wave--yellow .btn-wave__label { color: var(--black); }
.btn-wave--blue   .btn-wave__label { color: var(--white); }
.btn-wave--navy   .btn-wave__label { color: var(--white); }

/* Variante C — Boussole rotative (CTA secondaire / ghost) */
.btn-compass {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.8rem .9rem 1rem;
  border-radius: var(--r-full);
  background: transparent;
  border: 1.5px solid rgba(42,100,150,.22);
  color: var(--blue-navy);
  cursor: pointer;
  font-family: var(--font-b);
  font-size: .94rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform .26s var(--ease), background .26s, border-color .26s;
}
.btn-compass:hover {
  transform: translateY(-2px);
  background: var(--blue-soft);
  border-color: rgba(42,100,150,.4);
}
.btn-compass:active { transform: translateY(0); }
.btn-compass:hover .compass-dial { transform: rotate(45deg); }

.btn-compass--white {
  border-color: rgba(255,255,255,.28);
  color: var(--white);
}
.btn-compass--white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.45);
}

.compass-dial {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .5s var(--ease);
}
.btn-compass--white .compass-dial { background: rgba(255,255,255,.15); }
.compass-dial svg { width: 14px; height: 14px; }
.btn-compass__label { line-height: 1; }

/* Nav CTA — wave compact */
.btn-nav {
  display: inline-flex;
  align-items: stretch;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  overflow: hidden;
  font-family: var(--font-b);
  text-decoration: none;
  background: var(--blue);
  box-shadow: 0 3px 12px rgba(91,158,201,.28);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91,158,201,.4);
}
.btn-nav__label {
  padding: .6rem 1.1rem .6rem 1.3rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.btn-nav__icon {
  width: 34px;
  background: rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-nav__icon svg { width: 16px; height: 16px; }

/* Variante B — Horizon animé */
/* Défaut : fond blanc, texte bleu profond, vague douce — pas d'effet hover lift */
.btn-horizon {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  /* padding: 1rem 2rem; */
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--blue-deep);
  /* border: 1px solid rgba(42,100,150,.14); */
  cursor: pointer;
  font-family: var(--font-b);
  font-size: .94rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  /* box-shadow: 0 2px 12px rgba(42,100,150,.08); */
  transition: border-color .26s var(--ease), box-shadow .26s var(--ease);
}
/* Nav / header variant — bleu, gradient animé via @property */
/* @property: initial-value doit être une valeur statique (pas var()) */
@property --hl-from {
  syntax: '<color>';
  inherits: false;
  initial-value: #5b9ec9; /* = --blue */
}
@property --hl-to {
  syntax: '<color>';
  inherits: false;
  initial-value: #2a6496; /* = --blue-deep */
}

.btn-horizon--blue {
  --hl-from: #5b9ec9;
  --hl-to:   #2a6496;
  background: linear-gradient(to top, var(--hl-from), var(--hl-to));
  color: var(--white);
  border-color: transparent;
  padding: .9rem 1.8rem;
  box-shadow: 0 4px 16px rgba(91,158,201,.28);
  transition:
    --hl-from .48s var(--ease),
    --hl-to   .48s var(--ease),
    box-shadow .28s var(--ease),
    transform  .22s var(--ease);
}
.btn-horizon--blue:hover {
  /* Gradient inversé = illusion de lumière qui monte */
  --hl-from: #2a6496;
  --hl-to:   #5b9ec9;
  box-shadow: 0 10px 28px rgba(91,158,201,.46);
  transform: translateY(-2px);
}
.btn-horizon--blue:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(91,158,201,.25);
}
/* Sur fond navy (section portes) */
.portes .btn-horizon {
  background: rgba(255,255,255,.10);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}
.portes .btn-horizon:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}
/* Vague décorative — visible uniquement sur btn-horizon blanc (pas blue, pas portes) */
.btn-horizon::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -20%;
  width: 140%;
  height: 18px;
  background: rgba(91,158,201,.35);
  border-radius: 50%;
  animation: waveRise 4s ease-in-out infinite;
  pointer-events: none;
}
.btn-horizon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -10%;
  width: 120%;
  height: 14px;
  background: rgba(91,158,201,.2);
  border-radius: 50%;
  animation: waveRise 4s ease-in-out .8s infinite;
  pointer-events: none;
}
/* Pas de vague sur les variantes qui ont leur propre traitement */
.btn-horizon--blue::before,
.btn-horizon--blue::after,
.portes .btn-horizon::before,
.portes .btn-horizon::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .btn-horizon::before,
  .btn-horizon::after { animation: none; }
}
@keyframes waveRise {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50%       { transform: translateY(-5px) scaleX(1.06); }
}

/* Variante D — Ghost vague montante (hover wave-rise fill) */
.btn-ghost-wave {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    /* padding: .9rem 1.8rem; */
    border-radius: 100px;
    background: transparent;
    color: #1a3a5c;
    /* border: 1.5px solid rgba(42, 100, 150, .25); */
    cursor: pointer;
    font-family: inherit;
    font-size: .94rem;
    font-weight: 500;
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
    text-decoration: none;
    transition: color .26s, border-color .26s;
}
.btn-ghost-wave::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 0;
  background: var(--blue-soft);
  border-radius: 50% 50% 0 0 / 20px 20px 0 0;
  transition: height .42s var(--ease);
  z-index: -1;
}
.btn-ghost-wave:hover::before { height: 110%; }
.btn-ghost-wave:hover {
  transform: translateY(-2px);
  border-color: rgba(91,158,201,.5);
}
.btn-ghost-wave:active { transform: translateY(0); }
.btn-ghost-wave span { position: relative; z-index: 1; line-height: 1; }

/* Variante E — Anchor (CTA de carte, fond sombre, texte+flèche) */
.btn-anchor {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-family: var(--font-b);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  padding: .4rem 0;
  position: relative;
  transition: color .26s var(--ease);
  cursor: pointer;
}
.btn-anchor::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.btn-anchor:hover { color: var(--white); }
.btn-anchor:hover::after { width: 100%; }
.btn-anchor__arrow {
  font-size: .85rem;
  opacity: .6;
  transition: transform .26s var(--ease), opacity .26s;
}
.btn-anchor:hover .btn-anchor__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(248,249,251,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(91,158,201,.12);
  transition: background var(--t);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--blue-navy);
}
.nav__logo-img {
  width: 4em;
  height: 4rem;
  flex-shrink: 0;
}
.nav__logo:hover .nav__logo-img { transform: rotate(90deg); }
.nav__links {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__item {
  position: relative;
  margin: 0;
}
.nav__link,
.nav__links a {
  font-size: .86rem;
  font-weight: 400;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  padding: .38rem .8rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: color var(--t), background var(--t);
}
.nav__link:hover,
.nav__links a:hover {
  color: var(--blue-navy);
  background: var(--blue-soft);
}
.nav__item.is-active .nav__link,
.nav__links a.active {
  color: var(--blue-navy);
  font-weight: 500;
}
.nav__sub-menu {
  display: none;
}
.nav__cta { margin-left: .75rem; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-navy);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(91,158,201,.12);
  background: rgba(248,249,251,.98);
}
.nav__mobile-list {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__mobile-item {
  margin: 0;
}
.nav__mobile-link,
.nav__mobile a {
  display: flex;
  font-size: 1rem;
  padding: .65rem .5rem;
  color: var(--grey);
  border-bottom: 1px solid rgba(91,158,201,.08);
  text-decoration: none;
  transition: color var(--t);
}
.nav__mobile-item.is-active .nav__mobile-link,
.nav__mobile-link:hover,
.nav__mobile a:hover { color: var(--blue-navy); }
.nav__mobile > .btn-horizon { border: none; margin-top: .6rem; }
.nav__mobile.open { display: flex; }

/* ═══════════════════════════════════════════
   ANIMATIONS & REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .48s var(--ease-out), transform .48s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }

/* Désactiver les animations pour les utilisateurs qui le préfèrent */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__eyebrow,
  .hero h1,
  .hero__sub,
  .hero__btns,
  .hero__photo {
    animation: none;
    opacity: 1;
  }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes growLine {
  to { width: 100%; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.4); opacity: .55; }
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(12px, -16px); }
}
@keyframes waveMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  padding-block: clamp(4.5rem, 11vw, 9rem) clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-blob-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(91,158,201,.15) 0%, transparent 68%);
}
.hero-blob-2 {
  width: 340px;
  height: 340px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(243,180,16,.10) 0%, transparent 65%);
}
.hero-blob-3 {
  width: 220px;
  height: 220px;
  top: 40%;
  left: 42%;
  background: radial-gradient(circle, rgba(232,130,154,.09) 0%, transparent 65%);
}
/* Animations blobs : uniquement si l'utilisateur ne réduit pas le mouvement */
@media (prefers-reduced-motion: no-preference) {
  .hero-blob-1 { animation: floatBlob 18s ease-in-out infinite; }
  .hero-blob-2 { animation: floatBlob 13s ease-in-out 4s infinite; }
  .hero-blob-3 { animation: floatBlob 10s ease-in-out 2s infinite; }
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: slideUp .55s var(--ease) .08s forwards;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero__eyebrow-text {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}
.hero h1 {
  margin-bottom: 1.6rem;
  font-weight: 300;
  color: var(--blue-navy);
  opacity: 0;
  animation: slideUp .72s var(--ease) .18s forwards;
}
.hero h1 .hl { position: relative; display: inline; }
.hero h1 .hl::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 3px;
  animation: growLine .85s var(--ease) 1.05s forwards;
}
.hero__sub {
  font-size: 1.06rem;
  color: var(--text-dark);
  line-height: 1.85;
  max-width: 48ch;
  margin-bottom: 2.6rem;
  opacity: 0;
  animation: slideUp .72s var(--ease) .3s forwards;
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  opacity: 0;
  animation: slideUp .65s var(--ease) .42s forwards;
}
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  pointer-events: none;
  line-height: 0;
}
.hero__wave svg { display: block; width: 100%; }

/* Photo frame */
.hero__photo {
  position: relative;
  opacity: 0;
  animation: slideUp .85s var(--ease) .22s forwards;
}
.photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-soft) 0%, var(--cream) 40%, var(--pink-soft) 100%);
  position: relative;
  box-shadow: 0 20px 56px rgba(42,100,150,.12);
}
.photo-frame::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  height: 76%;
  background: rgba(91,158,201,.2);
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
}
.photo-frame::after {
  content: '';
  position: absolute;
  top: 19%;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 26%;
  background: rgba(91,158,201,.25);
  border-radius: 50%;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(248,249,251,.93);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(91,158,201,.15);
  padding: .8rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.pl-name { font-family: var(--font-d); font-size: 1rem; font-weight: 500; color: var(--blue-navy); }
.pl-role { font-size: .72rem; color: var(--grey); }
.hero-badge {
  position: absolute;
  top: 1.4rem;
  right: -1.1rem;
  background: var(--blue-deep);
  border-radius: 14px;
  padding: .9rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(42,100,150,.28);
}
.hero-badge .b-num {
  font-family: var(--font-d);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--white);
  display: block;
}
.hero-badge .b-label { font-size: .68rem; color: rgba(255,255,255,.55); line-height: 1.3; }

/* ═══════════════════════════════════════════
   RECONNAISSANCE
═══════════════════════════════════════════ */
.reconnaissance {
  background: var(--cream);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.rec__header { margin-bottom: 2.5rem; }
.rec__header h2 { margin-bottom: .4rem; color: var(--blue-navy); }
.rec__header p { font-size: 1rem; color: var(--grey); }
.rec__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 2rem;
}
.rec-item {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(91,158,201,.12);
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: transform .26s var(--ease), border-color .26s;
}
.rec-item:hover {
  transform: translateY(-3px);
  border-color: rgba(91,158,201,.3);
  box-shadow: var(--shadow-card-hover);
}
.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: .55rem;
}
.rec-item p { font-size: .95rem; color: var(--text-dark); line-height: 1.65; }
.rec-item p strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue-navy);
  margin-bottom: .1rem;
}
.rec__close {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  color: var(--blue-navy);
  line-height: 1.5;
  padding: 1.8rem 2.2rem;
  background: var(--blue-soft);
  border-radius: var(--r-xl);
  border-left: 4px solid var(--blue);
}
.rec__close em { font-style: normal; color: var(--blue-deep); font-weight: 500; }

/* ═══════════════════════════════════════════
   ESTELLE
═══════════════════════════════════════════ */
.estelle {
  background: var(--white);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.estelle__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.estelle__portrait { position: relative; }
.est-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--pink-soft) 100%);
  position: relative;
  box-shadow: 0 12px 40px rgba(42,100,150,.1);
}
.est-img::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 78%;
  background: rgba(255,150,189,.28);
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
}
.est-img::after {
  content: '';
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 28%;
  background: rgba(255,150,189,.35);
  border-radius: 50%;
}
.est-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.est-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--blue-deep);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(42,100,150,.25);
}
.est-badge .b-num {
  font-family: var(--font-d);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  display: block;
}
.est-badge .b-label { font-size: .68rem; color: rgba(255,255,255,.55); line-height: 1.3; }
.estelle__text h2 { color: var(--blue-navy); margin-bottom: .9rem; }
.estelle__text p { font-size: 1rem; color: var(--text-dark); line-height: 1.85; margin-bottom: 1rem; }
.est-list { display: flex; flex-direction: column; gap: .45rem; margin-block: 1.2rem; }
.est-li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .95rem;
  color: var(--text-dark);
}
.est-li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ═══════════════════════════════════════════
   PORTES
═══════════════════════════════════════════ */
.portes {
  background: var(--blue-navy);
  padding-block: clamp(4.5rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.portes__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  opacity: .06;
  pointer-events: none;
  line-height: 0;
}
.portes__waves svg {
  display: block;
  width: 200%;
  animation: waveMove 20s linear infinite;
}
.portes__header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.portes__header h2 { color: var(--white); margin-bottom: .5rem; }
.portes__header p { font-size: 1rem; color: rgba(255,255,255,.5); }
.portes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.porte {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  transition: background .28s, border-color .28s, transform .28s var(--ease);
}
.porte:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-4px);
}
.porte__icon { margin-bottom: 1.2rem; }
.porte__icon img { width: 64px; height: 64px; object-fit: contain; display: block; opacity: .9; filter: brightness(1.15); }
.porte__tag {
  align-items: center;
  gap: .35rem;
  padding: .28rem .85rem;
  border-radius: var(--r-full);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-family: var(--font-b);
  margin-bottom: 1.4rem;
  width: fit-content;
}
.porte__tag--yellow { background: rgba(91,158,201,.18); color: rgba(221,238,248,.85); }
.porte__tag--blue   { background: rgba(221,238,248,.15); color: rgba(221,238,248,.8); }
.porte h3 {
  font-family: var(--font-d);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .6rem;
  line-height: 1.2;
}
.porte__desc { font-size: .92rem; color: rgba(255,255,255,.6); line-height: 1.72; margin-bottom: 1.6rem; flex: 1; }
.porte__details { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 2rem; }
.pd-row { display: flex; align-items: center; gap: .6rem; font-size: .83rem; color: rgba(255,255,255,.5); }
.pd-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.portes__sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.portes__sep::before,
.portes__sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.portes__sep-text { font-size: .75rem; color: rgba(255,255,255,.3); white-space: nowrap; }
.portes__cta-center {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
}
.portes__cta-center p { margin-top: .75rem; font-size: .75rem; color: rgba(255,255,255,.28); }

/* ═══════════════════════════════════════════
   TEMOIGNAGES
═══════════════════════════════════════════ */
.temos {
  background: var(--cream);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.temos__header { text-align: center; margin-bottom: 2.8rem; }
.temos__header h2 { color: var(--blue-navy); margin-bottom: .4rem; }
.temos__header p { font-size: .95rem; color: var(--grey); }
.temos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.temo {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid rgba(91,158,201,.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
  box-shadow: var(--shadow-card);
}
.temo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(91,158,201,.2);
}
/* Alternance de chaleur : 1 temo sur 3 en teinte rose douce */
.temo:nth-child(3n+2) {
  background: var(--pink-soft);
  border-color: rgba(232,130,154,.18);
}
.temo__mark {
  font-family: var(--font-d);
  font-size: 2.8rem;
  line-height: .8;
  color: var(--blue);
  opacity: .5;
}
.temo:nth-child(3n+2) .temo__mark {
  color: var(--pink);
}
.temo blockquote {
  font-family: var(--font-d);
  font-size: 1.06rem;
  font-style: italic;
  font-weight: 300;
  color: var(--blue-navy);
  line-height: 1.6;
  flex: 1;
}
.temo__author {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(91,158,201,.1);
}
.temo__av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 2px solid rgba(91,158,201,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: .95rem;
  font-weight: 600;
  color: var(--blue-deep);
  flex-shrink: 0;
  overflow: hidden;
}
.temo:nth-child(3n+2) .temo__av {
  background: var(--pink-soft);
  border-color: rgba(232,130,154,.3);
  color: var(--pink);
}
.temo__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.temo__name { font-size: .87rem; font-weight: 600; color: var(--blue-navy); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background:
    radial-gradient(circle at 12% 10%, rgba(221,238,248,.12), transparent 20rem),
    radial-gradient(circle at 86% 70%, rgba(243,180,16,.1), transparent 18rem),
    linear-gradient(135deg, var(--blue-navy), #102d49);
  color: rgba(255,255,255,.66);
  padding-block: clamp(3.2rem, 7vw, 5rem) 1.4rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: 'CARTE DE BORD / NAVIGATION DOUCE';
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  top: 2rem;
  color: rgba(255,255,255,.18);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .8fr) minmax(260px, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: flex-start;
}

.footer-widget {
  font-size: .94rem;
  line-height: 1.75;
}

.footer-widget h2,
.footer-widget__title {
  margin: 0 0 .9rem;
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
}

.footer-widget p {
  max-width: 34ch;
  margin: 0;
}

.footer-widget p + p,
.footer-widget .wp-block-buttons {
  margin-top: 1.15rem;
}

.footer-email a,
.footer-widget a,
.site-footer__legal a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color var(--t), border-color var(--t);
}

.footer-email a {
  display: inline-flex;
  margin-top: .3rem;
  border-bottom: 1px solid rgba(243,180,16,.45);
  color: var(--white);
}

.footer-widget a:hover,
.site-footer__legal a:hover {
  color: var(--white);
}

.footer-link-list {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-list li {
  margin: 0;
}

.site-footer__column--cta {
  padding: 1.3rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0;
  background: rgba(255,255,255,.07);
}

.site-footer__column--cta .footer-widget p {
  max-width: 28ch;
}

.footer-cta-actions {
  justify-content: flex-start;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.4);
  font-size: .78rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 880px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 320px; }
  .hero-badge { top: auto; bottom: 3.5rem; right: -.8rem; }
  .rec__grid { grid-template-columns: 1fr; }
  .estelle__inner { grid-template-columns: 1fr; }
  .estelle__portrait { max-width: 280px; }
  .portes__grid { grid-template-columns: 1fr; }
  .temos__grid { grid-template-columns: 1fr; }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  footer::before {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__column--cta {
    padding: 1.1rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__btns { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   UTILITAIRES / COMPATIBILITÉ SOUS-PAGES
═══════════════════════════════════════════ */

/* Alias pour les pages utilisant .container */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.4rem, 5vw, 3rem);
}

/* Label-tag générique (sous-pages) */
.label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-family: var(--font-b);
  background: var(--blue-soft);
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

/* Espacement .mt-4 */
.mt-4 { margin-top: 1rem; }

/* Encarts sous-pages */
.story-highlight {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-md);
  padding: 1.4rem 1.8rem;
  margin-block: 1.4rem;
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--blue-navy);
  line-height: 1.6;
}

/* Sections génériques sous-pages */
.story-section,
.values-section,
.timeline-section,
.about-cta {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.story-section { background: var(--white); }
.values-section { background: var(--cream); }
.timeline-section { background: var(--white); }
.about-cta { background: var(--cream); }

.deep-current-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(221,238,248,.18), transparent 28rem),
    radial-gradient(circle at 82% 75%, rgba(243,180,16,.12), transparent 20rem),
    linear-gradient(135deg, var(--blue-navy) 0%, var(--blue-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.deep-current-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(115deg, transparent 0 47%, rgba(255,255,255,.18) 48% 49%, transparent 50% 100%),
    linear-gradient(160deg, transparent 0 54%, rgba(255,255,255,.12) 55% 56%, transparent 57% 100%);
  background-size: 220px 140px, 300px 180px;
}

.deep-current-section > .wp-block-group__inner-container {
  position: relative;
  z-index: 1;
}

.deep-current-section .section-header h2,
.deep-current-section .offer-card h3 {
  color: var(--white);
}

.deep-current-section .section-header p,
.deep-current-section .offer-card p {
  color: rgba(255,255,255,.72);
}

.deep-current-section .label {
  background: rgba(221,238,248,.14);
  color: rgba(248,249,251,.9);
}

.deep-current-section .offer-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}

.offer-summary-fit {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(42,100,150,.14);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.72);
}

.offer-summary-fit h3,
.offer-summary-fit ul,
.offer-summary-fit .offer-summary-actions {
  margin: 0;
}

.offer-summary-fit ul {
  display: grid;
  gap: .45rem;
  color: var(--grey);
}

.offer-summary-fit .offer-summary-actions {
  justify-content: flex-end;
}

.offer-nav-section {
  padding-block: clamp(2.2rem, 5vw, 3.2rem);
  background: var(--white);
  border-block: 1px solid rgba(42,100,150,.08);
}

.offer-nav-section .section-header {
  margin-bottom: 1.4rem;
}

.offer-quick-nav {
  gap: .8rem;
  justify-content: center;
}

.offer-quick-nav .wp-block-button__link {
  padding: .78rem 1rem;
  font-size: .86rem;
}

.offer-transformation-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(243,180,16,.12), transparent 16rem),
    linear-gradient(180deg, var(--white), var(--cream));
}

.offer-transformation-section .section-header {
  margin-inline: auto;
  text-align: center;
}

.offer-transformation-columns {
  align-items: stretch;
}

.offer-transformation-section .offer-card {
  border: 0;
  border-top: 3px solid var(--yellow);
  box-shadow: none;
}

/* Direction artistique Offre: sortir du rendu "document" */
.offer-landing-hero {
  position: relative;
  padding-block: clamp(5.5rem, 10vw, 8.5rem);
  background:
    radial-gradient(circle at 84% 12%, rgba(243,180,16,.18), transparent 18rem),
    radial-gradient(circle at 18% 84%, rgba(91,158,201,.22), transparent 24rem),
    linear-gradient(145deg, #f8f9fb 0%, #eef5fa 48%, #ddeef8 100%);
}

.offer-landing-hero::before {
  content: '';
  position: absolute;
  inset: auto -10% 6% 38%;
  height: clamp(9rem, 18vw, 16rem);
  border: 1px solid rgba(42,100,150,.16);
  border-radius: 999px 0 0 999px;
  transform: rotate(-8deg);
  pointer-events: none;
}

.offer-landing-hero::after {
  content: 'CAP 01 / NAVIGATION DOUCE';
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  bottom: clamp(1.2rem, 3vw, 2rem);
  color: rgba(26,58,92,.28);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.offer-landing-hero .container,
.offer-landing-hero .page-hero__columns {
  position: relative;
  z-index: 1;
}

.offer-landing-hero h1 {
  max-width: 9ch;
  font-size: clamp(3.6rem, 8.4vw, 7.4rem);
}

.offer-landing-hero .page-hero__lead {
  max-width: 52ch;
}

.offer-landing-hero .page-hero__subtitle {
  max-width: 34ch;
}

.offer-landing-hero .page-hero__meta {
  gap: .75rem;
}

.offer-landing-hero .page-hero__meta-item {
  border: 1px solid rgba(42,100,150,.12);
  background: rgba(248,249,251,.72);
}

.offer-landing-hero .page-hero__card {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(26,58,92,.04), rgba(26,58,92,.78)),
    radial-gradient(circle at 50% 18%, rgba(221,238,248,.7), rgba(91,158,201,.22) 48%, transparent 72%);
  border: 0;
  color: var(--white);
  box-shadow: 0 22px 52px rgba(26,58,92,.14);
}

.offer-landing-hero .page-hero__card::before {
  content: '';
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: calc(var(--r-xl) - .8rem);
  pointer-events: none;
}

.offer-landing-hero .page-hero__portrait {
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  margin: 0 0 auto;
  filter: drop-shadow(0 14px 18px rgba(26,58,92,.24));
}

.offer-landing-hero .page-hero__quote {
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  text-shadow: 0 1px 16px rgba(26,58,92,.28);
}

.offer-landing-hero .page-hero__quote-label {
  color: rgba(255,255,255,.7);
}

.offer-opening-story .story-card,
.offer-recognition .story-card,
.offer-process .story-card {
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0;
}

.offer-pivot {
  background:
    linear-gradient(90deg, rgba(221,238,248,.7), rgba(248,249,251,1) 36%),
    var(--white);
}

.offer-pivot .story-card {
  background: var(--blue-navy);
  color: var(--white);
  border: 0;
  box-shadow: none;
}

.offer-pivot .story-card__title,
.offer-pivot .story-card__list li {
  color: var(--white);
}

.offer-pivot .wp-block-list.story-card__list li::before {
  background: var(--yellow);
}

.offer-pivot .story-highlight {
  background: var(--white);
  border-left-color: var(--yellow);
}

.deep-current-section .offer-summary-columns {
  position: relative;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.deep-current-section .offer-summary-columns::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.36) 0 12px, transparent 12px 24px);
  transform: translateY(-50%);
  pointer-events: none;
}

.deep-current-section .offer-card {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0;
}

.deep-current-section .offer-card::before {
  content: '✦';
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-navy);
  font-family: var(--font-b);
  font-size: .82rem;
}

.offer-testimonials {
  background:
    radial-gradient(circle at 50% 0%, rgba(221,238,248,.85), transparent 24rem),
    var(--white);
}

.offer-testimonials .section-header {
  margin-inline: auto;
  text-align: center;
}

.offer-testimonials .temos__grid {
  grid-template-columns: 1.15fr .85fr .85fr;
  align-items: stretch;
}

.offer-testimonials .temo {
  border: 0;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0;
  background: var(--cream);
  box-shadow: none;
}

.offer-testimonials .temo:first-child {
  grid-row: span 2;
  background: var(--blue-navy);
  color: var(--white);
}

.offer-testimonials .temo:first-child blockquote,
.offer-testimonials .temo:first-child .temo__name {
  color: var(--white);
}

.offer-testimonials .temo:first-child .temo__mark {
  color: var(--yellow);
  opacity: .8;
}

.offer-faq-section {
  background:
    linear-gradient(180deg, var(--cream), var(--white));
}

.offer-faq-section .section-header {
  margin-inline: auto;
  text-align: center;
}

.offer-departure-cta {
  background:
    radial-gradient(circle at 12% 20%, rgba(221,238,248,.2), transparent 20rem),
    linear-gradient(135deg, var(--blue-navy), #102d49);
}

.offer-departure-cta .about-cta__box {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}

.offer-departure-cta .about-cta__box::before {
  content: 'BRISE DE CLARTÉ';
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  color: rgba(255,255,255,.22);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.offer-departure-cta .about-cta__box h2,
.offer-departure-cta .about-cta__box .lead {
  color: var(--white);
}

.offer-departure-cta .label,
.offer-departure-cta .offer-meta__item {
  background: rgba(221,238,248,.14);
  color: rgba(248,249,251,.88);
}

.brand-hero:not(.offer-landing-hero) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(243,180,16,.13), transparent 17rem),
    radial-gradient(circle at 12% 86%, rgba(91,158,201,.18), transparent 22rem),
    linear-gradient(145deg, var(--white) 0%, #eef5fa 100%);
}

.brand-hero:not(.offer-landing-hero)::before {
  content: '';
  position: absolute;
  inset: auto -12% 8% 48%;
  height: clamp(7rem, 16vw, 13rem);
  border: 1px solid rgba(42,100,150,.13);
  border-radius: 999px 0 0 999px;
  transform: rotate(-7deg);
  pointer-events: none;
}

.brand-hero:not(.offer-landing-hero)::after {
  position: absolute;
  right: clamp(1.2rem, 4vw, 3rem);
  bottom: clamp(1.2rem, 3vw, 2rem);
  color: rgba(26,58,92,.28);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.home-landing-hero::after { content: 'CAP 00 / ACCUEIL'; }
.approach-landing-hero::after { content: 'CAP 02 / APPROCHE'; }
.workshop-landing-hero::after { content: 'ESCALE / ATELIER'; }
.about-landing-hero::after { content: 'JOURNAL DE BORD'; }

.brand-hero:not(.offer-landing-hero) .container,
.brand-hero:not(.offer-landing-hero) .page-hero__columns {
  position: relative;
  z-index: 1;
}

.brand-hero:not(.offer-landing-hero) .page-hero__card {
  position: relative;
  border: 0;
  background: radial-gradient(circle at 50% 30%, rgba(221,238,248,.7), rgba(248,249,251,.9) 68%);
  box-shadow: 0 18px 44px rgba(26,58,92,.09);
}

.brand-hero:not(.offer-landing-hero) .page-hero__quote,
.brand-hero:not(.offer-landing-hero) .page-hero__portrait {
  position: relative;
  z-index: 1;
}

.brand-hero:not(.offer-landing-hero) .page-hero__portrait {
  filter: drop-shadow(0 12px 18px rgba(26,58,92,.12));
}

.approach-landing-hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(243,180,16,.12), transparent 18rem),
    linear-gradient(145deg, #f8f9fb 0%, #ddeef8 100%);
}

.workshop-landing-hero {
  background:
    radial-gradient(circle at 86% 14%, rgba(243,180,16,.2), transparent 17rem),
    radial-gradient(circle at 16% 86%, rgba(91,158,201,.16), transparent 20rem),
    linear-gradient(145deg, var(--white) 0%, var(--cream) 100%);
}

.about-landing-hero {
  background:
    radial-gradient(circle at 76% 14%, rgba(91,158,201,.18), transparent 18rem),
    linear-gradient(145deg, var(--cream) 0%, #f8f9fb 100%);
}

.brand-story-section .story-card {
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0;
  box-shadow: none;
}

.brand-story-section .story-highlight {
  background: var(--blue-soft);
}

.approach-problem-section,
.about-signature-section {
  background:
    linear-gradient(90deg, rgba(221,238,248,.72), rgba(248,249,251,1) 38%),
    var(--white);
}

.approach-problem-section .story-card,
.about-signature-section .story-card {
  background: var(--blue-navy);
  color: var(--white);
  border: 0;
}

.approach-problem-section .story-card__title,
.approach-problem-section .story-card__list li,
.about-signature-section .story-card__title,
.about-signature-section .story-card__list li {
  color: var(--white);
}

.approach-problem-section .wp-block-list.story-card__list li::before,
.about-signature-section .wp-block-list.story-card__list li::before {
  background: var(--yellow);
}

.home-recognition-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(221,238,248,.72), transparent 20rem),
    var(--white);
}

.home-recognition-section .story-grid {
  align-items: stretch;
}

.home-recognition-section .story-content {
  max-width: 58ch;
}

.home-recognition-section .story-card {
  position: static;
  display: grid;
  align-content: start;
  background: var(--white);
  border: 0;
  box-shadow: none;
}

.home-recognition-section .story-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.home-recognition-section .story-card__item {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(91,158,201,.12);
  border-radius: var(--r-md);
  background: var(--cream);
}

.home-reveal-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(243,180,16,.11), transparent 18rem),
    linear-gradient(145deg, var(--blue-navy), #102d49);
  color: var(--white);
}

.home-reveal-section .story-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
}

.home-reveal-section .label {
  background: rgba(221,238,248,.14);
  color: rgba(248,249,251,.9);
}

.home-reveal-section .story-content h2,
.home-reveal-section .story-content p,
.home-reveal-section .story-card__title,
.home-reveal-section .story-card__list li {
  color: var(--white);
}

.home-reveal-section .story-content p {
  color: rgba(255,255,255,.76);
}

.home-reveal-section .story-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.home-reveal-section .story-card::after {
  content: 'CE N’EST PAS TOI';
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: rgba(255,255,255,.14);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.home-reveal-section .story-highlight {
  background: rgba(255,255,255,.1);
  border-left-color: var(--yellow);
  color: var(--white);
}

.home-reveal-section .wp-block-list.story-card__list li::before {
  background: var(--yellow);
}

.home-estelle-section .estelle-grid {
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.home-estelle-section .estelle-photo {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26,58,92,.14);
}
.home-estelle-section .estelle-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.home-estelle-section .estelle-posture {
  margin-block: 1.4rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--yellow);
  background: var(--blue-soft);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.home-estelle-section .estelle-posture__title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: .6rem;
}
.home-estelle-section .estelle-posture__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.home-estelle-section .estelle-posture__list li {
  font-size: .9rem;
  color: var(--blue-navy);
}
.home-estelle-section .estelle-posture__list li::before { display: none; }
.home-estelle-section .story-highlight {
  background: transparent;
  border-left: 3px solid var(--yellow);
  padding-inline: 1rem;
}

/* Offer points 2×2 grid */
.offer-points-grid,
.offer-points-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.offer-point,
.offer-point > .wp-block-group__inner-container {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.offer-point {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  border: 1px solid rgba(91,158,201,.1);
  box-shadow: var(--shadow-card);
}
.offer-point__icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: background .2s ease;
}
.offer-point:hover .offer-point__icon-wrap {
  background: rgba(42,100,150,.15);
}
.offer-point__icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.offer-point__text {
  font-size: .95rem;
  color: var(--blue-navy);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.offer-section-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.home-offer-section .story-highlight {
  background: var(--blue-soft);
}

.home-final-cta .about-cta__box::before {
  content: 'APPEL DÉCOUVERTE';
}

.brand-deep-cta {
  background:
    radial-gradient(circle at 12% 20%, rgba(221,238,248,.2), transparent 20rem),
    linear-gradient(135deg, var(--blue-navy), #102d49);
}

.brand-deep-cta .about-cta__box {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}

.brand-deep-cta .about-cta__box::before {
  content: 'NAVIGATION DOUCE';
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  color: rgba(255,255,255,.2);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.brand-deep-cta .about-cta__box h2,
.brand-deep-cta .about-cta__box .lead {
  color: var(--white);
}

.brand-deep-cta .label,
.brand-deep-cta .offer-meta__item {
  background: rgba(221,238,248,.14);
  color: rgba(248,249,251,.88);
}

.section-header {
  max-width: 56ch;
  margin-bottom: 3rem;
}
.section-header h2 { color: var(--blue-navy); margin-bottom: .5rem; }
.section-header p { font-size: 1rem; color: var(--grey); line-height: 1.75; }

/* Grille story */
.story-grid {
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}
.story-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid rgba(91,158,201,.12);
  position: sticky;
  top: 90px;
}
.story-card__title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  color: var(--blue-navy);
  margin-bottom: 1.2rem;
}
.story-card__list { display: flex; flex-direction: column; gap: .9rem; }
.story-card__item { display: flex; gap: .7rem; align-items: flex-start; }
.story-card__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: .55rem;
}
.story-content h2 { color: var(--blue-navy); margin-bottom: 1rem; }
.story-content p { font-size: 1rem; color: var(--text-dark); line-height: 1.85; margin-bottom: 1rem; }

/* Grille valeurs */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid rgba(91,158,201,.1);
}
.value-card__icon { font-size: 1.6rem; margin-bottom: .8rem; line-height: 1; }
.value-card__icon img { width: 80px; height: 80px; object-fit: contain; display: block; }
.value-card h3 { font-family: var(--font-d); font-size: 1.1rem; color: var(--blue-navy); margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--grey); line-height: 1.65; }

/* Timeline */
/* Promise cards grid (replaces dot timeline) */
.promise-grid,
.promise-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.promise-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem 1.8rem;
  border: 1px solid rgba(91,158,201,.1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.promise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--blue-deep) 100%);
}
.promise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}
.promise-card__step {
  display: block;
  font-family: var(--font-d);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue-soft);
  margin-bottom: .6rem;
  user-select: none;
}
.promise-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--blue-soft);
  border-radius: 50%;
  padding: 11px;
  margin-bottom: .8rem;
  flex-shrink: 0;
}
.promise-card__icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.promise-card__label {
  display: inline-block;
  padding: .25rem .9rem;
  border-radius: var(--r-full);
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.promise-card h3 { font-family: var(--font-d); font-size: 1.15rem; color: var(--blue-navy); margin-bottom: .5rem; }
.promise-card p { font-size: .9rem; color: var(--grey); line-height: 1.65; margin: 0; }

/* About CTA box */
.about-cta__box {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.about-cta__box h2 { color: var(--blue-navy); margin-block: .6rem 1rem; }
.about-cta__box .lead { font-size: 1rem; color: var(--text-dark); line-height: 1.8; margin-bottom: 1.8rem; }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Page hero (sous-pages) */
.page-hero { padding-block: clamp(4rem, 9vw, 7rem); background: var(--white); }
.page-hero__columns { gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
/* Le container sur la colonne content ne doit pas se centrer dans son slot flex */
.page-hero__columns > .wp-block-column.page-hero__content-column {
  margin-inline: 0;
}
/* La colonne aside (illustration) : pas de padding superflu */
.page-hero__columns > .wp-block-column:not(.page-hero__content-column) {
  padding: 0;
}
.page-hero__eyebrow {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: .28rem .85rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.page-hero h1 { color: var(--blue-navy); margin-bottom: 1rem; }
.page-hero__subtitle {
  max-width: 42ch;
  margin: -.25rem 0 1.05rem;
  color: var(--blue-navy);
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.18;
}
.page-hero .lead { font-size: 1.06rem; color: var(--text-dark); line-height: 1.85; margin-bottom: 1.5rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.page-hero__meta-item {
  font-size: .82rem;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: .25rem .8rem;
  border-radius: var(--r-full);
}
.page-hero__card {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 2rem;
  border: 1px solid rgba(91,158,201,.12);
}
.page-hero__portrait { font-size: 3rem; text-align: center; margin-bottom: 1.2rem; }
.page-hero__tagline {
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-style: italic;
  font-weight: 300;
  color: var(--blue-navy);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  opacity: .88;
}
/* Illustration hero aside (SVG, no card box) */
.page-hero__illustration {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero__illustration div {
  width: 100% !important;
  height: 100% !important;
}
.page-hero__image-illustration {
  margin: 0;
  width: 100%;
  height: 100%;
  background: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.page-hero__image-illustration img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(26,58,92,.13));
}
.page-hero__image-illustration figcaption { display: none; }
.nd-image-placeholder {
  margin: 0 0 1.2rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0;
  background: var(--blue-soft);
}
.nd-image-placeholder img {
  width: 100%;
  display: flex;
  /* aspect-ratio: 4 / 3; */
  object-fit: cover!important;
}
.nd-image-placeholder figcaption {
  margin: 0;
  padding: .65rem .85rem;
  background: rgba(26,58,92,.82);
  color: rgba(255,255,255,.82);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-hero__image-placeholder img {
  aspect-ratio: 1 / 1.04;
}
.story-card__media-placeholder img {
  aspect-ratio: 4 / 5;
}
/* Brand illustrations (SVG icons displayed as images) */
.nd-illustration { display: flex; justify-content: center; align-items: center; }
.nd-illustration img { display: block; object-fit: contain; }
.story-card__illustration { margin-bottom: 1.2rem; }
.story-card__illustration img { width: 140px; height: 140px; margin: 0 auto; }
.page-hero__quote {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--blue-navy);
  line-height: 1.55;
}
.page-hero__quote-block {
  position: relative;
  z-index: 1;
}
.page-hero__quote-label {
  margin: 0 0 .45rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Boutons compatibilité sous-pages (btn--primary etc.) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.8rem;
  border-radius: var(--r-full);
  font-family: var(--font-b);
  font-size: .94rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 16px rgba(91,158,201,.3); }
.btn--primary:hover { box-shadow: 0 8px 24px rgba(91,158,201,.46); }
.btn--outline { background: transparent; color: var(--blue-navy); border: 1.5px solid rgba(42,100,150,.22); }
.btn--outline:hover { background: var(--blue-soft); }
.btn--lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.2rem; font-size: .85rem; }

/* Responsive sous-pages */
@media (max-width: 781px) {
  .story-card { position: static; }
  .values-grid { grid-template-columns: 1fr; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.offer-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid rgba(91,158,201,.12);
  box-shadow: 0 12px 28px rgba(42,100,150,.06);
}
.offer-card__icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.offer-card__icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.offer-card h3 {
  color: var(--blue-navy);
  margin-bottom: .55rem;
}

.offer-card p {
  color: var(--grey);
  font-size: .95rem;
  line-height: 1.75;
}

.contact-box {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(91,158,201,.12);
  box-shadow: 0 16px 36px rgba(42,100,150,.08);
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.offer-meta__item {
  font-size: .82rem;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: .35rem .9rem;
  border-radius: var(--r-full);
}

.faq-list {
  display: grid;
  gap: 1.15rem;
  counter-reset: faq;
}

.wp-block-details {
  position: relative;
  background: rgba(248,249,251,.82);
  border: 1px solid rgba(91,158,201,.14);
  border-radius: clamp(1rem, 2vw, 1.45rem);
  overflow: hidden;
  transition: border-color .24s var(--ease), transform .24s var(--ease), background .24s var(--ease);
}

.wp-block-details:hover,
.wp-block-details[open] {
  background: var(--white);
  border-color: rgba(91,158,201,.34);
}

.wp-block-details[open] {
  transform: translateY(-2px);
}

.wp-block-details summary {
  display: block;
  padding: clamp(1.08rem, 2.4vw, 1.45rem) clamp(4.4rem, 8vw, 5.6rem) clamp(1.08rem, 2.4vw, 1.45rem) clamp(1rem, 2.8vw, 1.8rem);
  color: var(--blue-navy);
  cursor: pointer;
  font-family: var(--font-d);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.25;
  list-style: none;
  position: relative;
  z-index: 2;
}

.wp-block-details summary::-webkit-details-marker {
  display: none;
}

.faq-item {
  counter-increment: faq;
}

.faq-item summary {
  padding-left: calc(clamp(1rem, 2.8vw, 1.8rem) + 3.25rem);
}

.faq-item summary::before {
  content: counter(faq, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  position: absolute;
  left: clamp(1rem, 2.8vw, 1.8rem);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.wp-block-details::before {
  content: '⚓';
  position: absolute;
  top: 0;
  right: clamp(1rem, 2.8vw, 1.8rem);
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 100%;
  color: var(--blue-navy);
  font-size: 1.05rem;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  transition: transform .38s var(--ease);
}

.wp-block-details[open]::before {
  transform: translateY(1.55rem) rotate(10deg);
}

.wp-block-details::after {
  content: '';
  position: absolute;
  top: clamp(3.15rem, 5.4vw, 3.75rem);
  right: calc(clamp(1rem, 2.8vw, 1.8rem) + 1.16rem);
  width: 2px;
  height: auto;
  background: repeating-linear-gradient(
    to bottom,
    rgba(42,100,150,.52) 0 4px,
    transparent 4px 8px
  );
  opacity: 0;
  transform-origin: top;
  transition: height .34s var(--ease), opacity .2s var(--ease);
}

.wp-block-details[open]::after {
  height: 25%;
  opacity: 1;
}

.wp-block-details p {
  color: var(--text-dark);
  max-width: 68ch;
  margin: -.2rem clamp(4.4rem, 8vw, 5.6rem) clamp(1.2rem, 2.6vw, 1.6rem) clamp(1rem, 2.8vw, 1.8rem);
  font-size: .98rem;
  line-height: 1.8;
}

.faq-item p {
  margin-left: calc(clamp(1rem, 2.8vw, 1.6rem) + 3.25rem);
}

.entry-content > * + * {
  margin-top: 1rem;
}

@media (max-width: 880px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* Gutenberg wrappers */
.page-hero__columns.wp-block-columns,
.story-grid.wp-block-columns,
.timeline-item.wp-block-columns {
  gap: clamp(1.25rem, 4vw, 3rem);
}

/* La colonne aside de hero (SVG) s'étire sur toute la hauteur */
.page-hero__columns.wp-block-columns > .wp-block-column:last-child:has(.page-hero__illustration) {
  display: flex;
  flex-direction: column;
}

.page-hero__meta > .wp-block-group__inner-container,
.offer-meta > .wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.timeline > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Gutenberg inner-container overrides for new grid structures */
.offer-section-footer > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.estelle-posture > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
}
.estelle-grid.wp-block-columns {
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.timeline-item.wp-block-columns > .wp-block-column {
  min-width: 0;
}

.hero-actions.wp-block-buttons,
.offer-summary-actions.wp-block-buttons,
.about-cta__actions.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.wp-block-button.btn-horizon .wp-block-button__link,
.wp-block-button.btn-ghost-wave .wp-block-button__link,
.wp-block-button.btn-compass .wp-block-button__link {
  border: 0;
  text-decoration: none;
}

.wp-block-button.btn-horizon .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 2rem;
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--blue-deep);
  border: 1px solid rgba(42,100,150,.14);
  box-shadow: 0 2px 12px rgba(42,100,150,.08);
  font-size: .94rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.portes .wp-block-button.btn-horizon .wp-block-button__link,
.wp-block-button.btn-horizon.is-style-blue .wp-block-button__link {
  background: var(--blue);
  color: var(--white);
}
/* Vague sur le lien Gutenberg — même règle que le btn-horizon natif */
.wp-block-button.btn-horizon .wp-block-button__link::before,
.wp-block-button.btn-horizon .wp-block-button__link::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: waveRise 4s ease-in-out infinite;
}
.wp-block-button.btn-horizon .wp-block-button__link::before {
  bottom: -6px; left: -20%; width: 140%; height: 18px;
  background: rgba(91,158,201,.35);
}
.wp-block-button.btn-horizon .wp-block-button__link::after {
  bottom: -8px; left: -10%; width: 120%; height: 14px;
  background: rgba(91,158,201,.2);
  animation-delay: .8s;
}
.portes .wp-block-button.btn-horizon .wp-block-button__link::before,
.portes .wp-block-button.btn-horizon .wp-block-button__link::after,
.wp-block-button.btn-horizon.is-style-blue .wp-block-button__link::before,
.wp-block-button.btn-horizon.is-style-blue .wp-block-button__link::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .wp-block-button.btn-horizon .wp-block-button__link::before,
  .wp-block-button.btn-horizon .wp-block-button__link::after { animation: none; }
}

.wp-block-button.btn-ghost-wave .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.4rem;
  border-radius: var(--r-full);
  color: var(--blue-navy);
  background: transparent;
  border: 1px solid rgba(42,100,150,.18);
  font-size: .94rem;
  font-weight: 500;
}

/* Ghost visible on dark backgrounds */
.deep-current-section .wp-block-button.btn-ghost-wave .wp-block-button__link {
  color: rgba(255,255,255,.90);
  border-color: rgba(255,255,255,.35);
}
.deep-current-section .wp-block-button.btn-ghost-wave .wp-block-button__link:hover {
  color: var(--blue-navy);
  border-color: transparent;
}

.wp-block-button.btn-compass .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.8rem .9rem 1rem;
  border-radius: var(--r-full);
  background: transparent;
  border: 1.5px solid rgba(42,100,150,.22);
  color: var(--blue-navy);
  font-size: .94rem;
  font-weight: 500;
}

.wp-block-list.story-card__list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.wp-block-list.story-card__list li {
  position: relative;
  padding-left: 1rem;
}

.wp-block-list.story-card__list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: .72rem;
}

.anchor-target {
  display: block;
  position: relative;
  top: -5rem;
  visibility: hidden;
}

/* ── Back to top ──────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(26,58,92,.22);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), background .2s;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover { background: var(--blue-navy); }
#back-to-top:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
#back-to-top svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  #back-to-top { transition: none; }
}

@media (max-width: 781px) {

  .page-hero__illustration.reveal.visible {
    position: absolute;
    top: 0%;
    right: -100%;
    z-index: -1;
  }

  .page-hero__image-placeholder img {
    opacity: 0.4;
  }


  .story-grid.wp-block-columns,
  .page-hero__columns.wp-block-columns,
  .timeline-item.wp-block-columns {
    gap: 1.25rem;
  }

  .home-recognition-section .story-card__list {
    grid-template-columns: 1fr;
  }

  .home-reveal-section .story-grid {
    grid-template-columns: 1fr;
  }

  .home-estelle-section .estelle-grid.wp-block-columns {
    flex-direction: column;
  }
  .home-estelle-section .estelle-grid.wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
  }
  .home-estelle-section .estelle-photo img {
    aspect-ratio: 3 / 2;
  }

  .promise-grid,
  .promise-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .offer-points-grid,
  .offer-points-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .wp-block-details summary {
    padding-right: 3.8rem;
  }

  .faq-item summary {
    padding-left: 1rem;
  }

  .faq-item summary::before {
    display: none;
  }

  .wp-block-details p,
  .faq-item p {
    margin: -.1rem 1rem 1.2rem;
  }

  .wp-block-details::after {
    right: 2.15rem;
  }

  .offer-landing-hero::after,
  .brand-hero:not(.offer-landing-hero)::after,
  .deep-current-section .offer-summary-columns::before {
    display: none;
  }

  .offer-landing-hero h1 {
    max-width: 100%;
  }

  .offer-landing-hero .page-hero__card {
    min-height: 300px;
  }

  .offer-summary-fit {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .offer-summary-fit .offer-summary-actions,
  .offer-quick-nav {
    justify-content: flex-start;
  }

  .offer-quick-nav .wp-block-button,
  .offer-quick-nav .wp-block-button__link,
  .offer-summary-actions .wp-block-button,
  .offer-summary-actions .wp-block-button__link {
    width: 100%;
  }

  .offer-testimonials .temos__grid {
    grid-template-columns: 1fr;
  }

  .offer-testimonials .temo:first-child {
    grid-row: auto;
  }
}
