/* ============================================================
   MÉLAUPÉE — Feuille de style principale
   Palette : crème, blush, sauge, lavande, terracotta doux
   ============================================================ */

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

/* ── Variables ──────────────────────────────────────────── */
:root {
  --cream:       #fdf8f3;
  --cream-dark:  #f5ede1;
  --blush:       #f2d9d0;
  --sage:        #c8d8c4;
  --lavender:    #d8d0e8;
  --warm-sand:   #e8ddd0;
  --soft-brown:  #9c7b6e;
  --text-dark:   #4a3c38;
  --text-mid:    #7d6b65;
  --text-light:  #b09990;
  --accent:      #c4876a;
  --accent-dark: #a86d52;
  --success:     #7db88a;
  --error:       #c97070;
  --white:       #fff9f6;
  --border:      rgba(232,221,208,0.7);
  --shadow-soft: 0 4px 24px rgba(156,123,110,0.10);
  --shadow-med:  0 8px 40px rgba(156,123,110,0.16);
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   50px;
}

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a   { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ── Typographie ────────────────────────────────────────── */
.font-display  { font-family: 'Cormorant Garamond', serif; }
.font-script   { font-family: 'Dancing Script', cursive; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.7rem;
}

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
  background: rgba(253,248,243,0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: var(--shadow-soft); }

.nav-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  color: var(--soft-brown);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-mid);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-btn {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-xl);
  transition: background 0.2s, transform 0.2s !important;
}
.nav-btn:hover { background: var(--accent-dark) !important; transform: scale(1.04); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--soft-brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.close-menu {
  position: absolute; top: 1.5rem; right: 5vw;
  font-size: 1.5rem; cursor: pointer;
  background: none; border: none; color: var(--text-mid);
}

/* Nav spacer */
.nav-spacer { height: 72px; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: 'Lato', sans-serif;
  font-size: 0.83rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(196,135,106,0.28);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,135,106,0.38);
}
.btn-secondary {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--warm-sand);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Cards & containers ──────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
}

.container      { max-width: 1100px; margin: 0 auto; padding: 0 5vw; }
.container-sm   { max-width: 700px;  margin: 0 auto; padding: 0 5vw; }
.container-xs   { max-width: 520px;  margin: 0 auto; padding: 0 5vw; }

/* ── Section header ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-mid); font-size: 0.98rem; max-width: 480px; margin: 0.8rem auto 0; }

/* ── Formulaires ─────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

.form-control {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--warm-sand);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,135,106,0.12);
}
.form-control::placeholder { color: var(--text-light); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-error { font-size: 0.8rem; color: var(--error); margin-top: 0.3rem; }
.form-hint  { font-size: 0.75rem; color: var(--text-light); margin-top: 0.3rem; }

/* ── Alertes ─────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.3rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alert-success { background: #e8f5e9; border-left: 4px solid var(--success); color: #2e7d32; }
.alert-error   { background: #ffebee; border-left: 4px solid var(--error);   color: #b71c1c; }
.alert-info    { background: #e8f4fd; border-left: 4px solid #64b5f6;        color: #0d47a1; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  margin-top: 6rem;
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--cream-dark);
}
.footer-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--soft-brown);
}
.footer-links {
  display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap;
}
.footer-links a { color: var(--text-light); font-size: 0.78rem; letter-spacing: 0.08em; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--text-light); }

/* ── Badges confiance ────────────────────────────────────── */
.trust-badges { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.trust-badge  {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--text-light);
}
.trust-badge .icon { font-size: 1.1rem; }

/* ── Configurateur ───────────────────────────────────────── */
.config-section {
  padding: 5rem 0;
}

.config-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-med);
  padding: 3rem 3.5rem;
}

.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}

.config-field > label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Motifs tissu */
.motifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.8rem;
}
.motif-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  cursor: pointer;
}
.motif-thumb {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2.5px solid transparent;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  background: var(--cream-dark);
}
.motif-thumb img { width: 100%; height: 100%; object-fit: cover; }
.motif-thumb .no-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--text-light);
}
.motif-item input[type=radio] { display: none; }
.motif-item input:checked + .motif-thumb {
  border-color: var(--accent);
}
.motif-item input:checked + .motif-thumb::after {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,135,106,0.3);
  color: white; font-size: 1.2rem;
}
.motif-thumb:hover { transform: scale(1.05); }
.motif-name {
  font-size: 0.7rem; color: var(--text-light);
  text-align: center; letter-spacing: 0.04em;
}

