/* ═══════════════════════════════════════════
   SO.DI.CE — Système éditorial
   Papier chaud, encre, filets 1px, serif.
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
    /* Encres */
    --ink:            #14171C;
    --ink-soft:       #3A424D;
    --ink-faint:      #6C7681;
    --ink-ghost:      #98A0A8;

    /* Papiers */
    --paper:          #FAF9F6;
    --paper-2:        #F3F1EB;
    --paper-3:        #EDEAE2;
    --white:          #FFFFFF;

    /* Filets */
    --rule:           #DCD8CE;
    --rule-soft:      #E7E4DC;
    --rule-strong:    #B5AFA2;

    /* Accent — bleu encre */
    --accent:         #1B365D;
    --accent-hover:   #14294A;
    --accent-tint:    #EDF1F6;
    --accent-line:    #C3CEDD;

    /* États */
    --ok:             #2C5F3A;
    --ok-tint:        #EDF3EE;
    --ok-line:        #BED2C3;
    --warn:           #8A5A16;
    --warn-tint:      #F7F1E7;
    --warn-line:      #DCC9A8;
    --danger:         #8E2A22;
    --danger-tint:    #F7EDEB;
    --danger-line:    #D9B6B0;

    /* Rayons — quasi nuls, l'objet est un filet */
    --radius-xl:      3px;
    --radius-lg:      3px;
    --radius-md:      2px;
    --radius-pill:    2px;

    /* Typo */
    --serif:  'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
    --sans:   'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Gabarit */
    --measure: 1200px;
    --gutter:  40px;
    --nav-h:   72px;

    --ease: cubic-bezier(0.2, 0, 0.1, 1);

    /* Alias de compatibilité — anciens noms encore référencés
       en style inline dans quelques gabarits PHP. */
    --text-dark:  var(--ink);
    --text-dim:   var(--ink-soft);
    --text-muted: var(--ink-faint);
    --accent-green: var(--ok);
    --accent-red: var(--danger);
    --accent-orange: var(--warn);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    min-height: 100vh;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

::selection {
    background: var(--accent);
    color: var(--white);
}

/* Les anciennes orbes décoratives sont neutralisées :
   le fond est désormais du papier, sans halo coloré. */
.bg-wrap, .bg-orb { display: none !important; }

/* ─── TYPOGRAPHIE ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { text-wrap: pretty; }

strong, b { font-weight: 600; }

em, i { font-style: italic; }

/* Chiffres alignés, indispensable aux prix et références */
.stat-num, .hero-price-amount, .pricing-price, .trust-num,
.hours-time, .ci-value, .stat-value, .stat-card b, td.num {
    font-variant-numeric: tabular-nums lining-nums;
}

/* ─── LIENS ─── */
a.link,
.prose a,
.service-text a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-line);
    transition: border-color .15s var(--ease), color .15s var(--ease);
}
a.link:hover,
.prose a:hover,
.service-text a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent);
}

/* ─── GRILLE & UTILITAIRES ─── */
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.w-full { width: 100%; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mb-1 { margin-bottom: 4px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-dim { color: var(--ink-soft); }
.text-muted { color: var(--ink-faint); }
.icon { display: inline-block; line-height: 1; }

/* ═══════════════════════════════════════
   NAVBAR — nav-split : liens | logo | actions
   ═══════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center; column-gap: 32px;
    width: 100%; max-width: var(--measure); margin-inline: auto;
    padding-inline: var(--gutter);
    background: var(--paper); border-bottom: 1px solid var(--rule);
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
/* Le fond opaque couvre toute la largeur, la grille reste sur les lignes du .wrap. */
.navbar::before {
    content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
    background: inherit; border-bottom: 1px solid var(--rule);
}
.navbar { border-bottom: 0; }
.navbar.scrolled { box-shadow: 0 14px 30px -26px rgba(20,23,28,.5); }
.navbar.scrolled::before { border-bottom-color: var(--rule-strong); }

.nav-logo { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.nav-logo img { height: 30px; width: auto; transition: transform .2s var(--ease); }
.nav-logo:hover img { transform: scale(1.03); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-right { justify-content: flex-end; }
.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button.nav-parent {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
    padding: 0 14px; border: 0; border-radius: 999px; background: none;
    font: 500 .9375rem/1 var(--sans); color: var(--ink-soft);
    text-decoration: none; cursor: pointer;
    transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links > li > button.nav-parent::after {
    content: ''; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); transition: transform .18s var(--ease);
}
.nav-links > li > button.nav-parent[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-2px); }
.nav-links > li > a:hover,
.nav-links > li > button.nav-parent:hover,
.nav-links > li > button.nav-parent[aria-expanded="true"] { background: var(--paper-2); color: var(--ink); }
.nav-links > li > a.active,
.nav-links > li > button.nav-parent.active { color: var(--accent); background: var(--accent-tint); }
.nav-links > li > a:focus-visible,
.nav-links > li > button.nav-parent:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-links > li > a.nav-tel { font-variant-numeric: tabular-nums; color: var(--ink); }
.nav-links > li > a.nav-cta {
    margin-left: 6px; padding: 0 22px; background: var(--accent); color: #fff;
    transition: background .2s var(--ease), transform .16s var(--ease);
}
.nav-links > li > a.nav-cta:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.nav-links > li > a.nav-cta:active { transform: scale(.98); }

/* Panneaux déroulants : titre + une ligne par page */
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px;
    padding: 8px; background: var(--white); border: 1px solid var(--rule);
    border-radius: 14px; box-shadow: 0 28px 50px -26px rgba(20,23,28,.4);
    list-style: none; opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown,
.nav-links > li > button[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; pointer-events: all; transform: none; }
.dropdown li { display: block; margin: 0; }
.dropdown li a {
    display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none;
    transition: background .14s var(--ease);
}
.dropdown li a b { display: block; font: 500 .9375rem/1.3 var(--sans); color: var(--ink); }
.dropdown li a small { display: block; margin-top: 2px; font: 400 .8125rem/1.35 var(--sans); color: var(--ink-faint); }
.dropdown li a:hover { background: var(--paper-2); }
.dropdown li a.active { background: var(--accent-tint); }
.dropdown li a.active b { color: var(--accent); }
.dropdown li a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ─── BURGER ─── */
.burger {
    display: none; grid-column: 3; justify-self: end;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; background: none; border: 0;
    border-radius: 999px; cursor: pointer; z-index: 1100;
}
.burger:hover { background: var(--paper-2); }
.burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.burger span { display: block; width: 100%; height: 1.5px; background: var(--ink); transition: transform .22s var(--ease), opacity .22s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MENU MOBILE ─── */
.mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 999;
    padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
    background: var(--paper); overflow-y: auto; flex-direction: column;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), visibility .22s;
}
.mobile-menu.open { display: flex; opacity: 1; visibility: visible; pointer-events: all; }
.mobile-menu a {
    display: flex; align-items: center; min-height: 48px; padding: 8px 0;
    border-bottom: 1px solid var(--rule-soft); text-decoration: none; color: var(--ink);
    font: 400 1.35rem/1.2 var(--serif); transition: color .14s var(--ease);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }
.mobile-menu .mobile-section-label {
    padding: 24px 0 6px; font: 500 .8125rem/1 var(--sans); color: var(--ink-faint);
}
.mobile-menu .mobile-tel {
    margin-top: 24px; justify-content: center; border: 1px solid var(--rule-strong);
    border-radius: 999px; font: 500 1rem/1 var(--sans);
}
.mobile-menu .mobile-cta {
    margin-top: 10px; justify-content: center; border: 0; border-radius: 999px;
    background: var(--accent); color: #fff !important; font: 500 1rem/1 var(--sans);
}
.mobile-menu .mobile-cta:hover { background: var(--ink); }

@media (max-width: 1100px) {
    .navbar { column-gap: 16px; }
    .nav-links > li > a, .nav-links > li > button.nav-parent { padding: 0 10px; }
    .nav-links > li > a.nav-tel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .navbar, .nav-logo img, .dropdown, .mobile-menu, .burger span { transition: none; }
}

/* ═══════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 13px 26px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.005em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: background .16s var(--ease), color .16s var(--ease),
                border-color .16s var(--ease);
}

.btn-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    border-color: var(--rule-strong);
    color: var(--ink);
}
.btn-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.btn-card {
    display: block;
    width: 100%;
    padding: 11px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.btn-card-blue {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
.btn-card-blue:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.btn-card-ghost {
    background: transparent;
    border-color: var(--rule-strong);
    color: var(--ink-soft);
}
.btn-card-ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink-ghost); }

.btn-danger {
    background: transparent;
    border-color: var(--danger-line);
    color: var(--danger);
}
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: var(--white); }

.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-success { background: var(--ok); border-color: var(--ok); color: var(--white); }
.btn-success:hover { background: #234C2E; border-color: #234C2E; }
.btn-send { width: 100%; }
.btn-arrow::after { content: ' →'; }
.btn-inner { width: 100%; }

/* ═══════════════════════════════════════
   ÉTIQUETTES & INTERTITRES
   ═══════════════════════════════════════ */
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.section-label span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.form-section-label,
.admin-section-title {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.glass-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 72px;
    border-bottom: 1px solid var(--rule);
}

.hero-inner { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }

.hero h1 {
    font-size: clamp(2.25rem, 4.4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero p {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 34em;
    margin-bottom: 32px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    margin-bottom: 20px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    border-bottom: 1px solid var(--rule);
}
.hero-tag::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--ok);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-bg-image { display: none; }

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
    position: relative;
    z-index: 1;
    max-width: var(--measure);
    margin-inline: auto;
    padding: 96px var(--gutter);
}

.section h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    max-width: 38em;
    line-height: 1.65;
    margin-bottom: 56px;
}

/* Bande alternée, Founder® : sépare sans carte flottante */
.section--tinted {
    max-width: none;
    background: var(--paper-2);
    border-block: 1px solid var(--rule);
}
.section--tinted > .section__inner {
    max-width: var(--measure);
    margin-inline: auto;
}

/* ═══════════════════════════════════════
   CARTES SOLUTIONS
   ═══════════════════════════════════════ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.sol-card {
    position: relative;
    display: block;
    padding: 34px 28px;
    background: var(--paper);
    text-decoration: none;
    cursor: pointer;
    transition: background .18s var(--ease);
}
.sol-card:hover { background: var(--white); }
.sol-card::after { display: none; }

.sol-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 22px;
}
.sol-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.sol-card h3 {
    font-size: 1.3125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.sol-card p {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sol-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--accent-line);
    transition: border-color .16s var(--ease), gap .16s var(--ease);
}
.sol-card:hover .sol-link { border-bottom-color: var(--accent); gap: 11px; }

/* ═══════════════════════════════════════
   BANDEAU ARGUMENTAIRE
   ═══════════════════════════════════════ */
.feature-band {
    position: relative;
    z-index: 1;
    max-width: var(--measure);
    margin-inline: auto;
    padding-inline: var(--gutter);
    margin-bottom: 96px;
}

.feature-band-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 48px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-xl);
}

