/* LOT 3 V3.3 — Page « Étiquettes écoresponsables » — CSS ISOLÉ (non intégré au thème).
   Tout est scopé .lqt-ds .lqt-eco* ; uniquement les tokens et classes du Design System existant. Aucun JavaScript. */
.lqt-ds .lqt-eco-hero { background: var(--paper); }
.lqt-ds .lqt-eco-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.lqt-ds .lqt-eco-hero h1 { margin: 1rem 0 1.4rem; }
.lqt-ds .lqt-eco-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.lqt-ds .lqt-eco-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.lqt-ds .lqt-eco-chips li { margin: 0; }
/* Schéma de secours du hero : visible sans photo, masqué si la photo 1 est activée */
.lqt-ds .lqt-eco-layers { padding: 1.5rem; background: var(--paper-cream); border: 1px solid var(--line); border-radius: 6px; }
.lqt-ds .lqt-eco-layers-title { margin: 0 0 1rem; }
.lqt-ds .lqt-eco-layer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; margin-top: -1px; border: 1px solid var(--line); font-size: .95rem; }
.lqt-ds .lqt-eco-layer:nth-child(2) { background: var(--white); }
.lqt-ds .lqt-eco-layer:nth-child(3) { background: var(--paper-sand); }
.lqt-ds .lqt-eco-layer:nth-child(4) { background: var(--paper-rose); }
.lqt-ds .lqt-eco-layer:nth-child(5) { background: var(--paper-cold); }
.lqt-ds .lqt-eco-layer b { font-weight: 600; color: var(--teal); }
.lqt-ds .lqt-eco-layer span { color: var(--ink-soft); text-align: right; }
.lqt-ds .lqt-eco-layers-note { margin: 1rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.lqt-ds .lqt-eco-hero-grid:has(.lqt-eco-photo) .lqt-eco-layers { display: none; }

/* Photographies : cadre à ratio fixe, remplaçables par un fichier du même nom (aucun changement de HTML/CSS) */
.lqt-ds .lqt-eco-photo { position: relative; margin: 0; max-width: 40rem; overflow: hidden; border-radius: 6px; background: var(--paper-sand); }
.lqt-ds .lqt-eco-photo img, .lqt-ds .lqt-eco-photo picture { display: block; width: 100%; height: auto; }
.lqt-ds .lqt-eco-photo img { object-fit: cover; }
.lqt-ds .lqt-eco-photo figcaption { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .55rem; border-radius: 3px; background: rgba(255,255,255,.85); color: var(--ink-soft); font-size: .72rem; line-height: 1.3; }
.lqt-ds .lqt-eco-photo-hero img { aspect-ratio: 3 / 2; }
.lqt-ds .lqt-eco-photo-wide { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.lqt-ds .lqt-eco-photo-wide img { aspect-ratio: 21 / 9; }
.lqt-ds .lqt-eco-photo-std { max-width: 33rem; } /* ≈ 528 px : pas d'agrandissement au-delà de la source (mockup 800×400 recadré en 4:3) */
.lqt-ds .lqt-eco-photo-std img { aspect-ratio: 4 / 3; }
/* Texture du papier : cadrage sobre, fin filet, aucun agrandissement (max-width 40rem) */
.lqt-ds .lqt-eco-photo-texture { border: 1px solid var(--line); }
.lqt-ds .lqt-eco-split-photo .lqt-eco-photo { align-self: start; }

.lqt-ds .lqt-eco-head { max-width: 46rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.lqt-ds .lqt-eco-head h2 { margin: .9rem 0 1rem; }
.lqt-ds .lqt-eco-white { background: var(--white); }
.lqt-ds .lqt-eco-cream { background: var(--paper-cream); border-top: 1px solid var(--line); }
.lqt-ds .lqt-eco-sand { background: var(--paper-sand); }
.lqt-ds .lqt-eco-white + .lqt-eco-white, .lqt-ds .lqt-eco-white + .lqt-eco-cream { border-top: 1px solid var(--line); }

/* Compositions alternées */
.lqt-ds .lqt-eco-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.lqt-ds .lqt-eco-split .lqt-eco-head { margin-bottom: 0; }
.lqt-ds .lqt-eco-split-photo { grid-template-columns: 1fr; align-items: start; }
.lqt-ds .lqt-eco-split-photo:has(.lqt-eco-photo) { grid-template-columns: .8fr 1.2fr; }
.lqt-ds .lqt-eco-split-rev:has(.lqt-eco-photo) { grid-template-columns: 1.2fr .8fr; }
.lqt-ds .lqt-eco-split-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.lqt-ds .lqt-eco-split-head:has(.lqt-eco-photo) { grid-template-columns: 1.1fr .9fr; align-items: center; }
.lqt-ds .lqt-eco-split-head .lqt-eco-head { margin-bottom: 0; }
.lqt-ds .lqt-eco-split-photo .lqt-eco-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); }

.lqt-ds .lqt-eco-grid { display: grid; gap: 1.25rem; }
.lqt-ds .lqt-eco-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lqt-ds .lqt-eco-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lqt-ds .lqt-eco-card { padding: 1.6rem; border-top: 3px solid transparent; }
.lqt-ds .lqt-eco-card h3 { margin: .6rem 0 .6rem; font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.lqt-ds .lqt-eco-card p { margin: 0; color: var(--ink-soft); }
.lqt-ds .lqt-eco-card .lqt-eco-q { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); font-style: italic; color: var(--ink); }
.lqt-ds .lqt-eco-card .tag { margin-top: 1rem; }
.lqt-ds .lqt-eco-num { font-size: .8rem; letter-spacing: .12em; color: var(--terra-text); font-weight: 600; }
.lqt-ds .lqt-eco-cream .lqt-eco-card { border-top-color: var(--terra); }
.lqt-ds .lqt-eco-sector:nth-child(2) { background: var(--paper-rose); }
.lqt-ds .lqt-eco-sector:nth-child(3) { background: var(--paper-sand); }
.lqt-ds .lqt-eco-sector:nth-child(4) { background: var(--paper-cold); }
.lqt-ds .lqt-eco-method { margin: 1.5rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--terra); list-style: none; color: var(--ink-soft); }
.lqt-ds .lqt-eco-method li { margin: 0 0 .6rem; padding-left: .25rem; }
.lqt-ds .lqt-eco-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }

/* Étapes */
.lqt-ds .lqt-eco-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.lqt-ds .lqt-eco-step { display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.lqt-ds .lqt-eco-split-photo:has(.lqt-eco-photo) .lqt-eco-steps { grid-template-columns: 1fr; gap: 0; }
.lqt-ds .lqt-eco-split-photo:has(.lqt-eco-photo) .lqt-eco-step { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.lqt-ds .lqt-eco-step h3 { margin: 0 0 .3rem; font-size: 1.15rem; font-weight: 500; line-height: 1.2; }
.lqt-ds .lqt-eco-step p { margin: 0; color: var(--ink-soft); }

.lqt-ds .lqt-eco-sector h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 500; }
.lqt-ds .lqt-eco-sector p { margin: 0 0 .75rem; color: var(--ink-soft); }
.lqt-ds .lqt-eco-sector .lqt-eco-hook { color: var(--ink); font-weight: 400; }

/* Bandeau : dégradé charte brun → terracotta CTA, blanc/fond ≥ 4,5:1 */
.lqt-ds .lqt-eco-band { background: linear-gradient(90deg, var(--brown) 0%, var(--terra-cta) 100%); color: #fff; }
.lqt-ds .lqt-eco-band .lqt-container { padding-top: clamp(4rem, 8%, 7rem); padding-bottom: clamp(4rem, 8%, 7rem); text-align: center; max-width: 52rem; }
.lqt-ds .lqt-eco-band .eyebrow { color: #fff; display: block; }
.lqt-ds .lqt-eco-band h2 { margin: 1rem 0; color: #fff; }
.lqt-ds .lqt-eco-band p, .lqt-ds .lqt-eco-band .lead { color: #fff; }
.lqt-ds .lqt-eco-band .lqt-eco-cta { justify-content: center; }
.lqt-ds .lqt-eco-band .lqt-eco-geo { font-size: .9rem; opacity: 1; margin-top: 1.5rem; }
.lqt-ds .lqt-eco-band a:not(.btn) { color: #fff; text-decoration: underline; }

.lqt-ds .lqt-eco-faq { max-width: 52rem; }
.lqt-ds .lqt-eco-faq details { border-bottom: 1px solid var(--line); }
.lqt-ds .lqt-eco-faq details:first-child { border-top: 1px solid var(--line); }
.lqt-ds .lqt-eco-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem .25rem; font-size: 1.1rem; font-weight: 500; line-height: 1.3; }
.lqt-ds .lqt-eco-faq summary::-webkit-details-marker { display: none; }
.lqt-ds .lqt-eco-faq summary::after { content: "+"; content: "+" / ""; flex: none; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--terra-text); }
.lqt-ds .lqt-eco-faq details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.lqt-ds .lqt-eco-faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
.lqt-ds .lqt-eco-faq summary:hover { color: var(--teal); }
.lqt-ds .lqt-eco-faq details > div { padding: 0 .25rem 1.4rem; color: var(--ink-soft); max-width: 44rem; }
.lqt-ds .lqt-eco-faq details > div p { margin: 0; }

/* Micro-interactions discrètes, désactivées si l'utilisateur réduit les animations */
@media (prefers-reduced-motion: no-preference) {
  .lqt-ds .lqt-eco-card { transition: transform .25s ease, box-shadow .25s ease; }
  .lqt-ds .lqt-eco-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .3); }
  .lqt-ds .lqt-eco-photo img { transition: transform .6s ease; }
  .lqt-ds .lqt-eco-photo:hover img { transform: scale(1.02); }
}

@media (max-width: 991.98px) {
  .lqt-ds .lqt-eco-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .lqt-ds .lqt-eco-steps { grid-template-columns: repeat(2, 1fr); }
  .lqt-ds .lqt-eco-split-photo:has(.lqt-eco-photo), .lqt-ds .lqt-eco-split-rev:has(.lqt-eco-photo),
  .lqt-ds .lqt-eco-split, .lqt-ds .lqt-eco-split-photo, .lqt-ds .lqt-eco-split-rev { grid-template-columns: 1fr; }
  .lqt-ds .lqt-eco-split .lqt-eco-head { margin-bottom: 1.5rem; }
}
@media (max-width: 767.98px) {
  .lqt-ds .lqt-eco-hero-grid, .lqt-ds .lqt-eco-grid-2, .lqt-ds .lqt-eco-grid-3, .lqt-ds .lqt-eco-steps { grid-template-columns: 1fr; }
  .lqt-ds .lqt-eco-layer { flex-direction: column; gap: .15rem; }
  .lqt-ds .lqt-eco-layer span { text-align: left; }
  .lqt-ds .lqt-eco-cta .btn { width: 100%; justify-content: center; text-align: center; line-height: 1.35; padding-top: 1rem; padding-bottom: 1rem; }
  .lqt-ds .lqt-eco-photo-hero img { aspect-ratio: 3 / 2; }
  .lqt-ds .lqt-eco-photo-wide img { aspect-ratio: 4 / 3; }
  .lqt-ds .lqt-eco-photo-std img { aspect-ratio: 4 / 3; }
  .lqt-ds .lqt-eco-split-rev .lqt-eco-photo { order: -1; }
}

/* V3.3.1 : correctif Hero (desktop >= 992 px uniquement ; mobile/tablette inchangés) */
@media (min-width: 992px) {
  .lqt-ds .lqt-eco-hero h1 { font-size: clamp(2.6rem, 4.2vw, 3.75rem); line-height: 1.02; letter-spacing: -0.025em; margin: .8rem 0 1.2rem; }
  .lqt-ds .lqt-eco-hero-grid:has(.lqt-eco-photo) { align-items: start; }
  .lqt-ds .lqt-eco-hero-grid:has(.lqt-eco-photo) .lqt-eco-photo-hero { margin-top: 1.9rem; justify-self: end; width: 100%; }
}
