/* ==========================================================================
   Bio Colloïdal France — feuille de style principale (CSS maison)
   1. Polices   2. Tokens   3. Base   4. Utilitaires   5. Boutons
   6. En-tête   7. Pied de page   8. Sections   9. Composants   10. Pages
   ========================================================================== */

/* 1. Polices (auto-hébergées, variables) ----------------------------------- */
@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/montserrat-nWbEp4j.woff2") format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url("../fonts/open-sans-7FyopfO.woff2") format('woff2');
    font-weight: 300 800;
    font-display: swap;
}

/* 2. Tokens ----------------------------------------------------------------- */
:root {
    /* Charte : bleu du logo #305b98 */
    --blue-950: #0f1d36;
    --blue-900: #16294a;
    --blue-800: #1f3d6b;
    --blue-700: #284c82;
    --blue-600: #305b98;
    --blue-500: #4a76b5;
    --blue-300: #9bb6dc;
    --blue-100: #e3ecf8;
    --blue-50: #f3f7fc;
    --aqua: #7ebec5;
    --silver: #c9d3df;

    --ink: #142033;
    --text: #3b4658;
    --muted: #677285;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --danger: #c2410c;
    --success: #15803d;

    --font-title: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgb(20 32 51 / 6%), 0 1px 3px rgb(20 32 51 / 8%);
    --shadow: 0 4px 12px rgb(20 32 51 / 6%), 0 12px 32px rgb(20 32 51 / 8%);
    --shadow-lg: 0 24px 60px rgb(15 29 54 / 18%);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(3.5rem, 8vw, 6rem);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

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

/* 4. Utilitaires ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    padding: .75rem 1rem; background: var(--blue-900); color: #fff; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-bottom: .75rem;
    font-family: var(--font-title); font-size: .78rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--blue-300); }

.tag {
    display: inline-block; padding: .2rem .65rem;
    font-size: .72rem; font-weight: 600; letter-spacing: .02em;
    color: var(--blue-700); background: var(--blue-100); border-radius: 999px;
}

.chip {
    display: inline-flex; padding: .45rem 1rem;
    font-weight: 600; font-size: .9rem; text-decoration: none;
    color: var(--blue-800); background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
    transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--blue-300); background: var(--blue-50); }

/* 5. Boutons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .75rem 1.5rem;
    font-family: var(--font-title); font-size: .95rem; font-weight: 600; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    border: 2px solid transparent; border-radius: 999px; cursor: pointer;
    transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .875rem; }

.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgb(48 91 152 / 30%); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--outline { border-color: var(--blue-600); color: var(--blue-600); }
.btn--outline:hover { background: var(--blue-600); color: #fff; }
.btn--light { background: #fff; color: var(--blue-800); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-900); }
.btn--ghost-light { border-color: rgb(255 255 255 / 45%); color: #fff; }
.btn--ghost-light:hover { background: rgb(255 255 255 / 12%); border-color: #fff; color: #fff; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--font-title); font-size: .9rem; font-weight: 600;
    color: var(--blue-600); text-decoration: none;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(3px); }

/* 6. En-tête ---------------------------------------------------------------- */
.topbar { background: var(--blue-900); color: var(--blue-100); font-size: .82rem; }
.topbar__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: .25rem 1.5rem; padding-block: .5rem;
}
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; margin: 0; color: inherit; text-decoration: none; }
.topbar__item .icon { width: 1rem; height: 1rem; color: var(--blue-300); }
a.topbar__item:hover { color: #fff; }
.topbar__muted { color: var(--blue-300); }
@media (max-width: 720px) {
    .topbar__inner { justify-content: center; }
    .topbar__muted, .topbar__item:last-child { display: none; }
}

.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid var(--line);
}
/* Fond flouté sur un calque à part : un backdrop-filter sur l’en-tête lui-même deviendrait le repère
   des éléments « position: fixed » qu’il contient, et le menu mobile serait coincé dans l’en-tête. */
