/* Souffle Divin Créations — styles du site public */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant.woff') format('woff');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-italic.woff') format('woff');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Thème « Nuit prune » (maquette 3) */
  color-scheme: dark;
  --bg: #24121e;
  --bg-soft: #2f1a28;
  --surface: #2f1a28;
  --field: #24121e;
  --header-bg: rgba(36, 18, 30, 0.95);
  --overlay: rgba(10, 4, 8, 0.6);
  --white: #ffffff;
  --ink: #f6ecef;
  --ink-2: #dccbd3;
  --ink-3: #cdb8c3;
  --line: #4a2e3f;
  --line-2: #6b4a5e;
  --accent: #e3c285;
  --accent-dark: #f0d6a5;
  --on-accent: #24121e;
  --accent-soft: #e9b8d3;
  --toast-link: #7a1f5c;
  /* Bande claire (ateliers) */
  --band-bg: #f6ecef;
  --band-ink: #24121e;
  --band-ink-2: #5a4250;
  --band-eyebrow: #7a1f5c;
  --band-card: #ffffff;
  --band-line: #d8c3cd;
  --band-btn-bg: #24121e;
  --band-btn-ink: #f6ecef;
  /* États */
  --ok: #9fd9ae;
  --warn: #e3c285;
  --danger: #f2a0a8;
  --st-wait-bg: rgba(227, 194, 133, 0.16);
  --st-wait-fg: #e3c285;
  --st-paid-bg: rgba(159, 217, 174, 0.16);
  --st-paid-fg: #9fd9ae;
  --st-ship-bg: rgba(169, 198, 240, 0.16);
  --st-ship-fg: #a9c6f0;
  --st-cancel-bg: rgba(242, 160, 168, 0.16);
  --st-cancel-fg: #f2a0a8;
  --deadline-bg: rgba(227, 194, 133, 0.14);
  --deadline-fg: #f0d6a5;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-dark);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }
}

/* Typographie */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
h1,
h2,
h3 {
  font-variant-numeric: lining-nums;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
.h-display {
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1.02;
}
.h-section {
  font-size: clamp(34px, 5vw, 48px);
}
.lead {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0;
}
.muted {
  color: var(--ink-3);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--on-accent);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-light {
  background: var(--band-btn-bg);
  color: var(--band-btn-ink);
}
.btn-light:hover {
  background: var(--band-eyebrow);
  color: #fff;
}
.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--accent);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 16px;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-btn .count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 600;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn {
    display: inline-flex;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand-name {
    font-size: 22px;
  }
  .cart-btn .label {
    display: none;
  }
}

/* Héros */
.hero {
  padding: 64px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-copy em {
  color: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.hero-media {
  position: relative;
  padding-bottom: 48px;
}
.hero-media .main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.hero-media .inset {
  position: absolute;
  left: -24px;
  bottom: 0;
  width: 38%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid var(--bg);
}
@media (max-width: 560px) {
  .hero {
    padding: 40px 0;
  }
  .hero-media .inset {
    left: 0;
  }
}

/* Atouts */
.perks {
  background: var(--bg-soft);
}
.perks .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.perk .perk-title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
}
.perk p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* Sections */
.section {
  padding-top: 88px;
  padding-bottom: 88px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 560px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Boutique */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.tab[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.kind-note {
  margin: -12px 0 28px;
  color: var(--ink-3);
  font-size: 15px;
  max-width: 46em;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 36px 28px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-media {
  position: relative;
  display: block;
  background: var(--bg-soft);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-media:hover img {
  transform: scale(1.03);
}
.card-media .noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 14px;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg);
  color: var(--accent);
}
.badge.dark {
  background: var(--ink);
  color: var(--bg);
}
.badge.amber {
  background: var(--bg);
  color: var(--st-wait-fg);
}
.card-title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}
.card-title a {
  color: var(--ink);
  text-decoration: none;
}
.card-title a:hover {
  color: var(--accent);
}
.card-meta {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.price {
  font-weight: 600;
  font-size: 18px;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--line-2);
  background: var(--surface);
}
.empty-state h3 {
  font-size: 30px;
  margin-bottom: 8px;
}
.empty-state p {
  margin: 0 auto;
  max-width: 34em;
  color: var(--ink-2);
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft), var(--line), var(--bg-soft));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Ateliers */
.dark {
  background: var(--band-bg);
  color: var(--band-ink);
}
.dark .eyebrow {
  color: var(--band-eyebrow);
}
.dark .lead {
  color: var(--band-ink-2);
}
.band-note {
  margin: 28px 0 0;
  color: var(--band-ink-2);
  font-size: 15px;
}
.band-note a {
  color: var(--band-eyebrow);
}
.workshops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.workshop {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--band-line);
  background: var(--band-card);
}
.workshop h3 {
  font-size: 30px;
  font-weight: 600;
}
.workshop p {
  margin: 0;
  color: var(--band-ink-2);
}
.workshop .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* À propos */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}
.about img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-copy p {
  margin: 0;
  color: var(--ink-2);
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--accent) !important;
}

