/* ============================================================
   QuadroDigitale Genève (geneve.quadrodigitale.com/fr)
   Feuille de style unique du site francophone.
   Indépendante de /it/style.css et /en/style.css.

   Système : base claire, une seule couleur d'accent (le bleu du
   logo), surfaces plates, rayons concentriques (8 / 14 / 20 px),
   grille 4 px, mouvement discret.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --ink: #0f1c23;
    --ink-2: #3d4c57;
    --ink-3: #5f6f7a;
    --line: rgba(15, 28, 35, 0.10);
    --line-strong: rgba(15, 28, 35, 0.18);
    --bg: #ffffff;
    --bg-2: #f4f7f9;
    --bg-3: #e9eef2;
    --blue: #0b3f9a;
    --blue-hover: #08327b;
    --blue-rgb: 11, 63, 154;
    --sky: #71ccff;
    --sky-tint: #e9f6ff;
    --sky-tint-2: #d3ecfc;
    --white: #ffffff;
    --success: #1b7f4a;
    --error: #b42318;

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 20px;

    --container: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section: clamp(4.5rem, 9vw, 8rem);

    --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(0.2, 0, 0, 1);

    /* Échelle typographique unique, ratio 1.25 : aucune valeur arbitraire */
    --fs-xs: 0.68rem;
    --fs-sm: 0.85rem;
    --fs-md: 1.0625rem;
    --fs-lg: 1.325rem;
    --fs-xl: 1.656rem;
    --fs-2xl: 2.07rem;
    --fs-3xl: 2.588rem;
    --fs-display: 3.24rem;

    /* Texte blanc sur fond sombre : deux rangs, comme --ink-2 / --ink-3 */
    --white-2: rgba(255, 255, 255, 0.85);
    --white-3: rgba(255, 255, 255, 0.65);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

body {
    font-family: var(--font);
    font-size: var(--fs-md);
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
strong { font-weight: 600; }

::selection { background: var(--sky-tint-2); color: var(--ink); }

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: -100%; left: 1rem; z-index: 2000;
    padding: 0.75rem 1rem; background: var(--ink); color: var(--white);
    border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
    color: var(--ink);
}

h1 { font-size: clamp(2.07rem, 4.2vw, 3.24rem); }
h2 { font-size: clamp(1.656rem, 3.2vw, 2.588rem); }
h3 { font-size: clamp(1.325rem, 1.8vw, 1.656rem); line-height: 1.2; }
h4 { font-size: var(--fs-lg); letter-spacing: 0; line-height: 1.3; }