.feature-band-text h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--paper);
    margin-bottom: 16px;
}
.feature-band-text > p {
    font-size: 0.9375rem;
    color: rgba(250, 249, 246, 0.68);
    line-height: 1.7;
    margin-bottom: 28px;
}

.feature-list { display: flex; flex-direction: column; gap: 12px; }

.feature-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 0.9375rem;
    color: rgba(250, 249, 246, 0.88);
    line-height: 1.5;
}
.feature-item::before {
    content: '';
    width: 14px;
    height: 1px;
    background: rgba(250, 249, 246, 0.45);
    flex-shrink: 0;
    transform: translateY(-4px);
}

.feature-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(250, 249, 246, 0.16);
    border: 1px solid rgba(250, 249, 246, 0.16);
}

.mini-card {
    padding: 22px 20px;
    background: var(--ink);
    transition: background .18s var(--ease);
}
.mini-card:hover { background: #1D2229; }

.mini-card-icon { display: block; margin-bottom: 12px; opacity: 0.75; }

.mini-card-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 5px;
}
.mini-card-sub {
    font-size: 0.8125rem;
    color: rgba(250, 249, 246, 0.55);
    line-height: 1.45;
}

/* ═══════════════════════════════════════
   PARTENAIRES
   ═══════════════════════════════════════ */
.partners-section {
    position: relative;
    z-index: 1;
    max-width: var(--measure);
    margin: 0 auto 72px;
    padding: 40px var(--gutter) 44px;
    text-align: center;
    border-block: 1px solid var(--rule);
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.partner-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity .2s var(--ease), filter .2s var(--ease);
}
.partner-logo:hover { opacity: 1; filter: grayscale(0); }

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 64px;
    padding: 0 28px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    color: var(--ink-faint);
    background: transparent;
    border: 1px solid var(--rule);
    transition: color .18s var(--ease), border-color .18s var(--ease);
}
.partner-badge:hover { color: var(--ink); border-color: var(--ink); }
.partner-badge img { max-height: 52px; width: auto; }

/* ═══════════════════════════════════════
   CHIFFRES & BANDE DE CONFIANCE
   ═══════════════════════════════════════ */
.stats-strip {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 var(--gutter) 72px;
    flex-wrap: wrap;
}

.stat-pill {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 28px;
    border-left: 1px solid var(--rule);
    flex: 0 1 auto;
}
.stat-pill:first-child { border-left: none; }

.stat-num {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════
   BANDEAU CONTACT
   ═══════════════════════════════════════ */
.contact-strip {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 var(--gutter) 88px;
    flex-wrap: wrap;
}

.contact-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    border-left: 1px solid var(--rule);
    text-decoration: none;
    transition: background .16s var(--ease);
}
.contact-chip:first-child { border-left: none; }
.contact-chip:hover { background: var(--paper-2); }

.contact-chip-icon {
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-chip-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
}
.contact-chip-text span {
    font-size: 0.8125rem;
    color: var(--ink-faint);
}

/* ═══════════════════════════════════════
   EN-TÊTE DE PAGE INTERNE
   ═══════════════════════════════════════ */
.page-hero {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-inline: auto;
    padding: calc(var(--nav-h) + 72px) var(--gutter) 56px;
    text-align: left;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.75rem;
    color: var(--ink-faint);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.breadcrumb a {
    color: var(--ink-faint);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .15s var(--ease), border-color .15s var(--ease);
}
.breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.breadcrumb-sep { color: var(--rule-strong); }

.page-hero h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 36em;
}

/* ═══════════════════════════════════════
   PRODUITS — pages de gamme
   Gabarit : _prod_page.php · carte : _prod_card.php · script : assets/js/prd.js
   Un bloc par écran : hero, engagement, gamme, autres gammes.
   ═══════════════════════════════════════ */
.prd {
    --m-ease:  cubic-bezier(.2, .8, .2, 1);      /* tous les gestes de l'interface */
    --m-enter: cubic-bezier(.22, 1, .36, 1);     /* une arrivée qui se pose, sans rebond */
    --prd-dark: #0B1A33;
}

/* ─── Boutons et liens de la catégorie ─── */
.prd .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    font-size: 1rem;
    transition: background .15s var(--m-ease), color .15s var(--m-ease),
                border-color .15s var(--m-ease), transform .12s var(--m-ease);
}
.prd .btn:active { transform: translateY(1px) scale(.985); transition-duration: .09s; }

.prd-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    /* un filet discret au repos, un trait d'encre qui se dessine au survol */
    background:
        linear-gradient(currentColor, currentColor) 0 calc(50% + 13px) / 0 1px no-repeat,
        linear-gradient(var(--rule-strong), var(--rule-strong)) 0 calc(50% + 13px) / 100% 1px no-repeat;
    transition: background-size .15s var(--m-ease);
}
.prd-link:focus-visible { background-size: 100% 1px, 100% 1px; }
.prd-arrow { flex-shrink: 0; transition: transform .15s var(--m-ease); }

