/* 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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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(/flow-labs/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 Web Design — style commun (charte « Prestige » du groupe)
   Couleurs et polices réglées dans :root.
   Les styles propres à certaines pages sont dans services.css,
   realisations.css et pages.css.
   ========================================================== */

: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: 100px; }
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; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--gold); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 10px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* Grain « papier photo » */
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'/flow-labs/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/flow-labs/%3E%3C/svg%3E");
}

/* ---------- Titres ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(48px, 7.5vw, 108px); letter-spacing: -.01em; }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-soft); }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }

.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 et liens ---------- */
.btn {
  display: inline-block; padding: 18px 34px; background: transparent; text-align: center;
  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--small { padding: 12px 22px; font-size: 12px; }
.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: 3px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.link-gold:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.link-arrow { color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; transition: letter-spacing .3s; }
.link-arrow:hover { letter-spacing: .26em; }

/* ---------- 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, .top.is-open { background: rgba(14, 15, 18, .9); backdrop-filter: blur(14px); border-color: var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 30px; }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: .3em; white-space: nowrap; display: inline-flex; align-items: baseline; }
.brand { align-items: center; }
.brand img { height: 70px; width: auto; margin: -12px 0; }
.brand span { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.6; }
.footer .brand img { height: 70px; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.menu > a, .menu__toggle { color: var(--muted); transition: color .3s; background: none; border: 0; letter-spacing: inherit; text-transform: inherit; font-size: inherit; padding: 6px 0; }
.menu > a:hover, .menu__toggle:hover, .menu .is-active { color: var(--gold); }
.menu__toggle::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin: 0 0 3px 8px; }
.menu__group { position: relative; }
.menu__dropdown {
  position: absolute; top: calc(100% + 14px); left: -20px; min-width: 220px; padding: 10px 0;
  background: rgba(21, 23, 28, .97); border: 1px solid var(--line); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s;
}
.menu__dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.menu__dropdown a { display: block; padding: 10px 20px; color: var(--muted); transition: color .2s, background .2s; }
.menu__dropdown a:hover { color: var(--gold); background: var(--bg3); }
.menu__group:hover .menu__dropdown, .menu__group.is-open .menu__dropdown { opacity: 1; visibility: visible; transform: none; }
.menu__cta { display: none; }
.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; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { position: relative; padding: 190px 0 100px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 80% 0%, rgba(198, 164, 103, .12), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 92px); max-width: 960px; }
.page-hero .lead { margin-top: 30px; }
.page-hero .actions { margin-top: 44px; }
.crumbs { display: flex; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span::before { content: "/"; margin-right: 10px; color: var(--line); }

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 90px 0; }
.head { text-align: center; margin-bottom: 80px; }
.head > p:not(.ornament) { max-width: 560px; margin: 24px auto 0; color: var(--muted); }
.head--left { text-align: left; }
.head--left > p:not(.ornament) { margin-left: 0; }
.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: 440px; }

/* Grilles et cartes génériques */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 0; border: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 44px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .4s; display: flex; flex-direction: column; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
a.tile:hover, .tile--hover:hover { background: var(--bg2); }
a.tile:hover::after, .tile--hover:hover::after { transform: scaleX(1); }
.grid-2 .tile:nth-child(2n), .grid-3 .tile:nth-child(3n), .grid-4 .tile:nth-child(4n) { border-right: 0; }
.tile__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; margin-bottom: 30px; }
.tile h3 { margin-bottom: 14px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .link-arrow { margin-top: auto; padding-top: 28px; }

/* Liste à puces dorées */
.checks { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 13px; top: 2px; }
.checks b { color: var(--ink); font-weight: 500; }

/* Étapes numérotées */
.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 .num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.steps h3, .steps h4 { font-size: 30px; margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps .result { display: block; margin-top: 16px; font-size: 13px; color: var(--gold-soft); }

/* Bandeau d'appel à l'action */
.cta-band { text-align: center; padding: 100px 0; border-top: 1px solid var(--line); }
.cta-band p { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; max-width: 820px; margin: 0 auto 40px; }
.cta-band p em { color: var(--gold-soft); }
.cta-inline { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 60px; padding: 34px 0 0; border-top: 1px solid var(--line); }
.cta-inline p { font-family: var(--serif); font-size: 26px; }

/* Fenêtre de navigateur (maquettes 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; max-width: 320px; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .05); border-radius: 4px; padding: 3px 12px; }

/* Questions fréquentes */
.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; }

/* Texte long (guides, mentions légales…) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 64px 0 20px; }
.prose h3 { font-size: 26px; margin: 40px 0 14px; }
.prose p, .prose li { color: #bdb7ad; margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose a { color: var(--gold-soft); border-bottom: 1px solid rgba(226, 204, 159, .4); }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- Formulaire ---------- */
.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:not([type="checkbox"]), .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 ::placeholder { color: #5d5a54; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.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; }
.form__consent a { color: var(--gold-soft); text-decoration: underline; }
.form .btn { justify-self: start; margin-top: 6px; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin: 18px 0 22px; max-width: 300px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__grid > div:not(.footer__brand) a { color: var(--muted); transition: color .3s; }
.footer__grid > div:not(.footer__brand) a:hover { color: var(--gold); }
.footer__title { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--gold); }

/* Texte réservé aux lecteurs d'écran */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Petite étiquette */
.tag { display: inline-block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--gold); border: 1px solid rgba(198, 164, 103, .5); padding: 2px 8px; margin-right: 10px; vertical-align: 2px; }
.tag--before { color: var(--muted); border-color: var(--line); }

/* ---------- Mini-sites de démonstration (entreprises fictives) ----------
   Utilisation : <div class="mini mini--menuisier"> … </div> dans un .browser
   Variantes de couleurs : --menuisier, --restaurant, --cabinet, --coach */
.mini {
  --m-bg: #f4efe6; --m-ink: #2b2118; --m-accent: #8a5a2b; --m-soft: #e8dfd0; --m-font: Georgia, serif;
  background: var(--m-bg); color: var(--m-ink); padding: 16px 20px 20px; font-family: var(--sans); font-size: 10px; font-weight: 400;
}
.mini--menuisier { --m-bg: #f4efe6; --m-ink: #2b2118; --m-accent: #8a5a2b; --m-soft: #e6dccb; }
.mini--restaurant { --m-bg: #f6f3ea; --m-ink: #23301f; --m-accent: #5d6b2f; --m-soft: #e3e6d2; }
.mini--cabinet { --m-bg: #f3f5f8; --m-ink: #14213d; --m-accent: #1f4e8c; --m-soft: #dfe6f0; --m-font: var(--sans); }
.mini--coach { --m-bg: #fbf3ee; --m-ink: #3a1f1a; --m-accent: #c0583c; --m-soft: #f1ddd3; }
.mini__nav { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mini__nav b { font-family: var(--m-font); font-size: 13px; font-weight: 600; margin-right: auto; }
.mini__nav span { opacity: .65; }
.mini__nav em { font-style: normal; background: var(--m-accent); color: #fff; padding: 4px 9px; border-radius: 3px; }
.mini small { display: block; color: var(--m-accent); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.mini__title { font-family: var(--m-font); font-size: 22px; line-height: 1.1; font-weight: 600; max-width: 85%; }
.mini__btn { display: inline-block; margin-top: 12px; background: var(--m-ink); color: var(--m-bg); padding: 6px 12px; border-radius: 3px; }
.mini__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.mini__cards i { font-style: normal; background: var(--m-soft); padding: 22px 8px 8px; border-radius: 3px; font-weight: 500; }

/* ---------- 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; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1100px) {
  .menu { gap: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .tile:nth-child(4n) { border-right: 1px solid var(--line); }
  .grid-4 .tile:nth-child(2n) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; gap: 50px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .tile:nth-child(3n) { border-right: 1px solid var(--line); }
  .grid-3 .tile:nth-child(2n) { border-right: 0; }
}

/* ---------- Menu mobile ---------- */
@media (max-width: 960px) {
  .top__cta { display: none; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 84px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 84px); overflow-y: auto;
    background: rgba(14, 15, 18, .98); border-bottom: 1px solid var(--line);
    padding: 10px 28px 28px; display: none;
  }
  .top.is-open .menu { display: flex; }
  .menu > a, .menu__toggle { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; font-size: 13px; }
  .menu__dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; padding: 0 0 10px 16px; min-width: 0; backdrop-filter: none; }
  .menu__group.is-open .menu__dropdown { display: block; }
  .menu__dropdown a { padding: 12px 0; }
  .menu__cta { display: block; margin-top: 22px; text-align: center; background: var(--gold); color: var(--bg) !important; padding: 16px !important; border: 0 !important; }
  .top.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .top.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 90px 0; }
  .page-hero { padding: 150px 0 70px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .tile { border-right: 0 !important; padding: 36px 24px; }
  .form { padding: 28px 22px; }
  .ornament::before, .ornament::after { width: 30px; }
  .contact__info li { grid-template-columns: 1fr; gap: 2px; }
  .btn { padding: 16px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .brand { font-size: 22px; }
}

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

/* ---------- Curseur doré (ordinateur uniquement) ---------- */
.cursor-dot, .cursor-ring { display: none; }
.has-cursor .cursor-dot { display: block; }
.has-cursor .cursor-ring { display: grid; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 250; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--gold); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(198, 164, 103, .6); place-items: center;
  transition: width .35s cubic-bezier(.2, .8, .2, 1), height .35s cubic-bezier(.2, .8, .2, 1), margin .35s cubic-bezier(.2, .8, .2, 1), background .3s, border-color .3s, opacity .3s; }
.cursor-ring span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--bg); font-weight: 500; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor-ring.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(198, 164, 103, .12); border-color: var(--gold); }
.cursor-ring.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); border-color: var(--gold); }
.cursor-ring.is-label span { opacity: 1; }
.cursor-ring.is-hidden, .cursor-dot.is-hidden, .has-cursor:not(.has-cursor-ready) .cursor-ring, .has-cursor:not(.has-cursor-ready) .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }
.btn { transition: background .3s, color .3s, border-color .3s, transform .35s cubic-bezier(.2, .8, .2, 1); }

/* 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.7; letter-spacing: .26em; max-width: 34em; }
.h1-kicker.ornament--left::after { display: none; }

/* Pages de contenu : fil d Ariane à plusieurs niveaux, articles de conseil, sommaire */
.crumbs { flex-wrap: wrap; }
.crumbs a + a::before { content: "/"; margin-right: 10px; color: var(--line); }
.guide-meta { margin-top: 26px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 80px; align-items: start; }
.guide-toc { position: sticky; top: 120px; font-size: 13px; }
.guide-toc p { letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: 11px; margin-bottom: 14px; }
.guide-toc ol { list-style: none; display: grid; gap: 10px; border-left: 1px solid var(--line); padding-left: 16px; }
.guide-toc a { color: var(--muted); } .guide-toc a:hover { color: var(--gold-soft); }
.guide .prose, .guide.prose { max-width: 760px; }
.prose h2:first-child { margin-top: 0; }
.prose blockquote { border-left: 2px solid var(--gold); padding: 6px 0 6px 22px; margin: 26px 0; font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--ink); }
.prose .note { background: var(--bg2); border: 1px solid var(--line); padding: 22px 26px; margin: 28px 0; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; gap: 30px; } .guide-toc { position: static; } }
