/* Polices hébergées localement (CSP stricte : font-src 'self').
   Polices variables Google Fonts, sous-ensemble latin — licence SIL Open Font License. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/cormorant-garamond.woff2) format('woff2'); 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; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(assets/fonts/cormorant-garamond-italic.woff2) format('woff2'); 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; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(assets/fonts/montserrat.woff2) format('woff2'); 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; }

/* ============ Auralis — DA : noir profond, marbre, lumière dorée ============ */
:root {
  --black: #070605;
  --ink: #0e0b09;
  --panel: #15110d;
  --line: rgba(232, 196, 140, 0.16);
  --gold: #d6a867;
  --gold-soft: #e9c58f;
  --amber: #f0a64a;
  --cream: #f4ede3;
  --muted: #a89d8f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ui: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Fond : même noir qu'avant + trame de points discrète qui dérive lentement et « respire » par vagues */
/* Performance : les deux couches ne bougent que par « transform », géré par la carte graphique
   (avant : background-position et masque animés = toute la page redessinée à chaque image). */
body::before {
  content: ""; position: fixed; inset: -44px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,237,227,.55) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: .1;
  animation: dotsDrift 24s linear infinite;
  will-change: transform;
}
/* halo doré qui se promène lentement et réchauffe les points par endroits */
body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  top: -35vh; left: -35vw; width: 70vw; height: 70vh; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233,197,143,.07), transparent);
  animation: dotsGlow 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes dotsDrift { to { transform: translate(22px, 22px); } }
@keyframes dotsGlow {
  0%   { transform: translate(20vw, 25vh); }
  33%  { transform: translate(75vw, 40vh); }
  66%  { transform: translate(40vw, 80vh); }
  100% { transform: translate(85vw, 70vh); }
}
/* animations continues mises en pause quand l'élément n'est pas à l'écran (classe posée par script.js) */
.is-offscreen, .is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
em { font-style: italic; color: var(--gold-soft); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 22px;
  font: 600 .95rem/1 var(--ui);
  border-radius: 10px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .5s var(--ease); }
