/* ==========================================================================
   Maquette Globall'Star : feuille de style unique
   Polices servies en local (aucun appel à un service tiers).
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Palette bleu violet, définie une seule fois */
  --navy: #1C1A5E;        /* nuit indigo : fonds foncés, titres */
  --navy-deep: #13113F;   /* ombre de la nuit indigo : pied de page, en-tête */
  --blue: #5A46D8;        /* bleu violet vif : accent, boutons, liens */
  --mid: #3B5BDB;         /* bleu intermédiaire : dégradés uniquement */
  --lavender: #A99BF5;    /* lavande : accents clairs, séparateurs */
  --bg: #F5F3FF;          /* fond clair */
  --ink: #1A1833;         /* texte */
  --muted: #5E5B78;       /* gris secondaire */
  --gold: #E2A33C;        /* or : uniquement l'étoile et les chiffres clés */
  --white: #fff;
  --tint: #ECE8FF;        /* aplat lavande très clair */
  --tint-deep: #DCD5FA;
  --line: rgba(28, 26, 94, .14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1200px;
  --radius: 18px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.eyebrow .star { width: .95em; height: .95em; color: var(--gold); }
.on-dark .eyebrow, .eyebrow--light, .hero .eyebrow, .page-hero .eyebrow { color: var(--lavender); }
.on-dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .cta__card :focus-visible { outline-color: var(--lavender); }
.section-title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); color: var(--navy); margin-bottom: 1.1rem; }
.section-head .section-title { margin-bottom: 0; }
.on-dark .section-title { color: var(--white); }
.section-title em, .hero h1 em { font-style: italic; font-weight: 400; color: var(--blue); }
.on-dark .section-title em { color: var(--lavender); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: rgba(255, 255, 255, .82); }
.star { display: inline-block; fill: currentColor; flex: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .85em 1.6em; border-radius: 999px; font: 700 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--lavender); box-shadow: 0 8px 24px -10px rgba(90, 70, 216, .9); }
.btn--primary:hover { background: #6A57E6; }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(19, 17, 63, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--white); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: clamp(150px, 16vw, 188px); color: var(--white); text-decoration: none; line-height: 0; }
.logo img { display: block; width: 100%; height: auto; border-radius: 10px; background: #F1F0F6; }
.site-header .logo { width: auto; }
.site-header .logo img { height: calc(var(--header-h) - 22px); width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 2px; color: rgba(255, 255, 255, .86); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--lavender); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav__cta { background: var(--blue); color: var(--white); border: 1px solid var(--lavender); padding: 9px 20px; border-radius: 999px; font-weight: 700; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: #6A57E6; color: var(--white); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--white); cursor: pointer; border-radius: 12px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin-inline: auto; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 28px; background: var(--navy-deep); border-bottom: 1px solid rgba(255, 255, 255, .1); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 2px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a::after { display: none; }
  .nav .nav__cta { margin-top: 18px; text-align: center; border: 0; padding: 16px; }
}

/* ---------- Badge maquette ---------- */

/* ---------- Constellation (SVG + CSS) ---------- */
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.constellation line, .constellation polyline { stroke: rgba(169, 155, 245, .42); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: draw 2.4s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .22s + .3s); }
.constellation .pt { fill: var(--lavender); opacity: 0; animation: pop .8s var(--ease) forwards, twinkle 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .22s + .5s), calc(var(--i, 0) * .6s + 2s); transform-box: fill-box; transform-origin: center; }
.constellation .pt--w { fill: #fff; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: .95; transform: scale(1); } }
@keyframes twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, var(--mid) 0%, var(--navy) 46%, var(--navy-deep) 100%); color: var(--white); overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(120px, 14vw, 170px); isolation: isolate; }
.hero .constellation { z-index: -1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 1.4rem + 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 600; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--lavender); }
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); color: rgba(255, 255, 255, .86); max-width: 38ch; margin: 1.5rem 0 2.2rem; }
.hero__lead--2 { margin-top: -1rem; font-size: clamp(1rem, .95rem + .4vw, 1.15rem); color: rgba(255, 255, 255, .78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px 24px 24px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .14); }
.hero__media::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1.5px solid var(--lavender); border-radius: 236px 236px 28px 28px; opacity: .75; z-index: -1; }
.hero__frame video, .hero__frame .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__frame .hero__poster { display: none; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 26, 94, .22) 0%, rgba(28, 26, 94, .12) 40%, rgba(19, 17, 63, .55) 100%); pointer-events: none; }
.hero__star { position: absolute; width: 56px; height: 56px; color: var(--gold); right: -14px; bottom: 70px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(8deg); } }
.video-toggle { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(19, 17, 63, .7); color: var(--white); font: 600 .8rem/1 var(--font-body); cursor: pointer; backdrop-filter: blur(6px); }
.video-toggle:hover { background: rgba(19, 17, 63, .92); }
.video-toggle svg { width: 12px; height: 12px; fill: currentColor; }

