/* Polices hébergées sur le site (Cormorant, Manrope — licence SIL OFL), au lieu de Google Fonts */
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-ext-italic.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-ext-normal.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-normal.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-ext-normal.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-normal.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.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;
}
/* ==========================================================
   EHBH — site principal · style « Prestige »
   Couleurs et polices réglées dans :root
   ========================================================== */

:root {
  --bg: #0e0f12;
  --bg2: #15171c;
  --bg3: #1c1f26;
  --ink: #f2ede4;
  --muted: #8e8a82;
  --line: #2a2c33;
  --gold: #c6a467;
  --gold-soft: #e2cc9f;

  --serif: "Cormorant", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- Titres communs ---------- */
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
h2 em, h1 em { font-style: italic; color: var(--gold-soft); }

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold); font-size: 12px; letter-spacing: .4em; text-transform: uppercase; margin-bottom: 26px;
}
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament--left { justify-content: flex-start; }
.ornament--left::before { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; padding: 18px 34px; background: transparent;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--gold); color: var(--ink); transition: background .3s, color .3s, border-color .3s;
}
.btn--fill { background: var(--gold); color: var(--bg); }
.btn--fill:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn:not(.btn--fill):hover { background: var(--gold); color: var(--bg); }
.btn:disabled { opacity: .35; pointer-events: none; }
.actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.actions--left { justify-content: flex-start; }
.link-gold { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(14, 15, 18, .86); backdrop-filter: blur(14px); border-color: var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 30px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 70px; width: auto; margin: -12px 0; }
.menu { display: flex; gap: 34px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.menu a { color: var(--muted); transition: color .3s; }
.menu a:hover { color: var(--gold); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; }
.burger span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 7px auto; transition: transform .3s; }