/* reflet qui traverse le bouton au survol */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, var(--shine, rgba(255,255,255,.28)) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.btn--dark { background: #151515; color: #fff; border-color: rgba(255,255,255,.12); }
.btn--dark:hover { background: #000; box-shadow: 0 14px 34px -12px rgba(0,0,0,.9), 0 0 0 1px rgba(233,197,143,.35); }
.btn--dark:hover svg { animation: hop .6s var(--ease); }
.btn--light { background: #fff; color: #111; border-color: #e6e6e6; --shine: rgba(214,168,103,.35); }
.btn--light:hover { box-shadow: 0 14px 34px -12px rgba(255,255,255,.45); }
.btn--light:hover svg { transform: rotate(360deg); }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } 70% { transform: translateY(1px); } }

/* Bouton « flow » : pilule → coins adoucis, cercle qui remplit, texte qui glisse, flèches qui s'échangent */
.btn--flow {
  --flow-fill: #fff; --flow-ink: #111;
  gap: 0; padding: 13px 34px; border-radius: 100px; border-width: 1.5px;
  background-clip: padding-box; /* pas de liseré de l'ancienne couleur autour du cercle */
  transition: border-radius .6s cubic-bezier(.23,1,.32,1), color .6s cubic-bezier(.23,1,.32,1),
              border-color .6s cubic-bezier(.23,1,.32,1), transform .2s ease;
}
.btn--light.btn--flow { --flow-fill: #111; --flow-ink: #fff; }
.btn--flow::after { display: none; }
.btn--flow:hover { transform: none; border-radius: 12px; border-color: transparent; color: var(--flow-ink); box-shadow: none; }
.btn--flow:active { transform: scale(.95); }
.btn--flow .flow__label { position: relative; z-index: 1; transform: translateX(-12px); transition: transform .8s ease-out; }
.btn--flow:hover .flow__label { transform: translateX(12px); }
.btn--flow .flow__circle {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 16px; height: 16px; border-radius: 50%; opacity: 0; background: var(--flow-fill);
  transition: scale .8s cubic-bezier(.19,1,.22,1), opacity .5s cubic-bezier(.19,1,.22,1);
}
.btn--flow:hover .flow__circle { width: 280px; height: 280px; opacity: 1; }
.btn--flow .flow__arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 9;
  width: 16px; height: 16px; animation: none !important; transform: none !important;
  transition: left .8s cubic-bezier(.34,1.56,.64,1), right .8s cubic-bezier(.34,1.56,.64,1);
}
.btn--flow .flow__arrow--in { left: -25%; }
.btn--flow .flow__arrow--out { right: 14px; }
.btn--flow:hover .flow__arrow--in { left: 14px; }
.btn--flow:hover .flow__arrow--out { right: -25%; }
.btn--sm.btn--flow { padding: 10px 30px; }
.btn--sm.btn--flow .flow__arrow { width: 14px; height: 14px; }
.btn--sm.btn--flow .flow__label { transform: translateX(-10px); }
.btn--sm.btn--flow:hover .flow__label { transform: translateX(10px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad);
  transition: all .5s var(--ease);
}
.nav.is-scrolled {
  padding-block: 14px;
  background: linear-gradient(180deg, rgba(7,6,5,.88), rgba(7,6,5,.62));
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.7);
}
.nav__logo img { height: 42px; width: auto; transition: transform .5s var(--ease); transform-origin: left center; }
.nav.is-scrolled .nav__logo img { height: 34px; }
.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links a:not(.btn) {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 237, 227, .8);
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--cream); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; background: none; border: 0; width: 32px; height: 20px; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--cream); transition: .4s var(--ease); }
.nav__home { display: none; }
.nav__burger span:first-of-type { top: 4px; }
.nav__burger span:nth-of-type(2) { bottom: 4px; }
.nav__burger[aria-expanded="true"] span:first-of-type { top: 9px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-of-type(2) { bottom: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 140px var(--pad) 130px;
  overflow: hidden; isolation: isolate;
}
/* Photo d'accueil : entrée en fondu (flou → net), puis zoom lent qui « respire »,
   et parallaxe au scroll (--hero-y, --hero-p sont mis à jour par script.js) */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  translate: 0 var(--hero-y, 0px);
  animation: heroIn 1.8s var(--ease) both, heroDrift 22s ease-in-out 1.8s infinite alternate;
  will-change: scale, translate;
}
@keyframes heroIn {
  from { opacity: 0; scale: 1.18; filter: blur(14px) brightness(.5); }
  to   { opacity: 1; scale: 1.04; filter: none; }
}
@keyframes heroDrift {
  from { scale: 1.04; }
  to   { scale: 1.12; }
}

/* ---------- Bandeau défilant (2 lignes, sens opposés, vitesse liée au scroll) ---------- */
.scroll-marquee { padding: 14px 0 12px; overflow: hidden; }
.scroll-marquee__row { overflow: hidden; white-space: nowrap; line-height: 1.5; }
.scroll-marquee__track { display: flex; width: max-content; will-change: transform; }
.scroll-marquee__track span {
  flex-shrink: 0; padding-right: .35em;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(.9rem, 1.2vw, 1.1rem); letter-spacing: .01em;
  color: rgba(244, 237, 227, .92);
}
.scroll-marquee__row--alt .scroll-marquee__track span { font-style: italic; color: var(--gold-soft); }
.scroll-marquee b { font-weight: 400; font-size: .45em; vertical-align: .35em; color: var(--gold); margin: 0 .25em; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) var(--pad); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }

/* ---------- Services ---------- */
.services { background: radial-gradient(ellipse 50% 40% at 85% 35%, rgba(240,166,74,.08), transparent 70%); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Carte « gradient bold » : une lueur or/cuivre tourne autour de la carte, derrière un panneau en verre dépoli */
.card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px 24px 30px;
  border-radius: 16px;
  background: #0b0907;
  /* découpe arrondie forcée : Safari (iPhone) ignore overflow + border-radius sur une carte inclinée en 3D */
  clip-path: inset(0 round 16px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { /* la lueur qui fait le tour */
  content: ""; position: absolute; z-index: -2;
  top: 50%; left: 50%; width: 80%; height: 62%; border-radius: 50%;
  background: linear-gradient(90deg, #f5dcae, var(--gold) 45%, var(--amber) 70%, #b0612a);
  filter: blur(18px);
  animation: cardBlob 7s linear infinite;
  animation-delay: var(--blob-delay, 0s);
}
.card::after { /* le panneau intérieur, légèrement transparent */
  content: ""; position: absolute; z-index: -1; inset: 5px;
  border-radius: 12px;
  background: rgba(9, 7, 5, .84);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  outline: 1.5px solid rgba(233,197,143,.14);
}
.services__grid .card:nth-child(2) { --blob-delay: -1.75s; }
.services__grid .card:nth-child(3) { --blob-delay: -3.5s; }
.services__grid .card:nth-child(4) { --blob-delay: -5.25s; }
@keyframes cardBlob {
  0%   { transform: translate(-100%, -100%); }
  25%  { transform: translate(0%, -100%); }
  50%  { transform: translate(0%, 0%); }
  75%  { transform: translate(-100%, 0%); }
  100% { transform: translate(-100%, -100%); }
}
.card:hover::before { animation-duration: 3.5s; filter: blur(14px) brightness(1.2); }
.card > * { position: relative; }
.card__icon { display: block; width: 30px; height: 30px; color: var(--gold); margin: 22px 0 16px; }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.card ul { list-style: none; border-top: 1px solid var(--line); padding-top: 14px; }
.card li { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,237,227,.72); padding: 4px 0; font-size: .7rem; }
.card li::before { content: "— "; color: var(--gold); }

/* ---------- Tarifs ---------- */
.pricing { background: radial-gradient(ellipse 55% 40% at 50% 40%, rgba(240,166,74,.1), transparent 70%); }
.section__sub { color: var(--muted); margin-top: 18px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1320px; margin: 0 auto; align-items: stretch; }
/* Même aspect que les petites cartes : fond noir à lueur dorée, pastille ronde, nom en serif */
.plan {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 26px 26px;
  border-radius: 18px; border: 1px solid rgba(233,197,143,.28);
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(240,166,74,.16), transparent 70%),
    linear-gradient(180deg, #17120d, #0b0907);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.plan::before { /* pastille ronde en haut à droite */
  content: ""; position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(233,197,143,.35);
  background: radial-gradient(circle, rgba(233,197,143,.35), transparent 70%);
}
.plan:hover { border-color: rgba(233,197,143,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 34px -18px rgba(0,0,0,.85); }
.plan > * { position: relative; }
.plan__label { font: 600 .68rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-right: 54px; }
.plan__name { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; margin-top: 18px; }
.plan__price { font-family: var(--serif); font-size: clamp(1.75rem, 2.1vw, 2.2rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; color: #f6e4c0; white-space: nowrap; }
.plan__price small { font-family: var(--ui); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--taupe); }
.plan__desc { font-size: .9rem; color: var(--muted); }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(233,197,143,.2); margin-bottom: 10px; }
.plan__list li { display: flex; gap: 10px; font-size: .88rem; color: rgba(244,237,227,.88); }
.plan__list li::before { content: "✓"; color: var(--gold); font-weight: 600; }
.plan .btn { margin-top: auto; width: 100%; }

/* carte mise en avant : or métallisé discret (liseré brossé + reflet qui glisse) */
.plan--featured {
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(240,166,74,.12), transparent 70%) padding-box,
    linear-gradient(180deg, #17120d, #0b0907) padding-box,
    linear-gradient(135deg, #7a5a30, #f3dcb0 22%, #9c7442 42%, #ecd3a0 62%, #6f5129 82%, #d9b77e) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.plan--featured::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(245,220,174,.06) 45%, rgba(255,255,255,.1) 50%, rgba(245,220,174,.05) 55%, transparent 65%) 0 0 / 250% 100% no-repeat;
  animation: metalSheen 7s ease-in-out infinite;
}
@keyframes metalSheen { 0%, 15% { background-position: 110% 0; } 60%, 100% { background-position: -10% 0; } }
.plan--featured::before { border-color: rgba(243,220,176,.45); background: radial-gradient(circle at 35% 30%, rgba(255,245,225,.55), rgba(201,160,99,.25) 45%, transparent 70%); }
/* Signature : nom et prix en couleur pleine (le dégradé doré les éteignait) ; le prix est le plus clair de la carte */
.plan--featured .plan__name { color: #f1dcb7; }
.plan--featured .plan__price { color: #fff1d4; }
.plan--featured:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 34px -18px rgba(0,0,0,.85); }

/* ---------- Méthode ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: s; }
.steps li { position: relative; padding-top: 36px; border-top: 1px solid var(--line); }
.steps li::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 18px 4px rgba(240,166,74,.5);
}
.steps span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.steps h3 { font-size: 2rem; margin: 10px 0 14px; }
.steps p { color: var(--muted); font-size: .93rem; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(90px, 12vw, 160px) var(--pad); overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background: url(assets/hero.jpg?v=2) center / cover no-repeat;
  filter: blur(3px) brightness(.32);
  transform: scale(1.05);
  /* fondu en haut : pas de cassure nette avec la section précédente */
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 30%);
          mask: linear-gradient(180deg, transparent 0%, #000 30%);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,6,5,.95) 10%, rgba(7,6,5,.6));
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 30%);
          mask: linear-gradient(180deg, transparent 0%, #000 30%);
}
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__text h2 { margin-bottom: 24px; }
.contact__info { list-style: none; margin-top: 44px; }
.contact__info li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.contact__info span { width: 110px; flex-shrink: 0; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.contact__info a:hover { color: var(--gold-soft); }

.form {
  background: rgba(14, 11, 9, .72); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(244,237,227,.2);
  padding: 10px 0; color: var(--cream); font: 400 1rem var(--sans); letter-spacing: 0; text-transform: none;
  transition: border-color .3s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: transparent; }
.form input[type="text"], .form input[type="email"], .form textarea {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)) center bottom / 0% 1px no-repeat;
  transition: background-size .5s var(--ease), border-color .3s;
}
.form input:focus, .form textarea:focus { background-size: 100% 1px; }
.form fieldset { border: 0; }
.form legend { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { flex-direction: row; letter-spacing: 0; text-transform: none; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  font-size: .82rem; color: var(--cream); padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(244,237,227,.22); cursor: pointer; transition: all .3s var(--ease);
}
.chips input:checked + span { background: var(--gold); color: #1a120a; border-color: var(--gold); }
.chips input:focus-visible + span { outline: 1px solid var(--gold-soft); outline-offset: 2px; }
.form .btn { align-self: flex-start; margin-top: 8px; }
.btn--wa, .btn--ig { gap: 12px; }
.btn--wa svg, .btn--ig svg { width: 18px; height: 18px; flex-shrink: 0; }
/* bouton Instagram sous les coordonnées */
.btn--ig { margin-top: 28px; min-height: 44px; }

/* ---------- Footer ---------- */
.footer {
  padding: 70px var(--pad) 40px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
}
.footer__logo { height: 46px; width: auto; }
.footer nav { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.footer nav a, .footer__social a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.footer nav a:hover, .footer__social a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 24px; }
.footer__legal { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); text-align: center; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Effet « tilt » 3D + reflet (cartes services et tarifs) ---------- */
/* --rx / --ry / --gx / --gy / --go sont pilotés par script.js (souris, doigt ou scroll) */
.card.tilt, .plan.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ts, 1));
  transition: transform .6s var(--ease), opacity 1.1s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card.tilt.is-tilting, .plan.tilt.is-tilting { transition: transform .12s ease-out, opacity 1.1s var(--ease), box-shadow .5s var(--ease); }
/* cartes de prix : mouvement plus lent et plus souple */
.plan.tilt { transition: transform .9s var(--ease), opacity 1.1s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.plan.tilt.is-tilting { transition: transform .35s ease-out, opacity 1.1s var(--ease), box-shadow .5s var(--ease); }
.tilt-glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 238, 210, .2), rgba(233,197,143,.06) 30%, transparent 55%);
  opacity: var(--go, 0); transition: opacity .5s var(--ease);
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  /* Menu flottant : bouton rond en bas à droite, les liens se déploient au-dessus.
     Le flou de la barre du haut passe sur un pseudo-élément : un backdrop-filter sur .nav
     enfermerait le menu « fixed » dans la barre. */
  .nav.is-scrolled { background: none; backdrop-filter: none; box-shadow: none; }
  .nav.is-scrolled::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(7,6,5,.88), rgba(7,6,5,.62));
    backdrop-filter: blur(14px); box-shadow: 0 12px 30px -14px rgba(0,0,0,.7);
  }
  .nav__burger {
    display: block; position: fixed; z-index: 3;
    right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(17,17,17,.62); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0,0,0,.35);
  }
  .nav__burger span, .nav__burger span:first-of-type, .nav__burger span:nth-of-type(2) {
    top: 50%; bottom: auto; left: 50%; width: 20px; height: 1.5px; margin: -.75px 0 0 -10px;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  }
  /* fermé : une maison ; ouvert : la maison se transforme en croix pour fermer */
  .nav__burger span, .nav__burger span:first-of-type, .nav__burger span:nth-of-type(2) { opacity: 0; scale: .4; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .25s ease, scale .5s cubic-bezier(.34,1.56,.64,1); }
  .nav__burger span:nth-of-type(2) { transform: rotate(90deg); }
  .nav__burger[aria-expanded="true"] span { opacity: 1; scale: 1; }
  .nav__burger[aria-expanded="true"] span:first-of-type { top: 50%; bottom: auto; transform: rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-of-type(2) { top: 50%; bottom: auto; transform: rotate(135deg); }
  .nav__home {
    display: block; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
    fill: none; stroke: var(--cream); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    transition: opacity .25s ease, scale .5s cubic-bezier(.34,1.56,.64,1), rotate .5s cubic-bezier(.34,1.56,.64,1);
  }
  .nav__burger[aria-expanded="true"] .nav__home { opacity: 0; scale: .4; rotate: -90deg; }
  .nav__links {
    position: fixed; inset: auto 18px calc(82px + env(safe-area-inset-bottom)) auto;
    flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 8px;
    pointer-events: none;
  }
  .nav__links.is-open { pointer-events: auto; }
  .nav__links a {
    --d: 0s; --vd: .4s;
    opacity: 0; translate: 20px 10px; filter: blur(10px); visibility: hidden;
    transition: opacity .3s ease var(--d), translate .4s cubic-bezier(.34,1.56,.64,1) var(--d), filter .3s ease var(--d), visibility 0s linear var(--vd);
  }
  .nav__links.is-open a { opacity: 1; translate: 0 0; filter: blur(0); visibility: visible; --vd: 0s; }
  .nav__links.is-open a:nth-child(4) { --d: .05s; }
  .nav__links.is-open a:nth-child(3) { --d: .1s; }
  .nav__links.is-open a:nth-child(2) { --d: .15s; }
  .nav__links.is-open a:nth-child(1) { --d: .2s; }
  .nav__links a:not(.btn) {
    padding: 11px 18px; border-radius: 14px; color: var(--cream);
    background: rgba(17,17,17,.62); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0,0,0,.3);
  }
  .nav__links a:not(.btn)::after { display: none; }
  /* le bouton « Parlons projet » garde ses propres transitions + celles du déploiement */
  .nav__links a.btn--flow {
    transition: border-radius .6s cubic-bezier(.23,1,.32,1), color 0s linear .05s, background-color .2s linear .35s,
      border-color .6s cubic-bezier(.23,1,.32,1), transform .2s ease,
      opacity .3s ease var(--d), translate .4s cubic-bezier(.34,1.56,.64,1) var(--d), filter .3s ease var(--d), visibility 0s linear var(--vd);
  }
  /* les commandes de la vidéo passent à gauche pour laisser la place au bouton du menu */
  .hero__controls { right: auto; left: clamp(16px, 3vw, 36px); }
  .contact__inner { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 560px) {
  .services__grid, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 420px; }
  .contact__info li { flex-direction: column; gap: 4px; min-width: 0; }
  .contact__info li, .contact__info a { overflow-wrap: anywhere; }
  .plan { padding: 26px 22px 22px; }
  .plan__name { font-size: 2rem; }
  .form__row { grid-template-columns: 1fr; }

  /* Mobile : logo du menu centré, texte et boutons plus compacts */
  .nav { justify-content: flex-end; }
  .nav__logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav__logo img { height: 34px; transform-origin: center; }
  /* Accueil téléphone : logo au milieu, texte + boutons descendus en bas de l'écran */
  .hero { align-items: stretch; padding: 100px var(--pad) 64px; }
  .hero__video { object-position: 76% 50%; }

  /* Boutons : taille intermédiaire sur téléphone, partout */
  .btn { padding: 11px 17px; font-size: .86rem; gap: 9px; border-radius: 9px; }
  .btn svg { width: 16px; height: 16px; }
  .btn--sm { padding: 9px 14px; font-size: .8rem; }
  .btn--flow .flow__arrow--out { right: 11px; }
  .btn--flow:hover .flow__arrow--in { left: 11px; }
  .form .btn { align-self: stretch; }

  /* Sections plus compactes */
  .section { padding-block: 72px; }
  .section__head { margin-bottom: 36px; }
  .card { padding: 22px 18px 22px; }
  .card__icon { width: 26px; height: 26px; margin: 14px 0 12px; }
  .card h3 { font-size: 1.35rem; margin-bottom: 8px; }
  .card p { font-size: .84rem; margin-bottom: 14px; }
  .card ul { padding-top: 10px; }
  .card li { font-size: .66rem; padding: 3px 0; }
  .steps { gap: 28px; }
  .steps li { padding-top: 24px; }
  .steps h3 { font-size: 1.7rem; }
  .contact { padding-block: 72px; }
  .footer { padding: 50px var(--pad) 30px; gap: 26px; }
  .footer nav { gap: 12px 22px; }
}

