/* ==========================================================================
   O’Neal N’gatta — site portfolio
   Feuille de styles unique. Les valeurs viennent de la maquette Figma (1920 px).
   1rem = 16 px à 1920 px de large ; l’ensemble se réduit en proportion jusqu’à 1024 px,
   puis passe en mise en page mobile.
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fonts/dm-sans-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --page: #f1f0f4;
  --card: #ffffff;
  --ink: #222222;
  --text: #222222;
  --muted: #6e6d73;
  --border: #e4e2e9;
  --lilac: #b2a1fe;
  --lilac-soft: #d5ccfe;
  --lilac-deep: #4a3d99;
  --lime: #e2f065;
  --yellow: #ffd666;
  --yellow-deep: #7a5a00;
  --error: #b3261e;
  --success: #1f7a4d;

  --r-card: 1.75rem;
  --r-field: 1rem;
  --r-pill: 999px;

  --m: 2.5rem;      /* marge de page */
  --gap: 1.25rem;   /* espace entre cartes */
  --nav-h: 6rem;

  /* Typographie (desktop) */
  --d2xl: 12.5rem;  --d2xl-lh: .92;
  --dxl: 7.5rem;    --dxl-lh: .934;
  --dl: 4.75rem;    --dl-lh: 1;
  --tl: 3rem;       --tl-lh: 1.084;
  --tm: max(1.375rem, 2rem); --tm-lh: 1.125;
  --ts: max(1.125rem, 1.5rem); --ts-lh: 1.334;
  --cl: max(1.0625rem, 1.375rem); --cl-lh: 1.455;
  --cm: max(1rem, 1.125rem); --cm-lh: 1.556;
  --cs: max(.875rem, 1rem); --cs-lh: 1.5;
  --l-btn: max(.9375rem, 1.25rem);
  --l-pill: max(.875rem, 1.125rem);
  --l-nav: max(.9375rem, 1.125rem);
  --l-tag: max(.6875rem, .875rem);
  --l-field: max(.875rem, 1rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Les « max(…rem, …rem) » ci-dessus comparent deux rem : on fixe donc les minimums en px
   là où le texte courant ne doit jamais devenir trop petit. */
@media (min-width: 1024px) {
  html { font-size: clamp(10px, .8333vw, 16px); }
  :root {
    --tm: max(22px, 2rem);
    --ts: max(18px, 1.5rem);
    --cl: max(17px, 1.375rem);
    --cm: max(16px, 1.125rem);
    --cs: max(14px, 1rem);
    --l-btn: max(15px, 1.25rem);
    --l-pill: max(14px, 1.125rem);
    --l-nav: max(15px, 1.125rem);
    --l-tag: max(11px, .875rem);
    --l-field: max(14px, 1rem);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: var(--cm);
  line-height: var(--cm-lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--lilac-deep); outline-offset: 3px; border-radius: 4px; }
.sur-sombre :focus-visible, .entree :focus-visible { outline-color: var(--lilac); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { top: 1rem; }

.site { max-width: 120rem; margin-inline: auto; }
main { display: flex; flex-direction: column; gap: var(--gap); padding-bottom: var(--gap); }
.sec { padding-inline: var(--m); }
.sec--titre { padding-top: 5rem; display: flex; flex-direction: column; gap: 3rem; }
.sec--espace { padding-top: 5rem; }

/* ---------- Typographie ---------- */
.d2xl, .dxl, .dl, .tl, .tm { font-weight: 900; text-wrap: balance; }
.d2xl { font-size: var(--d2xl); line-height: var(--d2xl-lh); letter-spacing: -.03em; }
.dxl { font-size: var(--dxl); line-height: var(--dxl-lh); letter-spacing: -.03em; }
.dl { font-size: var(--dl); line-height: var(--dl-lh); letter-spacing: -.03em; }
.tl { font-size: var(--tl); line-height: var(--tl-lh); letter-spacing: -.02em; }
.tm { font-size: var(--tm); line-height: var(--tm-lh); letter-spacing: -.02em; }
.ts { font-size: var(--ts); line-height: var(--ts-lh); letter-spacing: -.01em; font-weight: 700; }
.cl { font-size: var(--cl); line-height: var(--cl-lh); text-wrap: pretty; }
.cm { font-size: var(--cm); line-height: var(--cm-lh); text-wrap: pretty; }
.cs { font-size: var(--cs); line-height: var(--cs-lh); }
.label { font-size: var(--l-tag); line-height: 1.43; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
.pt { color: var(--lilac); }            /* le point final des titres */
.pt--blanc { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.5rem; padding: .5rem 2rem; border-radius: var(--r-pill);
  font-size: var(--l-btn); line-height: 1.4; font-weight: 600; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--primaire { background: var(--lilac); color: var(--ink); }
.btn--primaire:hover { background: var(--lime); }
.btn--secondaire { border-color: var(--ink); color: var(--ink); }
.btn--secondaire:hover { background: var(--ink); color: #fff; }
.btn--inverse { border-color: #fff; color: #fff; }
.btn--inverse:hover { background: #fff; color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: #e3e2e8; color: var(--muted); border-color: transparent; cursor: not-allowed; }
.btn--bloc { width: 100%; }

/* ---------- Tags et pastilles ---------- */
.tag {
  display: inline-flex; align-items: center; align-self: flex-start; width: fit-content;
  min-height: 2.75rem; padding: .25rem 1.25rem; border-radius: var(--r-pill);
  font-size: var(--l-tag); line-height: 1.43; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent;
}
.tag .court { display: none; }
.tag--clair { border-color: var(--muted); color: var(--ink); }
.tag--sombre { border-color: #fff; color: #fff; }
.tag--plein { background: var(--ink); color: #fff; }
.tag--blanc { background: var(--card); color: var(--ink); }

.pastille {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.5rem; padding: .25rem 1rem; border-radius: var(--r-pill);
  font-size: var(--l-pill); line-height: 1.34; font-weight: 600; white-space: nowrap;
  border: 1.5px solid transparent;
}
.pastille--lilas { background: var(--lilac); color: var(--ink); }
.pastille--contour-sombre { border-color: #fff; color: #fff; }
.pastille--contour-clair { border-color: var(--muted); color: var(--ink); }
.pastille--encre { background: var(--ink); color: #fff; border-color: var(--ink); }
.pastilles { display: flex; flex-wrap: wrap; gap: .5rem; }

.rond {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.rond svg { width: 1.25rem; height: 1.25rem; }
.rond--blanc { background: var(--card); color: var(--ink); }
.rond--encre { background: var(--ink); color: #fff; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  height: var(--nav-h); padding: 1.25rem var(--m);
  background: var(--page);
}
.nav__logo { display: inline-flex; align-items: center; gap: .75rem; justify-self: start; }
.nav__logo img { width: auto; height: 3.75rem; aspect-ratio: 2066 / 1005; }
.nav__logo span { font-size: var(--ts); line-height: var(--ts-lh); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.nav__menu { display: flex; align-items: center; gap: .25rem; padding: .25rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill); }
.nav__menu a {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.25rem; border-radius: var(--r-pill);
  font-size: var(--l-nav); font-weight: 600; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__menu a:hover { background: var(--page); }
.nav__menu a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__bientot { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: 0 1.25rem; border-radius: var(--r-pill); font-size: var(--l-nav); font-weight: 600; white-space: nowrap; color: #9a99a0; cursor: default; }
.nav__bientot small, .menu__bientot small { font-size: max(10px, .6875rem); line-height: 1; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: .3125rem .5rem; border-radius: var(--r-pill); background: var(--page); color: var(--muted); }
.nav__actions { display: flex; align-items: center; gap: 1.5rem; justify-self: end; }
.statut { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--l-nav); font-weight: 600; white-space: nowrap; }
.statut::before { content: ""; width: .75rem; height: .75rem; border-radius: 50%; background: var(--success); flex: none; }
.statut--lime::before { background: var(--lime); }
.nav__burger { display: none; }

/* Menu mobile (plein écran) */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 1rem 1.5rem 1.5rem;
  visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.menu[data-ouvert="true"] { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
.menu__haut { display: flex; align-items: center; justify-content: space-between; margin-inline: -.5rem; }
.menu__haut img { width: auto; height: 3.75rem; aspect-ratio: 2066 / 1005; }
.menu__fermer { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid #fff; display: inline-flex; align-items: center; justify-content: center; }
.menu__fermer svg { width: 1.25rem; height: 1.25rem; }
.menu__liens { display: flex; flex-direction: column; gap: .5rem; }
.menu__liens a { font-size: 2.75rem; line-height: 1.09; font-weight: 900; letter-spacing: -.03em; }
.menu__liens a[aria-current="page"]::after { content: "·"; color: var(--lilac); }
.menu__bientot { display: inline-flex; align-items: center; gap: .75rem; font-size: 2.75rem; line-height: 1.09; font-weight: 900; letter-spacing: -.03em; color: #77767c; }
.menu__bientot small { background: #3a3a3d; color: #bdbcc2; font-size: .6875rem; }
.footer__bientot { color: #9a99a0; }
.menu__bas { display: flex; flex-direction: column; gap: 1.25rem; }
.menu__reseaux { display: flex; gap: 1.5rem; font-size: 1rem; }

/* ---------- Sticky réseaux ---------- */
.reseaux {
  position: fixed; right: var(--m); bottom: var(--m); z-index: 40;
  display: flex; align-items: center; gap: .5rem; padding: .5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill);
  box-shadow: 0 .5rem 2rem rgba(34, 34, 34, .08);
}
.reseaux { transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s; }
.reseaux[data-visible="false"] { opacity: 0; visibility: hidden; transform: translateY(.5rem); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.sans-reseaux .reseaux { display: none; }
.reseaux__compte { padding: 0 .5rem 0 1rem; font-size: var(--l-nav); font-weight: 600; }
.reseaux a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: 0 1.25rem; border-radius: var(--r-pill);
  font-size: var(--l-nav); font-weight: 600; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.reseaux a svg { width: 1.25rem; height: 1.25rem; }
.reseaux__insta { background: var(--ink); color: #fff; }
.reseaux__insta:hover { background: var(--lilac-deep); }
.reseaux__tiktok { background: var(--lilac); color: var(--ink); }
.reseaux__tiktok:hover { background: var(--lime); }

/* ---------- En-têtes de section ---------- */
.entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.entete__titre { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Accueil : hero ---------- */
.hero { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 3rem 3rem 0; display: flex; flex-direction: column; gap: 4rem; overflow: hidden; }
.hero__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero__milieu { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.hero__logo { flex: 0 1 54.3125rem; min-width: 0; }
.hero__logo img { width: 100%; height: auto; }
.hero__accroche { flex: 0 1 42.5rem; display: flex; flex-direction: column; gap: 2rem; }
.hero__textes { display: flex; flex-direction: column; gap: 1rem; }
.boutons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__formes { display: flex; gap: var(--gap); height: 8.75rem; align-items: flex-start; }
.hero__formes span { display: block; height: 30.75rem; }
.hero__formes span:nth-child(1) { flex: 720 1 0; background: var(--lilac); border-radius: var(--r-pill); }
.hero__formes span:nth-child(2) { flex: 492 1 0; background: var(--lime); border-radius: var(--r-card); }
.hero__formes span:nth-child(3) { flex: 492 1 0; background: var(--yellow); border-radius: var(--r-pill); }

/* ---------- Bandeau marques ---------- */
.bandeau { background: var(--card); border-radius: var(--r-card); padding: 2rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.bandeau__marques { display: flex; align-items: center; gap: 1rem 4rem; flex-wrap: wrap; }

/* ---------- Prestations ---------- */
.prestations { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.prestation {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-card);
  aspect-ratio: 600 / 760; padding: 2rem; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
}
.prestation img.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.prestation::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,34,34,.2) 0%, rgba(34,34,34,.38) 40%, rgba(34,34,34,.92) 100%); }
.prestation:hover img.fond { transform: scale(1.05); }
.prestation:hover .rond { background: var(--lilac); }
.prestation__haut { display: flex; align-items: center; justify-content: space-between; }
.prestation__bas { display: flex; flex-direction: column; gap: 1rem; }
.prestation__bas .pastilles { padding-top: .5rem; }
.bandeau--cta { padding: 1.5rem 2rem 1.5rem 3rem; }

/* ---------- Pourquoi moi ---------- */
.pourquoi { background: var(--lilac); border-radius: var(--r-card); padding: 3rem; display: flex; flex-direction: column; gap: 3rem; }
.pourquoi__titre { display: flex; flex-direction: column; gap: 1.5rem; }
.chaine { display: flex; align-items: center; gap: 1.5rem; }
.chaine figure { position: relative; flex: 1 1 0; height: 22.5rem; border-radius: var(--r-card); overflow: hidden; }
.chaine figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chaine figcaption { position: absolute; z-index: 1; left: 1.25rem; top: 1.25rem; background: var(--card); border-radius: var(--r-pill); padding: .75rem 1.25rem; font-size: var(--l-pill); line-height: 1.34; font-weight: 600; }
.chaine .rond { background: var(--card); }

/* ---------- Cartes projet ---------- */
.projets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.projets--2 { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
.projet { display: flex; flex-direction: column; gap: 1.25rem; }
.projet__image { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 600 / 440; background: var(--card); }
.projets--2 .projet__image { aspect-ratio: 910 / 560; }
.projet__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.projet:hover .projet__image img { transform: scale(1.04); }
.projet__image .tag { position: absolute; left: 1.5rem; top: 1.5rem; z-index: 1; }
.projet__image--haut img { object-position: 50% 8%; }
.projet__image--logo { background: #000; }
.projet__image--logo img { object-fit: contain; padding: 7% 0; }
.projet__infos { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.projet:hover .rond { background: var(--lilac); color: var(--ink); }
.projet[hidden] { display: none; }

/* ---------- Méthode ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.etape { position: relative; min-height: 25rem; border-radius: var(--r-card); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.etape__texte { display: flex; flex-direction: column; gap: .5rem; }
.etape--1 { background: var(--lilac); }
.etape--2 { background: var(--lime); }
.etape--3 { background: var(--yellow); }
.etape--4 { background: var(--ink); color: #fff; }
.etape--4 .etape__num { color: var(--lilac); }
.etape:not(:last-child)::after {
  content: ""; position: absolute; z-index: 2; top: 3.75rem; right: calc(var(--gap) / -2 - 1.75rem);
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M13 4l8 8-8 8'/%3E%3C/svg%3E") center / 1.25rem no-repeat;
  box-shadow: 0 0 0 .375rem var(--page);
}

/* ---------- Deux colonnes (À propos, Adobe) ---------- */
.duo { display: grid; grid-template-columns: 900fr 920fr; gap: var(--gap); }
.duo--inverse { grid-template-columns: 920fr 900fr; }
.duo__image { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 35rem; }
.duo__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo__carte { border-radius: var(--r-card); padding: 4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 35rem; }
.duo--haut .duo__carte, .duo--haut .duo__image { min-height: 40rem; }
.duo__carte--encre { background: var(--ink); color: #fff; }
.duo__carte--lilas { background: var(--lilac); }
.duo__titre { display: flex; flex-direction: column; gap: 1.5rem; }
.duo__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 580fr 1240fr; gap: var(--gap); padding-top: 5rem; align-items: start; }
.faq__titre { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.faq__liste { background: var(--card); border-radius: var(--r-card); padding: 1.5rem 3rem; }
.faq__liste details { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq__liste details:last-child { border-bottom: 0; }
.faq__liste summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer; list-style: none; }
.faq__liste summary::-webkit-details-marker { display: none; }
.faq__bouton { flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--muted); position: relative; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.faq__bouton::before, .faq__bouton::after { content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.faq__bouton::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq__bouton { background: var(--ink); border-color: var(--ink); }
details[open] .faq__bouton::before, details[open] .faq__bouton::after { background: #fff; }
details[open] .faq__bouton::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__reponse { max-width: 45rem; padding-top: 1rem; }

/* ---------- CTA de fin de page ---------- */
.cta { padding: 5rem var(--m) 0; display: flex; flex-direction: column; gap: var(--gap); }
.cta__formes { display: flex; gap: var(--gap); height: 25rem; }
.cta__formes span { display: flex; align-items: center; justify-content: center; }
.cta__formes span:nth-child(1) { flex: 1000 1 0; background: var(--lilac); border-radius: var(--r-pill); }
.cta__formes span:nth-child(2) { flex: 0 0 auto; height: 100%; aspect-ratio: 1; background: var(--lime); border-radius: var(--r-card); }
.cta__formes span:nth-child(3) { flex: 0 0 auto; height: 100%; aspect-ratio: 1; background: var(--yellow); border-radius: 50%; }
.cta__formes img { height: 40%; width: auto; }
.cta__formes span:nth-child(3) img { height: 38%; }
.cta__carte { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 4rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.cta__titre { display: flex; flex-direction: column; gap: 2rem; }
.cta__actions { flex: 0 1 32.5rem; display: flex; flex-direction: column; gap: 2rem; }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--m) var(--m); }
.footer__carte { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 4rem; display: flex; flex-direction: column; gap: 3rem; }
.footer__haut { display: flex; justify-content: space-between; gap: 3rem; }
.footer__marque { flex: 0 1 35rem; display: flex; flex-direction: column; gap: 1.5rem; }
.footer__marque img { width: 17.0625rem; height: auto; }
.footer__colonnes { display: flex; gap: 5rem; }
.footer__colonnes h2 { margin-bottom: 1rem; }
.footer__colonnes ul { display: flex; flex-direction: column; gap: .75rem; }
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: var(--lilac); }
.footer hr { border: 0; height: 1px; background: rgba(255, 255, 255, .35); margin: 0; width: 100%; }
.footer__bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer__legal { display: flex; gap: .5rem 2rem; flex-wrap: wrap; }

/* ---------- Page Projets ---------- */
.titre-page { padding: 3rem var(--m) .75rem; display: flex; flex-direction: column; gap: 3rem; }
.titre-page__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.titre-page__intro p { max-width: 45rem; }
.filtres { display: flex; gap: .5rem; flex-wrap: wrap; }
.filtres button { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.filtres button:hover { border-color: var(--ink); }
.filtres button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Page projet ---------- */
.fiche { display: grid; grid-template-columns: 580fr 1240fr; gap: var(--gap); align-items: start; }
.fiche__resume { position: sticky; top: calc(var(--nav-h) + var(--gap)); background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.fiche__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fil { display: flex; gap: .5rem; }
.fil a:hover { color: var(--lilac); }
.fiche__resume hr { border: 0; height: 1px; background: rgba(255, 255, 255, .35); margin: 0; width: 100%; }
.fiche__bloc { display: flex; flex-direction: column; gap: .25rem; }
.fiche__role { display: flex; flex-direction: column; gap: .5rem; }
.fiche__boutons { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .75rem; }
.galerie { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.galerie__rang { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.galerie figure { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--card); }
.galerie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.galerie figure.logo { background: #000; }
.galerie figure.logo img { object-fit: contain; padding: 5% 0; }
.suivant { padding: 5rem var(--m) 0; }
.suivant a { background: var(--card); border-radius: var(--r-card); padding: 1.25rem 1.25rem 1.25rem 4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); align-items: stretch; gap: 3rem; transition: background-color .25s var(--ease); }
.suivant a:hover { background: var(--lilac-soft); }
.suivant a:hover .btn { background: var(--lime); }
.suivant a:hover .btn svg { transform: translateX(4px); }
.suivant__texte { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 3rem; padding: 2.75rem 0; min-width: 0; }
.suivant__titre { display: flex; flex-direction: column; gap: 1rem; min-width: 0; max-width: 100%; }
.suivant__nom { font-size: clamp(3rem, 5.4vw, 7.5rem); overflow-wrap: anywhere; }
.suivant__image { position: relative; border-radius: 1.25rem; overflow: hidden; aspect-ratio: 16 / 10; background: var(--page); }
.suivant__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.suivant a:hover .suivant__image img { transform: scale(1.04); }
.suivant__image--haut img { object-position: 50% 8%; }
.suivant__image--logo { background: #000; }
.suivant__image--logo img { object-fit: contain; padding: 6% 0; }
.fiche__boutons:not(:has(a:not([hidden]))) { display: none; }

/* ---------- Page Adobe ---------- */
.adobe-tete { padding: 3rem var(--m) .75rem; display: flex; flex-direction: column; gap: 2rem; }
.adobe-tete__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.adobe-tete__intro p { max-width: 47.5rem; }
.video-principale { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 16 / 9; padding: 2rem; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.video-principale img.fond, .video-principale video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-principale::before { transition: opacity .3s var(--ease); }
.video-principale__lecture { transition: opacity .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.video-principale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,34,34,0) 45%, rgba(34,34,34,.8) 100%); pointer-events: none; }
.video-principale__lecture { align-self: center; }
.video-principale__legende { display: flex; flex-direction: column; gap: .5rem; }
.lecture { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--lilac); color: var(--ink); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.lecture:hover { background: var(--lime); transform: scale(1.06); }
.lecture--grand { width: 6rem; height: 6rem; }
.lecture--petit { width: 3.5rem; height: 3.5rem; }
.lecture svg { width: 34%; height: 34%; }
.lecture .play { margin-left: 6%; }
.lecture .pause, .lecture[aria-pressed="true"] .play { display: none; }
.lecture[aria-pressed="true"] .pause { display: block; }
.controle:disabled { opacity: .5; cursor: not-allowed; }
.controle:disabled:hover { background: var(--ink); transform: none; }
.lecteur video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.lecteur__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.lecteur__controles { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.lecteur__controles .controle { width: 3.5rem; height: 3.5rem; }
.lecteur__note { background: var(--card); color: var(--ink); border-radius: var(--r-pill); padding: .5rem 1rem; font-size: var(--cs); font-weight: 600; width: fit-content; }
.video-principale__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.video-principale .lecteur__note { margin-top: .5rem; }
.lecteur--actif.video-principale::before { opacity: .55; }
.lecteur--actif .video-principale__lecture { opacity: 0; }
.lecteur--actif:hover .video-principale__lecture, .lecteur--actif .video-principale__lecture:focus-visible { opacity: 1; }
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem var(--gap); }
.video { display: flex; flex-direction: column; gap: 1rem; }
.video[hidden] { display: none; }
.video__affiche { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 445 / 792; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--card); }
.video__affiche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__affiche > * { position: relative; }

.video__infos { display: flex; flex-direction: column; gap: .25rem; }
.process { margin: 5rem var(--m) 0; background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 4rem; display: grid; grid-template-columns: 640fr 1008fr; gap: 4rem; }

/* ---------- Page À propos ---------- */
.about { display: grid; grid-template-columns: 1200fr 620fr; gap: var(--gap); }
.about__image { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 55rem; }
.about__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__carte { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.about__titre { display: flex; flex-direction: column; gap: 1.5rem; }
.about__texte { display: flex; flex-direction: column; gap: 1.25rem; }
.about__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding-top: .75rem; }
.casquettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.casquette { min-height: 25rem; border-radius: var(--r-card); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.casquette div { display: flex; flex-direction: column; gap: .75rem; }
.casquette--lilas { background: var(--lilac); }
.casquette--lime { background: var(--lime); }
.casquette--jaune { background: var(--yellow); }
.marques { background: var(--card); border-radius: var(--r-card); padding: 3rem 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }

/* ---------- Page Contact ---------- */
.contact { display: grid; grid-template-columns: 720fr 1100fr; gap: var(--gap); align-items: start; }
.apercu { position: sticky; top: calc(var(--nav-h) + var(--gap)); min-height: calc(100vh - var(--nav-h) - 2 * var(--gap)); background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.apercu__haut { display: flex; flex-direction: column; gap: 2rem; }
.destinataire { display: flex; align-items: center; gap: 1rem; }
.destinataire img { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; }
.destinataire div { display: flex; flex-direction: column; gap: .25rem; }
.phrase { text-wrap: pretty; }
.phrase b { font-weight: inherit; color: var(--lilac); transition: opacity .2s var(--ease); }
.phrase b.vide { opacity: .45; }
.apercu__bas { display: flex; flex-direction: column; gap: 1.25rem; }
.apercu__bas hr { border: 0; height: 1px; background: rgba(255, 255, 255, .35); margin: 0; width: 100%; }
.apercu__contacts { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.apercu__contacts a:hover { color: var(--lilac); }

.formulaire { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 4rem; display: flex; flex-direction: column; gap: 2rem; }
.formulaire__tete { display: flex; flex-direction: column; gap: .5rem; }
.formulaire__duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.champ { display: flex; flex-direction: column; gap: .5rem; }
.champ label, .choix legend { font-size: var(--l-field); line-height: 1.5; font-weight: 600; }
.champ input, .champ textarea {
  width: 100%; font: inherit; font-size: var(--cm); line-height: 1.5; color: var(--ink);
  background: var(--card); border: 1px solid var(--ink); border-radius: var(--r-field); padding: .9375rem 1.25rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.champ input { min-height: 3.5rem; }
.champ textarea { min-height: 10rem; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--muted); opacity: 1; }
.champ input:focus, .champ textarea:focus { outline: 0; border-color: var(--lilac-deep); box-shadow: 0 0 0 1px var(--lilac-deep); }
.champ .aide { font-size: var(--cs); line-height: 1.5; color: var(--muted); }
.champ[data-erreur="true"] input, .champ[data-erreur="true"] textarea { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.champ[data-erreur="true"] .aide, .choix[data-erreur="true"] .aide, .consentement[data-erreur="true"] .aide { color: var(--error); }
.choix { display: flex; flex-direction: column; gap: .75rem; }
.choix legend { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; padding: 0; margin-bottom: .75rem; float: left; width: 100%; }
.choix legend span { font-size: var(--cs); font-weight: 500; color: var(--muted); }
.choix .aide { font-size: var(--cs); color: var(--muted); display: none; }
.choix[data-erreur="true"] .aide { display: block; }
.options { display: flex; flex-wrap: wrap; gap: .5rem; clear: both; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .25rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--muted); font-size: var(--l-pill); line-height: 1.34; font-weight: 600; white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.option input:hover + span { border-color: var(--ink); }
.option input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.option input:focus-visible + span { outline: 3px solid var(--lilac-deep); outline-offset: 3px; }
.consentement { display: flex; flex-direction: column; gap: .5rem; }
.consentement label { display: flex; align-items: flex-start; gap: .75rem; font-size: var(--cs); line-height: 1.5; cursor: pointer; }
.consentement input { appearance: none; -webkit-appearance: none; flex: none; width: 1.5rem; height: 1.5rem; margin: 0; border: 1.5px solid var(--ink); border-radius: .375rem; background: var(--card) center / 70% no-repeat; cursor: pointer; }
.consentement input:checked { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.consentement .aide { font-size: var(--cs); display: none; }
.consentement[data-erreur="true"] .aide { display: block; }
.formulaire__envoi { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.formulaire__etat { font-size: var(--cs); line-height: 1.5; }
.formulaire__etat[data-type="erreur"] { color: var(--error); }
.pot { position: absolute; left: -9999px; }

.confirmation { background: var(--ink); color: #fff; border-radius: var(--r-card); min-height: 40rem; padding: 4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; text-align: center; }
.confirmation__coche { width: 6rem; height: 6rem; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.confirmation__coche svg { width: 2.5rem; height: 2.5rem; }
.confirmation__texte { display: flex; flex-direction: column; gap: 1rem; max-width: 45rem; }
.confirmation .boutons { justify-content: center; }

/* ---------- Pages légales ---------- */
.legal { background: var(--card); border-radius: var(--r-card); padding: 4rem; display: flex; flex-direction: column; gap: 1.5rem; }
.legal h2 { margin-top: 1rem; }
.legal p, .legal li { max-width: 50rem; }
.legal .a-completer { background: var(--yellow); padding: 0 .25em; border-radius: .25em; }

/* ---------- Écran d’entrée (vidéo plein écran) ---------- */
.entree { display: none; }
.avec-entree .entree {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: space-between;
  padding: 3rem; color: #fff; background: var(--ink); overflow: hidden;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.avec-entree body { overflow: hidden; }
.entree:focus { outline: 0; }
.avec-entree .reseaux { display: none; }
.entree--sortie { transform: translateY(-100%); opacity: .6; }
.entree__fond { position: absolute; inset: 0; z-index: 0; }
.entree__fond video, .entree__fond img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entree__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,34,34,.22) 0%, rgba(34,34,34,0) 22%, rgba(34,34,34,0) 55%, rgba(34,34,34,.55) 100%); }
.entree > *:not(.entree__fond) { position: relative; z-index: 1; }
.entree__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.entree__droite { display: flex; align-items: center; gap: 1rem; }
.entree__controles { display: flex; gap: .5rem; }
.controle { width: 3rem; height: 3rem; min-width: 44px; min-height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.controle:hover { background: var(--lilac-deep); transform: scale(1.06); }
.controle svg { width: 1.5rem; height: 1.5rem; }
.controle .on, .controle[aria-pressed="true"] .off { display: none; }
.controle[aria-pressed="true"] .on { display: block; }
.entree__logo { display: none; }
.entree__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.entree__accroche { display: flex; flex-direction: column; gap: .75rem; max-width: 45rem; text-shadow: 0 1px 12px rgba(34,34,34,.35); }
.entree__entrer { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.entree__entrer .btn { min-height: 5rem; padding: .5rem 3rem; gap: .75rem; font-size: max(1.125rem, 1.5rem); font-weight: 700; }
.entree__entrer p { text-shadow: 0 1px 8px rgba(34,34,34,.5); }

/* ==========================================================================
   Mise en page mobile et tablette
   ========================================================================== */
@media (max-width: 1023.98px) {
  :root {
    --m: 1rem; --gap: .75rem; --nav-h: 5.25rem;
    --d2xl: clamp(2.75rem, 15vw, 6rem); --d2xl-lh: .95;
    --dxl: clamp(2.25rem, 10.2vw, 4.5rem); --dxl-lh: 1;
    --dl: clamp(2rem, 8.6vw, 3.75rem); --dl-lh: 1.04;
    --tl: clamp(1.75rem, 6vw, 2.5rem); --tl-lh: 1.125;
    --tm: 1.5rem; --tm-lh: 1.167;
    --ts: 1.25rem; --ts-lh: 1.4;
    --cl: 1.125rem; --cl-lh: 1.556;
    --cm: 1rem; --cm-lh: 1.5;
    --cs: .9375rem;
    --l-btn: 1.0625rem; --l-pill: 1rem; --l-nav: 1rem; --l-tag: .75rem; --l-field: 1rem;
    --r-card: 1.5rem;
  }
  .sec--titre { padding-top: 3rem; gap: 1.5rem; }
  .sec--espace { padding-top: 2.25rem; }
  .btn { min-height: 3.5rem; white-space: normal; text-align: center; }
  .tag .long { display: none; }
  .tag .court { display: inline; }

  /* Navigation */
  .nav { grid-template-columns: 1fr auto; padding: 1rem var(--m); }
  .nav > nav, .nav__logo span, .nav__actions { display: none; }
  .nav__burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .375rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--card); border: 1px solid var(--border); }
  .nav__burger span { width: 1.125rem; height: 2px; background: var(--ink); border-radius: 2px; }

  .reseaux { right: var(--m); bottom: var(--m); padding: .375rem; }
  .reseaux__compte { display: none; }
  .reseaux a { min-height: 2.5rem; padding: 0 1rem; }

  .entete { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  /* Hero */
  .hero { padding: 1.5rem 1.5rem 0; gap: 2rem; }
  .hero__haut { flex-wrap: wrap; }
  .hero__milieu { flex-direction: column; align-items: stretch; gap: 2rem; }
  .hero__logo { flex: none; max-width: 34rem; }
  .hero__accroche { flex: none; gap: 1.5rem; }
  .hero__formes { height: 4.5rem; }
  .hero__formes span { height: 12rem; }
  .boutons .btn { flex: 1 1 14rem; }

  .bandeau { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .bandeau__marques { gap: .5rem 1.5rem; }
  .bandeau--cta { padding: 1.5rem; }
  .bandeau--cta .btn { width: 100%; }

  .prestations { grid-template-columns: 1fr; }
  .prestation { aspect-ratio: auto; min-height: 30rem; padding: 1.5rem; gap: 6rem; }

  .pourquoi { padding: 1.5rem; gap: 2rem; }
  .pourquoi__titre h2 { hyphens: auto; }
  .chaine { flex-direction: column; gap: .75rem; }
  .chaine figure { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .chaine .rond { transform: rotate(90deg); width: 3rem; height: 3rem; }
  .chaine figcaption { left: 1rem; top: 1rem; padding: .5rem 1rem; }

  .projets, .projets--2 { grid-template-columns: 1fr; row-gap: 2rem; }
  .projet { gap: 1rem; }
  .projet__image .tag { left: 1rem; top: 1rem; }

  .etapes { grid-template-columns: 1fr; }
  .etape { min-height: 0; padding: 1.5rem; gap: 2.5rem; }
  .etape:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: calc(var(--gap) / -2 - 1.5rem); width: 3rem; height: 3rem; transform: translateX(-50%) rotate(90deg); box-shadow: 0 0 0 .25rem var(--page); }

  .duo, .duo--inverse { grid-template-columns: 1fr; }
  .duo__image { min-height: 0; aspect-ratio: 4 / 3; }
  .duo--inverse .duo__image { order: -1; }
  .duo__carte, .duo--haut .duo__carte { min-height: 0; padding: 1.5rem; gap: 2rem; }
  .duo--haut .duo__image { min-height: 0; }

  .faq { grid-template-columns: 1fr; padding-top: 3rem; gap: 1.5rem; }
  .faq__liste { padding: .5rem 1.5rem; }
  .faq__liste details { padding: 1.25rem 0; }
  .faq__bouton { width: 2.75rem; height: 2.75rem; }

  .cta { padding-top: 3rem; }
  .cta__formes { height: auto; }
  .cta__formes span { aspect-ratio: 1; height: auto !important; flex: 1 1 0 !important; }
  .cta__formes span:nth-child(1) { flex: 1.25 1 0 !important; aspect-ratio: 1.25; }
  .cta__carte { flex-direction: column; align-items: stretch; padding: 1.5rem; gap: 1.5rem; }
  .cta__titre { gap: 1.25rem; }
  .cta__actions { flex: none; gap: 1.5rem; }

  .footer__carte { padding: 1.5rem; gap: 2rem; }
  .footer__haut { flex-direction: column; gap: 2rem; }
  .footer__marque { flex: none; }
  .footer__marque img { width: 13.5rem; }
  .footer__colonnes { flex-wrap: wrap; gap: 2rem 3rem; }
  .footer__bas { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-direction: column; }

  .titre-page, .adobe-tete { padding-top: 1.5rem; gap: 1.25rem; }
  .titre-page__intro, .adobe-tete__intro { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .filtres { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); max-width: 100vw; scrollbar-width: none; }
  .filtres::-webkit-scrollbar { display: none; }
  .filtres button { flex: none; }

  .fiche { grid-template-columns: 1fr; }
  .fiche__resume { position: static; padding: 1.5rem; }
  .fiche__boutons .btn { flex: 1 1 100%; }
  .suivant { padding-top: 3rem; }
  .suivant a { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .suivant__texte { padding: .5rem .5rem 0; gap: 1.5rem; order: 2; }
  .suivant__texte .btn { width: 100%; }
  .suivant__image { order: 1; border-radius: 1rem; }
  .suivant__nom { font-size: var(--dxl); }

  .video-principale { padding: 1rem; aspect-ratio: 4 / 5; }
  .lecture--grand { width: 4.5rem; height: 4.5rem; }
  .videos { grid-template-columns: repeat(2, 1fr); gap: 1.5rem var(--gap); }
  .process { margin-top: 3rem; grid-template-columns: 1fr; padding: 1.5rem; gap: 1.25rem; }

  .about { grid-template-columns: 1fr; }
  .about__image { min-height: 0; aspect-ratio: 4 / 5; }
  .about__carte { padding: 1.5rem; gap: 2rem; }
  .casquettes { grid-template-columns: 1fr; }
  .casquette { min-height: 0; padding: 1.5rem; gap: 3rem; }
  .marques { padding: 1.5rem; flex-direction: column; align-items: flex-start; gap: .75rem; }

  .contact { grid-template-columns: 1fr; }
  .apercu { position: static; min-height: 0; padding: 1.5rem; gap: 2rem; order: 0; }
  .formulaire { padding: 1.5rem; gap: 1.75rem; }
  .formulaire__duo { grid-template-columns: 1fr; gap: 1.75rem; }
  .formulaire__envoi .btn { width: 100%; }
  .option span { white-space: normal; }
  .confirmation { min-height: 28rem; padding: 2.5rem 1.5rem; }
  .legal { padding: 1.5rem; }

  /* Écran d’entrée */
  .avec-entree .entree { padding: 1.5rem; }
  .entree__fond::after { background: linear-gradient(180deg, rgba(34,34,34,.6) 0%, rgba(34,34,34,.9) 100%); }
  .entree__haut .pastille--contour-sombre { display: none; }
  .entree__logo { display: block; width: min(100%, 26rem); }
  .entree__bas { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .entree__controles { order: -1; }
  .entree__entrer { align-items: stretch; }
  .entree__entrer p { display: none; }
  .entree__accroche { text-shadow: none; }
}

@media (min-width: 600px) and (max-width: 1023.98px) {
  :root { --m: 1.5rem; --gap: 1rem; }
  .projets, .projets--2 { grid-template-columns: repeat(2, 1fr); }
  .prestation { min-height: 24rem; }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .etape { min-height: 16rem; }
  .etape:not(:last-child)::after { display: none; }
  .casquettes { grid-template-columns: repeat(3, 1fr); }
  .chaine { flex-direction: row; }
  .chaine figure { flex: 1 1 0; aspect-ratio: 3 / 4; }
  .chaine .rond { transform: none; }
  .formulaire__duo { grid-template-columns: 1fr 1fr; }
  .video-principale { aspect-ratio: 16 / 10; }
  .duo, .duo--inverse, .about { grid-template-columns: 1fr 1fr; }
  .duo__image, .about__image { aspect-ratio: auto; }
  .duo--inverse .duo__image { order: 0; }
}

@media (min-width: 900px) and (max-width: 1023.98px) {
  .videos { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .nav__actions .statut { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .nav__logo span { display: none; }
}
/* Écrans peu hauts : les cartes « collantes » redeviennent des blocs normaux pour rester lisibles en entier. */
@media (min-width: 1024px) and (max-height: 759.98px) {
  .fiche__resume, .apercu { position: static; }
  .apercu { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .nav, .reseaux, .entree, .menu { display: none !important; }
}