.site-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: saturate(1.4) blur(12px);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-title); }
.brand__small { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brand__name { font-size: 1.15rem; font-weight: 700; color: var(--blue-600); }

.site-nav__list { list-style: none; }
.site-nav__list > li > a {
    font-family: var(--font-title); font-weight: 600; font-size: .92rem;
    color: var(--ink); text-decoration: none;
}
.site-nav__list > li > a[aria-current="page"] { color: var(--blue-600); }

.dropdown-toggle {
    display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
    color: var(--muted); background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.dropdown-toggle .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown__title {
    margin: 0 0 .5rem; font-family: var(--font-title); font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.dropdown ul { list-style: none; }
.dropdown li a { display: block; padding: .35rem 0; color: var(--ink); text-decoration: none; font-size: .92rem; }
.dropdown li a:hover { color: var(--blue-600); }
.dropdown__all {
    display: inline-flex; align-items: center; gap: .4rem;
    font-family: var(--font-title); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.dropdown__all .icon { width: 1rem; height: 1rem; }

.nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    color: var(--ink); background: var(--blue-50); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle__close, .is-open .nav-toggle__open { display: none; }
.is-open .nav-toggle__close { display: inline-flex; }

/* Mobile : panneau plein écran sous l'en-tête */
@media (max-width: 1023px) {
    .site-nav {
        /* --nav-top : bas réel de l’en-tête (barre téléphone visible ou non), calculé à l’ouverture. */
        position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0;
        display: flex; flex-direction: column; gap: 1.5rem;
        padding: 1.5rem var(--gutter) 2rem;
        background: var(--bg); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .2s var(--ease), visibility .2s;
    }
    .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    .site-nav__list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .site-nav__list > li > a { padding: 1rem 0; font-size: 1.05rem; }
    .dropdown { display: none; width: 100%; padding: 0 0 1rem 1rem; }
    .has-dropdown.is-open .dropdown { display: grid; gap: 1rem; }
    .site-nav__cta { align-self: stretch; }
}

/* Bureau : menu horizontal + méga-menu au survol */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .site-nav { display: flex; align-items: center; gap: 2rem; }
    .site-nav__list { display: flex; align-items: center; gap: 1.75rem; }
    .site-nav__list > li { position: relative; display: flex; align-items: center; }
    .site-nav__list > li > a { padding-block: .5rem; position: relative; }
    .site-nav__list > li > a::after {
        content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
        background: var(--blue-600); border-radius: 2px; transform: scaleX(0); transition: transform .2s var(--ease);
    }
    .site-nav__list > li > a:hover::after, .site-nav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }
    .has-dropdown .dropdown-toggle { width: 24px; height: 24px; margin-left: .1rem; }

    .dropdown {
        position: absolute; top: calc(100% + 14px); left: 50%;
        display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 1.5rem 2rem;
        width: max-content; padding: 1.75rem;
        background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
        transition: opacity .18s, transform .18s var(--ease), visibility .18s;
    }
    .dropdown::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; } /* pont de survol */
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
        opacity: 1; visibility: visible; transform: translate(-50%, 0);
    }
    .dropdown__all { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }
}

/* 7. Pied de page ----------------------------------------------------------- */
.site-footer { margin-top: var(--section-y); background: var(--blue-950); color: var(--blue-100); font-size: .92rem; }
.site-footer a { color: var(--blue-100); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__brand img { width: 96px; height: auto; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 32ch; color: var(--blue-300); }
.site-footer__title {
    margin-bottom: 1rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.site-footer__links, .site-footer__contact { list-style: none; display: grid; gap: .6rem; }
.site-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact .icon { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--blue-300); }
.site-footer__payment { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 .5rem; font-weight: 600; color: #fff; }
.site-footer__payment .icon { width: 1rem; height: 1rem; }
.site-footer__cards { height: 28px; width: auto; background: #fff; padding: 2px 4px; border-radius: 4px; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 10%); font-size: .82rem; color: var(--blue-300); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.25rem; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__bottom a { color: var(--blue-300); }

/* 8. Sections --------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--soft { background: var(--bg-soft); }
.section--dark {
    background: radial-gradient(1200px 500px at 85% -10%, var(--blue-700), transparent 60%), var(--blue-900);
    color: var(--blue-100);
}
.section--dark .section-title, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-lead { color: var(--blue-100); }
.section + .site-footer, main > .section:last-child { margin-bottom: 0; }

.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
.section-title--sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2.5rem; }
.section-title--sm:first-child { margin-top: 0; }
.section-lead { font-size: 1.08rem; color: var(--muted); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--center { align-items: center; }
}

.rounded-media { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }

/* 9. Composants ------------------------------------------------------------- */

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 480px at 80% 30%, rgb(126 190 197 / 28%), transparent 60%),
        radial-gradient(700px 400px at 10% 110%, rgb(74 118 181 / 45%), transparent 60%),
        linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: var(--blue-100);
}
.hero__inner {
    display: grid; align-items: center; gap: 2rem;
    padding-block: clamp(3rem, 8vw, 6rem);
}
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr .85fr; } }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hero__title span { display: block; color: var(--blue-300); }
.hero__lead { max-width: 52ch; font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .9rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__badges .icon { width: 1rem; height: 1rem; color: var(--aqua); }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__visual img {
    position: relative; width: min(100%, 420px); border-radius: 50%;
    box-shadow: 0 30px 80px rgb(0 0 0 / 30%);
    animation: float 6s ease-in-out infinite;
}
.hero__halo {
    position: absolute; width: min(110%, 480px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgb(255 255 255 / 18%), transparent 65%);
}
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 899px) { .hero__visual img { width: min(70%, 300px); } }

