/* =========================================================================
Cabinet Dauphinot Pulby - Rendez-vous Connectés & IA
Editorial / institutional system : bleu nuit, or, crème
========================================================================= */

:root {
  /* Brand palette */
  --navy: #1F3864;
  --navy-deep: #16294a;
  --navy-soft: #2c4d82;
  --gold: #C9A227;
  --gold-soft: #d8b94e;
  --cream: #FBF6E9;
  --cream-deep: #f3ead2;

  /* Tunable via Tweaks (set on :root by JS) */
  --accent: var(--gold);
  --primary: var(--navy);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Neutrals (warm) */
  --ink: oklch(0.22 0.02 260);
  --ink-soft: oklch(0.42 0.02 260);
  --paper: oklch(0.99 0.006 90);
  --line: oklch(0.88 0.012 90);
  --line-strong: oklch(0.80 0.02 90);

  /* Spacing scale */
  --sp-1: 6px;
  --sp-2: 12px;
  --sp-3: 18px;
  --sp-4: 28px;
  --sp-5: 44px;
  --sp-6: 68px;
  --sp-7: 104px;
  --sp-8: 148px;

  --maxw: 1200px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(22, 41, 74, .06), 0 6px 18px rgba(22, 41, 74, .05);
  --shadow-md: 0 4px 14px rgba(22, 41, 74, .08), 0 20px 50px rgba(22, 41, 74, .10);
  --shadow-gold: 0 10px 40px rgba(201, 162, 39, .22);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Background atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 88% -8%, rgba(201, 162, 39, .10), transparent 60%),
    radial-gradient(900px 600px at -6% 12%, rgba(31, 56, 100, .07), transparent 55%);
  pointer-events: none;
}

/* Cursor aura */
#aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .13), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .5s ease;
  mix-blend-mode: multiply;
  will-change: transform;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--primary);
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--sp-3);
}

.eyebrow::before {
  display: none;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section {
  padding: clamp(50px, 7vw, 90px) 0;
}

.section-sm {
  padding: var(--sp-6) 0;
}

.section-lg {
  padding: clamp(60px, 9vw, 120px) 0;
}

.center {
  text-align: center;
}

.measure {
  max-width: 62ch;
}

.measure-center {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

main {
  display: none;
}

main.active,
main:target {
  display: block;
  animation: pageIn .5s var(--ease);
}

body:not(:has(main:target)) #accueil {
  display: block;
}

@keyframes pageIn {
  from {
    transform: translateY(14px);
  }

  to {
    transform: none;
  }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(22, 41, 74, .06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 9px 15px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  position: relative;
  transition: color .25s ease;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.current,
#accueil:target~header .nav-links a[href="#accueil"],
#connectes:target~header .nav-links a[href="#connectes"],
#ia:target~header .nav-links a[href="#ia"],
#approche:target~header .nav-links a[href="#approche"],
#ressources:target~header .nav-links a[href="#ressources"],
#contact:target~header .nav-links a[href="#contact"],
body:not(:has(main:target)) .nav-links a[href="#accueil"] {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.current::after,
#accueil:target~header .nav-links a[href="#accueil"]::after,
#connectes:target~header .nav-links a[href="#connectes"]::after,
#ia:target~header .nav-links a[href="#ia"]::after,
#approche:target~header .nav-links a[href="#approche"]::after,
#ressources:target~header .nav-links a[href="#ressources"]::after,
#contact:target~header .nav-links a[href="#contact"]::after,
body:not(:has(main:target)) .nav-links a[href="#accueil"]::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--primary);
  color: var(--cream) !important;
  padding: 10px 20px !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--navy-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: transform .3s var(--ease), opacity .3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .3s ease, background .3s, color .3s, border-color .3s;
  background: var(--primary);
  color: var(--cream);
  letter-spacing: .01em;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn .arrow {
  transition: transform .3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn-gold {
  background: var(--accent);
  color: var(--navy-deep);
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(31, 56, 100, .04);
}

.btn-light {
  background: var(--cream);
  color: var(--primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: transform .7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

.reveal.d4 {
  transition-delay: .32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  * {
    scroll-behavior: auto !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 22, 52, .82) 0%, rgba(10, 22, 52, .70) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--sp-6);
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero h1 .accent-word {
  color: var(--accent);
  font-style: italic;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .75);
  justify-content: center;
}

.hero .lead {
  color: rgba(255, 255, 255, .85);
  margin: var(--sp-4) auto var(--sp-5);
  max-width: 52ch;
}

.hero .btn-row {
  justify-content: center;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, .10);
}

/* Floating cards cluster */
.float-stage {
  position: relative;
  height: 460px;
}

.float-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  width: 250px;
  will-change: transform;
}

.float-card .fc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.float-card .fc-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.fc-blue .fc-ic {
  background: rgba(31, 56, 100, .10);
  color: var(--navy);
}

.fc-gold .fc-ic {
  background: rgba(201, 162, 39, .16);
  color: #9a7d18;
}

.float-card h4 {
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
}

.float-card p {
  font-size: .85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}

.float-card.f1 {
  top: 8%;
  left: 0;
  animation: floaty 7s ease-in-out infinite;
}

.float-card.f2 {
  top: 38%;
  right: -6%;
  animation: floaty 8s ease-in-out infinite .8s;
}

.float-card.f3 {
  bottom: 2%;
  left: 12%;
  animation: floaty 6.4s ease-in-out infinite 1.4s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.float-deco {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.float-deco .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}

.float-deco .ring.r1 {
  width: 320px;
  height: 320px;
  top: 18%;
  left: 18%;
}

.float-deco .ring.r2 {
  width: 200px;
  height: 200px;
  bottom: 8%;
  right: 8%;
  border-color: rgba(201, 162, 39, .35);
}

.float-deco .dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  top: 24%;
  right: 16%;
}

.hero-photos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .20);
  display: block;
}

.hero-photo.hp1 {
  /* Grande photo de fond - derrière les cartes */
  width: 82%;
  aspect-ratio: 4/5;
  top: 0%;
  left: 9%;
  transform: rotate(-1.5deg);
}

.hero-photo.hp2 {
  /* Petite photo devant les cartes - bas-droite */
  width: 38%;
  aspect-ratio: 3/4;
  bottom: -4%;
  right: -4%;
  transform: rotate(4deg);
  z-index: 2;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: var(--sp-4);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--sp-4);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* Program concept cards */
.concept-card {
  padding: var(--sp-5);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.concept-card .tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  display: inline-block;
}

.concept-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: var(--sp-2);
}

