/* =============================================================================
   L'ÉTHIQUETTE — Design System (LOT 0 / SOCLE)
   Portage du prototype React GELÉ (index.css) vers Ave Child.
   RÈGLE ABSOLUE : tout est scopé sous .lqt-ds — AUCUNE règle globale.
   Aucune police importée ici (Josefin Sans est déjà auto-hébergée par le
   plugin L'ÉTHIQUETTE : handle "lethiquette-ai-fonts-public", SIL OFL).
   ============================================================================= */

/* ---------- Modèle de boîte (scopé, indépendant de l'hôte) ---------- */
.lqt-ds, .lqt-ds *, .lqt-ds *::before, .lqt-ds *::after { box-sizing: border-box; }

/* ---------- Tokens (portés sur .lqt-ds, jamais sur :root) ---------- */
.lqt-ds {
  --teal: #126B7D;
  --teal-dark: #0C4A57;
  --terra: #D67856;
  --terra-deep: #C0603F;
  --brown: #8D513B;
  --gold: #C9A25A;
  --terra-cta: #B4572F;
  --terra-cta-dark: #99492A;
  --terra-text: #B4572F;
  --gold-text: #806529;
  --gold-strong: #DCC079;
  --paper: #FAF7F2;
  --paper-cream: #F6EFE6;
  --paper-rose: #F4E9E2;
  --paper-sand: #EDE4D3;
  --paper-cold: #EEF1F2;
  --ink: #141414;
  --ink-soft: #4A4642;
  --line: rgba(20, 20, 20, .12);
  --white: #ffffff;

  background: var(--paper);
  color: var(--ink);
  font-family: 'Josefin Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.lqt-ds ::selection { background: var(--teal); color: var(--paper); }

/* ---------- Typographie ---------- */
.lqt-ds .eyebrow {
  text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.72rem;
  font-weight: 600; color: var(--teal);
}
.lqt-ds .eyebrow-line { display: inline-flex; align-items: center; gap: .75rem; }
.lqt-ds .eyebrow-line::before { content: ""; width: 34px; height: 1px; background: var(--terra); display: inline-block; }

.lqt-ds .display { font-weight: 300; line-height: 0.98; letter-spacing: -0.02em; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.lqt-ds .display-xl { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 200; line-height: 0.95; letter-spacing: -0.03em; }
.lqt-ds .h-section { font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; font-size: clamp(2rem, 4vw, 3.2rem); }
.lqt-ds .lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); font-weight: 300; }
.lqt-ds .serif-accent { font-style: italic; font-weight: 300; }

/* ---------- Layout ---------- */
.lqt-ds .lqt-container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: clamp(1.15rem, 4%, 3.5rem); padding-right: clamp(1.15rem, 4%, 3.5rem); }
.lqt-ds .section { padding-top: clamp(4rem, 8%, 8rem); padding-bottom: clamp(4rem, 8%, 8rem); }
.lqt-ds .section-sm { padding-top: clamp(2.5rem, 5%, 4.5rem); padding-bottom: clamp(2.5rem, 5%, 4.5rem); }
.lqt-ds .hairline { height: 1px; background: var(--line); width: 100%; }

.lqt-ds .grid-auto { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* garde-fou anti-débordement (corrige le résidu de piste ~4px) */
.lqt-ds .grid-auto > *, .lqt-ds [class*="stack-"] > * { min-width: 0; }

/* ---------- Boutons ---------- */
.lqt-ds .btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em;
  padding: .95rem 1.6rem; border-radius: 4px; cursor: pointer; border: 1px solid transparent;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
  text-decoration: none; line-height: 1;
}
.lqt-ds .btn-primary { background: var(--teal); color: var(--paper); }
.lqt-ds .btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(18,107,125,.55); }
.lqt-ds .btn-terra { background: var(--terra-cta); color: #fff; }
.lqt-ds .btn-terra:hover { background: var(--terra-cta-dark); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(180,87,47,.55); }
.lqt-ds .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.lqt-ds .btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.lqt-ds .btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.lqt-ds .btn-light:hover { background: rgba(255,255,255,.22); }
.lqt-ds .btn-sm { padding: .7rem 1.15rem; font-size: .74rem; }

/* ---------- Liens ---------- */
.lqt-ds .link-underline { position: relative; text-decoration: none; color: var(--ink); font-weight: 500; }
.lqt-ds .link-underline::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0; background: var(--terra); transition: width .4s cubic-bezier(.22,1,.36,1); }
.lqt-ds .link-underline:hover::after { width: 100%; }

