/*
 * Site de démonstration des widgets : faux site vitrine d'institut (« Maison Aurèle »), au style volontairement différent
 * de l'application. Gloock pour les titres, DM Sans pour le texte, crème et terracotta, photos en arche.
 */
:root {
    --bg: #f1e9e1; --paper: #fbf7f3; --sand: #e8ddd2; --line: #ddd0c6; --line-strong: #c9b8ab;
    --ink: #2c2326; --muted: #6b5c5f; --faint: #c4b3a8; --accent: #a4503f; --accent-deep: #873c2d; --blush: #ecd5c9;
    --serif: "Gloock", "Times New Roman", serif; --sans: "DM Sans", system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
    --gutter: clamp(16px, 5.5vw, 80px); --wrap: 1280px; --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(38px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
p { margin: 0; }
code { background: var(--sand); border-radius: 6px; font: .88em var(--mono); padding: 1px 6px; }
::selection { background: var(--blush); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Widgets aux couleurs du site (variables --w-* du kit, voir docs/widgets.md) */
[data-experience-widget] {
    --w-accent: #a4503f; --w-on-accent: #fff; --w-font: "DM Sans", system-ui, sans-serif;
    --w-card: #fbf7f3; --w-soft: #f1e9e1; --w-line: #e8ddd2; --w-ink: #2c2326; --w-muted: #6b5c5f;
}

.wrap { margin: 0 auto; max-width: calc(var(--wrap) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.section { padding-bottom: clamp(88px, 11vw, 160px); padding-top: clamp(88px, 11vw, 160px); }
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 34em; }
.tag { border: 1px solid var(--line-strong); border-radius: 999px; display: inline-block; font-size: 14px; line-height: 1; margin-bottom: 24px; padding: 8px 15px; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin-top: 24px; }

.btn { align-items: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; display: inline-flex; font: 500 15px/1 var(--sans); gap: 14px; padding: 18px 30px; text-decoration: none; transition: background .25s, border-color .25s, color .25s; }
.btn svg { flex: none; height: 14px; transition: transform .25s var(--ease); width: 14px; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--accent-deep); }
.btn-light:hover { background: #fff; }
.btn-sm { font-size: 14px; padding: 13px 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { align-items: center; color: var(--ink); display: inline-flex; font-weight: 500; gap: 10px; text-decoration: none; }
.link-arrow svg { color: var(--accent); height: 14px; transition: transform .25s var(--ease); width: 14px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Arche : demi-cercle en haut, quelle que soit la largeur */
.arch { aspect-ratio: 4 / 5; background: var(--sand); border-radius: 999em 999em 0 0; overflow: hidden; position: relative; }
.arch img { height: 100%; object-fit: cover; width: 100%; }

/* En-tête flottant (sans backdrop-filter ni transform : les fenêtres des widgets y restent en position fixe) */
.site-header { align-items: center; background: rgba(251, 247, 243, .96); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 34px -22px rgba(44, 35, 38, .45); display: grid; gap: 16px; grid-template-columns: 1fr auto 1fr; margin: 14px auto 0; max-width: 1280px; padding: 7px 7px 7px 28px; position: sticky; top: 14px; width: calc(100% - 32px); z-index: 100; }
.brand { font-family: var(--serif); font-size: 26px; justify-self: start; letter-spacing: -.02em; line-height: 1; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { font-size: 15px; text-decoration: none; transition: color .2s; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); }
.site-nav .nav-account { display: none; }
.header-end { align-items: center; display: flex; gap: 8px; justify-self: end; }
.header-widgets { align-items: center; display: flex; gap: 6px; }
.menu-toggle { background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; display: none; height: 44px; padding: 0; width: 44px; }
.menu-toggle span { background: var(--ink); display: block; height: 1.5px; margin: 4px auto; transition: transform .25s; width: 16px; }
.site-header.open .menu-toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
.site-header.open .menu-toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* Accueil : héros */
.hero { align-items: center; display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-bottom: clamp(64px, 8vw, 120px); padding-top: clamp(48px, 6vw, 88px); }
.hero h1 { font-size: clamp(54px, 7.6vw, 116px); line-height: .96; }
.hero .lead { margin: 32px 0 40px; max-width: 26em; }
.rating { align-items: center; display: flex; gap: 16px; margin-top: 48px; }
.avatars { display: flex; }
.avatars span { align-items: center; border: 2px solid var(--bg); border-radius: 50%; color: var(--ink); display: flex; font: 15px var(--serif); height: 44px; justify-content: center; width: 44px; }
.avatars span + span { margin-left: -12px; }
.avatars span:nth-child(1) { background: var(--blush); }
.avatars span:nth-child(2) { background: #dfe0cf; }
.avatars span:nth-child(3) { background: #e9c9b5; }
.avatars span:nth-child(4) { background: var(--sand); }
.stars::before { color: var(--accent); content: "★★★★★"; display: block; font-size: 15px; letter-spacing: 2px; line-height: 1.2; }
.rating p { color: var(--muted); font-size: 14px; }
.hero .arch { aspect-ratio: 5 / 6; }

/* Accueil : manifeste, mots révélés au défilement */
.manifesto-text { font: clamp(30px, 3.7vw, 54px)/1.12 var(--serif); letter-spacing: -.02em; max-width: 19em; }
.manifesto-text .w { transition: color .35s; }
.js .manifesto-text .w { color: var(--faint); }
.js .manifesto-text .w.on { color: var(--ink); }
.signature { color: var(--muted); font-size: 15px; margin-top: 40px; }

/* Accueil : liste des soins avec aperçu */
.services { align-items: start; display: grid; gap: clamp(40px, 8vw, 120px); grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.service-list { border-bottom: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.service-list a { align-items: baseline; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0 12px; text-decoration: none; }
.service-list .num { color: var(--muted); font: 15px var(--serif); min-width: 24px; }
.service-list .name { font: clamp(32px, 4.2vw, 60px)/1.06 var(--serif); letter-spacing: -.02em; transition: color .3s; }
.service-list .meta { align-items: center; color: var(--muted); display: inline-flex; font-size: 14px; gap: 6px; }
.service-list .meta svg { height: 13px; transition: transform .25s var(--ease); width: 13px; }
.service-list a:hover .name, .service-list li.active .name { color: var(--accent); }
.service-list a:hover .meta svg, .service-list li.active .meta svg { color: var(--accent); transform: translate(2px, -2px); }
.service-preview { position: sticky; top: 120px; }
.service-preview img { transition: opacity .35s; }
.service-preview p { color: var(--muted); font-size: 15px; margin: 24px 0 14px; max-width: 30em; min-height: 3.2em; }

/* Bandeau terracotta */
.band { background: var(--accent); color: #fff; }
.band .wrap { align-items: center; display: grid; gap: 48px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-bottom: clamp(72px, 9vw, 128px); padding-top: clamp(72px, 9vw, 128px); }
.band h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .86); margin: 28px 0 40px; }
.band .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.contact-lines { display: grid; gap: 36px; }
.contact-lines small { color: rgba(255, 255, 255, .78); display: block; font-size: 14px; margin-bottom: 8px; }
.contact-lines a { font: clamp(24px, 2.4vw, 34px)/1.1 var(--serif); text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Approche : trois arches en escalier */
.principles { align-items: end; display: grid; gap: 24px; grid-template-columns: 1.25fr 1fr .78fr; }
.principle .arch { margin-bottom: 24px; }
.principle .num { color: var(--accent); font: 30px/1 var(--serif); margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 30em; }
.principle:nth-child(2) { margin-bottom: 40px; }
.principle:nth-child(3) { margin-bottom: 80px; }

/* Offrir / prolonger : deux cartes */
.duo { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.feature-media { aspect-ratio: 16 / 10; overflow: hidden; }
.feature-media img { height: 100%; object-fit: cover; transition: transform .8s var(--ease); width: 100%; }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); }
.feature-body small { color: var(--accent); font-size: 14px; }
.feature-body p { color: var(--muted); }

/* Avis : défilement continu */
.marquee { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); overflow: hidden; }
.marquee-track { display: flex; gap: 24px; width: max-content; }
.js .marquee-track { animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 22px; padding: 32px; width: min(400px, 80vw); }
.review blockquote { font: 23px/1.2 var(--serif); letter-spacing: -.01em; margin: 0; }
.review footer { font-size: 14px; margin-top: auto; }
.review footer strong { display: block; font-weight: 600; }
.review footer span { color: var(--muted); }

/* Chiffres */
.stats { border-top: 1px solid var(--line); display: grid; gap: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 48px; }
.stats strong { display: block; font: clamp(64px, 8vw, 120px)/1 var(--serif); font-weight: 400; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 15px; }
.stats-foot { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; margin-top: 56px; }
.stats-foot .lead { max-width: 30em; }

/* FAQ */
.faq { display: grid; gap: 48px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.faq h2 { position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { align-items: center; cursor: pointer; display: flex; font: clamp(21px, 1.9vw, 27px)/1.2 var(--serif); gap: 24px; justify-content: space-between; letter-spacing: -.01em; list-style: none; padding: 28px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 30px/1 var(--sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: -8px; max-width: 38em; padding-bottom: 28px; }
.faq-foot { color: var(--muted); margin-top: 32px; }
.faq-foot a { color: var(--accent); text-decoration: none; }

/* Pages intérieures */
.page-hero { padding-bottom: clamp(40px, 5vw, 64px); padding-top: clamp(56px, 7vw, 104px); }
.page-hero .lead { margin-top: 24px; }
.page-hero.split { align-items: end; display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.page-hero.split .arch { justify-self: end; max-width: 360px; width: 100%; }
.page-body { padding-bottom: clamp(88px, 10vw, 144px); }
.layout { align-items: start; display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.layout.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.narrow { margin: 0 auto; max-width: 760px; }
.aside { display: grid; gap: 28px; position: sticky; top: 120px; }
.aside .arch { aspect-ratio: 4 / 4.4; }
.facts { border-top: 1px solid var(--line-strong); display: grid; list-style: none; margin: 0; padding: 0; }
.facts li { border-bottom: 1px solid var(--line-strong); display: grid; gap: 2px; padding: 16px 0; }
.facts strong { font: 20px/1.2 var(--serif); font-weight: 400; }
.facts span { color: var(--muted); font-size: 15px; }
.steps { counter-reset: step; display: grid; gap: 18px; list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { counter-increment: step; display: grid; gap: 4px 18px; grid-template-columns: auto 1fr; }
.steps li::before { color: var(--accent); content: "0" counter(step); font: 24px/1.2 var(--serif); grid-row: span 2; }
.steps strong { font: 20px/1.3 var(--serif); font-weight: 400; }
.steps span { color: var(--muted); font-size: 15px; }
.split-page { align-items: center; display: grid; gap: clamp(40px, 7vw, 112px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding-bottom: clamp(88px, 10vw, 144px); padding-top: clamp(48px, 6vw, 88px); }
.split-page .lead { margin: 20px 0 32px; }
.notice { background: var(--paper); border: 1px solid var(--accent); border-radius: 14px; margin-bottom: 32px; padding: 16px 20px; }

/* Guide d'intégration */
.code { background: var(--ink); border-radius: 14px; color: #f1e9e1; font: 13.5px/1.6 var(--mono); margin: 0; overflow-x: auto; padding: 20px 22px; white-space: pre-wrap; word-break: break-all; }
.code-block { position: relative; }
.copy { background: rgba(255, 255, 255, .1); border: 0; border-radius: 999px; color: #f1e9e1; cursor: pointer; font: 500 12px/1 var(--sans); padding: 7px 12px; position: absolute; right: 10px; top: 10px; }
.copy:hover { background: rgba(255, 255, 255, .2); }
.guide-steps { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-step { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.guide-step .num { color: var(--accent); font: 30px/1 var(--serif); }
.guide-step p { color: var(--muted); font-size: 15px; }
.guide-step .code { font-size: 12.5px; margin-top: auto; padding: 16px; }
.try { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.try-card { align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 14px; padding: 28px; }
.try-card p { color: var(--muted); font-size: 15px; }
.try-card .code { font-size: 12px; padding: 14px 16px; }
.widget-table { border-collapse: collapse; font-size: 15px; width: 100%; }
.widget-table th { color: var(--muted); font-size: 13px; font-weight: 500; text-align: left; }
.widget-table th, .widget-table td { border-bottom: 1px solid var(--line-strong); padding: 16px 16px 16px 0; vertical-align: top; }
.widget-table td:first-child { font: 20px/1.3 var(--serif); white-space: nowrap; }
.widget-table td:last-child { white-space: nowrap; }
.widget-table a { color: var(--accent); text-decoration: none; }
.table-scroll { overflow-x: auto; }

/* Pied de page */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0 88px; }
.wordmark { color: var(--accent); font: clamp(96px, 19vw, 280px)/.85 var(--serif); letter-spacing: -.04em; margin-left: -.02em; }
.tagline { font: clamp(22px, 2.2vw, 30px)/1.2 var(--serif); letter-spacing: -.01em; margin-top: 12px; }
.footer-cols { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; margin-top: 64px; padding: 56px 0; }
.footer-cols h4 { font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.footer-cols ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--accent); }
.footer-cols address { color: var(--ink); display: grid; font-style: normal; gap: 6px; }
.newsletter p { color: var(--muted); margin-bottom: 20px; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; flex: 1 1 180px; font: 15px var(--sans); min-width: 0; padding: 14px 20px; }
.footer-bottom { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 14px; gap: 8px 24px; justify-content: space-between; padding-top: 28px; }
.footer-bottom a { text-decoration: none; }
.config { background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); display: grid; font-size: 13px; gap: 12px; margin-top: 28px; padding: 18px 20px; }
.config form { display: flex; flex-wrap: wrap; gap: 10px; }
.config label { align-items: center; display: flex; gap: 8px; }
.config input { background: #fff; border: 1px solid var(--line); border-radius: 8px; font: 12px var(--mono); padding: 7px 10px; width: min(300px, 70vw); }
.config button { background: var(--ink); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font: 500 13px var(--sans); padding: 8px 18px; }

/* Mode « Intégration » : chaque widget, son nom et son code */
.dev-dock { bottom: 16px; left: 16px; position: fixed; z-index: 90; }
.dev-toggle { align-items: center; background: var(--ink); border: 0; border-radius: 999px; box-shadow: 0 12px 30px -12px rgba(44, 35, 38, .6); color: #f1e9e1; cursor: pointer; display: inline-flex; font: 500 14px/1 var(--sans); gap: 10px; padding: 13px 18px; }
.dev-toggle i { background: #6b5c5f; border-radius: 999px; display: inline-block; height: 16px; position: relative; transition: background .2s; width: 28px; }
.dev-toggle i::after { background: #fff; border-radius: 50%; content: ""; height: 12px; left: 2px; position: absolute; top: 2px; transition: transform .2s var(--ease); width: 12px; }
.dev-toggle[aria-pressed="true"] i { background: var(--accent); }
.dev-toggle[aria-pressed="true"] i::after { transform: translateX(12px); }
.dev-panel { background: var(--ink); border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(44, 35, 38, .7); color: #e8ddd2; display: grid; font-size: 13.5px; gap: 12px; margin-bottom: 10px; max-height: min(70vh, 560px); overflow-y: auto; padding: 20px; width: min(380px, calc(100vw - 32px)); }
.dev-panel[hidden] { display: none; }
.dev-panel strong { color: #fff; font: 22px/1.1 var(--serif); font-weight: 400; }
.dev-head { align-items: center; display: flex; justify-content: space-between; }
.dev-close { background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; color: #fff; cursor: pointer; font: 18px/1 var(--sans); height: 30px; width: 30px; }
.dev-close:hover { background: rgba(255, 255, 255, .2); }
.dev-panel ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.dev-panel li { display: flex; gap: 8px; justify-content: space-between; }
.dev-panel li code, .dev-note code { background: rgba(255, 255, 255, .1); color: #fff; }
.dev-panel li span { color: #b9a89b; }
.dev-panel a { color: #f3c9b9; }
.dev-panel .code, .dev-note .code { background: rgba(0, 0, 0, .25); font-size: 12px; padding: 14px 16px; }
.dev-note { display: none; }
html.dev .dev-note { background: var(--ink); border-radius: 14px; color: #e8ddd2; display: grid; font-size: 13.5px; gap: 10px; margin-bottom: 16px; padding: 18px; }
.dev-note b { color: #fff; font-weight: 600; }
html.dev [data-experience-widget] { outline: 1.5px dashed var(--accent); outline-offset: 6px; }
html.dev [data-experience-button] { outline: 1.5px dashed var(--accent); outline-offset: 4px; position: relative; }
html.dev [data-experience-button]::after { background: var(--ink); border-radius: 6px; bottom: calc(100% + 10px); color: #f1e9e1; content: attr(data-experience-button); font: 500 11px/1 var(--mono); left: 50%; padding: 6px 8px; pointer-events: none; position: absolute; transform: translateX(-50%); white-space: nowrap; }

/* Apparition au défilement (état final sans transform, pour ne jamais gêner les fenêtres des widgets) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Place du bouton « Copier » (après les marges propres à chaque bloc de code) */
.code-block .code { padding-right: 76px; }

@media (max-width: 1240px) {
    .site-header { grid-template-columns: 1fr auto; }
    .menu-toggle { display: block; }
    .site-nav { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 40px -24px rgba(44, 35, 38, .5); display: none; flex-direction: column; gap: 0; left: 0; padding: 12px; position: absolute; right: 0; top: calc(100% + 8px); }
    .site-nav a { border-radius: 12px; font-size: 17px; padding: 12px 16px; }
    .site-nav a:hover { background: var(--bg); }
    .site-header.open .site-nav { display: flex; }
}
@media (max-width: 1100px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .hero, .services, .band .wrap, .faq, .page-hero.split, .layout, .layout.reverse, .split-page, .duo, .guide-steps { grid-template-columns: minmax(0, 1fr); }
    .hero .arch { max-width: 520px; }
    .service-preview { display: none; }
    .principles { grid-template-columns: minmax(0, 1fr); }
    .principle, .principle:nth-child(2), .principle:nth-child(3) { margin-bottom: 24px; }
    .principle .arch { max-width: 440px; }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .faq h2, .aside { position: static; }
    .page-hero.split .arch { display: none; }
    .split-page .arch { max-width: 360px; }
}
@media (max-width: 760px) {
    .header-cta { display: none; }
}
@media (max-width: 640px) {
    .site-header { gap: 8px; padding-left: 20px; }
    .brand { font-size: 22px; }
    /* Connexion repliée dans le menu (« Mon compte ») : la place manque à côté du panier */
    .header-widgets [data-experience-widget="connexion"] { display: none; }
    .site-nav .nav-account { display: block; }
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .js .marquee-track { animation: none; }
    .marquee { mask-image: none; overflow-x: auto; }
    .js .manifesto-text .w { color: var(--ink); }
}
