/* ====================================================================
   Le Petit Crochet — styles globaux
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&family=Caveat:wght@400;500;600;700&display=swap');

/* ── Palettes ─────────────────────────────────────────────────────── */
:root {
  --bg:          #fff1eb;
  --bg-soft:     #ffd6c5;
  --ink:         #2a1432;
  --ink-soft:    #5a3a5e;
  --accent:      #b591d6;
  --accent-dark: #8c64b8;
  --sage:        #8d62c4;
  --sun:         #f0a440;
  --cream:       #fff8f4;
  --line:        rgba(42,20,50,.16);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Sans', system-ui, sans-serif;
  --font-hand:    'Caveat', cursive;
}

[data-palette="vivant"] {
  --bg: #fff4e3; --bg-soft: #ffe5c2; --ink: #2a1810; --ink-soft: #5e3f2a;
  --accent: #ee5a2d; --accent-dark: #cc3f17; --sage: #e8336d; --sun: #f5a623;
  --cream: #fffaf0; --line: rgba(42,24,16,.16);
}
[data-palette="sorbet"] {
  --bg: #fff4ef; --bg-soft: #ffe1d4; --ink: #3a2522; --ink-soft: #6b4d48;
  --accent: #ff8c7a; --accent-dark: #e35a45; --sage: #7dd5b4; --sun: #ffd166;
  --cream: #fffaf7; --line: rgba(58,37,34,.14);
}
[data-palette="electrique"] {
  --bg: #fff7e8; --bg-soft: #ffe5b8; --ink: #2b0f1c; --ink-soft: #5e3447;
  --accent: #e6006e; --accent-dark: #b8005a; --sage: #00997a; --sun: #ffaa00;
  --cream: #fffaf0; --line: rgba(43,15,28,.16);
}
[data-palette="solaire"] {
  --bg: #fff6e0; --bg-soft: #ffe2b3; --ink: #231908; --ink-soft: #5a4226;
  --accent: #ff6a1f; --accent-dark: #cc4d10; --sage: #1ca7a0; --sun: #ffc857;
  --cream: #fff8eb; --line: rgba(35,25,8,.16);
}
[data-palette="bonbon"] {
  --bg: #fff1ee; --bg-soft: #ffd9d0; --ink: #2a1422; --ink-soft: #5a3251;
  --accent: #ff4d8e; --accent-dark: #d12b6b; --sage: #a07ad6; --sun: #ffd166;
  --cream: #fff6f4; --line: rgba(42,20,34,.16);
}
[data-palette="foret"] {
  --bg: #f6f1e2; --bg-soft: #ece4cd; --ink: #1d2418; --ink-soft: #48503f;
  --accent: #d24a1f; --accent-dark: #a8350f; --sage: #0f7a4a; --sun: #e3a82a;
  --cream: #fbf8ec; --line: rgba(29,36,24,.18);
}
[data-palette="crepuscule"] {
  --bg: #fff0eb; --bg-soft: #ffdacb; --ink: #2b0e2a; --ink-soft: #5a2f54;
  --accent: #c4187a; --accent-dark: #9a0e60; --sage: #7a3aa4; --sun: #f0a020;
  --cream: #fff7f3; --line: rgba(43,14,42,.18);
}
[data-palette="mediterranee"] {
  --bg: #fff7e0; --bg-soft: #ffecbf; --ink: #0d1f4a; --ink-soft: #34457a;
  --accent: #ff5a3c; --accent-dark: #cf3c20; --sage: #1748b8; --sun: #f3c019;
  --cream: #fffbef; --line: rgba(13,31,74,.18);
}

/* ── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  cursor: auto;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }

@media (hover: none) { body { cursor: auto; } }

/* ── Marquee ──────────────────────────────────────────────────────── */
.lpc-marquee {
  overflow: hidden;
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lpc-marquee-row {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: marquee-scroll 42s linear infinite;
}
.lpc-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  white-space: nowrap;
}
.lpc-marquee-sep { opacity: .4; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ── Yarn trail (SVG overlay) ─────────────────────────────────────── */
#yarn-trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

/* ── Eyebrow ──────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .04em;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-arrow { display: inline-block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover { box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--accent) 65%, transparent); }
.btn-outline {
  background: transparent;
  border: 1.2px solid var(--line);
  color: var(--ink);
}

/* ── Nav ──────────────────────────────────────────────────────────── */
#site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 60px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px;
  letter-spacing: .03em;
  text-decoration: none;
  color: var(--ink);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cart {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
}
.nav-cart:hover { background: var(--line); }
.nav-account {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink); opacity: .7; transition: opacity .2s;
  text-decoration: none;
}
.nav-account:hover { opacity: 1; color: var(--accent); }
.nav-account.logged { opacity: 1; color: var(--accent); font-style: italic; }

/* Mobile nav */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ── Hero — banner plein écran ────────────────────────────────────── */
#hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: hero-kenburns 14s ease-in-out infinite alternate;
  transform-origin: center center;
}
.hero-slide.active { opacity: 1; }
@keyframes hero-kenburns {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.30) 45%,
    rgba(0,0,0,.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 36px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title em { font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: 17px;
  line-height: 1.5;
  opacity: .92;
  margin: 0 0 24px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-hero-outline {
  background: rgba(180,145,214,.28);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .3s, transform .3s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* Pills info row en bas du hero */
.hero-pills {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 0;
  background: var(--ink);
}
.hero-pills span {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .85;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.hero-pills span:last-child { border-right: none; }

/* ── Values strip — compact horizontal ────────────────────────────── */
#values {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}
.value-item:last-child { border-right: none; }
.value-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  min-width: 32px;
  flex-shrink: 0;
}
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft, rgba(180,120,80,.10));
  color: var(--accent);
  flex-shrink: 0;
}
.value-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 2px;
}
.value-desc { font-size: 13px; line-height: 1.45; color: var(--ink-soft); margin: 0; }

/* ── Products ─────────────────────────────────────────────────────── */
#products { padding: 110px 60px 100px; }
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}
.products-title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 0;
  text-align: center;
}
.products-title .dot {
  font-family: var(--font-hand);
  color: var(--accent);
  font-size: 86px;
}
.products-sub { font-size: 18px; color: var(--ink-soft); margin-top: 16px; margin-bottom: 56px; text-align: center; }
.products-filter {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .6;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* Product card */
.product-card {
  background: var(--cream);
  padding: 14px;
  border-radius: 6px;
  box-shadow: 0 4px 18px -10px color-mix(in srgb, var(--ink) 26%, transparent);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px) rotate(0deg) !important;
  box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--ink) 30%, transparent);
}
.product-card:nth-child(1) { transform: rotate(-1.2deg); }
.product-card:nth-child(2) { transform: rotate(0deg); }
.product-card:nth-child(3) { transform: rotate(1.4deg); }
.product-card:nth-child(4) { transform: rotate(-0.8deg); }
.product-card:nth-child(5) { transform: rotate(0.6deg); }
.card-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-soft);
}
.card-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease-in-out, transform .6s cubic-bezier(.2,.7,.2,1);
}
.card-slide.active { opacity: 1; }
.product-card:hover .card-slide.active { transform: scale(1.04); }
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.card-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--cream);
  display: inline-block;
}
.card-body { padding: 0 8px 10px; flex: 1; display: flex; flex-direction: column; }
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.card-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  font-style: italic;
  margin: 0;
}
.card-price {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--accent);
  white-space: nowrap;
}
.card-desc { font-size: 13px; color: var(--ink-soft); margin: 0 0 auto; padding-bottom: 18px; line-height: 1.5; }
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.card-meta {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
  flex-wrap: wrap;
}
.card-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s, color .2s;
}
.card-btn:hover { background: var(--ink); color: var(--cream); }

/* ── Story ────────────────────────────────────────────────────────── */
#story {
  background: var(--cream);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.story-img-wrap { position: relative; }
.story-img {}

/* Crochets animés */
.crochet-hooks-wrap {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform-origin: center center;
  transition: opacity 0.35s ease;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.22));
}
.crochet-hooks-wrap.visible { opacity: 1; }
.crochet-hook-el { display: flex; }
.crochet-hooks-wrap.stitch-in  { animation: hook-in  0.3s ease-out forwards; }
.crochet-hooks-wrap.stitch-out { animation: hook-out 0.3s ease-in  forwards; }