/* ---------- Cartes / surfaces ---------- */
.lqt-ds .card-paper { background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.lqt-ds .foil {
  background: linear-gradient(115deg, #b98a3d 0%, #f4e3a1 22%, #C9A25A 42%, #fff4d6 55%, #C9A25A 70%, #9c6f2c 100%);
  background-size: 220% 220%; animation: lqt-foilshift 6s ease infinite;
}
@keyframes lqt-foilshift { 0% { background-position: 0% 50% } 50% { background-position: 100% 50% } 100% { background-position: 0% 50% } }

.lqt-ds .tag {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .16em; font-weight: 600; padding: .35rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft); background: rgba(255,255,255,.6);
}

.lqt-ds .media { overflow: hidden; border-radius: 6px; background: var(--paper-sand); position: relative; }
.lqt-ds .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.lqt-ds .media:hover img { transform: scale(1.06); }

/* ---------- Accessibilité : focus clavier (WCAG 2.4.7 AA) — scopé ---------- */
.lqt-ds :where(a, button, input, textarea, select, [role="button"], [tabindex]):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(250, 247, 242, .9);
}
.lqt-ds [data-testid="studio-before-after"] > div:has(input[type="range"]:focus-visible),
.lqt-ds [data-testid="before-after-slider"]:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}