p { text-wrap: pretty; }
.lead { font-size: clamp(var(--fs-md), 1.5vw, var(--fs-lg)); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.measure { max-width: 62ch; }

.section-title { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title p { margin-top: 1rem; }

.text-link {
    display: inline-flex; align-items: center; gap: 0.4em;
    font-weight: 600; color: var(--blue);
    border-bottom: 1px solid transparent;
    transition: border-color 150ms var(--ease);
}
.text-link:hover { border-color: currentColor; }
.text-link .material-symbols-outlined { font-size: 1.15em; transition: transform 150ms var(--ease); }
.text-link:hover .material-symbols-outlined { transform: translateX(3px); }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 24px; line-height: 1; flex: none;
    user-select: none;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; }
.section-tint { background: var(--bg-2); }
.section-sky { background: var(--sky-tint); }
.hairline { border-top: 1px solid var(--line); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    min-height: 48px; padding: 0.85em 1.5em;
    border: 1.5px solid var(--blue); border-radius: var(--r-sm);
    background: var(--blue); color: var(--white);
    font-weight: 600; line-height: 1.1; letter-spacing: -0.01em;
    text-align: center; white-space: nowrap;
    touch-action: manipulation;
    transition: background-color 150ms var(--ease), border-color 150ms var(--ease),
                color 150ms var(--ease), transform 150ms var(--ease);
}
.btn .material-symbols-outlined { font-size: 1.2em; transition: transform 150ms var(--ease); }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn:hover .material-symbols-outlined { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-secondary {
    background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--ink); }

.btn-light { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-light:hover { background: var(--sky-tint); border-color: var(--sky-tint); }

.btn-lg { min-height: 54px; padding: 1em 1.75em; font-size: var(--fs-md); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
    height: 72px;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 600; letter-spacing: -0.02em; font-size: var(--fs-md); }
.brand img { width: 32px; height: 32px; }
.brand span { white-space: nowrap; }
.brand small { display: block; font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0.02em; color: var(--ink-3); line-height: 1; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > li { position: relative; }
.main-nav a { font-size: var(--fs-sm); font-weight: 400; color: var(--ink-2); padding: 0.5rem 0; transition: color 150ms var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"] { font-weight: 600; }

.nav-trigger { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-trigger .material-symbols-outlined { font-size: 1.1em; transition: transform 150ms var(--ease); }
.has-menu:hover .nav-trigger .material-symbols-outlined,
.has-menu:focus-within .nav-trigger .material-symbols-outlined { transform: rotate(180deg); }

.nav-menu {
    position: absolute; top: calc(100% + 0.5rem); left: -1rem;
    min-width: 20rem; padding: 0.5rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 12px 32px -16px rgba(15, 28, 35, 0.25);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 150ms;
}
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 0.75rem; border-radius: var(--r-sm); color: var(--ink);
    transition: background-color 120ms var(--ease);
}
.nav-menu a:hover { background: var(--bg-2); }
.nav-menu .material-symbols-outlined { color: var(--blue); font-size: 22px; }
.nav-menu .nav-menu-all { border-top: 1px solid var(--line); margin-top: 0.25rem; padding-top: 0.75rem; color: var(--ink-2); font-size: var(--fs-sm); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    transition: background-color 120ms var(--ease);
}
.lang-switch:hover { background: var(--bg-2); }
.lang-switch img { width: 24px; height: 24px; border-radius: 50%; outline: 1px solid rgba(0, 0, 0, 0.1); }

.menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
    align-items: center; justify-content: center;
}
.menu-toggle:hover { background: var(--bg-2); }

.mobile-nav {
    display: none; padding: 0.5rem var(--gutter) 1.5rem;
    border-top: 1px solid var(--line); background: var(--white);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 0.85rem 0; font-size: var(--fs-md); font-weight: 400; border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-sub a { padding-left: 1rem; font-weight: 400; color: var(--ink-2); font-size: var(--fs-md); }
.mobile-nav .btn { display: flex; margin-top: 1.25rem; }

@media (max-width: 1023px) {
    .main-nav, .header-actions .btn { display: none; }
    .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.hero-copy { grid-column: span 7; }
.hero-media { grid-column: span 5; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 899px) {
    .hero-copy, .hero-media { grid-column: 1 / -1; }
    .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Placeholder / lecteur vidéo ---------- */
.video {
    position: relative; margin: 0;
}
.video-frame {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: var(--r); background: var(--ink);
    outline: 1px solid rgba(0, 0, 0, 0.1); outline-offset: -1px;
}
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-poster-plain {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 90% at 100% 0%, var(--sky-tint-2) 0%, transparent 55%),
        linear-gradient(160deg, #f7fbfe 0%, var(--sky-tint) 60%, #dbeffb 100%);
}
.video-poster-plain img {
    position: absolute; left: 50%; top: 50%; width: min(34%, 200px); height: auto;
    transform: translate(-50%, -62%); object-fit: contain; opacity: 0.9;
}
.video-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--blue); color: var(--white);
    box-shadow: 0 8px 24px -8px rgba(var(--blue-rgb), 0.5);
    transition: transform 150ms var(--ease), background-color 150ms var(--ease);
}
.video-play .material-symbols-outlined { font-size: 36px; font-variation-settings: 'FILL' 1, 'wght' 400; margin-left: 3px; }
.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.05); background: var(--blue-hover); }
.video-play[aria-disabled="true"] { cursor: default; background: var(--ink); opacity: 0.85; }
.video-frame:hover .video-play[aria-disabled="true"] { transform: translate(-50%, -50%); background: var(--ink); }
.video-poster-plain + .video-play { top: 62%; }

.video-caption {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--ink-2);
}
.video-caption .video-status {
    flex: none; display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: var(--fs-xs); font-weight: 400; color: var(--ink-3);
}
.video-caption .video-status .material-symbols-outlined { font-size: 16px; }
.video-caption .video-duration { flex: none; font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: var(--fs-xs); }

/* ---------- Chiffres ---------- */
.stats { padding: clamp(2rem, 4vw, 3rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-value {
    font-size: clamp(2.07rem, 4vw, 2.588rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
    font-variant-numeric: tabular-nums; color: var(--ink);
}
.stat-label { margin-top: 0.75rem; color: var(--ink-2); font-size: var(--fs-sm); max-width: 26em; }
@media (max-width: 767px) {
    .stats-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---------- Services (bento) ---------- */
.bento {
    display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(320px, auto); gap: 1rem;
}
.bento-cell {
    position: relative; display: flex; flex-direction: column;
    padding: clamp(1.5rem, 2.5vw, 2.25rem); border-radius: var(--r-lg);
    background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
    transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.bento-cell:hover { border-color: var(--line-strong); }
.bento-cell h3 { margin-bottom: 0.5rem; }
.bento-cell p { color: var(--ink-2); max-width: 34em; }
.bento-cell .text-link { margin-top: 1.25rem; }
.bento-cell .cell-icon {
    width: 48px; height: 48px; border-radius: 12px; margin-bottom: auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); color: var(--blue); border: 1px solid var(--line);
}
.bento-cell .cell-icon + h3 { margin-top: 2.5rem; }
.bento-cell .cell-icon .material-symbols-outlined { font-size: 26px; }

.cell-web { grid-column: span 7; background: var(--sky-tint); }
.cell-web:hover { background: var(--sky-tint-2); }
.cell-photo { grid-column: span 5; color: var(--white); background: var(--ink); border-color: transparent; }
.cell-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 400ms var(--ease); }
.cell-photo:hover img { transform: scale(1.03); }
.cell-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 28, 35, 0.15) 0%, rgba(15, 28, 35, 0.35) 35%, rgba(15, 28, 35, 0.92) 100%);
}
.cell-photo > * { position: relative; z-index: 1; }
.cell-photo h3, .cell-photo p { color: var(--white); }
.cell-photo .text-link { color: var(--white); }
.cell-photo .cell-icon { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: rgba(255, 255, 255, 0.2); }
.cell-ads { grid-column: span 5; }
.cell-consulting { grid-column: span 7; background: var(--blue); border-color: var(--blue); color: var(--white); }
.cell-consulting:hover { background: var(--blue-hover); }
.cell-consulting h3, .cell-consulting p, .cell-consulting .text-link { color: var(--white); }
.cell-consulting p { color: var(--white-2); }
.cell-consulting .cell-icon { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: rgba(255, 255, 255, 0.2); }

@media (max-width: 899px) {
    .bento { grid-auto-rows: minmax(220px, auto); }
    .cell-web, .cell-photo, .cell-ads, .cell-consulting { grid-column: 1 / -1; }
}

/* ---------- Méthode (colonne fixe + étapes) ---------- */
.method-grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.method-intro { grid-column: span 5; position: sticky; top: 104px; }
.method-intro .video { margin-top: 2rem; }
.method-steps { grid-column: 7 / span 6; }
.method-step {
    display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem;
    padding: 2rem 0; border-top: 1px solid var(--line);
}
.method-step:last-child { border-bottom: 1px solid var(--line); }
.method-step .step-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sky-tint); color: var(--blue);
}
.method-step h3 { margin-bottom: 0.5rem; }
.method-step p { color: var(--ink-2); }
@media (max-width: 899px) {
    .method-intro { grid-column: 1 / -1; position: static; }
    .method-steps { grid-column: 1 / -1; }
}

