/* =============================================================
   MBR35 — Site en construction
   Mobile-first. Aucune dépendance JS externe.
   ============================================================= */

/* ---------- Variables ---------- */
:root {
  /* Palette MBR35 */
  --mbr-blue-dark: #0E4A6E;
  --mbr-blue-mid:  #1B5E8C;
  --mbr-green:     #6DBF44;
  --mbr-green-dark:#4A9F2E;
  --mbr-green-light:#8FD55F;

  /* Neutres */
  --c-white:       #ffffff;
  --c-off-white:   #f7f6f3;
  --c-paper:       #fbfaf7;
  --c-gray-50:     #f1efe9;
  --c-gray-100:    #e6e3da;
  --c-gray-300:    #b8b3a6;
  --c-gray-600:    #5a5a5a;
  --c-ink:         #1a1f24;

  /* Typo */
  --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rayons & ombres */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 12px rgba(14, 74, 110, 0.08);
  --shadow-md: 0 10px 30px rgba(14, 74, 110, 0.12);
  --shadow-lg: 0 24px 60px rgba(14, 74, 110, 0.18);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--mbr-blue-dark);
  text-decoration: none;
  transition: color .25s var(--ease-out);
}
a:hover, a:focus-visible { color: var(--mbr-green-dark); }
a:focus-visible {
  outline: 2px solid var(--mbr-green);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mbr-blue-dark);
  margin: 0 0 .6em;
}
p { margin: 0 0 1em; }

/* ---------- Décor global : grain de bois SVG en fond fixe ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0 0.30  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =============================================================
   Section générique
   ============================================================= */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 20px;
  overflow: hidden;
}
.section__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}
.section__inner--center {
  text-align: center;
  max-width: 900px;
}
.section__header { margin-bottom: 48px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mbr-green-dark);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: var(--mbr-green);
  transform: translateY(-50%);
  animation: line-grow 1s var(--ease-out) .2s both;
}
@keyframes line-grow {
  from { transform: translateY(-50%) scaleX(0); transform-origin: left; }
  to   { transform: translateY(-50%) scaleX(1); transform-origin: left; }
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.eyebrow--light::before { background: rgba(255, 255, 255, 0.7); }

.lead {
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--c-gray-600);
  max-width: 56ch;
}

/* Décor : formes organiques aux coins des sections claires */
.section__shape {
  position: absolute;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
  border-radius: 40% 60% 65% 35% / 50% 45% 55% 50%;
  background: radial-gradient(circle at 30% 30%,
                rgba(109, 191, 68, 0.10) 0,
                rgba(109, 191, 68, 0) 65%);
  filter: blur(8px);
  animation: morph 18s ease-in-out infinite alternate;
}
.section__shape--left  { top: -100px; left: -160px; }
.section__shape--right {
  bottom: -120px; right: -160px;
  background: radial-gradient(circle at 70% 70%,
                rgba(27, 94, 140, 0.10) 0,
                rgba(27, 94, 140, 0) 65%);
  animation-delay: -6s;
}
@keyframes morph {
  0%   { border-radius: 40% 60% 65% 35% / 50% 45% 55% 50%; transform: rotate(0deg); }
  50%  { border-radius: 55% 45% 35% 65% / 60% 40% 60% 40%; transform: rotate(8deg); }
  100% { border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%; transform: rotate(-6deg); }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(109, 191, 68, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(14, 74, 110, 0.12), transparent 55%),
    linear-gradient(180deg, var(--c-off-white) 0%, var(--c-paper) 100%);
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* --- Orbes flottants --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  will-change: transform;
}
.orb--1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--mbr-green) 0%, transparent 65%);
  top: -60px; left: -60px;
  animation: drift1 18s ease-in-out infinite alternate;
}
.orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--mbr-blue-mid) 0%, transparent 65%);
  bottom: -80px; right: -80px;
  animation: drift2 22s ease-in-out infinite alternate;
}
.orb--3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--mbr-green-light) 0%, transparent 65%);
  top: 50%; left: 70%;
  opacity: .35;
  animation: drift3 26s ease-in-out infinite alternate;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-80px, -50px) scale(1.08); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-40px, 30px) scale(1.15); }
  100% { transform: translate(30px, -20px) scale(.95); }
}

/* --- Trame de points subtile --- */
.grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(14, 74, 110, 0.18) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  opacity: .35;
}

/* --- Spirale géométrique évoquant le logo --- */
.spiral {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 360px; height: 360px;
  color: rgba(14, 74, 110, 0.12);
  animation: spin 60s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

/* --- Logo : entrée + respiration --- */
.hero__logo {
  width: clamp(220px, 60vw, 380px);
  height: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 6px 18px rgba(14, 74, 110, 0.15));
  animation:
    logo-in 1.2s var(--ease-out) .1s both,
    logo-breath 6s ease-in-out 2s infinite;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(-16px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logo-breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.015); }
}

