/* ============================================================
   JEUDERM MAROC — Maquette V4
   Base : gris / blanc / charbon · Accent : coral-rouge (V2)
   SBK (mint/teal) réservé à la section Formation
   Scroll Expansion Hero · Catalogue covers · Formation image
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

:root {
  --blanc: #ffffff;
  --bg: #f5f6f7;
  --bg2: #eceef0;
  --argent: #b3b8bd;
  --gris: #767b81;
  --anthracite: #2f3338;
  --charbon: #3c4046;
  --separateur: #e7e9eb;
  /* SBK — uniquement section formation */
  --sbk-mint: #d7e2de;
  --sbk-teal: #9eb7b4;
  --sbk-teal-dark: #6f8a86;
  --sbk-creme: #fcf8f6;
  --ombre: 0 10px 40px rgba(47, 51, 56, 0.06);
  --ombre-forte: 0 20px 50px rgba(47, 51, 56, 0.10);
  --radius: 16px;
  --max: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; } /* decalage d'ancrage : les sections ciblees (#catalogues...) s'arretent sous le header fixe, comme l'espace de la boutique */

body {
  font-family: 'Poppins', sans-serif;
  color: var(--anthracite);
  background: transparent;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 500; line-height: 1.18; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--anthracite); font-weight: 400; }
h3 { font-size: 1.25rem; }
p { color: var(--gris); font-weight: 300; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---- Animations apparition ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---- Boutons ---- */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.3s ease;
  white-space: nowrap; /* le libelle du bouton ne se coupe jamais sur 2 lignes */
}
.btn-primary { background: var(--anthracite); color: var(--blanc); }
.btn-primary:hover { background: var(--charbon); transform: translateY(-2px); box-shadow: var(--ombre); }
.btn-outline { background: transparent; color: var(--anthracite); border-color: var(--argent); }
.btn-outline:hover { border-color: var(--anthracite); background: var(--anthracite); color: var(--blanc); }
.btn-light { background: var(--blanc); color: var(--anthracite); }
.btn-light:hover { background: var(--bg2); }
.btn-sbk { background: var(--sbk-teal-dark); color: var(--blanc); }
.btn-sbk:hover { background: #5d7672; transform: translateY(-2px); box-shadow: var(--ombre); }

/* ---- Header ---- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,233,236,0.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 400; color: var(--anthracite); padding: 4px 0; transition: opacity 0.2s; opacity: 0.78; }
.nav-links a:hover { opacity: 1; }
.nav-links a.badge-link { color: var(--sbk-teal-dark); font-weight: 500; opacity: 1; }
/* Logo jamais comprimé (garde son ratio, plus lisible) */
.logo { flex-shrink: 0; }
/* "Accueil" masqué du menu : le logo cliquable y mène déjà, ça aère le logo */
.nav-links li:first-child { display: none; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.burger { display: none; font-size: 1.95rem; line-height: 1; cursor: pointer; background: none; border: none; color: var(--anthracite); padding: 6px; margin-right: -6px; }

/* ---- Hero split ---- */
.hero { background: var(--blanc); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; align-items: center; }
.hero-text { padding: 60px 70px 60px 0; animation: fadeInUp 0.9s ease both; }
.hero-text .hero-logo { height: 58px; width: auto; margin-bottom: 30px; }
.hero-text .eyebrow {
  display: inline-block; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gris); font-weight: 500; margin-bottom: 24px;
}
.hero-text h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; color: var(--anthracite); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-text h1 strong { font-weight: 600; }
.hero-text p { font-size: 1.08rem; max-width: 460px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 0.84rem; color: var(--argent); }
.hero-image { height: 100%; min-height: 88vh; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 1.6s ease both; }

/* ---- Badges confiance (cartes premium) ---- */
.trust-cards { background: transparent; }
.trust-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--separateur); border-radius: var(--radius);
  padding: 30px 22px 28px; text-align: center; box-shadow: var(--ombre);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* liseré or en haut de carte (signature officielle) */
.trust-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.tc-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold-hover);
  background: linear-gradient(180deg, #ffffff, #faf7f0);
}
.tc-icon svg { width: 26px; height: 26px; }
/* étoile marocaine (N°1 au Maroc) — légèrement plus grande pour l'équilibre */
.tc-icon .tc-star { width: 30px; height: 30px; }
.trust-card h3 { font-size: .98rem; font-weight: 600; color: var(--anthracite); margin-bottom: 6px; letter-spacing: -.01em; }
.trust-card p { font-size: .8rem; color: var(--gris); line-height: 1.5; margin: 0; }

/* Variante OVERLAP : cartes flottantes qui chevauchent le bas du hero */
.trust-cards--overlap { position: relative; z-index: 5; margin-top: -78px; padding: 0 0 70px; background: #fff; }
.trust-cards--overlap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 78px; z-index: -1; background: #fff;
}

/* Variante SECTION : bloc dédié aéré sous le hero */
.trust-cards--section { padding: 58px 0 64px; background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 100%); }
.trust-cards-head { text-align: center; max-width: 600px; margin: 0 auto 46px; }
.trust-cards-head .eyebrow { font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hover); font-weight: 500; display: block; margin-bottom: 14px; }
.trust-cards-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; color: var(--anthracite); letter-spacing: -.02em; }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head .eyebrow { font-size: .9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); font-weight: 500; display: block; margin-bottom: 16px; }
.section-head p { margin-top: 16px; }

/* ---- Valeurs ---- */
.valeurs { background: var(--blanc); }
.valeurs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.valeur { text-align: center; padding: 16px; }
.valeur .icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--separateur); background: var(--bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 1.5rem; }
.valeur h3 { margin-bottom: 12px; font-weight: 500; }
.valeur p { font-size: 0.92rem; }

/* ---- Présentation (image + texte) ---- */
.presentation { background: var(--bg); }
.presentation .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.presentation .visual { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--ombre); }
.presentation .visual img { width: 100%; height: 100%; object-fit: cover; }
.presentation h2 { margin-bottom: 24px; }
.presentation p { margin-bottom: 18px; }
.presentation .signature { color: var(--anthracite); font-weight: 400; font-style: italic; }

/* ---- Audience ---- */
.audience { background: var(--blanc); }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.aud-card { text-align: center; padding: 44px 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--separateur); transition: transform .3s, box-shadow .3s; }
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.aud-card .emoji { font-size: 2rem; margin-bottom: 16px; }
.aud-card h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 500; }
.aud-card p { font-size: 0.9rem; }

/* ---- Catégories ---- */
.categories { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card { background: var(--blanc); border-radius: var(--radius); padding: 38px 32px; border: 1px solid var(--separateur); transition: all 0.3s; cursor: pointer; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.cat-card .tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--argent); font-weight: 600; }
.cat-card h3 { margin: 12px 0 10px; font-size: 1.3rem; font-weight: 500; }
.cat-card p { font-size: 0.9rem; margin-bottom: 18px; }
.cat-card .arrow { color: var(--anthracite); font-weight: 500; font-size: 0.88rem; }
/* ---- Cartes gammes (accueil) avec photo de couverture en fond ---- */
.cat-card--photo { position: relative; overflow: hidden; min-height: 210px; }
.cat-card--photo .cat-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.cat-card--photo:hover .cat-bg { transform: scale(1.05); }
.cat-card--photo .cat-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255,255,255,.93) 0%, rgba(255,255,255,.82) 38%,
    rgba(255,255,255,.70) 62%, rgba(255,255,255,.85) 100%);
}
.cat-card--photo .tag, .cat-card--photo h3,
.cat-card--photo p, .cat-card--photo .arrow { position: relative; z-index: 2; }
.cat-card--photo .tag { color: var(--gold-hover); text-shadow: 0 1px 2px rgba(255,255,255,.95); }
.cat-card--photo h3 { text-shadow: 0 1px 2px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.9); }
.cat-card--photo p { color: var(--anthracite); font-weight: 500; text-shadow: 0 1px 2px rgba(255,255,255,.98), 0 0 10px rgba(255,255,255,.95); }

/* ---- Produits ---- */
.produits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
/* Sous-catégorie (rangement fin dans une page catégorie, ex. Démaquillant & Nettoyant) */
.souscat-title { font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--anthracite); margin: 56px 0 10px; text-align: center; }
.souscat-title:first-child { margin-top: 2px; }
.souscat-title::after { content: ''; display: block; width: 48px; height: 2px; background: var(--gold); margin: 14px auto 0; }
.souscat-desc { max-width: 620px; margin: 0 auto 30px; text-align: center; color: var(--gris); font-size: .92rem; line-height: 1.6; }