/* Prénom input */
.prenom-input {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 0.05em;
}

/* Polices */
.polices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.police-item { cursor: pointer; }
.police-item input[type=radio] { display: none; }
.police-label {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.2rem; padding: 0.8rem 0.5rem;
  border: 1.5px solid var(--warm-sand);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.police-item input:checked + .police-label {
  border-color: var(--accent);
  background: rgba(196,135,106,0.06);
}
.police-label:hover { border-color: var(--accent); }
.police-apercu { font-size: 1.3rem; color: var(--text-dark); line-height: 1; }
.police-nom {
  font-size: 0.62rem; color: var(--text-light);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* Couleurs fil */
.couleurs-grid {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
}
.couleur-item { cursor: pointer; }
.couleur-item input[type=radio] { display: none; }
.couleur-cercle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2.5px solid transparent;
  display: block;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.couleur-cercle:hover { transform: scale(1.15); }
.couleur-item input:checked + .couleur-cercle {
  border-color: var(--text-dark);
}
.couleur-item input:checked + .couleur-cercle::after {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%; border: 2px solid white;
}
.couleur-nom-label {
  font-size: 0.68rem; color: var(--text-light);
  text-align: center; margin-top: 0.3rem;
  max-width: 60px; line-height: 1.2;
}

/* Preview live */
.preview-live {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  display: flex; align-items: center; gap: 2rem;
  max-width: 700px; margin: 2.5rem auto 0;
}
.preview-cushion-round {
  flex-shrink: 0;
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden; position: relative;
  box-shadow: 0 8px 24px rgba(156,123,110,0.18);
}
.preview-cushion-round .pc-bg {
  position: absolute; inset: 0;
  background: var(--lavender);
}
.preview-cushion-round img.pc-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.preview-cushion-round .pc-prenom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-align: center; padding: 0.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
  z-index: 2;
  word-break: break-word;
}
.preview-detail h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 300; margin-bottom: 0.3rem;
}
.preview-detail p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.8; }
.preview-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--accent); margin-top: 0.6rem;
}
.preview-price small { font-size: 0.8rem; color: var(--text-light); font-family: 'Lato'; margin-left: 0.3rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vw 4vw 6vw 8vw;
  position: relative; z-index: 2;
  animation: fadeUp 0.9s ease both;
}
.hero-text h1 { margin: 0.5rem 0 1.2rem; }
.hero-text h1 em { font-style: italic; color: var(--accent); }
.hero-desc { color: var(--text-mid); max-width: 420px; margin-bottom: 2rem; font-size: 1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 4vw 6vw 4vw 2vw;
  position: relative; z-index: 2;
  animation: fadeIn 1.1s ease 0.2s both;
}
.hero-blob {
  position: absolute; inset: -20px;
  background: radial-gradient(ellipse at 55% 50%, var(--blush) 0%, var(--lavender) 50%, var(--sage) 100%);
  border-radius: 48% 52% 56% 44% / 44% 48% 52% 56%;
  opacity: 0.55;
  animation: blobWobble 8s ease-in-out infinite;
}
.hero-cushion-wrap { position: relative; z-index: 2; width: 100%; max-width: 400px; }
.hero-cushion-img {
  width: 88%; max-width: 360px;
  aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; margin: 0 auto;
  box-shadow: 0 24px 60px rgba(156,123,110,0.22);
  animation: floatCushion 5s ease-in-out infinite;
}
.hero-cushion-placeholder {
  width: 88%; max-width: 360px;
  aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--blush) 0%, var(--lavender) 100%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px rgba(156,123,110,0.22);
  animation: floatCushion 5s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.hero-cushion-text {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem; color: rgba(156,123,110,0.5);
}

/* ── Galerie ─────────────────────────────────────────────── */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.galerie-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.galerie-item:hover { transform: scale(1.03); box-shadow: var(--shadow-med); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; }
.galerie-legende {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem; background: linear-gradient(transparent, rgba(74,60,56,0.6));
  color: white; font-size: 0.85rem; opacity: 0; transition: opacity 0.3s;
}
.galerie-item:hover .galerie-legende { opacity: 1; }

