@font-face { font-family: "Jasmine Bloom"; src: url("../assets/fonts/JasmineBloom.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Extrabold.otf") format("opentype"); font-weight: 800; font-display: swap; }

:root {
  --blue: #1D38D8;
  --blue-deep: #0E1E8A;
  --ink: #070F45;
  --white: #FFFFFF;
  --paper: #F3F4FB;
  --display: "Jasmine Bloom", "Cabinet Grotesk", system-ui, sans-serif;
  --body: "Cabinet Grotesk", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--white); color: var(--blue); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo ---------- */
.title-xl, .title-lg, .hero__title, .contact__big, .marquee, .loader__count, .sport__name {
  font-family: var(--display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .01em;
}
.title-xl { font-size: clamp(56px, 11vw, 180px); margin: .15em 0 .2em; }
.title-lg { font-size: clamp(44px, 6vw, 96px); margin: 0 0 .2em; }
.lead { font-size: clamp(18px, 1.6vw, 24px); max-width: 34ch; font-weight: 500; }
.tag {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .55em 1em; border: 1.5px solid currentColor; border-radius: 99px;
}
.tag--blue { color: var(--blue); }
.arrow { display: inline-block; font-family: var(--body); font-weight: 800; transform: translateY(-.05em); }

/* Jasmine Bloom n'a pas de lettres accentuées : on pose l'accent par-dessus la lettre de base */
.acc { position: relative; display: inline-block; }
.acc::after { content: attr(data-a); position: absolute; left: 50%; top: -.12em; transform: translateX(-45%) rotate(-6deg); font: 800 .5em/1 var(--body); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--blue);
  display: grid; place-items: center;
}
.loader__logo { width: min(36vw, 220px); fill: var(--white); }
.loader__logo path { transform-box: fill-box; }
.loader__count {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  font-size: clamp(64px, 14vw, 200px);
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 2px var(--white); pointer-events: none;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
}
.cursor__label { font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-big { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cursor.is-big .cursor__label { font-size: 10px; letter-spacing: .08em; }
.cursor.is-big .cursor__label { opacity: 1; color: var(--white); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  color: var(--white);
  transition: color .4s var(--ease), padding .35s var(--ease);
}
.nowrap { white-space: nowrap; }
.nav a { text-decoration: none; }
.nav__brand { display: flex; align-items: center; gap: 10px; height: 48px; font-family: var(--display); font-size: 26px; border-radius: 99px; transition: gap .4s var(--ease), padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.nav__brand svg { width: 40px; fill: currentColor; transition: width .4s var(--ease), fill .4s; }
.nav__brand span { display: inline-block; max-width: 8em; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease), opacity .3s; }
/* Une fois la page défilée : plus de bandeau, seulement deux bulles (logo C7 + menu) */
.nav.is-scrolled .nav__brand { gap: 0; padding: 0 10px; background: var(--white); box-shadow: 0 8px 24px -10px rgb(7 15 69 / .55); }
.nav.is-scrolled .nav__brand svg { width: 28px; fill: var(--blue); }
.nav.is-scrolled .nav__brand span { max-width: 0; opacity: 0; }
.nav.is-scrolled .nav__links { display: none; }
.nav.is-scrolled .nav__burger { display: block; box-shadow: 0 8px 24px -10px rgb(7 15 69 / .55); animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
body.menu-open .nav__brand { box-shadow: none; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 34px); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); cursor: pointer; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--blue); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 27px; }
body.menu-open .nav { color: var(--white); }
body.menu-open .nav__burger { background: var(--white); }
body.menu-open .nav__burger span { background: var(--blue); }
body.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 45; background: var(--blue); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 40px; }
.mmenu[hidden] { display: none; }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu nav a { position: relative; align-self: flex-start; font-family: var(--display); font-size: clamp(48px, 14vw, 72px); line-height: 1.05; text-decoration: none; }
.mmenu nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.mmenu nav a:hover::after, .mmenu nav a:focus-visible::after, .mmenu nav a:active::after { transform: scaleX(1); transform-origin: left; }
.mmenu__ig { align-self: flex-start; background: var(--white); color: var(--blue); font-weight: 800; text-decoration: none; padding: .7em 1.4em; border-radius: 99px; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px var(--gutter) var(--gutter);
  pointer-events: none;
}
.hero__inner a { pointer-events: auto; }
.hero__kicker { margin: 0; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.hero__title {
  margin: auto 0 0; font-size: clamp(48px, 17.5vw, 330px);
  line-height: .8; white-space: nowrap; display: flex;
}
.hero__title .split { display: inline-block; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 24px; }
.hero__bottom p { margin: 0; font-size: clamp(16px, 1.5vw, 22px); font-weight: 500; }
.hero__scroll { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.hero__scroll i { width: 1.5px; height: 48px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--white); color: var(--blue); overflow: hidden; padding: 18px 0; font-size: clamp(36px, 5vw, 72px); transform: rotate(-2deg) scale(1.04); margin: 20px 0; }
.marquee__track { display: flex; gap: .5em; width: max-content; animation: marquee 28s linear infinite; }
.marquee b { font-family: var(--body); font-size: .5em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(80px, 16vh, 200px) var(--gutter); }
.manifesto__text { margin: 0 auto; max-width: 1200px; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.manifesto__text em { font-family: var(--display); font-style: normal; font-weight: 400; }
.manifesto__text .w { display: inline-block; opacity: .18; }

/* ---------- Sport carousel ---------- */
.sport { position: relative; background: var(--ink); }
.sport__pin { position: relative; height: 100svh; overflow: hidden; }
.sport__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sport__head { position: absolute; z-index: 2; top: 96px; left: var(--gutter); pointer-events: none; }
.sport__head .title-xl { font-size: clamp(48px, 7vw, 120px); }
.sport__info {
  position: absolute; z-index: 2; right: var(--gutter); bottom: calc(var(--gutter) + 28px);
  display: flex; flex-direction: column; align-items: flex-end; text-align: right; pointer-events: none;
}
.sport__index { font-weight: 700; letter-spacing: .14em; font-size: 13px; }
.sport__name { font-size: clamp(36px, 4.6vw, 76px); }
.sport__cat { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; opacity: .7; }
.sport__progress { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); height: 2px; background: rgb(255 255 255 / .2); }
.sport__progress i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
.sport__hint { position: absolute; z-index: 2; left: var(--gutter); bottom: calc(var(--gutter) + 16px); margin: 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; opacity: .6; }
@media (max-width: 720px) { .sport__hint { display: none; } }

/* ---------- Section head ---------- */
.section-head { padding: clamp(80px, 14vh, 160px) var(--gutter) 48px; }
.process, .logos, .crunch { background: var(--paper); color: var(--ink); }
.process .title-xl, .logos .title-xl, .crunch .title-xl { color: var(--blue); }

/* ---------- Avant / Après ---------- */
.process { padding-bottom: clamp(80px, 14vh, 160px); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); padding: 0 var(--gutter); }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.ba { position: relative; margin: 0; aspect-ratio: 2480 / 3508; border-radius: 18px; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -30px rgb(7 15 69 / .5); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__line i { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 50%; background: var(--blue); border: 2px solid var(--white); }
.ba__line i::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font: 800 14px/1 var(--body); letter-spacing: .1em; }
.ba__label { position: absolute; top: 14px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; background: rgb(7 15 69 / .7); color: var(--white); padding: 7px 10px; border-radius: 99px; pointer-events: none; }
.ba__label--l { left: 14px; } .ba__label--r { right: 14px; background: var(--blue); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible ~ .ba__line i { outline: 3px solid var(--white); outline-offset: 3px; }
.ba figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--display); font-size: 28px; color: var(--white); text-shadow: 0 2px 18px rgb(0 0 0 / .5); pointer-events: none; }