/* ─── 1. Hero : le titre, UN produit en grand, trois faits au pied de l'écran ─── */
.prd-hero {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 40px) 0 48px;
}
.prd-hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: clamp(32px, 4vw, 64px);
}
.prd-hero--solo .prd-hero-grid { grid-template-columns: minmax(0, 1fr); }

.prd-hero-copy { grid-column: 1; grid-row: 1; align-self: start; }
.prd-hero .breadcrumb { margin-bottom: 40px; flex-wrap: wrap; }
.prd-hero .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }

.prd-eyebrow {
    margin-bottom: 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
}
.prd-eyebrow-n { color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: pre; }

.prd-h1 {
    max-width: 11em;
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 1.2rem + 3vw, 3.5rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
}
/* chaque mot sort de son masque : l'entrée du titre (voir plus bas) */
.prd-h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.prd-h1 .w > span { display: inline-block; }

.prd-lead {
    max-width: 30em;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--ink-soft);
}
.prd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    margin-top: 32px;
}

.prd-hero-stage {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: 0;
    overflow: hidden;          /* le visuel « se pose » dans son cadre, jamais au-dehors */
}
/* le produit tient debout sur le fond de la page : ni cadre, ni panneau, ni dégradé */
.prd-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.prd-facts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 56px;
    margin-top: 32px;
}
.prd-facts dt { margin-bottom: 4px; font-size: 0.8125rem; font-weight: 500; line-height: 1.2; color: var(--ink-faint); }
.prd-facts dd { font-family: var(--serif); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* Entrée du hero : une fois, au chargement. Le titre monte mot à mot, puis le reste
   se lève de 12 px, puis le visuel se pose (1,05 → 1). Sans mouvement : tout est déjà en place. */
@keyframes prd-rise  { from { transform: translateY(105%); } }
@keyframes prd-fade  { from { opacity: 0; transform: translateY(12px); } }
@keyframes prd-settle{ from { transform: scale(1.05); } }
@media (prefers-reduced-motion: no-preference) {
    .prd-h1 .w > span { animation: prd-rise 700ms var(--m-enter) backwards; animation-delay: calc(min(var(--i), 6) * 40ms); }
    .prd-hero [data-e] { animation: prd-fade 520ms var(--m-enter) backwards; }
    .prd-hero [data-e="0"] { animation-delay: 0ms; }
    .prd-hero [data-e="1"] { animation-delay: 300ms; }
    .prd-hero [data-e="2"] { animation-delay: 360ms; }
    .prd-hero [data-e="3"] { animation-delay: 420ms; }
    .prd-hero-img { animation: prd-settle 1100ms var(--m-enter) backwards; }
}

/* ─── 2. Engagement : une phrase qui s'allume mot à mot (assets/js/prd.js) ─── */
.prd-statement {
    --st-bg:  var(--prd-dark);
    --st-ink: #FAF9F6;
    min-height: 100vh;
    min-height: 100svh;
    padding: 120px 0 72px;
    background: var(--st-bg);
    color: var(--st-ink);
}
.prd-statement-label {
    margin-bottom: 32px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--st-ink) 62%, var(--st-bg));
}
.prd-statement-text {
    max-width: 17em;
    font-family: var(--serif);
    font-size: clamp(1.875rem, 0.9rem + 4vw, 4.5rem);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.015em;
    text-wrap: pretty;
}
.prd-statement-text strong { font-weight: inherit; color: var(--accent-line); }
/* au repos chaque mot est à demi-encre (lisible, 5 pour 1) ; il passe à l'encre quand le défilement l'atteint */
.prd-statement.mo-wh .mo-w { color: color-mix(in srgb, var(--st-ink) 50%, var(--st-bg)); transition: color 160ms ease; }
.prd-statement.mo-wh .mo-w.is-on { color: var(--st-ink); }
.prd-statement.mo-wh strong .mo-w.is-on { color: var(--accent-line); }

/* ─── 3. Gamme : filtres + modèles ─── */
.prd-range { padding: 120px 0 96px; scroll-margin-top: var(--nav-h); }
.prd-range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.prd-range h2,
.prd-others h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.02em; }
.prd-count { flex-shrink: 0; font-size: 0.9375rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.prd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.prd-filter {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s var(--m-ease), color .15s var(--m-ease), border-color .15s var(--m-ease), transform .12s var(--m-ease);
}
.prd-filter:active { transform: translateY(1px) scale(.985); transition-duration: .09s; }
.prd-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.prd-filter-n { margin-left: 4px; font-size: 0.875rem; font-weight: 400; font-variant-numeric: tabular-nums; opacity: .7; }

.prd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prd-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.prd-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* La carte (et la vignette d'une autre gamme) : un seul gabarit, un seul geste au survol */
.prd-card, .prd-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform .12s var(--m-ease), border-color .12s var(--m-ease), box-shadow .12s var(--m-ease);
}
.prd-card[hidden] { display: none; }

/* le produit est seul sur le fond de la carte, en grand : pas de panneau gris, pas d'étiquette dessus */
.prd-card-media, .prd-tile-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 12px;
}
.prd-card-img, .prd-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 400ms var(--m-ease);
}

.prd-card-body { flex: 1; padding: 8px 24px 0; }
.prd-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 12px; font-size: 0.8125rem; line-height: 1.3; }
.prd-tag {
    --badge: var(--accent);
    padding: 2px 8px;
    border: 1px solid color-mix(in srgb, var(--badge) 40%, transparent);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--badge) 8%, var(--white));
    color: var(--badge);
    font-weight: 500;
}
.prd-stock { color: var(--warn); font-weight: 500; }
.prd-ref { margin-left: auto; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.prd-card-name { margin-bottom: 8px; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.prd-card-desc { margin-bottom: 16px; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }

/* caractéristiques : des lignes fermées d'un filet, pas une liste de coches */
.prd-rows { margin-bottom: 8px; }
.prd-rows li { padding: 10px 0; border-bottom: 1px solid var(--rule-soft); font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }
.prd-rows li:first-child { border-top: 1px solid var(--rule-soft); }

.prd-card-foot { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0 16px; padding: 8px 24px 20px; }
.prd-card-pdf { position: relative; z-index: 1; color: var(--ink-soft); font-size: 0.9375rem; }
/* toute la carte est le lien « Demander un devis » */
.prd-card-quote::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.prd-card-quote:focus-visible { outline: none; }
.prd-card-quote:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Une seule référence : carte horizontale pleine largeur */
.prd-grid[data-count="1"] .prd-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.prd-grid[data-count="1"] .prd-card-media { grid-row: 1 / 3; aspect-ratio: auto; min-height: 380px; padding: 32px; }
.prd-grid[data-count="1"] .prd-card-body { align-self: center; padding: 40px 40px 0 8px; }
.prd-grid[data-count="1"] .prd-card-foot { padding: 8px 40px 40px 8px; }

/* Au survol (pointeur fin) ou au clavier : la carte monte de 2 px, la photo grossit de 3 % dans son cadre,
   le trait se dessine. Rien ne change de taille, rien ne pousse ses voisins. */
@media (hover: hover) and (pointer: fine) {
    .prd .btn:hover { transform: translateY(-1px); }
    .prd-link:hover { background-size: 100% 1px, 100% 1px; }
    .prd-link:hover .prd-arrow { transform: translateX(3px); }
    .prd-card:hover, .prd-tile:hover {
        transform: translateY(-2px);
        border-color: var(--rule-strong);
        box-shadow: 0 12px 24px -12px rgba(20, 23, 28, .10);
        transition-duration: .18s;
    }
    .prd-card:hover .prd-card-img, .prd-tile:hover .prd-tile-media img { transform: scale(1.03); transition-duration: 600ms; }
    .prd-card:hover .prd-card-quote { background-size: 100% 1px, 100% 1px; }
    .prd-card:hover .prd-card-quote .prd-arrow { transform: translateX(3px); }
}
.prd-card:focus-within { border-color: var(--rule-strong); }
.prd-card:focus-within .prd-card-img { transform: scale(1.03); }
.prd-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* États vides */
.prd-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 56px 32px; border: 1px solid var(--rule); color: var(--ink-soft); }
.prd-empty[hidden] { display: none; }
.prd-empty-title { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--ink); }
.prd-empty .btn { margin-top: 10px; }