.concept-card p {
  color: var(--ink-soft);
}

.concept-card .audience {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.concept-blue {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
}

.concept-blue h3,
.concept-blue .tag {
  color: var(--cream);
}

.concept-blue p {
  color: rgba(251, 246, 233, .82);
}

.concept-blue .tag {
  color: var(--gold-soft);
}

.concept-blue .btn {
  margin-top: var(--sp-4);
  align-self: flex-start;
}

.concept-gold {
  background: linear-gradient(160deg, #fff 0%, var(--cream-deep) 100%);
  border: 1px solid var(--line);
}

.concept-gold .tag {
  color: #9a7d18;
}

.concept-gold .btn {
  margin-top: var(--sp-4);
  align-self: flex-start;
}

/* Atelier cards */
.atelier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}

.atelier:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.atelier .num {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent);
}

.atelier h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.atelier p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.atelier.special {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.atelier.special h4 {
  color: #fff;
}

.atelier.special p {
  color: rgba(251, 246, 233, .78);
}

.atelier.special .num {
  color: var(--gold-soft);
}

/* Catalogue light grid section */
.catalogue-light {
  background: var(--paper);
}

.catalogue-lhd {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-6);
}

.catalogue-sub {
  color: var(--ink-soft);
  font-size: .9rem;
  margin: var(--sp-2) 0 0;
}

.catalogue-light .atelier {
  padding: 0;
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-sm);
  gap: 0;
}

.catalogue-light .atelier:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.atelier-banner {
  height: 190px;
  background: linear-gradient(to bottom, rgba(31,56,100,.45) 0%, rgba(22,41,74,.88) 100%), var(--banner-img, none) center/cover no-repeat;
  background-color: var(--navy-deep);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: var(--sp-2) var(--sp-3);
}

.atelier-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-body);
  line-height: 1;
}

.atelier-body {
  padding: var(--sp-4);
}

.atelier-body h4 {
  margin-bottom: var(--sp-2);
}