/* L'angle --hook-angle oriente vers l'intérieur du cadre */
/* top=0° right=90° bottom=180° left=270° */
@keyframes hook-in {
  from { transform: translate(var(--hx), var(--hy)) rotate(var(--hook-angle,0deg)) translateY(0); }
  to   { transform: translate(var(--hx), var(--hy)) rotate(var(--hook-angle,0deg)) translateY(12px); }
}
@keyframes hook-out {
  from { transform: translate(var(--hx), var(--hy)) rotate(var(--hook-angle,0deg)) translateY(12px); }
  to   { transform: translate(var(--hx), var(--hy)) rotate(var(--hook-angle,0deg)) translateY(0); }
}

.crochet-frame {
  position: relative;
  width: 40%;
  margin: 0 auto;
}
.crochet-frame img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.crochet-frame-svg {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.story-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 18px 30px -10px color-mix(in srgb, var(--ink) 40%, transparent);
}
.story-badge-big { font-size: 36px; }
.story-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
}
.story-title em { font-style: italic; }
.story-body { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin-top: 30px; }
.story-signature { font-family: var(--font-hand); font-size: 36px; color: var(--accent); margin-top: 24px; }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat-n {
  font-family: var(--font-display);
  font-size: 52px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
}
.stat-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  margin-top: 6px;
}

/* ── Process ──────────────────────────────────────────────────────── */
#process {
  padding: 100px 60px;
  background: var(--bg);
}
.process-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 70px;
  font-style: italic;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.process-connector {
  position: absolute;
  top: 55px;
  left: 16%;
  width: 68%;
  pointer-events: none;
}
.process-step { text-align: center; }
.process-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 44px;
  font-style: italic;
  color: var(--accent);
  box-shadow: 0 10px 30px -15px color-mix(in srgb, var(--accent) 60%, transparent);
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 8px;
}
.process-step-desc { font-size: 15px; color: var(--ink-soft); margin: 0; max-width: 220px; margin-inline: auto; }

/* ── Reviews — carrousel ──────────────────────────────────────────── */
#reviews {
  padding: 100px 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg-soft) 45%, var(--bg)) 0%, var(--cream) 100%);
  overflow: hidden;
}
.reviews-header { text-align: center; margin-bottom: 60px; padding: 0 60px; }
.reviews-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  margin: 12px 0 0;
}
.reviews-carousel-wrap { position: relative; }
.reviews-carousel {
  display: flex;
  gap: 28px;
  padding: 20px 60px 40px;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.review-card {
  background: var(--cream);
  padding: 32px 32px 28px;
  border-radius: 4px;
  box-shadow: 0 20px 30px -20px color-mix(in srgb, var(--ink) 26%, transparent), 0 2px 4px color-mix(in srgb, var(--ink) 7%, transparent);
  position: relative;
  flex: 0 0 420px;
  transition: transform .4s, opacity .4s;
}
.review-card.active { transform: rotate(0deg) scale(1.02); }
.review-card:not(.active) { opacity: .65; }
.review-card:nth-child(odd)  { transform: rotate(-.6deg); }
.review-card:nth-child(even) { transform: rotate(.5deg); }
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.reviews-dot.active { background: var(--accent); transform: scale(1.3); }
.review-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 60px;
  height: 18px;
  background: color-mix(in srgb, var(--accent) 33%, transparent);
  border-left: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  border-right: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
}
.review-stars { display: flex; gap: 3px; color: var(--accent); font-size: 16px; }
.review-body {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  margin-top: 14px 0 18px;
  font-style: italic;
  color: var(--ink);
  margin: 14px 0 18px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  flex-shrink: 0;
}
.review-name { font-weight: 500; font-size: 15px; }
.review-city { font-size: 12px; opacity: .6; font-family: var(--font-mono); letter-spacing: .08em; }

/* ── Newsletter ───────────────────────────────────────────────────── */
#newsletter {
  padding: 110px 60px;
  background: var(--accent);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.newsletter-psst { font-family: var(--font-hand); font-size: 44px; margin-bottom: 4px; }