/* ---------- Accueil ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--x, 50%) var(--y, 42%), rgba(198, 164, 103, .16), transparent 60%),
    radial-gradient(ellipse 45% 40% at 50% 46%, rgba(14, 15, 18, .9), transparent 75%);
  transition: background .2s;
}
.hero__content { position: relative; z-index: 2; }
.hero::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 90vw); aspect-ratio: 1;
  border: 1px solid rgba(198, 164, 103, .12); border-radius: 50%; transform: translate(-50%, -50%);
  pointer-events: none; animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.06); opacity: .5; } }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8.5vw, 124px); line-height: 1; letter-spacing: -.01em; }
.hero__lead { max-width: 560px; margin: 36px auto 50px; color: var(--muted); font-size: 18px; }
.hero .wrap > * { opacity: 0; transform: translateY(20px); animation: rise 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero .wrap > :nth-child(2) { animation-delay: .15s; }
.hero .wrap > :nth-child(3) { animation-delay: .3s; }
.hero .wrap > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Titre : lignes qui montent + reflet doré */
.hero .wrap > h1 { opacity: 1; transform: none; animation: none; }
h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
h1 .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.2s cubic-bezier(.2, .8, .2, 1) forwards; }
h1 .line + .line > span { animation-delay: .15s; }
@keyframes lineUp { to { transform: none; } }
h1 em {
  background: linear-gradient(100deg, var(--gold) 20%, #fff3d6 40%, var(--gold-soft) 50%, var(--gold) 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out 1.4s infinite; padding-right: .06em;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 60%, 100% { background-position: -50% 0; } }

/* ---------- Objets flottants ---------- */
.floats { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float { position: absolute; transform: translate(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.float__inner { animation: floaty 9s ease-in-out infinite, appear 1.4s cubic-bezier(.2, .8, .2, 1) both; position: relative; }
.float--browser { top: 15%; left: 3%; }
.float--phone { top: 12%; right: 4%; }
.float--phone .float__inner { animation-delay: -3s, .5s; }
.float--video { bottom: 9%; left: 10%; }
.float--video .float__inner { animation-delay: -5s, .7s; }
.float--flow { bottom: 11%; right: 8%; }
.float--flow .float__inner { animation-delay: -1.5s, .9s; }
.float--browser .float__inner { animation-delay: 0s, .3s; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(.6deg); } }
@keyframes appear { from { opacity: 0; filter: blur(8px); translate: 0 30px; } to { opacity: 1; filter: none; translate: 0 0; } }
.float__tag {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap;
  background: var(--bg); border: 1px solid var(--gold); color: var(--gold);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; padding: 5px 12px;
}

/* Les objets sont cliquables : ils mènent au site de chaque expertise */
.float { pointer-events: auto; cursor: pointer; display: block; }
.float .mock { transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .4s, box-shadow .4s; }
.float:hover .mock, .float:focus-visible .mock {
  transform: translateY(-6px) scale(1.03); border-color: var(--gold);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 40px -6px rgba(198, 164, 103, .35);
}
.float__tag { transition: background .3s, color .3s; }
.float__tag em { font-style: normal; display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; white-space: nowrap; transition: max-width .4s, margin .4s; }
.float:hover .float__tag, .float:focus-visible .float__tag { background: var(--gold); color: var(--bg); }
.float:hover .float__tag em, .float:focus-visible .float__tag em { max-width: 120px; margin-left: 10px; }
.float:focus-visible { outline: none; }

.mock {
  background: linear-gradient(160deg, rgba(36, 39, 47, .92), rgba(20, 22, 27, .92));
  border: 1px solid rgba(198, 164, 103, .22); border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px);
}

/* Fenêtre de site */
.mock-browser { width: 290px; }
.mock-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mock-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3d45; }
.mock-browser__bar span { margin-left: 10px; flex: 1; font-size: 10px; color: var(--muted); background: rgba(255, 255, 255, .04); border-radius: 4px; padding: 3px 10px; }
.mock-browser__body { padding: 16px 18px 20px; }
.mock-browser__nav { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.mock-browser__nav b { width: 30px; height: 6px; background: var(--gold); border-radius: 2px; margin-right: auto; }
.mock-browser__nav span { width: 18px; height: 3px; background: #3a3d45; border-radius: 2px; }
.mock-browser__title { font-family: var(--serif); font-size: 22px; line-height: 1.05; }
.mock-browser__title em { color: var(--gold-soft); }
.mock-line { display: block; height: 4px; width: 85%; background: #30333b; border-radius: 2px; margin-top: 12px; }
.mock-line--short { width: 55%; margin-top: 7px; }
.mock-browser__btn { display: inline-block; margin-top: 16px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--bg); padding: 6px 10px; }

/* Téléphone Instagram */
.mock-phone { width: 180px; border-radius: 26px; padding: 22px 12px 16px; position: relative; overflow: visible; }
.mock-phone__notch { position: absolute; top: 8px; left: 50%; width: 54px; height: 6px; margin-left: -27px; background: #0a0b0d; border-radius: 6px; }
.mock-phone__head { display: flex; align-items: center; gap: 10px; }
.mock-phone__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; color: var(--bg); background: linear-gradient(135deg, var(--gold-soft), var(--gold)); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); }
.mock-phone__head b { display: block; height: 5px; width: 70px; background: #3a3d45; border-radius: 2px; }
.mock-phone__head b + b { width: 46px; margin-top: 5px; }
.mock-phone__stats { display: flex; justify-content: space-around; margin: 12px 0; font-size: 8px; color: var(--muted); text-align: center; }
.mock-phone__stats strong { display: block; color: var(--ink); font-size: 12px; font-weight: 500; }
.mock-phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.mock-phone__grid i { aspect-ratio: 1; border-radius: 3px; background: linear-gradient(135deg, #2a2d35, #1b1d22); animation: tile 6s ease-in-out infinite; }
.mock-phone__grid i:nth-child(1) { background: linear-gradient(135deg, #c6a467, #7d6136); }
.mock-phone__grid i:nth-child(5) { background: linear-gradient(135deg, #e2cc9f, #a8874f); }
.mock-phone__grid i:nth-child(9) { background: linear-gradient(135deg, #b08d55, #4a3b22); }
.mock-phone__grid i:nth-child(3) { background: linear-gradient(135deg, #3d4250, #22252c); }
.mock-phone__grid i:nth-child(7) { background: linear-gradient(135deg, #5e4a2c, #2a2219); }
.mock-phone__grid i:nth-child(2) { animation-delay: .4s; } .mock-phone__grid i:nth-child(4) { animation-delay: .8s; }
.mock-phone__grid i:nth-child(6) { animation-delay: 1.2s; } .mock-phone__grid i:nth-child(8) { animation-delay: 1.6s; }
@keyframes tile { 0%, 85%, 100% { filter: none; } 90% { filter: brightness(1.6); } }
.mock-phone__like {
  position: absolute; right: -24px; top: 46%; background: var(--ink); color: #c2453b; font-size: 11px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); animation: pop 4s ease-in-out infinite;
}
@keyframes pop { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.18); } 16% { transform: scale(1); } }

/* Vidéo reel */
.mock-video { width: 160px; aspect-ratio: 9 / 16; position: relative; border-radius: 14px; background: radial-gradient(circle at 30% 20%, #6b5530, #1c1a17 70%); }
.mock-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7)); }
.mock-video__tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; background: rgba(0, 0, 0, .5); padding: 4px 8px; border-radius: 3px; }
.mock-video__text { position: absolute; left: 14px; bottom: 44px; z-index: 1; font-family: var(--serif); font-size: 26px; line-height: .95; text-transform: uppercase; letter-spacing: .02em; }
.mock-video__text em { color: var(--gold-soft); text-transform: none; font-size: 30px; }
.mock-video__play { position: absolute; top: 38%; left: 50%; z-index: 1; width: 44px; height: 44px; margin: -22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(4px); background: rgba(255, 255, 255, .08); }
.mock-video__play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 13px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.mock-video__bar { position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; background: rgba(255, 255, 255, .2); z-index: 1; }
.mock-video__bar span { display: block; height: 100%; width: 0; background: var(--gold); animation: progress 7s linear infinite; }
@keyframes progress { to { width: 100%; } }

/* Automatisation */
.mock-flow { width: 250px; padding: 16px 16px 8px; position: relative; }
.mock-flow__head { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mock-flow__head .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fbf8b; box-shadow: 0 0 0 0 rgba(111, 191, 139, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(111, 191, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 191, 139, 0); } }
.mock-flow__row { display: flex; gap: 12px; align-items: center; padding: 9px 0; position: relative; opacity: .35; animation: step 6s infinite; }
.mock-flow__row + .mock-flow__row { border-top: 1px dashed var(--line); }
.mock-flow__row:nth-of-type(2) { animation-delay: 0s; }
.mock-flow__row:nth-of-type(3) { animation-delay: 1.2s; }
.mock-flow__row:nth-of-type(4) { animation-delay: 2.4s; }
@keyframes step { 0%, 8% { opacity: .35; } 14%, 80% { opacity: 1; } 92%, 100% { opacity: .35; } }
.mock-flow__icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: var(--gold); border: 1px solid rgba(198, 164, 103, .4); flex-shrink: 0; }
.mock-flow__icon--ok { background: var(--gold); color: var(--bg); }
.mock-flow__row b { display: block; font-weight: 500; font-size: 12px; }
.mock-flow__row small { color: var(--muted); font-size: 10px; }

/* Grain « papier photo » sur tout le site */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll { position: absolute; bottom: 36px; left: 50%; width: 1px; height: 60px; background: var(--line); overflow: hidden; }
.scroll span { position: absolute; inset: 0; background: var(--gold); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { text-align: center; margin-bottom: 80px; }
.head > p:last-child { max-width: 520px; margin: 24px auto 0; color: var(--muted); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.split > * { min-width: 0; }
.split__intro > p:not(.ornament) { color: var(--muted); margin-top: 24px; max-width: 420px; }

/* Expertises */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.card { padding: 50px 32px 44px; border-right: 1px solid var(--line); position: relative; overflow: hidden; transition: background .4s; min-height: 460px; display: flex; flex-direction: column; }
.card:last-child { border-right: 0; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.card:hover { background: var(--bg2); }
.card:hover::after { transform: scaleX(1); }
.card__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.05; margin: 0 0 18px; }

/* Visuels animés des cartes */
.card__visual { height: 120px; margin: 26px 0 34px; position: relative; border: 1px solid var(--line); background: var(--bg2); overflow: hidden; transition: border-color .4s; }
.card:hover .card__visual { border-color: rgba(198, 164, 103, .5); }
.cv-web { padding: 12px; }
.cv-web div { display: flex; gap: 4px; margin-bottom: 12px; }
.cv-web div i { width: 5px; height: 5px; border-radius: 50%; background: #3a3d45; }
.cv-web b { display: block; height: 5px; background: #30333b; margin-bottom: 7px; transform-origin: left; animation: build 4s ease-in-out infinite; }
.cv-web b:nth-of-type(1) { width: 60%; background: var(--gold); height: 8px; }
.cv-web b:nth-of-type(2) { width: 85%; animation-delay: .3s; }
.cv-web b:nth-of-type(3) { width: 45%; animation-delay: .6s; }
.cv-web span { position: absolute; right: 12px; bottom: 12px; width: 38%; height: 44px; background: linear-gradient(135deg, #3d3426, #23211d); animation: build 4s ease-in-out .9s infinite; transform-origin: left; }
@keyframes build { 0% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

.cv-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; padding: 12px; align-content: center; }
.cv-grid i { grid-column: span 3; height: 28px; background: #23262d; animation: tile2 4.5s ease-in-out infinite; }
.cv-grid i:nth-child(3n+1) { animation-delay: .2s; } .cv-grid i:nth-child(3n+2) { animation-delay: .6s; } .cv-grid i:nth-child(3n) { animation-delay: 1s; }
.cv-grid i:nth-child(1), .cv-grid i:nth-child(5), .cv-grid i:nth-child(9) { background: linear-gradient(135deg, var(--gold), #6e5530); }
@keyframes tile2 { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.cv-motion { background: radial-gradient(circle at 30% 30%, #4a3c24, var(--bg2) 75%); }
.cv-motion__play { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 1px solid var(--gold); animation: breathe2 2.4s ease-in-out infinite; }
.cv-motion__play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 12px solid var(--gold); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
@keyframes breathe2 { 50% { box-shadow: 0 0 0 10px rgba(198, 164, 103, 0), 0 0 0 0 rgba(198, 164, 103, .4); transform: scale(1.06); } }
.cv-motion__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; background: #33363e; }
.cv-motion__bar span { display: block; height: 100%; background: var(--gold); animation: progress 5s linear infinite; width: 0; }

.cv-flow { display: flex; align-items: center; justify-content: space-around; padding: 0 14px; }
.cv-flow::before { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; border-top: 1px dashed #3d4049; }
.cv-flow i { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(198, 164, 103, .45); background: var(--bg2); color: var(--gold); font-style: normal; font-size: 15px; border-radius: 10px; }
.cv-flow i:last-of-type { background: var(--gold); color: var(--bg); }
.cv-flow__dot { position: absolute; top: 50%; left: 22%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 12px var(--gold); animation: travel 3s ease-in-out infinite; }
@keyframes travel { 0% { left: 22%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 76%; opacity: 0; } }
.card p { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin: 24px 0 0; flex: 1; }
.card li { font-size: 13px; color: var(--ink); opacity: .75; padding: 6px 0; border-top: 1px solid var(--line); }
.card__link { margin-top: 30px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); transition: letter-spacing .3s; }
.card:hover .card__link { letter-spacing: .26em; }

/* Orientation */
.quiz { background: var(--bg); border: 1px solid var(--line); padding: 44px; position: relative; }
.quiz__progress { height: 1px; background: var(--line); margin-bottom: 36px; }
.quiz__progress span { display: block; height: 100%; width: 33%; background: var(--gold); transition: width .5s; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: rise .5s forwards; }
.quiz__count { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.quiz h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.15; }
.quiz__hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
.choices { display: grid; gap: 10px; margin-top: 26px; }
.choices button {
  text-align: left; background: transparent; border: 1px solid var(--line); padding: 16px 20px 16px 50px; position: relative;
  font-size: 15px; transition: border-color .25s, background .25s;
}
.choices button::before { content: ""; position: absolute; left: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1px solid var(--muted); border-radius: 50%; transition: background .25s, border-color .25s; }
.choices[data-multi] button::before { border-radius: 2px; }
.choices button:hover { border-color: var(--muted); }
.choices button.is-selected { border-color: var(--gold); background: rgba(198, 164, 103, .07); }
.choices button.is-selected::before { background: var(--gold); border-color: var(--gold); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.quiz__nav[hidden] { display: none; }
.quiz__nav .quiz__next { margin-left: auto; }
.quiz__back { background: none; border: 0; color: var(--muted); font-size: 14px; }
.quiz__back:hover { color: var(--gold); }
.result__list { list-style: none; margin: 26px 0; display: grid; gap: 10px; }
.result__list li { border-left: 2px solid var(--gold); padding: 6px 0 6px 18px; }
.result__list b { font-family: var(--serif); font-size: 24px; font-weight: 500; display: block; }
.result__list span { color: var(--muted); font-size: 14px; }
.result__text { color: var(--muted); margin-bottom: 30px; }

/* La maison */
.quote { text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 52px); line-height: 1.2; max-width: 900px; margin: 0 auto; }
.quote blockquote em { color: var(--gold-soft); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 90px; text-align: left; }
.pillars h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.pillars h4::before { content: "✦ "; color: var(--gold); font-size: 16px; vertical-align: middle; }
.pillars p { color: var(--muted); font-size: 15px; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.figures div { padding: 40px 20px 0; }
.figures div + div { border-left: 1px solid var(--line); }
.figures strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; color: var(--gold-soft); }
.figures span { color: var(--muted); font-size: 14px; }

/* Méthode */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--line); padding-top: 30px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--gold); }
.steps span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.steps h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-family: var(--serif); font-size: 24px; line-height: 1.3; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--gold-soft); }
.faq details p { color: var(--muted); padding: 0 50px 28px 0; }

/* Contact */
.contact__info { list-style: none; margin-top: 44px; display: grid; gap: 18px; }
.contact__info li { display: grid; grid-template-columns: 110px 1fr; font-size: 15px; }
.contact__info span { color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding-top: 3px; }
.contact__info a { color: var(--gold-soft); }
.form { display: grid; gap: 22px; background: var(--bg2); border: 1px solid var(--line); padding: 44px; }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form small { text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink);
  width: 100%; min-width: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; outline: none; transition: border-color .3s;
}
.form select option { background: var(--bg2); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 50px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer nav a:hover { color: var(--gold); }
.footer p { font-size: 13px; color: var(--muted); }

.footer p a:hover { color: var(--gold); }

/* ---------- Pages légales ---------- */
.top--solid { background: rgba(14, 15, 18, .92); backdrop-filter: blur(14px); border-color: var(--line); }
.legal { padding: 180px 0 120px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 18px; }
.legal__intro { color: var(--muted); font-size: 18px; margin-bottom: 20px; }
.legal__date { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); margin: 60px 0 18px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #bdb7ad; margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--gold-soft); border-bottom: 1px solid rgba(226, 204, 159, .4); }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; margin: 10px 0 20px; }
.legal dt { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.legal dd { color: var(--ink); }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* Case de consentement du formulaire */
.form .form__consent { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.5; }
.form__consent input { accent-color: var(--gold); margin-top: 3px; flex-shrink: 0; width: auto; }
.form__consent a { color: var(--gold-soft); text-decoration: underline; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease, background .4s; }
.reveal.is-visible { opacity: 1; transform: none; }
.grid .reveal:nth-child(2), .pillars .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.grid .reveal:nth-child(3), .pillars .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .3s; }

/* Objets flottants : plus discrets sur écrans moyens, cachés sur petits */
@media (max-width: 1520px) {
  .float { scale: .82; }
  .float--browser { left: 0; } .float--flow { right: 3%; }
}
@media (max-width: 1280px) {
  .float { scale: .8; }
  .float--browser { left: -2%; } .float--phone { right: 0; }
  .float--video { left: 4%; } .float--flow { right: 2%; }
}
@media (max-width: 1100px) {
  .float { scale: .65; opacity: .55; }
  .float--browser { left: -6%; top: 8%; } .float--phone { right: -4%; top: 6%; }
  .float--video { left: -2%; bottom: 4%; } .float--flow { right: -6%; bottom: 6%; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1020px) {
  .menu { gap: 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(2) { border-right: 0; }
  .card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .floats { display: none; }
  .top__cta { display: none; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 84px 0 auto; flex-direction: column; gap: 0;
    background: rgba(14, 15, 18, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 10px 28px 26px; display: none;
  }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top.is-open { background: rgba(14, 15, 18, .97); }
  .top.is-open .menu { display: flex; }
  .top.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .top.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 90px 0; }
  .grid, .steps, .figures { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .card h3 { margin-top: 30px; }
  .figures div + div { border-left: 0; border-top: 1px solid var(--line); }
  .figures div { padding: 30px 0; }
  .quiz, .form { padding: 28px 22px; }
  .ornament::before, .ornament::after { width: 30px; }
  .contact__info li { grid-template-columns: 1fr; gap: 2px; }
  .btn { padding: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .wrap > *, .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Réalisations, offre globale, qui sommes-nous
   ========================================================== */
.link-arrow { color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; transition: letter-spacing .3s; }
.link-arrow:hover { letter-spacing: .26em; }

/* Fenêtre de navigateur + captures de sites */
.browser { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg3); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3d45; }
.browser__bar span { margin-left: 12px; flex: 1; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .05); border-radius: 4px; padding: 3px 12px; }

.cl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 36px; }
.cl-grid > * { min-width: 0; }
.cl-card { display: flex; flex-direction: column; }
.cl-card__visual { position: relative; display: block; padding-right: 34px; padding-bottom: 30px; }
.cl-card__visual .browser { transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .4s; }
.cl-card__visual .browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.cl-phone { position: absolute; right: 0; bottom: 0; width: 26%; aspect-ratio: 390 / 760; overflow: hidden; border: 3px solid #23252b; border-radius: 16px; background: #000; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .9); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cl-phone img { display: block; width: 100%; height: auto; }
.cl-card:hover .browser { transform: translateY(-6px); border-color: rgba(198, 164, 103, .5); }
.cl-card:hover .cl-phone { transform: translateY(-12px); }
.cl-card__kicker { margin-top: 26px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.cl-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 10px 0 8px; }
.cl-card__text { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.cl-card .link-arrow { margin-top: auto; }

/* Offre globale */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offers > * { min-width: 0; }
.offer { position: relative; border: 1px solid var(--line); background: var(--bg2); padding: 44px 34px 36px; display: flex; flex-direction: column; transition: border-color .4s, transform .4s; }
.offer:hover { border-color: rgba(198, 164, 103, .5); transform: translateY(-4px); }
.offer--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(198, 164, 103, .09), var(--bg2) 55%); }
.offer__badge { position: absolute; top: -12px; left: 34px; background: var(--gold); color: var(--bg); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 5px 12px; }
.offer__name { font-family: var(--serif); font-size: 38px; line-height: 1; }
.offer__pitch { color: var(--muted); font-size: 15px; margin: 14px 0 26px; min-height: 3.4em; }
.offer ul { list-style: none; border-top: 1px solid var(--line); flex: 1; }
.offer li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.offer li small { color: var(--gold); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.offer__for { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-soft); margin: 24px 0 8px; }
.offer__price { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.flow-steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; margin: 70px 0 44px; }
.flow-steps li { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 24px; padding: 0 26px; }
.flow-steps li + li { border-left: 1px solid var(--line); }
.flow-steps span { font-style: italic; color: var(--gold); font-size: 18px; }

/* Qui sommes-nous */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about__grid > * { min-width: 0; }
.about__text p { color: #bdb7ad; font-size: 17px; margin-bottom: 18px; }
.about__address { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink) !important; }
.about__address span { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.about blockquote { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; max-width: 900px; margin: 100px auto 0; text-align: center; }
.about blockquote em { color: var(--gold-soft); }

@media (max-width: 1020px) {
  .cl-grid { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .offer__pitch { min-height: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .cl-grid { grid-template-columns: 1fr; }
  .flow-steps li { font-size: 19px; padding: 0 14px; }
  .about blockquote { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) { .cl-card:hover .browser, .cl-card:hover .cl-phone, .offer:hover { transform: none; } }

/* Message affiché une fois la demande envoyée */
.form__sent { text-align: center; padding: 40px 10px; }
.form__sent:focus { outline: none; }
.form:has(.form__sent) { align-content: center; }
.form__sent-title { font-family: var(--serif); font-size: 30px; color: var(--gold-soft); margin-bottom: 10px; }
.form__sent p:last-child { color: var(--muted); }

/* Mot-clé du titre principal : fait partie du <h1> pour Google, mais garde l allure du petit surtitre doré */
.h1-kicker { font-family: var(--sans); font-style: normal; font-weight: 400; line-height: 1.5; }