/* ---------- Phone ---------- */
.phone { background: var(--blue); }
.phone__pin { position: relative; height: 100svh; overflow: hidden; }
.phone__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone__text { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(40vw, 460px); pointer-events: none; }
.phone__steps { position: relative; margin-top: 24px; min-height: 260px; }
.phone__step { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.phone__step.is-active { opacity: 1; transform: none; }
.phone__step p { font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; max-width: 30ch; }
.phone__counter { position: absolute; z-index: 2; right: var(--gutter); bottom: var(--gutter); font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.phone__now { font-family: var(--display); font-size: 64px; letter-spacing: 0; }
@media (max-width: 720px) {
  .phone__text { top: 92px; transform: none; width: auto; right: var(--gutter); }
  .phone__steps { min-height: 150px; }
  .phone__step p { display: none; }
  .phone__step .title-lg { font-size: 48px; }
}

/* ---------- Crunch ---------- */
.crunch__pin { position: relative; height: 100svh; overflow: hidden; }
.crunch__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crunch__head { position: absolute; z-index: 2; left: var(--gutter); top: 96px; pointer-events: none; }
.crunch__head .title-xl { font-size: clamp(56px, 9vw, 150px); }
@media (max-width: 720px) { .crunch__head .lead { display: none; } }
.crunch__gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px);
  padding: 0 var(--gutter);
}
.tile { margin: 0; border-radius: 18px; overflow: hidden; background: #e6e4dc; cursor: zoom-in; aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.03); }
@media (max-width: 720px) { .crunch__gallery { grid-template-columns: 1fr; } }

/* Post Instagram (carrousel) */
.igwrap { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(80px, 14vh, 160px); max-width: 1200px; margin: 0 auto; }
.igwrap__text .title-lg { color: var(--blue); margin-top: .3em; }
.igwrap__text p { max-width: 38ch; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; }
.igwrap__hint { font-weight: 700 !important; color: var(--blue); }
@media (max-width: 900px) { .igwrap { grid-template-columns: 1fr; } .igwrap__hint { display: none; } }
.igpost { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(7 15 69 / .45), 0 0 0 1px rgb(7 15 69 / .06); color: #111; font-size: 15px; }
.igpost__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.igpost__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d6249f; }
.igpost__avatar svg { width: 22px; fill: #fff; }
.igpost__who { display: flex; flex-direction: column; line-height: 1.2; }
.igpost__who small { font-size: 12px; color: #555; }
.igpost__more { margin-left: auto; font-weight: 800; letter-spacing: 1px; }
.igpost__media { position: relative; }
.igpost__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; overscroll-behavior-x: contain; }
.igpost__track::-webkit-scrollbar { display: none; }
.igpost__track:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.igpost__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; user-select: none; }
.igpost__count { position: absolute; top: 12px; right: 12px; background: rgb(0 0 0 / .65); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.igpost__nav { position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: #111; font: 700 22px/1 var(--body); cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .25); display: grid; place-items: center; padding-bottom: 3px; }
.igpost__nav[hidden] { display: none; }
.igpost__nav--prev { left: 10px; } .igpost__nav--next { right: 10px; }
.igpost__foot { padding: 10px 14px 16px; }
.igpost__foot p { margin: 8px 0 0; }
.igpost__actions { display: flex; align-items: center; gap: 14px; }
.igpost__actions svg { width: 26px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.igpost__dots { flex: 1; display: flex; justify-content: center; gap: 4px; margin-right: 66px; }
.igpost__dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; transition: background .3s; }
.igpost__dots i.is-on { background: var(--blue); }

/* ---------- Le Before ---------- */
.b4 { background: var(--blue); padding-bottom: clamp(80px, 14vh, 160px); overflow: hidden; }
.b4__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.5vw, 20px); padding: 0 var(--gutter); }
.b4__logos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; cursor: zoom-in; transition: transform .5s var(--ease); }
.b4__logos img:hover { transform: translateY(-8px) rotate(-2deg); }
@media (max-width: 720px) { .b4__logos { grid-template-columns: repeat(2, 1fr); } }
.coins { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 4vw, 64px); padding: clamp(60px, 10vh, 120px) var(--gutter) 0; perspective: 1000px; }
.coin { display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.coin__inner { position: relative; width: clamp(110px, 14vw, 190px); aspect-ratio: 1; transform-style: preserve-3d; }
.coin__inner img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; box-shadow: 0 0 0 4px var(--white), 0 24px 40px -18px rgb(0 0 0 / .5); }
.coin__back { transform: rotateY(180deg); }

