/* baleineau la joie — feuille de styles */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Couleurs du logo */
  --whale: #3bb0ee;
  --whale-deep: #1a6fa8;
  --whale-dark: #135680;
  --whale-soft: #dcf0fc;
  --whale-mist: #eef7fd;
  --taupe: #c9a58c;
  --taupe-soft: #f3e8df;
  --brown: #6b4226;
  --brown-dark: #3f2717;
  --cream: #faf5ee;
  --surface: #ffffff;

  --ink: #2f241b;
  --ink-soft: #5b4b3f;
  --muted: #86766a;
  --line: #ebe1d7;
  --danger: #b4412f;
  --success: #2f7d4f;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(47 36 27 / 6%);
  --shadow: 0 1px 2px rgb(47 36 27 / 5%), 0 10px 30px -8px rgb(47 36 27 / 12%);
  --shadow-lg: 0 24px 60px -16px rgb(19 86 128 / 28%);
  --font-title: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --wrap: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--whale-deep); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-title); color: var(--brown-dark); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 780px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--whale); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--whale-deep); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .97rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--whale-deep); color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn:hover { background: var(--whale-dark); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgb(19 86 128 / 55%); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-outline { background: transparent; color: var(--whale-deep); border-color: #b9dcf2; }
.btn-outline:hover { background: var(--whale-mist); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--taupe-soft); box-shadow: none; }
.btn-cream { background: var(--cream); color: var(--brown-dark); }
.btn-cream:hover { background: #fff; box-shadow: none; }
.btn-white { background: #fff; color: var(--whale-deep); }
.btn-white:hover { background: var(--cream); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f0d4cf; }
.btn-danger:hover { background: #fbecea; box-shadow: none; }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--whale-mist); color: var(--whale-deep);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: var(--whale-soft); }
.icon-btn svg { width: 22px; height: 22px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 90%);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: 52px; }
.brand-name { font: 800 1.12rem/1.1 var(--font-title); color: var(--brown-dark); letter-spacing: -.02em; }
.brand-light .brand-name { color: var(--cream); }

.nav { margin-inline: auto; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .96rem;
  transition: color .2s, background .2s;
}
.nav > ul > li > a:hover { color: var(--brown-dark); background: var(--cream); }
.nav > ul > li > a[aria-current='page'] { color: var(--whale-deep); }
.nav > ul > li > a[aria-current='page']::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px;
  margin-left: -9px; border-radius: 3px; background: var(--whale);
}
.chevron { width: 15px; height: 15px; transition: transform .2s; }

.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: 8px; min-width: 250px;
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px);
  background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .chevron { transform: rotate(180deg); }
.sub a { border-radius: 10px; padding: 10px 14px; font-size: .93rem; }
.sub a:hover { background: var(--whale-mist); color: var(--whale-deep); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav ~ .header-actions { margin-left: 0; }
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: var(--brown); color: #fff; border: 2px solid #fff;
  font: 700 .72rem/17px var(--font-body); text-align: center;
}
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand img { width: 44px; height: 44px; }
  .nav-toggle { display: grid; }
  .nav ~ .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; overflow-y: auto;
    background: var(--surface); padding: 12px 16px 32px;
    transform: translateX(100%); transition: transform .28s var(--ease); visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 1.08rem; padding: 14px 12px; border-radius: 12px; }
  .nav > ul > li > a[aria-current='page'] { background: var(--whale-mist); }
  .nav > ul > li > a[aria-current='page']::after { display: none; }
  .chevron { display: none; }
  .sub {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 8px 14px; min-width: 0; background: none;
  }
  .sub a { font-size: .98rem; color: var(--muted); padding: 9px 12px; }
}
@media (max-width: 420px) { .brand-name { font-size: 1rem; } }