/* Cartes atouts */
.feature-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
    display: flex; flex-direction: column; padding: 1.75rem;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.feature-card p { flex: 1; font-size: .94rem; }
.feature-card__icon, .info-card__icon, .why-grid__icon {
    display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem;
    color: var(--blue-600); background: var(--blue-100); border-radius: 14px;
}
.feature-card__icon .icon, .info-card__icon .icon, .why-grid__icon .icon { width: 26px; height: 26px; }
.feature-card__title { font-size: 1.1rem; }

/* Cartes produits */
.product-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.product-card { height: 100%; }
.product-card__link {
    display: flex; flex-direction: column; height: 100%;
    color: inherit; text-decoration: none;
    background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease);
}
.product-card__link:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; }
.product-card__media {
    display: grid; place-items: center; height: 240px; padding: 1.25rem;
    background: linear-gradient(180deg, var(--blue-50), #fff);
}
.product-card__media img {
    height: 100%; width: auto; max-width: 100%; min-height: 0; object-fit: contain;
    mix-blend-mode: multiply; /* fond blanc des photos fondu dans le dégradé */
    transition: transform .35s var(--ease);
}
.product-card__media { overflow: hidden; }
.product-card__link:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { display: flex; flex-direction: column; gap: .4rem; flex: 1; padding: 1.25rem 1.5rem 1.5rem; }
.product-card__body .tag { align-self: flex-start; }
.product-card__title { margin: .25rem 0 0; font-size: 1.15rem; }
.product-card__body p { flex: 1; color: var(--muted); font-size: .92rem; }

/* Citation / panneau */
.quote {
    margin: 1.25rem 0; padding: 1.25rem 1.5rem;
    font-family: var(--font-title); font-size: 1.15rem; font-weight: 500; line-height: 1.5; color: var(--blue-800);
    background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.panel { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--blue-900); color: var(--blue-100); border-radius: var(--radius-lg); }
.panel__title { font-size: 1.3rem; color: #fff; }

/* Procédé */
.process-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-card {
    position: relative; overflow: hidden; padding: 2rem 1.75rem;
    background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.process-card h3 { font-size: 1.2rem; }
.process-card p { font-size: .94rem; color: var(--muted); }
.process-card__step {
    position: absolute; top: .5rem; right: 1.25rem;
    font-family: var(--font-title); font-size: 4rem; font-weight: 800; line-height: 1; color: var(--blue-50);
}
.process-card__icon {
    position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.25rem;
    color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--aqua)); border-radius: 18px;
    box-shadow: 0 8px 20px rgb(48 91 152 / 25%);
}
.process-card__icon .icon { width: 28px; height: 28px; }

/* Statistiques */
.stats { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--bg-soft); border-radius: var(--radius-lg); }
.stats__intro { margin-bottom: 1.5rem; }
.stats__list { list-style: none; display: grid; gap: 1.5rem; }
.stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem 1.25rem; }
.stat__value { grid-row: span 2; min-width: 4.2ch; font-family: var(--font-title); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--blue-600); }
.stat__value small { font-size: .5em; }
.stat__bar { position: relative; height: 8px; background: var(--blue-100); border-radius: 99px; overflow: hidden; }
.stat__bar::after {
    content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--value) * 1%);
    background: linear-gradient(90deg, var(--blue-600), var(--aqua)); border-radius: inherit;
}
.stat__label { font-size: .92rem; color: var(--text); }

