/* =========================================================
   SalzRea Studio · feuille de style
   Polices : League Gothic (titres), DM Sans (texte),
   Monsieur La Doulaise (touches script), Courier Prime (détails)
   ========================================================= */

:root {
  --brun: #5B493B;
  --orange: #C66E35;
  --bordeaux: #662525;
  --vert: #435036;
  --ciel: #A4CFDD;
  --sauge: #95B279;
  --jaune: #E6D495;
  --rose: #E49CD0;

  --noir: #0D0D0D;
  --anthracite: #2A2A2A;
  --gris: #DEDEDE;
  --blanc: #FFFFFF;

  --f-title: "League Gothic", "Arial Narrow", sans-serif;
  --f-text: "DM Sans", system-ui, sans-serif;
  --f-script: "Monsieur La Doulaise", cursive;
  --f-mono: "Courier Prime", "Courier New", monospace;

  --ease: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
}

/* Mode sombre (par défaut) */
[data-theme="dark"] {
  --bg: var(--noir);
  --bg-2: #161514;
  --fg: #F2EEE8;
  --fg-dim: #9a948c;
  --line: rgba(255, 255, 255, .14);
  --ghost: rgba(255, 255, 255, .12);
}

/* Mode clair */
[data-theme="light"] {
  --bg: var(--gris);
  --bg-2: #ECE8E1;
  --fg: var(--noir);
  --fg-dim: #5f5a54;
  --line: rgba(0, 0, 0, .15);
  --ghost: rgba(0, 0, 0, .1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-text);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .5s ease, color .5s ease;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--noir); }

.script {
  font-family: var(--f-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.meta, .eyebrow {
  font-family: var(--f-mono);
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--fg-dim);
  margin: 0;
}

.eyebrow { text-transform: uppercase; margin-bottom: .5rem; }

.section-title {
  font-family: var(--f-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: .9;
  margin: 0;
}
.section-title .script {
  font-size: .55em;
  color: var(--orange);
  margin-left: .1em;
  display: inline-block;
  transform: translateY(.1em) rotate(-4deg);
}

section { position: relative; padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.section-head { margin-bottom: clamp(2rem, 5vw, 4rem); }

/* ---------- Grain film ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .09;
  background-image: url("sources/assets/grain.png");
  background-size: 200px 200px;
  will-change: transform;
  contain: strict;
  animation: grain 1s steps(6) infinite;
}
[data-theme="light"] .grain { opacity: .12; mix-blend-mode: multiply; }
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Visuels provisoires (à remplacer par photos/vidéos) ---------- */
.placeholder {
  --c1: var(--orange);
  --c2: var(--brun);
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--c1) 85%, white) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, var(--c2) 0%, transparent 60%),
    linear-gradient(135deg, var(--c1), var(--c2));
}
.placeholder--hero {
  position: absolute; inset: 0;
  --c1: #b5762f; --c2: #1b130d;
  animation: drift 18s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 75% 35%, rgba(230, 180, 110, .85) 0%, transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(228, 156, 208, .35) 0%, transparent 18%),
    radial-gradient(circle at 60% 70%, rgba(198, 110, 53, .55) 0%, transparent 30%),
    linear-gradient(120deg, #120d09 30%, #3a2416 70%, #6b4320);
}
@keyframes drift { to { transform: scale(1.12) translate(-2%, 1%); } }

/* ---------- Curseur personnalisé ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 999px;
  background: var(--fg);
  pointer-events: none;
  transition: background .25s, opacity .25s;
  will-change: transform;
}
/* l'indication s'affiche à côté du point, pour ne pas cacher ce qu'on clique */
.cursor__label {
  position: absolute;
  left: 16px; top: 14px;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--noir);
  font-family: var(--f-mono);
  font-size: .72rem;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .2s, transform .2s;
  box-shadow: 0 0 0 1.5px var(--bg);
}
.cursor.is-active { background: var(--orange); }
.cursor.is-active .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [data-cursor] { cursor: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Rideau de transition (glisse sur le côté) ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--orange);
  transform: translateX(-101%);
  pointer-events: none;
  display: grid;
  place-items: center;
}
.curtain__label {
  font-family: var(--f-title);
  text-transform: uppercase;
  font-size: clamp(4rem, 14vw, 12rem);
  color: var(--noir);
  line-height: 1;
}
.curtain.is-in { transition: transform .55s var(--ease); transform: translateX(0); }
.curtain.is-out { transition: transform .55s var(--ease); transform: translateX(101%); }
.curtain.dir-up { transform: translateY(101%); }
.curtain.dir-up.is-in { transform: translateY(0); }
.curtain.dir-up.is-out { transform: translateY(-101%); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-fill: var(--fg);
  --btn-fill-fg: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border: 1.5px solid var(--btn-fill);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-title);
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), transform .2s ease;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn:active { transform: scale(.94); }