/* ---------- Logos ---------- */
.logos { padding-bottom: clamp(80px, 14vh, 160px); }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 22vw, 320px); gap: clamp(10px, 1.5vw, 20px); padding: 0 var(--gutter); perspective: 1200px; }
.lcard { position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; transform-style: preserve-3d; transition: transform .4s var(--ease); }
.lcard img { position: absolute; top: 12%; left: 10%; width: 80%; height: 70%; object-fit: contain; transition: opacity .25s; }
.lcard h3 { position: absolute; left: 16px; bottom: 12px; right: 16px; margin: 0; font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.lcard--white { background: var(--white); color: var(--ink); }
.lcard--blue { background: var(--blue); color: var(--white); }
.lcard--tone { background: var(--bg); color: var(--white); }
.lcard--wide { grid-column: span 2; }
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .lcard img { top: 10%; height: 66%; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(80px, 16vh, 200px) var(--gutter); background: var(--blue); }
.about__visual { display: grid; place-items: center; }
.about__visual svg { width: min(100%, 420px); fill: var(--white); overflow: visible; }
.about__text .title-xl { font-size: clamp(52px, 8vw, 132px); }
.about__text p { max-width: 52ch; }
.about__text .lead { max-width: 40ch; }
.skills { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.skills li { border: 1.5px solid var(--white); border-radius: 99px; padding: .5em 1.1em; font-weight: 700; font-size: 15px; transition: background .3s, color .3s; }
.skills li:hover { background: var(--white); color: var(--blue); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__visual svg { width: 180px; } }

/* ---------- Contact ---------- */
.contact { background: var(--white); color: var(--blue); padding: clamp(80px, 16vh, 200px) var(--gutter); text-align: center; }
.contact .tag { color: var(--blue); }
.contact__big { display: block; text-decoration: none; margin: 32px 0 clamp(56px, 7vw, 110px); font-size: clamp(56px, 14vw, 240px); line-height: 1.05; }
.contact__line { display: block; transition: translate .6s var(--ease), color .4s; }
.contact__line--outline { color: transparent; -webkit-text-stroke: 2px var(--blue); }
.contact__big:hover .contact__line { translate: -2% 0; }
.contact__big:hover .contact__line--outline { color: var(--blue); translate: 2% 0; }
.contact__ig { display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 800; font-size: clamp(18px, 2vw, 26px); padding: .7em 1.4em; border-radius: 99px; transition: transform .4s var(--ease); }
.contact__ig:hover { transform: scale(1.05) rotate(-2deg); }
.contact__ig svg { width: 1.3em; fill: none; stroke: currentColor; stroke-width: 2; }
.contact__ig svg .fill { fill: currentColor; stroke: none; }

/* Formulaire de contact */
.cform { max-width: 680px; margin: 0 auto; text-align: left; display: grid; gap: 22px; }
.cform__trap { position: absolute; left: -9999px; }
.cform__field { display: grid; gap: 8px; }
.cform__field label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cform input, .cform textarea {
  width: 100%; font: 500 19px/1.4 var(--body); color: var(--ink);
  background: var(--paper); border: 2px solid transparent; border-radius: 14px; padding: 14px 18px;
  transition: border-color .25s, background .25s;
}
.cform textarea { resize: vertical; min-height: 140px; }
.cform input::placeholder, .cform textarea::placeholder { color: rgb(7 15 69 / .4); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.cform [aria-invalid="true"] { border-color: #d6262b; }
.cform__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.cform__consent input { appearance: auto; width: 22px; height: 22px; min-width: 22px; margin: 1px 0 0; padding: 0; accent-color: var(--blue); cursor: pointer; }
.cform__consent label { color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; cursor: pointer; }
.cform__consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cform__consent input[aria-invalid="true"] { outline: 2px solid #d6262b; outline-offset: 2px; }
.cform .cform__consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cform__send {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  background: var(--blue); color: var(--white); font: 800 clamp(18px, 2vw, 22px)/1 var(--body);
  padding: .85em 1.6em; border-radius: 99px; transition: transform .4s var(--ease), opacity .3s;
}
.cform__send:hover { transform: scale(1.04) rotate(-1.5deg); }
.cform__send:disabled { opacity: .6; cursor: wait; }
.cform__send svg { width: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cform__status { margin: 0; min-height: 1.5em; font-weight: 700; }
.cform__status.is-error { color: #d6262b; }
.contact__or { margin: clamp(48px, 7vw, 80px) 0 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px var(--gutter); background: var(--ink); font-size: 14px; font-weight: 500; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Pages légales ---------- */
.legal-page { background: var(--paper); color: var(--ink); }
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); background: var(--blue); color: var(--white); }
.legal-nav a { text-decoration: none; }
.legal-nav .nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; }
.legal-nav .nav__brand svg { width: 40px; fill: currentColor; }
.legal-nav__back { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.legal { max-width: 72ch; margin: 0 auto; padding: clamp(48px, 10vh, 110px) var(--gutter) clamp(64px, 12vh, 140px); }
.legal h1 { font-family: var(--display); font-weight: 400; color: var(--blue); font-size: clamp(48px, 8vw, 96px); line-height: .95; margin: 0 0 .4em; text-wrap: balance; }
.legal h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; color: var(--blue); margin: 2em 0 .5em; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--blue); font-weight: 700; }
.legal__updated { font-size: 14px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.todo { background: #ffe9a8; color: #5a4300; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgb(7 15 69 / .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img {
  /* l'affiche tient toujours en entier dans l'écran, quelle que soit sa taille */
  width: auto; height: auto; max-width: min(100%, calc(100vw - 48px));
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  object-fit: contain; border-radius: 10px; box-shadow: 0 40px 80px -20px rgb(0 0 0 / .6); box-sizing: border-box;
}
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--blue); font-size: 20px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__scroll i::after { animation: none; }
}

/* ==========================================================================
   Ajouts studioc7.com (back-office)
   ========================================================================== */

/* Les balises <img> portent leurs dimensions (pas de saut de mise en page au chargement) :
   la hauteur suit la largeur, sauf là où une règle plus précise la fixe. */
img { height: auto; }

/* Accents composés : majuscules (accent plus haut) et cédille (sous la lettre) */
.acc--cap::after { top: -.3em; }
.acc--below::after { top: auto; bottom: -.16em; transform: translateX(-50%); }

/* Contact : liens directs (Instagram, e-mail, téléphone) */
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.contact__ig--line { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); cursor: pointer; }
.contact__ig--line:hover, .contact__ig--line:focus-visible { background: var(--blue); color: var(--white); }

/* E-mails et numéros protégés : cliquables une fois révélés */
.obf { cursor: pointer; }
.legal .obf:not(.is-revealed) { text-decoration: underline dotted; text-underline-offset: 3px; }

/* Page 404 */
.legal--404 { min-height: 60vh; }

/* Politique de confidentialité : choix du visiteur pour la mesure d'audience */
.legal__choice { margin: 1.4em 0 0; padding: 18px 20px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 2px rgb(29 56 216 / .18); scroll-margin-top: 24px; }
.legal__choice p { margin: 0; font-size: 16px; }
.legal__choice p + p { margin-top: 12px; }
.legal a.legal__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 800; font-size: 15px; }
.legal a.legal__btn:hover, .legal a.legal__btn:focus-visible { background: var(--blue-deep); }
