/* ═══════════════════════════════════════════════════════════
   Clé Nocturne — feuille de style
   Écrite en mobile first : les règles de base valent pour le
   téléphone, les media queries élargissent ensuite.

   1. Variables      5. Services
   2. Bases          6. Présentation
   3. Composants     7. Citation
   4. Hero           8. Pied de page / fenêtres
   ═══════════════════════════════════════════════════════════ */

/* ───────── 1. Variables ───────── */
:root {
  --marine-900: #02132c;
  --marine-logo: #042454;   /* le marine exact du fichier logo */
  --marine-800: #031a3d;
  --marine:     #052655;
  --marine-600: #0a3163;
  --marine-500: #0e4485;
  --marine-400: #16559f;

  --or:         #c9a86a;   /* le doré du logo, sur fond sombre */
  --or-clair:   #deb06b;
  --or-fonce:   #8a6a2e;   /* le même doré, lisible sur fond blanc */
  --or-pale:    #f5efe1;   /* aplats très clairs */

  --blanc:      #ffffff;
  --creme:      #f8fafc;
  --gris-100:   #eef2f7;
  --gris-300:   #d5dee8;
  --texte:      #1b2a3d;
  --texte-doux: #536379;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --r-sm: 3px;
  --r:    5px;
  --r-lg: 7px;

  --ombre:    0 1px 3px rgba(5, 38, 85, .08);
  --ombre-md: 0 4px 14px rgba(5, 38, 85, .10);
  --ombre-lg: 0 10px 34px rgba(2, 19, 44, .22);

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

/* ───────── 2. Bases ───────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--or-fonce); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--or-fonce); color: var(--blanc); }

.shell {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--marine);
}

.eyebrow::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 8px;
  background: currentColor;
  opacity: .5;
  transition: width .8s var(--ease-out) .2s;
}
[data-reveal].is-in .eyebrow::after,
.is-in.eyebrow::after { width: 44px; }

.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 12px;
}

.section-lead {
  margin-top: 14px;
  color: var(--texte-doux);
  max-width: 56ch;
}

/* Apparition douce au défilement */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Réaction au toucher, utile surtout sur téléphone */
.card:active { transform: scale(.985); }
.btn:active { transform: scale(.98); }
.foot__line:active, .foot__social a:active { opacity: .7; }

/* ───────── 3. Composants ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
}
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--marine {
  background: var(--marine);
  color: var(--blanc);
}
.btn--marine:hover { background: var(--marine-500); }

.btn--gold {
  background: var(--or);
  color: var(--marine-900);
}
.btn--gold:hover { background: var(--or-clair); }

.btn--sm { padding: 10px 16px; font-size: .86rem; border-radius: var(--r-sm); }
.btn--xl { padding: 18px 30px; font-size: 1.05rem; border-radius: var(--r); width: 100%; }

/* ───────── En-tête ───────── */
.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-300);
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.head.is-shown { transform: none; }
.head__in {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding-block: 10px;
}
.head__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--marine);
}
.head__brand img { border-radius: 50%; width: 36px; height: 36px; object-fit: cover; }
.head__nav { display: none; }
.head__nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--texte-doux);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.head__nav a:hover { color: var(--marine); border-bottom-color: var(--or-fonce); }

