/* Polices hébergées localement (aucun appel à Google : plus rapide et conforme RGPD) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --night: #05080F;
  --navy: #0E1424;
  --ink: #18213A;
  --gold: #E4B04A;
  --gold-light: #F3D28A;
  --brass: #865A0C;
  --paper: #F5F7FC;
  --white: #FFFFFF;
  --text: #141A2B;
  --muted: #4B5468;
  --line: #DCE2EC;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Atkinson Hyperlegible", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --container: 1160px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(14, 20, 36, .09);
}

/* Base styles target phones first. Larger layouts are added with min-width queries. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-bottom: 0; color: var(--text); background: var(--white); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
::selection { color: var(--night); background: var(--gold-light); }
@media (max-width: 760px) { .page-home { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
.container { width: min(var(--container), calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px; border-radius: 8px; color: var(--night); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 400; }
h1 em, h2 em, .contact-copy h2 em { color: var(--gold); font-weight: 400; }

/* Header + navigation */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(255,255,255,.09); color: var(--white); background: rgba(5,8,15,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--white); text-decoration: none; }
.brand img { width: auto; height: 28px; }
.brand span { font: 600 15px/1 var(--mono); letter-spacing: .11em; }
.menu-toggle { display: block; width: 46px; height: 46px; padding: 12px 10px; border: 1px solid #3A4358; border-radius: 10px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.navigation { position: absolute; top: 65px; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid #333C50; background: rgba(5,8,15,.99); box-shadow: 0 18px 30px rgba(0,0,0,.2); }
.navigation.is-open { display: flex; }
html.has-js .navigation:not(.is-open) { display: none; }
.navigation > a:not(.button) { min-height: 48px; display: inline-flex; align-items: center; border-bottom: 1px solid #242C3D; color: #E0E4EE; font-size: 16px; text-decoration: none; }
.navigation > a:not(.button):hover { color: var(--gold-light); }
.navigation .nav-cta { width: 100%; margin-top: 13px; }

/* Buttons + labels */
.button { display: inline-flex; min-height: 52px; justify-content: center; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font: 700 15px/1.25 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-gold { color: var(--night); background: var(--gold); border-color: var(--gold); }
.button-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button-outline { color: var(--white); background: rgba(255,255,255,.02); border-color: #68718A; }
.button-outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(228,176,74,.06); }
.button-small { min-height: 44px; padding: 10px 15px; font-size: 14px; }
.eyebrow { margin: 0 0 14px; color: var(--gold-light); font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.eyebrow-bracket, .eyebrow-dot { color: var(--gold); }
.eyebrow-dot { padding-inline: 4px; }
.eyebrow-light { color: var(--brass); }
.eyebrow-light .eyebrow-bracket { color: var(--brass); }

/* Hero */
.dark-section { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--night); }
.hero { min-height: unset; display: flex; align-items: center; }
.hero-grid, .contact-grid-lines { position: absolute; z-index: -2; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(167,183,211,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(167,183,211,.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.65) 60%, transparent 100%); }
.hero-glow { position: absolute; z-index: -1; top: -100px; right: -130px; width: 520px; height: 520px; pointer-events: none; background: radial-gradient(circle, rgba(228,176,74,.15) 0, rgba(228,176,74,.055) 35%, transparent 69%); }
.hero-layout { display: grid; grid-template-columns: 1fr; align-items: center; gap: 10px; padding-block: 49px 66px; }
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.hero h1 { max-width: 700px; margin-bottom: 19px; font: 400 clamp(2.8rem, 12vw, 4.45rem)/.98 var(--display); letter-spacing: -.025em; }
.hero-description { max-width: 58ch; margin-bottom: 0; color: #D0D6E3; font-size: 16px; line-height: 1.65; }
.hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 23px; }
.hero-actions .button { width: 100%; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.audience-tags li { padding: 7px 11px; border: 1px solid #354058; border-radius: 999px; color: #D4DAE6; font-size: 13px; line-height: 1.4; }
/* Sur téléphone, le logo passe AU-DESSUS du titre : visible dès l'arrivée */
.hero-visual { position: relative; min-width: 0; order: -1; margin: -18px 0 4px; }
.logo-stage { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; min-height: 150px; max-width: 420px; margin-inline: auto; }
.stage-halo { position: absolute; z-index: -2; inset: 0 8%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(228,176,74,.24) 0, rgba(228,176,74,.08) 38%, transparent 70%); filter: blur(10px); animation: halo-breathe 6s ease-in-out infinite; }
.logo-fallback { width: min(78%, 330px); height: auto; aspect-ratio: 1474 / 680; object-fit: contain; filter: drop-shadow(0 0 22px rgba(228,176,74,.3)); transition: opacity .8s ease; animation: signature 1.5s cubic-bezier(.65,.05,.36,1) .15s backwards; }
.logo-stage canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; outline: none; opacity: 0; transition: opacity 1s ease; }
.logo-stage.is-live canvas { opacity: 1; }
.logo-stage.is-live .logo-fallback { opacity: 0; }
.logo-stage.tilt-active .stage-caption { visibility: hidden; }
.stage-orbit { position: absolute; z-index: -1; width: 92%; aspect-ratio: 1; border: 1px solid rgba(228,176,74,.16); border-radius: 50%; transform: rotate(-12deg) scaleY(.22); }
.orbit-two { width: 76%; transform: rotate(14deg) scaleY(.26); border-color: rgba(243,210,138,.12); }
.stage-caption { position: absolute; bottom: 0; display: none; justify-content: center; align-items: center; gap: 9px; color: #B8C1D2; font: 9px/1.5 var(--mono); letter-spacing: .1em; text-align: center; }
/* Le logo « s'écrit » comme une signature, puis la version 3D prend le relais */
@keyframes signature { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes halo-breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
/* Reflet doré qui passe sur le mot en italique du titre */
.hero h1 em { background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #FFF1C4 50%, var(--gold) 60%, var(--gold) 100%); background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s ease-in-out 1.6s infinite; }
@keyframes shine { 0%, 60% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
.caption-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(228,176,74,.6); }
.tilt-button { position: absolute; z-index: 4; right: 0; bottom: -8px; min-height: 44px; padding: 6px 12px; border: 1px solid rgba(228,176,74,.35); border-radius: 999px; color: var(--gold-light); background: rgba(5,8,15,.7); font: 500 11px/1 var(--mono); letter-spacing: .06em; white-space: nowrap; cursor: pointer; }
.tilt-button[hidden] { display: none; }
.tilt-status { position: absolute; z-index: 4; bottom: -2px; left: 0; margin: 0; color: #E1D0A7; font-size: 11px; }
.hero-bottom-line { display: none; }

/* Trust strip */
.trust-strip { padding-block: 23px 15px; border-top: 1px solid rgba(255,255,255,.06); color: var(--white); background: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
.trust-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 47px; padding-left: 10px; border-left: 1px solid #36405A; }
.trust-grid strong { flex: 0 0 auto; color: var(--gold); font: 400 24px/1 var(--display); }
.trust-grid span { max-width: 22ch; color: #D0D6E3; font-size: 13px; line-height: 1.45; }
.trust-note { margin: 15px auto 0; padding-inline: 12px; color: #D0D6E3; font-size: 12px; line-height: 1.5; text-align: center; }

/* Shared content sections */
.section { padding-block: 67px; }
.section-light { background: var(--paper); }
.section-heading { max-width: 740px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 16px; font: 400 clamp(2.5rem, 10vw, 3.3rem)/1.04 var(--display); letter-spacing: -.02em; }
.section-heading h2 em { color: var(--brass); }
.section-heading > p:last-child { max-width: 62ch; margin-bottom: 0; color: var(--muted); font-size: 15px; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.service-card { position: relative; display: flex; min-height: unset; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid #DFE4ED; border-radius: 15px; background: var(--white); box-shadow: 0 6px 28px rgba(14,20,36,.035); }
.service-card-feature { border-color: #D4BC83; background: linear-gradient(150deg, #FFFFFF 45%, #FDF8EC 100%); }
.service-card-top { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.service-number { color: var(--brass); font: 500 12px/1.5 var(--mono); letter-spacing: .1em; }
.service-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; color: var(--brass); background: #F8F1E1; }
.service-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 10px; font: 400 29px/1.08 var(--display); }
.service-card > p:not(.service-price) { max-width: 48ch; margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.service-points { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; color: #343C50; font-size: 14px; list-style: none; }
.service-points li { position: relative; padding-left: 18px; }
.service-points li::before { position: absolute; top: .65em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); content: ""; }
.service-price { margin: auto 0 0; padding-top: 8px; color: var(--muted); font-size: 14px; }
.service-price strong { color: var(--text); font-size: 19px; }
.tool-principle { display: flex; align-items: flex-start; gap: 13px; margin-top: 22px; padding: 16px; border-radius: 12px; background: #EAEFF7; }
.principle-mark { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: var(--night); background: var(--gold); font-weight: 700; }
.tool-principle p { margin: 0; color: #343C50; font-size: 13px; }

/* Demonstration */
.demo-section { background: #FFFFFF; }
.demo-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
.before-after { display: grid; grid-template-columns: 1fr; gap: 10px; align-content: start; }
.ba-card { padding: 21px; border: 1px solid var(--line); border-radius: 14px; }
.ba-before { background: #F7F8FB; }
.ba-after { border-color: #D5C28D; background: #FCF8EF; }
.ba-label, .quote-label { display: inline-block; margin-bottom: 9px; color: var(--brass); font: 500 10px/1.5 var(--mono); letter-spacing: .1em; }
.ba-card h3 { margin-bottom: 12px; font: 400 27px/1.1 var(--display); }
.ba-card ul { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 15px; padding: 0; color: #343C50; font-size: 13px; list-style: none; }
.ba-card li { position: relative; padding-left: 16px; }
.ba-card li::before { position: absolute; left: 0; color: var(--brass); content: "—"; }
.ba-foot { margin: 0; padding-top: 13px; border-top: 1px solid #E2E5EB; color: var(--muted); font-size: 13px; }
.ba-arrow { display: grid; height: 18px; place-items: center; color: var(--brass); font-size: 22px; line-height: 1; transform: rotate(90deg); }
.quote-demo { align-self: stretch; padding: 22px 17px; border: 1px solid #E0E4EC; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.quote-header { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 20px; border-bottom: 1px dashed #D4D9E2; }
.quote-header h3 { margin-bottom: 4px; font: 400 28px/1.05 var(--display); }
.quote-header p { margin: 0; color: var(--muted); font-size: 13px; }
.quote-status { flex: 0 0 auto; padding: 6px 8px; border-radius: 6px; color: #5C3D04; background: #F8EAC8; font-size: 10px; font-weight: 700; }
.quote-table { margin-top: 10px; }
.quote-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 9px; padding: 13px 0; border-bottom: 1px solid #ECEFF4; font-size: 12px; }
.quote-row > :last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-row strong { font-size: 12px; }
.quote-table-head { color: var(--muted); font: 500 9px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.quote-subtotal { color: var(--muted); }
.quote-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; padding: 15px; border-radius: 10px; color: var(--white); background: var(--navy); }
.quote-total span { font-size: 14px; }
.quote-total strong { color: var(--gold); font: 400 25px/1 var(--display); white-space: nowrap; }
.quote-disclaimer { margin: 17px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

/* Method */
.method-section { border-top: 1px solid #E9EDF3; }
.method-grid { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 0; padding: 0; list-style: none; }
.method-step { min-height: unset; padding: 21px; border: 1px solid #DCE2EC; border-radius: 14px; background: var(--white); }
.method-number { display: inline-flex; width: 39px; height: 39px; justify-content: center; align-items: center; margin-bottom: 14px; border-radius: 50%; color: var(--gold-light); background: var(--navy); font: 500 11px/1 var(--mono); }
.method-step h3 { margin-bottom: 10px; font: 400 25px/1.05 var(--display); }
.method-step p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.faq-layout .section-heading { position: static; margin-bottom: 0; }
.faq-layout .section-heading h2 { font-size: clamp(2.6rem, 11vw, 3.2rem); }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: #684506; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.faq-list details { border-bottom: 1px solid #D4DBE6; }
.faq-list details:first-child { border-top: 1px solid #D4DBE6; }
.faq-list summary { display: flex; min-height: 67px; justify-content: space-between; align-items: center; gap: 18px; padding-block: 14px; color: var(--text); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid #C8D0DE; border-radius: 50%; color: var(--brass); font-size: 21px; font-weight: 400; transition: transform .2s ease, background .2s ease; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); background: #F3E8CA; }
.faq-list details > p { max-width: 68ch; margin: -1px 0 22px; color: var(--muted); font-size: 14px; }

/* Contact */
.contact-section { position: relative; isolation: isolate; overflow: hidden; padding-block: 68px; }
.contact-grid-lines { background-size: 42px 42px; mask-image: linear-gradient(110deg, #000 0%, transparent 80%); }
.contact-glow { position: absolute; z-index: -1; right: -170px; bottom: -240px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(228,176,74,.13) 0%, rgba(228,176,74,.04) 42%, transparent 70%); }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 29px; align-items: start; }
.contact-copy { padding-top: 8px; }
.contact-copy h2 { max-width: 500px; margin-bottom: 20px; font: 400 clamp(3.3rem, 13vw, 4.3rem)/.99 var(--display); }
.contact-copy > p:not(.eyebrow) { max-width: 43ch; color: #D0D6E3; font-size: 15px; }
.contact-email { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 27px; color: var(--gold-light); font-size: clamp(18px, 2.1vw, 23px); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.email-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid #4B5366; border-radius: 50%; font-size: 20px; }
.contact-email:hover { color: var(--white); }
.contact-copy .contact-small { margin-top: 15px; color: #B7C0D0; font-size: 13px; }
.contact-form { position: relative; padding: 22px 17px; border: 1px solid #E1E5ED; border-radius: 17px; color: var(--text); background: var(--white); box-shadow: 0 25px 75px rgba(0,0,0,.18); }
.form-fields { display: grid; grid-template-columns: 1fr; gap: 15px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field-full { grid-column: auto; }
.form-field > label { color: #262E41; font-size: 13px; font-weight: 700; }
.form-field > label > span { color: var(--brass); }
.form-field input:not([type="checkbox"]), .form-field select, .form-field textarea { display: block; width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #B9C2D1; border-radius: 8px; outline-offset: 2px; color: var(--text); background: #FFFFFF; font-size: 14px; }
.form-field textarea { min-height: 125px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #60697B; opacity: 1; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #78520F; outline: 2px solid rgba(134,90,12,.18); }
.form-field [aria-invalid="true"] { border-color: #A32020 !important; }
.consent-label { display: flex; align-items: flex-start; gap: 11px; color: #414A5D !important; font-size: 12px !important; line-height: 1.55; font-weight: 400 !important; }
.consent-label input { width: 20px; height: 20px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--navy); }
.consent-label a { color: #684506; font-weight: 700; text-underline-offset: 3px; }
.form-submit { width: 100%; margin-top: 20px; }
.form-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.form-feedback { min-height: 1em; margin: 13px 0 0; font-size: 13px; font-weight: 700; }
.form-feedback.is-success { color: #17633C; }
.form-feedback.is-error { color: #9C2020; }
.form-privacy { margin: 8px 0 0; color: #60697B; font-size: 11px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* Footer */
.site-footer { color: #D2D8E4; background: #03050A; }
.footer-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding-block: 39px 35px; }
.footer-brand-block { grid-column: 1 / -1; }
.footer-brand { margin-bottom: 17px; }
.footer-brand-block > p { max-width: 36ch; margin-bottom: 16px; color: #C0C8D6; font-size: 13px; }
.footer-email { color: var(--gold-light); font-size: 14px; text-decoration: none; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h2 { margin-bottom: 7px; color: var(--white); font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { display: inline-flex; min-height: 30px; align-items: center; color: #C7CFDD; font-size: 13px; text-decoration: none; }
.footer-column a:hover, .footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-direction: column; gap: 9px; padding-block: 20px 25px; border-top: 1px solid #252B3A; }
.footer-bottom p { margin: 0; color: #C0C8D6; font-size: 11px; line-height: 1.6; }
.footer-bottom a { color: #D0D6E3; font-size: 11px; white-space: nowrap; text-decoration: none; }
.mobile-cta { position: fixed; z-index: 99; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 52px; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); background: rgba(5,8,15,.98); backdrop-filter: blur(12px); }
.mobile-cta-main, .mobile-cta-mail { display: flex; min-height: 46px; justify-content: center; align-items: center; gap: 10px; border-radius: 8px; color: var(--night); background: var(--gold); font-size: 14px; font-weight: 700; text-decoration: none; }
.mobile-cta-main:hover, .mobile-cta-mail:hover { background: var(--gold-light); }
.mobile-cta-mail { border: 1px solid #596175; color: var(--gold-light); background: #111829; }
.mobile-cta-mail svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Legal pages */
.legal-hero { padding-block: 52px 42px; color: var(--white); background: var(--navy); }
.legal-hero h1 { margin-bottom: 15px; font: 400 clamp(2.8rem, 10vw, 3.8rem)/1 var(--display); }
.legal-hero p { max-width: 70ch; margin-bottom: 0; color: #D0D6E3; }
.legal-content { padding-block: 40px 68px; }
.legal-content article { max-width: 800px; }
.legal-content h2 { margin: 38px 0 12px; font: 400 30px/1.12 var(--display); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #343C50; font-size: 15px; }
.legal-content ul { padding-left: 22px; }
.legal-warning { padding: 16px 18px; border-left: 4px solid var(--gold); color: #4B3914 !important; background: #FCF7E9; }
.legal-content a { color: #684506; }

/* Scroll reveals are optional and automatically disabled for reduced motion. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Tablet and small laptop */
@media (min-width: 761px) {
  html { scroll-padding-top: 88px; }
  body { padding-bottom: 0; font-size: 17px; }
  .container { width: min(var(--container), calc(100% - 48px)); }
  .header-inner { min-height: 72px; gap: 20px; }
  .brand img { width: auto; height: 32px; }
  .brand span { font-size: 16px; }
  .menu-toggle { display: none; }
  .navigation, .navigation.is-open, html.has-js .navigation:not(.is-open) { position: static; display: flex; flex-direction: row; align-items: center; gap: clamp(14px, 2.1vw, 27px); padding: 0; border: 0; background: transparent; box-shadow: none; }
  .navigation > a:not(.button) { min-height: 44px; border: 0; font-size: 14px; }
  .navigation .nav-cta { width: auto; margin-top: 0; }
  .button { padding-inline: 22px; }
  .button-small { padding-inline: 15px; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; letter-spacing: .08em; }
  .hero { min-height: 620px; }
  .hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(260px, .75fr); gap: 22px; padding-block: 68px 78px; }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.1rem); }
  .hero-description { font-size: 18px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .hero-actions .button { width: auto; }
  .audience-tags { gap: 8px; margin-top: 24px; }
  .audience-tags li { padding: 7px 11px; font-size: 12px; }
  .hero-visual { order: 0; margin: 0; }
  .logo-stage { min-height: 330px; max-width: 520px; }
  .logo-fallback { width: min(92%, 460px); }
  .stage-caption { display: flex; bottom: 4px; font-size: 9px; }
  .hero-bottom-line { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 20px; padding: 15px max(24px, calc((100% - var(--container))/2)); border-top: 1px solid rgba(255,255,255,.08); color: #AAB4C6; font: 9px/1.5 var(--mono); letter-spacing: .08em; }
  .trust-strip { padding-block: 28px 18px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .trust-grid > div { flex-direction: row; align-items: center; gap: 13px; min-height: 54px; padding-left: 16px; }
  .trust-grid strong { font-size: 29px; }
  .trust-grid span { font-size: 12px; }
  .trust-note { margin-top: 15px; font-size: 11px; }
  .section { padding-block: 84px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(2.9rem, 4.5vw, 3.7rem); }
  .section-heading > p:last-child { font-size: 17px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .service-card { min-height: 320px; padding: 28px; }
  .service-card-top { margin-bottom: 20px; }
  .service-card h3 { font-size: 30px; }
  .service-points { margin-bottom: 21px; }
  .tool-principle { align-items: center; padding: 18px 22px; }
  .tool-principle p { font-size: 14px; }
  .demo-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  .before-after { gap: 12px; }
  .ba-card { padding: 22px; }
  .ba-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .ba-arrow { height: 12px; }
  .quote-demo { padding: 26px; }
  .quote-header { flex-direction: row; align-items: flex-start; gap: 12px; }
  .quote-header h3 { font-size: 30px; }
  .quote-row { gap: 14px; font-size: 13px; }
  .quote-row strong { font-size: 13px; }
  .quote-total { padding: 17px; }
  .quote-total strong { font-size: 29px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .method-step { min-height: 205px; padding: 24px 21px; }
  .method-step h3 { font-size: 27px; }
  .faq-layout { grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); gap: 40px; }
  .faq-layout .section-heading h2 { font-size: clamp(2.7rem, 4vw, 3.4rem); }
  .faq-list summary { min-height: 70px; padding-block: 17px; font-size: 16px; }
  .faq-list details > p { margin-right: 45px; font-size: 15px; }
  .contact-section { padding-block: 84px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-copy h2 { font-size: clamp(3.4rem, 5.5vw, 4.6rem); }
  .contact-copy > p:not(.eyebrow) { font-size: 17px; }
  .contact-form { padding: 30px; }
  .form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .field-full { grid-column: 1 / -1; }
  .form-field input:not([type="checkbox"]), .form-field select { min-height: 47px; }
  .form-field textarea { min-height: 118px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; padding-block: 50px 42px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: row; justify-content: space-between; gap: 18px; padding-block: 20px 25px; }
  .footer-bottom p { font-size: 11px; }
  .mobile-cta { display: none; }
  .legal-hero { padding-block: 66px 54px; }
  .legal-hero h1 { font-size: clamp(3.3rem, 6vw, 4.5rem); }
  .legal-content { padding-block: 55px 90px; }
}

/* Wider desktop */
@media (min-width: 1001px) {
  .hero-layout { grid-template-columns: minmax(0, 1.13fr) minmax(340px, .87fr); gap: 32px; }
  .hero h1 { font-size: clamp(3.6rem, 5.3vw, 5.1rem); }
  .logo-stage { min-height: 420px; max-width: 600px; }
  .logo-fallback { width: min(94%, 540px); }
  .hero-glow { width: 660px; height: 660px; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .section { padding-block: clamp(90px, 9vw, 112px); }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: clamp(3.2rem, 4.7vw, 4.1rem); }
  .services-grid { gap: 16px; }
  .service-card { padding: 32px; }
  .demo-layout { gap: 30px; }
  .ba-card { padding: 24px; }
  .quote-demo { padding: 32px; }
  .method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .method-step { min-height: 220px; padding: 24px 20px; }
  .faq-layout { gap: clamp(45px, 7vw, 90px); }
  .faq-layout .section-heading { position: sticky; top: 105px; }
  .contact-section { padding-block: clamp(90px, 9vw, 110px); }
  .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(45px, 7vw, 90px); }
  .contact-copy h2 { font-size: clamp(3.6rem, 5vw, 4.7rem); }
  .contact-form { padding: clamp(30px, 3.2vw, 38px); }
  .footer-main { grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(130px, .8fr)); gap: 42px; padding-block: 54px 48px; }
  .footer-brand-block { grid-column: auto; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 2.65rem; }
  .hero-actions .button { padding-inline: 14px; font-size: 14px; }
  .quote-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; font-size: 11px; }
  .quote-row strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .logo-fallback, .stage-halo, .hero h1 em { animation: none !important; }
  .hero h1 em { color: var(--gold); background: none; }
}

/* ===== v3 : sections inspirées des meilleures agences IA américaines ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bandeau d'outils défilant */
.tools-band { padding-block: 22px 24px; border-top: 1px solid rgba(255,255,255,.06); background: var(--night); overflow: hidden; }
.tools-label { margin: 0 0 14px; color: #AEB7C9; font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 12px; animation: marquee 38s linear infinite; }
.marquee-track span { flex: 0 0 auto; padding: 9px 16px; border: 1px solid #2A3348; border-radius: 999px; color: #E4E8F0; background: rgba(255,255,255,.03); font-size: 14px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Constat / douleurs */
.pain-section { background: var(--white); }
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pain-card { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FC 100%); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pain-card:hover { transform: translateY(-4px); border-color: #D4BC83; box-shadow: 0 18px 40px rgba(14,20,36,.08); }
.pain-time { display: inline-block; margin-bottom: 14px; color: var(--brass); font: 400 40px/1 var(--display); }
.pain-card h3 { margin-bottom: 10px; font: 700 19px/1.3 var(--body); }
.pain-card p { margin: 0; color: var(--muted); font-size: 15px; }
.pain-punch { margin: 34px 0 0; font: 400 clamp(1.9rem, 6vw, 2.8rem)/1.1 var(--display); letter-spacing: -.01em; }
.pain-punch em { color: var(--brass); }

/* Devis interactif */
.quote-controls { display: grid; gap: 14px; margin: 18px 0 6px; padding: 16px; border-radius: 12px; background: #F5F7FC; }
.control { display: flex; flex-direction: column; gap: 8px; color: #262E41; font-size: 13px; font-weight: 700; }
.control > span:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.control output { color: var(--brass); font: 500 13px/1 var(--mono); }
.control select { min-height: 44px; padding: 8px 10px; border: 1px solid #B9C2D1; border-radius: 8px; background: #FFFFFF; color: var(--text); font-size: 14px; font-weight: 400; }
.control-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
input[type="range"] { width: 100%; height: 32px; margin: 0; background: transparent; accent-color: var(--brass); cursor: pointer; }
.quote-row strong, .quote-total strong { transition: color .3s ease; }
.is-updating { color: var(--brass) !important; }
.quote-total strong.is-updating { color: #FFF1C4 !important; }

/* Calculateur */
.calc-section { padding-block: 72px; }
.calc-layout { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.calc-section .section-heading h2 { color: var(--white); }
.calc-section .section-heading h2 em { color: var(--gold); }
.calc-section .section-heading > p:last-child { color: #C9D0DE; }
.calc-card { display: grid; gap: 20px; padding: 24px 20px; border: 1px solid rgba(228,176,74,.28); border-radius: 18px; background: linear-gradient(160deg, rgba(24,33,58,.92), rgba(10,14,26,.96)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.control-dark { color: #E4E8F0; }
.control-dark output { color: var(--gold-light); }
.control-dark input[type="range"] { accent-color: var(--gold); }
.input-suffix { display: flex; align-items: center; gap: 10px; }
.input-suffix input { width: 110px; min-height: 46px; padding: 8px 12px; border: 1px solid #4A5470; border-radius: 8px; color: var(--white); background: #0B1020; font: 400 16px/1 var(--body); }
.input-suffix span { color: #AEB7C9; font-weight: 400; }
.calc-results { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 18px 0 4px; border-top: 1px solid rgba(255,255,255,.1); }
.calc-results div { display: flex; align-items: baseline; gap: 12px; }
.calc-results strong { color: var(--gold); font: 400 40px/1 var(--display); font-variant-numeric: tabular-nums; }
.calc-results span { color: #C9D0DE; font-size: 14px; }
.calc-note { margin: 0; color: #9EA8BC; font-size: 12px; line-height: 1.55; }
.calc-cta { width: 100%; }

/* Formulaire en 3 étapes */
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-step + .form-step { margin-top: 22px; }
.form-step legend { margin-bottom: 14px; padding: 0; color: var(--text); font: 400 26px/1.1 var(--display); }
.form-step legend span { color: var(--brass); }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; min-height: 52px; align-items: center; padding: 12px 16px 12px 44px; border: 1px solid #C9D0DD; border-radius: 10px; color: #262E41; background: #FFFFFF; font-size: 15px; font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.choice span::before { position: absolute; left: 16px; width: 16px; height: 16px; border: 2px solid #9AA3B5; border-radius: 50%; content: ""; transition: all .2s ease; }
.choice:hover span { border-color: var(--brass); }
.choice input:checked + span { border-color: var(--brass); background: #FCF6E8; }
.choice input:checked + span::before { border-color: var(--brass); background: var(--brass); box-shadow: inset 0 0 0 3px #FCF6E8; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-progress, .form-step-label { display: none; }
.form-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-nav .form-submit { margin-top: 0; }
.button-ghost-dark { color: var(--text); background: transparent; border-color: #C9D0DD; }
.button-ghost-dark:hover { border-color: var(--brass); }
/* Avec JavaScript : une étape à la fois + barre de progression */
html.has-js .form-progress { display: block; height: 4px; margin-bottom: 10px; border-radius: 4px; background: #E6EAF1; overflow: hidden; }
html.has-js .form-progress-bar { display: block; width: 33.33%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brass), var(--gold)); transition: width .4s ease; }
html.has-js .form-step-label { display: block; margin: 0 0 14px; color: var(--muted); font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
html.has-js .form-step + .form-step { margin-top: 0; }
html.has-js .form-step:not(.is-current) { display: none; }
html.has-js .form-step.is-current { animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.form-nav .form-next, .form-nav .form-submit { flex: 1 1 200px; }

@media (min-width: 761px) {
  .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .control-row { grid-template-columns: 1fr 1fr; }
  .calc-card { padding: 32px; }
  .calc-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-results div { flex-direction: column; gap: 4px; }
  .calc-cta { width: auto; justify-self: start; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .calc-section { padding-block: 96px; }
}
@media (min-width: 1001px) {
  .calc-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span:nth-child(n+11) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: 16px; }
}
.form-nav [hidden], .button[hidden] { display: none !important; }

/* ===== v4 : structure Morningside (méthode 3 étapes) + Krishaweb (grille IA, secteurs) ===== */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.process-step:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14,20,36,.08); }
.process-num { color: var(--brass); font: 400 64px/1 var(--display); opacity: .9; }
.process-step h3 { margin: 6px 0 0; font: 400 34px/1.05 var(--display); }
.process-step p { margin: 0; color: var(--muted); font-size: 15px; }
.process-step .text-link { margin-top: auto; padding-top: 12px; }
.process-cta { margin-top: 28px; }
.ai-section { background: var(--white); }
.ai-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ai-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #FFFFFF, #F8F9FC); transition: border-color .25s ease, transform .25s ease; }
.ai-card:hover { border-color: #D4BC83; transform: translateY(-3px); }
.ai-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 16px; border-radius: 12px; color: var(--gold-light); background: var(--navy); }
.ai-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-card h3 { margin-bottom: 8px; font: 700 18px/1.3 var(--body); }
.ai-card p { margin: 0; color: var(--muted); font-size: 15px; }
.industries-section { background: var(--paper); }
.industry-list { border-top: 1px solid #D4DBE6; }
.industry { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num name arrow" "num desc arrow"; gap: 4px 16px; align-items: center; padding: 22px 4px; border-bottom: 1px solid #D4DBE6; color: var(--text); text-decoration: none; transition: background .25s ease, padding .25s ease; }
.industry:hover { background: #FFFFFF; padding-inline: 16px; }
.industry-num { grid-area: num; color: var(--brass); font: 500 12px/1 var(--mono); letter-spacing: .1em; align-self: start; padding-top: 10px; }
.industry-name { grid-area: name; font: 400 clamp(26px, 6vw, 40px)/1.1 var(--display); }
.industry-desc { grid-area: desc; color: var(--muted); font-size: 15px; }
.industry-arrow { grid-area: arrow; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #C8D0DE; border-radius: 50%; color: var(--brass); transition: background .25s ease, color .25s ease, transform .25s ease; }
.industry:hover .industry-arrow { background: var(--navy); color: var(--gold); transform: rotate(45deg); }
@media (min-width: 761px) {
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .process-step { padding: 32px 28px; min-height: 340px; }
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .industry { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.1fr) auto; grid-template-areas: "num name desc arrow"; gap: 24px; padding-block: 28px; }
  .industry-num { padding-top: 0; align-self: center; }
}
@media (min-width: 1001px) {
  .ai-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