/* ─── 4. Autres gammes ─── */
.prd-others { padding: 0 0 120px; }
.prd-others h2 { margin-bottom: 48px; }
.prd-others-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prd-tile { height: 100%; }
.prd-tile-body { display: block; padding: 4px 20px 20px; }
.prd-tile-name { display: block; font-family: var(--serif); font-size: 1.125rem; font-weight: 600; line-height: 1.25; }
.prd-tile-hint { display: block; margin-top: 4px; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); }

/* ─── Adaptatif ─── */
@media (max-width: 1100px) {
    .prd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .prd-others-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .prd-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
    .prd-hero-copy, .prd-hero-stage, .prd-facts { grid-column: 1; }
    .prd-hero-copy { grid-row: 1; }
    .prd-hero-stage { grid-row: 2; height: clamp(260px, 38svh, 420px); margin-top: 32px; }
    .prd-facts { grid-row: 3; }
    .prd-h1 { max-width: none; }
    .prd-range { padding-top: 96px; }
}
@media (max-width: 720px) {
    .prd-hero { padding-bottom: 32px; }
    .prd-hero .breadcrumb { display: none; }          /* le menu suffit, et le produit doit finir avant le pli */
    .prd-hero-stage { height: clamp(200px, 26svh, 280px); margin-top: 24px; }
    .prd-actions { flex-direction: column; align-items: stretch; }
    .prd-actions .btn, .prd-actions .prd-link { justify-content: center; }
    .prd-facts { flex-direction: column; gap: 0; margin-top: 24px; }
    .prd-facts > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
    .prd-facts dt { margin: 0; }

    .prd-statement { min-height: 0; padding: 96px 0 64px; }
    .prd-range { padding: 96px 0 64px; }
    .prd-range-head { flex-direction: column; gap: 4px; }
    .prd-others { padding-bottom: 96px; }

    .prd-grid, .prd-grid[data-count="2"], .prd-others-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .prd-grid[data-count="1"] .prd-card { display: flex; flex-direction: column; }
    .prd-grid[data-count="1"] .prd-card-media { aspect-ratio: 4 / 3; min-height: 0; padding: 12px; }
    .prd-grid[data-count="1"] .prd-card-body { padding: 8px 24px 0; }
    .prd-grid[data-count="1"] .prd-card-foot { padding: 8px 24px 20px; }
}

/* Sans mouvement : plus d'entrée, plus de survol animé, la phrase est entièrement à l'encre */
@media (prefers-reduced-motion: reduce) {
    .prd .btn, .prd-link, .prd-arrow, .prd-filter, .prd-card, .prd-tile, .prd-card-img, .prd-tile-media img { transition: none !important; }
    .prd-card:hover, .prd-tile:hover, .prd .btn:hover { transform: none !important; }
    .prd-card:hover .prd-card-img, .prd-tile:hover .prd-tile-media img { transform: none !important; }
    .prd-statement .mo-w { color: var(--st-ink) !important; transition: none !important; }
    .prd-statement strong .mo-w { color: var(--accent-line) !important; }
}

/* ═══════════════════════════════════════
   ACCESSOIRES — page accessoires.php · données : _accessoires.php
   S'appuie sur le système PRODUITS ci-dessus (hero, phrase, grille, carte).
   Seuls les ajouts sont ici : la note sous la phrase, le pictogramme d'une
   carte dont le visuel n'est pas encore déposé, l'appel final.
   ═══════════════════════════════════════ */
.acc-note { max-width: 34em; margin-top: 40px; font-size: 1.0625rem; line-height: 1.6; color: color-mix(in srgb, var(--st-ink) 72%, var(--st-bg)); }
.acc-note a {
    color: var(--st-ink);
    text-decoration: none;
    background:
        linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
        linear-gradient(color-mix(in srgb, var(--st-ink) 40%, var(--st-bg)), color-mix(in srgb, var(--st-ink) 40%, var(--st-bg))) 0 100% / 100% 1px no-repeat;
    transition: background-size .15s var(--m-ease);
}
.acc-note a:focus-visible { background-size: 100% 1px, 100% 1px; outline: 2px solid var(--accent-line); outline-offset: 3px; }

/* carte sans visuel : un fond de papier et un pictogramme au trait, sans texte */
.acc-ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--paper-2); border-radius: var(--radius-md); color: var(--ink-ghost); }
.acc-ph-ico { width: clamp(72px, 9vw, 96px); height: auto; transition: transform 400ms var(--m-ease); }

/* appel final : un titre, une phrase, un bouton, sur les mêmes lignes que le reste de la page */
.acc-cta { padding: 24px 0 120px; }
.acc-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 32px clamp(32px, 6vw, 96px);
    align-items: end;
    padding-top: 80px;
    border-top: 1px solid var(--rule);
}
.acc-cta h2 { max-width: 14em; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); letter-spacing: -0.02em; }
.acc-cta-body p { max-width: 30em; margin-bottom: 28px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); }

@media (hover: hover) and (pointer: fine) {
    .acc-note a:hover { background-size: 100% 1px, 100% 1px; }
    .acc-card:hover .acc-ph-ico { transform: scale(1.03); transition-duration: 600ms; }
}
.acc-card:focus-within .acc-ph-ico { transform: scale(1.03); }

@media (max-width: 1023px) {
    .acc-cta-grid { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 64px; }
}
@media (max-width: 720px) {
    .acc-note { margin-top: 32px; }
    .acc-cta { padding-bottom: 96px; }
    .acc-cta-grid { padding-top: 48px; }
    .acc-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .acc-ph-ico, .acc-note a { transition: none !important; }
    .acc-card:hover .acc-ph-ico, .acc-card:focus-within .acc-ph-ico { transform: none !important; }
}

/* ═══════════════════════════════════════
   AVIS
   ═══════════════════════════════════════ */
.avis-summary {
    position: relative;
    z-index: 1;
    max-width: var(--measure);
    margin-inline: auto;
    padding: 0 var(--gutter) 48px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.avis-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: var(--measure);
    margin-inline: auto;
    padding: 0 var(--gutter) 88px;
}

.avis-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease), border-color .18s var(--ease);
}
.avis-card.visible { opacity: 1; transform: translateY(0); }
.avis-card:hover { border-color: var(--rule-strong); }

.avis-stars { display: flex; gap: 3px; }
.star { font-size: 0.875rem; color: var(--warn); line-height: 1; }
.star.empty { color: var(--rule); }

.avis-text {
    position: relative;
    flex: 1;
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.6;
    padding-left: 20px;
}
.avis-text::before {
    content: '«';
    position: absolute;
    left: 0; top: -6px;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--rule-strong);
    font-style: normal;
}

.avis-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--rule-soft);
}

.avis-avatar {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    flex-shrink: 0;
}

.avis-author strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}
.avis-author span { font-size: 0.75rem; color: var(--ink-faint); }
.avis-date { font-size: 0.6875rem; color: var(--ink-ghost); margin-left: auto; white-space: nowrap; }

.avis-empty {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 72px var(--gutter);
    color: var(--ink-faint);
    font-size: 0.9375rem;
    max-width: var(--measure);
    margin-inline: auto;
}
.avis-empty .empty-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }

/* ═══════════════════════════════════════
   FORMULAIRES
   ═══════════════════════════════════════ */
.form-section {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto 88px;
    padding: 0 var(--gutter);
}

.form-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    padding: 44px;
}

