/* KAKANA : charte du groupe Marwell.
   Lilas et violet pour KAKANA, encre brune, or pour les appels a l'action.
   Mobile d'abord : tout est verifie en 390 px avant 1440 px. */

:root {
  --ink: #3d1e1d;
  --ink-soft: #6e5250;
  --line: #e6d9d3;
  --cream: #f7f2ee;
  --nude: #efe3dc;
  --lilac: #f5ebf3;
  --violet: #8b5fa8;
  --violet-deep: #6f4a88;
  --brown: #623d36;
  --gold: #dfb84e;
  --gold-deep: #c9a13a;
  --sand: #b09072;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(61, 30, 29, .05), 0 8px 24px rgba(61, 30, 29, .06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 Inter, "Noto Sans Thai", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.18;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- En-tete ---------- */

header.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 242, 238, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-in {
  display: flex; align-items: center; gap: 14px;
  height: 62px;
  max-width: var(--max); margin: 0 auto; padding: 0 16px;
}

.logo img { height: 31px; width: auto; }

nav.main { display: none; gap: 26px; margin-left: auto; font-size: 14.5px; }
nav.main a { color: var(--ink-soft); padding: 6px 0; border-bottom: 1.5px solid transparent; }
nav.main a:hover, nav.main a[aria-current] { color: var(--ink); border-color: var(--violet); }

.top-act { margin-left: auto; display: flex; align-items: center; gap: 4px; }

/* Cibles tactiles 44 px : la surface deborde, le dessin reste fin. */
.icon-btn {
  position: relative;
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  color: var(--ink); font: inherit; font-size: 14px;
  border-radius: 12px;
}
.icon-btn:hover { background: var(--lilac); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

#pastille {
  position: absolute; top: 6px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--violet); color: #fff;
  border-radius: 9px;
  font-size: 10.5px; font-weight: 600; line-height: 17px; text-align: center;
}
#pastille[hidden] { display: none; }

/* Selecteur de langue : 3 pastilles, une seule ligne, jamais un menu */
.langues { display: flex; gap: 2px; background: var(--nude); border-radius: 12px; padding: 3px; }
.langues button {
  min-width: 34px; height: 30px; padding: 0 6px;
  border: 0; background: none; border-radius: 9px; cursor: pointer;
  font: 600 11.5px/1 Inter, sans-serif; letter-spacing: .04em;
  color: var(--ink-soft);
}
.langues button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(61,30,29,.12); }

/* Menu burger sous 860 px */
#burger { display: inline-flex; }
#menu-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 8px 16px 18px;
}
#menu-mobile.ouvert { display: block; }
#menu-mobile a {
  display: block; padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
#menu-mobile a:last-child { border-bottom: 0; }

/* ---------- Heros ---------- */

/* Mobile : le portrait occupe l'ecran, le texte se pose dessus.
   Bureau : deux colonnes, le portrait sort du cadre a droite. */
.hero { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); padding: 0; }

.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; background: var(--nude); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 16%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(61,30,29,0) 34%, rgba(61,30,29,.28) 58%, rgba(40,18,17,.86) 100%);
}