/* ───────── 4. Hero ───────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 64px 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--marine) url("../img/photos/hero.jpg") center / cover no-repeat;
  animation: respire 26s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 19, 44, .58), rgba(3, 26, 61, .72) 55%, rgba(2, 19, 44, .92)),
    radial-gradient(ellipse at 50% 38%, rgba(201, 168, 106, .10), transparent 62%);
}
/* Très lent mouvement de la photo : à peine perceptible */
@keyframes respire {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero__in { text-align: center; color: var(--blanc); }

.hero__medal {
  width: clamp(124px, 34vw, 168px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 6px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(201, 168, 106, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 18px 50px rgba(2, 19, 44, .55);
}
.hero__medal img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 12vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: .01em;
}
.hero__slogan {
  margin-top: 14px;
  font-size: clamp(.78rem, 3.2vw, .95rem);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--or);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__slogan span { color: rgba(255, 255, 255, .35); }

.hero__sub {
  margin: 22px auto 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
}

.hero__more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(34px, 7vh, 60px);
  padding: 6px 2px;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--blanc);
  transition: color .3s var(--ease);
}
.hero__more span {
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 3px;
  transition: border-color .3s var(--ease);
}
.hero__more:hover { color: var(--or); }
.hero__more:hover span { border-color: var(--or); }
.hero__more svg { color: var(--or); animation: flotte 2.2s var(--ease) infinite; }
@keyframes flotte {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* Entrée des éléments du hero */
.hero [data-anim] { opacity: 0; transform: translateY(18px); }
.hero-go [data-anim] { animation: monte .85s var(--ease-out) forwards; }
.hero-go [data-anim="1"] { animation-delay: .05s; }
.hero-go [data-anim="2"] { animation-delay: .20s; }
.hero-go [data-anim="3"] { animation-delay: .34s; }
.hero-go [data-anim="4"] { animation-delay: .46s; }
.hero-go [data-anim="5"] { animation-delay: .60s; }
@keyframes monte { to { opacity: 1; transform: none; } }

/* ───────── Animation d'ouverture ───────── */
.unlock {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--marine-900);
  transition: opacity .7s var(--ease), visibility .7s;
}
.unlock.is-done { opacity: 0; visibility: hidden; }
.unlock__stage { text-align: center; }
.unlock__mark { width: min(56vw, 230px); height: auto; margin-inline: auto; }
.unlock__word {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blanc);
  opacity: 0;
  animation: monte .9s var(--ease-out) 1.5s forwards;
}
.u-ring2 { animation: trace 1.6s var(--ease-out) .1s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.u-moon { animation: monte .9s var(--ease-out) 1.45s forwards; }
/* La clé arrive couchée — comme engagée dans la serrure — puis se
   redresse : c'est le geste de déverrouillage. */
.u-key {
  transform-box: view-box;
  transform-origin: 108px 72px;
  animation: tourne 1.1s var(--ease-out) .7s forwards;
}
@keyframes tourne {
  0%   { transform: rotate(-90deg); opacity: .25; }
  25%  { opacity: 1; }
  70%  { transform: rotate(7deg); }
  100% { transform: rotate(0deg); }
}
/* Éclat doré au moment où la clé se redresse */
.u-ring { animation: eclat 1.1s var(--ease) 1.5s; }
@keyframes eclat {
  0%, 100% { opacity: .45; }
  35%      { opacity: 1; stroke-width: 2.4; }
}

/* ───────── 5. Services ───────── */
.services {
  padding-block: clamp(56px, 10vw, 96px);
  background: linear-gradient(165deg, var(--marine-400), var(--marine-500) 55%, var(--marine));
  color: var(--blanc);
}
.services .h2 { color: var(--blanc); }
.services .eyebrow { color: var(--or); }
.services .section-lead { color: rgba(255, 255, 255, .78); }

.cards-frame { margin-top: 28px; }
.cards {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.card {
  position: relative;
  width: 100%;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  text-align: left;
  border-radius: var(--r);
  overflow: hidden;
  color: var(--blanc);
  background: var(--marine-600) var(--photo) center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease), background-color .3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(5, 38, 85, .62), rgba(2, 19, 44, .93));
  transition: opacity .3s var(--ease);
}
.card > * { position: relative; z-index: 1; }
.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .42);
}

.card--1 { --photo: url("../img/photos/s1-annonces.jpg"); }
.card--2 { --photo: url("../img/photos/s2-communication.jpg"); }
.card--3 { --photo: url("../img/photos/s3-linge.jpg"); }
.card--4 { --photo: url("../img/photos/s4-prix.jpg"); }
.card--5 { --photo: url("../img/photos/s5-suivi.jpg"); }
.card--6 { --photo: url("../img/photos/s6-maintenance.jpg"); }

.card__num {
  position: absolute;
  top: 12px; left: 18px;
  font-family: var(--serif);
  font-size: 1.62rem;
  font-weight: 600;
  color: var(--or-clair);
  letter-spacing: .06em;
  text-shadow: 0 1px 6px rgba(2, 19, 44, .65);
}
.card__body { display: block; }
.card__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 6px;
}
.card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}
.card__plus {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--blanc);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__plus { background: var(--or); border-color: var(--or); color: var(--marine-900); }