.catalogue-light .atelier.special {
  background: var(--paper);
}

.catalogue-light .atelier.special .atelier-banner {
  background: linear-gradient(135deg, var(--gold) 0%, color-mix(in srgb, var(--gold) 55%, var(--navy-deep)) 100%);
}

.catalogue-light .atelier.special h4 {
  color: var(--primary);
}

.catalogue-light .atelier.special p {
  color: var(--ink-soft);
}

/* Bénéfices dark section */
.benefices-dark {
  background: #0d1120;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.benefices-dark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(31, 56, 100, .85) 0%, rgba(22, 41, 74, .4) 45%, transparent 75%);
  pointer-events: none;
}

.benefices-dark .wrap {
  position: relative;
  z-index: 1;
}

.benefices-lhd {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.benefices-lhd h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  margin-bottom: var(--sp-2);
}

.benefices-lhd p {
  color: rgba(255, 255, 255, .5);
  font-size: 1.05rem;
}

.benefices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.benefice-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: background .25s, border-color .25s;
}

.benefice-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(201, 162, 39, .25);
}

.benefice-card h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: var(--sp-2);
}

.benefice-card p {
  color: rgba(255, 255, 255, .48);
  font-size: .875rem;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.benefice-num {
  color: rgba(255, 255, 255, .18);
  font-size: .95rem;
  font-weight: 600;
  margin-top: var(--sp-4);
  display: block;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .benefices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.stat {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat .num .unit {
  color: var(--accent);
}

.stat .label {
  margin-top: var(--sp-2);
  color: var(--ink-soft);
  font-size: .98rem;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}

.stat+.stat {
  border-left: 1px solid var(--line);
}

/* Quote / citation */
.quote-band {
  background:
    linear-gradient(165deg, rgba(31, 56, 100, 0.80) 0%, rgba(22, 41, 74, 0.88) 100%),
    url('./images/reason.webp') center / cover fixed;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: 4%;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(201, 162, 39, .12);
  line-height: 1;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.25;
  font-weight: 500;
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-band .qsrc {
  text-align: center;
  margin-top: var(--sp-4);
  color: var(--gold-soft);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.quote-band .accent-word {
  color: var(--gold-soft);
  font-style: italic;
}

/* CTA banner */
.cta-banner {
  background: var(--accent);
  border-radius: 22px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 41, 74, .18);
  top: -180px;
  right: -120px;
}

.cta-banner h2 {
  color: var(--navy-deep);
  position: relative;
}

.cta-banner p {
  color: rgba(22, 41, 74, .78);
  max-width: 50ch;
  margin: var(--sp-3) auto var(--sp-5);
  position: relative;
  font-weight: 500;
}

.cta-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: var(--sp-4);
  position: relative;
}

.cta-targets .chip {
  background: rgba(22, 41, 74, .10);
  color: var(--navy-deep);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .9rem;
}

/* Section heading block */
.shead {
  max-width: 60ch;
  margin-bottom: var(--sp-6);
}

.shead.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.shead p {
  color: var(--ink-soft);
  margin-top: var(--sp-3);
  font-size: 1.1rem;
}

/* Page hero (interior pages) */
.page-hero {
  padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 70px);
  position: relative;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lead {
  max-width: 52ch;
  margin-top: var(--sp-5);
}

.page-hero.on-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  margin-bottom: 0;
}

.page-hero.on-navy h1 {
  color: #fff;
}

.page-hero.on-navy .lead {
  color: rgba(251, 246, 233, .82);
}

.page-hero.on-navy .eyebrow {
  color: var(--gold-soft);
}

.page-hero.on-navy .eyebrow::before {
  display: none;
}

/* Connectés page-hero : image droite + dégradé gauche */
#connectes .page-hero {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

#connectes .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./images/programme-seniors.webp') right center / cover no-repeat;
  transform: scaleX(-1);
  z-index: 0;
}

#connectes .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 45%, rgba(31, 56, 100, 0.5) 65%, transparent 80%);
  z-index: 1;
}

#connectes .page-hero .wrap {
  position: relative;
  z-index: 2;
}

#connectes .page-hero h1 {
  color: #fff;
}

#connectes .page-hero .lead {
  color: rgba(251, 246, 233, .82);
}