/* ---------- Présence complète ---------- */
.presence .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.presence .lead { margin-left: auto; margin-right: auto; }
.presence-benefits {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 64rem;
}
.presence-benefit {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.25rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
    font-weight: 400; font-size: var(--fs-sm);
}
.presence-benefit .material-symbols-outlined { color: var(--blue); font-size: 22px; }
.presence .video { max-width: 64rem; margin: 0 auto; }
.presence-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    max-width: 64rem; margin: 2.5rem auto 0;
}
.presence-step { padding-top: 1rem; border-top: 2px solid var(--blue); }
.presence-step h4 { margin-bottom: 0.35rem; }
.presence-step p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 899px) {
    .presence-benefits { grid-template-columns: repeat(2, 1fr); }
    .presence-steps { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
    .presence-benefits { grid-template-columns: 1fr; }
}

/* ---------- Galerie ---------- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.gallery-head .section-title { margin-bottom: 0; }
.gallery {
    display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 1rem;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); outline: 1px solid rgba(0, 0, 0, 0.1); outline-offset: -1px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.g-1 { grid-column: span 7; grid-row: span 2; }
.g-2 { grid-column: span 5; grid-row: span 2; }
.g-3 { grid-column: span 4; grid-row: span 2; }
.g-4 { grid-column: span 8; grid-row: span 2; }
@media (max-width: 899px) {
    .gallery { grid-auto-rows: 160px; }
    .g-1, .g-4 { grid-column: 1 / -1; }
    .g-2, .g-3 { grid-column: span 6; }
}

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.quote { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.quote blockquote { font-size: var(--fs-md); line-height: 1.55; color: var(--ink); }
.quote blockquote::before { content: "\201C"; color: var(--blue); font-weight: 600; margin-right: 0.05em; }
.quote blockquote::after { content: "\201D"; color: var(--blue); font-weight: 600; margin-left: 0.05em; }
.quote figcaption { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-3); }
.quote figcaption strong { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 899px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA finale ---------- */
.cta-band {
    background: var(--blue); color: var(--white);
    border-radius: var(--r-lg); padding: clamp(2.5rem, 5vw, 4.5rem);
    display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: var(--white-2); margin-top: 0.75rem; max-width: 36em; }
@media (max-width: 767px) {
    .cta-band { grid-template-columns: 1fr; }
    .cta-band .btn { width: 100%; }
}

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1rem; color: var(--ink-2); max-width: 30em; }
.footer-col h4 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.footer-col li + li { margin-top: 0.6rem; }
.footer-col a { color: var(--ink-2); transition: color 120ms var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
    color: var(--ink-3); font-size: var(--fs-sm);
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Pages service ---------- */
.breadcrumb { padding-top: 1.25rem; font-size: var(--fs-sm); color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.hero-service { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-col { padding: clamp(1.5rem, 2.5vw, 2.25rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.compare-col h3 { margin-bottom: 1.5rem; }
.compare-col li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.compare-col li strong { color: var(--ink); }
.compare-col .material-symbols-outlined { font-size: 22px; margin-top: 2px; color: var(--ink-3); }
.compare-after { background: var(--sky-tint); border-color: var(--sky-tint-2); }
.compare-after li { border-top-color: rgba(11, 63, 154, 0.12); }
.compare-after .material-symbols-outlined { color: var(--blue); }
@media (max-width: 767px) { .compare { grid-template-columns: 1fr; } }

.steps-row { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 1.25rem; }
.step { padding-top: 1.25rem; border-top: 2px solid var(--blue); }
.step time, .step .step-when { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 0.75rem; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 1023px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .steps-row { grid-template-columns: 1fr; } }

.stats-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .stats-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .stats-grid.four { grid-template-columns: 1fr; } }

.case {
    display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
    padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--r-lg); background: var(--ink); color: var(--white);
}
.case h2, .case h3 { color: var(--white); }
.case p { color: var(--white-2); }
.case-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-figures .stat-value { color: var(--white); font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl)); white-space: nowrap; }
.case-figures .stat-value em { font-style: normal; color: var(--sky); }
.case-figures .stat-label { color: var(--white-3); }
.case-note { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--white-3); }
@media (max-width: 899px) { .case { grid-template-columns: 1fr; } .case-figures { grid-template-columns: 1fr; gap: 1.25rem; } }