.services__cta {
  margin-top: 34px;
  text-align: center;
  padding: 26px 20px 4px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.services__cta-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 5.2vw, 1.9rem);
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: 20px;
}
.services__cta-note { margin-top: 12px; font-size: .84rem; color: rgba(255, 255, 255, .62); }

/* ───────── 6. Présentation ───────── */
.pres {
  padding-block: clamp(60px, 11vw, 110px);
  background: linear-gradient(180deg, var(--blanc), var(--creme));
}
.pres__in { display: grid; gap: 30px; }
.pres__photo { margin: 0; text-align: center; }
.pres__photo .cadre {
  display: inline-block;
  padding: 10px;
  background: var(--blanc);
  border: 1px solid var(--marine);
  border-radius: 2px;
  box-shadow: var(--ombre);
}
.pres__photo img {
  width: min(280px, 68vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--gris-300);
  border-radius: 0;
}
.pres__photo figcaption {
  margin-top: 12px;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.pres__text > p { margin-top: 14px; color: var(--texte-doux); }
.pres__mission {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--marine) !important;
  padding-left: 16px;
  border-left: 3px solid var(--or-fonce);
}

/* ───────── 7. Citation + appel ───────── */
.quote {
  position: relative;
  padding-block: clamp(64px, 12vw, 120px);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.quote__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--marine) url("../img/photos/citation.jpg") center / cover no-repeat;
}
.quote__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(3, 26, 61, .93), rgba(2, 19, 44, .80));
}
.quote__in { display: grid; gap: 34px; }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.28;
  max-width: 22ch;
}
.quote blockquote em { font-style: italic; color: var(--or); }

.quote__cta { text-align: center; }
.quote__cta > p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 5vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 18px;
}
.quote__note { margin-top: 12px; font-size: .84rem; color: rgba(255, 255, 255, .7); }

/* ───────── 8. Pied de page ───────── */
.foot {
  background: var(--marine-logo);
  color: var(--blanc);
  padding-block: clamp(46px, 9vw, 76px) 26px;
}
.foot__top { display: grid; gap: 34px; }
.foot__h {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--blanc);
}
.foot__h::after {
  content: "";
  display: block;
  width: 46px; height: 2px;
  margin-top: 10px;
  background: var(--or);
}

.foot__line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.foot__line + .foot__line { margin-top: 22px; }
.foot__line:hover { color: var(--or); }
.foot__icon {
  flex: none;
  width: 30px;
  display: grid;
  place-items: start center;
  padding-top: 4px;
  color: var(--or);
}
.foot__lines { display: grid; gap: 2px; min-width: 0; }
.foot__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.foot__label { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.foot__free {
  color: var(--or);
  text-transform: none;
  letter-spacing: .02em;
  font-size: .8rem;
}
.foot__value {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.foot__value--mail { font-size: .86rem; font-family: var(--sans); overflow-wrap: anywhere; }
.foot__hint { font-size: .78rem; color: rgba(255, 255, 255, .5); }

.foot__social ul { list-style: none; padding: 0; display: grid; gap: 18px; }
.foot__social a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  transition: color .25s var(--ease);
}
.foot__social a:hover { color: var(--or); }
.foot__social a span:last-child {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .25s var(--ease);
}
.foot__social a:hover span:last-child { border-color: var(--or); }

.foot__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 18px;
  align-items: center;
}
.foot__sign { display: flex; align-items: center; gap: 16px; }
.foot__sign img { width: 96px; height: auto; border-radius: 2px; }
.foot__slogan { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}
.foot__legal a { transition: color .25s var(--ease); }
.foot__legal a:hover { color: var(--or); }