/* Concentration */
.concentration-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .concentration-grid { grid-template-columns: repeat(3, 1fr); } }
.concentration-card {
    position: relative; padding: 1.5rem; text-align: center;
    background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius);
}
.concentration-card img { width: min(100%, 220px); margin: 0 auto 1rem; }
.concentration-card__ppm { margin-bottom: .25rem; font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; color: #fff; }
.concentration-card--ok { border-color: rgb(126 190 197 / 60%); }
.concentration-card--ok::before, .concentration-card--ko::before {
    position: absolute; top: 1rem; right: 1rem; padding: .2rem .6rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 99px;
}
.concentration-card--ok::before { content: 'Optimal'; background: var(--aqua); color: var(--blue-950); }
.concentration-card--ko { opacity: .75; }
@media (min-width: 720px) { .concentration-grid--compact { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .concentration-grid--compact { grid-template-columns: repeat(3, 1fr); } }
.concentration-card--plain { padding: 1.5rem 1rem; }
.concentration-card--ko::before { content: 'Moins efficace'; background: rgb(255 255 255 / 15%); color: #fff; }

/* Pourquoi choisir */
.why-grid { list-style: none; display: grid; gap: 2rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-grid h3 { font-size: 1.05rem; }
.why-grid p { font-size: .94rem; color: var(--muted); }

/* Bandeau d'appel à l'action */
.cta-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 60%, var(--blue-500));
    color: var(--blue-100); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.cta-band__title { font-size: clamp(1.4rem, 3vw, 1.9rem); color: #fff; margin-bottom: .3rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Cartes d'information */
.info-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.info-card { padding: 1.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card h2, .info-card h3 { font-size: 1.15rem; }
.info-card--highlight { background: var(--blue-50); border-color: var(--blue-300); }
.check-list { list-style: none; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .5rem; }
.check-list .icon { color: var(--success); margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Accordéon (FAQ) */
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.15rem 0; cursor: pointer; list-style: none;
    font-family: var(--font-title); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
    content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px;
    font-size: 1.3rem; font-weight: 400; color: var(--blue-600); background: var(--blue-50); border-radius: 50%;
    transition: transform .2s var(--ease);
}
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--blue-600); }
.accordion__body { padding: 0 0 1.25rem; }

/* Contenu éditorial */
.prose { max-width: 72ch; }
.prose--wide { max-width: 860px; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--blue-500); }

/* Masqué à l’écran, lu par les lecteurs d’écran */
.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Bannières (admin › Contenus › Bannières), carrousel si plusieurs ---------- */
.site-banners { position: relative; display: block; width: 100%; background: var(--blue-900); }
.site-banners--strip { background: #fff; border-bottom: 1px solid var(--line); }
.site-banner, .site-banner-link { display: block; width: 100%; }
.site-banner-image { display: block; width: 100%; object-fit: cover; }
.site-banners--hero .site-banner-image { max-height: min(62vh, 640px); }
.site-banners--section .site-banner-image { max-height: min(42vh, 440px); }
.site-banners--strip .site-banner-image { max-height: 120px; }

/* Image + textes superposés */
.site-banner--overlay { position: relative; display: grid; align-items: center; overflow: hidden; background: var(--blue-900); }
.site-banners--hero .site-banner--overlay { min-height: min(62vh, 640px); }
.site-banners--section .site-banner--overlay { min-height: min(42vh, 440px); }
.site-banners--strip .site-banner--overlay { min-height: 120px; }
.site-banner--overlay .site-banner-media { position: absolute; inset: 0; }
.site-banner--overlay .site-banner-image { height: 100%; max-height: none; }
.site-banner--overlay::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgb(15 29 54 / 85%) 0%, rgb(15 29 54 / 60%) 45%, rgb(15 29 54 / 0%) 80%);
}
.site-banner-overlay { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 4.5rem); color: var(--blue-100); }
.site-banner-overlay-inner { display: grid; gap: 1rem; max-width: 560px; }
.site-banner-subtitle {
    margin: 0; color: var(--aqua); font-family: var(--font-title);
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.site-banner-title { margin: 0; color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.site-banner-text { margin: 0; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.site-banner-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.site-banners--strip .site-banner-overlay { padding-block: 1.25rem; }
.site-banners--strip .site-banner-title { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
@media (max-width: 720px) {
    .site-banner--overlay::before { background: rgb(15 29 54 / 72%); }
}

/* Carrousel : les bannières se superposent et s’enchaînent en fondu */
.site-banners--carousel .site-banners-viewport { display: grid; }
.site-banners--carousel .site-banner {
    grid-area: 1 / 1; opacity: 0; visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}
.site-banners--carousel .site-banner.is-active { opacity: 1; visibility: visible; z-index: 1; }
.site-banners--carousel .site-banner:not(.site-banner--overlay) .site-banner-image { height: 100%; }
.site-banners-control {
    position: absolute; top: 50%; z-index: 3;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    color: #fff; font-size: 1.8rem; line-height: 1;
    background: rgb(15 29 54 / 45%); border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%;
    transform: translateY(-50%); cursor: pointer; transition: background .2s;
}
.site-banners-control:hover { background: rgb(15 29 54 / 75%); }
.site-banners-control--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.site-banners-control--next { right: clamp(.5rem, 2vw, 1.5rem); }
.site-banners-dots {
    position: absolute; right: 0; bottom: clamp(.75rem, 2.5vw, 1.5rem); left: 0; z-index: 3;
    display: flex; justify-content: center; gap: .6rem;
}
.site-banners-dot {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
    background: rgb(255 255 255 / 50%); cursor: pointer; transition: transform .2s, background .2s;
}
.site-banners-dot.is-active { background: #fff; transform: scale(1.2); }
.site-banners--strip .site-banners-control { width: 34px; height: 34px; font-size: 1.4rem; }
.site-banners--strip .site-banners-dots { bottom: .4rem; }
@media (prefers-reduced-motion: reduce) { .site-banners--carousel .site-banner { transition: none; } }
@media (max-width: 720px) {
    .site-banners-control { width: 36px; height: 36px; font-size: 1.4rem; }
}

/* 10. Pages ----------------------------------------------------------------- */
.page-hero {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background:
        radial-gradient(700px 300px at 90% 0%, rgb(126 190 197 / 22%), transparent 60%),
        linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: var(--blue-100);
}
.page-hero__title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: #fff; margin-bottom: .4rem; }
.page-hero__lead { max-width: 60ch; font-size: 1.08rem; }
.page-hero__lead a { color: #fff; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; font-size: .85rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: var(--blue-300); }
.breadcrumb a { color: var(--blue-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

.faq { max-width: 860px; }
.faq__nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.faq__theme + .faq__theme { margin-top: 3rem; }
@media (min-width: 800px) { .info-grid--2 { grid-template-columns: repeat(2, 1fr); } }

/* 11. Boutique -------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip[aria-current="page"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.shop-group + .shop-group { margin-top: 3.5rem; }
.shop-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.shop-group__head .section-title { margin: 0; }

.product-card__media { position: relative; }
.product-card__placeholder { opacity: .25; max-width: 120px; }
.product-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 .75rem; color: var(--ink); }
.product-card__price strong { font-family: var(--font-title); font-size: 1.15rem; }
.product-card__price small { color: var(--muted); }
.product-card__price del, .product__price del { color: var(--muted); font-size: .9em; }

.badge {
    position: absolute; top: .75rem; left: .75rem; padding: .25rem .6rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 99px;
}
.badge--promo { background: var(--danger); color: #fff; }
.badge--rupture { background: var(--ink); color: #fff; left: auto; right: .75rem; }

.breadcrumb--light a { color: var(--muted); }
.breadcrumb--light a:hover { color: var(--blue-600); }
.breadcrumb--light [aria-current] { color: var(--ink); }
.breadcrumb--light li + li::before { color: var(--silver); }

.product { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; align-items: start; } }
.product__main-image {
    display: grid; place-items: center; aspect-ratio: 1; padding: 2rem;
    background: linear-gradient(180deg, var(--blue-50), #fff); border-radius: var(--radius-lg);
}
.product__main-image img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product__thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.product__thumbs button {
    width: 72px; height: 72px; padding: .25rem; background: var(--blue-50);
    border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
}
.product__thumbs button:hover, .product__thumbs button:focus-visible { border-color: var(--blue-500); }
.product__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 900px) { .product__gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.product__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .75rem 0 .5rem; }
.product__price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1.25rem; }
.product__price strong { font-family: var(--font-title); font-size: 2rem; color: var(--blue-700); }
.product__price small { color: var(--muted); }
.product__summary { margin-bottom: 1.5rem; }

.field { display: grid; gap: .4rem; margin-bottom: 1.5rem; }
.field__label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.field__input {
    width: 100%; min-height: 48px; padding: .6rem .9rem; font: inherit; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field__input:focus { outline: 3px solid var(--blue-100); border-color: var(--blue-500); }

.product__buy { display: grid; gap: .75rem; padding: 1.5rem; background: var(--bg-soft); border-radius: var(--radius); }
.product__buy .btn { width: 100%; }
.product__buy .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.product__stock { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--success); font-weight: 600; font-size: .92rem; }
.product__stock--out { color: var(--danger); }
.product__reassurance { list-style: none; display: grid; gap: .5rem; margin: 1.5rem 0 1rem; font-size: .92rem; }
.product__reassurance li { display: flex; align-items: center; gap: .5rem; }
.product__reassurance .icon { color: var(--blue-600); }

/* Formulaires de contact et de rappel */
.champ-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkout-form > ul:first-child { padding: .75rem 1rem .75rem 2rem; background: #fee2e2; border-radius: var(--radius-sm); }

.contact-form { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.contact-form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
    .contact-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-form__field--full { grid-column: 1 / -1; }
}
.contact-form__field { display: grid; gap: .45rem; align-content: start; }
.contact-form label { font-family: var(--font-title); font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form label.required::after { content: ' *'; color: var(--blue-600); }
.contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.contact-form textarea, .contact-form select {
    width: 100%; min-height: 50px; padding: .75rem 1rem;
    font: inherit; color: var(--ink);
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa4b2; }
.contact-form input:hover, .contact-form textarea:hover, .contact-form select:hover { border-color: var(--blue-300); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; background: var(--bg); border-color: var(--blue-500);
    box-shadow: 0 0 0 4px var(--blue-100);
}
/* Erreurs : message sous le champ, bordure rouge */
.contact-form__field ul { order: 3; margin: 0; padding: 0; list-style: none; color: var(--danger); font-size: .85rem; font-weight: 600; }
.contact-form__field:has(ul) input, .contact-form__field:has(ul) textarea, .contact-form__field:has(ul) select { border-color: var(--danger); background: #fff7f5; }
.contact-form > ul:first-child {
    margin: 0; padding: .75rem 1rem; list-style: none;
    color: var(--danger); background: #fee2e2; border-radius: var(--radius-sm); font-weight: 600;
}
.contact-form__footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
    padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.contact-form__note { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.contact-form__note a { font-weight: 600; }
.contact-form__footer .btn { min-width: 160px; }
.fenetre .contact-form { margin-top: 0; }
.fenetre .contact-form__footer { padding-top: 0; border-top: 0; }

/* Fenêtre modale (demande de rappel) */
.fenetre {
    width: min(100% - 2rem, 560px); padding: 1.75rem; color: var(--text);
    border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.fenetre::backdrop { background: rgb(15 29 54 / 60%); }
.fenetre__entete { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.fenetre__entete h2 { margin: 0; font-size: 1.3rem; color: var(--ink); }
.fenetre__fermer { flex: none; padding: .25rem; color: var(--muted); background: none; border: 0; cursor: pointer; }
.fenetre__fermer:hover { color: var(--ink); }
.site-footer [data-controller="fenetre"] { margin-top: 1.25rem; }
.site-footer a.btn--light, .site-footer a.btn--light:hover { color: var(--blue-800); }

/* Page « La fibre d'Argent » */
.fibre-intro, .fibre-benefices { background: var(--fibre-fond) center / cover no-repeat; }
.fibre-intro__panel { padding: clamp(1.5rem, 5vw, 3.5rem); background: rgb(255 255 255 / 88%); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.fibre-accroche { margin: 1.25rem 0 0; font-size: 1.2rem; line-height: 1.5; text-align: center; color: var(--blue-600); }
.fibre-composition { display: grid; gap: 1.5rem; justify-items: center; text-align: center; font-size: 1.25rem; }
.fibre-composition img { max-width: 420px; width: 100%; }
#mode-action-fibre-argent .split + .split { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
#mode-action-fibre-argent img { max-width: 100%; height: auto; }
.fibre-benefices { position: relative; isolation: isolate; }
.fibre-benefices::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(15 29 54 / 78%); }
.fibre-benefices .section-title { text-align: center; margin-bottom: 2rem; }
.fibre-benefices .info-card { color: #fff; background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 25%); }
.fibre-qualite { text-align: center; }
.fibre-centre { margin: 2rem 0 0; text-align: center; }
.site-contact-list { list-style: none; display: grid; gap: 1.75rem; align-content: start; margin: 0; padding: 0; }
.site-contact-list h3 { margin: 0 0 .25rem; font-size: .95rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.site-contact-list p { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--ink); }

/* Promotion programmée : pastille à côté du prix (fiche produit) */
.badge--inline { position: static; display: inline-block; vertical-align: middle; margin-left: .5rem; }
