/*
Theme Name: Boréal
Theme URI: https://chaussurescanada.com/
Author: Chaussures Canada
Author URI: https://chaussurescanada.com/
Description: Thème original créé sur mesure pour la boutique Chaussures Canada. Design audacieux d'esprit éditorial : très grands titres, sections sombres percutantes, beige papier, orange brûlé et vert épinette. Compatible WooCommerce, interface entièrement en français, pensé mobile d'abord.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boreal
Tags: e-commerce, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ============================================================
   BORÉAL — feuille de style principale
   Code original, mobile-first, sans librairie externe.
   ============================================================ */

:root {
  --boreal-bg: #FAF7F2;
  --boreal-ink: #1C1B19;
  --boreal-black: #12100E;
  --boreal-muted: #6F6A61;
  --boreal-accent: #B4551F;
  --boreal-deep: #15241C;
  --boreal-line: #E6E0D3;
  --boreal-card: #FFFFFF;
  --font-display: 'Archivo', 'Work Sans', -apple-system, sans-serif;
  --font-heading: 'Archivo', 'Work Sans', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 18px;
  --shadow: 0 18px 45px -18px rgba(28, 27, 25, 0.28);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--boreal-bg);
  color: var(--boreal-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:hover { color: var(--boreal-accent); }

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

button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--boreal-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--boreal-ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 400;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Conteneurs ---------- */
.boreal-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.boreal-section { padding-block: 5rem; }
.boreal-section--tight { padding-block: 2.5rem; }

.kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--boreal-accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-head { margin-bottom: 2.5rem; max-width: 52rem; }
.section-head h2 { font-size: clamp(2.4rem, 7vw, 4.75rem); margin-bottom: 0.35em; text-wrap: balance; }
.section-head p { color: var(--boreal-muted); font-size: 1.08rem; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  border: 1px solid var(--boreal-ink);
  background: var(--boreal-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  min-height: 3.25rem;
}
.btn:hover { background: var(--boreal-accent); border-color: var(--boreal-accent); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; border-color: #fff; color: var(--boreal-ink); }
.btn--light:hover { background: var(--boreal-accent); border-color: var(--boreal-accent); color: #fff; }
.btn--outline { background: transparent; color: var(--boreal-ink); }
.btn--outline:hover { background: var(--boreal-ink); color: #fff; }
.btn--accent { background: var(--boreal-accent); border-color: var(--boreal-accent); color: #fff; }
.btn--accent:hover { background: var(--boreal-ink); border-color: var(--boreal-ink); color: #fff; }
.btn--full { width: 100%; }
.btn--small { padding: 0.6rem 1.3rem; min-height: 2.6rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--boreal-accent);
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

/* ---------- Barre d'annonce défilante ---------- */
.announcement {
  background: var(--boreal-deep);
  color: #fff;
  overflow: hidden;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.announcement__track {
  display: flex;
  width: max-content;
  animation: boreal-marquee 30s linear infinite;
}
.announcement__track span { padding: 0.6rem 2.25rem; white-space: nowrap; }
.announcement__track span::after {
  content: "•";
  margin-left: 4.5rem;
  color: var(--boreal-accent);
}
@keyframes boreal-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--boreal-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--boreal-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-branding { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.site-branding:hover { color: inherit; }
.custom-logo-link .custom-logo { max-height: 44px; max-width: 180px; width: auto; height: auto; display: block; }
.site-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.3rem;
  margin: 0;
}
.site-title small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--boreal-accent);
  font-weight: 600;
}

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }

.header-actions { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--boreal-ink);
  border-radius: 50%;
  text-decoration: none;
}
.icon-btn:hover { background: var(--boreal-line); color: var(--boreal-ink); }
.icon-btn svg { width: 1.35rem; height: 1.35rem; }
.cart-count {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--boreal-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.burger { display: inline-flex; }

/* ---------- Tiroir de navigation mobile ---------- */
.nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(22rem, 88vw);
  background: var(--boreal-bg);
  z-index: 210;
  transform: translateX(-105%);
  transition: transform 0.35s ease;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-drawer li { border-bottom: 1px solid var(--boreal-line); }
.nav-drawer a { display: block; padding: 0.9rem 0.25rem; text-decoration: none; font-size: 1.05rem; font-weight: 500; }

/* ---------- Surcouche partagée ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 36, 28, 0.55);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Recherche plein écran ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: color-mix(in srgb, var(--boreal-deep) 96%, transparent);
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1.25rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__inner { width: 100%; max-width: 40rem; }
.search-overlay__close { position: absolute; top: 1.25rem; right: 1.25rem; color: #fff; }
.search-form { display: flex; gap: 0.5rem; border-bottom: 2px solid rgba(255,255,255,0.35); padding-bottom: 0.75rem; }
.search-form input[type="search"] {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}
.search-form input[type="search"]::placeholder { color: rgba(255,255,255,0.55); }
.search-form input[type="search"]:focus { outline: none; }
.search-form button { background: transparent; border: 0; color: #fff; }
.search-form button svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Héros plein écran ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--boreal-deep);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,36,28,0.82) 0%, rgba(21,36,28,0.25) 55%, rgba(21,36,28,0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 4rem 3.5rem;
  max-width: 60rem;
}
.hero__content h1 {
  font-size: clamp(3rem, 12vw, 8rem);
  margin-bottom: 0.4em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__content .kicker { color: #fff; }
.hero__content p { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Carte produit ---------- */
.product-card {
  position: relative;
  background: var(--boreal-card);
  border: 1px solid var(--boreal-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media { position: relative; aspect-ratio: 4 / 4.6; background: #efe9dc; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__media a { display: block; height: 100%; }
.badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.4rem; z-index: 2; }
.badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--boreal-ink);
  color: #fff;
}
.badge--sale { background: var(--boreal-accent); }
.badge--new { background: var(--boreal-deep); }
.badge--out { background: var(--boreal-muted); }
.product-card__quick {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  opacity: 1;
  transform: none;
}
.product-card__quick .btn {
  box-shadow: 0 10px 24px -10px rgba(18, 16, 14, 0.5);
}
.product-card__body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card__cat { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--boreal-muted); font-weight: 600; }
.product-card__title { font-size: 1.02rem; margin: 0; line-height: 1.3; font-weight: 700; }
.product-card__title a { text-decoration: none; }
.product-card__price { margin-top: auto; padding-top: 0.4rem; font-weight: 600; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price del { color: var(--boreal-muted); font-weight: 400; font-size: 0.88em; }
.price ins { text-decoration: none; color: var(--boreal-accent); }

/* ---------- Carrousel de produits ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 300px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 0.5rem; }
.carousel__btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--boreal-line);
  background: var(--boreal-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.carousel__btn:hover { background: var(--boreal-ink); color: #fff; border-color: var(--boreal-ink); }
.carousel__btn svg { width: 1.2rem; height: 1.2rem; }
.carousel__empty {
  border: 1px dashed var(--boreal-line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--boreal-muted);
  background: var(--boreal-card);
}

/* ---------- Bannière de saison ---------- */
.season { overflow: hidden; }
.season__grid { display: grid; gap: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--boreal-deep); color: #fff; }
.season__media { min-height: 260px; position: relative; }
.season__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season__body { padding: 2.25rem 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.season__body h2 { font-size: clamp(2.6rem, 9vw, 5.5rem); margin: 0; text-transform: uppercase; text-wrap: balance; }
.season__body p { color: rgba(255,255,255,0.82); max-width: 30rem; }
.season--alt .season__grid { background: var(--boreal-accent); }
.season__body .kicker { color: #fff; opacity: 0.85; }

/* ---------- Éditorial ---------- */
.editorial__grid { display: grid; gap: 2rem; align-items: center; }
.editorial__media img { border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.editorial__body h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--boreal-line); }
.faq-item:first-of-type { border-top: 1px solid var(--boreal-line); }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.faq-item button .faq-icon { flex: none; width: 2rem; height: 2rem; border: 1px solid var(--boreal-line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.3s ease; font-weight: 400; }
.faq-item button[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--boreal-ink); color: #fff; border-color: var(--boreal-ink); }
.faq-item__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item__panel p { padding: 0 0.25rem 1.25rem; color: var(--boreal-muted); }

/* ---------- Infolettre ---------- */
.newsletter { background: var(--boreal-deep); color: #fff; border-radius: calc(var(--radius) + 6px); padding: 2.5rem 1.75rem; text-align: center; }
.newsletter h2 { font-size: clamp(2.2rem, 6.5vw, 4rem); text-wrap: balance; }
.newsletter p { color: rgba(255,255,255,0.8); max-width: 32rem; margin-inline: auto; }
.newsletter__form { display: flex; flex-direction: column; gap: 0.6rem; max-width: 26rem; margin: 1.5rem auto 0; }
.newsletter__form input[type="email"] {
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  width: 100%;
}
.newsletter__form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.newsletter__msg { margin-top: 1rem; font-size: 0.95rem; min-height: 1.5em; }
.newsletter__msg--ok { color: #9fd8a8; }
.newsletter__msg--err { color: #f2a38a; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--boreal-deep); color: #fff; margin-top: 4rem; }
.site-footer__top { display: grid; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 24rem; }
.footer-brand .site-title { color: #fff; }
.footer-col h3 { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; color: var(--boreal-accent); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.payment-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.payment-badges span {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---------- Tiroir du panier ---------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(26rem, 94vw);
  background: var(--boreal-bg);
  z-index: 210;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(21,36,28,0.25);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--boreal-line);
}
.cart-drawer__head h2 { font-size: 1.25rem; margin: 0; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer__empty { text-align: center; color: var(--boreal-muted); padding: 3rem 1rem; }
.cart-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.9rem; align-items: start; }
.cart-item img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; background: #efe9dc; }
.cart-item__title { font-weight: 600; font-size: 0.95rem; margin: 0 0 0.15rem; }
.cart-item__title a { text-decoration: none; }
.cart-item__variant { font-size: 0.82rem; color: var(--boreal-muted); margin: 0 0 0.4rem; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--boreal-line); border-radius: 999px; background: #fff; }
.qty button { width: 2rem; height: 2rem; border: 0; background: none; font-size: 1.05rem; line-height: 1; border-radius: 50%; }
.qty button:hover { color: var(--boreal-accent); }
.qty span { min-width: 1.6rem; text-align: center; font-weight: 600; font-size: 0.9rem; }
.cart-item__price { font-weight: 600; font-size: 0.92rem; }
.cart-item__remove { border: 0; background: none; color: var(--boreal-muted); font-size: 0.8rem; text-decoration: underline; padding: 0; margin-top: 0.3rem; }
.cart-item__remove:hover { color: var(--boreal-accent); }
.cart-drawer__foot { border-top: 1px solid var(--boreal-line); padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--boreal-card); }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; }
.cart-drawer__note { font-size: 0.8rem; color: var(--boreal-muted); text-align: center; }
.cart-drawer__loading { text-align: center; color: var(--boreal-muted); padding: 2rem 0; }

/* ---------- Aperçu rapide ---------- */
.quick-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.quick-modal.is-open { opacity: 1; visibility: visible; }
.quick-modal__box {
  background: var(--boreal-bg);
  border-radius: calc(var(--radius) + 6px);
  width: 100%;
  max-width: 56rem;
  max-height: 92svh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.quick-modal.is-open .quick-modal__box { transform: translateY(0); }
.quick-modal__close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; background: var(--boreal-bg); }
.quick-modal__grid { display: grid; gap: 0; }
.quick-modal__media { background: #efe9dc; min-height: 240px; }
.quick-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.quick-modal__body { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.quick-modal__body h2 { font-size: 1.6rem; margin: 0; }
.quick-modal__loading { padding: 4rem 2rem; text-align: center; color: var(--boreal-muted); }

/* ---------- Fiche produit ---------- */
.product-single { padding-block: 2rem 3rem; }
.product-single__grid { display: grid; gap: 2rem; }
.product-gallery { position: relative; }
.product-gallery__main { border-radius: calc(var(--radius) + 6px); overflow: hidden; background: #efe9dc; }
.product-gallery__main img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.6rem; overflow-x: auto; padding-bottom: 0.25rem; }
.product-gallery__thumbs button { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #efe9dc; }
.product-gallery__thumbs button.is-active { border-color: var(--boreal-accent); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { display: flex; flex-direction: column; gap: 1rem; }
.product-summary .product_title { font-size: clamp(2rem, 6vw, 3.5rem); margin: 0; text-wrap: balance; }
.product-summary .price { font-size: 1.4rem; font-weight: 600; }
.product-summary .woocommerce-product-rating { display: flex; align-items: center; gap: 0.5rem; }
.star-rating { color: var(--boreal-accent); }
.product-summary .woocommerce-product-details__short-description { color: var(--boreal-muted); }

/* Pastilles de pointures */
.boreal-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.25rem 0 0.75rem; }
.boreal-pill {
  min-width: 3.25rem;
  min-height: 3.25rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--boreal-line);
  border-radius: 14px;
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.boreal-pill:hover { border-color: var(--boreal-ink); }
.boreal-pill.is-selected { background: var(--boreal-ink); border-color: var(--boreal-ink); color: #fff; }
.boreal-pill.is-disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.variations { margin-bottom: 0.5rem; }
.variations th, .variations td { display: block; text-align: left; padding: 0; }
.variations th label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; display: block; }
.variations select { display: none; }
.reset_variations { font-size: 0.85rem; margin-top: 0.5rem; display: inline-block; }
.woocommerce-variation { margin-bottom: 0.75rem; }
.woocommerce-variation-price .price { font-size: 1.3rem; }

.single_add_to_cart_button { min-height: 3.4rem; font-size: 1.02rem; }
form.cart { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
form.cart .qty { min-height: 3.4rem; }
form.cart .qty button { width: 2.6rem; height: 3.2rem; }
form.cart .single_add_to_cart_button { flex: 1; }
.stock { font-weight: 600; }
.stock.in-stock { color: var(--boreal-deep); }
.stock.out-of-stock { color: var(--boreal-accent); }

.product-accordions { border-top: 1px solid var(--boreal-line); margin-top: 0.5rem; }
.product-meta { font-size: 0.88rem; color: var(--boreal-muted); display: flex; flex-direction: column; gap: 0.3rem; }
.product-meta a { color: var(--boreal-ink); }

/* Barre d'ajout fixe sur mobile */
.sticky-add {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--boreal-bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--boreal-line);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-add.is-visible { transform: translateY(0); }
.sticky-add img { width: 3rem; height: 3rem; object-fit: cover; border-radius: 10px; }
.sticky-add__info { flex: 1; min-width: 0; }
.sticky-add__info strong { display: block; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-add__info .price { font-size: 0.9rem; }

/* ---------- Boutique : archive ---------- */
.shop-head { padding-block: 2.5rem 1rem; }
.shop-head h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); margin-bottom: 0.3em; text-transform: uppercase; text-wrap: balance; }
.term-description { color: var(--boreal-muted); max-width: 44rem; }
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1rem;
  border-top: 1px solid var(--boreal-line);
  border-bottom: 1px solid var(--boreal-line);
  margin-bottom: 1.75rem;
}
.woocommerce-result-count { margin: 0; font-size: 0.9rem; color: var(--boreal-muted); }
.woocommerce-ordering select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--boreal-line);
  border-radius: 999px;
  background: #fff;
}
ul.products {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
ul.products::before, ul.products::after { display: none; }
.woocommerce-pagination { margin-bottom: 3rem; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 0.5rem; justify-content: center; margin: 0; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
  min-width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--boreal-line);
  border-radius: 50%;
  text-decoration: none;
  background: #fff;
}
.woocommerce-pagination span.current { background: var(--boreal-ink); color: #fff; border-color: var(--boreal-ink); }

/* ---------- Formulaires WooCommerce ---------- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--boreal-line);
  border-radius: 12px;
  background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--boreal-accent);
  outline-offset: 1px;
  border-color: var(--boreal-accent);
}
.woocommerce-notices-wrapper { margin-bottom: 1.25rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 12px;
  border: 1px solid var(--boreal-line);
  background: #fff;
  padding: 1rem 1.25rem;
  list-style: none;
}
.woocommerce-message { border-left: 4px solid var(--boreal-deep); }
.woocommerce-error { border-left: 4px solid var(--boreal-accent); }
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--boreal-line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.shop_table th, table.shop_table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--boreal-line); text-align: left; }

/* ---------- Pages de contenu ---------- */
.page-head { padding-block: 2.5rem 1rem; }
.page-head h1 { font-size: clamp(2.4rem, 8vw, 4.75rem); text-transform: uppercase; text-wrap: balance; }
.content-narrow { max-width: 46rem; }
.entry-content > * { margin-bottom: 1.25rem; }
.alignwide { max-width: 72rem; margin-inline: auto; }

/* ---------- Blogue ---------- */
.post-card { background: var(--boreal-card); border: 1px solid var(--boreal-line); border-radius: var(--radius); overflow: hidden; }
.post-card__media { aspect-ratio: 16/9; background: #efe9dc; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.post-card__body h2 { font-size: 1.35rem; margin-bottom: 0.4em; }
.post-card__body h2 a { text-decoration: none; }
.post-meta { font-size: 0.82rem; color: var(--boreal-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.posts-grid { display: grid; gap: 1.25rem; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Divers ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal;
}
.no-results { text-align: center; padding: 4rem 1rem; color: var(--boreal-muted); }
.no-results h1 { color: var(--boreal-ink); }

/* ============================================================
   Points de rupture — mobile d'abord, enrichi ensuite
   ============================================================ */

@media (min-width: 560px) {
  .newsletter__form { flex-direction: row; }
  .newsletter__form input[type="email"] { flex: 1; }
  .quick-modal__grid { grid-template-columns: 1fr 1fr; }
  .quick-modal__media { min-height: 100%; }
}

@media (min-width: 750px) {
  :root { --header-h: 76px; }
  .burger { display: none; }
  .main-nav { display: block; }
  .carousel__track { grid-auto-columns: min(38vw, 300px); margin-inline: 0; padding-inline: 0; }
  .season__grid { grid-template-columns: 1.05fr 1fr; }
  .season--flip .season__media { order: 2; }
  .season__media { min-height: 380px; }
  .season__body { padding: 3.5rem 3rem; }
  .editorial__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .product-single__grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
  .sticky-add { display: none; }
  ul.products { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { padding: 3.5rem 3rem; }
}

@media (min-width: 1024px) {
  ul.products { grid-template-columns: repeat(4, 1fr); }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel__track { grid-auto-columns: 280px; }
  .hero__content { padding-bottom: 5rem; }
}

/* Toujours afficher le bouton d'aperçu rapide au tactile */
@media (hover: none) {
  .product-card__quick { opacity: 1; transform: none; }
}

/* ============================================================
   Réduction des animations — respect des préférences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .announcement__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .announcement__track span::after { display: none; }
  .reveal { opacity: 1; transform: none; }
  .product-card:hover { transform: none; }
  .product-card:hover .product-card__media img { transform: none; }
}

/* ---------- Liste d'articles (blogue, recherche) ---------- */
.post-list { display: grid; gap: 1.75rem; grid-template-columns: 1fr; margin: 2rem 0; }
@media (min-width: 750px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card__meta { color: var(--boreal-muted); font-size: 0.82rem; margin-bottom: 0.4rem; }
.post-card__excerpt { color: var(--boreal-muted); font-size: 0.95rem; }
/* ============================================================
   BORÉAL v1.1 — Refonte « Impact » : sections audacieuses
   Code original. Typographie display massive, contrastes
   sombres percutants, rythme éditorial.
   ============================================================ */

/* ---------- Bandeau typographique défilant ---------- */
.marquee {
  background: var(--boreal-deep);
  color: var(--boreal-bg);
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: boreal-marquee-big 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  padding: 0 1.5rem;
  white-space: nowrap;
}
.marquee__track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--boreal-bg);
}
.marquee__track span::after {
  content: "•";
  margin-left: 3rem;
  color: var(--boreal-accent);
  -webkit-text-stroke: 0;
}
@keyframes boreal-marquee-big {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Chiffres clés (bande sombre) ---------- */
.stats {
  background: var(--boreal-black);
  color: #fff;
  padding-block: 5rem;
}
.stats__grid {
  display: grid;
  gap: 2.5rem;
}
.stat {
  border-top: 4px solid var(--boreal-accent);
  padding-top: 1.25rem;
}
.stat__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: block;
  color: #fff;
}
.stat__label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  max-width: 22rem;
}

/* ---------- Citation grand format ---------- */
.quote { text-align: center; }
.quote blockquote {
  margin: 0 auto;
  max-width: 58rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 5.5vw, 3.5rem);
  line-height: 1.28;
  text-wrap: balance;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem;
  line-height: 0.4;
  color: var(--boreal-accent);
  margin-bottom: 1.5rem;
  font-style: normal;
}
.quote cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--boreal-muted);
}

/* ---------- Éditorial grand format ---------- */
.editorial-grand__media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--boreal-line);
}
.editorial-grand__media img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}
.editorial-grand__panel {
  background: var(--boreal-deep);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.5rem 2rem;
  margin-top: -4rem;
  position: relative;
  box-shadow: var(--shadow);
}
.editorial-grand__panel .kicker { color: var(--boreal-accent); }
.editorial-grand__panel h2 {
  font-size: clamp(2.2rem, 6.5vw, 4.25rem);
  text-wrap: balance;
  color: #fff;
}
.editorial-grand__panel p { color: rgba(255, 255, 255, 0.85); }
.editorial-grand__panel .btn { margin-top: 0.5rem; }

/* ---------- Saisons : numéros géants et noirs alternés ---------- */
.season__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 1.25rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
}
.season--noir .season__grid { background: var(--boreal-black); }

/* ---------- Pied de page : nom géant ---------- */
.footer-giant {
  overflow: hidden;
  padding: 3rem 0 0;
}
.footer-giant__word {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 12.5vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

/* ---------- Points de rupture : nouvelles sections ---------- */
@media (min-width: 750px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .editorial-grand__panel { margin-top: -6rem; padding: 3.5rem; max-width: 58rem; }
  .stats { padding-block: 6.5rem; }
}

/* ---------- Réduction des animations : nouvelles sections ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .marquee__track span::after { display: none; }
}