/* ---- FAQ (accordeon) ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--separateur); border-radius: 14px; background: var(--blanc); margin-bottom: 14px; padding: 2px 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--argent); box-shadow: var(--ombre); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 1.05rem; color: var(--anthracite); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--argent); flex-shrink: 0; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 22px; }
.faq-body p { color: var(--gris); margin: 0; font-size: .96rem; line-height: 1.75; }
.faq-body p + p { margin-top: 12px; }
.faq-body ul { margin: 10px 0 0; padding-left: 20px; color: var(--gris); font-size: .96rem; line-height: 1.7; }
.faq-body a { color: var(--anthracite); text-decoration: underline; text-underline-offset: 2px; }
.faq-cta { max-width: 820px; margin: 46px auto 0; text-align: center; background: var(--bg); border: 1px solid var(--separateur); border-radius: var(--radius); padding: 40px 28px; }
.faq-cta h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.faq-cta p { margin: 10px auto 0; max-width: 460px; }
.faq-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Bande FAQ (rappel visible avant le pied de page, sur toutes les pages) */
.faq-band { background: var(--bg); border-top: 1px solid var(--separateur); }
.faq-band .container { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.faq-band-txt { display: flex; flex-direction: column; gap: 3px; }
.faq-band-txt strong { font-size: 1.18rem; font-weight: 600; color: var(--anthracite); }
.faq-band-txt span { color: var(--gris); font-size: .95rem; }
.faq-band .btn { flex-shrink: 0; }
@media (max-width: 560px) { .faq-band .container { flex-direction: column; align-items: flex-start; } .faq-band .btn { width: 100%; text-align: center; } }
.produit { background: var(--blanc); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--separateur); transition: all 0.3s; }
.produit:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.produit .thumb { aspect-ratio: 1; background: linear-gradient(170deg, #ffffff 0%, var(--bg) 100%); display: flex; align-items: center; justify-content: center; position: relative; padding: 26px; }
.produit .thumb img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; transition: transform .4s; }
.produit:hover .thumb img { transform: scale(1.05); }
.produit .thumb.placeholder { color: var(--argent); font-weight: 500; font-size: 0.95rem; text-align: center; }
.produit .badge-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); padding: 5px 11px; border-radius: 50px; font-weight: 600; }
.produit .info { padding: 22px; }
.produit .info h4 { font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.produit .info .capacity { font-size: 0.8rem; color: var(--argent); margin-bottom: 16px; }
.produit .price-locked { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--gris); font-weight: 500; padding: 10px 14px; background: var(--bg); border: 1px solid var(--separateur); border-radius: 50px; justify-content: center; }

/* ---- Catalogues ---- */
.catalogues { background: var(--anthracite); color: var(--blanc); }
.catalogues .section-head .eyebrow { color: var(--argent); }
.catalogues .section-head h2 { color: var(--blanc); }
.catalogues .section-head p { color: rgba(255,255,255,0.7); }
.cata-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; }
.cata-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 36px; display: flex; align-items: center; gap: 22px; transition: all .3s; }
.cata-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.cata-card .doc { font-size: 2.4rem; }
.cata-card h4 { color: var(--blanc); font-weight: 500; margin-bottom: 4px; font-size: 1.1rem; }
.cata-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 12px; }
.cata-card .dl { color: var(--blanc); font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }

/* ---- Accès pro ---- */
.acces-pro { background: var(--bg); text-align: center; }
.acces-pro .section-head { margin-bottom: 48px; }
.acces-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-bottom: 48px; }
.acces-step { background: var(--blanc); border-radius: var(--radius); padding: 36px 28px; border: 1px solid var(--separateur); }
.acces-step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--anthracite); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-weight: 500; margin: 0 auto 18px; }
.acces-step h4 { font-weight: 500; margin-bottom: 10px; }
.acces-step p { font-size: 0.88rem; margin: 0; }

/* ---- Formation (identité SBK) ---- */
.formation { background: var(--sbk-creme); border-top: 1px solid var(--separateur); }
.formation .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.formation .visual { background: linear-gradient(135deg, var(--sbk-mint), var(--sbk-teal)); border-radius: var(--radius); aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 400; text-align: center; padding: 30px; box-shadow: var(--ombre); font-size: 1.2rem; }
.formation .eyebrow { font-size: .9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sbk-teal-dark); font-weight: 600; display: block; margin-bottom: 16px; }
.formation h2 { margin-bottom: 20px; color: var(--sbk-teal-dark); }
.formation p { margin-bottom: 28px; }

/* ---- Témoignages ---- */
.temoignages { background: var(--blanc); }
.temo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.temo { background: var(--bg); border-radius: var(--radius); padding: 36px 30px; border: 1px solid var(--separateur); }
.temo .stars { color: var(--anthracite); margin-bottom: 16px; letter-spacing: 3px; font-size: 0.85rem; }
.temo p { font-size: 0.95rem; color: var(--anthracite); font-style: italic; margin-bottom: 20px; }
.temo .author { display: flex; align-items: center; gap: 12px; }
.temo .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); }
.temo .author .name { font-weight: 500; font-size: 0.9rem; }
.temo .author .role { font-size: 0.78rem; color: var(--argent); }

/* ---- Footer ---- */
footer { background: var(--anthracite); color: rgba(255,255,255,0.7); padding: 76px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; margin-bottom: 50px; }
footer h4 { color: var(--blanc); font-weight: 500; margin-bottom: 20px; font-size: 1rem; }
footer .brand-name { font-size: 1.6rem; color: var(--blanc); font-weight: 500; margin-bottom: 16px; letter-spacing: 0.02em; }
footer p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 11px; }
footer ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
footer ul li a:hover { color: var(--blanc); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ---- Pages internes ---- */
.page-hero { background: var(--bg); padding: 96px 0; text-align: center; border-bottom: 1px solid var(--separateur); }
.page-hero .eyebrow { font-size: .9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); font-weight: 500; display: block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; color: var(--anthracite); }
.page-hero p { max-width: 580px; margin: 16px auto 0; }
/* Photo de la gamme en grand (même format que l'accueil) */
.page-hero .hero-cover-img {
  display: block; width: 100%; max-width: 1120px; height: auto;
  margin: 0 auto 40px; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(26,34,48,.12);
}
@media (max-width: 560px) {
  .page-hero .hero-cover-img { margin-bottom: 28px; border-radius: 10px; }
}

/* ---- Espace pro ---- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 960px; margin: 0 auto; }
.auth-card { background: var(--blanc); border: 1px solid var(--separateur); border-radius: var(--radius); padding: 44px; box-shadow: var(--ombre); }
.auth-card.highlight { border: 1.5px solid var(--anthracite); }
.auth-card h3 { margin-bottom: 8px; font-size: 1.4rem; font-weight: 500; }
.auth-card .sub { font-size: 0.9rem; color: var(--gris); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.84rem; font-weight: 500; margin-bottom: 8px; color: var(--anthracite); }
.field input, .field select { width: 100%; padding: 13px 16px; border: 1px solid var(--separateur); border-radius: 10px; font-family: inherit; font-size: 0.92rem; color: var(--anthracite); background: var(--bg); transition: border-color 0.2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--anthracite); }
.auth-card .btn { width: 100%; text-align: center; margin-top: 8px; }
.validation-note { background: var(--bg); border: 1px solid var(--separateur); border-radius: 10px; padding: 18px; margin-top: 24px; font-size: 0.85rem; color: var(--gris); display: flex; gap: 10px; align-items: flex-start; }
.validation-note strong { color: var(--anthracite); }
.field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--separateur); border-radius: 10px; font-family: inherit; font-size: 0.92rem; color: var(--anthracite); background: var(--bg); min-height: 140px; resize: vertical; transition: border-color 0.2s; }
.field textarea:focus { outline: none; border-color: var(--anthracite); }

/* ---- Page Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; background: var(--blanc); border: 1px solid var(--separateur); border-radius: 14px; padding: 18px 20px; box-shadow: var(--ombre); }
.contact-line .ci-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hover); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; background: linear-gradient(180deg, #ffffff, #faf7f0); }
.contact-line h4 { font-size: 0.95rem; font-weight: 600; color: var(--anthracite); margin: 0 0 3px; }
.contact-line a, .contact-line p { font-size: 0.9rem; color: var(--gris); margin: 0; text-decoration: none; display: block; }
.contact-line a:hover { color: var(--gold-hover); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- À propos : titre centré « Qui est JeuDérm ? » + trait à la plume ---- */
.apropos-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.highlight-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 400; color: var(--anthracite); letter-spacing: -.02em; line-height: 1.45; }
.highlight-title strong { font-weight: 600; }
/* filigrane : logo rond JeuDérm en fond de section */
.apropos-story { position: relative; overflow: hidden; }
.apropos-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(640px, 78vw); height: auto; opacity: .07; z-index: 0; pointer-events: none; user-select: none; }
.apropos-story > .container { position: relative; z-index: 1; }
.presentation .grid h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 500; color: var(--anthracite); letter-spacing: -.015em; margin-bottom: 18px; }