/* Le texte roule vers le haut au survol (span .btn__roll ajouté par le JS) */
.btn__text {
  display: inline-block;
  overflow: hidden;
  height: 1.05em;
  line-height: 1.05;
}
.btn__roll {
  display: block;
  text-shadow: 0 1.2em 0 currentColor;
  transition: transform .5s var(--ease);
}
.btn:hover .btn__roll, .btn:focus-visible .btn__roll { transform: translateY(-1.2em); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  font-family: var(--f-text);
  font-size: .8rem;
  background: var(--btn-fill);
  color: var(--btn-fill-fg);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.btn:hover .btn__icon { transform: rotate(90deg); background: var(--btn-fill-fg); color: var(--btn-fill); }

.btn--primary { --btn-bg: var(--fg); --btn-fg: var(--bg); --btn-fill: var(--orange); --btn-fill-fg: var(--noir); border-color: var(--fg); }
.btn--primary:hover { border-color: var(--orange); }
.btn--primary .btn__icon { background: var(--bg); color: var(--fg); }

/* Petit effet "ripple" au clic */
.btn .ripple {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple .6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: translate(-50%, -50%) scale(30); opacity: 0; } }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem var(--pad);
  background: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent);
  transition: background .4s, padding .4s;
}
.header.is-solid { background: color-mix(in srgb, var(--bg) 96%, transparent); padding-block: .6rem; }
.header__logo { display: block; width: 58px; flex-shrink: 0; }
.logo { width: 100%; height: auto; }
.logo--light { display: none; }
[data-theme="light"] .header.is-solid .logo--dark { display: none; }
[data-theme="light"] .header.is-solid .logo--light { display: block; }

.nav { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); margin-right: auto; }
.nav__link {
  position: relative;
  font-size: .95rem;
  text-decoration: none;
  color: #fff;
  opacity: .8;
  transition: opacity .3s;
}
.header.is-solid .nav__link { color: var(--fg); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-current { opacity: 1; }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; align-items: center; gap: .35rem; font-family: var(--f-mono); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.header.is-solid .lang { color: var(--fg-dim); }
.lang__btn { background: none; border: 0; padding: .25rem .1rem; font: inherit; color: inherit; cursor: pointer; position: relative; transition: color .3s; }
.lang__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transition: transform .4s var(--ease); }
.lang__btn:hover, .lang__btn.is-active { color: #fff; }
.header.is-solid .lang__btn:hover, .header.is-solid .lang__btn.is-active { color: var(--fg); }
.lang__btn.is-active::after { transform: scaleX(1); }
.theme-toggle {
  width: 54px; height: 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  background: transparent;
  padding: 0;
  position: relative;
}
.header.is-solid .theme-toggle { border-color: var(--line); }
.theme-toggle__dot {
  position: absolute;
  top: 3px; left: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--jaune);
  box-shadow: inset -6px -3px 0 0 var(--brun);
  transition: transform .5s var(--ease), box-shadow .5s;
}
[data-theme="light"] .theme-toggle__dot { transform: translateX(25px); box-shadow: inset 0 0 0 0 var(--brun); background: var(--orange); }