.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
.includes li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.includes .material-symbols-outlined { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--sky-tint); color: var(--blue); font-size: 22px; }
.includes strong { display: block; margin-bottom: 0.2rem; }
.includes p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 767px) { .includes { grid-template-columns: 1fr; gap: 0; } }

.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.25rem 0; cursor: pointer; font-weight: 600; font-size: var(--fs-md); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .material-symbols-outlined { color: var(--blue); transition: transform 200ms var(--ease); }
.faq details[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 62ch; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related a {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem;
    border: 1px solid var(--line); border-radius: var(--r); font-weight: 600;
    transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.related a:hover { border-color: var(--ink); background: var(--bg-2); }
.related .material-symbols-outlined { color: var(--blue); }
.related a .arrow { margin-left: auto; color: var(--ink-3); }
@media (max-width: 767px) { .related { grid-template-columns: 1fr; } }

/* Page /fr/services/ : hero sans média + liste détaillée */
.hero-solo .hero-copy { grid-column: span 9; }
.service-list { display: grid; gap: 1rem; }
.service-row {
    display: grid; grid-template-columns: 6fr 6fr; gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(1.5rem, 2.5vw, 2.5rem); border-radius: var(--r-lg);
    background: var(--white); border: 1px solid var(--line);
    transition: border-color 150ms var(--ease);
}
.service-row:hover { border-color: var(--line-strong); }
.service-row .cell-icon {
    width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sky-tint); color: var(--blue);
}
.service-row .cell-icon .material-symbols-outlined { font-size: 26px; }
.service-row h2 { font-size: clamp(var(--fs-lg), 2vw, var(--fs-xl)); margin-bottom: 0.75rem; }
.service-row h2 a { color: inherit; }
.service-row h2 a:hover { color: var(--blue); }
.service-intro > p { color: var(--ink-2); max-width: 36em; }
.service-figure { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--ink-3); }
.service-figure strong { display: block; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.service-detail { display: flex; flex-direction: column; }
.service-detail li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.75rem 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-sm); }
.service-detail li:last-child { border-bottom: 1px solid var(--line); }
.service-detail .material-symbols-outlined { font-size: 20px; margin-top: 2px; color: var(--blue); }
.service-detail .text-link { margin-top: auto; padding-top: 1.5rem; }
.legal-content h2 { font-size: clamp(1.325rem, 1.8vw, 1.656rem); line-height: 1.2; margin-top: 2.5rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content > p { color: var(--ink-2); margin-bottom: 1rem; }
.legal-content > ul { margin: 0 0 1rem; padding-left: 1.25rem; list-style: disc; }
.legal-content li { color: var(--ink-2); font-size: var(--fs-sm); margin-bottom: 0.5rem; }
@media (max-width: 899px) {
    .hero-solo .hero-copy { grid-column: 1 / -1; }
    .service-row { grid-template-columns: 1fr; }
    .service-detail .text-link { padding-top: 1.25rem; }
}

/* ---------- Page /fr/contact/ : questionnaire + calendrier (contact.js) ---------- */
.hero-note { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-3); }
.confirm-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
    margin-bottom: 1.5rem; border-radius: 50%; background: var(--sky-tint); color: var(--blue);
}
.confirm-icon .material-symbols-outlined { font-size: 30px; font-variation-settings: 'wght' 600; }
[data-view] h1 [data-confirm-when] { white-space: nowrap; }

.honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.quiz {
    position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink);
    display: none; flex-direction: column;
}
.quiz[open] { display: flex; }
.quiz::backdrop { background: rgba(15, 28, 35, 0.4); }
.quiz-top { flex: none; }
.quiz-progress { height: 3px; background: var(--bg-3); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--blue); transition: width 320ms var(--ease); }
.quiz-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.quiz-count { font-size: var(--fs-sm); font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.quiz-close {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink);
    transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.quiz-close:hover { border-color: var(--ink); background: var(--bg-2); }
.quiz-form { flex: 1 1 auto; overflow-y: auto; padding: 0 var(--gutter) 3rem; -webkit-overflow-scrolling: touch; }

.q-step { display: none; max-width: 640px; margin: 0 auto; border: 0; min-width: 0; padding-top: clamp(1.5rem, 8vh, 5rem); }
.q-step.is-active { display: block; animation: q-rise 320ms var(--ease) backwards; }
@keyframes q-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.q-step h2 { font-size: clamp(var(--fs-xl), 2.4vw, var(--fs-2xl)); margin-bottom: 0.5rem; }
.q-step h2 .q-req { color: var(--error); font-weight: 600; }
.q-step > p { color: var(--ink-2); margin-bottom: 1.5rem; }
.q-note { margin-top: 1.25rem; text-align: center; font-size: var(--fs-sm); color: var(--ink-3); }

.q-field { display: grid; gap: 0.5rem; }
.q-field + .q-field { margin-top: 0.75rem; }
.q-field input:not([type="checkbox"]):not([type="radio"]), .q-field textarea {
    width: 100%; min-height: 54px; padding: 0.9rem 1rem; font: inherit; color: var(--ink);
    background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.q-field textarea { resize: vertical; min-height: 80px; }
.q-field input::placeholder, .q-field textarea::placeholder { color: var(--ink-3); }
.q-field input:focus-visible, .q-field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-tint-2); }
.q-field.has-error input, .q-field.has-error textarea, .q-field.has-error .q-choices, .q-field.has-error .cal { border-color: var(--error); }
.q-field-error { display: none; font-size: var(--fs-sm); color: var(--error); }
.q-field.has-error .q-field-error { display: block; }