/* ---- WhatsApp ---- */
.whatsapp-fab { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; background: #25D366; color: #fff; border-radius: 50%; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); transition: transform 0.25s, box-shadow 0.25s; }
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-fab .wa-text { display: none; }
.whatsapp-fab .wa-icon { font-size: 1.55rem; line-height: 1; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 60px 0 50px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-image { min-height: 60vh; order: -1; }
  .valeurs-grid, .cat-grid, .produits-grid, .temo-grid, .acces-steps, .aud-grid { grid-template-columns: 1fr 1fr; }
  .presentation .grid, .formation .grid, .auth-wrap, .cata-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-cards-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-cards--overlap { margin-top: -40px; }
}
@media (max-width: 560px) {
  .produits-grid, .cat-grid, .valeurs-grid, .temo-grid, .acces-steps, .footer-grid, .aud-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-outline,
  .nav-actions .btn-primary { display: none; }
  section { padding: 72px 0; }
}

/* ============================================================
   V4 — ACCENT CORAL · SCROLL EXPANSION · CATALOGUE COVERS
   ============================================================ */

/* ---- DA JeuDérm : blanc · gris clair · navy · or champagne ---- */
:root {
  --blanc:      #ffffff;
  --bg:         #f3f4f6;   /* gris clair froid (plus de beige) */
  --bg2:        #e9ebee;
  --argent:     #a9afb5;   /* argent métallique (logo) */
  --gris:       #5f656c;   /* texte gris moyen */
  --anthracite: #27303d;   /* navy-charbon doux (titres) */
  --charbon:    #323c49;
  --navy:       #1a2230;   /* sections sombres */
  --gold:       #bb9a63;   /* accent or champagne */
  --gold-hover: #a4854f;
  --separateur: #e7e9ec;
}
/* Dégradé gris clair → blanc sur les sections claires */
.valeurs, .audience, .temoignages {
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 100%);
}
.hero-clean { background: transparent; }
.presentation, .categories, .acces-pro {
  background: linear-gradient(180deg, #f4f5f7 0%, #ffffff 100%);
}
/* Boutons : navy profond + survol or */
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: #283344; border-color: #283344; transform: translateY(-2px); box-shadow: var(--ombre); }
.btn-outline { color: var(--navy); border-color: var(--argent); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Accents or champagne (signature JeuDérm) */
.acces-step .num { background: var(--gold); }
.cat-card .arrow { color: var(--gold-hover); }
.cat-card .tag { color: var(--gold-hover); }
.section-head .eyebrow,
.hero-text .eyebrow,
.page-hero .eyebrow { color: var(--gold-hover); }
.valeur .icon { border-color: var(--gold); color: var(--gold-hover); }
.auth-card.highlight { border-color: var(--gold); }
.se-tagline, .se-sub { color: var(--gold-hover); }
/* Sections sombres → navy profond */
.catalogues { background: var(--navy); }
footer { background: var(--navy); }

/* ---- Scroll Expansion Hero (overlay fixe) ---- */
.se-hero {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #f5f6f7; overflow: hidden;
}
.se-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.se-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center; display: block;
}
.se-bg-overlay {
  position: absolute; inset: 0;
  background: rgba(245,246,247,.18);
}
.se-stage {
  position: relative; z-index: 1;
  width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.se-title-left, .se-title-right {
  position: absolute; display: flex;
  flex-direction: column; pointer-events: none;
}
.se-title-left  { left: 6vw;  align-items: flex-start; }
.se-title-right { right: 6vw; align-items: flex-end; text-align: right; }
.se-logo   { height: 36px; width: auto; margin-bottom: 10px; }
.se-tagline {
  font-size: .64rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gris); font-weight: 500;
}
.se-country {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 300; letter-spacing: -.01em;
  color: var(--anthracite); line-height: 1; margin-bottom: 8px;
}
.se-sub {
  font-size: .64rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gris); font-weight: 500;
}
.se-media-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; pointer-events: none;
}
.se-media {
  width: 280px; height: 380px;
  overflow: hidden; border-radius: 16px;
  position: relative;
  box-shadow: 0 24px 64px rgba(47,51,56,.22);
}
.se-media > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.se-media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 78%, rgba(15,19,26,.22));
}
.se-hint {
  position: absolute; bottom: 38px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--gris); pointer-events: none; white-space: nowrap;
}
.se-hint-text { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.se-arrow { font-size: 1rem; animation: se-bounce 1.8s ease-in-out infinite; }
@keyframes se-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
body.se-active { overflow: hidden; }
@media (max-width: 768px) {
  /* Mobile : on cache le texte de droite mais on GARDE le logo (centre en haut) */
  .se-title-right { display: none; }
  .se-title-left {
    left: 0; right: 0; top: 6vh;
    align-items: center; text-align: center;
  }
  .se-title-left .se-logo { height: 30px; }
}

/* ---- Catalogue — couvertures visuelles ---- */
.cata-grid  { grid-template-columns: repeat(3, 1fr); max-width: 1060px; gap: 24px; }
.cata-card  {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
  transition: all .35s;
  display: flex; flex-direction: column;
  padding: 0; align-items: stretch; gap: 0;
}
.cata-card:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.cata-cover { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.cata-cover > img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
  transition: transform .55s ease; display: block;
}
.cata-card:hover .cata-cover > img { transform: scale(1.05); }
.cata-veil {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,32,38,.46);
  opacity: 0; transition: opacity .3s;
}
.cata-card:hover .cata-veil:not(.cata-veil-alt) { opacity: 1; }
.cata-veil-alt { background: rgba(28,32,38,.62); opacity: .75; }
.cata-dl-hover {
  color: #fff; font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.65);
  padding: 10px 22px; border-radius: 50px;
}
.cata-body { padding: 22px 26px; }
.cata-body h4  { color: var(--blanc); font-weight: 500; margin-bottom: 5px; font-size: 1.03rem; }
.cata-body > p { color: rgba(255,255,255,.58); font-size: .84rem; margin-bottom: 12px; }
.cata-body .dl { color: var(--blanc); font-size: .82rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; display: inline-block; }

/* ---- Formation — image réelle (remplace gradient) ---- */
.formation .visual {
  background: none; color: inherit; padding: 0;
  font-size: inherit; display: block; overflow: hidden;
}
.formation .visual > img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius); display: block;
}

/* ---- Responsive catalogue ---- */
@media (max-width: 980px) {
  .cata-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; gap: 24px; }
}
@media (max-width: 680px) {
  .cata-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============================================================
   V5 — VIDÉO HERO + PAGE D'ACCUEIL ÉPURÉE (sans photos)
   ============================================================ */

/* ---- Vidéo dans le hero d'ouverture ---- */
.se-media > video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  /* La source est tournée en lumière tamisée : on la rehausse pour qu'elle
     ressorte nettement sur le fond navy sombre de l'intro. */
  filter: brightness(1.24) contrast(1.05) saturate(1.08);
}
/* Fond d'ouverture épuré (dégradé gris clair → blanc, plus de beige) */
.se-bg-plain {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #eef0f3 70%, #e4e7ea 100%);
}
.se-hero { background: #eef0f3; }

/* ---- Intro assombrie : fond navy premium + texte clair lisible ---- */
.se-bg-plain {
  background: radial-gradient(circle at 50% 34%, #1c2740 0%, #121a2b 58%, #090e18 100%);
}
.se-hero { background: #090e18; }
.se-bg-overlay { background: rgba(7,11,20,.30); }
.se-logo { filter: brightness(0) invert(1); }
.se-country { color: #fff; }
.se-tagline, .se-sub { color: rgba(255,255,255,.72); }
.se-hint { color: rgba(255,255,255,.62); }
/* Vidéo centrale détachée du fond navy : liseré doré charte + halo lumineux */
.se-media {
  border: 1px solid rgba(164,133,79,.55);
  box-shadow: 0 0 0 5px rgba(255,255,255,.045),
              0 26px 70px rgba(0,0,0,.55),
              0 0 54px rgba(164,133,79,.16);
}

/* ---- Hero texte épuré (fond scientifiques plein écran) ---- */
.hero-clean {
  position: relative;
  background: transparent;
  text-align: center;
  padding: 124px 0 104px;
}
/* Fond plein écran fixe : photo scientifiques coréens, voilée de blanc */
.hero-film {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.95) 100%),
    url('assets/universe/scientists.jpg') center 30% / cover no-repeat,
    #f3f5f6;
}
.hero-clean .container { position: relative; z-index: 1; }
.hero-clean .hero-logo { height: 62px; width: auto; margin: 0 auto 22px; }
.hero-clean .eyebrow {
  display: inline-block; font-size: .9rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-hover); font-weight: 500; margin-bottom: 22px;
}
.hero-clean h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 400; color: var(--anthracite);
  margin: 0 auto 26px; letter-spacing: -.025em; line-height: 1.1; max-width: 1000px;
}
.hero-clean h1 strong { font-weight: 600; }
.hero-clean .lead { font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }
.hero-clean .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-clean .hero-note { margin-top: 26px; font-size: .84rem; color: var(--argent); }