@media (max-width: 860px) {
  .hero { padding-top: var(--header-h); padding-bottom: 130px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  /* Mobile : vidéo verticale pleine largeur, en tête, qui se fond dans le bleu nuit */
  .hero__media { order: -1; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); }
  .hero__media::before, .hero__star { display: none; }
  .hero__frame { border-radius: 0; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; box-shadow: none; }
  .hero__frame::after { background: linear-gradient(180deg, rgba(28, 26, 94, .35) 0%, rgba(28, 26, 94, .15) 30%, rgba(19, 17, 63, .6) 72%, var(--navy) 100%); }
  .hero__text { margin-top: -64px; position: relative; z-index: 2; }
  .video-toggle { bottom: 80px; left: auto; right: var(--gutter); transform: none; }
}

/* Moins d'animations : image fixe à la place de la vidéo */
@media (prefers-reduced-motion: reduce) {
  .hero__frame video, .video-toggle { display: none; }
  .hero__frame .hero__poster { display: block; }
}
.reduce-motion .hero__frame video, .reduce-motion .video-toggle { display: none; }
.reduce-motion .hero__frame .hero__poster { display: block; }

/* ---------- Bandeau JOJ ---------- */
.surmesure { position: relative; z-index: 6; margin-top: -78px; }
.surmesure__card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(30px, 4.4vw, 58px) clamp(24px, 4.6vw, 64px); background: var(--white); border-radius: var(--radius); border-left: 6px solid var(--blue); box-shadow: 0 30px 70px -30px rgba(19, 17, 63, .55); }
.surmesure h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); color: var(--navy); line-height: 1.05; }
.surmesure h2 em { display: block; font-style: italic; font-weight: 400; font-size: clamp(2.8rem, .6rem + 7vw, 6rem); white-space: nowrap; line-height: .95; letter-spacing: -.03em; padding: .04em 0 .12em; color: var(--blue); background: linear-gradient(transparent 78%, rgba(169, 155, 245, .55) 78%); width: fit-content; max-width: 100%; }
.surmesure__text p { margin: 0; color: var(--ink); font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); }
.surmesure__text p + p { margin-top: .9rem; color: var(--muted); }
@media (max-width: 900px) { .surmesure__card { grid-template-columns: 1fr; } }
.joj { position: relative; z-index: 5; margin-top: clamp(20px, 3vw, 32px); }
.joj__card { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(26px, 3.4vw, 40px) clamp(24px, 4vw, 52px); background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(19, 17, 63, .5); border-left: 6px solid var(--blue); }
.joj__badge { text-align: center; padding-right: clamp(20px, 3vw, 44px); border-right: 1px solid var(--line); }
.joj__badge strong { display: block; font: 600 clamp(3.2rem, 2.4rem + 3vw, 4.6rem)/1 var(--font-display); color: var(--navy); }
.joj__badge span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.joj h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); color: var(--navy); margin-bottom: .5rem; }
.joj p { margin: 0; color: var(--muted); max-width: 62ch; }
.joj .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .joj__card { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .joj__badge { text-align: left; border: 0; padding: 0; display: flex; align-items: baseline; gap: 12px; }
  .joj__badge strong { font-size: 3.2rem; }
  .joj .btn { justify-self: start; }
}