/* ---------- Structure des sections ---------- */

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.bg-mist { background: var(--whale-mist); }
.bg-cream { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font: 700 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--whale-deep);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--whale); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 56ch; font-size: 1.05rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: linear-gradient(180deg, var(--whale-mist), #fff); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); max-width: 62ch; font-size: 1.12rem; margin: 0; }

.wave { display: block; width: 100%; height: clamp(36px, 5vw, 72px); color: var(--surface); margin-top: -1px; }

/* ---------- Accueil ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgb(59 176 238 / 16%), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgb(201 165 140 / 18%), transparent 60%),
    var(--whale-mist);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 50ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: var(--shadow-lg);
}
.hero-emblem {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--cream) 70%);
  box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.hero-emblem img { width: 74%; }
.hero-photo:not([hidden]) ~ .hero-emblem { inset: auto -2% -2% auto; width: 34%; height: 34%; }
.hero-photo:not([hidden]) ~ .hero-emblem img { width: 88%; }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow);
  font: 600 .9rem var(--font-body); color: var(--brown-dark); animation: float 6s ease-in-out infinite;
}
.hero-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--whale); }
.hero-chip:nth-of-type(2) { animation-delay: -2s; }
.hero-chip:nth-of-type(2) i { background: var(--taupe); }
.hero-chip:nth-of-type(3) { animation-delay: -4s; }
.hero-chip:nth-of-type(3) i { background: var(--brown); }
.chip-a { top: 8%; left: -4%; }
.chip-b { top: 46%; right: -6%; }
.chip-c { bottom: 6%; left: 6%; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 340px; order: -1; }
  .chip-a { left: 0; } .chip-b { right: 0; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-bubble {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: var(--whale-mist); color: var(--whale-deep); margin-bottom: 18px;
}
.value:nth-child(2) .icon-bubble { background: var(--taupe-soft); color: var(--brown); }
.value:nth-child(3) .icon-bubble { background: var(--cream); color: var(--brown); }
.icon-bubble svg { width: 24px; height: 24px; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px); color: #fff;
  background: linear-gradient(120deg, var(--whale-dark), var(--whale-deep) 55%, #3a93cf);
  display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center;
}
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: rgb(255 255 255 / 8%);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; opacity: .9; max-width: 56ch; font-size: 1.06rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */

.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 24px; }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media > img { transform: scale(1.04); }
.card-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.card-media .placeholder img { width: 36%; opacity: .5; }
.card-media button.zoom { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.photo-count {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgb(47 36 27 / 70%); color: #fff; font: 600 .76rem var(--font-body);
}
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.card-body h3 { margin: 0; }
.card-kicker { font: 700 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--taupe); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9rem; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta svg { width: 16px; height: 16px; flex: none; color: var(--whale-deep); }
.card-text { color: var(--ink-soft); margin: 0; white-space: pre-line; }
.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.text-btn { all: unset; cursor: pointer; color: var(--whale-deep); font-weight: 600; font-size: .92rem; }
.text-btn:hover { text-decoration: underline; }

.date-badge {
  position: absolute; top: 14px; left: 14px; width: 58px; padding: 8px 0 7px; text-align: center;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); line-height: 1;
}
.date-badge strong { display: block; font: 800 1.4rem/1 var(--font-title); color: var(--brown-dark); }
.date-badge span { font: 700 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--whale-deep); }
.tag {
  position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px;
  font: 700 .74rem var(--font-body); background: var(--whale-deep); color: #fff;
}
.tag-muted { background: rgb(255 255 255 / 94%); color: var(--brown-dark); }

/* Produit */
.product-card .card-media { aspect-ratio: 1; }
.product-card .card-body { padding: 18px 20px 20px; gap: 6px; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.price { font: 800 1.2rem var(--font-title); color: var(--brown-dark); letter-spacing: -.01em; }
.add-btn {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--whale-mist); color: var(--whale-deep); font: 600 .88rem var(--font-body);
  transition: background .2s, color .2s;
}
.add-btn:hover { background: var(--whale-deep); color: #fff; }
.add-btn svg { width: 18px; height: 18px; }
.add-btn.added { background: var(--success); color: #fff; }
.add-btn:disabled { background: var(--cream); color: var(--muted); cursor: not-allowed; }

/* Onglets de rubriques */
.tabs-bar {
  position: sticky; top: var(--header-h); z-index: 20; background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink-soft); font: 600 .92rem var(--font-body); cursor: pointer; text-decoration: none; transition: all .2s;
}
.tab:hover { border-color: #b9dcf2; color: var(--whale-deep); }
.tab[aria-selected='true'] { background: var(--brown-dark); border-color: var(--brown-dark); color: #fff; }

.rubrique + .rubrique { margin-top: clamp(56px, 8vw, 88px); }
.rubrique-head { margin-bottom: 28px; max-width: 70ch; }
.rubrique-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.rubrique-head p { color: var(--muted); margin: 0; white-space: pre-line; }

.empty {
  text-align: center; padding: 56px 24px; color: var(--muted);
  background: var(--cream); border-radius: var(--radius); border: 1.5px dashed var(--line);
}
.empty img { width: 84px; margin: 0 auto 16px; opacity: .75; }

.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--cream), #fff, var(--cream)); background-size: 200% 100%; animation: shimmer 1.4s infinite; min-height: 320px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.reassure { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; padding: 0; list-style: none; }
.reassure li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-soft); }
.reassure svg { width: 20px; height: 20px; color: var(--whale-deep); }

/* ---------- Fiche produit ---------- */

.breadcrumb { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--whale-deep); }