.burger { display: none; background: none; border: 0; width: 34px; height: 34px; padding: 0; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.header.is-solid .burger span { background: var(--fg); }
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 20px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(5rem, 12vh, 9rem);
  overflow: hidden;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media video, .hero__img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(13, 13, 13, .8) 0%, rgba(13, 13, 13, .35) 35%, transparent 55%),
    linear-gradient(to top, var(--bg) 0%, transparent 20%);
}
.hero__content { position: relative; max-width: 46rem; }
.hero .meta { color: rgba(255, 255, 255, .75); display: flex; align-items: center; gap: .3rem; }
.badge {
  font-family: var(--f-title);
  font-size: 1.3rem;
  color: var(--orange);
  letter-spacing: .02em;
  margin-right: .3rem;
}
.hero__title {
  font-family: var(--f-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .86;
  margin: 1rem 0 1.2rem;
  position: relative;
}
.hero__script {
  display: block;
  font-size: .5em;
  color: var(--jaune);
  margin: -.15em 0 0 .6em;
  transform: rotate(-5deg);
  transform-origin: left;
}
.hero__text { max-width: 32rem; color: rgba(255, 255, 255, .85); margin: 0 0 2rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn--ghost { --btn-fg: #fff; --btn-fill: #fff; --btn-fill-fg: var(--noir); }
.hero .btn--primary { --btn-bg: #fff; --btn-fg: var(--noir); border-color: #fff; }
.hero .btn--primary .btn__icon { background: var(--noir); color: #fff; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--f-mono);
  font-size: .8rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .7);
}
.scroll-hint__line { width: 60px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: line 2s var(--ease) infinite; }
@keyframes line { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Catégories (liste façon affiche) ---------- */
.categories { overflow: hidden; }
.cat-list { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cat {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  text-decoration: none;
  line-height: .86;
  padding: .05em 0;
}
.cat__num {
  font-family: var(--f-mono);
  font-size: .9rem;
  color: var(--fg-dim);
  transition: color .3s;
}
.cat__name {
  position: relative;
  font-family: var(--f-title);
  text-transform: uppercase;
  font-size: clamp(3.5rem, 12vw, 10.5rem);
  color: var(--ghost);
  transition: color .35s ease;
}
/* Copie du texte, colorée et visible seulement là où passe l'image */
.cat__name::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  color: var(--cat-color, var(--orange));
  clip-path: var(--clip, inset(50% 50% 50% 50%));
  pointer-events: none;
}
.cat-list.is-hovering .cat.is-active .cat__name { color: var(--fg); }
.cat-list.is-hovering .cat.is-active .cat__num { color: var(--fg); }
.cat-list:not(.is-hovering) .cat__name { color: color-mix(in srgb, var(--fg) 85%, transparent); }

.cat-preview {
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
  width: clamp(300px, 38vw, 580px);
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85);
  transition: opacity .35s ease, transform .5s var(--ease);
  overflow: hidden;
}
.cat-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cat-preview__inner { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image .3s; }
.cat-preview video, .cat-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Projets (une rangée par catégorie) ---------- */
.projects { padding-left: 0; padding-right: 0; }
.projects__head { padding: 0 var(--pad); }
.row { margin-bottom: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 90px; }
.row__head { display: flex; align-items: baseline; gap: .8rem; padding: 0 var(--pad); margin-bottom: 1rem; }
.row__title {
  font-family: var(--f-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  margin: 0;
  position: relative;
}
.row__title::after { content: ""; position: absolute; left: 0; bottom: -.15em; width: 100%; height: 3px; background: var(--accent); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.row:hover .row__title::after, .row.is-target .row__title::after { transform: scaleX(1); }
.row__count { font-family: var(--f-mono); font-size: .85rem; color: var(--accent); }
.row__nav { margin-left: auto; display: flex; gap: .5rem; }
.row__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-size: 1rem;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, opacity .3s, transform .2s;
}
.row__btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--noir); }
.row__btn:active:not(:disabled) { transform: scale(.9); }
.row__btn:disabled { opacity: .25; cursor: default; }
.row.is-static .row__nav { display: none; }
.row__track {
  display: flex;
  gap: clamp(.8rem, 1.5vw, 1.2rem);
  padding: 1rem var(--pad) 2rem;
  margin: -1rem 0 -2rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--pad);
  scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }
.row .card { scroll-snap-align: start; flex-basis: clamp(260px, 26vw, 400px); }
.row .card .match { color: var(--accent); }
.row.is-target .card { animation: pop .8s var(--ease) both; }
.row.is-target .card:nth-child(2) { animation-delay: .08s; }
.row.is-target .card:nth-child(3) { animation-delay: .16s; }
.row.is-target .card:nth-child(4) { animation-delay: .24s; }
@keyframes pop { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.card {
  flex: 0 0 clamp(260px, 30vw, 440px);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-2);
  outline: none;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card__media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #111; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  opacity: 0;
  background: rgba(0, 0, 0, .25);
  transition: opacity .3s;
}
.card:hover, .card:focus-visible { transform: scale(1.05) translateY(-6px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); z-index: 2; }
.card:hover .card__media::after, .card:focus-visible .card__media::after { opacity: 1; }
.card__info { padding: 1rem 1.2rem 1.4rem; }
.card__meta { font-family: var(--f-mono); font-size: .8rem; color: var(--fg-dim); margin: 0 0 .3rem; }
.match { color: var(--sauge); font-weight: 700; margin-right: .4rem; }
.card__title { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 0 0 .4rem; }
.card__text { margin: 0; font-size: .95rem; color: var(--fg-dim); }
.card.is-dimmed { opacity: .35; }
.card.is-highlight { box-shadow: 0 0 0 2px var(--orange); }
.card--end {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem;
  background: transparent;
  border: 1px dashed var(--line);
  padding: 2rem;
}
.card--end .script { font-size: 3.5rem; margin: 0; color: var(--orange); }
.card--end:hover { transform: none; box-shadow: none; }

/* ---------- Services ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; }
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-2);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
}
.plan::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--accent);
}
.plan:hover { transform: translateY(-8px); border-color: var(--accent); }
.plan__tag { font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; color: var(--accent); margin: 0; }
.plan__name { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; font-size: 3.5rem; line-height: .9; margin: 0; }
.plan__price { margin: 0; color: var(--fg-dim); }
.plan__price strong { font-family: var(--f-title); font-weight: 400; font-size: 1.8rem; color: var(--fg); letter-spacing: .02em; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.plan__list li { padding-left: 1.5rem; position: relative; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan .btn { align-self: flex-start; }
.plan--featured { border-color: var(--accent); }
.plan__desc { margin: 0 0 1rem; color: var(--fg-dim); font-size: .95rem; }
.plan__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.plan__dots { display: flex; gap: .4rem; padding-top: .6rem; flex-shrink: 0; }
.plan { container-type: inline-size; }
.plan__top { flex-direction: column; gap: .6rem; }
.plan__top .plan__name { font-size: min(3.5rem, 22cqi); white-space: nowrap; }
.plan__top .plan__dots { padding-top: 0; }
.plan__dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 1.5px solid var(--accent); background: transparent; cursor: pointer; transition: width .4s var(--ease), background .3s; }
.plan__dot.is-active { width: 26px; background: var(--accent); }
.plan__viewport { overflow: hidden; margin: 0 -1.8rem; flex: 1; }
.plan__slides { display: flex; height: 100%; transition: transform .6s var(--ease); touch-action: pan-y; }
.plan__slide { flex: 0 0 100%; padding: 0 1.8rem; display: flex; flex-direction: column; }
.plan__label { font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
.plan__note { font-size: .85rem; color: var(--fg-dim); margin: .8rem 0 0; }
.plan__options .plan__price { margin: 0; font-family: var(--f-mono); font-size: .85rem; color: var(--fg-dim); }
.plan__options .plan__price strong { font-family: var(--f-title); font-weight: 400; font-size: 1.6rem; color: var(--accent); letter-spacing: .02em; }
.plan__bottom { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; }
.plan__arrows { display: flex; gap: .4rem; }
.plan__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; transition: background .3s, color .3s, border-color .3s, opacity .3s, transform .2s; }
.plan__arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--noir); }
.plan__arrow:active:not(:disabled) { transform: scale(.9); }
.plan__arrow:disabled { opacity: .25; cursor: default; }
.plan__options { list-style: none; margin: .5rem 0 .4rem; padding: 0; border-top: 1px solid var(--line); }
.plan__options li { display: flex; flex-direction: column; gap: .15rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.plan__opt { font-family: var(--f-title); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.plan__dur { font-family: var(--f-mono); font-size: .82rem; color: var(--accent); }
@media (max-width: 1200px) and (min-width: 901px) { .plans { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Avis clients ---------- */
.reviews { padding-left: 0; padding-right: 0; }
.reviews__head { padding: 0 var(--pad); }
.reviews__row .row__head { justify-content: flex-end; margin-top: -4.5rem; }
.reviews__row .row__track { align-items: stretch; }
.review {
  --accent: var(--orange);
  position: relative;
  flex: 0 0 clamp(280px, 30vw, 440px);
  margin: 0;
  padding: 2.2rem 2rem 1.8rem;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  scroll-snap-align: start;
  transition: transform .5s var(--ease), border-color .4s;
}
.review:hover { transform: translateY(-6px); border-color: var(--accent); }
.review__mark { font-family: var(--f-script); font-size: 6rem; line-height: .5; color: var(--accent); height: 2.2rem; }
.review__text { margin: 0; font-size: 1.1rem; line-height: 1.55; flex: 1; }
.review__who { display: flex; flex-direction: column; gap: .2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.review__name { font-family: var(--f-title); font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.review__svc { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); }
.review--placeholder { border-style: dashed; }
.review--placeholder .review__text, .review--placeholder .review__name { color: var(--fg-dim); font-style: italic; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo {
  background: #f4efe6;
  padding: 1rem 1rem 3rem;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55);
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}
.about__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: sepia(.15) contrast(1.05); }
.placeholder--portrait { aspect-ratio: 4 / 5; }
.polaroid-caption {
  position: absolute;
  left: 0; right: 0; bottom: .6rem;
  margin: 0;
  text-align: center;
  font-family: var(--f-script);
  font-size: 2rem;
  color: var(--anthracite);
}
.about__text p { max-width: 36rem; }
.about__text .section-title { margin-bottom: 1.5rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .5rem; border-top: 1px solid var(--line); }
.facts li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.facts > li > span:first-child { font-family: var(--f-mono); font-size: .85rem; color: var(--fg-dim); min-width: 8rem; padding-top: .15rem; }

/* ---------- Contact ---------- */
.contact__title .script { color: var(--rose); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); }
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .4rem; }
.field span { font-family: var(--f-mono); font-size: .8rem; color: var(--fg-dim); text-transform: uppercase; }
.field input, .field textarea, .field select {
  font: inherit;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  padding: .6rem 0;
  border-radius: 0;
  transition: border-color .3s;
  resize: vertical;
}
.field select option { color: #000; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.form .btn { justify-self: start; }
.form__note { margin: 0; font-family: var(--f-mono); font-size: .85rem; color: var(--sauge); min-height: 1.2em; }
.contact__side { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__mail {
  font-family: var(--f-title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  word-break: break-all;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 3px no-repeat;
  transition: background-size .5s var(--ease);
  padding-bottom: .2rem;
}
.contact__mail:hover { background-size: 100% 3px; }
.socials { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.socials a {
  display: flex;
  justify-content: space-between;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .4s var(--ease), color .3s;
}
.socials a::after { content: "↗"; transition: transform .4s var(--ease); }
.socials a:hover { padding-left: .8rem; color: var(--orange); }
.socials a:hover::after { transform: rotate(45deg); }

/* ---------- Pied de page ---------- */
.footer { padding: 3rem var(--pad) 2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__sign { font-size: 3.4rem; margin: 0; line-height: 1; }
.year { font: inherit; }

/* ---------- Lecteur vidéo ---------- */
.player {
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(0, 0, 0, .92);
  display: grid;
  place-items: center;
  padding: 4rem var(--pad);
}
.player[hidden] { display: none; }
.player__frame { width: min(100%, 1200px); aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; color: #aaa; font-family: var(--f-mono); text-align: center; padding: 1rem; }
.player__frame iframe, .player__frame video { width: 100%; height: 100%; border: 0; background: #000; }
.player__close { position: absolute; top: 1.2rem; right: var(--pad); background: none; border: 1.5px solid #fff; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }

/* ---------- Apparitions au défilement (pas toujours verticales) ---------- */
.reveal { opacity: 0; transition: opacity .9s ease, transform 1s var(--ease); }
.reveal[data-from="left"] { transform: translateX(-60px); }
.reveal[data-from="right"] { transform: translateX(60px); }
.reveal[data-from="bottom"] { transform: translateY(60px); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--i, 0) * 120ms); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: .5rem;
    padding: 0 var(--pad);
    background: var(--orange);
    transform: translateX(100%);
    transition: transform .6s var(--ease);
  }
  .menu-open .nav { transform: none; }
  .nav__link, .header.is-solid .nav__link { font-family: var(--f-title); font-size: 4rem; text-transform: uppercase; color: var(--noir); opacity: 1; line-height: 1; }
  .nav__link::after { background: var(--noir); }
  .burger { display: block; }
  .menu-open .burger span { background: var(--noir); }
  .menu-open .header { background: transparent; }

  .plans, .about, .contact__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 320px; }
  .cat__num { display: none; }
  .row .card, .review { flex-basis: 82vw; }
  .reviews__row .row__head { margin-top: 0; }
  .row__btn { width: 38px; height: 38px; }
  .scroll-hint { display: none; }
  .hero__img { object-position: 30% center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.review[hidden] { display: none; }
.reviews__row .row__head { margin-top: 0; }
.polaroid-caption--action { font-family: var(--f-title); font-size: 2.1rem; letter-spacing: .08em; bottom: .35rem; color: #1a1a1a; }
@media (max-width: 900px) { .polaroid-caption--action { font-size: 1.6rem; bottom: .45rem; } }
.player { align-content: center; gap: 1rem; }
.player__note { margin: 0; max-width: 1200px; text-align: center; font-family: var(--f-mono); font-size: .85rem; color: #cfcfcf; }
.player__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.player__note a:hover { color: var(--orange, #C66E35); }
.footer__logo { display: block; width: 110px; }
[data-theme="light"] .footer__logo .logo--dark { display: none; }
[data-theme="light"] .footer__logo .logo--light { display: block; }