/* ---------- Qui sommes-nous ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.about__text p { max-width: 56ch; }
.timeline { position: relative; margin-top: 2.2rem; padding-left: 34px; border-left: 2px solid var(--line); display: grid; gap: 28px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -45px; top: 4px; width: 20px; height: 20px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.timeline strong { display: block; font: 600 2rem/1 var(--font-display); color: var(--navy); margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }
.about__aside { position: relative; }
.about__figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(19, 17, 63, .5); }
.about__figure img { width: 100%; height: 100%; object-fit: cover; }
.about__quote { margin: -56px 0 0 clamp(0px, 4vw, 40px); position: relative; max-width: 360px; padding: 24px 26px; background: var(--navy); color: var(--white); border-radius: 14px; font: 400 italic 1.25rem/1.4 var(--font-display); box-shadow: 0 24px 50px -20px rgba(19, 17, 63, .7); }
.about__quote .star { width: 22px; height: 22px; color: var(--gold); display: block; margin-bottom: 8px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__figure { aspect-ratio: 4 / 3; } .about__quote { margin-left: 16px; margin-right: 16px; } }

/* ---------- Pôles ---------- */
.poles { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(19, 17, 63, .45); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--navy); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__num { position: absolute; left: 24px; top: -24px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font: 600 1.2rem/1 var(--font-display); box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .4); z-index: 2; }
.card__body { position: relative; padding: 38px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: .7rem; }
.card p { color: var(--muted); }
.card__list { display: grid; gap: 9px; margin: .6rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.card__list li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.card__list li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .45em; background: var(--blue); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transform: scale(1.5); }
.card--accent { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card--accent h3 { color: var(--white); }
.card--accent p { color: rgba(255, 255, 255, .82); }
.card--accent .card__list { border-color: rgba(255, 255, 255, .18); }
.card--accent .card__list li::before { background: var(--lavender); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Approche ---------- */
.approach { background: var(--tint); overflow: hidden; }
.approach__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.circles { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.circles svg { width: 100%; height: 100%; overflow: visible; }
.circles .ring { fill: rgba(28, 26, 94, .06); stroke: var(--navy); stroke-width: 1.5; }
.circles .ring--b { fill: rgba(169, 155, 245, .22); stroke: var(--lavender); }
.circles .ring--c { fill: rgba(90, 70, 216, .1); stroke: var(--blue); }
.circles .ring--d { fill: rgba(59, 91, 219, .12); stroke: var(--mid); }
.circles text { font: 600 15px var(--font-display); fill: var(--navy); text-anchor: middle; }
.circles .core { fill: var(--gold); }
.approach h3 { font-size: 1.45rem; color: var(--navy); margin: 0 0 .5rem; }
.approach__block + .approach__block { margin-top: 2.4rem; }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 1.2rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 18px; background: rgba(255, 255, 255, .7); border-radius: 14px; border: 1px solid rgba(90, 70, 216, .2); }
.steps li::before { content: counter(s); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--lavender); font: 600 1.15rem/1 var(--font-display); }
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); }
@media (max-width: 860px) { .approach__grid { grid-template-columns: 1fr; } .circles { max-width: 380px; } }

/* ---------- Valeurs ---------- */
.values__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 56px); }
.value { position: relative; padding: 30px 24px 28px; border-top: 3px solid var(--navy); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px -28px rgba(19, 17, 63, .35); }
.value .star { width: 28px; height: 28px; color: var(--gold); margin-bottom: 18px; }
.value h3 { font-size: 1.55rem; color: var(--navy); margin-bottom: .5rem; }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .values__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } .value { grid-column: span 2; } .value:nth-child(4) { grid-column: 2 / span 2; } .value:nth-child(5) { grid-column: 4 / span 2; } }
@media (max-width: 640px) { .values__list { grid-template-columns: 1fr; } .value, .value:nth-child(4), .value:nth-child(5) { grid-column: auto; } }