/* ================= Peaufinage esthétique ================= */

/* Sélection de texte aux couleurs de la marque */
::selection { background: rgba(214,168,103,.35); color: #fff; }

/* Méthode : un fil doré relie les étapes et se remplit au fil du scroll */
.steps { position: relative; }
.steps li { border-top-color: transparent; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 12px rgba(240,166,74,.6);
  transform-origin: left; transform: scaleX(var(--steps-p, 0));
  transition: transform .2s linear;
}
.steps li::before { transition: background .5s, box-shadow .5s, transform .5s var(--ease); background: #3a2e22; box-shadow: none; }
.steps span { font-size: 1.35rem; }

/* Pastilles du formulaire : léger rebond à la sélection */
.chips input:checked + span { animation: chipPop .35s var(--ease); }
@keyframes chipPop { 50% { transform: scale(1.08); } }

@media (max-width: 1100px) {
  /* 2 colonnes : le fil horizontal n'a plus de sens, chaque étape garde son trait */
  .steps::before, .steps::after { display: none; }
  .steps li { border-top-color: var(--line); }
}
/* La vidéo démarre SOUS le menu (avant : derrière lui, son logo du haut était caché/trop haut)
   et reste entière en 16:9, centrée dans l'espace restant ; ses bords se fondent dans le noir. */
.hero--video {
  --nav-space: 94px;
  padding: var(--nav-space) 0 0; min-height: 100svh; background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.hero--video .hero__video {
  position: relative; inset: auto; z-index: 0;
  width: min(100%, calc((100svh - var(--nav-space)) * 16 / 9)); height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; animation: none; translate: none; scale: none;
  -webkit-mask: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
          mask: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}
@media (max-width: 860px) {
  /* téléphone : la vidéo verticale remplit l'écran sous le menu ; elle reste entière (contain),
     donc ni texte coupé, ni agrandissement. Une vidéo 16:9 reste centrée si le téléphone est couché. */
  .hero--video { --nav-space: 72px; height: 100svh; min-height: 0; overflow: hidden; }
  .hero--video .hero__video {
    width: 100%; height: calc(100svh - var(--nav-space)); aspect-ratio: auto;
    object-fit: contain; -webkit-mask: none; mask: none;
  }
}
/* Téléphone tenu droit : la vidéo verticale remplit TOUT l'écran (cover), de bord à bord et jusque sous le menu
   transparent : plus de bandes noires ni de cadre visible. Sur un écran de 393x662 (barres du navigateur
   affichées) la coupe est d'environ 5 % en haut et en bas, rien sur les côtés. */
@media (max-width: 860px) and (orientation: portrait) {
  .hero--video { padding: 0; height: 100svh; min-height: 0; overflow: hidden; display: block; }
  .hero--video .hero__video {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
    object-fit: cover; object-position: 50% 50%;
  }
}

/* ---------- Accessibilité ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 8px; background: #fff; color: #111;
  font: 600 .9rem var(--ui); transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; outline: 2px solid var(--gold); outline-offset: 2px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-soft); outline-offset: 3px;
}
/* commandes de la vidéo d'accueil (son + pause) : discrètes, en bas à droite */
.hero__controls {
  position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.hero__ctl {
  height: 44px; min-width: 44px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(10,8,6,.55); border: 1px solid rgba(244,237,227,.28); color: var(--cream);
  font: 600 .85rem/1 var(--ui);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s;
}
.hero__ctl:hover { border-color: var(--gold); background: rgba(10,8,6,.8); }
.hero__ctl svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero__sound { padding: 0 18px 0 14px; }
.hero__sound .i-on, .hero__sound[data-on="true"] .i-off { display: none; }
.hero__sound[data-on="true"] .i-on { display: block; }
.hero__toggle .i-play, .hero__toggle[aria-pressed="true"] .i-pause { display: none; }
.hero__toggle[aria-pressed="true"] .i-play { display: block; }

/* =====================================================================
   Refonte du style — skill frontend-design
   Palette conservée (Nuit, Ébène, Or, Champagne, Ivoire, Taupe) ; l'or devient rare.
   Type : Cormorant Garamond (titres, grands, sans mot en italique d'accent) + Montserrat (tout le texte, pairing « Luxury Serif » de ui-ux-pro-max).
   Mise en page : titres éditoriaux alignés à gauche, introduction à côté ; casse normale partout.
   Un seul moment fort : la vidéo d'accueil. Le reste est calme.
   ===================================================================== */
:root {
  --nuit: #070605; --ebene: #120e0b; --or: #d6a867; --champagne: #efd9b4; --ivoire: #f4ede3; --taupe: #a89d8f;
}
body { font-weight: 400; line-height: 1.65; }

/* Échelle typographique (rapport ~1,33) : les titres portent la personnalité */
h2 {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 500; line-height: 1.02;
  letter-spacing: -0.02em; color: var(--ivoire);
}
h2 em { font-style: normal; color: inherit; }
h3 { font-weight: 500; }

/* En-tête de section éditorial : titre à gauche, introduction à droite, alignés en bas */
.section__head--split {
  max-width: 1280px; margin: 0 auto clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px);
  align-items: end; text-align: left;
}
.section__head--split h2 { max-width: 14ch; }
.section__head--split .section__sub {
  margin: 0; max-width: 46ch; color: var(--taupe); font-size: 1.02rem; line-height: 1.7;
  padding-bottom: .45em; border-left: 1px solid rgba(214,168,103,.35); padding-left: 20px;
}
.plans, .services__grid, .steps { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section { padding-left: var(--pad); padding-right: var(--pad); }

/* Casse normale : plus de libellés en MAJUSCULES espacées */
.nav__links a:not(.btn) { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
.card li, .contact__info span, .form label, .form legend, .footer nav a, .footer__social a, .plan__label {
  text-transform: none; letter-spacing: 0;
}
.card li { font-size: .88rem; color: rgba(244,237,227,.8); }
.card li::before { content: ""; display: inline-block; width: 10px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--or); }
.contact__info span { font-size: .85rem; color: var(--taupe); }
.form label, .form legend { font-size: .85rem; color: var(--taupe); }
.footer nav a, .footer__social a { font-size: .9rem; }
.plan__label { font-size: .8rem; font-weight: 500; color: var(--champagne); }

/* Cartes de services : sans numéro, l'icône ouvre la carte */
.card__icon { margin-top: 0; }

/* Méthode : c'est une vraie suite → les chiffres romains restent ; fil statique, points discrets */
.steps::after { display: none; }
.steps li::before { background: var(--or); box-shadow: none; transform: none; }
.steps span { font-size: 1.1rem; color: var(--or); }
.steps h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); }

/* Contact : titre simple, même échelle que les autres */
.contact__text h2 { margin-bottom: 20px; }

@media (max-width: 860px) {
  .section__head--split { grid-template-columns: 1fr; gap: 18px; }
  .section__head--split h2 { max-width: none; }
}
@media (max-width: 560px) {
  h2 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .section__head--split .section__sub { font-size: .95rem; padding-left: 14px; }
}

/* =====================================================================
   Passe impeccable (audit + polish)
   ===================================================================== */
/* Surfaces du navigateur aux couleurs du site */
html { scrollbar-color: #3a2e22 var(--black); scrollbar-width: thin; }
input, textarea { caret-color: var(--or); }
a { text-underline-offset: 3px; }

/* Montserrat est plus large qu'Inter : graisse et taille recalées pour garder le même gris typographique */
body { font-size: 15.5px; letter-spacing: .005em; }
.btn { font-weight: 600; letter-spacing: .01em; }

/* Boutons « flow » : le cercle grandit par transform (plus de width/height animés = plus de recalcul de page),
   et le fond prend la couleur du cercle juste derrière lui -> plus jamais de texte noir sur noir pendant l'animation */
.btn--flow .flow__circle {
  width: 300px; height: 300px; scale: .06;
  transition: scale .8s cubic-bezier(.19,1,.22,1), opacity .5s cubic-bezier(.19,1,.22,1);
}
.btn--flow:hover .flow__circle { width: 300px; height: 300px; scale: 1; opacity: 1; }
.btn--flow { transition: border-radius .6s cubic-bezier(.23,1,.32,1), color 0s linear .05s, background-color .2s linear .35s, border-color .6s cubic-bezier(.23,1,.32,1), transform .2s ease; }
.btn--flow:hover { background-color: var(--flow-fill); }

/* Logo du menu : réduit au scroll par transform (avant : sa hauteur était animée) */
.nav.is-scrolled .nav__logo img { transform: scale(.81); }

/* Profondeur : plus de halo doré coloré ni de « contour fin + grande ombre diffuse » ;
   un seul système : contour net, et une ombre décalée sobre au survol */
.btn--dark:hover { box-shadow: 0 0 0 1px rgba(233,197,143,.35); }

/* Coches des formules : vraie icône dessinée (SVG), plus le caractère « ✓ » */
.plan__list li::before {
  content: ""; flex: 0 0 14px; height: 14px; margin-top: .28em; background: currentColor; color: var(--or);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Cibles tactiles du pied de page : 44 px minimum */
.footer nav a, .footer__social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* ---------- Pages légales (mentions légales, confidentialité) ---------- */
.legal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px var(--pad); max-width: 1280px; margin: 0 auto;
}
.legal-header__logo img { height: 40px; width: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--pad) clamp(70px, 9vw, 120px); }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 12px; text-wrap: balance; }
.legal__updated { color: var(--taupe); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; margin: 48px 0 16px; }
.legal p { color: rgba(244,237,227,.88); max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }
.legal dl { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 14px 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.legal dt { color: var(--taupe); }
.legal dd { margin: 0; color: rgba(244,237,227,.92); }
.footer__legal a { margin-left: 14px; }
.form__hint { font-size: .8rem; line-height: 1.5; color: var(--taupe); max-width: 46ch; }
.form__hint a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 14px; }
  .legal-header__logo img { height: 34px; }
}

/* Texte présent dans la page pour Google et les lecteurs d'écran, mais invisible à l'écran (titre principal de l'accueil) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