.form-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.form-subtitle {
    font-size: 0.875rem;
    color: var(--ink-faint);
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-grid { display: grid; gap: 16px; }
.fields-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: 1 / -1; }
.form-divider {
    height: 1px;
    background: var(--rule);
    margin: 28px 0;
    border: none;
}

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.form-group label,
.field label,
.fields-duo label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.form-group input,
.form-group textarea,
.form-group select,
.field input,
.field textarea,
.input,
textarea,
select {
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color .15s var(--ease), background .15s var(--ease);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.input::placeholder { color: var(--ink-ghost); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.field input:focus,
.field textarea:focus,
.input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    background: var(--white);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.req { color: var(--danger); }

.field-error {
    font-size: 0.8125rem;
    color: var(--danger);
    padding: 9px 12px;
    background: var(--danger-tint);
    border: 1px solid var(--danger-line);
    border-radius: var(--radius-md);
}

.form-privacy,
.hero-legal {
    font-size: 0.75rem;
    color: var(--ink-faint);
    line-height: 1.6;
}
.hero-legal { margin-top: 18px; }

.form-privacy a { color: var(--ink-soft); }

/* Notation par étoiles */
.star-input {
    display: flex;
    gap: 4px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-input input { display: none; }
.star-input label {
    font-size: 1.75rem;
    color: var(--rule);
    cursor: pointer;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
    transition: color .12s var(--ease);
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--warn); }

.moderation-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--warn-tint);
    border: 1px solid var(--warn-line);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.8125rem;
    color: var(--warn);
    line-height: 1.5;
}
.moderation-notice span:first-child { flex-shrink: 0; margin-top: 1px; }

.submit-row { margin-top: 24px; }

.form-success {
    display: none;
    text-align: center;
    padding: 40px 24px;
}
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.form-success h3 {
    font-size: 1.375rem;
    color: var(--ok);
    margin-bottom: 8px;
}
.form-success p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; }

/* ═══════════════════════════════════════
   PAGES SERVICE (cb, maintenance…)
   ═══════════════════════════════════════ */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 312px;
    gap: 64px;
    align-items: start;
    max-width: var(--measure);
    margin-inline: auto;
    padding: 0 var(--gutter) 88px;
}

.service-main { min-width: 0; }

.service-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 44px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.service-main > h2.service-section-title:first-child { margin-top: 0; }

.service-text {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.72;
    margin-bottom: 24px;
    max-width: 38em;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-bottom: 40px;
}

.service-feature-card {
    padding: 24px 20px;
    background: var(--paper);
    transition: background .18s var(--ease);
}
.service-feature-card:hover { background: var(--white); }

.service-feature-icon { font-size: 1.5rem; margin-bottom: 14px; display: block; }

.service-feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.service-feature-card p {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    line-height: 1.55;
    margin: 0;
}

.service-steps {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    counter-reset: step;
}

.service-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--rule);
}
.service-step:last-child { border-bottom: 1px solid var(--rule); }

.service-step-num {
    font-family: var(--serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    width: 26px;
    padding-top: 2px;
}

.service-step strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.service-step p {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
    max-width: 40em;
}

/* Colonne latérale */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.sidebar-card {
    padding: 26px 24px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
}
.sidebar-card-light { background: var(--paper-2); }

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule-soft);
}
.sidebar-card p {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 18px;
}

.sidebar-list { display: flex; flex-direction: column; }
.sidebar-list li { border-top: 1px solid var(--rule-soft); }
.sidebar-list li:first-child { border-top: none; }
.sidebar-list li a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color .15s var(--ease), padding-left .15s var(--ease);
}
.sidebar-list li a::before {
    content: '→';
    color: var(--ink-ghost);
    font-size: 0.8125rem;
}
.sidebar-list li a:hover { color: var(--accent); padding-left: 4px; }

/* ═══════════════════════════════════════
   FOOTER — « footer-visit »
   ═══════════════════════════════════════ */
.sf { position: relative; z-index: 1; background: #101B2E; color: rgba(255,255,255,.72); padding-block: clamp(64px, 8vh, 96px) 28px; }
.sf-wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.sf a:focus-visible { outline: 2px solid #E4C383; outline-offset: 3px; border-radius: 4px; }
.sf-visit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; padding-bottom: clamp(40px, 6vh, 64px); border-bottom: 1px solid rgba(255,255,255,.16); }
.sf-label { font: 500 .8125rem/1 var(--sans); color: #E4C383; }
.sf-visit h2 { margin-top: 16px; font: 400 clamp(2rem, 4.2vw, 3.6rem)/1.04 var(--serif); letter-spacing: -.028em; color: #fff; }
.sf-visit address { font: inherit; font-style: normal; }
.sf-sub { margin-top: 16px; max-width: 48ch; line-height: 1.6; color: rgba(255,255,255,.7); }
.sf-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.sf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; border: 1px solid transparent; border-radius: 999px; font: 500 .9375rem/1.2 var(--sans); text-decoration: none; font-variant-numeric: tabular-nums; transition: background .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease); }
.sf-btn:hover { transform: translateY(-2px); }
.sf-btn:active { transform: scale(.98); }
.sf-btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.sf-btn--light:hover { background: #fff; border-color: #fff; }
.sf-btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.sf-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.sf-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(36px, 5vh, 56px); }
.sf-name { display: inline-block; font: 400 1.7rem/1 var(--serif); letter-spacing: .01em; color: #fff; text-decoration: none; }
.sf-brand p { margin-top: 14px; max-width: 28ch; font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.sf-col h3 { margin-bottom: 14px; font: 500 .8125rem/1 var(--sans); color: rgba(255,255,255,.5); }
.sf-col a, .sf-legal a, .sf-social a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .15s var(--ease), background-size .3s var(--ease); }
.sf-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: .9375rem; color: rgba(255,255,255,.72); text-decoration: none; }
.sf-col a:hover, .sf-legal a:hover, .sf-social a:hover { color: #fff; background-size: 100% 1px; }
.sf-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: .8125rem; color: rgba(255,255,255,.55); }
.sf-legal, .sf-social { display: flex; flex-wrap: wrap; gap: 0 22px; margin-left: auto; }
.sf-legal a, .sf-social a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.sf-social { margin-left: 0; }
.sf-social a { justify-content: center; min-width: 44px; }
.sf-ico { display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
@media (max-width: 1100px) { .sf-visit { grid-template-columns: 1fr; } .sf-actions { justify-content: flex-start; } .sf-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
    .sf-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .sf-brand { grid-column: 1 / -1; }
    .sf-actions .sf-btn { width: 100%; }
    .sf-bottom { flex-direction: column; align-items: flex-start; } .sf-legal { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .sf-btn, .sf-col a, .sf-legal a, .sf-social a { transition: none; } .sf-btn:hover { transform: none; } }

/* ═══════════════════════════════════════
   ANCIEN PIED DE PAGE (backoffice.php uniquement)
   ═══════════════════════════════════════ */
.site-footer:not(.sf) {
    position: relative;
    z-index: 1;
    background: var(--ink);
    color: rgba(250, 249, 246, 0.72);
    padding: 72px var(--gutter) 32px;
}

.footer-top {
    max-width: var(--measure);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 249, 246, 0.14);
}

.footer-brand-name {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--paper);
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: 0.875rem;
    color: rgba(250, 249, 246, 0.5);
    line-height: 1.7;
    max-width: 30ch;
}

.footer-col h2 {
    color: rgba(250, 249, 246, 0.42);
    margin-bottom: 18px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col li a {
    font-size: 0.875rem;
    color: rgba(250, 249, 246, 0.6);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .15s var(--ease), border-color .15s var(--ease);
}
.footer-col li a:hover { color: var(--paper); border-bottom-color: rgba(250, 249, 246, 0.4); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
}
.footer-contact-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    opacity: 0.6;
    padding-top: 1px;
}
.footer-contact-item a,
.footer-contact-item span {
    font-size: 0.875rem;
    color: rgba(250, 249, 246, 0.6);
    text-decoration: none;
    line-height: 1.5;
    border-bottom: 1px solid transparent;
}
.footer-contact-item a:hover { color: var(--paper); border-bottom-color: rgba(250, 249, 246, 0.4); }

.footer-bottom {
    max-width: var(--measure);
    margin-inline: auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(250, 249, 246, 0.38);
}

.social-row { display: flex; gap: 10px; }

.social-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(250, 249, 246, 0.2);
    border-radius: 50%;
    color: rgba(250, 249, 246, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .16s var(--ease), border-color .16s var(--ease);
}
.social-btn:hover { color: var(--paper); border-color: var(--paper); }
.social-btn.is-disabled {
    color: rgba(250, 249, 246, 0.22);
    border-color: rgba(250, 249, 246, 0.1);
    cursor: default;
}
.social-btn.is-disabled:hover { color: rgba(250, 249, 246, 0.22); border-color: rgba(250, 249, 246, 0.1); }

/* Liens de pied de page */
.footer-bottom a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(250, 249, 246, 0.25);
    transition: color .15s var(--ease), border-color .15s var(--ease);
}
.footer-bottom a:hover { color: var(--paper); border-bottom-color: var(--paper); }
.footer-legal-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }


.footer-col h2 { font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { flex-direction: column; text-align: center; gap: 12px; } }

/* ═══════════════════════════════════════
   404 / ERREUR
   ═══════════════════════════════════════ */
.error-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 48px) var(--gutter) 72px;
}
.error-inner { max-width: 520px; }
.error-code {
    font-family: var(--serif);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: var(--rule-strong);
    margin-bottom: 20px;
}
.error-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 14px;
}
.error-desc {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 36px;
}
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   CONSTRUCTEUR DE PAGES (blocs publics)
   ═══════════════════════════════════════ */
.builder-wrap { padding-bottom: 88px; }
.builder-block { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }

.builder-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    padding-block: 48px 72px;
    border-bottom: 1px solid var(--rule);
}
.builder-hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); margin-bottom: 16px; }
.builder-hero-sub { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
.builder-hero-img img { width: 100%; height: auto; }

.builder-texte { padding-block: 64px; max-width: 44em; }
.builder-texte h2 { margin-bottom: 20px; }
.builder-texte p { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.72; margin-bottom: 18px; }

.builder-image { padding-block: 32px 64px; }
.builder-image figcaption {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    padding-top: 12px;
    text-align: center;
}

.builder-image-texte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding-block: 64px;
}
.builder-image-texte.builder-inverse .builder-it-img { order: 2; }
.builder-it-text h2 { margin-bottom: 20px; }
.builder-it-text p { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.72; margin-bottom: 18px; }

.builder-liste { padding-block: 64px; max-width: 46em; }
.builder-liste h2 { margin-bottom: 28px; }
.builder-list { display: flex; flex-direction: column; }
.builder-list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--rule);
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.builder-list li::before {
    content: '';
    width: 14px; height: 1px;
    background: var(--accent);
    flex-shrink: 0;
    transform: translateY(-5px);
}

.builder-citation {
    max-width: 34em;
    margin-inline: auto;
    padding: 48px 0 64px;
    text-align: center;
}
.builder-citation p {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 18px;
}
.builder-citation cite {
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.builder-cta {
    text-align: center;
    padding: 64px 32px;
    margin-block: 32px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
}
.builder-cta h2 { margin-bottom: 12px; }
.builder-cta p { color: var(--ink-soft); margin-bottom: 26px; }

.builder-btn {
    display: inline-block;
    padding: 13px 26px;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background .16s var(--ease);
}
.builder-btn:hover { background: var(--accent); }

.builder-separateur { max-width: var(--measure); margin: 48px auto; border: none; border-top: 1px solid var(--rule); }

/* ═══════════════════════════════════════
   MODALES & ACCÈS ADMIN
   ═══════════════════════════════════════ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    background: rgba(20, 23, 28, 0.55);
}
.modal-overlay.open { display: flex; }

.modal {
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-xl);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}
.modal-header h2 { font-size: 1.5rem; }

.modal-close {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 50%;
    color: var(--ink-faint);
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
    transition: color .15s var(--ease), border-color .15s var(--ease);
}
.modal-close:hover { color: var(--danger); border-color: var(--danger-line); }

.modal-title { font-size: 1.5rem; margin-bottom: 8px; }
.modal-desc, .modal-info { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.65; }
.modal-box { padding: 20px; background: var(--white); border: 1px solid var(--rule); margin-bottom: 16px; }

.admin-trigger {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 var(--gutter) 40px;
}
.admin-trigger button {
    background: none;
    border: none;
    color: var(--ink-ghost);
    font-size: 0.6875rem;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color .15s var(--ease);
}
.admin-trigger button:hover { color: var(--ink-soft); }

.admin-login { display: flex; flex-direction: column; gap: 14px; }
.admin-login input {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    font-size: 0.9375rem;
    color: var(--ink);
    outline: none;
}
.admin-login input:focus { border-color: var(--accent); }

.login-error {
    display: none;
    font-size: 0.8125rem;
    color: var(--danger);
    padding: 9px 12px;
    background: var(--danger-tint);
    border: 1px solid var(--danger-line);
    border-radius: var(--radius-md);
}

.admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.admin-tab {
    padding: 9px 16px;
    margin-bottom: -1px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--ink-faint);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: color .15s var(--ease), border-color .15s var(--ease);
}
.admin-tab.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    background: var(--danger);
    border-radius: 9px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--white);
    margin-left: 6px;
}

.admin-section-title { margin-bottom: 16px; }

.pending-card {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}
.pending-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.pending-meta strong { display: block; font-size: 0.875rem; font-weight: 600; }
.pending-meta span { font-size: 0.75rem; color: var(--ink-faint); }
.pending-stars { display: flex; gap: 2px; }
.pending-stars .star { font-size: 0.75rem; }
.pending-text {
    font-size: 0.8125rem;
    color: var(--ink-soft);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 14px;
}
.pending-actions { display: flex; gap: 8px; }

.btn-approve, .btn-reject {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid;
    border-radius: var(--radius-md);
    transition: background .15s var(--ease), color .15s var(--ease);
}
.btn-approve { background: transparent; border-color: var(--ok-line); color: var(--ok); }
.btn-approve:hover { background: var(--ok); border-color: var(--ok); color: var(--white); }
.btn-reject { background: transparent; border-color: var(--danger-line); color: var(--danger); }
.btn-reject:hover { background: var(--danger); border-color: var(--danger); color: var(--white); }

.admin-empty { text-align: center; padding: 32px; color: var(--ink-ghost); font-size: 0.875rem; }
#adminLogin p { color: var(--ink-soft) !important; }

.forgot-link {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
}
.forgot-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.forgot-row { text-align: center; margin-top: 16px; }

.password-wrapper { position: relative; }
.toggle-pw, .eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ink-faint);
    cursor: pointer;
    font-size: 0.75rem;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.flash, .alert {
    padding: 12px 16px;
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.flash-success, .alert-success { background: var(--ok-tint); border-color: var(--ok-line); color: var(--ok); }
.flash-error, .alert-error { background: var(--danger-tint); border-color: var(--danger-line); color: var(--danger); }
.flash-info, .alert-info { background: var(--accent-tint); border-color: var(--accent-line); color: var(--accent); }
.flash-banner { max-width: 680px; margin: 0 auto 24px; padding-inline: var(--gutter); }
.alert-close {
    float: right;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 1rem;
    line-height: 1;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .avis-card { opacity: 1; transform: none; }
}

@media (hover: none) {
    .prod-card:hover, .sol-card:hover, .avis-card:hover, .mini-card:hover { transform: none; }
}

/* ═══════════════════════════════════════
   ACCESSIBILITÉ
   ═══════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ═══════════════════════════════════════
   HERO — ACCUEIL
   ═══════════════════════════════════════ */
.hero .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: center;
    padding-block: 48px 0;
}

.hero-left { transition: opacity .4s var(--ease); }
#heroLeft.fading { opacity: 0; }

.hero-right { display: flex; flex-direction: column; gap: 28px; }

.hero-bg-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity .9s var(--ease);
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide::after { display: none; }

.slider-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 1px;
    z-index: 10;
}
.slider-dot {
    width: 34px;
    height: 3px;
    background: rgba(20, 23, 28, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s var(--ease);
}
.slider-dot:hover { background: rgba(20, 23, 28, 0.5); }
.slider-dot.active { background: var(--ink); }

.hero-price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 26px 0 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
    max-height: 120px;
    opacity: 1;
    overflow: hidden;
    transition: max-height .35s var(--ease), opacity .35s var(--ease), margin .35s var(--ease), padding .35s var(--ease);
}
.hero-price-block.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding-bottom: 0;
}