/* ---------- Repères chiffrés ---------- */
.figures { background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.figures .constellation { z-index: -1; opacity: .7; }
.figures__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.figure { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .28); }
.figure strong { display: block; font: 600 clamp(2.8rem, 2rem + 3vw, 4.6rem)/1 var(--font-display); color: var(--gold); letter-spacing: -.02em; }
.figure span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .85); }
@media (max-width: 960px) { .figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* ---------- Appel à l'action ---------- */
.cta__card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 80px); border-radius: 28px; background: linear-gradient(135deg, var(--navy) 0%, var(--mid) 100%); color: var(--white); box-shadow: 0 40px 80px -40px rgba(19, 17, 63, .8); }
.cta__card .constellation { z-index: -1; opacity: .85; }
.cta__card h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 18ch; margin: 0 auto 1.1rem; }
.cta__card h2 em { font-style: italic; font-weight: 400; color: var(--lavender); }
.cta__card p { max-width: 54ch; margin: 0 auto 2rem; color: rgba(255, 255, 255, .85); }
.cta__card .hero__cta { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: clamp(56px, 7vw, 88px) 0 90px; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.site-footer .logo { width: 190px; margin-bottom: 18px; }
.site-footer h2 { font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--lavender); margin-bottom: 1.1rem; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin-top: clamp(36px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .88rem; color: rgba(255, 255, 255, .62); }
.todo { background: rgba(169, 155, 245, .2); color: #D9D2FF; padding: 1px 7px; border-radius: 5px; font-weight: 600; white-space: nowrap; }
.on-light .todo, .page-body .todo { background: var(--tint); color: #3F2FB0; }
a.is-placeholder { cursor: default; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Pages secondaires ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 120% at 90% 0%, var(--mid) 0%, var(--navy) 52%, var(--navy-deep) 100%); color: var(--white); padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(56px, 8vw, 96px); }
.page-hero .constellation { z-index: -1; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem); max-width: 18ch; letter-spacing: -.02em; }
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--lavender); }
.page-hero .lead { margin-top: 1.3rem; color: rgba(255, 255, 255, .86); }
.breadcrumb { font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 1.4rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-body { padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 120px); }
.page-body__intro { max-width: 70ch; font-size: 1.12rem; }
.page-body__intro p { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }
.facts li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .96rem; color: var(--navy); }
.contact-list { display: grid; gap: 14px; margin-top: 1.6rem; }
.contact-list li { padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.contact-list small { display: block; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; margin-bottom: 4px; }
.legal-list { display: grid; gap: 10px; margin-top: 1.4rem; }
.legal-list li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-list li > span:first-child { color: var(--muted); font-weight: 700; font-size: .9rem; }
@media (max-width: 720px) {
        .legal-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Révélations au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .constellation line, .constellation polyline { stroke-dashoffset: 0; }
  .constellation .pt { opacity: .9; }
}
.contact-list a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-list strong { display: block; font: 600 1.2rem/1.2 var(--font-display); color: var(--navy); }
.contact-list li > span:not(.todo) { display: block; color: var(--muted); font-size: .92rem; }
.site-footer li strong { color: var(--white); font-weight: 600; }
.site-footer li a[href^="mailto"] { overflow-wrap: anywhere; }

/* Pages en aperçu : liste de points et profilage */
.points { display: grid; gap: 12px; margin: 1.6rem 0 0; }
.points li { position: relative; padding-left: 30px; color: var(--ink); }
.points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: var(--blue); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.profilage { margin-top: 2.4rem; padding: clamp(22px, 3vw, 32px); background: var(--tint); border-radius: var(--radius); }
.profilage h3 { font-size: 1.45rem; color: var(--navy); margin: 0 0 .5rem; }

/* Photos : galerie dans les cartes, photo en ligne */
.mini-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.2rem; }
.mini-gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.inline-photo { margin: 1.8rem 0 0; max-width: 520px; }
.inline-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 50px -28px rgba(28, 26, 94, .5); }