#connectes .page-hero .eyebrow {
  color: var(--gold-soft);
}

#connectes .page-hero .eyebrow::before {
  display: none;
}

/* IA page-hero : image droite + dégradé gauche */
#ia .page-hero {
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}

#ia .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./images/programme-ia.webp') right center / cover no-repeat;
  z-index: 0;
}

#ia .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 40%, rgba(22, 41, 74, 0.6) 65%, transparent 85%);
  z-index: 1;
}

#ia .page-hero .wrap {
  position: relative;
  z-index: 2;
}

#ia .page-hero h1 {
  color: #fff;
}

#ia .page-hero .lead {
  color: rgba(251, 246, 233, .82);
}

#ia .page-hero .eyebrow {
  color: var(--gold-soft);
}

#ia .page-hero .eyebrow::before {
  display: none;
}

/* Approche page-hero : photo Anthony fond + dégradé */
#approche .page-hero {
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}

#approche .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./images/reason.webp') center center / cover no-repeat;
  z-index: 0;
}

#approche .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 42%, rgba(22, 41, 74, 0.55) 65%, transparent 82%);
  z-index: 1;
}

#approche .page-hero .wrap {
  position: relative;
  z-index: 2;
}

#approche .page-hero h1 { color: #fff; }

#approche .page-hero .lead {
  color: rgba(251, 246, 233, .82);
}

#approche .page-hero .eyebrow {
  color: var(--gold-soft);
}

#approche .page-hero .eyebrow::before {
  display: none;
}

/* Pourquoi agir card */
.pourquoi-card {
  padding: clamp(20px, 4vw, 48px) 0;
}

.pourquoi-head {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.pourquoi-head h2 {
  max-width: 36ch;
  margin: var(--sp-3) auto 0;
  position: relative;
}

.pourquoi-head h2::after {
  content: '';
  display: block;
  width: 220px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  margin: var(--sp-3) auto 0;
}

.pourquoi-grid {
  align-items: stretch;
}

.pourquoi-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.pourquoi-icon {
  position: relative;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-body);
  white-space: nowrap;
  margin-bottom: var(--sp-1);
}

.icon-ghost {
  color: rgba(22, 41, 74, 0.08);
  display: block;
}

.icon-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 41, 74, 0.45);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pourquoi-item.d2 .icon-fill { transition-delay: 0.15s; }
.pourquoi-item.d3 .icon-fill { transition-delay: 0.3s; }

.pourquoi-item.in .icon-fill {
  clip-path: inset(0 0 0% 0);
}

.pourquoi-item h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.pourquoi-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
  max-width: 22ch;
  line-height: 1.6;
}

.pourquoi-num {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(22, 41, 74, 0.08);
  line-height: 1;
  font-family: var(--font-body);
  white-space: nowrap;
}

/* Two-col feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.feature.flip> :first-child {
  order: 2;
}

/* Benefits list */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefits .bmark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .16);
  color: #9a7d18;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}

.benefits.on-navy .bmark {
  background: rgba(201, 162, 39, .25);
  color: var(--gold-soft);
}

.benefits strong {
  color: var(--primary);
}

.benefits.on-navy strong {
  color: #fff;
}

.benefits.on-navy li {
  color: rgba(251, 246, 233, .84);
}

/* Testimonials */
.testi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
}

.testi .stars {
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: var(--sp-3);
  font-size: .9rem;
}

.testi blockquote {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.4;
  color: var(--primary);
  margin: 0 0 var(--sp-4);
  font-style: italic;
}

.testi .who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.testi .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}

.testi .who .name {
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem;
}

.testi .who .role {
  font-size: .82rem;
  color: var(--ink-soft);
}

/* Gallery placeholders */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.gallery-img.wide {
  grid-column: span 2;
  aspect-ratio: 16/10;
}

.ph {
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background-image: repeating-linear-gradient(45deg, rgba(31, 56, 100, .05) 0 10px, transparent 10px 20px);
  background-color: var(--cream-deep);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .76rem;
  text-align: center;
  padding: 16px;
  position: relative;
}

.ph::before {
  content: "▦";
  position: absolute;
  top: 12px;
  left: 14px;
  opacity: .35;
  font-size: .9rem;
}

/* Pillars (IA) */
.pillar {
  padding: var(--sp-5);
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}