.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; }
.gallery-thumbs button[aria-current='true'] { border-color: var(--whale); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.product-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.product-info .price { font-size: 1.7rem; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 22px; font-size: .92rem; color: var(--success); font-weight: 500; }
.stock-line::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-line.out { color: var(--danger); }
.product-desc { color: var(--ink-soft); white-space: pre-line; margin-bottom: 28px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.product-info .reassure { flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-info { position: static; } }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 48px; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--ink-soft); border-radius: 999px; }
.stepper button:hover:not(:disabled) { color: var(--whale-deep); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper span { min-width: 28px; text-align: center; font-weight: 600; }
.stepper-sm { height: 34px; }
.stepper-sm button { width: 32px; font-size: 1rem; }

/* ---------- Tiroir panier ---------- */

.drawer-overlay { position: fixed; inset: 0; z-index: 60; background: rgb(47 36 27 / 40%); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%);
  background: var(--surface); display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgb(47 36 27 / 30%);
  transform: translateX(100%); transition: transform .32s var(--ease); visibility: hidden;
}
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.25rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--cream); }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--cream); }
.line-name { font-weight: 600; color: var(--ink); text-decoration: none; display: block; margin-bottom: 6px; line-height: 1.3; }
.line-price { font-weight: 700; text-align: right; }
.line .text-btn { font-size: .82rem; color: var(--muted); display: block; margin-top: 6px; text-align: right; }

.sum-row { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .95rem; margin-bottom: 6px; }
.sum-row.total { color: var(--brown-dark); font: 800 1.15rem var(--font-title); margin: 10px 0 16px; }
.free-ship { font-size: .85rem; color: var(--whale-deep); margin: 0 0 10px; }
.free-bar { height: 6px; border-radius: 6px; background: var(--whale-soft); overflow: hidden; margin-bottom: 14px; }
.free-bar i { display: block; height: 100%; background: var(--whale); border-radius: 6px; transition: width .4s var(--ease); }
.terms { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; cursor: pointer; }
.terms input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--whale-deep); flex: none; }
.pay-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.drawer-empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.drawer-empty .icon-bubble { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; }
.drawer-empty .icon-bubble svg { width: 28px; height: 28px; }
#pay-btn { min-height: 52px; font-size: 1rem; }

/* ---------- Formulaires ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.input, .field input:not([type='checkbox']):not([type='file']), .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--whale); box-shadow: 0 0 0 4px var(--whale-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--whale-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--whale-mist); color: var(--ink); margin-bottom: 16px; }
.notice.success { background: #e5f4ea; color: var(--success); }
.notice.error { background: #fbecea; color: var(--danger); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.panel-soft { background: var(--whale-mist); border-color: transparent; }
.panel h2 { font-size: 1.3rem; }
.contact-details { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 18px; }
.contact-details li { display: flex; gap: 14px; align-items: center; }
.contact-details .icon-bubble { margin: 0; background: #fff; }
.contact-details small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-details a { word-break: break-word; font-weight: 500; }

/* ---------- Qui suis-je ---------- */

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-visual { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; }
.about-visual img.about-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-visual .hero-emblem { position: absolute; inset: 0; border-radius: var(--radius-lg); }
.about-visual img.about-photo:not([hidden]) + .hero-emblem { display: none; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-visual { position: static; max-width: 360px; width: 100%; margin-inline: auto; } }

/* ---------- Textes longs (présentation, pages légales) ---------- */

.prose { font-size: 1.05rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.35rem; margin: 2em 0 .6em; color: var(--brown-dark); }
.prose h3 { margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--whale); }
.prose strong { color: var(--ink); }
.prose mark.todo { background: #fff1c7; color: #7a5300; padding: 1px 6px; border-radius: 6px; font-size: .92em; }

.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--brown-dark); color: rgb(250 245 238 / 82%); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-about p { margin: 18px 0 20px; max-width: 30ch; }
.footer-title { font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--taupe); margin: 8px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: rgb(250 245 238 / 82%); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgb(250 245 238 / 12%); font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgb(250 245 238 / 10%); color: var(--cream) !important; transition: background .2s; }
.socials a:hover { background: rgb(250 245 238 / 20%); }
.socials svg { width: 19px; height: 19px; }
.socials-soft a { background: #fff; color: var(--whale-deep) !important; }
.socials-soft a:hover { background: var(--whale-soft); }

/* ---------- Visionneuse, toast ---------- */

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(28 20 14 / 88%); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(94vw, 1400px); max-height: 86vh; border-radius: 14px; object-fit: contain; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / 92%); color: var(--ink); font-size: 1.4rem; display: grid; place-items: center;
}
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); opacity: 0;
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 999px;
  background: var(--brown-dark); color: #fff; box-shadow: var(--shadow-lg); font-weight: 500;
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .btn { min-height: 34px; padding: 0 14px; font-size: .85rem; }

.edit-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; gap: 8px; flex-wrap: wrap;
  padding: 8px; border-radius: 999px; background: var(--brown-dark); box-shadow: var(--shadow-lg);
}
.edit-bar .btn { min-height: 36px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Remerciement / 404 ---------- */

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page .icon-bubble { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px; background: #e5f4ea; color: var(--success); }
.center-page .icon-bubble svg { width: 40px; height: 40px; }
.center-page p { color: var(--ink-soft); max-width: 54ch; margin-inline: auto; font-size: 1.08rem; }
.order-ref { display: inline-block; margin: 6px 0 28px; padding: 8px 16px; border-radius: 999px; background: var(--cream); font: 600 .9rem var(--font-body); color: var(--brown-dark); }