.hero-price-from {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-price-amount {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4.4vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}

.hero-price-unit {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.hero-price-note {
    font-size: 0.75rem;
    color: var(--ink-ghost);
    font-style: italic;
    margin: 10px 0 0;
    max-height: 40px;
    overflow: hidden;
    transition: max-height .35s var(--ease), opacity .35s var(--ease), margin .35s var(--ease);
}
.hero-price-note.hidden { max-height: 0; opacity: 0; margin: 0; }

.hero-included {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 22px 0 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.hero-badge::before {
    content: '✓';
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    padding: 2px 0;
}
.hero-badge.b-blue::before  { color: var(--accent); }
.hero-badge.b-green::before { color: var(--ok); }
.hero-badge.b-amber::before { color: var(--warn); }

.hero-mobile-img { display: none; }

/* Bande de confiance */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}

.trust-item {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 0.8125rem;
    color: var(--ink-faint);
    white-space: nowrap;
}
.trust-sep { width: 1px; height: 20px; background: var(--rule); align-self: stretch; }
.trust-num {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   PAGE CONTACT
   ═══════════════════════════════════════ */
.contact-page { padding-bottom: 88px; }

.contact-hero {
    max-width: var(--measure);
    margin-inline: auto;
    padding: calc(var(--nav-h) + 56px) var(--gutter) 56px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
    align-items: end;
    border-bottom: 1px solid var(--rule);
}

.contact-hero h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-top: 20px;
}
.contact-hero h1 em { font-style: italic; color: var(--accent); }

.contact-hero-sub {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-top: 18px;
    max-width: 34em;
}

.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--ok-tint);
    border: 1px solid var(--ok-line);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ok);
}
.availability-pill .dot {
    width: 6px; height: 6px;
    background: var(--ok);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.availability-pill .dot::after { display: none; }
.availability-pill.closed {
    background: var(--danger-tint);
    border-color: var(--danger-line);
    color: var(--danger);
}
.availability-pill.closed .dot { background: var(--danger); }

.contact-hero-left { display: flex; flex-direction: column; align-items: flex-start; }

.contact-main {
    max-width: var(--measure);
    margin-inline: auto;
    padding: 64px var(--gutter) 0;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 64px;
    align-items: start;
}

.form-panel {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-panel .form-title { margin-bottom: 4px; }
.form-panel .form-subtitle { margin-bottom: 32px; }

/* Sélecteur de motif de contact */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-bottom: 28px;
}

.subject-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    background: var(--paper);
    cursor: pointer;
    transition: background .15s var(--ease);
}
.subject-card:hover { background: var(--paper-2); }
.subject-card.active { background: var(--ink); }
.subject-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.subject-icon { font-size: 1.125rem; line-height: 1; flex-shrink: 0; }

.subject-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .15s var(--ease);
}
.subject-card.active .subject-name { color: var(--paper); }

.subject-check {
    width: 16px; height: 16px;
    margin-left: auto;
    border: 1px solid var(--rule-strong);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s var(--ease), background .15s var(--ease);
}
.subject-check::after {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--paper);
    transform: scale(0);
    transition: transform .15s var(--ease);
}
.subject-card.active .subject-check { background: var(--accent); border-color: var(--accent); }
.subject-card.active .subject-check::after { transform: scale(1); }

/* Colonne latérale contact */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    padding: 26px 24px;
}

.contact-card-title {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--rule-soft);
}

.contact-items { display: flex; flex-direction: column; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 0;
    border-top: 1px solid var(--rule-soft);
}
.contact-item:first-of-type { border-top: none; padding-top: 0; }

.ci-icon {
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 50%;
    font-size: 0.8125rem;
    flex-shrink: 0;
}
.ci-icon.blue   { color: var(--accent); }
.ci-icon.green  { color: var(--ok); }
.ci-icon.orange { color: var(--warn); }
.ci-icon.purple { color: var(--ink-soft); }

.ci-body { min-width: 0; }
.ci-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 2px;
}
.ci-value {
    font-size: 0.9375rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.45;
    border-bottom: 1px solid transparent;
    transition: border-color .15s var(--ease);
}
.ci-value:hover { border-bottom-color: var(--ink); }

/* Horaires */
.hours-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    padding: 26px 24px;
}
.hours-card-title {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 16px;
}
.hours-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid var(--rule-soft);
    font-size: 0.875rem;
}
.hours-row:last-child { border-bottom: 1px solid var(--rule-soft); }
.hours-day { color: var(--ink-soft); }
.hours-time { color: var(--ink); font-weight: 500; }
.hours-row.today .hours-day,
.hours-row.today .hours-time { color: var(--accent); font-weight: 600; }
.hours-row.today .hours-day::before {
    content: '·';
    margin-right: 6px;
    color: var(--accent);
}

.hours-badge-open,
.hours-badge-closed {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
}
.hours-badge-open { background: var(--ok-tint); color: var(--ok); border: 1px solid var(--ok-line); }
.hours-badge-closed { background: var(--paper-2); color: var(--ink-faint); border: 1px solid var(--rule); }

/* Carte */
.map-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.map-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 0.875rem;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--rule-soft);
}
.map-label .pin { color: var(--accent); font-size: 1rem; line-height: 1; }
.map-card iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    filter: grayscale(1) contrast(1.05);
}
.map-directions-btn {
    display: block;
    padding: 14px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-top: 1px solid var(--rule-soft);
    transition: background .15s var(--ease), color .15s var(--ease);
}
.map-directions-btn:hover { background: var(--ink); color: var(--paper); }

/* Bouton d'envoi */
.btn-send {
    position: relative;
    width: 100%;
    padding: 15px 24px;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: var(--radius-md);
    color: var(--paper);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: background .16s var(--ease), border-color .16s var(--ease);
}
.btn-send:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-send:disabled { opacity: .55; cursor: not-allowed; }
.btn-send .btn-inner { display: inline-flex; align-items: center; gap: 9px; }
.btn-send.loading .btn-arrow { display: none; }
.form-privacy { margin-top: 18px; }

.flash { display: none; }
.flash.success { display: block; background: var(--ok-tint); border-color: var(--ok-line); color: var(--ok); }
.flash.error   { display: block; background: var(--danger-tint); border-color: var(--danger-line); color: var(--danger); }

/* ═══════════════════════════════════════
   MENTIONS LÉGALES
   ═══════════════════════════════════════ */
.legal-page {
    max-width: 820px;
    margin-inline: auto;
    padding: calc(var(--nav-h) + 64px) var(--gutter) 88px;
}

.legal-hero-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--accent-line);
    margin-bottom: 24px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.legal-date {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    padding-bottom: 32px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--rule);
}

.legal-card {
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
}
.legal-card:last-child { border-bottom: none; }
.legal-card h2 { font-size: 1.375rem; margin-bottom: 16px; }

.legal-row {
    display: flex;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--rule-soft);
    font-size: 0.9375rem;
    line-height: 1.65;
}
.legal-row:first-of-type { border-top: none; }
.legal-row dt {
    flex: 0 0 190px;
    font-weight: 600;
    color: var(--ink);
}
.legal-row dd { color: var(--ink-soft); }

/* Contenu courant des pages légales */
.legal-card p {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.72;
    margin-bottom: 14px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-line); }
.legal-card a:hover { border-bottom-color: var(--accent); }

.legal-sub {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 28px 0 12px;
}
.legal-sub:first-of-type { margin-top: 0; }

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.legal-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.65;
}
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 10px; height: 1px;
    background: var(--ink-ghost);
}
.legal-list li strong { color: var(--ink); font-weight: 600; }

/* Sommaire */
.legal-toc {
    margin: 36px 0 8px;
    padding: 24px 28px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
}
.legal-toc-title {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 14px;
}
.legal-toc ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4px 32px;
    list-style: none;
    counter-reset: toc;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.875rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color .15s var(--ease);
}
.legal-toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 0.75rem;
    color: var(--ink-ghost);
    padding-top: 1px;
}
.legal-toc a:hover { color: var(--accent); }

/* Tableau des durées */
.legal-table-wrap { overflow-x: auto; margin-bottom: 16px; }