.pillar .pnum {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.3rem;
}

.pillar h3 {
  margin-bottom: var(--sp-2);
}

.pillar p {
  color: var(--ink-soft);
  margin: 0;
}

/* Age tranches */
.tranche {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.tranche .top {
  padding: var(--sp-4);
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
}

.tranche .top .age {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}

.tranche .top .who {
  font-weight: 600;
  margin-top: 6px;
}

.tranche .body {
  padding: var(--sp-4);
}

.tranche .body p {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Steps (approche) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: var(--sp-5);
}

.step .sn {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--cream-deep);
  line-height: 1;
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 0;
}

.step h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  margin-bottom: 8px;
}

.step p {
  font-size: .9rem;
  color: var(--ink-soft);
  position: relative;
  margin: 0;
}

.step::after {
  content: "→";
  position: absolute;
  top: 8px;
  right: -14px;
  color: var(--accent);
  font-size: 1.2rem;
}

.step:last-child::after {
  display: none;
}

/* Timeline (étapes) */
.timeline {
  position: relative;
  max-width: 860px;
  margin: var(--sp-5) auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--line) 100%);
  z-index: 0;
}

.tl-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
}

.tl-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: var(--sp-3) 0;
}

.tl-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--cream);
  flex-shrink: 0;
}

.tl-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  margin: var(--sp-3) 0;
}

.tl-content.tl-left {
  transform: translateX(-28px);
  opacity: 0;
  transition: transform .55s ease, opacity .55s ease;
}

.tl-content.tl-right {
  transform: translateX(28px);
  opacity: 0;
  transition: transform .55s ease, opacity .55s ease;
}

.tl-content.visible {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.tl-content h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.tl-content p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

.tl-spacer { min-height: 60px; }

@media (prefers-reduced-motion: reduce) {
  .tl-content.tl-left,
  .tl-content.tl-right {
    transform: none;
    opacity: 1;
  }
}

/* Values */
.value {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
}

.value .vn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  flex: none;
  width: 40px;
}

.value h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.value p {
  color: var(--ink-soft);
  margin: 0;
}

/* Value cards — topographic style */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.value-card {
  --bg: #dce4f0;
  --tc: rgba(22, 41, 74, .13);
  position: relative;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 55px 40px at 78% 68%, transparent 90%, var(--tc) 90%, var(--tc) 92%, transparent 92%),
    radial-gradient(ellipse 100px 74px at 78% 68%, transparent 90%, var(--tc) 90%, var(--tc) 92%, transparent 92%),
    radial-gradient(ellipse 148px 110px at 78% 68%, transparent 90%, var(--tc) 90%, var(--tc) 92%, transparent 92%),
    radial-gradient(ellipse 198px 148px at 78% 68%, transparent 90%, var(--tc) 90%, var(--tc) 92%, transparent 92%),
    radial-gradient(ellipse 250px 188px at 78% 68%, transparent 90%, var(--tc) 90%, var(--tc) 92%, transparent 92%),
    radial-gradient(ellipse 304px 228px at 78% 68%, transparent 90%, var(--tc) 90%, var(--tc) 92%, transparent 92%);
  overflow: hidden;
}

.value-card.vc-green  { --bg: #d4eedd; --tc: rgba(14, 88, 44, .13); }
.value-card.vc-gold   { --bg: #f0e8ce; --tc: rgba(168, 122, 24, .15); }
.value-card.vc-purple { --bg: #e0d4f0; --tc: rgba(72, 28, 140, .13); }

.value-card .vc-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(22, 41, 74, .18);
  margin-bottom: var(--sp-2);
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy-deep);
  margin-bottom: var(--sp-2);
}

.value-card p {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Portrait */
.portrait-block {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: var(--sp-6);
  align-items: center;
}

.portrait {
  aspect-ratio: 3/4;
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.3;
  color: var(--primary);
  font-weight: 500;
}

.founder-name {
  margin-top: var(--sp-4);
}

.founder-name .n {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.founder-name .r {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: var(--sp-4) 44px var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  position: relative;
  display: block;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .3s var(--ease);
  font-family: var(--font-body);
}

.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-a p {
  padding: 0 44px var(--sp-4) 0;
  color: var(--ink-soft);
  margin: 0;
}

/* Resources / blog */
.res-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .98rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .14);
}

.search-box .ic {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--cream);
  border-color: var(--primary);
}