/* ===== Accueil : hero plein écran immersif + header superposé ===== */
/* Header transparent posé sur l'image, sans bordure ni séparation */
.home header {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.home header .nav-links a,
.home header .burger { color: #fff; opacity: .92; }
.home header .nav-links a:hover { opacity: 1; }
.home header .nav-links a.badge-link { color: #fff; opacity: 1; }
.home header .logo img { filter: brightness(0) invert(1); }
.home header .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.home header .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.home header .btn-primary {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.home header .btn-primary:hover { background: rgba(255,255,255,.28); }

/* Header solide une fois le hero dépassé (lisible sur fond clair) */
.home header.solid {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(231,233,236,.5);
}
.home header.solid .nav-links a,
.home header.solid .burger { color: var(--anthracite); opacity: .78; }
.home header.solid .nav-links a:hover { opacity: 1; }
.home header.solid .nav-links a.badge-link { color: var(--sbk-teal-dark); opacity: 1; }
.home header.solid .logo img { filter: none; }
.home header.solid .btn-outline { color: var(--navy); border-color: var(--argent); }
.home header.solid .btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.home header.solid .btn-primary {
  background: var(--navy); border-color: var(--navy); color: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* ---- Accueil : menu posé SUR l'image (fond transparent), textes foncés ----
   L'image du hero occupe tout le haut, menu compris : rien n'est coupé.
   Au scroll, reveal.js ajoute .solid et le fond blanc revient. */
.home header {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}
.home header .nav-links a,
.home header .burger { color: var(--anthracite); opacity: .8; }
.home header .nav-links a:hover { opacity: 1; }
.home header .nav-links a.badge-link { color: var(--sbk-teal-dark); opacity: 1; }
.home header .logo img { filter: none; }
.home header .btn-outline { color: var(--navy); border-color: var(--argent); }
.home header .btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.home header .btn-primary {
  background: var(--navy); border-color: var(--navy); color: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* ---- Sécurité responsive : rien ne déborde horizontalement (mobile) ---- */
html, body { overflow-x: clip; }
img, video { max-width: 100%; }

/* ---- Accueil sur petit écran : titre/sur-titre qui tiennent sans se couper ---- */
@media (max-width: 480px) {
  .home .hero-clean--cover h1 { font-size: 1.8rem; }
  .home .hero-clean--cover .eyebrow { letter-spacing: .1em; font-size: .74rem; }
  .home .hero-clean--cover .lead { font-size: 1rem; }
}

/* Hero plein écran : image visible + dégradé premium, sans ligne avec le header */
.home .hero-clean {
  margin-top: -93px;            /* remonte sous le header → plein écran, zéro séparation */
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 96px;        /* dégage le contenu sous le menu */
  background:
    linear-gradient(180deg, rgba(12,17,28,.44) 0%, rgba(12,17,28,.26) 42%, rgba(12,17,28,.54) 100%),
    url('assets/universe/scientists-soft.jpg') center 28% / cover no-repeat;
}
/* Texte du hero en blanc pour l'immersion */
.home .hero-clean .hero-logo { filter: brightness(0) invert(1); }
.home .hero-clean .eyebrow { color: #fff; opacity: .9; }
.home .hero-clean h1,
.home .hero-clean .lead { color: #fff; }
.home .hero-clean .lead { opacity: .92; }
/* Ombre de sécurité : garde le texte blanc lisible même avec le fond éclairci */
.home .hero-clean .eyebrow,
.home .hero-clean h1,
.home .hero-clean .lead { text-shadow: 0 1px 16px rgba(12,17,28,.5); }
.home .hero-clean .hero-note { color: rgba(255,255,255,.8); }
.home .hero-clean .btn-primary { background: #fff; border-color: #fff; color: var(--navy); }
.home .hero-clean .btn-primary:hover { background: rgba(255,255,255,.88); }
.home .hero-clean .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.home .hero-clean .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---- Variante accueil : photo de la gamme affichée TELLE QUELLE (non voilée) + texte foncé en dessous ---- */
.home .hero-clean--cover {
  margin-top: 0; min-height: auto;
  padding: 0 0 72px;
  background: #ffffff;
  display: block; text-align: center;
}
.home .hero-clean--cover .hero-cover-img {
  display: block; width: 100%; max-width: none; height: auto;
  margin: 0 0 40px; border-radius: 0; box-shadow: none;
}
/* Texte foncé (on annule le blanc du hero sombre) */
.home .hero-clean--cover .hero-logo { filter: none; }
.home .hero-clean--cover .eyebrow { color: var(--gold-hover); opacity: 1; text-shadow: none; }
.home .hero-clean--cover h1 { color: var(--anthracite); text-shadow: none; }
.home .hero-clean--cover .lead { color: var(--gris); opacity: 1; text-shadow: none; }
.home .hero-clean--cover .hero-note { color: var(--argent); }
.home .hero-clean--cover .btn-primary { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.home .hero-clean--cover .btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.home .hero-clean--cover .btn-outline { color: var(--anthracite); border-color: var(--argent); }
.home .hero-clean--cover .btn-outline:hover { background: var(--anthracite); color: #fff; border-color: var(--anthracite); }
@media (max-width: 560px) {
  .home .hero-clean--cover { padding: 0 0 52px; }
  .home .hero-clean--cover .hero-cover-img { margin-bottom: 26px; border-radius: 0; }
}

/* Section "Qui est JeuDérm" : photo de labo en fond, voilée de blanc pour la lisibilité */
#apropos {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.93) 100%),
    url('assets/universe/labo-recherche.jpg') center / cover no-repeat;
}

/* ===== Catalogue par gammes (cartes épurées, nom mis en avant) ===== */
.gammes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gamme-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 178px; padding: 30px 30px 26px;
  background: #fff; border: 1px solid var(--separateur); border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-left-color .3s ease;
}
.gamme-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(26,34,48,.10); border-left-color: var(--gold-hover); }
.gamme-tag { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hover); font-weight: 600; }
.gamme-card h3 { font-size: 1.5rem; font-weight: 600; color: var(--anthracite); margin: 10px 0 6px; letter-spacing: -.01em; }
.gamme-card p { font-size: .9rem; color: var(--gris); margin: 0; }
.gamme-count { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .85rem; font-weight: 500; color: var(--navy); }
.gamme-count .arr { transition: transform .3s ease; }
.gamme-card:hover .gamme-count .arr { transform: translateX(5px); }

/* ---- Cartes avec photo de couverture en fond ---- */
.gamme-card--photo { min-height: 246px; overflow: hidden; padding: 26px 28px 22px; }
.gamme-card--photo .gamme-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.gamme-card--photo:hover .gamme-bg { transform: scale(1.05); }
/* Voile dégradé : blanc en haut (titre lisible) et en bas (compteur), translucide au centre (produits visibles) */
.gamme-card--photo .gamme-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255,255,255,.97) 0%, rgba(255,255,255,.94) 22%, rgba(255,255,255,.66) 40%,
    rgba(255,255,255,.22) 62%, rgba(255,255,255,.55) 80%, rgba(255,255,255,.93) 100%);
}
.gamme-card--photo .gamme-head,
.gamme-card--photo .gamme-count { position: relative; z-index: 2; }
.gamme-card--photo .gamme-head { display: block; }
.gamme-card--photo .gamme-head h3 {
  margin-top: 8px; color: var(--anthracite);
  text-shadow: 0 1px 2px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.9);
}
/* Description en foncé (et non en gris) + halo blanc pour rester lisible sur la photo */
.gamme-card--photo .gamme-head p {
  color: var(--anthracite); font-weight: 500;
  text-shadow: 0 1px 2px rgba(255,255,255,.98), 0 0 10px rgba(255,255,255,.95);
}
.gamme-card--photo .gamme-count {
  align-self: flex-start;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  padding: 6px 12px; border-radius: 999px;
}

/* Fil d'Ariane (page d'une gamme) */
.breadcrumb { font-size: .82rem; color: var(--gris); margin-bottom: 14px; }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-hover); }

@media (max-width: 980px) { .gammes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gammes-grid { grid-template-columns: 1fr; } }

/* ---- Présentation épurée (texte centré, sans photo) ---- */
.presentation-clean { text-align: center; max-width: 760px; margin: 0 auto; }
.presentation-clean .eyebrow {
  display: inline-block; font-size: .9rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-hover); font-weight: 600; margin-bottom: 20px;
  padding-bottom: 12px; position: relative;
}
/* filet doré sous l'intitulé, pour l'ancrer visuellement */
.presentation-clean .eyebrow::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 2px; background: var(--gold);
}
@media (max-width: 560px) { .presentation-clean .eyebrow { font-size: .82rem; letter-spacing: .12em; } }