/* ---------- Responsive — vraies media queries (remplacent les classes .dev-*) ---------- */
/* Tablette (<= 991.98px ; couvre 834) */
@media (max-width: 991.98px) {
  .lqt-ds .display, .lqt-ds .display-xl { font-size: 3.2rem; }
  .lqt-ds .h-section { font-size: 2.1rem; }
  .lqt-ds .stack-tablet-2 { grid-template-columns: repeat(2, 1fr) !important; }
}
/* Mobile (<= 767.98px ; couvre 390) */
@media (max-width: 767.98px) {
  .lqt-ds .display { font-size: 2.3rem; }
  .lqt-ds .display-xl { font-size: 2.5rem; }
  .lqt-ds .h-section { font-size: 1.85rem; }
  .lqt-ds .lead { font-size: 1rem; }
  .lqt-ds .section { padding-top: 3rem; padding-bottom: 3rem; }
  .lqt-ds .lqt-container { padding-left: 1.15rem; padding-right: 1.15rem; }
  .lqt-ds .grid-auto { grid-template-columns: 1fr; }
  .lqt-ds .stack-mobile { grid-template-columns: 1fr !important; column-gap: 0 !important; }
  .lqt-ds .stack-mobile-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .lqt-ds .stack-tablet-2 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* =============================================================================
   LOT 1 — EN-TÊTE & PIED DE PAGE (scopé .lqt-ds, rendu via page-lethiquette-ds.php)
   Reproduit le prototype React gelé (Header.jsx / Footer.jsx).
   ============================================================================= */

/* ---------- Réinitialisation locale de wrapper ---------- */
.lqt-ds .lqt-ds-wrap { display: flex; flex-direction: column; min-height: 100vh; }
.lqt-ds .lqt-ds-main { flex: 1 0 auto; }

/* ---------- En-tête (sticky) ---------- */
.lqt-ds .lqt-header { position: sticky; top: 0; z-index: 120; }

.lqt-ds .lqt-topbar { background: var(--teal-dark); color: #dbe9eb; font-size: 0.72rem; }
.lqt-ds .lqt-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; }
.lqt-ds .lqt-topbar-contact { display: flex; align-items: center; gap: 1rem; }
.lqt-ds .lqt-tb-item { display: inline-flex; align-items: center; gap: 0.4rem; color: #dbe9eb; text-decoration: none; }
.lqt-ds .lqt-tb-item:hover { color: #fff; }
.lqt-ds .lqt-tb-item svg { flex: 0 0 auto; }
.lqt-ds .lqt-topbar-links { display: flex; align-items: center; gap: 1.25rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.lqt-ds .lqt-topbar-links span { opacity: 0.7; }

.lqt-ds .lqt-navbar { background: rgba(250, 247, 242, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lqt-ds .lqt-navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; }
.lqt-ds .lqt-logo { display: inline-flex; align-items: center; }
.lqt-ds .lqt-logo img { height: 46px; width: auto; display: block; }

.lqt-ds .lqt-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.lqt-ds .lqt-nav-list li { margin: 0; }
.lqt-ds .lqt-nav-list a { position: relative; font-size: 0.82rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.lqt-ds .lqt-nav-list a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0; background: var(--terra); transition: width 0.4s cubic-bezier(.22,1,.36,1); }
.lqt-ds .lqt-nav-list a:hover::after { width: 100%; }

.lqt-ds .lqt-cta-desktop { flex: 0 0 auto; }

/* Bouton burger (bars CSS) */
.lqt-ds .lqt-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; background: transparent; border: 0; cursor: pointer; }
.lqt-ds .lqt-burger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.3s ease, opacity 0.2s ease; }
.lqt-ds .lqt-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lqt-ds .lqt-burger.is-open span:nth-child(2) { opacity: 0; }
.lqt-ds .lqt-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panneau mobile */
.lqt-ds .lqt-mobile-nav { background: rgba(250, 247, 242, 0.98); border-top: 1px solid var(--line); }
.lqt-ds .lqt-mobile-nav[hidden] { display: none; }
.lqt-ds .lqt-mobile-nav .lqt-container { display: flex; flex-direction: column; gap: 0.25rem; padding-top: 0.5rem; padding-bottom: 1.25rem; }
.lqt-ds .lqt-mobile-nav .lqt-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.lqt-ds .lqt-mobile-nav .lqt-nav-list a { display: block; padding: 0.7rem 0; font-size: 0.95rem; }
.lqt-ds .lqt-mobile-nav .lqt-nav-list a::after { display: none; }
.lqt-ds .lqt-mobile-cta { margin-top: 0.75rem; justify-content: center; }

/* Hélpers responsive d'affichage */
.lqt-ds .lqt-hide-mobile { display: inline-flex; }

/* ---------- Pied de page ---------- */
.lqt-ds .lqt-footer { background: var(--teal-dark); color: #cfe0e3; }
.lqt-ds .lqt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.lqt-ds .lqt-footer-logo { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 1rem; }
.lqt-ds .lqt-footer-brand p { color: #9fc0c5; font-size: 0.9rem; line-height: 1.6; margin: 0; }
.lqt-ds .lqt-footer-quote { font-style: italic; font-size: 0.78rem; color: #7fa8ae !important; margin-top: 0.75rem !important; }
.lqt-ds .lqt-footer-col h4 { color: #eaf3f4; margin: 0 0 1rem; }
.lqt-ds .lqt-footer-list, .lqt-ds .lqt-footer-contact { list-style: none; margin: 0; padding: 0; }
.lqt-ds .lqt-footer-list li, .lqt-ds .lqt-footer-contact li { margin-bottom: 0.5rem; font-size: 0.9rem; color: #9fc0c5; }
.lqt-ds .lqt-footer-list a { color: #9fc0c5; text-decoration: none; transition: color 0.3s ease; }
.lqt-ds .lqt-footer-list a:hover { color: #fff; }
.lqt-ds .lqt-footer-contact a { color: #9fc0c5; text-decoration: none; }
.lqt-ds .lqt-footer-contact a:hover { color: #fff; }
.lqt-ds .lqt-footer-contact-cta { padding-top: 0.75rem; }
.lqt-ds .lqt-footer-contact-cta a { color: #fff; }
.lqt-ds .lqt-footer-hairline { margin: 2rem 0; background: rgba(255, 255, 255, 0.12); }
.lqt-ds .lqt-footer-legal { font-size: 0.75rem; color: #7fa8ae; margin: 0; }

/* ---------- Responsive en-tête / pied ---------- */
/* Tablette & moins (<= 991) : nav desktop + CTA + topbar secondaire masqués,
   burger visible (résout le débordement/navigation tablette), pied 2 colonnes. */
@media (max-width: 991.98px) {
  .lqt-ds .lqt-hide-tablet { display: none !important; }
  .lqt-ds .lqt-burger { display: flex; }
  .lqt-ds .lqt-footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Mobile (<= 767) : e-mail topbar masqué, logo réduit, pied 1 colonne. */
@media (max-width: 767.98px) {
  .lqt-ds .lqt-hide-mobile { display: none !important; }
  .lqt-ds .lqt-logo img { height: 38px; }
  .lqt-ds .lqt-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* =============================================================================
   LOT 2 — ACCUEIL (scopé .lqt-ds, rendu via page-lethiquette-home.php)
   Reproduit fidèlement le prototype React gelé (Home.jsx + composants).
   ============================================================================= */

/* ---- Reveal (remplace Framer Motion whileInView) ---- */
.lqt-ds .lqt-reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.lqt-ds .lqt-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lqt-ds .lqt-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 1 · Hero ---- */
.lqt-ds .lqt-home-hero { background: var(--paper); }
.lqt-ds .lqt-home-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.lqt-ds .lqt-home-hero h1 { margin: 1.5rem 0; }
.lqt-ds .lqt-home-hero-lead { max-width: 520px; margin: 0 0 2rem; }
.lqt-ds .lqt-home-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.lqt-ds .lqt-home-sf-labels { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.lqt-ds .lqt-home-sf-labels > span { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.lqt-ds .lqt-home-sf-labels .eyebrow { color: var(--teal); }
.lqt-ds .lqt-home-hero-mediawrap { position: relative; }
.lqt-ds .lqt-home-hero-media { aspect-ratio: 4/5; }
.lqt-ds .lqt-home-hero-card { position: absolute; bottom: -22px; left: -18px; padding: 1rem 1.2rem; max-width: 240px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); }
.lqt-ds .lqt-home-hero-cardtag { color: var(--terra-text); border-color: rgba(214,120,86,.4); margin-bottom: .5rem; }
.lqt-ds .lqt-home-hero-cardtext { font-size: .875rem; color: var(--ink-soft); margin: 0; }

/* ---- 2 · Savoir-faire ---- */
.lqt-ds .lqt-home-sfhead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.lqt-ds .lqt-home-sfhead .eyebrow-line { margin-bottom: 1rem; }
.lqt-ds .lqt-home-sfhead h2 { max-width: 560px; }
.lqt-ds .lqt-home-sfhead .lead { max-width: 320px; font-size: 1rem; }
.lqt-ds .lqt-home-sf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.75rem; }
.lqt-ds .lqt-home-sf-card { display: flex; flex-direction: column; height: 100%; }
.lqt-ds .lqt-home-sf-card .media { aspect-ratio: 5/4; margin-bottom: 1.25rem; }
.lqt-ds .lqt-home-sf-ov { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(20,20,20,0) 55%,rgba(12,74,87,.55) 100%); }
.lqt-ds .lqt-home-sf-num { position: absolute; left: 16px; bottom: 6px; font-size: 2.4rem; line-height: 1; color: rgba(255,255,255,.92); font-weight: 300; letter-spacing: -.02em; }
.lqt-ds .lqt-home-sf-ic { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(250,247,242,.92); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.lqt-ds .lqt-home-sf-card h3 { font-size: 1.25rem; font-weight: 500; margin: 0 0 .5rem; }
.lqt-ds .lqt-home-sf-desc { font-size: .875rem; color: var(--ink-soft); margin: 0 0 1rem; flex: 1; }
.lqt-ds .lqt-home-sf-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.lqt-ds .lqt-home-sf-tags .tag { font-size: .6rem; }
.lqt-ds .lqt-home-sf-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--teal); }

/* ---- 3 · Univers ---- */
.lqt-ds .lqt-home-univers { background: var(--paper); }
.lqt-ds .lqt-home-univers-head { text-align: center; margin-bottom: 3rem; }
.lqt-ds .lqt-home-univers-head .eyebrow-line { margin-bottom: 1rem; }
.lqt-ds .lqt-home-univers-head h2 { max-width: 640px; margin: 0 auto; }
.lqt-ds .lqt-home-univers-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.lqt-ds .lqt-home-u-link { display: block; text-decoration: none; }
.lqt-ds .lqt-home-u-card { aspect-ratio: 16/11; }
.lqt-ds .lqt-home-u-ov { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(20,20,20,0) 35%,rgba(20,20,20,.78) 100%); }
.lqt-ds .lqt-home-u-bar { position: absolute; left: 0; top: 0; height: 5px; width: 100%; }
.lqt-ds .lqt-home-u-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; }
.lqt-ds .lqt-home-u-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.lqt-ds .lqt-home-u-meta .eyebrow { color: #fff; opacity: .85; }
.lqt-ds .lqt-home-u-tag { color: #fff; border: none; font-size: .58rem; }
.lqt-ds .lqt-home-u-body h3 { color: #fff; font-size: 1.25rem; font-weight: 500; line-height: 1.15; margin: 0 0 .25rem; }
.lqt-ds .lqt-home-u-body p { font-size: .875rem; color: rgba(255,255,255,.8); margin: 0; }
.lqt-ds .lqt-home-u-explore { display: inline-flex; align-items: center; gap: .375rem; margin-top: .75rem; font-size: .875rem; font-weight: 600; color: #fff; }

/* ---- 4 · Laboratoire des matières (teaser) ---- */
.lqt-ds .lqt-home-lab-sec { background: var(--teal-dark); color: var(--paper); }
.lqt-ds .lqt-home-lab-intro { max-width: 640px; margin-bottom: 3rem; }
.lqt-ds .lqt-home-lab-intro .eyebrow { color: var(--gold-strong); }
.lqt-ds .lqt-home-lab-intro h2 { color: #fff; }
.lqt-ds .lqt-home-lab-intro .lead { color: rgba(255,255,255,.75); margin-top: 1rem; }
.lqt-ds .lqt-home-lab-intro .btn { margin-top: 1.5rem; }
.lqt-ds .lqt-home-lab-panel { background: rgba(255,255,255,.96); color: var(--ink); padding: 2.5rem; }
.lqt-ds .lqt-home-lab { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.lqt-ds .lqt-home-lab-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.lqt-ds .lqt-home-lab-step { width: 100%; text-align: left; padding: .75rem 1rem; border-radius: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; display: flex; align-items: baseline; gap: 1rem; transition: background-color .3s ease, border-color .3s ease; }
.lqt-ds .lqt-home-lab-step.is-on { background: rgba(255,255,255,.5); }
.lqt-ds .lqt-home-lab-step.is-active { border-color: var(--teal); background: rgba(18,107,125,.06); }
.lqt-ds .lqt-home-lab-stepn { color: #b9b3aa; }
.lqt-ds .lqt-home-lab-step.is-on .lqt-home-lab-stepn { color: var(--teal); }
.lqt-ds .lqt-home-lab-steptxt { flex: 1; }
.lqt-ds .lqt-home-lab-steplabel { display: block; font-size: .95rem; font-weight: 500; }
.lqt-ds .lqt-home-lab-stepval { display: block; font-size: .875rem; color: var(--ink-soft); }
.lqt-ds .lqt-home-lab-note { margin-top: 1.25rem; font-size: .875rem; font-style: italic; color: var(--ink-soft); min-height: 1.2em; }
.lqt-ds .lqt-home-lab-visualwrap { display: flex; align-items: center; justify-content: center; }
.lqt-ds .lqt-home-lab-visual { position: relative; width: min(320px,78%); aspect-ratio: 3/4; }
.lqt-ds .lqt-home-lab-bottle { position: absolute; inset: 8% 14%; border-radius: 16px 16px 22px 22px; background: linear-gradient(180deg,#e9e3d8,#d8cfc0); box-shadow: inset 0 2px 12px rgba(255,255,255,.6), 0 30px 50px -30px rgba(0,0,0,.4); }
.lqt-ds .lqt-home-lab-label { position: absolute; inset: 28% 24% 20% 24%; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 26px -14px rgba(0,0,0,.5); background: #EDE4D3; }
.lqt-ds .lqt-home-lab-label [data-min-step], .lqt-ds .lqt-home-lab-visual > [data-min-step] { opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.lqt-ds .lqt-home-lab-label [data-min-step].is-on, .lqt-ds .lqt-home-lab-visual > [data-min-step].is-on { opacity: 1; }
.lqt-ds .lqt-home-lab-tex { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,rgba(0,0,0,.03) 0 2px,transparent 2px 4px); }
.lqt-ds .lqt-home-lab-peel { position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(135deg,transparent 50%,rgba(0,0,0,.12) 50%); }
.lqt-ds .lqt-home-lab-print { position: absolute; inset: 18% 14%; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.lqt-ds .lqt-home-lab-print span { display: block; border-radius: 2px; }
.lqt-ds .lqt-home-lab-print span:nth-child(1) { height: 8px; width: 70%; background: var(--teal); }
.lqt-ds .lqt-home-lab-print span:nth-child(2) { height: 5px; width: 45%; background: rgba(18,107,125,.6); }
.lqt-ds .lqt-home-lab-print span:nth-child(3) { height: 5px; width: 58%; background: rgba(20,20,20,.35); margin-top: 4px; }
.lqt-ds .lqt-home-lab-foil { position: absolute; bottom: 16%; left: 14%; width: 50%; height: 10px; border-radius: 2px; }
.lqt-ds .lqt-home-lab-result { position: absolute; inset: 4% 10%; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(201,162,90,.55), 0 0 0 1px rgba(201,162,90,.35); }
.lqt-ds .lqt-home-lab-result img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- 5 · Studio PAO (avant / après) ---- */
.lqt-ds .lqt-home-studio { background: var(--white); }
.lqt-ds .lqt-home-studio-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.lqt-ds .lqt-home-studio-txt .eyebrow-line { margin-bottom: 1rem; }
.lqt-ds .lqt-home-studio-txt h2 { margin: 0 0 1.25rem; }
.lqt-ds .lqt-home-studio-txt .lead { font-size: 1rem; margin: 0 0 1.5rem; }
.lqt-ds .lqt-ba { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.lqt-ds .lqt-ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lqt-ds .lqt-ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.lqt-ds .lqt-ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.lqt-ds .lqt-ba-before-tex { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,rgba(0,0,0,.05) 0 6px,transparent 6px 12px); }
.lqt-ds .lqt-ba-tag-l { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.85); }
.lqt-ds .lqt-ba-tag-r { position: absolute; top: 14px; right: 14px; background: var(--teal); color: #fff; border-color: var(--teal); }
.lqt-ds .lqt-ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.lqt-ds .lqt-ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); color: var(--teal); }
.lqt-ds .lqt-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---- 6 · Réalisations ---- */
.lqt-ds .lqt-home-real { background: var(--paper); }
.lqt-ds .lqt-home-real-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 2.5rem; }
.lqt-ds .lqt-home-real-head .eyebrow-line { margin-bottom: 1rem; }
.lqt-ds .lqt-home-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.lqt-ds .lqt-chip { padding: .5rem 1rem; border-radius: 999px; font-size: .875rem; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.lqt-ds .lqt-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.lqt-ds .lqt-home-feat { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.75rem; align-items: stretch; margin-bottom: 1.5rem; }
.lqt-ds .lqt-home-feat .media { aspect-ratio: 16/10; }
.lqt-ds .lqt-home-feat-info { display: flex; flex-direction: column; justify-content: center; }
.lqt-ds .lqt-home-feat-info.card-paper { padding: 1.75rem; }
.lqt-ds .lqt-home-feat-badge { width: fit-content; color: var(--terra-text); border-color: rgba(214,120,86,.4); margin-bottom: .75rem; }
.lqt-ds .lqt-home-feat-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .75rem; }
.lqt-ds .lqt-home-feat-tags .tag { font-size: .6rem; }
.lqt-ds .lqt-home-feat-info h3 { font-size: 1.9rem; font-weight: 300; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .5rem; }
.lqt-ds .lqt-home-feat-info .lead { font-size: 1rem; margin: 0; }
.lqt-ds .lqt-home-real-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.lqt-ds .lqt-home-real-card .media { aspect-ratio: 4/3; margin-bottom: 1rem; }
.lqt-ds .lqt-home-real-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .5rem; }
.lqt-ds .lqt-home-real-tags .tag { font-size: .58rem; }
.lqt-ds .lqt-home-real-fin { color: var(--terra-text); border-color: rgba(214,120,86,.4); }
.lqt-ds .lqt-home-real-card h3 { font-size: 1.125rem; font-weight: 500; margin: 0 0 .25rem; }
.lqt-ds .lqt-home-real-card p { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.lqt-ds .lqt-home-real-card[hidden], .lqt-ds .lqt-home-feat[hidden] { display: none; }

/* ---- 7 · Accompagnement ---- */
.lqt-ds .lqt-home-acc { background: var(--white); }
.lqt-ds .lqt-home-acc-head { margin-bottom: 3rem; }
.lqt-ds .lqt-home-acc-head .eyebrow-line { margin-bottom: 1rem; }
.lqt-ds .lqt-home-acc-wrap { position: relative; }
.lqt-ds .lqt-home-acc-line { position: absolute; top: 25px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.lqt-ds .lqt-home-acc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.5rem; }
.lqt-ds .lqt-home-step { text-align: center; padding: 0 .75rem; }
.lqt-ds .lqt-home-stepnum { width: 52px; height: 52px; border-radius: 50%; background: var(--terra); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-weight: 600; position: relative; z-index: 1; }
.lqt-ds .lqt-home-step h3 { font-size: 1.125rem; font-weight: 500; margin: 0 0 .5rem; }
.lqt-ds .lqt-home-step p { font-size: .875rem; color: var(--ink-soft); margin: 0; }

/* ---- 8 · CTA final ---- */
.lqt-ds .lqt-home-finalcta { background: linear-gradient(90deg,#8D513B 0%,#D67856 100%); color: #fff; }
.lqt-ds .lqt-home-finalcta .lqt-container { padding-top: clamp(5rem,10%,9rem); padding-bottom: clamp(5rem,10%,9rem); text-align: center; }
.lqt-ds .lqt-home-finalcta .eyebrow { color: rgba(255,255,255,.85); display: block; margin-bottom: 1.25rem; }
.lqt-ds .lqt-home-finalcta h2 { color: #fff; max-width: 820px; margin: 0 auto 2rem; }

/* ---- Responsive LOT 2 ---- */
@media (max-width: 991.98px) {
  .lqt-ds .lqt-home-feat { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .lqt-ds .lqt-home-hero-grid,
  .lqt-ds .lqt-home-studio-grid,
  .lqt-ds .lqt-home-lab,
  .lqt-ds .lqt-home-univers-grid { grid-template-columns: 1fr; column-gap: 0; }
  .lqt-ds .lqt-home-lab-panel { padding: 1.5rem; }
  .lqt-ds .lqt-home-hero-card { position: static; margin-top: 1rem; max-width: none; left: auto; bottom: auto; }
  .lqt-ds .lqt-home-acc-line { display: none; }
}
