/* ============================================
   KENZY PLANNER : Design
   Les couleurs se modifient ici, en haut du fichier
   ============================================ */
:root {
  --terracotta: #9E5749;       /* couleur du logo */
  --terracotta-dark: #85463A;
  --rose: #E4C1BE;             /* bandeaux du planner physique */
  --rose-deep: #D4A5A1;
  --rose-soft: #F6EAE7;
  --rose-line: #EBDAD6;
  --cream: #FAF6F1;
  --paper: #FBF9F8;
  --white: #FFFEFD;
  --ink: #2B3044;              /* texte bleu nuit */
  --ink-soft: #6E7284;

  --radius: 22px;
  --radius-small: 14px;
  --shadow: 0 8px 28px rgba(43, 48, 68, 0.07);

  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 8vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 14px;
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; border-color: var(--terracotta); color: var(--terracotta); }
.btn-ghost:hover { background: var(--rose-soft); }
.btn-light { background: var(--white); color: var(--terracotta-dark); }
.btn-light:hover { background: var(--rose-soft); }
.btn-small { padding: 9px 18px; font-size: 0.84rem; background: var(--terracotta); color: #fff; }

/* ---------- EN-TÊTE ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 253, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rose-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-img { height: 50px; width: auto; display: block; }
.back-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.88rem; }

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-btn span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav {
  display: none;
  position: absolute;
  top: 64px; left: 0; right: 0;
  flex-direction: column;
  gap: 6px;
  padding: 16px 22px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--rose-line);
}
.nav.open { display: flex; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; font-weight: 500; font-size: 0.92rem; }
.nav .btn-small { text-align: center; color: #fff; margin-top: 6px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, var(--rose-soft) 0%, var(--white) 100%);
  padding: 64px 0 72px;
}
.hero-inner { max-width: 720px; }
.hero h1 { margin-bottom: 20px; }
.hero-text { font-size: 1.05rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- SECTIONS ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-intro { color: var(--ink-soft); max-width: 560px; margin-bottom: 36px; }

/* ---------- CARTES ---------- */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--cream);
  border: 1px solid var(--rose-line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }

/* ---------- LISTE DU CONTENU ---------- */
.feature-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.feature-list li {
  background: var(--white);
  border: 1px solid var(--rose-line);
  border-radius: var(--radius-small);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-list strong { font-size: 0.98rem; }
.feature-list span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- OFFRES ---------- */
.offers { display: grid; gap: 24px; margin-top: 30px; }
.offer {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--rose-line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}
.offer-featured { border-color: var(--terracotta); }
.offer p { color: var(--ink-soft); margin-bottom: 18px; font-size: 0.95rem; }
.price {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--terracotta) !important;
  margin-bottom: 6px !important;
}
.badge {
  position: absolute;
  top: -13px; left: 24px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
}
.offer-features { list-style: none; margin: 0 0 22px; }
.offer-features li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 0.9rem;
}
.offer-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}
.owned {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta);
  background: var(--rose-soft);
  padding: 10px 18px;
  border-radius: 999px;
}
.note { margin-top: 24px; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- APPEL FINAL & PIED DE PAGE ---------- */
.final-cta { background: var(--terracotta); color: #fff; text-align: center; padding: 72px 0; }
.final-cta h2 { color: #fff; }
.final-cta p { margin-bottom: 26px; opacity: 0.92; }

.site-footer { text-align: center; padding: 44px 0; color: var(--ink-soft); background: var(--cream); font-size: 0.92rem; }
.footer-brand { font-family: var(--font-title); font-size: 1.8rem; color: var(--terracotta); font-weight: 600; }
.copyright { margin-top: 14px; font-size: 0.8rem; }


/* ============================================
   L'APPLICATION
   ============================================ */
.app { padding-top: 28px; padding-bottom: 90px; }

/* Onglets */
.app-tabs {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 254, 253, 0.96);
  border-bottom: 1px solid var(--rose-line);
}
.app-tabs-inner { display: flex; gap: 4px; overflow-x: auto; }
.app-tabs a {
  flex: none;
  padding: 14px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.app-tabs a.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.app-tabs a.locked::after { content: " 🔒"; font-size: 0.68rem; }

/* Titre de page */
.app-head { display: grid; gap: 16px; margin-bottom: 6px; }
.app-title {
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 2.9rem);
  line-height: 1.08;
}
.app-title span { display: block; font-size: 0.78em; }

.today-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--rose-deep);
}
.today-label span { color: var(--ink-soft); margin-right: 4px; }