/* ---- Repères de marque (2012 · brevets · normes) ---- */
.brand-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 38px auto 30px; max-width: 760px; text-align: center;
}
.brand-facts .bf {
  padding: 20px 14px; border: 1px solid var(--separateur); border-radius: var(--radius);
  background: var(--blanc); box-shadow: var(--ombre);
}
.brand-facts .bf-num {
  display: block; font-size: 1.32rem; font-weight: 600; color: var(--navy);
  letter-spacing: -.01em; margin-bottom: 6px; line-height: 1.15;
}
.brand-facts .bf-lab {
  display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gris); font-weight: 500;
}
@media (max-width: 860px) { .brand-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) {
  .brand-facts { grid-template-columns: 1fr; gap: 12px; margin: 28px auto 24px; }
  .brand-facts .bf { padding: 16px 14px; }
}

/* ---- Technologies brevetées (argument médecin) ---- */
.patents {
  margin: 6px auto 30px; padding: 26px 28px; max-width: 680px;
  border: 1px solid var(--separateur); border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #faf8f4);
}
.patents-title {
  display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-hover); font-weight: 600; margin-bottom: 18px;
}
.patents-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; text-align: left; }
.patents-list li { display: flex; flex-direction: column; padding-left: 15px; position: relative; }
.patents-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.patents-list strong { font-size: .95rem; font-weight: 600; color: var(--anthracite); letter-spacing: .01em; }
.patents-list span { font-size: .82rem; color: var(--gris); margin-top: 2px; }
@media (max-width: 780px) { .patents-list { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 640px) { .patents { padding: 22px 20px; } }
.presentation-clean h2 { margin-bottom: 24px; }
.presentation-clean p { margin-bottom: 18px; }
.presentation-clean p strong { color: var(--anthracite); font-weight: 600; }
.presentation-clean .signature { color: var(--anthracite); font-weight: 400; font-style: italic; }

/* ---- Soulignement « au stylo » animé (section Pour qui ?) ---- */
.pen-underline { position: relative; white-space: nowrap; color: var(--anthracite); font-weight: 500; }
.pen-underline svg {
  position: absolute; left: -4px; right: -4px; bottom: -.42em;
  width: calc(100% + 8px); height: .5em; overflow: visible;
}
.pen-underline svg path {
  fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  transition: stroke-dashoffset 1.1s cubic-bezier(.6,.1,.2,1) .35s;
}
.reveal.in .pen-underline svg path { stroke-dashoffset: 0; }

/* ============================================================
   PRODUITS — présentation (images fixes & nettes, sans 3D)
   ============================================================ */
.fiche-media img {
  filter: drop-shadow(0 18px 26px rgba(40,46,58,.14));
}

/* ============================================================
   FICHE PRODUIT
   ============================================================ */
.breadcrumb { font-size: .82rem; color: var(--argent); padding: 28px 0 0; }
.breadcrumb a { color: var(--gris); }
.breadcrumb a:hover { color: var(--anthracite); }
.fiche { padding: 40px 0 100px; }
.fiche-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.fiche-media {
  background: linear-gradient(170deg, #ffffff 0%, var(--bg) 100%);
  border: 1px solid var(--separateur); border-radius: var(--radius);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  padding: 54px; position: sticky; top: 112px;
}
.fiche-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fiche-info .badge-cat {
  display: inline-block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-hover); font-weight: 600; margin-bottom: 14px;
}
.fiche-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; color: var(--anthracite); margin-bottom: 8px; }
.fiche-format { font-size: .95rem; color: var(--argent); margin-bottom: 22px; }
.fiche-contenant { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.fiche-contenant label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.fiche-contenant select { padding: 9px 16px; border: 1px solid var(--separateur); border-radius: 10px; font-family: inherit; font-size: .92rem; font-weight: 500; color: var(--anthracite); background: var(--blanc); cursor: pointer; transition: border-color .2s; }
.fiche-contenant select:focus { outline: none; border-color: var(--anthracite); }
.fiche-lead { font-size: 1.02rem; color: var(--gris); margin-bottom: 24px; }
/* Badge usage : professionnel (cabine) vs homecare (domicile) */
.usage-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; letter-spacing: .03em; padding: 7px 15px; border-radius: 50px; margin-bottom: 22px; }
.usage-badge.pro { background: var(--navy); color: #fff; }
.usage-badge.home { background: #eaf2ee; color: #4f6f68; border: 1px solid #d2e2db; }
.usage-badge.mixte { background: var(--bg); color: var(--anthracite); border: 1px solid var(--separateur); }
.fiche-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fiche-benefits span {
  font-size: .74rem; background: var(--bg); border: 1px solid var(--separateur);
  color: var(--anthracite); padding: 6px 14px; border-radius: 50px; font-weight: 500;
}
.fiche-media.no-img { background: linear-gradient(170deg,#fff,var(--bg)); }
.fiche-media .ph { text-align: center; }
.fiche-media .ph img { height: 52px; width: auto; opacity: .45; animation: none; filter: none; }
.fiche-media .ph-note { margin-top: 14px; font-size: .85rem; color: var(--argent); letter-spacing: .05em; }
.fiche-price-box {
  background: var(--bg); border: 1px solid var(--separateur); border-radius: var(--radius);
  padding: 26px; margin-bottom: 30px;
}
.fiche-price-box .lock { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--anthracite); margin-bottom: 6px; }
.fiche-price-box .note { font-size: .85rem; color: var(--gris); margin-bottom: 18px; }
.fiche-price-box .btn { width: 100%; text-align: center; }
.fiche-features { list-style: none; margin-bottom: 8px; }
.fiche-features li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--separateur); font-size: .92rem; color: var(--anthracite); }
.fiche-features li .ic { color: var(--gold-hover); font-weight: 600; }
.fiche-details { max-width: 860px; margin: 70px auto 0; }
.fiche-block { margin-bottom: 40px; }
.fiche-block h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 14px; }
.fiche-block p { margin-bottom: 12px; }
.fiche-block ul { margin: 12px 0 0 20px; }
.fiche-block ul li { color: var(--gris); margin-bottom: 8px; font-size: .94rem; }

/* Onglets depliables de la fiche (Composition, Indications) */
.fiche-acc { border: 1px solid var(--separateur); border-radius: 14px; background: var(--blanc); padding: 0 24px; margin-bottom: 16px; transition: border-color .2s, box-shadow .2s; }
.fiche-acc[open] { border-color: var(--argent); box-shadow: var(--ombre); }
.fiche-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; }
.fiche-acc > summary::-webkit-details-marker { display: none; }
.fiche-acc > summary h2 { margin: 0; font-size: 1.25rem; }
.fiche-acc > summary::after { content: '+'; font-size: 1.7rem; font-weight: 300; line-height: 1; color: var(--argent); flex-shrink: 0; transition: transform .25s; }
.fiche-acc[open] > summary::after { transform: rotate(45deg); }
.fiche-acc .fiche-acc-body { padding: 0 0 22px; }
.fiche-acc .fiche-acc-body ul { margin: 0 0 0 20px; }
/* Mini-protocole professionnel (étapes numérotées) */
.fiche-protocole { display: grid; gap: 12px; }
.proto-step { display: flex; gap: 16px; align-items: flex-start; padding: 15px 18px; background: var(--bg); border: 1px solid var(--separateur); border-radius: 14px; }
.proto-step .num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 600; }
.proto-step .txt h4 { font-size: .98rem; font-weight: 600; margin-bottom: 3px; color: var(--anthracite); }
.proto-step .txt p { font-size: .88rem; color: var(--gris); margin: 0; }
@media (max-width: 860px) {
  .fiche-wrap { grid-template-columns: 1fr; gap: 32px; }
  .fiche-media { position: static; aspect-ratio: 4/3; }
}

/* ---- Badges confiance : responsive ---- */
@media (max-width: 820px) {
  .trust-cards-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-cards--overlap { margin-top: -40px; padding-bottom: 56px; }
  .trust-cards--overlap::after { top: 40px; }
}
@media (max-width: 460px) {
  .trust-cards-grid { grid-template-columns: 1fr; }
  .trust-cards--overlap { margin-top: 0; padding: 40px 0 10px; }
  .trust-cards--overlap::after { display: none; }
}