/* --- Titre + soulignement animé --- */
.hero__title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.hero__accent {
  background: linear-gradient(120deg,
                var(--mbr-green-dark) 0%,
                var(--mbr-green) 50%,
                var(--mbr-blue-mid) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease-in-out infinite alternate;
}
@keyframes gradient-shift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.hero__underline {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--mbr-green) 0%, var(--mbr-blue-mid) 100%);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: underline-draw 1.4s var(--ease-out) 1.4s both;
}
@keyframes underline-draw {
  from { width: 0; }
  to   { width: 70%; }
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--c-gray-600);
  letter-spacing: 0.02em;
  margin-top: 22px;
}

/* --- Indicateur de scroll --- */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mbr-blue-dark);
  opacity: 0;
  z-index: 3;
  animation: fade-in 1s var(--ease-out) 2s forwards;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.hero__scroll:hover {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-2px);
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: .75; }
}
.hero__scroll-arrow {
  width: 16px; height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 2s var(--ease-out) infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(4px, 4px); }
}

/* =============================================================
   SECTION 1 — Message principal
   ============================================================= */
.section--message { background: var(--c-paper); }

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.section__text h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  position: relative;
}
.section__text h2 strong {
  color: var(--mbr-green-dark);
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.section__text h2 strong::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: rgba(109, 191, 68, 0.18);
  z-index: -1;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) .3s;
}
.section__text.is-visible h2 strong::after { transform: scaleX(1); }

/* --- Frame visuel : tilt léger au hover + flottement --- */
.frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateZ(0);
  animation: float-soft 7s ease-in-out infinite;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.frame:hover {
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: var(--shadow-lg);
}
.frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.frame:hover img { transform: scale(1.04); }
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(14, 74, 110, 0.08);
}
/* Accent coloré derrière le frame */
.frame::before {
  content: '';
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: linear-gradient(135deg, var(--mbr-green) 0%, var(--mbr-blue-mid) 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .18;
  filter: blur(6px);
}
.section__visual { position: relative; }
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* =============================================================
   SECTION 2 — Bientôt de retour (fond bleu profond)
   ============================================================= */
.section--soon {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(109, 191, 68, 0.20), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(27, 94, 140, 0.30), transparent 55%),
    linear-gradient(135deg, var(--mbr-blue-dark) 0%, var(--mbr-blue-mid) 100%);
  color: var(--c-white);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

/* Anneaux concentriques décoratifs */
.section--soon::before {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 480px; height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 40px rgba(255, 255, 255, 0.03),
    0 0 0 80px rgba(255, 255, 255, 0.025);
  animation: float-slow 14s ease-in-out infinite alternate;
}
.section--soon::after {
  content: '';
  position: absolute;
  bottom: -180px; right: -150px;
  width: 480px; height: 480px;
  border: 1px solid rgba(109, 191, 68, 0.22);
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  transform: rotate(15deg);
  animation: morph-blob 22s ease-in-out infinite alternate, spin-slow 80s linear infinite;
}
@keyframes float-slow {
  from { transform: translate(0, 0); }
  to   { transform: translate(20px, -20px); }
}
@keyframes morph-blob {
  0%   { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
  50%  { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
  100% { border-radius: 50% 50% 60% 40% / 60% 50% 50% 40%; }
}
@keyframes spin-slow {
  from { transform: rotate(15deg); }
  to   { transform: rotate(375deg); }
}

.section--soon h2 { color: var(--c-white); }

.big-type {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 56px;
}
.big-type em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg,
                var(--mbr-green-light) 0%,
                var(--mbr-green) 50%,
                var(--mbr-green-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease-in-out infinite alternate;
}

/* --- Timeline --- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  max-width: 320px;
  position: relative;
}
.timeline__step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}
.timeline__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
  transition: all .3s var(--ease-out);
}
.timeline__step--done .timeline__dot {
  background: var(--mbr-green);
  border-color: var(--mbr-green);
}
.timeline__step--done { color: rgba(255, 255, 255, 0.9); }
.timeline__step--active .timeline__dot {
  background: var(--mbr-green);
  border-color: var(--mbr-green);
  box-shadow: 0 0 0 6px rgba(109, 191, 68, 0.25);
  animation: pulse 2.2s ease-in-out infinite;
}
.timeline__step--active {
  color: var(--c-white);
  font-weight: 500;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(109, 191, 68, 0.25); }
  50%      { box-shadow: 0 0 0 14px rgba(109, 191, 68, 0.05); }
}
.timeline__label { letter-spacing: 0.04em; }

/* =============================================================
   SECTION 3 — Contact
   ============================================================= */
.section--contact { background: var(--c-paper); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.contact-card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--ease-out),
              box-shadow .45s var(--ease-out),
              border-color .45s var(--ease-out);
}
/* Liseré coloré qui s'élargit au hover */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mbr-green-dark) 0%, var(--mbr-green) 50%, var(--mbr-blue-mid) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 191, 68, 0.35);
}
.contact-card:hover::before { transform: scaleX(1); }

.contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mbr-blue-dark) 0%, var(--mbr-blue-mid) 100%);
  color: var(--c-white);
  margin-bottom: 20px;
  transition: transform .45s var(--ease-out),
              background .45s var(--ease-out);
  box-shadow: 0 6px 16px rgba(14, 74, 110, 0.25);
}
.contact-card:hover .contact-card__icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--mbr-blue-dark) 0%, var(--mbr-green-dark) 100%);
}
.contact-card__icon svg { width: 28px; height: 28px; }

.contact-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mbr-blue-dark);
  margin: 0 0 4px;
}
.contact-card__hint {
  font-size: 0.88rem;
  color: var(--c-gray-600);
  margin: 0 0 14px;
  font-weight: 300;
}
.contact-card__link {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mbr-blue-dark);
  word-break: break-word;
  position: relative;
}
.contact-card__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--mbr-green);
  transition: width .35s var(--ease-out);
}
.contact-card__link:hover::after,
.contact-card__link:focus-visible::after { width: 100%; }

/* --- Liens sociaux avec icônes --- */
.contact-card__socials {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card__socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-gray-50);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mbr-blue-dark);
  transition: background .3s var(--ease-out),
              color .3s var(--ease-out),
              transform .3s var(--ease-out),
              box-shadow .3s var(--ease-out);
}
.contact-card__socials svg {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  transition: transform .3s var(--ease-out);
}
.contact-card__socials a:hover,
.contact-card__socials a:focus-visible {
  background: var(--mbr-green);
  color: var(--c-white);
  transform: translateX(4px);
  box-shadow: 0 6px 14px rgba(109, 191, 68, 0.35);
}
.contact-card__socials a:hover svg { transform: scale(1.15); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--mbr-blue-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 100px 20px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* Vague décorative : le bleu foncé du footer remonte au-dessus,
   créant une transition organique sans démarcation visible. */
.site-footer__wave {
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  width: 100%;
  height: 60px;
  color: var(--mbr-blue-dark);
  display: block;
  pointer-events: none;
}
.site-footer__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
/* Halo derrière le message */
.site-footer__inner::before {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  width: 380px; height: 120px;
  background: radial-gradient(ellipse, rgba(109, 191, 68, 0.25) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(20px);
}
.site-footer__message {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 300;
  color: var(--c-white);
  margin: 0 0 36px;
  letter-spacing: 0.005em;
  position: relative;
}
.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* =============================================================
   Scroll-reveal
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal--left  { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* Cascade sur groupes */
.contact-card:nth-child(1).reveal { transition-delay: 0s; }
.contact-card:nth-child(2).reveal { transition-delay: .12s; }
.contact-card:nth-child(3).reveal { transition-delay: .24s; }
.timeline__step:nth-child(1).reveal { transition-delay: 0s; }
.timeline__step:nth-child(2).reveal { transition-delay: .14s; }
.timeline__step:nth-child(3).reveal { transition-delay: .28s; }

/* Accessibilité : réduit les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orb, .spiral, .section__shape, .frame { animation: none !important; }
}

/* =============================================================
   Breakpoints
   ============================================================= */

/* ---------- Tablette ---------- */
@media (min-width: 768px) {
  .section { padding: 120px 32px; }
  .section--soon { padding: 140px 32px; }

  .section__inner--split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .contact-card__socials { gap: 10px; }

  /* Timeline horizontale dès la tablette */
  .timeline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 560px;
    gap: 0;
  }
  .timeline__step {
    flex-direction: column;
    gap: 12px;
    flex: 1;
    text-align: center;
  }
  .timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 0;
  }
  .timeline::after {
    /* Ligne verte qui progresse jusqu'à l'étape active */
    content: '';
    position: absolute;
    top: 6px;
    left: 12%;
    width: 38%;
    height: 1px;
    background: linear-gradient(90deg, var(--mbr-green) 0%, var(--mbr-green-light) 100%);
    z-index: 0;
    transform-origin: left;
    animation: line-progress 1.4s var(--ease-out) .6s both;
  }
  @keyframes line-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
  .timeline__dot { position: relative; z-index: 1; }

  .hero__scroll { bottom: 40px; }
  .site-footer__wave { height: 80px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .section { padding: 140px 48px; }
  .section--soon { padding: 160px 48px; }
  .section__inner--split { gap: 88px; }
}

/* ---------- Très grand écran ---------- */
@media (min-width: 1440px) {
  body { font-size: 17px; }
}