.legal-table {
    width: 100%;
    border: 1px solid var(--rule);
    font-size: 0.875rem;
}
.legal-table th,
.legal-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rule-soft);
    line-height: 1.55;
}
.legal-table thead th {
    background: var(--paper-2);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    border-bottom: 1px solid var(--rule);
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table td { color: var(--ink-soft); }
.legal-table td:first-child { color: var(--ink); font-weight: 500; }

/* Encadré d'avertissement */
.legal-note {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--warn-tint);
    border: 1px solid var(--warn-line);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--warn);
    margin-bottom: 16px;
}
.legal-note strong { font-weight: 600; }
.legal-note-mark { flex-shrink: 0; font-weight: 700; }

.legal-footnote {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    line-height: 1.65;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
}

/* ═══════════════════════════════════════
   PAGE DE REMERCIEMENT
   ═══════════════════════════════════════ */
.merci-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 48px) var(--gutter) 72px;
}

.merci-card {
    max-width: 540px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
    padding: 56px 44px;
}

.merci-icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    background: var(--ok-tint);
    border: 1px solid var(--ok-line);
    border-radius: 50%;
    color: var(--ok);
    font-size: 1.5rem;
}
.merci-card h1 { font-size: 1.875rem; margin-bottom: 14px; }
.merci-card p { font-size: 1rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }

.merci-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--rule-soft);
}

/* ═══════════════════════════════════════
   BANDEAU BACK-OFFICE (backoffice.php)
   ═══════════════════════════════════════ */
.bo-hero-band {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 52px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-xl);
}
.bo-hero-band h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--paper);
    margin-bottom: 16px;
}
.bo-hero-band .section-sub {
    color: rgba(250, 249, 246, 0.68);
    max-width: none;
}
.bo-hero-band .section-label::before { background: var(--paper); }
.bo-hero-band .section-label span { color: var(--paper); }
.bo-hero-band .feature-item { color: rgba(250, 249, 246, 0.88); }
.bo-hero-band .feature-item::before { background: rgba(250, 249, 246, 0.45); }

.bo-hero-img img { width: 100%; height: auto; }

.bo-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 48px 32px;
    border: 1px solid rgba(250, 249, 246, 0.2);
    text-align: center;
    color: rgba(250, 249, 246, 0.55);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════
   STATISTIQUES — EN-TÊTE CONTACT
   ═══════════════════════════════════════ */
.hero-stat-block {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
.hero-stat { flex: 1 1 0; min-width: 0; }
.hero-stat-num {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 6px;
}
.hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.hero-stat-divider {
    flex: 0 0 1px;
    background: var(--rule);
    margin-inline: 28px;
}

/* ═══════════════════════════════════════
   TARIFS — BACK-OFFICE
   ═══════════════════════════════════════ */
.pricing-section { margin-top: 8px; }

.pricing-grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-xl);
}
.pricing-card.featured { border-color: var(--ink); }

.pricing-badge {
    align-self: flex-start;
    padding: 4px 10px;
    margin-bottom: 20px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 1px solid;
}
.pricing-badge.grey { background: var(--paper-2); border-color: var(--rule); color: var(--ink-faint); }
.pricing-badge.blue { background: var(--accent-tint); border-color: var(--accent-line); color: var(--accent); }

.pricing-plan-name {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.pricing-tagline {
    font-size: 0.875rem;
    color: var(--ink-faint);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pricing-price {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums lining-nums;
}
.pricing-price span {
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-faint);
    letter-spacing: 0;
}

.pricing-divider {
    height: 1px;
    border: none;
    background: var(--rule);
    margin: 26px 0;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex: 1;
}
.pricing-features li {
    position: relative;
    padding-left: 22px;
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ok);
    line-height: 1.6;
}
.pricing-features li.cross { color: var(--ink-ghost); }
.pricing-features li.cross::before {
    content: '✕';
    color: var(--danger);
}

.pricing-cta {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--ink);
    border-radius: var(--radius-md);
    background: var(--ink);
    color: var(--paper);
    transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.pricing-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pricing-cta.ghost,
.pricing-cta.blue {
    background: transparent;
    border-color: var(--rule-strong);
    color: var(--ink);
}
.pricing-cta.ghost:hover,
.pricing-cta.blue:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.caisse-thumb {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border: 1px solid var(--rule);
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.caisse-thumb img { width: 100%; height: 100%; object-fit: cover; }

.admin-page-content { max-width: 860px; }
.admin-page-content > p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.admin-page-content h2 { margin: 32px 0 14px; }
.admin-page-content h3 { margin: 26px 0 12px; }
.admin-page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.admin-page-content li { color: var(--ink-soft); line-height: 1.7; margin-bottom: 6px; }
.admin-page-content a { color: var(--accent); }

.builder-hero-text { min-width: 0; }

@media (max-width: 1024px) {
    .bo-hero-band { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
    :root { --gutter: 32px; }
    .service-layout { grid-template-columns: 1fr 280px; gap: 40px; }
}

@media (max-width: 1024px) {
    .feature-band-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 36px; }
    .builder-image-texte { grid-template-columns: 1fr; gap: 32px; }
    .builder-image-texte.builder-inverse .builder-it-img { order: 0; }
}

@media (max-width: 900px) {
    .navbar { grid-template-columns: auto 1fr auto; }
    .nav-links { display: none; }
    .nav-logo { grid-column: 1; grid-row: 1; justify-content: flex-start; }
    .burger { display: flex; }
    body.menu-open { overflow: hidden; }
    .service-layout { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .builder-hero { grid-template-columns: 1fr; gap: 32px; }

    .hero .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
    .hero-right { display: none; }
    .hero-mobile-img {
        display: block;
        position: relative;
        aspect-ratio: 16 / 10;
        background: var(--paper-2);
        border: 1px solid var(--rule);
        overflow: hidden;
        margin-bottom: 24px;
    }
    .hero-mobile-img .hero-bg-slide { transition: none; }

    .contact-hero { grid-template-columns: 1fr; gap: 32px; align-items: start; }
    .contact-main { grid-template-columns: 1fr; gap: 40px; }
    .sidebar { position: static; }

    .legal-row { flex-direction: column; gap: 4px; }
    .legal-row dt { flex: none; }
    .hero-stat-block { flex-wrap: wrap; gap: 20px 0; }
    .hero-stat-divider { display: none; }
}

@media (max-width: 860px) {
    .hero { padding-top: calc(var(--nav-h) + 40px); }
    .stats-strip { padding-bottom: 56px; }
    .contact-strip { padding-bottom: 64px; }
    .section { padding-block: 72px; }
    .feature-band { margin-bottom: 72px; }
}

@media (max-width: 768px) {
    :root { --gutter: 20px; --nav-h: 64px; }
    .navbar { gap: 16px; }
    .dropdown { display: none !important; }
    .section { padding-block: 56px; }
    .section-sub { margin-bottom: 40px; }
    .avis-grid { grid-template-columns: 1fr; }
    .form-row, .fields-duo { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
    .modal { padding: 28px 22px; }
    .feature-band-inner { padding: 32px 24px; }
    .feature-visual { grid-template-columns: 1fr; }
    .service-features-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .page-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 40px; }
    .partners-logos { gap: 32px; }
    .builder-texte, .builder-liste { padding-block: 48px; }
    .builder-image-texte { padding-block: 48px; }
    .builder-cta { padding: 44px 24px; }
    .service-section-title { margin-top: 36px; }

    .form-panel { padding: 28px 22px; }
    .subject-grid { grid-template-columns: 1fr 1fr; }
    .merci-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
    :root { --gutter: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    .stat-pill, .contact-chip { width: 100%; border-left: none; justify-content: center; padding-inline: 0; }
    .stats-strip, .contact-strip { flex-direction: column; }
    .partners-row { gap: 10px; }
    .partner-badge { min-width: 118px; height: 56px; padding: 0 18px; font-size: 1rem; }
    .partners-logos { gap: 24px; }
    .section { padding-block: 44px; }
    .avis-summary { padding-bottom: 32px; }
    .sidebar-card { padding: 20px 18px; }
    .builder-citation p { font-size: 1.25rem; }
}