/* ---- Audience : photos réelles en fond (sans émoji) ---- */
.aud-card {
  position: relative;
  text-align: left;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--ombre);
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.aud-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,27,38,.88) 0%, rgba(20,27,38,.45) 50%, rgba(20,27,38,.12) 100%);
}
.aud-content { position: relative; z-index: 1; padding: 30px 28px; }
.aud-card h3 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; font-weight: 500; }
.aud-card p { color: rgba(255,255,255,.85); font-size: .9rem; }

/* ---- Sous-catégories Homecare ---- */
.homecare-famille { margin: 54px 0 24px; }
.homecare-famille:first-child { margin-top: 0; }
.homecare-famille h3 {
  font-size: 1.35rem; font-weight: 500; color: var(--anthracite);
  padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block;
}

/* ---- Défilé produits vivant (marquee) ---- */
.marquee-produits {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  padding: 54px 0;
  border-top: 1px solid var(--separateur);
  border-bottom: 1px solid var(--separateur);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee-produits:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-item img { height: 100%; width: auto; object-fit: contain; }
.marquee-item.is-logo img { height: 42px; opacity: .55; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Bascule catalogue : Par besoin / Par gamme ===== */
.cat-toggle { display: inline-flex; gap: 6px; margin-top: 28px; background: var(--bg2); padding: 6px; border-radius: 999px; }
.cat-toggle-btn { border: 0; background: transparent; color: var(--gris); font-family: inherit; font-size: .9rem; font-weight: 500; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.cat-toggle-btn.is-active { background: var(--blanc); color: var(--anthracite); box-shadow: 0 2px 8px rgba(47, 51, 56, .08); }
.cat-toggle-btn:hover:not(.is-active) { color: var(--anthracite); }
/* L'attribut hidden doit l'emporter sur display:grid de .gammes-grid */
.gammes-grid[hidden] { display: none; }

/* ============================================================
   VITRINE HOMECARE (accueil)
   ============================================================ */
.homecare-vitrine { background: var(--bg); text-align: center; }
.homecare-vitrine .section-head { max-width: 680px; margin: 0 auto; }
.hc-routine {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px; margin: 42px 0 36px;
}
.hc-step {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--separateur); border-radius: var(--radius);
  padding: 24px 26px; min-width: 116px;
}
.hc-step .hc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 1rem;
}
.hc-step .hc-img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  display: block; box-shadow: 0 4px 14px rgba(47, 51, 56, .12);
}
.hc-step .hc-label { font-size: .95rem; font-weight: 500; color: var(--anthracite); }
.hc-arrow { color: var(--gold-hover); font-size: 1.3rem; }
.hc-cta { margin-top: 6px; }
@media (max-width: 640px) {
  .hc-arrow { display: none; }
  .hc-step { flex: 1 1 38%; min-width: 0; padding: 18px; }
}

/* ============================================================
   Drapeaux en filigrane dans le hero d'ouverture
   Coree (gauche, derriere JeuDerm) -> Maroc (droite, derriere Maroc)
   Les deux se rejoignent au centre en degrade. Tres subtil.
   ============================================================ */
.se-flags {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.se-flag {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
}
.se-flag-kr {
  left: 0;
  background-image: url('assets/flags/kr.svg');
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 90%);
          mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 90%);
}
.se-flag-ma {
  right: 0;
  background-image: url('assets/flags/ma.svg');
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 90%);
          mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 90%);
}
@media (max-width: 768px) {
  .se-flag { width: 72%; opacity: 0.08; }
}

/* Drapeaux en filigrane équilibré : encadrent la vidéo sans l'écraser + effet ondulé.
   (Le Maroc, rouge saturé, ressort plus fort que la Corée à opacité égale → on le
   garde un cran en dessous pour une symétrie visuelle.) */
.se-flag    { width: 60%; }
.se-flag-kr { opacity: 0.22; }
.se-flag-ma {
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 92%);
          mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 92%);
}

/* Drapeaux animes : SVG inline qui ondulent doucement (vivants) */
.se-flag { background-image: none; }
.se-flag svg { width: 100%; height: 100%; display: block; }

/* --- Mobile : drapeaux PLEIN ECRAN (Coree = moitie haute, Maroc = moitie basse) --- */
@media (max-width: 768px) {
  .se-flag {
    width: 100%; height: 50%;
    left: 0; right: auto;
    transform: none;
    border-radius: 0; overflow: hidden;
  }
  /* Coupe l'ondulation SVG (feTurbulence) trop gourmande sur mobile = anti-saccade */
  .se-flag svg g { filter: none !important; }
  .se-flag-kr {
    top: 0; bottom: auto; opacity: .70;
    -webkit-mask-image: linear-gradient(to bottom, #000 64%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 64%, transparent 100%);
  }
  .se-flag-ma {
    bottom: 0; top: auto; opacity: .72;
    -webkit-mask-image: linear-gradient(to top, #000 64%, transparent 100%);
            mask-image: linear-gradient(to top, #000 64%, transparent 100%);
  }
}

/* --- Mobile : menu burger deroulant (ouverture geree par reveal.js) --- */
@media (max-width: 980px) {
  header.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 22px 28px 26px;
    box-shadow: 0 18px 40px rgba(47,51,56,.14);
    border-bottom: 1px solid var(--separateur);
  }
  header.nav-open .nav-links a,
  .home header.nav-open .nav-links a { color: var(--anthracite); opacity: .92; font-size: 1rem; }
  .home header.nav-open { background: rgba(255,255,255,.97); }
  .home header.nav-open .logo img { filter: none; }
}

/* --- Mobile : cartes produits en 2 colonnes (sinon images geantes) --- */
@media (max-width: 560px) {
  .produits-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  /* flacon plus petit : la vignette n'est plus carree mais une bande basse */
  .produit .thumb { aspect-ratio: auto; height: 120px; padding: 12px; }
  .produit .thumb img { max-height: 96px; }
  .produit .info { padding: 14px; }
  .produit .info h4 { font-size: .9rem; }
  .produit .info .capacity { margin-bottom: 10px; }
  .produit .price-locked { font-size: .72rem; padding: 8px 10px; }

  /* Fiche produit : photo beaucoup plus petite (carte centree, ne domine plus) */
  .fiche-media { aspect-ratio: auto; max-width: 200px; margin: 0 auto; padding: 18px; }
  .fiche-media img { max-height: 190px; }
}

/* --- Mobile : raccourcir le scroll = blocs "4 elements" en 2 colonnes + sections compactes --- */
@media (max-width: 560px) {
  .valeurs-grid, .aud-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .valeur { padding: 10px 6px; }
  .valeur .icon { width: 50px; height: 50px; margin-bottom: 12px; font-size: 1.2rem; }
  .valeur h3 { margin-bottom: 6px; font-size: 1.05rem; }
  .valeur p { font-size: .82rem; line-height: 1.5; }
  .trust-card { padding: 20px 14px; }
  .aud-content { padding: 22px 16px; }
  section { padding: 48px 0; }
}

/* ============================================================
   Pages légales (mentions légales · CGV · confidentialité)
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; font-weight: 600; color: var(--anthracite); margin: 40px 0 14px; letter-spacing: -.01em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 600; color: var(--anthracite); margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { color: var(--gris); margin-bottom: 8px; font-size: .95rem; }
.legal strong { color: var(--anthracite); font-weight: 600; }
.legal a { color: var(--gold-hover); }
.legal a:hover { text-decoration: underline; }
.legal-meta { background: var(--bg); border: 1px solid var(--separateur); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px; }
.legal-meta p { margin-bottom: 6px; font-size: .95rem; }
.legal-meta p:last-child { margin-bottom: 0; }
.legal-maj { font-size: .85rem; color: var(--argent); margin-top: 44px; font-style: italic; }
/* Encadré « à valider » (provisoire, retiré une fois les CGV finalisées) */
.legal-todo { background: #fff8ec; border: 1px solid #e8d6a8; border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; font-size: .9rem; color: #8a6d2f; }
.legal-todo strong { color: #6f561f; }
/* Liens légaux du pied de page (désormais cliquables) */
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ===========================================================
   PANIER & COMMANDE WOOCOMMERCE (blocs « Cart/Checkout Block »)
   Habillage charte JeuDérm (navy + or champagne + Poppins).
   Cible uniquement les pages WooCommerce (body .woocommerce-cart /
   .woocommerce-checkout + classes .wc-block-*).
   =========================================================== */

/* Largeur + typo : on élargit la page panier/commande (gabarit page.php
   est bridé à 820px par un style inline → on le relâche pour le panier) */
body.woocommerce-cart main.container,
body.woocommerce-checkout main.container {
  max-width: var(--max) !important;
  font-family: 'Poppins', sans-serif;
  color: var(--anthracite);
}

/* Titre de page « Panier » / « Commander » */
body.woocommerce-cart main.container > h1,
body.woocommerce-checkout main.container > h1 {
  text-align: center;
  font-weight: 600;
  color: var(--anthracite);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

/* ---------- ÉTAT VIDE ---------- */
.wp-block-woocommerce-empty-cart-block { text-align: center; padding: 16px 0 4px; }

/* Masquer l'illustration générique (le « visage triste ») */
.wp-block-woocommerce-empty-cart-block > .wp-block-image,
.wp-block-woocommerce-empty-cart-block > figure,
.wp-block-woocommerce-empty-cart-block > img,
.wc-block-cart__empty-cart__image { display: none !important; }

/* Icône panier fine à la charte, en remplacement de l'illustration générique.
   On cible le ::before posé par WooCommerce via .with-empty-cart-icon, en
   réinitialisant fond/masque/arrondi (sinon le « visage triste » reste dessous). */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  content: "" !important;
  display: block;
  width: 58px !important; height: 58px !important;
  margin: 8px auto 18px !important;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bb9a63' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 12.2a1.5 1.5 0 0 0 1.5 1.2h7.8a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%3E%3Ccircle cx='10' cy='20.5' r='1.3'/%3E%3Ccircle cx='17' cy='20.5' r='1.3'/%3E%3C/svg%3E") !important;
  background-color: transparent !important;
  -webkit-mask: none !important; mask: none !important;
  border-radius: 0 !important; box-shadow: none !important;
}
.wc-block-cart__empty-cart__title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  color: var(--anthracite) !important;
  margin-bottom: 6px;
}

/* « Nouveau dans la boutique » : titre calmé (était surdimensionné).
   Le titre du panier vide « .with-empty-cart-icon » est EXCLU (il garde 1.2rem). */
.wp-block-woocommerce-empty-cart-block > h2.wp-block-heading:not(.with-empty-cart-icon),
.wc-block-grid__heading {
  text-align: center;
  font-size: 1.55rem !important;
  font-weight: 600 !important;
  color: var(--anthracite) !important;
  letter-spacing: -0.01em;
  margin: 34px 0 22px !important;
}
/* Séparateur décoratif « ··· » du panier vide : retiré pour épurer */
.wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wp-block-woocommerce-empty-cart-block hr { display: none !important; }

/* Grille de produits suggérés = cartes charte (blanc, arrondi 16px, ombre douce) */
.wc-block-grid__products { gap: 22px !important; }
.wc-block-grid__product {
  background: var(--blanc);
  border: 1px solid var(--separateur);
  border-radius: var(--radius);
  padding: 16px 16px 20px;
  box-shadow: var(--ombre);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s cubic-bezier(.16,1,.3,1);
}
.wc-block-grid__product:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.wc-block-grid__product-image img { max-height: 200px; width: auto; object-fit: contain; }
.wc-block-grid__product-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--anthracite);
  font-size: .95rem;
}
.wc-block-grid__product-price, .wc-block-grid__product .price { color: var(--gris); font-size: .9rem; }

/* ---------- ÉTAT REMPLI (préparé pour le lancement) ---------- */
.wc-block-cart-items { border: none; }
.wc-block-cart-items__row { border-bottom: 1px solid var(--separateur); }
.wc-block-cart-item__image img { border-radius: 12px; border: 1px solid var(--separateur); background: var(--blanc); }
.wc-block-components-product-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--anthracite) !important;
}
.wc-block-components-product-name:hover { color: var(--navy) !important; }
.wc-block-cart-item__remove-link { color: var(--gris); font-size: .78rem; }
.wc-block-cart-item__remove-link:hover { color: var(--anthracite); }