.demo-note {
  background: var(--rose-soft);
  border-radius: var(--radius-small);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 14px 0 16px;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
  cursor: pointer;
}
.switch input { width: 20px; height: 20px; accent-color: var(--terracotta); flex: none; }

/* Navigation semaine */
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 12px; }
.week-nav-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.js-weeklabel { font-weight: 600; font-size: 0.92rem; }
.round-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--rose-deep);
  background: var(--white);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.round-btn:active { background: var(--rose-soft); }
.link-btn {
  background: none; border: none;
  color: var(--terracotta);
  font-family: inherit; font-size: 0.78rem; font-weight: 500;
  cursor: pointer; text-decoration: underline;
}

.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 24px; }
.day-chip {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 10px 2px;
  border: 1.5px solid var(--rose-line);
  border-radius: var(--radius-small);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}
.dc-name { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.dc-num { font-weight: 600; font-size: 1.1rem; }
.dc-count { font-size: 0.64rem; color: var(--ink-soft); }
.day-chip.active { background: var(--rose); border-color: var(--rose-deep); }
.day-chip.active .dc-name, .day-chip.active .dc-count { color: var(--ink); }
.day-chip.today .dc-num { color: var(--terracotta); }

/* Grille des blocs du jour */
.day-grid { display: grid; gap: 22px; }
.panel { display: flex; flex-direction: column; }

.band {
  background: var(--rose);
  border: 2px solid var(--rose-deep);
  border-radius: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 12px 10px;
  margin-bottom: 12px;
}
.panel-body {
  flex: 1;
  background: var(--paper);
  border: 2px solid var(--rose-line);
  border-radius: var(--radius-small);
  padding: 8px 16px 16px;
}
.panel-body.plain { padding-top: 18px; }

.line-title {
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.line-title::before, .line-title::after { content: ""; flex: 1; height: 1px; background: var(--rose-line); }

/* Listes à cocher */
.check-list { list-style: none; }
.check-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1.5px solid var(--rose-line);
}
.check {
  flex: none;
  width: 24px; height: 24px;
  border: 2px solid var(--rose-deep);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.check-row.done .check { background: var(--terracotta); border-color: var(--terracotta); }
.check-row.done .check::after {
  content: "✓"; color: #fff; font-size: 0.8rem;
  position: absolute; inset: 0; display: grid; place-items: center;
}
.check-text { flex: 1; word-break: break-word; font-size: 0.95rem; }
.check-row.done .check-text { text-decoration: line-through; opacity: 0.5; }
.empty-row { color: var(--ink-soft); font-size: 0.88rem; font-style: italic; padding: 12px 0 4px; }

.icon-btn {
  flex: none;
  width: 32px; height: 32px;
  background: none; border: none; border-radius: 50%;
  color: var(--ink-soft);
  font-size: 1rem;
  cursor: pointer;
}
.icon-btn:hover { background: var(--rose-soft); }

/* Étiquettes */
.tag {
  font-style: normal;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  white-space: nowrap;
  background: var(--rose-soft);
  color: var(--ink);
}
.tag-maison  { background: #F1E2DC; }
.tag-bebe    { background: #F6E4E4; }
.tag-famille { background: #EDE6D9; }
.tag-courses { background: #E6ECE3; }
.tag-moi     { background: #E9E2EE; }
.tag-recette { background: #F1E2DC; }

/* Formulaire d'ajout */
.add-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.add-form input, .add-form select {
  font-family: inherit;
  font-size: 16px;               /* 16px évite le zoom automatique sur iPhone */
  color: var(--ink);
  border: 1.5px solid var(--rose-line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 0;
}
.add-form input { flex: 1 1 140px; }
.add-form select { flex: 0 1 112px; }
.btn-add {
  flex: none; width: 44px;
  border: none; border-radius: 12px;
  background: var(--terracotta); color: #fff;
  font-size: 1.4rem; cursor: pointer;
}

/* Cases à remplir (lait, couches) */
.box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.box {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  border: 1.5px solid var(--rose-deep);
  background: var(--white);
  border-radius: 6px;
  padding: 10px;
}
.box::placeholder, .note-area::placeholder, .add-form input::placeholder { color: #B5B7C2; }

.note-area {
  width: 100%;
  min-height: 150px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  border: none;
  background: transparent;
  resize: vertical;
  line-height: 1.7;
}
.note-area.short { min-height: 96px; }
.note-area:focus, .box:focus, .add-form input:focus, .add-form select:focus {
  outline: 2px solid var(--rose-deep);
  outline-offset: 1px;
}

/* Humeur du bébé */
.mood-row { display: flex; justify-content: space-between; gap: 6px; }
.mood-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--rose-deep);
  background: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}
.mood-btn.active { background: var(--rose-soft); border-color: var(--terracotta); opacity: 1; }

/* ---------- MEAL PLANNER ---------- */
.meal-week {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.meal-day {
  background: var(--paper);
  border: 2px solid var(--rose-line);
  border-radius: var(--radius-small);
  padding: 16px 16px 8px;
}
.meal-day.today { border-color: var(--rose-deep); }
.meal-day-title { font-size: 1.25rem; margin-bottom: 8px; }
.meal-day-title span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 6px;
}
.meal-slot { padding: 10px 0; border-top: 1.5px solid var(--rose-line); }
.meal-slot-head { display: flex; justify-content: space-between; align-items: center; }
.meal-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.add-meal {
  background: none; border: none;
  color: var(--terracotta);
  font-family: inherit; font-size: 0.8rem; font-weight: 500;
  cursor: pointer;
  padding: 6px 0 6px 10px;
}
.meal-list { list-style: none; }
.meal-item { display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.meal-text { flex: 1; font-size: 0.95rem; word-break: break-word; }

/* ---------- LISTE DE COURSES ---------- */
.shop-generate {
  background: var(--rose-soft);
  border-radius: var(--radius-small);
  padding: 16px;
  margin: 6px 0 20px;
}
.shop-generate p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 12px; }
.shop-generate .shop-status { margin: 12px 0 0; color: var(--ink); font-weight: 500; }
.shop-generate .shop-status:empty { display: none; }

.shop-add { margin: 0 0 14px; }
.shop-share { width: 100%; text-align: center; margin-bottom: 14px; }
.shop-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 24px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

#shopList {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.shop-group.panel-body { padding-top: 18px; }
.qty { color: var(--ink-soft); font-size: 0.82rem; margin-left: 6px; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  padding: 30px 10px;
}

/* ---------- RECETTES ---------- */
.search {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  border: 1.5px solid var(--rose-line);
  background: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  margin-bottom: 14px;
}
.search:focus { outline: 2px solid var(--rose-deep); outline-offset: 1px; }
.search::placeholder { color: #B5B7C2; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rose-line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
}
.chip.active { background: var(--rose); border-color: var(--rose-deep); }

.result-count { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 14px; }

.recipe-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.recipe-card {
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--rose-line);
  border-radius: var(--radius-small);
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.recipe-card:hover { border-color: var(--rose-deep); }
.recipe-card:active { transform: scale(0.98); }
.recipe-tags .tag { margin-left: 0; }
.recipe-title { font-family: var(--font-title); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.recipe-meta { font-size: 0.82rem; color: var(--ink-soft); }

/* Fiche (recette, achat) */
.dialog-wide { padding: 0; width: min(94vw, 560px); max-height: 90vh; overflow: auto; }
.sheet { padding: 22px 22px 24px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-top .tag { margin-left: 0; }
.sheet-title { font-size: clamp(1.7rem, 6vw, 2.2rem); margin: 12px 0 4px; }
.sheet-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px; }
.sheet h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.sheet-list, .sheet-steps { list-style: none; }
.sheet-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1.5px solid var(--rose-line);
  font-size: 0.95rem;
}
.sheet-list .qty { margin-left: 0; text-align: right; }
.sheet-steps { counter-reset: step; }
.sheet-steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 38px;
  font-size: 0.95rem;
}
.sheet-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 9px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--rose);
  display: grid; place-items: center;
  font-size: 0.78rem;
  font-weight: 600;
}
.sheet-note {
  margin-top: 18px;
  background: var(--rose-soft);
  border-radius: var(--radius-small);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.sheet-actions { display: flex; justify-content: flex-end; margin-top: 20px; }

/* ---------- MOI AUSSI ---------- */
.appt-list { list-style: none; }
.appt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1.5px solid var(--rose-line);
}
.appt-date {
  flex: none;
  min-width: 76px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--terracotta);
  line-height: 1.35;
}
.appt-text { flex: 1; word-break: break-word; font-size: 0.95rem; }
.appt-form input[name="text"] { flex: 1 1 100%; }
.appt-form input[type="date"] { flex: 1 1 130px; }
.appt-form input[type="time"] { flex: 0 1 110px; }

/* ---------- PAGE DES OFFRES ET ACCÈS ---------- */
.offers-page { padding-top: 34px; padding-bottom: 90px; }
.offers-page .section-intro { margin-top: 14px; margin-bottom: 8px; }

.how-title { margin-top: 48px; font-size: clamp(1.5rem, 5vw, 2rem); }
.how-steps { list-style: none; counter-reset: how; display: grid; gap: 12px; margin-top: 16px; }
.how-steps li {
  counter-increment: how;
  position: relative;
  padding: 14px 16px 14px 58px;
  background: var(--paper);
  border: 1.5px solid var(--rose-line);
  border-radius: var(--radius-small);
  font-size: 0.92rem;
}
.how-steps li::before {
  content: counter(how);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--rose);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.82rem;
}

.access-box {
  margin-top: 34px;
  background: var(--rose-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.access-box p { font-size: 0.92rem; }

.locked-box {
  max-width: 520px;
  margin: 30px auto;
  text-align: center;
  background: var(--rose-soft);
  border-radius: var(--radius);
  padding: 36px 24px;
}
.locked-box h2 { font-size: 1.7rem; }
.locked-box p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 22px; }
.locked-box .hero-actions { justify-content: center; }

.form-message { min-height: 1.4em; font-size: 0.85rem; margin-top: 4px; }
.form-message.ok { color: #4F7A5A; }
.form-message.error { color: var(--terracotta-dark); }
.form-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--rose-soft);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

/* ---------- FENÊTRES ---------- */
.dialog {
  margin: auto;
  border: none;
  border-radius: var(--radius);
  padding: 26px 22px;
  width: min(92vw, 420px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(43, 48, 68, 0.25);
}
.dialog::backdrop { background: rgba(43, 48, 68, 0.45); }
.dialog h3 { margin-bottom: 16px; }
.dialog-wide { padding: 0; width: min(94vw, 560px); }
.field { display: block; margin-bottom: 14px; }
.field span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  border: 1.5px solid var(--rose-line);
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
}
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.dialog-actions .btn { padding: 12px 20px; }

/* ============================================
   TABLETTE ET ORDINATEUR
   ============================================ */
@media (min-width: 800px) {
  .menu-btn { display: none; }
  .nav {
    display: flex; position: static;
    flex-direction: row; align-items: center;
    gap: 28px; padding: 0;
    background: none; border: none;
  }
  .nav .btn-small { margin-top: 0; }

  .hero { padding: 110px 0 120px; }
  .section { padding: 100px 0; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }

  .app-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .day-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .day-chip { padding: 14px 4px; }
  .shop-share { width: auto; }
}