.newsletter-title {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  font-style: italic;
  margin: 0;
}
.newsletter-sub { font-size: 17px; margin-top: 22px; opacity: .92; max-width: 540px; margin-inline: auto; }
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 36px;
  max-width: 480px;
  margin-inline: auto;
}
.newsletter-input {
  flex: 1;
  padding: 16px 22px;
  border: 1px solid color-mix(in srgb, var(--cream) 60%, transparent);
  background: transparent;
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.newsletter-input::placeholder { opacity: .65; color: var(--cream); }
.newsletter-btn {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform .3s, opacity .3s;
  white-space: nowrap;
}
.newsletter-btn:hover { transform: translateY(-2px); opacity: .9; }
.newsletter-deco {
  position: absolute;
  left: -40px;
  bottom: -40px;
  opacity: .2;
  pointer-events: none;
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 60px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  margin-bottom: 18px;
}
.footer-tag {
  opacity: .65;
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--cream);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.footer-social:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.footer-ig { font-family: var(--font-hand); font-size: 22px; margin-top: 22px; color: var(--accent); }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a {
  color: var(--cream);
  opacity: .75;
  text-decoration: none;
  font-size: 14px;
  transition: opacity .2s;
}
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .55;
}

/* ── Reveal animations ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Legal pages ──────────────────────────────────────────────────── */
.legal-page { background: var(--bg); min-height: 100vh; padding: 80px 60px; }
.legal-container { max-width: 820px; margin: 0 auto; }
.legal-container h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 8px;
}
.legal-update { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; opacity: .55; margin-bottom: 60px; }
.legal-subtitle { color: var(--ink-soft); font-size: 18px; margin-bottom: 56px; }
.legal-container h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  margin: 50px 0 16px;
}
.legal-container h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0 10px;
}
.legal-container p, .legal-container li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.legal-container a { color: var(--accent); }
.legal-container ul { padding-left: 20px; }
.legal-container section { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal-container section:last-child { border-bottom: none; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.legal-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.faq-section { margin-bottom: 48px; }
.faq-section h2 { font-family: var(--font-display); font-size: 36px; font-weight: 500; margin-bottom: 24px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.faq-contact-cta { text-align: center; padding: 60px 0 20px; }
.faq-contact-cta p { font-size: 18px; color: var(--ink-soft); margin-bottom: 24px; }

/* ── Palette switcher (admin) ─────────────────────────────────────── */
.product-urgency {
  font-size: 13px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* ── Tablette (5 cartes → 3 colonnes) ────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card-name { font-size: 26px; }
  .card-price { font-size: 18px; }
}

/* ── Mobile responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  #site-nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }

  #hero { height: 60vh; min-height: 380px; max-height: 520px; }
  .hero-content { padding: 0 20px 28px; align-items: center; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { gap: 10px; }
  .hero-pills { overflow-x: auto; flex-wrap: nowrap; }
  .hero-pills span { font-size: 10px; padding: 10px 12px; flex: none; }

  #values { }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .value-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .value-item:last-child, .value-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  #products { padding: 56px 24px; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .products-title { font-size: 44px; }
  .products-filter { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card:nth-child(odd) { transform: rotate(-.8deg) !important; }
  .product-card:nth-child(even) { transform: rotate(.8deg) !important; }
  .card-name { font-size: 24px !important; }
  .card-price { font-size: 16px !important; }

  #story { padding: 56px 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-title { font-size: 38px; }
  .crochet-frame { width: 75%; }
  .story-img img { height: auto; object-fit: cover; }
  .story-badge { bottom: -16px; right: -10px; width: 100px; height: 100px; }
  .story-badge-big { font-size: 24px; }

  #process { padding: 60px 24px; }
  .process-title { font-size: 36px; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-connector { display: none; }

  #reviews { padding: 60px 24px; }
  .reviews-title { font-size: 36px; }
  .reviews-grid { grid-template-columns: 1fr; }

  #newsletter { padding: 60px 24px; }
  .newsletter-title { font-size: 38px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-btn { width: 100%; }

  footer { padding: 56px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .legal-page { padding: 40px 24px; }
  .legal-container h1 { font-size: 36px; }

  #palette-toggle, #palette-switcher { bottom: 16px; right: 16px; }
}