/* ───────── Fenêtres modales ───────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.modal.is-open { opacity: 1; }
.modal__veil { position: absolute; inset: 0; background: rgba(2, 19, 44, .58); }
.modal__box {
  position: relative;
  width: 100%;
  max-height: 92svh;
  overflow-y: auto;
  padding: 26px 20px 28px;
  background: var(--blanc);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--ombre-lg);
  transform: translateY(24px);
  transition: transform .35s var(--ease-out);
}
.modal.is-open .modal__box { transform: none; }
.modal__x {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gris-100);
  color: var(--marine);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.modal__x:hover { background: var(--gris-300); }
.modal__num {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 8px;
}
.modal__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  line-height: 1.16;
  color: var(--marine);
  padding-right: 38px;
}
.modal__text { margin-top: 12px; color: var(--texte-doux); }
.modal__go { margin-top: 22px; width: 100%; }

/* ───────── Formulaire ───────── */
.form { margin-top: 20px; }
.form__row { display: grid; gap: 14px; }
.field { margin-top: 14px; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--marine);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--texte);
  background: var(--creme);
  border: 1px solid var(--gris-300);
  border-radius: var(--r-sm);
  appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--texte-doux) 50%), linear-gradient(135deg, var(--texte-doux) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus, .field select:focus {
  outline: none;
  background: var(--blanc);
  border-color: var(--or-fonce);
  box-shadow: 0 0 0 3px rgba(138, 106, 46, .18);
}
.field input::placeholder { color: #9aa8b8; }
.field.is-bad input, .field.is-bad select { border-color: #d0453a; }
.field__err { display: block; margin-top: 5px; font-size: .78rem; color: #d0453a; }

.form__send { margin-top: 22px; }
.form__status {
  margin-top: 12px;
  font-size: .88rem;
  text-align: center;
  color: var(--texte-doux);
  min-height: 1.3em;
}
.form__status.is-ok { color: #1d7a4c; font-weight: 600; }
.form__status.is-bad { color: #d0453a; }
.form__rgpd { margin-top: 12px; font-size: .74rem; color: var(--texte-doux); text-align: center; }
.form__rgpd a { color: var(--or-fonce); text-decoration: underline; }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ═══════ Pages légales ═══════ */
.legal { padding-block: 110px 70px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 6vw, 2.8rem); color: var(--marine); font-weight: 600; }
.legal h2 { font-family: var(--serif); font-size: 1.35rem; color: var(--marine); margin-top: 32px; font-weight: 600; }
.legal p, .legal li { margin-top: 10px; color: var(--texte-doux); }
.legal ul { padding-left: 20px; }
.legal .retour { display: inline-flex; gap: 8px; margin-bottom: 24px; color: var(--or-fonce); font-weight: 500; }
.legal .todo {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--or-pale);
  color: #0d7591;
  font-size: .86em;
  font-weight: 600;
}

/* ═══════════════ Tablette ═══════════════ */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cards-frame { padding: 18px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .modal { place-items: center; padding: 20px; }
  .modal__box {
    max-width: 560px;
    border-radius: var(--r-lg);
    padding: 34px 32px 32px;
    transform: translateY(16px) scale(.98);
  }
  .foot__top { grid-template-columns: 1.35fr 1fr; gap: 44px; }
  .foot__bottom { grid-template-columns: 1fr auto; }
  .foot__legal { justify-content: flex-end; }
  .btn--xl { width: auto; }
  .card__text { -webkit-line-clamp: 3; }
}

/* ═══════════════ Ordinateur ═══════════════ */
@media (min-width: 900px) {
  .head__nav { display: flex; gap: 28px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card { min-height: 236px; padding: 22px; }
  .card__title { font-size: 1.42rem; }
  .card__text { -webkit-line-clamp: 4; font-size: .92rem; }
  .cards-frame { padding: 22px; }

  .pres__in { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
  .pres__photo .cadre { display: block; }
  .pres__photo img { width: 100%; }

  .quote__in { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .quote__cta { text-align: left; }

  .services__cta { padding: 34px 20px 6px; }
  .hero__sub { max-width: 46ch; font-size: 1.08rem; }
}

@media (min-width: 1100px) {
  .card:hover .card__text { -webkit-line-clamp: 6; }
}

/* ═══════════════ Confort & accessibilité ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .hero [data-anim] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .head, .hero__more, .modal, .unlock { display: none !important; }
  body { background: #fff; color: #000; }
}