/* Présentation du SAS */
.sas { background: var(--tint); }
.sas .section-title { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.8rem); max-width: 22ch; }
.sas__intro { max-width: 70ch; }
.sas__needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 1.4rem 0 2.4rem; counter-reset: n; }
.sas__needs li { counter-increment: n; position: relative; padding: 62px 24px 26px; background: var(--white); border-radius: var(--radius); border-top: 3px solid var(--blue); box-shadow: 0 18px 40px -28px rgba(28, 26, 94, .35); }
.sas__needs li::before { content: counter(n); position: absolute; left: 24px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--lavender); font: 600 1.05rem/1 var(--font-display); }
.sas__needs p { margin: 0; color: var(--ink); }
.sas__more { max-width: 70ch; }
.sas__more p { color: var(--muted); }
@media (max-width: 860px) { .sas__needs { grid-template-columns: 1fr; } }

/* Pages intérieures : blocs de contenu */
.block { padding-block: clamp(48px, 6vw, 84px); }
.block--alt { background: var(--tint); }
.block .section-title { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem); }
.block .section-head { margin-bottom: clamp(24px, 3.4vw, 44px); }
.prose { max-width: 70ch; }
.prose p { color: var(--ink); }
.prose .btn { margin-top: .6rem; }
.mini-title { font-size: 1.25rem; color: var(--navy); margin: 1.6rem 0 .5rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .inline-photo { margin: 0; max-width: none; }
.inline-photo--tall img { aspect-ratio: 1; }
.inline-photo--tall { max-width: 440px; justify-self: end; }
.duo { display: grid; gap: 14px; }
.duo .inline-photo img { aspect-ratio: 16 / 10; }
.pull { margin: 0; padding: 30px 32px; background: var(--navy); color: var(--white); border-radius: var(--radius); font: 400 italic clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.35 var(--font-display); box-shadow: 0 24px 50px -24px rgba(28, 26, 94, .7); }
.pull .star { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
.pull p { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { padding: 26px 24px; background: var(--white); border-radius: var(--radius); border-top: 3px solid var(--blue); box-shadow: 0 18px 40px -28px rgba(28, 26, 94, .35); }
.block--alt .tile { background: var(--white); }
.tile h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .5rem; }
.tile p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .tiles--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiles--3, .tiles--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tiles, .tiles--3, .tiles--5 { grid-template-columns: 1fr; } }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0; }
.keyfacts div { padding: 22px 22px 24px; background: var(--white); border-radius: var(--radius); border-top: 3px solid var(--blue); box-shadow: 0 18px 40px -28px rgba(28, 26, 94, .35); }
.keyfacts dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.keyfacts dd { margin: 0; font: 600 1.25rem/1.25 var(--font-display); color: var(--navy); }
@media (max-width: 960px) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .keyfacts { grid-template-columns: 1fr; } }
.phases { display: grid; gap: 18px; margin: 0 0 2rem; counter-reset: ph; }
.phases li { position: relative; padding: 22px 24px 22px 74px; background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 40px -28px rgba(28, 26, 94, .35); counter-increment: ph; }
.phases li::before { content: counter(ph); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--lavender); font: 600 1.05rem/1 var(--font-display); }
.phases strong { display: block; font: 600 1.2rem/1.25 var(--font-display); color: var(--navy); margin-bottom: 6px; }
.phases p { margin: 0; color: var(--muted); }
.phases a { color: var(--blue); font-weight: 600; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Actualité ---------- */
.news { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 24px 50px -32px rgba(28, 26, 94, .45); }
.news__fig { margin: 0; }
.news__fig img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 4px); }
.news__date { font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 .8rem; }
.news__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); line-height: 1.2; color: var(--navy); margin: 0 0 .8rem; }
.news__body p + p { margin-top: .8rem; }
@media (max-width: 780px) { .news { grid-template-columns: 1fr; } }