/* ── Étapes commande ─────────────────────────────────────── */
.steps-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 3rem;
}
.step {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light);
}
.step.active { color: var(--accent); }
.step.done   { color: var(--success); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; flex-shrink: 0;
}
.step-line {
  width: 60px; height: 1px;
  background: var(--warm-sand);
  margin: 0 0.8rem;
}

/* ── Récap commande ──────────────────────────────────────── */
.recap-card {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}
.recap-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.recap-row:last-child { border-bottom: none; }
.recap-row .label { color: var(--text-mid); }
.recap-row .val   { color: var(--text-dark); font-weight: 400; }
.recap-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}
.recap-total .val { color: var(--accent); }

/* ── Confirmation ────────────────────────────────────────── */
.confirmation-hero {
  text-align: center;
  padding: 5rem 5vw;
}
.confirm-icon {
  font-size: 4rem; margin-bottom: 1.5rem;
  animation: popIn 0.5s ease both;
}
.confirm-ref {
  display: inline-block;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--accent);
  margin: 1rem 0;
}

/* ── Page À propos ────────────────────────────────────────── */
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
}
.apropos-img {
  border-radius: 60% 40% 40% 60% / 50%;
  overflow: hidden; aspect-ratio: 0.9/1;
  box-shadow: var(--shadow-med);
}
.apropos-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--text-dark);
  gap: 1rem;
}
.faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0.8rem 0 0.2rem;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  padding: 5rem 0;
}
.contact-info h3 {
  margin-bottom: 0.8rem;
}
.contact-info p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes blobWobble {
  0%,100% { border-radius: 48% 52% 56% 44% / 44% 48% 52% 56%; }
  33%     { border-radius: 60% 40% 44% 56% / 56% 60% 40% 44%; }
  66%     { border-radius: 42% 58% 60% 40% / 52% 44% 56% 48%; }
}
@keyframes floatCushion {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-10px) rotate(0.5deg); }
}
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.fade-in { animation: fadeUp 0.7s ease both; }

/* ── Admin ───────────────────────────────────────────────── */
.admin-layout {
  display: grid; grid-template-columns: 240px 1fr; min-height: 100vh;
}
.admin-sidebar {
  background: var(--text-dark);
  padding: 2rem 0;
}
.admin-sidebar .sidebar-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem; color: var(--blush);
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block; margin-bottom: 1rem;
}
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  text-decoration: none;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  color: white; background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  padding-left: calc(1.5rem - 3px);
}
.admin-main { background: #f7f3ef; padding: 2rem 3rem; overflow-y: auto; }
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
}
.admin-topbar h1 { font-size: 1.8rem; }

.admin-card {
  background: white; border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5rem 2rem; margin-bottom: 1.5rem;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card {
  background: white; border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--text-mid); letter-spacing: 0.08em; text-transform: uppercase; }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 0.8rem 1rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mid); border-bottom: 2px solid var(--border);
}
.admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.admin-table tr:hover td { background: var(--cream); }

/* Status badges */
.badge-statut {
  display: inline-block; padding: 0.25rem 0.75rem;
  border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.statut-en_attente  { background: #fff3e0; color: #e65100; }
.statut-payee        { background: #e8f5e9; color: #2e7d32; }
.statut-en_fabrication { background: #e3f2fd; color: #1565c0; }
.statut-expediee     { background: #f3e5f5; color: #6a1b9a; }
.statut-annulee      { background: #ffebee; color: #b71c1c; }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--warm-sand);
  border-radius: var(--radius-md);
  padding: 2rem; text-align: center;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  background: var(--cream);
}
.upload-zone:hover { border-color: var(--accent); background: rgba(196,135,106,0.04); }
.upload-zone input { display: none; }

/* Color picker */
.color-picker-wrap { display: flex; align-items: center; gap: 1rem; }
.color-preview-dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 3rem 6vw 1rem; text-align: center; align-items: center; }
  .hero-desc { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { padding: 2rem 10vw 3rem; }
  .trust-badges { justify-content: center; }
  .config-grid { grid-template-columns: 1fr; }
  .config-card { padding: 2rem 1.5rem; }
  .apropos-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .preview-live { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 1.5rem; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .motifs-grid { grid-template-columns: repeat(3, 1fr); }
  .polices-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .step-line { width: 30px; }
  .config-card { padding: 1.5rem 1rem; }
  .card { padding: 1.5rem 1.2rem; }
}