.article {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.article .thumb {
  aspect-ratio: 16/10;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: -1px -1px 0;
  width: 100%;
  object-fit: cover;
  display: block;
}

.article .body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article .cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.article h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.article p {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0 0 var(--sp-3);
}

.article .meta {
  margin-top: auto;
  font-size: .82rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article .read {
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.no-results {
  text-align: center;
  padding: var(--sp-6);
  color: var(--ink-soft);
  grid-column: 1 / -1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: var(--sp-6);
  align-items: start;
}

.contact-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: var(--cream);
  border-radius: 18px;
  padding: var(--sp-5);
}

.contact-card h3 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--sp-3) 0;
  border-top: 1px solid rgba(251, 246, 233, .14);
}

.contact-row:first-of-type {
  border-top: 0;
}

.contact-row .ci {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 162, 39, .18);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-row .cl {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.contact-row .cv {
  font-size: 1rem;
  color: #fff;
  word-break: break-word;
}

.contact-row a.cv:hover {
  color: var(--gold-soft);
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.field {
  margin-bottom: var(--sp-3);
}

.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
}

.field label .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .96rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .14);
  background: #fff;
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #c0392b;
  background: #fdf3f2;
}

.field .err-msg {
  color: #c0392b;
  font-size: .8rem;
  margin-top: 6px;
  display: none;
}

.field.error .err-msg {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-5);
}

.form-success.show {
  display: block;
  animation: pageIn .5s var(--ease) both;
}

.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .16);
  color: #9a7d18;
  display: grid;
  place-items: center;
  margin: 0 auto var(--sp-3);
  font-size: 1.8rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(251, 246, 233, .7);
  padding: var(--sp-6) 0 var(--sp-4);
  margin-top: var(--sp-7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(251, 246, 233, .12);
}


.footer-about {
  max-width: 38ch;
  margin-top: var(--sp-3);
  font-size: .92rem;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-body);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-3);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: .94rem;
  cursor: pointer;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-4);
  font-size: .84rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(251, 246, 233, .7);
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom a:hover {
  color: var(--gold-soft);
}

/* Tilt */
.tilt {
  transition: transform .2s var(--ease);
  transform-style: preserve-3d;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .float-stage {
    height: 380px;
    max-width: 460px;
    margin: 0 auto;
  }

  .grid-3,
  .grid-4,
  .stats,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature,
  .portrait-block,
  .contact-grid,
  .concept-card~.concept-card,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .feature.flip> :first-child {
    order: 0;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-img.wide {
    grid-column: span 2;
  }

  .step::after {
    display: none;
  }

  .stat+.stat {
    border-left: 0;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
    z-index: 40;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 6px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: var(--sp-3);
    text-align: center;
    border-bottom: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .portrait-block {
    gap: var(--sp-5);
  }

  .portrait {
    max-width: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Timeline collapses to single side */
  .timeline::before {
    left: 22px;
    transform: none;
  }

  .tl-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .tl-spacer { display: none; }

  .tl-center { order: -1; flex-shrink: 0; padding: var(--sp-3) 0 0; }

  .tl-content.tl-left,
  .tl-content.tl-right {
    flex: 1;
    transform: translateX(16px);
  }
}

@media (max-width: 560px) {
  :root {
    --sp-7: 64px;
    --sp-6: 48px;
  }

  .wrap {
    padding: 0 var(--sp-3);
  }

  .grid-3,
  .grid-4,
  .stats,
  .steps,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stat+.stat {
    border-top: 1px solid var(--line);
    padding-top: var(--sp-4);
  }

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

  .float-card {
    width: 200px;
  }

  .cta-targets {
    gap: 8px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .res-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  #connectes .page-hero::after {
    background: linear-gradient(to bottom, rgba(22, 41, 74, .90) 0%, rgba(22, 41, 74, .78) 100%);
  }

  #ia .page-hero::after {
    background: linear-gradient(to bottom, rgba(22, 41, 74, .92) 0%, rgba(22, 41, 74, .80) 100%);
  }

  #approche .page-hero::after {
    background: linear-gradient(to bottom, rgba(22, 41, 74, .92) 0%, rgba(22, 41, 74, .80) 100%);
  }

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