/* Formulaires */
.soft {
  background: var(--bg-soft);
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
}
.split-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.split-copy p {
  margin: 0;
  color: var(--ink-2);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
}
@media (max-width: 560px) {
  .panel {
    padding: 22px 18px;
  }
}
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.field > span:first-child {
  display: block;
}
.field .hint {
  font-weight: 400;
  color: var(--ink-3);
  font-size: 13px;
}
.input,
.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--field);
  font-size: 16px;
  width: 100%;
}
.field textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-status {
  margin: 0;
  font-size: 15px;
}
.form-status.ok {
  color: var(--ok);
}
.form-status.err {
  color: var(--danger);
}
.choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.choice {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
}
.choice input {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
}
.choice strong {
  display: block;
  font-weight: 600;
}
.choice span {
  font-size: 14px;
  color: var(--ink-3);
}

/* Pied de page */
.site-footer {
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  font-size: 15px;
}
.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-cols a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-cols a:hover {
  color: var(--accent);
}
.copyright {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  padding: 8px 16px 32px;
  margin: 0;
}

/* Panier latéral */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow);
}
.drawer-open .drawer {
  transform: none;
}
.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 30px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px;
}
.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line img,
.line .ph {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: var(--bg-soft);
}
.line-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}
.line-name a {
  color: var(--ink);
  text-decoration: none;
}
.line-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.line-warn {
  font-size: 13px;
  color: var(--danger);
  margin-top: 4px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  margin-top: 8px;
}
.qty button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}
.qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}
.line-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink-3);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  min-height: 32px;
}
.link-btn:hover {
  color: var(--danger);
}
.totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.totals .grand {
  font-size: 19px;
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.pay-note {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--bg-soft);
  padding: 12px 14px;
}
.pay-note svg {
  flex: 0 0 auto;
  color: var(--accent);
  margin-top: 2px;
}

/* Page produit */
.product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: start;
}
.product-gallery .main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-soft);
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.thumbs button[aria-current='true'] {
  border-color: var(--accent);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 110px;
}
.product-info h1 {
  font-size: clamp(38px, 5vw, 52px);
}
.kind-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.product-price {
  font-size: 28px;
  font-weight: 600;
}
.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts li span:first-child {
  color: var(--ink-3);
}
.description {
  white-space: pre-line;
  color: var(--ink-2);
  margin: 0;
}
.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.buy-row .qty {
  margin-top: 0;
}
.breadcrumb {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--ink-3);
}
@media (max-width: 700px) {
  .product-info {
    position: static;
  }
}

/* Commande */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.summary {
  position: sticky;
  top: 110px;
}
.summary h2 {
  font-size: 30px;
  margin-bottom: 4px;
}
.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fieldset legend {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 42px;
  min-height: 30px;
  font-size: 15px;
  color: var(--ink-2);
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}

/* Confirmation */
.confirm-card {
  max-width: 760px;
  margin: 0 auto;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}
.status-en_attente {
  background: var(--st-wait-bg);
  color: var(--st-wait-fg);
}
.status-payee {
  background: var(--st-paid-bg);
  color: var(--st-paid-fg);
}
.status-expediee {
  background: var(--st-ship-bg);
  color: var(--st-ship-fg);
}
.status-annulee {
  background: var(--st-cancel-bg);
  color: var(--st-cancel-fg);
}
.interac {
  border: 2px solid var(--accent);
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.interac h2 {
  font-size: 32px;
}
.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.copy-row .k {
  font-size: 13px;
  color: var(--ink-3);
}
.copy-row .v {
  font-weight: 600;
  font-size: 18px;
  word-break: break-all;
}
.deadline {
  font-size: 15px;
  background: var(--deadline-bg);
  color: var(--deadline-fg);
  padding: 12px 14px;
}

/* Notifications */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  z-index: 120;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100% - 32px);
  display: flex;
  gap: 14px;
  align-items: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast a {
  color: var(--toast-link);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

[hidden] {
  display: none !important;
}

.split-copy .eyebrow,
.about-copy .eyebrow {
  color: var(--accent);
}

/* Politique de confidentialité */
.legal {
  max-width: 820px;
}
.legal h1 {
  margin: 8px 0 6px;
}
.legal h2 {
  font-size: 30px;
  margin: 44px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal p {
  margin: 0 0 14px;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal strong {
  color: var(--ink);
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  border: 1px solid var(--line);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.legal th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}
.legal td {
  color: var(--ink-2);
}
.legal tr:last-child td {
  border-bottom: 0;
}
.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}
.copyright a {
  color: var(--ink-3);
}
.legal .eyebrow {
  color: var(--accent);
}