/* Sélecteur de quantité */
.wc-block-components-quantity-selector {
  border: 1px solid var(--separateur) !important;
  border-radius: 10px !important;
  background: var(--blanc);
}
.wc-block-components-quantity-selector__button { color: var(--anthracite); }
.wc-block-components-quantity-selector__input {
  color: var(--anthracite);
  font-family: 'Poppins', sans-serif;
}

/* Bloc « total » (colonne de droite) = carte blanche arrondie */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-block {
  background: var(--blanc);
  border: 1px solid var(--separateur);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 22px 22px 10px;
}
.wc-block-components-totals-item__label { color: var(--gris); font-family: 'Poppins', sans-serif; }
.wc-block-components-totals-item__value { color: var(--anthracite); font-weight: 500; font-family: 'Poppins', sans-serif; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--navy); font-weight: 600; font-size: 1.15rem;
}

/* Coupon */
.wc-block-components-totals-coupon__input input {
  border: 1px solid var(--separateur) !important;
  border-radius: 10px !important;
  font-family: 'Poppins', sans-serif;
}

/* ---------- BOUTONS (génériques aux blocs WooCommerce) ---------- */
.wc-block-components-button.wc-block-components-button--contained,
.wc-block-cart__submit-button,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button {
  background: var(--navy) !important;
  color: #fff !important;
  border: 1px solid var(--navy) !important;
  border-radius: 12px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
  padding: 15px 28px !important;
  box-shadow: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.wc-block-components-button.wc-block-components-button--contained:hover,
.wc-block-cart__submit-button:hover {
  background: #283344 !important;
  transform: translateY(-2px);
  box-shadow: var(--ombre) !important;
}
.wc-block-components-button.wc-block-components-button--outlined {
  color: var(--navy) !important;
  border: 1px solid var(--argent) !important;
  border-radius: 12px !important;
  font-family: 'Poppins', sans-serif !important;
}
.wc-block-components-button.wc-block-components-button--outlined:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

/* ---------- NOTICES ---------- */
.wc-block-components-notice-banner {
  border-radius: 12px !important;
  font-family: 'Poppins', sans-serif;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  body.woocommerce-cart main.container,
  body.woocommerce-checkout main.container { padding-left: 14px !important; padding-right: 14px !important; }
  .wp-block-woocommerce-product-new h2, .wc-block-grid__heading { font-size: 1.3rem !important; }
}

/* ---------- MOUVEMENT RÉDUIT ---------- */
@media (prefers-reduced-motion: reduce) {
  .wc-block-grid__product,
  .wc-block-components-button.wc-block-components-button--contained,
  .wc-block-cart__submit-button { transition: none !important; }
  .wc-block-grid__product:hover { transform: none !important; }
  .wc-block-components-button.wc-block-components-button--contained:hover { transform: none !important; }
}

/* ============================================================
   MODAL — Conditions de commande (pop-up page Produits Pro)
   ============================================================ */
.hero-cond-link { display:inline-block; margin-top:16px; font-size:0.9rem; color:var(--gold-hover); text-decoration:none; border-bottom:1px solid transparent; transition:border-color .2s; }
.hero-cond-link:hover { border-bottom-color:var(--gold-hover); }

.cmd-modal { position:fixed; inset:0; z-index:2000; display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease; }
.cmd-modal.open { opacity:1; visibility:visible; }
.cmd-backdrop { position:absolute; inset:0; background:rgba(35,38,42,0.55); backdrop-filter:blur(4px); }
.cmd-dialog { position:relative; z-index:1; display:grid; grid-template-columns:0.82fr 1fr; width:100%; max-width:880px; max-height:92vh; overflow:hidden; background:var(--blanc); border-radius:22px; box-shadow:var(--ombre-forte); transform:translateY(16px) scale(0.98); transition:transform .35s cubic-bezier(0.2,0.7,0.2,1); }
.cmd-modal.open .cmd-dialog { transform:translateY(0) scale(1); }
.cmd-close { position:absolute; top:14px; right:16px; z-index:3; width:38px; height:38px; border:none; border-radius:50%; background:rgba(255,255,255,0.9); color:var(--anthracite); font-size:1.5rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 10px rgba(47,51,56,0.14); transition:background .2s, transform .2s; }
.cmd-close:hover { background:var(--blanc); transform:rotate(90deg); }

.cmd-visual { position:relative; overflow:hidden; background:var(--bg); }
.cmd-visual-img { width:100%; height:100%; object-fit:cover; display:block; }
.cmd-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg, rgba(47,51,56,0.05), rgba(164,133,79,0.10)); }