.q-choices { display: grid; gap: 0.5rem; border: 1.5px solid transparent; border-radius: var(--r-sm); }
.q-choice { position: relative; }
.q-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.q-choice span {
    display: flex; align-items: center; min-height: 54px; padding: 0.85rem 1rem;
    border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white);
    transition: border-color 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease);
}
.q-choice:hover span { border-color: var(--ink); }
.q-choice input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.q-choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--sky-tint-2); }
.q-other[hidden] { display: none; }

.q-consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-sm); color: var(--ink-2); }
.q-consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--blue); }
.q-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.q-consent-field { margin-top: 1.5rem; }
.q-consent-field.has-error .q-consent span { color: var(--error); }

.q-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; margin-top: 1.75rem; }
.q-actions .btn { flex: 1 1 auto; }
.q-actions .btn-secondary { flex: 0 0 auto; }
.q-form-error { display: none; max-width: 640px; margin: 1rem auto 0; padding: 0.85rem 1rem; border-radius: var(--r-sm); background: rgba(180, 35, 24, 0.08); color: var(--error); font-size: var(--fs-sm); }
.q-form-error.is-visible { display: block; }
.q-form-error a { text-decoration: underline; }

.cal { display: grid; gap: 1rem; border: 1.5px solid transparent; border-radius: var(--r-sm); min-height: 160px; transition: opacity 260ms var(--ease); }
.cal.has-days { grid-template-columns: repeat(2, 1fr); }
.cal.is-fading { opacity: 0; }
.cal-msg { grid-column: 1 / -1; align-self: center; padding: 1.5rem; text-align: center; color: var(--ink-3); }
.cal-msg a, .cal-msg button { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.spinner {
    display: inline-block; width: 16px; height: 16px; margin-right: 0.6rem; vertical-align: -3px;
    border: 2px solid var(--line-strong); border-top-color: var(--blue); border-radius: 50%;
    animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cal-day { padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.cal-day-head { font-weight: 600; text-transform: capitalize; margin-bottom: 0.75rem; }
.cal-day-head small { display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-3); text-transform: none; }
.cal-slots { display: grid; gap: 0.5rem; align-content: start; }
.cal-slot {
    min-height: 48px; padding: 0.6rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    background: var(--white); font-weight: 600; font-variant-numeric: tabular-nums;
    transition: border-color 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease);
}
.cal-slot:hover { border-color: var(--ink); }
.cal-slot.is-selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cal-day-empty { font-size: var(--fs-sm); color: var(--ink-3); padding: 0.5rem 0; }
.cal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.cal-nav [hidden] { display: none; }
@media (max-width: 599px) { .cal.has-days { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.no-anim { transition: none; }
.js .reveal[data-delay="1"] { transition-delay: 80ms; }
.js .reveal[data-delay="2"] { transition-delay: 160ms; }
.js .reveal[data-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .btn .material-symbols-outlined, .text-link .material-symbols-outlined,
    .video-play, .gallery img, .cell-photo img { transition: none; }
}