.hero-texte { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff; padding-bottom: 30px; }
.hero h1 { font-size: clamp(38px, 10.5vw, 62px); letter-spacing: -.02em; }
.hero .kicker {
  font: 600 11px/1 Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero p.chapo { font-size: 16px; color: rgba(255,255,255,.86); max-width: 44ch; margin: 16px 0 22px; }
.hero .btn.fant { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn.fant:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Bandeau de reassurance sous le heros */
.bandeau {
  background: var(--ink); color: rgba(255,255,255,.82);
  font: 500 11px/1.5 Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
}
.bandeau .wrap {
  -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 86%, transparent 100%);
  display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-top: 13px; padding-bottom: 13px; }
.bandeau .wrap::-webkit-scrollbar { display: none; }
.bandeau span { flex: 0 0 auto; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 Inter, "Noto Sans Thai", sans-serif;
  background: var(--ink); color: var(--cream);
  transition: transform .12s ease, background .16s ease;
}
.btn:hover { background: var(--brown); }
.btn:active { transform: scale(.98); }
.btn.or { background: var(--gold); color: var(--ink); }
.btn.or:hover { background: var(--gold-deep); }
.btn.violet { background: var(--violet); color: #fff; }
.btn.violet:hover { background: var(--violet-deep); }
.btn.fant { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.fant:hover { background: #fff; border-color: var(--ink); }
.btn.large { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Sections ---------- */

section { padding: 52px 0; }
section.lilas { background: var(--lilac); }

.titre-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.titre-sec h2 { font-size: clamp(25px, 6vw, 36px); }
.titre-sec p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; }

/* Onglets pills : toujours sur une ligne, defilables au doigt */
.filtres {
  display: flex; gap: 8px; margin-bottom: 26px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.filtres::-webkit-scrollbar { display: none; }
.filtres button {
  flex: 0 0 auto;
  min-height: 42px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: transparent; cursor: pointer;
  font: 500 14px/1 Inter, "Noto Sans Thai", sans-serif; color: var(--ink-soft);
  white-space: nowrap;
}
.filtres button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Nuancier ---------- */

/* La carte de teintes : c'est le coeur d'une marque de coloration,
   donc elle passe avant la grille marchande. */
.nuancier { background: var(--ink); color: var(--cream); }
.nuancier .titre-sec h2 { color: var(--cream); }
.nuancier .titre-sec p { color: rgba(255,255,255,.6); }

.piste {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory; scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px; padding: 0 20px 4px;
}
.piste::-webkit-scrollbar { display: none; }

.teinte { flex: 0 0 47%; scroll-snap-align: start; }
.teinte-vue { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #2a1413; }
.teinte-vue img { width: 100%; height: 100%; object-fit: cover; }
.teinte-nom { display: block; font-family: "Playfair Display", serif; font-size: 17px; margin-top: 11px; }
.teinte-ton { font-size: 12.5px; color: rgba(255,255,255,.58); display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.teinte-ton i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }

/* ---------- Grille produits ---------- */

.grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.carte {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.carte:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* Le visuel est le rendu sur cheveux, pas la boite : la boite passe
   en medaillon, toujours visible, jamais revelee au survol. */
.carte .vue { position: relative; aspect-ratio: 3 / 4; background: var(--nude); overflow: hidden; }
.carte .vue img.rendu { width: 100%; height: 100%; object-fit: cover; }
.carte .mini {
  position: absolute; right: 7px; bottom: 7px;
  /* 1/2, le ratio des boites KAKANA une fois le fond blanc rogne. Le cadre
     epouse donc la boite : plus de marge morte a l'interieur du medaillon. */
  width: 26%; aspect-ratio: 1 / 2;
  background: rgba(255,255,255,.94); border-radius: 9px;
  padding: 3px; box-shadow: 0 2px 10px rgba(61,30,29,.16);
}
.carte .mini img { width: 100%; height: 100%; object-fit: contain; }

.etiq {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.93);
  font: 600 10px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-deep);
}

.carte .corps { padding: 13px 14px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.carte .nuance { font-family: "Playfair Display", serif; font-size: 19.5px; line-height: 1.2; }
.carte .ton { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.carte .bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }

.pastille-couleur {
  width: 16px; height: 16px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  flex: 0 0 auto;
}


/* ---------- Trois gammes ---------- */

.gammes { display: grid; gap: 14px; }
.gamme {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 22px 20px 24px;
}
.gamme h3 { font-size: 22px; }
.gamme h3 a { color: inherit; text-decoration: none; }
.gamme h3 a:hover { text-decoration: underline; }
.gamme p { margin: 9px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.gamme .num { font: 600 11px/1 Inter, sans-serif; letter-spacing: .2em; color: var(--violet); display: block; margin-bottom: 12px; }

/* ---------- Pied ---------- */

footer.bas {
  background: var(--ink); color: var(--nude);
  padding: 46px 0 30px; margin-top: 30px;
}
footer.bas img { height: 26px; width: auto; margin-bottom: 18px; opacity: .95; }
footer.bas a { color: var(--nude); opacity: .75; }
footer.bas a:hover { opacity: 1; }
.pied-grille { display: grid; gap: 30px; margin-bottom: 30px; }
.pied-grille h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: Inter, "Noto Sans Thai", sans-serif; font-weight: 600; color: var(--gold); opacity: .92; margin-bottom: 6px; }
.pied-grille li { list-style: none; margin: 0; font-size: 14.5px; }
.pied-grille li a { display: inline-flex; align-items: center; min-height: 44px; }
.pied-grille ul { padding: 0; margin: 0; }
.pied-qr { display: none; }
@media (min-width: 900px) {
  .pied-qr { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; }
  footer.bas .pied-qr img { width: 96px; height: 96px; margin: 0; opacity: 1; border-radius: 8px; background: #fff; }
}
.bulle-line {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; background: #06c755; color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18); text-decoration: none;
}
.bulle-line:hover { background: #05b34c; }
@media (max-width: 699px) {
  .bulle-line { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .bulle-line svg { width: 26px; height: 26px; }
  .bulle-line > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.copie { border-top: 1px solid rgba(239,227,220,.16); padding-top: 20px; font-size: 13px; opacity: .6; }

.mentions-legales { padding: 14px 0; border-top: 1px solid var(--line); }
.mentions-legales p { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--ink-soft); opacity: .75; }

.detail { border-top: 1px solid var(--line); padding: 16px 0; }
.detail summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 28px;
}
.detail summary::-webkit-details-marker { display: none; }
.detail summary::after { content: "+"; font-size: 20px; color: var(--ink-soft); font-weight: 400; }
.detail[open] summary::after { content: "\2212"; }
.detail .dedans { padding-top: 11px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Langue ---------- */

[data-lang] { display: none; }
html[lang="en"] [data-lang~="en"],
html[lang="th"] [data-lang~="th"] { display: initial; }
html[lang="th"] body { font-family: "Noto Sans Thai", Inter, sans-serif; }

/* ---------- Grands ecrans ---------- */

@media (min-width: 640px) {
  .grille { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .gammes { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pied-grille { grid-template-columns: repeat(3, 1fr); }
  .teinte { flex: 0 0 30%; }
  section { padding: 66px 0; }
}

@media (min-width: 860px) {
  nav.main { display: flex; }
  #burger { display: none; }
  #menu-mobile { display: none !important; }
  .grille { grid-template-columns: repeat(4, 1fr); }
  .teinte { flex: 0 0 19%; }

  /* Le heros passe en deux colonnes : le texte respire sur le creme,
     le portrait sort du cadre a droite. */
  /* Plafond en pixels : au dela, l'image laisse voir le texte imprime
     sur la boite, en bas du cadrage. */
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
          min-height: 78vh; max-height: 760px; overflow: hidden; }
  .hero-media { aspect-ratio: auto; max-height: none; order: 2; }
  .hero-media::after { background: none; }
  .hero-media img { object-position: 50% 26%; }
  .hero-texte { position: static; order: 1; color: var(--ink); align-self: center; padding: 60px 0; }
  .hero-texte .wrap { max-width: 560px; margin-left: auto; margin-right: 0; padding-right: 48px; }
  .hero .kicker { color: var(--violet); }
  .hero p.chapo { color: var(--ink-soft); }
  .hero .btn.fant { color: var(--ink); border-color: var(--line); }
  .fiche { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 44px 0 20px; }
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Pages de marque ---------- */

/* En-tete de page interieure : pas de photo, le texte porte seul. */
.page-tete { padding: 38px 0 30px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-tete .kicker { font: 600 11.5px/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin: 0 0 12px; }
.page-tete h1 { font-size: clamp(28px, 7.2vw, 48px); line-height: 1.08; margin: 0; }
.page-tete .chapo { margin: 14px 0 0; color: var(--ink-soft); font-size: 16px; max-width: 58ch; }

/* Visuel de tete des pages editoriales : l'artwork d'origine du modele.
   Sur telephone il passe sous le texte, cadre bas pour ne pas manger l'ecran :
   object-position top garde le visage, c'est le buste qui se fait couper. */
.page-tete.avec-visuel .tete-visuel {
  display: block; width: 100%; max-width: 420px; height: auto;
  max-height: 300px; object-fit: cover; object-position: 50% 6%;
  margin: 26px auto 0; border-radius: 3px;
}


/* Une colonne de lecture : jamais plus de 66 caracteres par ligne. */
/* La colonne reste calee a gauche de la grille : un bloc centre a 64ch
   ne s'alignait plus avec le titre de la page. */
.colonne-texte > * { max-width: 64ch; }
.colonne-texte h2 { font-size: clamp(24px, 6vw, 32px); margin: 0 0 16px; }
.colonne-texte p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
.citation {
  font-family: "Playfair Display", serif; font-style: italic;
  font-size: clamp(20px, 5vw, 26px); color: var(--violet-deep);
  border-left: 2px solid var(--gold); padding-left: 18px; margin-top: 26px;
}

/* Le manifeste de la page d'accueil : la signature, puis la promesse. */
.manifeste { background: var(--nude); text-align: center; }
.manifeste .signe {
  font-family: "Playfair Display", serif; font-style: italic;
  font-size: clamp(26px, 7vw, 40px); color: var(--brown); margin: 0;
}
.manifeste .phrase {
  margin: 18px auto 0; max-width: 60ch;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.75;
}

/* ---------- Ou acheter ---------- */

/* Ce bloc remplace le panier : il envoie vers les enseignes (logo cliquable). */
.achat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rev {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 96px; padding: 14px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); text-decoration: none; text-align: center;
  transition: border-color .18s, transform .18s;
}
.rev:hover { border-color: var(--violet); transform: translateY(-1px); }
.rev-logo { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; max-width: 100%; }
.rev-logo img { height: 30px; width: auto; max-width: 136px; object-fit: contain; display: block; }
.rev-logo.marque img { height: 26px; max-width: 26px; }
.rev-nom { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.rev-lieu { font-size: 12.5px; color: var(--ink-soft); line-height: 1.3; }
@media (min-width: 720px) {
  .achat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Version fiche produit : plus serree. */
.achat.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 0 6px; }
.achat.compact .rev { min-height: 78px; padding: 10px 8px; border-radius: 14px; gap: 6px; }
.achat.compact .rev-logo { height: 30px; }
.achat.compact .rev-logo img { height: 24px; max-width: 110px; }
.achat.compact .rev-logo.marque img { height: 22px; max-width: 22px; }
.achat.compact .rev-nom { font-size: 14.5px; }
.achat.compact .rev-lieu { font-size: 11.5px; }

/* ---------- Ingredients ---------- */

/* Pastilles illustrees : 3 par ligne sur telephone, le detail s'ouvre au toucher (page Marque). */
.ingr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
.ingr-c { text-align: center; }
.ingr-c img { display: block; width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; margin: 0 auto 10px; }
.ingr-c h3 { font-size: 15px; margin: 0 0 3px; line-height: 1.25; }
.ingr-c p, .ingr-c .tag { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.ingr-c button {
  display: block; width: 100%; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-align: center; cursor: pointer; border-radius: var(--radius);
}
.ingr-c button .tag { display: block; }
.ingr-c button:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.ingr-feuille { position: fixed; inset: 0; z-index: 60; background: rgba(61,30,29,.45); display: flex; align-items: flex-end; justify-content: center; }
.ingr-feuille[hidden] { display: none; }
.ingr-feuille-c { position: relative; background: #fff; width: 100%; max-width: 480px; border-radius: 22px 22px 0 0; padding: 26px 24px 34px; text-align: center; }
.ingr-feuille-c img { width: 140px; height: 140px; object-fit: cover; border-radius: 20px; margin: 0 auto 12px; display: block; }
.ingr-feuille-c h3 { font-size: 20px; margin: 0 0 8px; }
.ingr-feuille-c p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.ingr-fermer { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
@media (min-width: 760px) { .ingr-feuille { align-items: center; } .ingr-feuille-c { border-radius: 22px; } }

/* ---------- Comparatif ---------- */

/* Un tableau a 3 colonnes est illisible en 390 px : une carte par axe. */
.compare { display: grid; gap: 12px; }
.cmp { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 16px 18px 18px; }
.cmp h3 { font-size: 15px; margin: 0 0 12px; font-family: Inter, "Noto Sans Thai", sans-serif; font-weight: 600; }
.cmp p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; display: flex; gap: 10px; align-items: baseline; }
.cmp p:last-child { margin-bottom: 0; }
.cmp p span {
  flex: 0 0 76px; font: 600 10px/1.6 Inter, sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
}
.cmp-a { color: var(--ink-soft); }
.cmp-a span { color: var(--sand); }
.cmp-n { color: var(--ink); font-weight: 500; }
.cmp-n span { color: var(--violet); }

/* ---------- Mode d'emploi ---------- */

.etapes { margin: 0; padding: 0; list-style: none; counter-reset: pas; }
.etapes li {
  counter-increment: pas; position: relative;
  padding: 0 0 18px 42px; font-size: 15px; line-height: 1.7; color: var(--ink-soft);
}
.etapes li::before {
  content: counter(pas); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lilac); color: var(--violet-deep);
  font: 600 13px/28px Inter, sans-serif; text-align: center;
}
.etapes li:last-child { padding-bottom: 0; }

.boite { margin: 0; padding: 0; list-style: none; }
.boite li { position: relative; padding: 0 0 8px 20px; font-size: 14.5px; color: var(--ink-soft); }
.boite li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Liste de points valides : precautions, offre partenaires. */
.cochee { margin: 0; padding: 0; list-style: none; }
.cochee li { position: relative; padding: 0 0 14px 30px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.cochee li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 11px; height: 6px; border-left: 2px solid var(--violet); border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
}

/* La page conseils : les etapes, puis ce que contient la boite. */
.mode { display: grid; gap: 26px; }
.mode-texte h2 { font-size: clamp(24px, 6vw, 32px); margin: 0 0 8px; }
.mode-texte .chapo { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 24px; max-width: 56ch; }
.mode-aside { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 22px; }
.mode-aside h3 { font-size: 17px; margin: 0 0 14px; }
.mode-aside .btn { margin-top: 16px; }

/* Onglets de gamme : meme forme que les filtres du catalogue. */
.onglets { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.onglets::-webkit-scrollbar { display: none; }
.onglets button {
  flex: 0 0 auto; min-height: 44px; padding: 0 20px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: 500 14px/1 Inter, "Noto Sans Thai", sans-serif; color: var(--ink); cursor: pointer;
}
.onglets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Portrait de teinte ---------- */
/* Cette page n'est pas une fiche de vente : une image pleine page, un nom,
   un texte. Le packshot ne revient que la ou on parle de la boite. */

.pt-tete { display: grid; }
.pt-vue { background: var(--nude); aspect-ratio: 3 / 4; overflow: hidden; }
.pt-vue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-dire { padding: 34px 20px 40px; }
.pt-gamme {
  margin: 0 0 14px; font: 600 11.5px/1 Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: var(--violet);
}
.pt-nom { margin: 0; font-size: clamp(38px, 11vw, 64px); line-height: 1.04; }
.pt-ton {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 0;
  color: var(--ink-soft); font-size: 15.5px;
}
.pt-chapo {
  margin: 22px 0 0; font-size: 17px; line-height: 1.8;
  color: var(--ink-soft); max-width: 46ch;
}
.pt-croise { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 0; }
.pt-croise > span { font-size: 13px; color: var(--ink-soft); }
.pt-croise a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--lilac);
  color: var(--violet-deep); font: 500 14px/1 Inter, "Noto Sans Thai", sans-serif;
  text-decoration: none;
}
.pt-croise a:hover { border-color: var(--violet); }

@media (min-width: 900px) {
  .pt-tete { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .pt-vue { aspect-ratio: auto; height: min(84vh, 780px); }
  .pt-dire { padding: 0 clamp(36px, 5vw, 80px); }
}

/* Passer d'une teinte a l'autre : de la navigation, pas un catalogue. */
.bande-teintes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.bande-lbl {
  margin: 0 0 16px; font: 600 11.5px/1 Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.bande-liste {
  display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px; scroll-snap-type: x proximity;
}
.bande-liste::-webkit-scrollbar { display: none; }
.bande-liste a {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 9px;
  min-width: 68px; min-height: 44px; text-decoration: none; scroll-snap-align: start;
}
.bande-pastille {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line);
}
.bande-liste a[aria-current] .bande-pastille { box-shadow: 0 0 0 2px var(--violet); }
.bande-nom {
  font: 500 12.5px/1.35 Inter, "Noto Sans Thai", sans-serif; color: var(--ink-soft);
  text-align: center; max-width: 88px;
}
.bande-liste a[aria-current] .bande-nom { color: var(--ink); }

/* Le geste, en toutes lettres : pas un accordeon qu'il faut deplier. */
.rituel { background: var(--cream); padding: clamp(46px, 9vw, 84px) 0; }
.rituel-titre { margin: 0 0 30px; font-size: clamp(24px, 5.5vw, 34px); }
.rituel-pas { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.rituel-pas li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.rituel-num {
  font: 500 15px/1 "Playfair Display", serif; color: var(--violet);
  padding-top: 3px; letter-spacing: .06em;
}
.rituel-pas p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
@media (min-width: 760px) { .rituel-pas { grid-template-columns: repeat(3, 1fr); gap: 34px; } }

/* La boite : montree une fois, a l'endroit ou elle a du sens. */
.boite-sec { padding: clamp(46px, 9vw, 84px) 0; }
.boite-grille { display: grid; gap: 30px; align-items: center; }
.boite-vue {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1; display: grid; place-items: center; padding: 22px;
}
.boite-vue img { width: 100%; height: 100%; object-fit: contain; }
.boite-vignettes { display: flex; gap: 10px; margin-top: 12px; }
.boite-vignettes button {
  flex: 0 0 auto; width: 64px; height: 64px; padding: 4px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.boite-vignettes button[aria-current="true"] { border-color: var(--ink); }
.boite-vignettes img { width: 100%; height: 100%; object-fit: contain; display: block; }
.boite-titre { margin: 0 0 6px; font-size: clamp(22px, 5vw, 30px); }
.boite-format { margin: 0 0 20px; font-size: 13.5px; color: var(--ink-soft); }
.boite-ingr { margin: 22px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.boite-ingr a { display: inline-block; margin-left: 6px; color: var(--violet); text-decoration: underline; }
@media (min-width: 760px) { .boite-grille { grid-template-columns: 1fr 1.1fr; gap: 54px; } }

.ou-sec { background: var(--lilac); padding: clamp(46px, 9vw, 84px) 0; }
.ou-titre { margin: 0 0 8px; font-size: clamp(22px, 5vw, 30px); }
.ou-sous { margin: 0 0 24px; font-size: 15px; color: var(--ink-soft); max-width: 46ch; }

.mentions { margin: 34px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); max-width: 68ch; }
.mentions.faible { margin: 10px 0 40px; opacity: .6; }

/* ---------- Carte produit sans prix ---------- */

.carte .format { font-size: 13px; color: var(--ink-soft); }
.lien-fiche {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 13.5px/1 Inter, "Noto Sans Thai", sans-serif; color: var(--violet-deep);
  min-height: 44px; text-decoration: none;
}
.lien-fiche svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lien-fiche:hover { color: var(--violet); }

/* ---------- Page partenaires ---------- */

.pro-grille { display: grid; gap: 30px; }
.pro-bloc h2 { font-size: clamp(22px, 5.5vw, 28px); margin: 0 0 18px; }
.contact { margin: 0 0 24px; padding: 0; list-style: none; }
.contact li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact .lbl { font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact a { font-size: 16px; color: var(--violet-deep); font-weight: 500; }
.fin-note { font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 0; }
.societe { font-size: 15px; line-height: 1.9; color: var(--ink-soft); }

/* ---------- Grands ecrans, pages de marque ---------- */

@media (min-width: 640px) {
  .page-tete { padding: 56px 0 44px; }
  .ingr { gap: 28px 16px; }
  .compare { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .achat { gap: 12px; }
  .pro-grille { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (min-width: 860px) {
  .ingr { grid-template-columns: repeat(6, 1fr); }
  .ingr.dix { grid-template-columns: repeat(5, 1fr); }
  .compare { grid-template-columns: repeat(3, 1fr); }
  .mode { grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
}

@media (min-width: 760px) {
  .page-tete.avec-visuel .wrap {
    display: grid; grid-template-columns: 1fr .82fr;
    gap: 44px; align-items: center;
  }
  .page-tete.avec-visuel .tete-texte { min-width: 0; }
  .page-tete.avec-visuel .tete-visuel {
    max-width: none; max-height: none; aspect-ratio: 4 / 5;
    object-position: 50% 0; margin: 0;
  }
}

/* ---------- Avis clients : vrais avis Lazada, texte d'origine en thai ---------- */

.avis-tete { display: grid; gap: 22px; margin-bottom: 26px; }
.avis-note { display: flex; align-items: center; gap: 14px; }
.avis-note strong { font-family: "Playfair Display", serif; font-size: 58px; line-height: 1; color: var(--ink); }
.avis-sur { font-size: 20px; color: var(--ink-soft); margin-left: -8px; align-self: flex-end; padding-bottom: 8px; }
.avis-note p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.avis-etoiles { color: var(--gold-deep); letter-spacing: 2px; font-size: 16px; }
.avis-tete h2 { font-size: clamp(25px, 6vw, 36px); margin: 0 0 12px; }
.avis-cites { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.avis-cites li { background: var(--lilac); color: var(--violet-deep); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.avis-piste {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 -20px; padding: 2px 20px 6px; scroll-padding-left: 20px;
}
.avis-piste::-webkit-scrollbar { display: none; }
.avis-c {
  flex: 0 0 82%; scroll-snap-align: start; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 12px;
}
.avis-c blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.avis-trad { margin: -4px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); font-style: italic; }
.avis-c figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; }
.avis-qui { font-weight: 600; color: var(--ink); }
.avis-teinte { display: inline-flex; align-items: center; gap: 6px; }
.avis-teinte i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.avis-date { margin-left: auto; }
.avis-source { margin: 22px 0 0; }
@media (min-width: 760px) {
  .avis-tete { grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
  .avis-tete > div:last-child { border-left: 1px solid var(--line); padding-left: 48px; }
  .avis-piste { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }
}
html[lang="en"] .avis-trad { display: block; }