.cmd-content { padding:44px 40px 38px; overflow-y:auto; }
.cmd-eyebrow { font-size:0.72rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold-hover); font-weight:600; display:block; margin-bottom:12px; }
.cmd-content h2 { font-size:1.7rem; margin-bottom:12px; }
.cmd-intro { font-size:0.94rem; line-height:1.6; margin-bottom:26px; }
.cmd-list { list-style:none; padding:0; margin:0 0 24px; }
.cmd-list li { display:flex; gap:16px; padding:16px 0; border-top:1px solid var(--separateur); }
.cmd-list li:first-child { border-top:none; padding-top:0; }
.cmd-num { flex-shrink:0; width:30px; height:30px; border-radius:50%; background:var(--gold); color:var(--blanc); display:flex; align-items:center; justify-content:center; font-size:0.9rem; font-weight:600; }
.cmd-list strong { display:block; color:var(--anthracite); font-weight:500; font-size:1rem; margin-bottom:3px; }
.cmd-list span:not(.cmd-num) { display:block; color:var(--gris); font-size:0.9rem; line-height:1.55; font-weight:300; }
.cmd-list b { color:var(--gold-hover); font-weight:600; }
.cmd-contact { font-size:0.9rem; line-height:1.55; color:var(--gris); font-weight:300; margin:0 0 20px; }
.cmd-actions { display:flex; gap:12px; flex-wrap:wrap; }
.cmd-actions .btn { font-size:0.9rem; }
.cmd-btn-wa { background:#1f9d55; color:#fff; border-color:#1f9d55; display:inline-flex; align-items:center; justify-content:center; }
.cmd-btn-wa:hover { background:#17843f; border-color:#17843f; transform:translateY(-2px); box-shadow:var(--ombre); }

@media (max-width:720px) {
  .cmd-dialog { grid-template-columns:1fr; max-height:90vh; overflow-y:auto; }
  .cmd-visual { max-height:160px; }
  .cmd-content { padding:30px 26px; }
  .cmd-content h2 { font-size:1.45rem; }
  .cmd-actions .btn { flex:1 1 auto; text-align:center; }
}

/* ============================================================
   RÉSERVER UN APPEL — onglet vertical fixe (façon SBK) + page
   Onglet injecté sur toutes les pages par reserver.js.
   ============================================================ */
.rdv-tab {
  position: fixed;
  right: 24px; bottom: 24px; top: auto;
  transform: none;
  z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; padding: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  border: 1px solid rgba(187,154,99,.55);
  box-shadow: 0 8px 24px rgba(26,34,48,.32);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.rdv-tab:hover { background: #10182a; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(26,34,48,.38); }
/* le libellé reste dans le DOM pour les lecteurs d'écran, masqué à l'œil */
.rdv-tab > span:not(.rdv-ic) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* Masqué pendant l'intro plein écran de l'accueil (réapparaît à la fin) */
body.se-active .rdv-tab { display: none; }
.rdv-tab .rdv-ic { color: var(--gold); display: flex; }
.rdv-tab .rdv-ic svg { width: 23px; height: 23px; display: block; }
@media (max-width: 700px) {
  .rdv-tab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
  .rdv-tab .rdv-ic svg { width: 21px; height: 21px; }
}

/* ---- Page reserver-un-appel : widget Setmore ---- */
.reserver-wrap { max-width: 900px; margin: 0 auto; }
.reserver-intro {
  text-align: center; color: var(--gris);
  font-size: 1.02rem; line-height: 1.7;
  max-width: 720px; margin: 0 auto 34px;
}
.reserver-intro strong { color: var(--anthracite); font-weight: 600; }
.reserver-embed {
  position: relative; width: 100%; height: 720px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--separateur);
  box-shadow: var(--ombre); background: #fff;
}
/* Placeholder de chargement (visible tant que le widget n'a pas pris la main) */
.reserver-loading {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px; color: var(--gris);
}
.reserver-loading a { color: var(--gold-hover); font-weight: 600; }
.rl-spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--separateur); border-top-color: var(--gold);
  animation: rl-rot .8s linear infinite;
}
@keyframes rl-rot { to { transform: rotate(360deg); } }
/* L'iframe reste transparente tant que Setmore n'a pas rendu : le placeholder
   (spinner + lien de secours) est alors visible dessous. Une fois chargé,
   le widget rend son propre fond et masque le placeholder. */
.reserver-embed iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.reserver-alt {
  text-align: center; margin-top: 24px;
  color: var(--gris); font-size: .92rem; line-height: 1.6;
}
.reserver-alt a { color: var(--gold-hover); font-weight: 600; }
@media (max-width: 600px) {
  .reserver-embed { height: 640px; }
}

/* Hero : le logo garde une taille raisonnable sur petit écran
   (ratio natif 4.5:1, donc 62px de haut = ~280px de large, trop sur 375px) */
@media (max-width: 700px) {
  .hero-clean .hero-logo { height: 40px; margin-bottom: 18px; }
}

/* ============================================================
   ACCUEIL — le menu se superpose à l'image (elle occupe tout le haut)
   Sur les autres pages le header reste "sticky" et pousse le contenu.
   ============================================================ */
.home header { position: fixed; left: 0; right: 0; top: 0; }

/* Textes du hero : plus mesurés, surtout sur téléphone */
.home .hero-clean--cover h1 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); }
.home .hero-clean--cover .lead { font-size: 1.02rem; }
.home .hero-clean--cover .hero-logo { height: 48px; margin-bottom: 18px; }

@media (max-width: 700px) {
  .home .hero-clean--cover h1 { font-size: 1.5rem; line-height: 1.22; }
  .home .hero-clean--cover .lead { font-size: .95rem; }
  .home .hero-clean--cover .hero-logo { height: 34px; margin-bottom: 14px; }
  .home .hero-clean--cover .eyebrow { font-size: .68rem; }
}

/* Mobile : l'image est trop courte (ratio 16:9 sur 375px = ~210px de haut)
   pour passer sous le menu sans se faire amputer du drapeau et du wordmark.
   On la fait donc démarrer sous le header sur petit écran. */
@media (max-width: 700px) {
  .home .hero-clean--cover { padding-top: 0; }
}

/* Style de base des intitulés de section : garantit un rendu identique
   partout, y compris hors des conteneurs prévus (.section-head, .page-hero…).
   Sans ça, un .eyebrow placé dans un simple <div> restait en texte brut. */
.eyebrow {
  display: block; font-size: .9rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-hover); font-weight: 500;
  margin-bottom: 14px;
}

/* ---- Menu : chaque intitulé reste sur une seule ligne ----
   "Produits Pro" se coupait en "Produits" / "Pro", ce qui déséquilibrait
   toute la barre. On empêche la césure et on resserre un peu l'écartement
   pour que l'ensemble tienne sur une ligne. */
.nav-links { gap: 22px; align-items: center; }
.nav-links a { white-space: nowrap; }
/* l'accueil a une entrée de plus ("Catalogues") : on resserre plus tôt */
@media (max-width: 1380px) { .nav-links { gap: 17px; } .nav-links a { font-size: .87rem; } }
@media (max-width: 1150px) { .nav-links { gap: 13px; } .nav-links a { font-size: .82rem; } }

/* Voile blanc très léger derrière le menu, sur le haut de l'image :
   le logo et les liens restent lisibles quelle que soit la zone de la
   photo qui se trouve dessous, sans masquer le visuel. */
.home .hero-clean--cover { position: relative; }
.home .hero-clean--cover::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px;
  background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.28) 55%, rgba(255,255,255,0) 100%);
  pointer-events: none; z-index: 1;
}
@media (max-width: 700px) { .home .hero-clean--cover::before { height: 105px; } }

/* ---- Sortie de l'intro plein écran ----
   Le contenu de l'accueil se dévoile pendant que le voile s'efface,
   au lieu d'apparaître d'un bloc à la fin. */
body.se-active .hero-clean--cover { opacity: 0; transform: scale(1.03); }
body.se-reveal .hero-clean--cover {
  opacity: 1; transform: none;
  transition: opacity .85s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
}
/* Sécurité : si l'intro ne se joue pas (2e visite, JS coupé), rien n'est masqué */
body:not(.se-active) .hero-clean--cover { opacity: 1; transform: none; }

/* Intro : lissage de l'agrandissement. Les impulsions de la molette
   arrivent par paquets irreguliers ; une transition courte relie les
   etapes entre elles et evite l'effet saccade. */
.se-media { transition: width .22s cubic-bezier(.25,.6,.35,1), height .22s cubic-bezier(.25,.6,.35,1), border-radius .22s linear; }

/* ============================================================
   HEADER — optimisation : bascule vers le menu burger plus tot
   8 liens + logo + bouton n'entrent proprement qu'au-dela de ~1200px.
   Entre 980 et 1200px la barre s'ecrasait (bouton sur 2 lignes,
   debordement). On passe donc au menu burger des 1200px. Le menu
   deroulant (ouverture geree par reveal.js via .nav-open) est
   reconduit au meme seuil.
   ============================================================ */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .burger { display: block; }

  header.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 22px 28px 26px;
    box-shadow: 0 18px 40px rgba(47,51,56,.14);
    border-bottom: 1px solid var(--separateur);
  }
  header.nav-open .nav-links li:first-child { display: block; } /* "Accueil" visible dans le menu deroulant */
  header.nav-open .nav-links a,
  .home header.nav-open .nav-links a { color: var(--anthracite); opacity: .92; font-size: 1rem; }
  .home header.nav-open { background: rgba(255,255,255,.97); }
  .home header.nav-open .logo img { filter: none; }
}
