/* ==========================================================================
   Thème Hyp'Haircoiff — chargé après shop.css, il ne fait que surcharger.
   Titres en Playfair Display (empattements), texte en Inter, accent framboise,
   boutons en pilule, fonds rosés. Retirer ce fichier rend le style d'origine.
   Polices libres (licence OFL : fonts/OFL-Inter.txt, fonts/OFL-Playfair-Display.txt).
   ========================================================================== */

@font-face { font-family: 'Inter'; src: url('../../fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../../fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../../fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../../fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../../fonts/playfair-display-latin-700-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
/* Nom dans le logo, comme l'original : « Hyp’ » en italique à empattements (Tinos, dessin
   de Times ; licence OFL : fonts/OFL-Tinos.txt), « Hair Coiff » en italique sans
   empattements (Nunito Sans ; licence OFL : fonts/OFL-Nunito-Sans.txt). */
@font-face { font-family: 'Tinos'; src: url('../../fonts/tinos-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../../fonts/nunito-sans-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../../fonts/playfair-display-latin-700-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
    --bg: #FFFFFF;
    --bg-soft: #FBF1F4;      /* fond des photos, encadrés : rose très pâle */
    --cream: #FFF8F2;
    --ink: #171417;
    --ink-soft: #2B2529;
    --muted: #7C7078;
    --line: #EEE3E8;
    --accent: #B8325F;       /* framboise : « COIFF », promotions, liens */
    --accent-soft: #FBE9EF;
    --sale: #B8325F;
    --espresso: #2A1E1B;     /* en-tête et pied de page */

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

body { font-size: 15px; color: var(--ink-soft); }
:focus-visible { outline-color: var(--accent); }

/* ── Grands titres : Playfair, sans capitales ─────────────────────────── */
.hero__title, .section__title, .page-title, .product__title, .stories__head h2,
.manifesto__text, .filters__title, .drawer__title, .summary__title, .auth__subtitle,
.account__title, .step__title, .recap__toggle, .account__card-title {
    font-family: var(--font-serif);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -.01em;
    color: var(--ink);
}
/* Titres posés sur fond noir : restent clairs */
.manifesto__text, .stories__head h2, .stories .section__title { color: inherit; }
.hero__title { line-height: 1.04; font-size: clamp(42px, 5.6vw, 84px); }
.hero__title em, .page-title em, .section__title em { color: var(--accent); font-style: italic; }
.section__title { font-size: clamp(28px, 3.4vw, 42px); }
.page-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; }
.product__title { line-height: 1.08; }

/* Petits intitulés en capitales gardées (fil d'Ariane, sur-titres, badges) : Inter, plus fin */
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .14em; }
.breadcrumb { font-weight: 500; letter-spacing: .06em; }
.breadcrumb a:hover { color: var(--accent); }

/* Noms et sous-titres : casse normale */
.cart-line__name, .method__name, .relay-card__name, .recap__name, .brand-tile__name,
.reassurance__item strong, .nav__heading, .accordion__title, .accordion__subtitle,
.accordion__list a, .account-menu__hello, .account-menu__panel li a, .mobile-menu__links a,
.option__legend, .filters__group-title, .account__links a, .account__nav a, .address-card--add,
.hero__tag, .stories__card-name, .footer__title {
    text-transform: none;
    letter-spacing: 0;
}
.cart-line__name, .recap__name, .method__name, .relay-card__name { font-weight: 600; }

/* ── Boutons : pilules, casse normale ─────────────────────────────────── */
.btn {
    border-radius: 999px;
    text-transform: none; letter-spacing: 0;
    font-weight: 700; font-size: 15px;
}
.btn--small { border-radius: 999px; }
.btn--outline { border-color: var(--line); background: var(--bg); }
.btn--outline:hover { border-color: var(--ink); }
.link-arrow { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--accent); border-bottom-color: transparent; }
.link-arrow:hover { border-bottom-color: currentColor; }
.text-link:hover, .link:hover { color: var(--accent); }

/* ── Bandeau d'annonce, logo ──────────────────────────────────────────── */
.announcement { background: var(--accent); text-transform: none; letter-spacing: .01em; font-weight: 500; } /* framboise au-dessus de l'en-tête noir */

.logo { gap: 10px; }
/* Monogramme HC (macro mark) : à gauche du nom ; seul quand la place manque */
.logo .logo-mark { width: 40px; height: 40px; color: var(--ink); }
.logo-word {
    font: italic 400 27px/1.1 Tinos, 'Times New Roman', Times, serif;
    text-transform: none; letter-spacing: 0; transform: none; white-space: nowrap;
    font-variant-ligatures: none; /* « ff » de Coiff détachés, comme le logo d'origine */
    color: var(--ink);
}
/* Le rose du logo : C du monogramme et « Hair Coiff » */
.logo { --logo-c: #D6336C; }
.logo-accent { color: var(--logo-c); font-family: 'Nunito Sans', 'Segoe UI', sans-serif; font-size: .93em; }
.header .logo, .footer .logo { --logo-c: #EC5A8C; } /* plus clair sur le brun espresso */
/* Pied de page : monogramme au-dessus du nom, comme le logo d'origine */
.footer .logo { flex-direction: column; align-items: flex-start; gap: 8px; }
.footer .logo .logo-mark { width: 56px; height: 56px; }
.logo--light .logo-word, .logo--light .logo-mark { color: var(--bg); }

/* ── Menu : liens en casse normale, rayon courant en pastille rose ───── */
.nav__link { font: 500 15px/1 var(--font); letter-spacing: 0; color: var(--ink-soft); }
.nav__link::after { display: none; }
.nav__link > span, .nav__link { border-radius: 999px; }
.nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { color: var(--accent); }
.nav__link.is-current { color: var(--accent); }
.nav__link.is-current::before {
    content: ''; position: absolute; inset: calc(50% - 17px) 2px; border-radius: 999px;
    background: var(--accent-soft); z-index: -1;
}
.nav__link { isolation: isolate; }
.nav__panel { border-radius: 0 0 var(--radius) var(--radius); }
.nav__heading { font: 700 16px/1.2 var(--font); color: var(--ink); }
.nav__heading:hover, .nav__heading.is-current { color: var(--accent); text-decoration: none; }
.nav__sub a:hover, .nav__sub a.is-current { color: var(--accent); }
.nav__sub--compact a { font-size: 14px; color: var(--ink-soft); }
.nav__sub--compact a:hover, .nav__sub--compact a.is-current { color: var(--accent); text-decoration: none; }

/* Menu « Marques » : initiales en framboise, comme l'ancien site */
.brand-index__letter { font: 700 14px/1.2 var(--font); color: var(--accent); letter-spacing: .02em; }
.brand-index__group.is-target .brand-index__letter { border-bottom-color: var(--accent); }
.brand-index__list a { font-size: 14px; }
.brand-index__list a:hover, .brand-index__list a.is-current { color: var(--accent); text-decoration: none; }
.brand-letters a { font: 600 13px/1 var(--font); min-width: 30px; height: 30px; border-radius: 6px; }
.brand-letters a:hover, .brand-letters a:focus-visible, .brand-letters a.is-active { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

/* ── Accueil ──────────────────────────────────────────────────────────── */
.hero { border-bottom: 0; }
.hero__grid { background: linear-gradient(120deg, var(--accent-soft), #FDF4F7 60%, var(--cream)); border-radius: var(--radius-lg); padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); margin-top: 24px; }
.hero__media { border-radius: var(--radius); }
.hero__tag { border-radius: 999px; font-weight: 600; }
.stories { background: var(--ink); }
.story__title { font-family: var(--font-serif); text-transform: none; letter-spacing: -.01em; }

/* ── Cartes produit, prix, badges ─────────────────────────────────────── */
.card__brand, .product__brand { color: var(--accent); font-weight: 600; letter-spacing: .06em; }
.card__name, .card__title { color: var(--ink); font-weight: 500; }
.price--sale, .price__sale, .badge--sale { color: var(--accent); }

/* Pastilles de sous-rayons et filtres actifs : casse normale, accent au survol */
.chip, .active-filter, .active-filters__clear, .filter-check, .checkout-header__secure {
    text-transform: none; letter-spacing: 0; font-weight: 600;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active, .chip.is-active:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.badge { letter-spacing: .04em; }

/* ── Pied de page ─────────────────────────────────────────────────────── */
.footer { background: var(--espresso); } /* même brun que l'en-tête : la page est encadrée */
.footer__bottom { border-top-color: rgba(255, 255, 255, .12); }
.footer__title { font-weight: 700; font-size: 15px; }

/* En-tête (lot 8) : logo · recherche · icônes, le menu des rayons sur sa propre ligne.
   Seule la première ligne est collante : le menu défile avec la page et, une fois
   passé dessous, le bouton ☰ apparaît à gauche du logo (.is-compact, shop.js).
   Téléphone : logo et icônes, puis la recherche sur toute la largeur ; la ligne du
   logo défile, la recherche reste collée en haut avec le menu et le panier. */
.nav__link { white-space: nowrap; }
.header__mini { display: none; }
.header__search { position: relative; display: flex; align-items: center; gap: 2px; min-width: 0; }
.search-box {
    position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 18px; border-radius: 999px; background: var(--bg-soft); color: var(--ink);
    transition: box-shadow .2s, background-color .2s;
}
.search-box:focus-within { background: var(--bg); box-shadow: 0 0 0 2px var(--ink); }
.search-box > .icon { flex: none; }
.search-box input {
    flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none;
    font: 500 15px/1 var(--font); color: var(--ink);
}
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }

@media (min-width: 901px) {
    :root { --header-h: 76px; } /* partie collante : défilement des ancres, blocs collants */
    .header { border-bottom: 0; transition: box-shadow .2s; }
    .header.is-compact { border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(23, 20, 23, .06); }
    .header__bar {
        /* Logo et icônes gardent leur largeur ; la recherche prend le reste (600 px au plus, centrée) */
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        grid-template-areas: "burger logo search tools";
        height: 76px; column-gap: 0;
    }
    .header__bar > .header__burger { grid-area: burger; margin: 0 6px 0 -10px; }
    .header.is-compact .header__bar > .header__burger { display: inline-flex; }
    .header__logo { grid-area: logo; }
    .header__search { grid-area: search; margin: 0 24px; justify-self: center; width: calc(100% - 48px); max-width: 600px; }
    .header__tools { grid-area: tools; }
    .header-nav { position: relative; z-index: 39; background: var(--bg); border-bottom: 1px solid var(--line); }
    .header-nav .nav { border-top: 1px solid var(--line); }
    .nav__list { justify-content: center; flex-wrap: wrap; gap: 2px; }
    .nav__link { height: 52px; padding: 0 14px; }
    .nav__link.is-current::before { inset: calc(50% - 17px) 2px; }
    /* Volet des rayons (en-tête replié) : à gauche, pas en plein écran */
    .mobile-menu { right: auto; width: min(420px, 100vw); box-shadow: 0 0 60px rgba(23, 20, 23, .2); }
}
@media (min-width: 901px) and (max-width: 1100px) {
    /* Écran moyen : le monogramme seul, et le menu tient sur une ligne */
    .header .logo-word { display: none; }
    .nav__link { padding: 0 6px; font-size: 13px; }
    .nav__link--icon { gap: 4px; }
    .nav__item--promo { margin-left: 2px; }
    .header__search { margin: 0 16px; width: calc(100% - 32px); }
}
@media (max-width: 900px) {
    .logo { gap: 6px; }
    .logo .logo-mark { width: 30px; height: 30px; }
    .header .logo-word { font-size: 20px; }
}
@media (max-width: 379px) {
    .header .logo-word { display: none; } /* très petit téléphone : le monogramme seul */
}
@media (max-width: 900px) {
    .header { top: -58px; } /* la ligne du logo (58 px) défile, la recherche reste */
    .header.is-compact { box-shadow: 0 6px 18px rgba(23, 20, 23, .08); }
    .header__bar { grid-template-columns: 1fr auto 1fr; grid-template-areas: "burger logo tools" "search search search"; height: auto; }
    .header__bar > .header__burger { grid-area: burger; }
    .header__logo { grid-area: logo; height: 58px; display: flex; align-items: center; }
    .header__tools { grid-area: tools; }
    .header__search { grid-area: search; padding-bottom: 10px; margin: 0 -6px 0 -10px; }
    .header.is-compact .header__mini { display: inline-flex; }
    .header.is-compact .header__mini.cart-btn { margin-right: -4px; }
    .search-box { height: 44px; padding: 0 14px; margin: 0 6px 0 10px; }
    .header.is-compact .search-box { margin: 0; }
    .search-box input { font-size: 16px; } /* 16 px : pas de zoom automatique sur iPhone */
    .header-nav { display: none; }
}

/* En-tête contrasté (lot 9) : ligne du logo en brun espresso, recherche en blanc avec
   bouton loupe framboise ; le menu des rayons reste sur fond blanc. Sur noir,
   le framboise est éclairci (#F27AA0) pour rester lisible. */
/* Brun espresso : plus chaud que le noir, propre à la boutique (choisi le 13/11). */
.header { --header-bg: var(--espresso); --on-dark-accent: #F27AA0; background: var(--header-bg); color: #FFFFFF; border-bottom: 0; }
.header .logo-word, .header .logo-mark { color: #FFFFFF; }
.header .icon-btn { color: #FFFFFF; }
.header .tool-count { background: var(--on-dark-accent); color: var(--ink); }
.header :focus-visible { outline-color: var(--on-dark-accent); }
.header .account-menu__panel { color: var(--ink-soft); }
.search-box { background: #FFFFFF; padding: 0 4px 0 20px; gap: 6px; }
.search-box:focus-within { background: #FFFFFF; box-shadow: 0 0 0 3px var(--on-dark-accent); }
.search-box__submit {
    flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; background: var(--accent); color: #FFFFFF; transition: background-color .2s;
}
.search-box__submit:hover { background: #9A2850; }
.search-box__submit .icon { stroke-width: 2.2; }
@media (min-width: 901px) {
    .header.is-compact { border-bottom: 0; box-shadow: 0 6px 18px rgba(23, 20, 23, .18); }
    .header-nav .nav { border-top: 0; }
}
@media (max-width: 900px) {
    .header { box-shadow: none; }
    .header.is-compact { box-shadow: 0 6px 18px rgba(23, 20, 23, .2); }
    .search-box { padding: 0 3px 0 16px; }
    .search-box__submit { width: 38px; height: 38px; }
}

/* Suggestions pendant la frappe */
.suggest {
    position: absolute; top: calc(100% + 10px); left: 50%; z-index: 50;
    width: min(760px, calc(100vw - 32px)); transform: translateX(-50%);
    max-height: calc(100vh - 120px); overflow-y: auto;
    padding: 16px; border-radius: 18px; background: var(--bg); color: var(--ink-soft);
    box-shadow: 0 18px 50px rgba(23, 20, 23, .16); text-align: left;
}
.suggest__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.suggest__grid--side-only { grid-template-columns: minmax(0, 1fr); }
.suggest__title { margin: 4px 0 6px; padding: 0 8px; font: 700 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.suggest__side { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-left: 20px; border-left: 1px solid var(--line); }
.suggest__grid--side-only .suggest__side { padding-left: 0; border-left: 0; }
.suggest__product { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: inherit; text-decoration: none; }
.suggest__link { display: block; padding: 8px; border-radius: 10px; font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.suggest__product.is-active, .suggest__link.is-active { background: var(--bg-soft); }
.suggest__thumb { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--bg-soft); }
.suggest__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.suggest__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.suggest__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.suggest__brand { font: 600 11px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.suggest__name { font-size: 14px; line-height: 1.3; color: var(--ink); }
.suggest__value { color: var(--muted); }
.suggest__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; font-weight: 600; white-space: nowrap; }
.suggest__price .badge { display: none; }
.suggest__all { align-self: flex-start; margin-top: auto; }
.suggest__all.is-active { box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 5px var(--accent); }
.suggest__empty { margin: 0; padding: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
    /* Toute la largeur de l'écran (ancrée sur la ligne de recherche, pas sur le champ) */
    .search-box { position: static; }
    .suggest { left: 6px; right: 6px; width: auto; transform: none; top: calc(100% - 4px); max-height: 70vh; padding: 10px; }
    .suggest__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .suggest__side { padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Menu : « Tout » avec icône, « Promotions » en framboise, poussée à droite du menu */
.nav__link--icon { gap: 6px; }
.nav__link--icon .icon { flex: none; }
.nav__item--promo { margin-left: 14px; }
.nav__link--promo { color: var(--accent); font-weight: 600; }
.nav__link--promo.is-current::before { background: var(--accent-soft); }
.accordion__title--promo { color: var(--accent); }
@media (max-width: 1100px) { .nav__item--promo { margin-left: 4px; } }
@media (min-width: 901px) {
    .drawer__head, .checkout-header__bar { height: 68px; }
}

/* Diaporama de l'accueil : titres en Playfair, comme les autres grands titres */
.slide__title { font-family: var(--font-serif); text-transform: none; letter-spacing: -.01em; }

/* FAQ et page « La boutique » : intertitres en Playfair */
.faq__title, .about__card h2, .about__text h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.faq__item summary:hover { color: var(--accent); }

/* ── Accueil (lot 7, direction A) ─────────────────────────────────────────
   Un message par bloc. Tuiles de rayons, bloc mis en avant, espace pro,
   marques, la boutique. */
.page-home .section__head .eyebrow { margin-bottom: 10px; }
.page-home .section__head > .link-arrow { white-space: nowrap; }

/* Rayons : 4 grandes tuiles en portrait, nom en bas, flèche ronde */
.home-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* Moins de 4 rayons cochés : les tuiles se partagent la largeur, en paysage */
.home-tiles--1, .home-tiles--2, .home-tiles--3 { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.home-tiles--1 { --n: 1; } .home-tiles--2 { --n: 2; } .home-tiles--3 { --n: 3; }
.home-tiles--1 .home-tile { aspect-ratio: 3 / 1; }
.home-tiles--2 .home-tile { aspect-ratio: 16 / 9; }
.home-tile {
    position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    aspect-ratio: 3 / 4; padding: 22px; border-radius: 20px; overflow: hidden;
    background: var(--accent-soft); color: var(--ink); text-decoration: none; isolation: isolate;
}
.home-tile:nth-child(2) { background: #EFE9F2; }
.home-tile:nth-child(3) { background: #FFF1E6; }
.home-tile:nth-child(4) { background: #ECEDEA; }
.home-tile:not(.home-tile--photo):not(.home-tile--product)::before {
    content: ''; position: absolute; left: 27%; top: 18%; width: 46%; aspect-ratio: 1; border-radius: 50%;
    background: rgba(255, 255, 255, .55); z-index: -1;
}
.home-tile > picture { position: absolute; inset: 0; z-index: -2; }
.home-tile picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.home-tile:hover picture img { transform: scale(1.04); }
/* Produit détouré : dans le haut de la tuile, fondu dans son fond (multiply) */
.home-tile__product {
    position: absolute; left: 14%; right: 14%; top: 8%; bottom: 30%; z-index: -1;
    width: 72%; height: 62%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease);
}
.home-tile:hover .home-tile__product { transform: scale(1.05); }
.home-tile--photo { color: #FFFFFF; }
.home-tile--photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(23, 20, 23, .62)); z-index: -1; }
.home-tile__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.home-tile__subs { font-size: 13px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-tile__name { font: 700 clamp(20px, 1.9vw, 27px)/1.1 var(--font-serif); }
.home-tile__arrow {
    flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: #FFFFFF; color: var(--ink); transition: background .2s, color .2s;
}
.home-tile:hover .home-tile__arrow, .home-tile:focus-visible .home-tile__arrow { background: var(--accent); color: #FFFFFF; }
.home-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.home-chips__promo { color: var(--accent); }

/* Bloc mis en avant : photo (ou pastilles des nuances) | texte */
.home-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.home-feature--text { grid-template-columns: minmax(0, 1fr); }
.home-feature__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.home-feature__shades {
    display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: clamp(10px, 1.2vw, 16px);
    padding: clamp(28px, 4vw, 56px); background: var(--ink); min-height: 320px;
}
/* 6 pastilles par rangée quand il y en a beaucoup ; moins nombreuses, elles restent centrées */
.home-feature__shades span {
    width: calc((100% - 5 * clamp(10px, 1.2vw, 16px)) / 6); max-width: 76px; aspect-ratio: 1; border-radius: 50%;
    background: var(--dot); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.home-feature__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: clamp(32px, 5vw, 72px); }
.home-feature__text .eyebrow, .home-pro .eyebrow, .home-shop .eyebrow { margin: 0; }
.home-feature__text .section__title { margin: 0; }
.home-feature__lead { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.6; }

/* Espace professionnel : fond noir, avantages cochés, trois repères */
.home-pro {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center;
    padding: clamp(32px, 4.5vw, 64px); border-radius: 28px; background: var(--ink); color: #E4DCE0;
}
.home-pro .eyebrow { color: #F2B8CB; }
.home-pro .section__title { margin: 0; color: #FFFFFF; }
.home-pro .section__title em { color: #F2B8CB; }
.home-pro__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.home-pro__lead { margin: 0; max-width: 540px; font-size: 17px; line-height: 1.6; }
.home-pro__list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; color: #FFFFFF; font-size: 16px; }
.home-pro__list li { display: flex; gap: 12px; align-items: flex-start; }
.home-pro__list .icon { flex: none; margin-top: 2px; color: #F2B8CB; stroke-width: 2.2; }
.home-pro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 4px; }
.home-pro__login { color: #F2B8CB; font-weight: 600; }
.home-pro__login:hover { color: #FFFFFF; }
.home-pro__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-pro__facts p { margin: 0; padding: 26px; border-radius: 20px; background: #2B2529; font-size: 15px; color: #CFC6CB; }
.home-pro__facts strong { display: block; margin-bottom: 6px; font: 700 clamp(28px, 3vw, 40px)/1.05 var(--font-serif); color: #FFFFFF; }
.home-pro__fact--wide { grid-column: span 2; }

/* Nos marques : une bande entre deux filets */
.home-brands {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 20px 40px;
    padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.home-brands__title { margin: 0; font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/* Bandeau défilant : deux copies de la liste, la piste glisse de la moitié de sa largeur puis recommence. */
.home-brands__marquee {
    flex: 1 1 0; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.home-brands__track { display: flex; width: max-content; animation: brands-marquee var(--marquee-duration, 40s) linear infinite; }
.home-brands__marquee:hover .home-brands__track,
.home-brands__marquee:focus-within .home-brands__track { animation-play-state: paused; }
@keyframes brands-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.home-brands__list { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.home-brands__list li { flex: none; padding-right: 56px; }
.home-brands__list a { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .home-brands__marquee { overflow-x: auto; }
    .home-brands__track { animation: none; }
    .home-brands__list[aria-hidden="true"] { display: none; }
}
.home-brands__list a { display: block; font: 700 22px/1.2 var(--font-serif); color: #5E535A; }
.home-brands__list a:hover { color: var(--accent); }
.home-brands__list img { display: block; height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.home-brands__list a:hover img { filter: none; opacity: 1; }

/* La boutique : façade | services */
.page-home .home-shop { margin-bottom: clamp(48px, 7vw, 96px); }
.home-shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.home-shop__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; }
.home-shop__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.home-shop__text .section__title { margin: 0; }
.home-shop__services { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.home-shop__services li { display: flex; gap: 16px; align-items: flex-start; }
.home-shop__services strong { display: block; color: var(--ink); }
.home-shop__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

@media (max-width: 1100px) {
    .home-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .home-tiles--3 { grid-template-columns: minmax(0, 1fr); }
    .home-tiles--3 .home-tile { aspect-ratio: 16 / 9; }
    .home-pro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .home-tiles { gap: 12px; }
    .home-tiles--4 .home-tile { aspect-ratio: 4 / 5; }
    .home-tiles--1 .home-tile, .home-tiles--2 .home-tile, .home-tiles--3 .home-tile { aspect-ratio: 16 / 10; }
    .home-tiles--2 { grid-template-columns: minmax(0, 1fr); }
    .home-tile { padding: 14px; border-radius: 16px; }
    .home-tile__subs, .home-tile__arrow { display: none; }
    .home-feature, .home-shop { grid-template-columns: minmax(0, 1fr); }
    .home-feature__media img { min-height: 0; aspect-ratio: 4 / 3; }
    .home-feature__shades { min-height: 0; }
    .home-pro { border-radius: 20px; }
    .home-pro__facts { display: none; }
    .home-brands__list li { padding-right: 36px; }
    .home-brands { flex-wrap: wrap; gap: 16px 20px; }
    .home-brands__marquee { order: 3; flex-basis: 100%; }
}

/* Accès privé (site en préparation) */
.preview-gate { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px; box-sizing: border-box; background: var(--espresso); }
.preview-gate__card { width: min(420px, 100%); padding: clamp(28px, 6vw, 44px); border-radius: var(--radius-lg); background: var(--bg); text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.preview-gate__logo { display: flex; justify-content: center; margin-bottom: 26px; }
.preview-gate__title { margin: 0 0 10px; font: 700 30px/1.1 var(--font-serif); color: var(--ink); }
.preview-gate__lead { margin: 0 0 26px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.preview-gate__form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.preview-gate__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.preview-gate__input { height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 16px var(--font); color: var(--ink); }
.preview-gate__input:focus { outline: none; border-color: var(--ink); }
.preview-gate__input.is-invalid { border-color: var(--accent); }
.preview-gate__error { margin: 0; font-size: 14px; color: var(--accent); }
.preview-gate .btn { margin-top: 8px; }

/* ── Pied de page : la boutique et les réseaux ── */
.footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
.footer__shop address { font-style: normal; line-height: 1.7; margin-bottom: 22px; }
.footer__shop address a { padding: 0; }
.footer__social { display: flex; gap: 10px; list-style: none; margin: 10px 0 0; padding: 0; }
.footer__social a {
    width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .28); color: #FFFFFF; transition: background .2s, border-color .2s;
}
.footer__social a:hover, .footer__social a:focus-visible { background: #EC5A8C; border-color: #EC5A8C; color: #FFFFFF; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ── Accueil : « Suivez-nous » (photos + boutons ; sans photo, boutons seuls) ── */
.home-social { display: flex; flex-direction: column; gap: 28px; }
.home-social__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.home-social__intro { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.home-social__intro p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.home-social__handle { color: var(--accent); font-weight: 600; font-size: 14px; }
.home-social__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.home-social__buttons .btn { display: inline-flex; align-items: center; gap: 10px; }
.home-social__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.home-social__photo { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--accent-soft); }
.home-social__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.home-social__photo:hover img { transform: scale(1.05); }
.home-social__badge { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); }
.home-social__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.home-social__play span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); }
/* Sans photo : un encart sobre, une carte par réseau */
.home-social--cards { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 64px); border-radius: var(--radius-lg, 24px); background: var(--accent-soft); }
.home-social__cards { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.home-social__card { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 128px; padding: 20px 10px; border-radius: 18px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .2s; }
.home-social__card:hover { transform: translateY(-2px); }
.home-social__card-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #FFFFFF; }
@media (max-width: 900px) { .home-social__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .home-social__photo { border-radius: 10px; } }
@media (max-width: 600px) {
    .home-social__buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .home-social__buttons .btn { justify-content: center; }
    .home-social__buttons .btn:first-child { grid-column: 1 / -1; }
    .home-social--cards { text-align: center; justify-content: center; }
    .home-social__cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .home-social__card { width: auto; padding: 14px 4px; font-size: 13px; }
    .home-social__badge, .home-social__play span { transform: scale(.85); }
}

/* ── Accueil : blocs pleine largeur (nuancier / mis en avant, espace pro) ──
   D'un bord à l'autre de l'écran, sans arrondi, comme une bannière ; le texte
   reste aligné sur les autres sections (même marge que container--wide). */
.home-full { margin-top: clamp(48px, 7vw, 96px); }
.home-full .home-feature { border-radius: 0; background: var(--ink); color: #E4DCE0; min-height: clamp(420px, 42vw, 640px); }
.home-full .home-feature__text { padding: clamp(40px, 6vw, 96px) clamp(32px, 5vw, 80px) clamp(40px, 6vw, 96px) var(--gutter-wide); gap: 22px; }
.home-full .home-feature__text .eyebrow { color: #F2B8CB; }
.home-full .home-feature__text .section__title { color: #FFFFFF; font-size: clamp(32px, 4vw, 54px); max-width: 620px; }
.home-full .home-feature__text .section__title em { color: #F2B8CB; }
.home-full .home-feature__lead { color: #E4DCE0; max-width: 520px; }
.home-full .home-feature__media img { min-height: 100%; }
.home-full .home-feature__shades { background: #0E0B0C; min-height: 100%; padding: clamp(40px, 6vw, 96px); }
.home-full--pro { background: var(--espresso, #2A1E1B); }
.home-full--pro .home-pro { border-radius: 0; background: transparent; padding: clamp(56px, 7vw, 104px) var(--gutter-wide); }
.home-full--pro .home-pro__facts p { background: rgba(255, 255, 255, .07); }
/* La boutique : fond sable pleine largeur */
.page-home main { overflow-x: clip; }
.home-band { position: relative; isolation: isolate; padding-bottom: clamp(48px, 7vw, 96px); margin-top: clamp(48px, 7vw, 96px); }
.home-band::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); background: #F7EFEA; z-index: -1; }
.page-home .reassurance { border-top: 0; border-bottom: 0; }
@media (max-width: 760px) {
    .home-full .home-feature { min-height: 0; }
    .home-full .home-feature__media, .home-full .home-feature__shades { order: -1; }
    .home-full .home-feature__text { padding: 36px var(--gutter-wide) 44px; }
    .home-full--pro .home-pro { border-radius: 0; }
}
/* Nos marques : bande beige pleine largeur ; même hauteur que la bande des garanties en bas de page */
.home-band--strip { padding-bottom: 0; }
.home-band--strip .home-brands { border: 0; padding: 0; min-height: var(--strip-h, 104px); }
@media (min-width: 761px) { .page-home .reassurance__item { min-height: var(--strip-h, 104px); padding-top: 0; padding-bottom: 0; } }
@media (max-width: 760px) { .home-band--strip .home-brands { padding: 22px 0; } }
