/* ==========================================================================
   SAMIRA — Studio de peinture en direct
   Charte verte éditoriale, blanc lumineux, lisibilité prioritaire
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..700,0..100&family=DM+Sans:opsz,wght@9..40,300..700&family=Pinyon+Script&display=swap');

/* Pinyon Script en local pour garantir le rendu manuscrit même hors-ligne */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/pinyon-script.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/pinyon-script-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette — verts naturels + blanc lumineux */
  --paper: #fbfaf5;
  --paper-warm: #f5f1e7;
  --paper-tint: #eef0e6;

  --ink: #0d1f15;
  --ink-soft: #1a2e1f;

  --forest-deep: #142b1c;
  --forest: #1f3a2a;
  --forest-mid: #2c4a36;
  --sage: #6e8769;
  --fern: #aab99f;
  --moss: #cfdac4;
  --line: #c9d4be;

  --gold: #a08a5b;

  /* Typographies */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;

  /* Espace */
  --container: 1320px;
  --container-narrow: 1080px;
  --gutter: clamp(24px, 4vw, 72px);

  /* Radius */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;
}

/* Reset léger */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--forest); color: var(--paper); }

/* ==========================================================================
   Typographie de base
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1 {
  font-size: clamp(46px, 6.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 350;
}

h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 350;
}

h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.18;
  font-weight: 400;
}

h4 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.3;
  font-weight: 500;
}

p { font-size: 18px; line-height: 1.7; color: var(--ink); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  font-weight: 350;
  font-style: italic;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 100;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--forest);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: var(--forest);
  display: inline-block;
}

/* ==========================================================================
   Container, sections
   ========================================================================== */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }

section { padding-block: clamp(46px, 5.6vw, 88px); }
.tight-top { padding-top: 0; }
.tight-bottom { padding-bottom: 0; }
.tint { background: var(--paper-warm); }
.tint-cool { background: var(--paper-tint); }
.dark { background: var(--forest-deep); color: var(--paper); }
.dark h1, .dark h2, .dark h3, .dark p { color: var(--paper); }
.dark .eyebrow { color: var(--moss); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky; top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(251, 250, 245, 0.94);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-brand .script-mark {
  font-family: var(--font-script);
  font-size: 46px;
  color: var(--forest-deep);
  vertical-align: -6px;
  margin-right: 2px;
  text-shadow: 0 1px 0 rgba(13, 31, 21, 0.08);
  font-weight: 400;
}

/* Sur la page d'accueil (hero immersif), le S est sur un fond sombre
   d'aquarelle : on l'éclaircit pour qu'il reste lisible */
body.has-hero-immersive .nav-brand .script-mark {
  color: var(--paper);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 16px rgba(0, 0, 0, 0.15);
}
@media (max-width: 900px) {
  /* En mobile, la barre redevient sur fond clair même en hero immersif */
  body.has-hero-immersive .nav-brand .script-mark {
    color: var(--forest-deep);
    text-shadow: 0 1px 0 rgba(13, 31, 21, 0.08);
  }
}

.nav-links {
  display: flex;
  gap: 38px;
  justify-content: center;
}
.nav-links a {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 8px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--forest);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; left: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }

.nav-cta {
  justify-self: end;
}

/* Bouton primaire */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--forest);
  color: var(--paper);
  border: 1px solid var(--forest);
  transition: all 0.3s cubic-bezier(.22,.61,.36,1);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
}
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-sm { padding: 12px 22px; font-size: 13px; white-space: nowrap; }

@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-cta .btn { padding: 9px 18px; font-size: 11.5px; letter-spacing: 0.1em; }
}

/* ==========================================================================
   Hero — Accueil
   ========================================================================== */

.hero {
  padding-block: clamp(64px, 8vw, 120px) clamp(80px, 10vw, 140px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-text { max-width: 580px; }
.hero-script {
  font-family: var(--font-script);
  font-size: clamp(34px, 3.4vw, 48px);
  color: var(--forest);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 350;
  color: var(--forest);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(251,250,245,0.6);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image { aspect-ratio: 4 / 5; max-width: 500px; margin: 0 auto; }
}

/* ==========================================================================
   Hero immersif — pleine largeur, image en fond, voile sombre,
   typo manuscrite centrée. Utilisé sur l'accueil.
   ========================================================================== */
.hero-immersive {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  /* annule le padding de section par défaut */
  padding: 0;
}
.hero-immersive-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-immersive-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04); /* léger débordement pour absorber le motion futur */
  filter: brightness(0.92) saturate(0.95);
}
.hero-immersive-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(20, 43, 28, 0.32) 0%,
      rgba(20, 43, 28, 0.20) 35%,
      rgba(20, 43, 28, 0.40) 75%,
      rgba(20, 43, 28, 0.55) 100%),
    radial-gradient(ellipse at center, rgba(20,43,28,0) 0%, rgba(20,43,28,0.35) 90%);
}
.hero-immersive-frame {
  /* fine bordure peinte rappelant les œuvres encadrées */
  position: absolute;
  inset: clamp(24px, 3vw, 48px);
  border: 1px solid rgba(251,250,245,0.32);
  z-index: 0;
  pointer-events: none;
}
.hero-immersive-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  padding: 48px 24px;
  color: var(--paper);
}
.hero-immersive-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(251,250,245,0.85);
  font-weight: 400;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(251,250,245,0.4);
}
.hero-immersive-title {
  font-family: var(--font-script);
  font-size: clamp(64px, 9.5vw, 152px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 28px;
  text-shadow: 0 6px 28px rgba(20,43,28,0.32);
}
.hero-immersive-sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(251,250,245,0.95);
  font-weight: 400;
  margin-bottom: 48px;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.6;
}
.hero-immersive-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  border: 1px solid rgba(251,250,245,0.7);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  font-weight: 500;
}
.hero-immersive-cta:hover {
  background: var(--paper);
  color: var(--forest);
  border-color: var(--paper);
}

/* Bouton "Changer l'image de fond" — visible uniquement en mode édition */
.hero-immersive-edit-bg {
  position: absolute;
  top: clamp(100px, 12vh, 130px);
  right: clamp(40px, 5vw, 72px);
  z-index: 5;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(251,250,245,0.96);
  color: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow: 0 8px 24px -12px rgba(20,43,28,0.45);
}
body.edit-mode .hero-immersive-edit-bg { display: inline-flex; }
.hero-immersive-edit-bg:hover { background: var(--forest); color: var(--paper); }
.hero-immersive-edit-bg span:first-child { font-family: var(--font-display); font-size: 16px; }

/* ==========================================================================
   Éditeur d'options de formulaire (modal en mode édition)
   ========================================================================== */
.form-edit-options {
  display: none;
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
}
body.edit-mode .form-edit-options { display: inline-flex; }
.form-edit-options:hover { background: var(--forest); color: var(--paper); }

.field-with-options { position: relative; }

/* Modal d'édition */
.options-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,43,28,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.options-modal {
  background: var(--paper);
  border-radius: 6px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 30px 80px -20px rgba(20,43,28,0.5);
}
.options-modal h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 400;
}
.options-modal .modal-intro {
  font-size: 15px;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.55;
}
.options-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.options-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}
.options-list input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
}
.options-list input:focus {
  outline: none;
  border-color: var(--forest);
}
.options-list .remove-opt {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #b04848;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.options-list .remove-opt:hover { background: #b04848; color: var(--paper); border-color: #b04848; }

.add-opt-btn {
  background: transparent;
  border: 1px dashed var(--forest);
  color: var(--forest);
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.add-opt-btn:hover { background: var(--forest); color: var(--paper); }

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.modal-actions button {
  flex: 1;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-actions .cancel-modal {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.modal-actions .cancel-modal:hover { background: var(--ink); color: var(--paper); }
.modal-actions .save-options {
  background: var(--forest);
  border: 1px solid var(--forest);
  color: var(--paper);
}
.modal-actions .save-options:hover { background: var(--forest-deep); }

/* Quand l'accueil porte un hero immersif, on retire le padding qui suit la nav
   et la nav devient transparente sur le hero. */
body.has-hero-immersive .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(251,250,245,0.16);
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
body.has-hero-immersive .nav-brand,
body.has-hero-immersive .nav-links a,
body.has-hero-immersive .nav-links a.active {
  color: var(--paper);
  transition: color 0.25s ease;
}
body.has-hero-immersive .nav-links a.active::after {
  background: var(--paper);
}
body.has-hero-immersive .nav .btn {
  background: rgba(251,250,245,0.95);
  color: var(--forest);
  border-color: rgba(251,250,245,0.95);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
body.has-hero-immersive .nav .btn:hover {
  background: var(--paper);
}
/* Quand on a scrollé sous le hero, la nav redevient solide et lisible */
body.has-hero-immersive.is-scrolled .nav {
  background: rgba(251, 250, 245, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
body.has-hero-immersive.is-scrolled .nav-brand,
body.has-hero-immersive.is-scrolled .nav-links a {
  color: var(--ink);
}
body.has-hero-immersive.is-scrolled .nav-links a.active {
  color: var(--forest);
}
body.has-hero-immersive.is-scrolled .nav-links a.active::after {
  background: var(--forest);
}
body.has-hero-immersive.is-scrolled .nav .btn {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
body.has-hero-immersive.is-scrolled .nav .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 900px) {
  .hero-immersive { min-height: 70vh; }
  .hero-immersive-frame { inset: 16px; }
  .hero-immersive-content { padding: 24px 16px; }
  .hero-immersive-sub { letter-spacing: 0.22em; }
  body.has-hero-immersive .nav { background: rgba(251, 250, 245, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  body.has-hero-immersive .nav-brand,
  body.has-hero-immersive .nav-links a { color: var(--ink); }
  body.has-hero-immersive .nav .btn { background: var(--forest); color: var(--paper); border-color: var(--forest); }
}

/* ==========================================================================
   À propos
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.about-image { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-text { padding-block: 24px; }
.about-text .eyebrow { display: block; margin-bottom: 24px; }
.about-text h2 { margin-bottom: 36px; max-width: 540px; }
.about-text p { margin-bottom: 22px; max-width: 540px; }
.about-text p:last-of-type { margin-bottom: 36px; }

.signature {
  font-family: var(--font-script);
  font-size: 54px;
  color: var(--forest);
  line-height: 1;
  margin-top: 12px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 500px; }
}

/* ==========================================================================
   Témoignages
   ========================================================================== */

.testimonials-head {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 96px);
  max-width: 720px;
  margin-inline: auto;
}
.testimonials-head .eyebrow { display: block; margin-bottom: 22px; }
.testimonials-head h2 { margin-bottom: 22px; }
.testimonials-head p { font-size: 19px; color: var(--ink); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.testimonial {
  display: flex;
  flex-direction: column;
}
.testimonial-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 22px;
}
.testimonial-img img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.testimonial-place {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 18px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 80;
}

@media (max-width: 1100px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pourquoi — 3 colonnes
   ========================================================================== */

.why-head {
  max-width: 820px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.why-head h2 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.08; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.why-grid.four-cols { grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 4vw, 56px); }

/* Cartes avec CTA en bas (autres prestations) */
.why-grid.why-grid-cards .why-item { display: flex; flex-direction: column; }
.why-grid.why-grid-cards .why-item p:last-of-type { flex: 1; }
.why-grid.why-grid-cards .why-item .btn { margin-top: 24px; align-self: flex-start; }
.why-meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft, var(--ink));
  opacity: 0.75;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Section parallax — image fixe en fond, voile vert nuit, texte centré.
   Encadrée par deux séparateurs SVG en effet pinceau / papier déchiré.
   ========================================================================== */
.parallax-section {
  position: relative;
  padding-block: clamp(140px, 18vw, 220px);
  background-image: url("images-mariage/couple-bleu.jpg");
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  overflow: hidden;
  isolation: isolate;
}
.parallax-section::before {
  /* Voile vert nuit pour assurer la lisibilité */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(20,43,28,0.28) 0%,
      rgba(20,43,28,0.18) 40%,
      rgba(20,43,28,0.34) 100%),
    radial-gradient(ellipse at center, rgba(20,43,28,0) 0%, rgba(20,43,28,0.32) 95%);
}
.parallax-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--paper);
}
.parallax-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(251,250,245,0.92);
  font-weight: 400;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(251,250,245,0.4);
}
.parallax-quote {
  font-family: var(--font-script);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--paper);
  margin: 0;
  text-shadow: 0 6px 28px rgba(20,43,28,0.32);
}
.parallax-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: rgba(251,250,245,0.92);
  margin-top: 28px;
  max-width: 580px;
  margin-inline: auto;
}

/* Séparateurs pinceau (papier déchiré) — SVG inline */
.brush-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 56px;
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}
.brush-divider svg { display: block; width: 100%; height: 100%; }
.brush-divider-top { top: -1px; }
.brush-divider-bottom { bottom: -1px; transform: scaleY(-1); }

/* Sur mobile/tactile, désactiver background-attachment fixed
   (souvent désactivé par défaut sur iOS, optimise les perfs Android) */
@media (max-width: 900px) {
  .parallax-section { background-attachment: scroll; padding-block: clamp(100px, 15vw, 160px); }
  .brush-divider { height: 36px; }
}

.why-item .eyebrow { display: block; margin-bottom: 20px; color: var(--forest); }
.why-item h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 400;
}
.why-grid.four-cols .why-item h3 { font-size: 22px; }
.why-item p { font-size: 17px; line-height: 1.65; }

.why-head p { font-size: 19px; line-height: 1.65; max-width: 680px; margin: 12px auto 0; color: var(--ink); }

/* Liste élégante "Pour qui c'est" */
.for-list-intro { font-size: 19px; line-height: 1.7; margin: 32px 0 28px; max-width: 720px; }
.for-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 760px;
}
.for-list li {
  position: relative;
  padding: 22px 0 22px 38px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.for-list li:last-child { border-bottom: 1px solid var(--line); }
.for-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  width: 22px;
  height: 1px;
  background: var(--forest);
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid.four-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section secondaire avec 2 images
   ========================================================================== */

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.dual-text .eyebrow { display: block; margin-bottom: 22px; }
.dual-text h2 { margin-bottom: 28px; max-width: 480px; }
.dual-text p { margin-bottom: 22px; font-size: 18px; line-height: 1.7; max-width: 480px; }
.dual-text .btn { margin-top: 12px; }

.dual-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dual-images > div { aspect-ratio: 3 / 4; overflow: hidden; }
.dual-images img { width: 100%; height: 100%; object-fit: cover; }
.dual-images > div:nth-child(2) { transform: translateY(40px); }

@media (max-width: 900px) {
  .dual-grid { grid-template-columns: 1fr; }
  .dual-images > div:nth-child(2) { transform: none; }
}

/* ==========================================================================
   Grande citation
   ========================================================================== */

.statement {
  text-align: center;
  padding-block: clamp(96px, 12vw, 180px);
}
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.18;
  font-weight: 350;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.statement-text em { color: var(--forest); font-style: italic; }

/* ==========================================================================
   Press
   ========================================================================== */

.press {
  text-align: center;
  padding-block: clamp(56px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-label {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 32px;
  font-variation-settings: "opsz" 36, "SOFT" 100;
}
.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}
.press-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 350;
}

/* ==========================================================================
   Prestations — Cards de formules
   ========================================================================== */

.page-hero {
  padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 90px);
  text-align: center;
}
.page-hero .eyebrow { display: block; margin-bottom: 24px; }
.page-hero h1 { max-width: 900px; margin: 0 auto 28px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 19px; color: var(--ink); }

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.formula-card {
  display: flex;
  flex-direction: column;
  padding: 48px 36px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  position: relative;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s ease;
}
.formula-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -32px rgba(20,43,28,0.18); }
.formula-card.featured {
  background: var(--forest-deep);
  color: var(--paper);
  border-color: var(--forest-deep);
}
.formula-card.featured h3, .formula-card.featured p, .formula-card.featured li { color: var(--paper); }
.formula-card.featured .formula-price { color: var(--paper); }
.formula-card.featured .eyebrow { color: var(--moss); }
.formula-card.featured ul li::before { color: var(--moss); }

.formula-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--paper);
  padding: 7px 18px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
}

.formula-card .eyebrow { display: block; margin-bottom: 18px; }
.formula-card h3 { margin-bottom: 14px; font-size: 32px; font-weight: 350; }
.formula-card .formula-desc { font-size: 17px; line-height: 1.6; margin-bottom: 32px; min-height: 84px; }
.formula-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 350;
  line-height: 1;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.formula-price small {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-left: 8px;
  font-family: var(--font-body);
}

.formula-card ul { list-style: none; margin-bottom: 36px; }
.formula-card ul li {
  padding: 12px 0 12px 28px;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.formula-card.featured ul li { border-bottom-color: rgba(255,255,255,0.18); }
.formula-card ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--forest);
  font-size: 14px;
}
.formula-card ul li:last-child { border-bottom: none; }
.formula-card .btn { margin-top: auto; }

@media (max-width: 1000px) {
  .formula-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 36px; }
  .formula-card .formula-desc { min-height: 0; }
}

/* Process */
.process { padding-block: clamp(48px, 5.6vw, 86px); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--forest);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 24px;
}
.process-step h3 { font-size: 22px; margin-bottom: 14px; font-weight: 500; }
.process-step p { font-size: 16px; line-height: 1.6; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-grid::before { display: none; }
}

/* FAQ */
.faq { padding-block: clamp(48px, 5.6vw, 86px); }
.faq-list { max-width: 880px; margin: 56px auto 0; }
.faq-item { border-top: 1px solid var(--line); padding-block: 4px; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 24px;
}
.faq-q h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
}
.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-size: 22px;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-bottom: 28px;
  padding-right: 56px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.faq-item.open .faq-a { display: block; }
/* En mode édition, toutes les réponses sont visibles pour pouvoir
   les modifier (sinon une réponse fermée reste invisible). */
body.edit-mode .faq-a { display: block; }

/* ==========================================================================
   Galerie
   ========================================================================== */

.gallery-hero {
  padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px);
  text-align: center;
}
.gallery-hero h1 { max-width: 1000px; margin: 0 auto 28px; }

.gallery-grid {
  column-count: 3;
  column-gap: 24px;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.gallery-item {
  overflow: hidden;
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 24px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.gallery-item:hover img { transform: scale(1.04); }

/* Ratios variés conservés : ils donnent à la galerie son rythme éditorial.
   La disposition en colonnes se recompose automatiquement après suppression. */
.g-1 { aspect-ratio: 4 / 3; }
.g-2 { aspect-ratio: 3 / 4; }
.g-3 { aspect-ratio: 3 / 4; }
.g-4 { aspect-ratio: 3 / 4; }
.g-5 { aspect-ratio: 3 / 4; }
.g-6 { aspect-ratio: 4 / 5; }
.g-7 { aspect-ratio: 4 / 5; }
.g-8 { aspect-ratio: 3 / 4; }
.g-9 { aspect-ratio: 4 / 3; }

.gallery-caption,
.gallery-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(251,250,245,0.96);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  max-width: calc(100% - 32px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 24px -12px rgba(20,43,28,0.18);
}
.gallery-item:hover .gallery-caption,
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }

.gallery-caption,
.gallery-title {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

.gallery-desc {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

/* Bouton Ajouter une image — visible en mode édition */
.gallery-add {
  display: none;
  background: var(--paper-warm);
  border: 2px dashed var(--sage);
  border-radius: var(--r-sm);
  color: var(--forest);
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 24px;
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
}
body.edit-mode .gallery-add { display: flex; }
.gallery-add:hover { background: var(--moss); border-color: var(--forest); transform: translateY(-2px); }
.gallery-add-inner { text-align: center; padding: 24px; }
.gallery-add-icon {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  color: var(--forest);
  margin-bottom: 16px;
}
.gallery-add-label {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
}

/* Bouton supprimer un item personnalisé */
.gallery-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px; height: 36px;
  background: rgba(251,250,245,0.96);
  border: 1px solid var(--line);
  color: #b04848;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  font-family: var(--font-body);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -8px rgba(20,43,28,0.25);
  transition: background 0.2s ease;
  z-index: 4;
}
body.edit-mode .gallery-delete { display: flex; }
.gallery-delete:hover { background: #b04848; color: var(--paper); }

/* En mode édition, overlay toujours visible et stylé pour faciliter l'édition */
body.edit-mode .gallery-caption,
body.edit-mode .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
  bottom: 16px;
  background: var(--paper);
  border: 1px solid var(--forest);
}

/* Item custom de galerie */
.gallery-item.g-custom { aspect-ratio: 3 / 4; }

@media (max-width: 900px) {
  .gallery-grid { column-count: 2; column-gap: 16px; }
  .gallery-item, .gallery-add { margin-bottom: 16px; }
}
@media (max-width: 520px) {
  .gallery-grid { column-count: 1; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
}

.contact-form { padding-top: 0; }
.field { margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--forest); }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231f3a2a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.contact-aside {
  background: var(--paper-warm);
  padding: 48px 40px;
  border-radius: var(--r-sm);
}
.contact-aside .eyebrow { display: block; margin-bottom: 22px; }
.contact-aside h3 { font-size: 28px; margin-bottom: 24px; font-weight: 350; font-style: italic; }
.contact-aside p { font-size: 17px; line-height: 1.65; margin-bottom: 20px; }
.contact-info { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-info-item { margin-bottom: 18px; }
.contact-info-item .eyebrow { font-size: 12px; margin-bottom: 6px; }
.contact-info-item p { font-size: 18px; font-family: var(--font-display); font-style: italic; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--forest-deep);
  color: var(--paper);
  padding-block: clamp(44px, 5vw, 68px) 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand .script-mark { font-family: var(--font-script); font-size: 56px; color: var(--moss); line-height: 1; display: block; margin-bottom: 18px; }
.footer-brand h4 { color: var(--paper); font-family: var(--font-display); font-size: 28px; font-weight: 350; margin-bottom: 18px; }
.footer-brand p { color: var(--moss); font-size: 16px; line-height: 1.6; max-width: 320px; }

.footer-col .eyebrow { display: block; margin-bottom: 22px; color: var(--moss); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col a { color: var(--paper); font-size: 16px; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--moss); }

.footer-bottom {
  border-top: 1px solid rgba(207,218,196,0.2);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--moss);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA Band
   ========================================================================== */

.cta-band {
  background: var(--forest);
  color: var(--paper);
  text-align: center;
  padding-block: clamp(80px, 10vw, 140px);
}
.cta-band .eyebrow { color: var(--moss); display: block; margin-bottom: 24px; }
.cta-band h2 { color: var(--paper); font-size: clamp(38px, 5vw, 64px); margin: 0 auto 28px; max-width: 880px; }
.cta-band p { color: var(--moss); font-size: 19px; max-width: 560px; margin: 0 auto 40px; }

/* ==========================================================================
   ÉDITEUR
   ========================================================================== */

.editor-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  background: var(--paper);
  padding: 12px;
  border-radius: 100px;
  box-shadow: 0 12px 40px -12px rgba(20,43,28,0.35), 0 0 0 1px var(--line);
  font-family: var(--font-body);
}

.editor-btn {
  padding: 12px 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.editor-btn:hover { background: var(--paper-warm); }
.editor-btn.primary { background: var(--forest); color: var(--paper); }
.editor-btn.primary:hover { background: var(--forest-deep); }
.editor-btn.accent { background: var(--gold); color: var(--paper); }
.editor-btn.accent:hover { background: #8a763e; }
.editor-btn.danger { color: #b04848; }
.editor-btn.danger:hover { background: rgba(176,72,72,0.08); }

.edit-indicator {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--forest);
  color: var(--paper);
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  z-index: 999;
  display: none;
}
body.edit-mode .edit-indicator { display: block; }
body.edit-mode { padding-top: 40px; }
body.edit-mode .nav { top: 40px; }

/* États en mode édition */
body.edit-mode [data-edit-id] {
  outline: 1px dashed transparent;
  outline-offset: 4px;
  cursor: text;
  transition: outline-color 0.2s ease, background 0.2s ease;
  position: relative;
}
body.edit-mode [data-edit-id]:hover {
  outline-color: var(--forest);
  background: rgba(174,191,159,0.12);
}
body.edit-mode [data-edit-id]:focus {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
  background: rgba(174,191,159,0.18);
}
body.edit-mode img[data-edit-id] {
  cursor: pointer;
  outline-offset: 0;
}
body.edit-mode img[data-edit-id]:hover { outline: 3px solid var(--forest); }

body.edit-mode .image-edit-wrap { position: relative; }
body.edit-mode .image-edit-wrap::after {
  content: "✎  Cliquer pour remplacer";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(20,43,28,0.92);
  color: var(--paper);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}
body.edit-mode .image-edit-wrap:hover::after { opacity: 1; }

/* Toast */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--forest);
  color: var(--paper);
  padding: 16px 24px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 36px -12px rgba(20,43,28,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1001;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #b04848; }
.toast.warn { background: var(--gold); }

/* ==========================================================================
   PRESS — Section "Vu dans" enrichie + bouton "Univers de l'artiste"
   (Édition : ajout / suppression / modification des médias et liens)
   ========================================================================== */

.press-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 28px;
  max-width: 1080px;
  margin: 0 auto 44px;
}

.press-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 18px 22px;
  border-radius: var(--r-sm);
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.press-item-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 350;
  font-variation-settings: "opsz" 36, "SOFT" 100;
  line-height: 1.3;
}

.press-item-text {
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 280px;
}

.press-item-link {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
  margin-top: auto;
}

.press-item-link:hover {
  opacity: 0.6;
}

.press-cta {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.press-univers-btn {
  letter-spacing: 0.12em;
}

/* --- Actions en mode édition --- */

.press-item-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: none;
  gap: 6px;
  z-index: 3;
}

.press-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  transition: all 0.2s ease;
}

.press-action-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.08);
}

.press-delete-btn:hover {
  background: #b04848;
  border-color: #b04848;
}

/* Bouton "Ajouter un média" — visible uniquement en mode édition */
.press-add-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 26px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 170px;
}

.press-add-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(13, 31, 21, 0.025);
}

.press-add-btn .press-add-icon {
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
}

body.edit-mode .press-item {
  outline: 1px dashed transparent;
}

body.edit-mode .press-item:hover {
  outline-color: var(--line);
  background: rgba(13, 31, 21, 0.018);
}

body.edit-mode .press-item-actions {
  display: flex;
}

body.edit-mode .press-add-btn {
  display: flex;
}

body.edit-mode .press-item-link {
  cursor: text;
}

/* ==========================================================================
   LIGHTBOX GRID (page univers) — Petite grille élégante + lightbox plein écran
   ========================================================================== */

.lightbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.lightbox-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: zoom-in;
  background: var(--paper-warm);
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s ease;
}

.lightbox-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
  display: block;
}

.lightbox-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.22);
}

.lightbox-item:hover img {
  transform: scale(1.06);
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  font-variation-settings: "opsz" 36, "SOFT" 100;
}

.lightbox-item:hover .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .lightbox-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 600px) {
  .lightbox-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox-caption { font-size: 12px; padding: 10px 10px 8px; }
}

@media (max-width: 720px) {
  .press-items { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
  .press-item { padding: 20px 14px 18px; }
  .press-item-name { font-size: 17px; }
  .press-item-text { font-size: 14px; }
}

/* --- Lightbox plein écran --- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 14, 12, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: lightboxFadeIn 0.25s ease;
}

.lightbox[hidden] {
  display: none !important;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-content {
  max-width: min(92vw, 1280px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 9001;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.08);
}

/* --- Boutons d'édition sur la grille lightbox --- */

.lightbox-item-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(15,14,12,0.6);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  z-index: 4;
  transition: all 0.2s ease;
}

.lightbox-item-delete:hover {
  background: #b04848;
  border-color: #b04848;
  transform: scale(1.1);
}

.lightbox-item-move {
  position: absolute;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(15,14,12,0.6);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  z-index: 4;
  transition: all 0.2s ease;
}

.lightbox-item-move:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.1);
}

.lightbox-item-move.move-left  { left: 8px; }
.lightbox-item-move.move-right { right: 8px; }

.lightbox-add {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 1 / 1;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-add:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(13, 31, 21, 0.025);
}

.lightbox-add-icon {
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
}

body.edit-mode .lightbox-item-delete,
body.edit-mode .lightbox-item-move,
body.edit-mode .lightbox-add {
  display: flex;
}

body.edit-mode .lightbox-item {
  cursor: pointer;
}

body.edit-mode .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

/* ==========================================================================
   Modale "Modifier le lien" — utilisée pour les liens presse
   ========================================================================== */

.link-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(15, 14, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lightboxFadeIn 0.2s ease;
}

.link-edit-modal {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 32px 32px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35);
}

.link-edit-modal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}

.link-edit-modal p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.5;
}

.link-edit-modal input[type="url"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s ease;
}

.link-edit-modal input[type="url"]:focus {
  outline: none;
  border-color: var(--ink);
}

.link-edit-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.link-edit-actions button {
  padding: 10px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
}

.link-edit-actions button:hover {
  background: rgba(13, 31, 21, 0.04);
}

.link-edit-actions .link-edit-save {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.link-edit-actions .link-edit-save:hover {
  background: var(--forest);
  border-color: var(--forest);
}

/* ==========================================================================
   PAGE TARIFS & INFORMATIONS
   Cartes collections (avec image), badges, boutons d'édition FAQ,
   lien tarifs dans la page Contact
   ========================================================================== */

/* Nav : ajustement pour accueillir le 6e lien avec élégance */
@media (min-width: 1101px) {
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 13.5px; letter-spacing: 0.14em; white-space: nowrap; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12.5px; letter-spacing: 0.12em; }
  .nav-cta .btn { padding: 14px 22px; font-size: 12px; letter-spacing: 0.18em; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11.5px; letter-spacing: 0.10em; white-space: nowrap; }
  .nav-cta .btn { padding: 11px 16px; font-size: 11px; letter-spacing: 0.16em; }
  .nav-inner { gap: 16px; padding: 16px var(--gutter); }
  .nav-brand { font-size: 22px; }
  .nav-brand .script-mark { font-size: 32px; }
}
/* En-dessous de 1000px, les liens disparaissent (la règle 900px d'origine est devancée
   pour accueillir proprement le 6e lien sans rupture visuelle) */
@media (max-width: 1000px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-cta .btn { padding: 12px 20px; font-size: 13px; }
}

/* Hero — petite note sous le sous-titre */
.page-hero-note {
  display: block;
  margin: 22px auto 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--sage);
  max-width: 640px;
}

/* Sous-titre dans .why-head pour la section collections */
.why-head-sub {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: center;
}

/* Collections — grille de 3 cartes avec image */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s ease;
}
.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px -32px rgba(20,43,28,0.22);
}

.collection-card.featured {
  background: var(--forest-deep);
  color: var(--paper);
  border-color: var(--forest-deep);
}
.collection-card.featured h3,
.collection-card.featured .collection-card-format,
.collection-card.featured .collection-card-desc,
.collection-card.featured li,
.collection-card.featured .collection-price { color: var(--paper); }
.collection-card.featured .collection-card-eyebrow { color: var(--moss); }
.collection-card.featured ul li::before { color: var(--moss); }
.collection-card.featured ul li { border-bottom-color: rgba(255,255,255,0.18); }

.collection-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-tint);
}
.collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.collection-card:hover .collection-card-image img { transform: scale(1.04); }

.collection-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 36px 32px 32px;
}

.collection-card-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 14px;
}

.collection-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 350;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--ink);
}

.collection-card-format {
  font-size: 14px;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 18px;
  font-family: var(--font-display);
}

.collection-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 26px;
  min-height: 96px;
}

.collection-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 350;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.collection-card.featured .collection-price { color: var(--moss); }

.collection-card ul { list-style: none; margin-bottom: 32px; }
.collection-card ul li {
  padding: 11px 0 11px 26px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
}
.collection-card ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--forest);
  font-size: 13px;
}
.collection-card ul li:last-child { border-bottom: none; }

.collection-card .btn { margin-top: auto; }

.collection-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--gold);
  color: var(--paper);
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
}

@media (max-width: 1100px) {
  .collection-grid { grid-template-columns: 1fr 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .collection-grid { grid-template-columns: 1fr; max-width: 480px; gap: 36px; }
  .collection-card-desc { min-height: 0; }
}

/* FAQ — boutons d'édition (visibles uniquement en mode édition) */
.faq-item { position: relative; }
.faq-actions {
  position: absolute;
  top: 22px;
  right: -8px;
  display: none;
  gap: 6px;
  z-index: 3;
}
body.edit-mode .faq-actions { display: flex; }
body.edit-mode .faq-q { padding-right: 130px; }

.faq-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
  line-height: 1;
}
.faq-action-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.08);
}
.faq-action-btn.faq-delete-btn:hover {
  background: #b04848;
  border-color: #b04848;
}

/* Bouton "Ajouter une question" — visible uniquement en mode édition */
.faq-add-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 24px auto 0;
  padding: 22px 28px;
  background: transparent;
  border: 1.5px dashed var(--sage);
  border-radius: var(--r-sm);
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
}
body.edit-mode .faq-add-btn { display: flex; }
.faq-add-btn:hover {
  background: rgba(110,135,105,0.06);
  border-color: var(--forest);
  color: var(--forest);
}
.faq-add-btn .faq-add-icon {
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
}

/* Lien "Voir les tarifs & informations" dans la page Contact (aside) */
.aside-link-wrap {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-soft);
}

.aside-tarifs-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 22px;
  background: var(--paper);
  border: 1px solid var(--forest);
  border-radius: var(--r-sm);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease;
}
.aside-tarifs-link:hover {
  background: var(--forest);
  color: var(--paper);
  transform: translateX(4px);
}
.aside-tarifs-link-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.aside-tarifs-link:hover .aside-tarifs-link-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   MODE ÉDITION — Édition d'URL des liens nav/footer + masquage de sections
   ========================================================================== */

/* Bouton 🔗 attaché à chaque lien nav/footer en mode édition.
   Discret, n'apparaît que lorsque .edit-mode est actif. */
.link-href-btn {
  display: none;
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 4;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(20,43,28,0.10);
}
body.edit-mode .link-href-btn { display: inline-flex; }

.link-href-btn:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  transform: scale(1.12);
}

/* Position dans la nav : à droite immédiate du libellé */
.nav-links a {
  position: relative;
}
.link-href-btn-nav {
  top: -2px;
  right: -28px;
}
body.edit-mode .nav-links a {
  /* Laisser un peu d'air pour le bouton */
  margin-right: 6px;
}

/* Position dans le footer : à droite du lien */
.footer-col a {
  position: relative;
  display: inline-block;
}
.link-href-btn-footer {
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
}
.link-href-btn-footer:hover { transform: translateY(-50%) scale(1.12); }

/* En mode édition, les <a> du nav restent cliquables uniquement pour la
   capture-phase (gérée en JS). On accentue visuellement le fait qu'on
   peut éditer le texte intérieur via un soulignement pointillé doux. */
body.edit-mode .nav-links a > [contenteditable="true"],
body.edit-mode .footer-col a > [contenteditable="true"] {
  outline: 1px dashed rgba(31, 58, 42, 0.35);
  outline-offset: 4px;
  border-radius: 2px;
}

/* CORRECTIF : pour permettre vraiment l'édition du texte d'un lien
   (menu, footer, logo Samira) en mode édition, on désactive les
   pointer-events sur l'élément <a> lui-même, mais on les réactive sur
   les enfants directement interactifs (texte éditable, bouton 🔗).
   Cela empêche le clic de déclencher une navigation tout en permettant
   au curseur d'entrer dans le span contenteditable. */
body.edit-mode a:has(> [data-edit-id][contenteditable="true"]) {
  pointer-events: none;
}
body.edit-mode a:has(> [data-edit-id][contenteditable="true"]) > [contenteditable="true"],
body.edit-mode a:has(> [data-edit-id][contenteditable="true"]) > .link-href-btn,
body.edit-mode a:has(> [data-edit-id][contenteditable="true"]) > .script-mark {
  pointer-events: auto;
}

/* ----------------------- CONTRÔLES DE SECTION ----------------------- */

/* Repère discret en haut à droite de chaque section, visible en édition */
.section-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 14px;
  background: rgba(251, 250, 245, 0.96);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(20,43,28,0.10);
  z-index: 20;
  backdrop-filter: blur(4px);
}
body.edit-mode section[data-section-id] {
  position: relative;
}
body.edit-mode section[data-section-id] .section-controls {
  display: inline-flex;
}
.section-controls-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.10em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.section-ctrl-btn:hover {
  background: #b04848;
  border-color: #b04848;
  color: white;
}
.section-ctrl-icon {
  font-size: 13px;
  line-height: 1;
}

/* État masqué : invisible hors mode édition */
body:not(.edit-mode) section.section-hidden {
  display: none !important;
}
/* En mode édition : section visible mais dimmée + overlay */
body.edit-mode section.section-hidden > *:not(.section-controls):not(.section-hidden-overlay) {
  opacity: 0.25;
  pointer-events: none;
  filter: grayscale(0.5);
}
body.edit-mode section.section-hidden .section-controls {
  display: none;
}

/* Overlay sur les sections masquées (visible uniquement en edit-mode) */
.section-hidden-overlay {
  display: none;
}
body.edit-mode section.section-hidden .section-hidden-overlay {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    -45deg,
    rgba(176, 72, 72, 0.04),
    rgba(176, 72, 72, 0.04) 14px,
    rgba(176, 72, 72, 0.08) 14px,
    rgba(176, 72, 72, 0.08) 28px
  );
  z-index: 18;
  pointer-events: auto;
  border: 2px dashed rgba(176, 72, 72, 0.35);
}
.section-hidden-msg {
  text-align: center;
  padding: 28px 36px;
  background: var(--paper);
  border: 1.5px solid var(--forest);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(20,43,28,0.22), 0 8px 24px rgba(20,43,28,0.14);
  max-width: 380px;
}
.section-hidden-msg .section-hidden-icon {
  font-size: 32px;
  color: #b04848;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.section-hidden-msg p {
  font-size: 14px;
  color: var(--ink);
  margin: 4px 0;
  font-family: var(--font-body);
}
.section-hidden-msg p strong {
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ink-soft);
}
.section-hidden-msg .section-hidden-name {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--forest);
  font-size: 19px;
  margin-bottom: 20px;
  margin-top: 6px;
}
.section-restore-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--forest);
  color: var(--paper);
  border: 1px solid var(--forest);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.section-restore-btn:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20,43,28,0.22);
}

/* Pour les sections sombres (cta-band, process, statement avec tint, etc.) :
   le fond rayé reste lisible car les rayures sont semi-transparentes rouge */

/* Petit badge sur le bouton "Sections" de la barre d'édition */
.sections-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #b04848;
  color: white;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
}

/* Bouton "Sections" intégré à l'editor-bar */
.editor-btn.editor-btn-sections {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ----------------------- PANNEAU DES SECTIONS MASQUÉES ----------------------- */

.sections-panel-modal {
  max-width: 480px;
}
.sections-panel-modal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 18px;
  color: var(--ink);
}
.sections-panel-empty {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  padding: 16px 0;
}
.sections-panel-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}
.sections-panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sections-panel-list li:last-child { border-bottom: none; }
.sections-panel-list li > span {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  flex: 1;
}
.sections-panel-list .section-restore-btn {
  padding: 8px 16px;
  font-size: 11px;
}

/* Petit ajustement : sur mobile, le bouton 🔗 de footer reste lisible */
@media (max-width: 720px) {
  .link-href-btn-footer { right: auto; left: calc(100% + 6px); }
}

/* ==========================================================================
   PAGE PRESTATIONS — Cartes visuelles avec "En savoir plus"
   Grille de 6 cartes, image large en haut, court texte, CTA
   ========================================================================== */

.prestation-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.prestation-visual-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s ease;
}
.prestation-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px -32px rgba(20,43,28,0.22);
}

.prestation-visual-image-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-tint);
}
.prestation-visual-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.prestation-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.prestation-visual-card:hover .prestation-visual-image img {
  transform: scale(1.05);
}

.prestation-visual-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 28px 28px;
}

.prestation-visual-eyebrow {
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 14px;
  display: block;
}

.prestation-visual-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 350;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}

.prestation-visual-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}

.prestation-visual-cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--forest);
  align-self: flex-start;
  transition: gap 0.25s ease;
  gap: 8px;
}
.prestation-visual-cta:hover {
  color: var(--forest-deep);
  border-bottom-color: var(--forest-deep);
  gap: 14px;
}

@media (max-width: 1100px) {
  .prestation-visual-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .prestation-visual-grid { grid-template-columns: 1fr; max-width: 480px; gap: 32px; }
  .prestation-visual-card h3 { font-size: 24px; }
}

/* ==========================================================================
   PAGE TARIFS — Grille spécifique pour 6 prestations
   Réutilise .collection-card mais avec une grille plus dense
   ========================================================================== */

/* La grille .collection-grid passe à 3 colonnes par défaut (déjà défini),
   ce qui donne 2 rangées de 3 cartes avec 6 prestations. Ajustement
   subtil de la taille du titre pour densifier l'info. */
.prestation-grid-6 .collection-card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.prestation-grid-6 .collection-card-desc {
  min-height: 0;
  font-size: 15.5px;
  margin-bottom: 22px;
}
.prestation-grid-6 .collection-price {
  font-size: 26px;
  margin-bottom: 22px;
}
.prestation-grid-6 .collection-price small {
  font-size: 13px;
  letter-spacing: 0.10em;
}
.prestation-grid-6 .collection-card ul {
  margin-bottom: 26px;
}
.prestation-grid-6 .collection-card ul li {
  font-size: 14.5px;
  padding: 9px 0 9px 24px;
}
.prestation-grid-6 .collection-card-body {
  padding: 30px 28px 26px;
}

/* ==========================================================================
   PAGE BAR À CROQUIS — Sections spécifiques
   ========================================================================== */

/* --- Encart "Une animation pensée aussi pour vos événements" ------------ */
.bar-events-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px);
  border-radius: var(--r-md);
  position: relative;
  box-shadow: 0 24px 60px -42px rgba(20, 43, 28, 0.30);
  overflow: hidden;
}
.bar-events-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(160, 138, 91, 0) 100%);
}
.bar-events-card .eyebrow { display: block; margin-bottom: 20px; }
.bar-events-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 350;
  line-height: 1.18;
  margin-bottom: 26px;
}
.bar-events-card h2 em {
  font-style: italic;
  color: var(--forest);
}
.bar-events-card p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.bar-events-card p:last-child { margin-bottom: 0; }

/* --- Formules (2 cartes premium) ---------------------------------------- */
.bar-formules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin-bottom: 28px;
}
.bar-formule-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.bar-formule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -48px rgba(20, 43, 28, 0.35);
  border-color: var(--sage);
}
.bar-formule-card.bar-formule-featured {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.bar-formule-card.bar-formule-featured:hover {
  border-color: var(--forest-mid);
}

.bar-formule-head { margin-bottom: 22px; }
.bar-formule-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.bar-formule-featured .bar-formule-label {
  color: var(--paper);
  border-bottom-color: rgba(251,250,245,0.3);
}
.bar-formule-duration {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 350;
  line-height: 1.1;
  margin-bottom: 14px;
  font-style: italic;
  color: var(--forest);
}
.bar-formule-featured .bar-formule-duration {
  color: var(--paper);
}
.bar-formule-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.bar-formule-featured .bar-formule-tagline {
  color: rgba(251,250,245,0.85);
}
.bar-formule-price {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 350;
  color: var(--forest);
  padding: 22px 0;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
}
.bar-formule-featured .bar-formule-price {
  color: var(--paper);
  border-color: rgba(251,250,245,0.25);
}
.bar-formule-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}
.bar-formule-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px solid rgba(201, 212, 190, 0.5);
}
.bar-formule-list li:last-child { border-bottom: none; }
.bar-formule-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.bar-formule-featured .bar-formule-list li {
  color: var(--paper);
  border-bottom-color: rgba(251,250,245,0.18);
}
.bar-formule-featured .bar-formule-list li::before { background: var(--paper); }

.bar-formule-disclaimer {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 28px;
  padding: 0 12px;
}

@media (max-width: 880px) {
  .bar-formules-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* --- Section réservation : grid 2 colonnes (calendrier + formulaire) ---- */
.bar-reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.bar-reservation-calendar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.6vw, 32px);
  position: sticky;
  top: 88px;
}
.bar-reservation-calendar .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.bar-reservation-calendar h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 350;
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.25;
}

.bar-reservation-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(32px, 3.2vw, 48px) clamp(24px, 2.6vw, 40px);
}
.bar-reservation-form .field { margin-bottom: 22px; }
.bar-reservation-form .field-row { gap: 22px; margin-bottom: 22px; }
.bar-reservation-form .field-row .field { margin-bottom: 0; }
.bar-reservation-form .btn { margin-top: 8px; }

@media (max-width: 980px) {
  .bar-reservation-grid {
    grid-template-columns: 1fr;
  }
  .bar-reservation-calendar { position: static; }
}

/* --- Calendrier de disponibilité ---------------------------------------- */
.availability-calendar {
  font-family: var(--font-body);
  color: var(--ink);
  user-select: none;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-nav {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font-size: 20px;
  font-family: var(--font-display);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  padding: 0;
  line-height: 1;
}
.cal-nav:hover:not(:disabled) {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.cal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cal-month-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: 0.005em;
  text-align: center;
  flex: 1;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.cal-weekdays span {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 4px 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--paper-warm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-sm);
  padding: 0;
  position: relative;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.cal-cell:hover:not(:disabled):not(.cal-unavailable):not(.cal-cell-empty) {
  background: var(--forest);
  color: var(--paper);
  transform: scale(1.04);
}
.cal-cell-empty {
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.cal-cell.cal-today {
  border-color: var(--forest);
  font-weight: 600;
}
.cal-cell.cal-past {
  background: transparent;
  color: var(--fern);
  cursor: not-allowed;
  opacity: 0.5;
}
.cal-cell.cal-unavailable {
  background: var(--paper);
  color: var(--ink-soft);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(13, 31, 21, 0.5);
  text-decoration-thickness: 1.5px;
  position: relative;
}
.cal-cell.cal-unavailable::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: var(--r-sm);
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(160, 138, 91, 0.18) 4px,
    rgba(160, 138, 91, 0.18) 6px
  );
  pointer-events: none;
}
.cal-cell.cal-selected {
  background: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
  font-weight: 600;
}
.cal-cell.cal-selected:hover { background: var(--gold); color: var(--paper); transform: scale(1.04); }

/* En mode édition : les dates réservées sont cliquables pour être libérées,
   et les dates disponibles sont cliquables pour être marquées comme réservées. */
body.edit-mode .cal-cell.cal-unavailable { cursor: pointer; }
body.edit-mode .cal-cell.cal-unavailable:hover {
  background: var(--forest-deep);
  color: var(--paper);
  transform: scale(1.04);
}

.cal-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.cal-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
}
.cal-dot-available { background: var(--paper-warm); border: 1px solid var(--line); }
.cal-dot-unavailable {
  background: var(--paper);
  border: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(160, 138, 91, 0.45) 2px,
    rgba(160, 138, 91, 0.45) 3px
  );
}
.cal-dot-selected { background: var(--gold); }

.cal-selected-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.cal-selected-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
}
.cal-selected-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--forest);
}

.cal-edit-hint {
  display: none;
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
  margin-top: 6px;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
body.edit-mode .cal-edit-hint { display: block; }

/* Petits écrans : tailles plus contenues */
@media (max-width: 520px) {
  .cal-cell { font-size: 13px; }
  .cal-month-label { font-size: 17px; }
  .cal-weekdays span { font-size: 10px; letter-spacing: 0.10em; }
  .cal-legend { gap: 12px; }
}


/* Pages dédiées : une seule carte tarif, centrée */
.bar-formules-grid.prestation-tarif-grid {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

/* Wrapping container pour les formulaires sans calendrier */
.prestation-order-wrap {
  display: block;
}
.bar-reservation-form.bar-reservation-form-single {
  max-width: 720px;
  margin: 0 auto;
}

/* L'APPROCHE ARTISTIQUE — variante 4 colonnes du composant press */
.approach-items {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-width: 900px) {
  .approach-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .approach-items {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
.approach-item .press-item-link {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}

/* Page Contact simplifiée */
.contact-intro-text {
  font-size: 19px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 24px;
  color: var(--ink-soft, var(--ink));
}
.contact-intro-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.coord-detail {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin-top: 8px;
  color: var(--forest);
}

/* Bloc adresse e-mail privée — caché aux visiteurs, visible en mode édition */
.contact-private-email {
  display: none;
  margin: 60px auto 0;
  max-width: 720px;
  padding: 28px 32px;
  background: rgba(160, 138, 91, 0.08);
  border: 1px dashed rgba(160, 138, 91, 0.4);
  border-radius: 6px;
  text-align: center;
}
body.edit-mode .contact-private-email {
  display: block;
}
.contact-private-email .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.contact-private-email-help {
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft, #6b6b6b);
  margin-bottom: 14px;
  line-height: 1.5;
}
.contact-private-email-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--forest);
}

/* === CALENDLY EMBED — sur les pages Bar à croquis et Peinture en direct === */
.calendly-section {
  padding: 24px 0 60px;
}
.calendly-section .why-head {
  margin-bottom: 18px;
}
.calendly-section .why-head h2 {
  margin-bottom: 10px;
}
.calendly-section .why-head-sub {
  margin-bottom: 0;
}
.calendly-embed-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.calendly-inline-widget {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  height: 900px !important;
  background: transparent;
}
@media (max-width: 900px) {
  .calendly-section { padding: 16px 0 40px; }
  .calendly-embed-wrap { padding: 0 8px; }
  .calendly-inline-widget { height: 1050px !important; }
}
@media (max-width: 560px) {
  .calendly-embed-wrap { padding: 0 4px; }
  .calendly-inline-widget { height: 1180px !important; }
}

/* === CTA E-MAIL — sur les pages prestations sans Calendly === */
.email-cta-section {
  padding: 80px 0 100px;
}
.email-cta-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 48px 56px;
  margin-top: 36px;
  text-align: left;
}
.email-cta-intro {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
  color: var(--ink);
}
.email-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  border-top: 1px solid var(--line);
}
.email-cta-list li {
  padding: 14px 0;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 28px;
}
.email-cta-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.email-cta-button-wrap {
  text-align: center;
  margin-top: 36px;
}
.email-cta-button-wrap .btn {
  display: inline-block;
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  padding: 16px 36px;
  font-size: 13px;
  letter-spacing: 0.18em;
}
.email-cta-button-wrap .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.email-cta-help {
  margin-top: 18px;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft, #888);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .email-cta-card { padding: 30px 24px; }
  .email-cta-intro { font-size: 15px; }
  .email-cta-list li { font-size: 14px; }
}

/* === GALERIE MÉDIAS (univers.html) — éditable === */
.univers-media {
  padding: 80px 0 100px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.media-item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.media-item:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.media-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0ece4;
  overflow: hidden;
}
.media-thumb img,
.media-thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border: 0;
}

/* === Vignette vidéo : image + bouton play === */
.media-thumb-video {
  cursor: pointer;
  background: linear-gradient(135deg, #1a2a1f 0%, #2c3a30 100%);
  position: relative;
}
.media-thumb-video img,
.media-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  filter: brightness(0.78);
  transition: filter 0.3s ease, transform 0.6s ease, opacity 0.2s ease;
}
.media-item:hover .media-thumb-video img,
.media-item:hover .media-thumb-img {
  filter: brightness(0.92);
  transform: scale(1.02);
}
.media-video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(160, 138, 91, 0.20), transparent 55%),
    linear-gradient(135deg, #1f3a2a 0%, #2c4537 100%);
}
/* Dégradé subtil "lecture vidéo" pour rendre le placeholder reconnaissable
   même sans miniature image — un effet de cinéma feutré. */
.media-video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 70%, rgba(160, 138, 91, 0.12), transparent 45%);
  pointer-events: none;
}
/* Zone d'upload de miniature personnalisée (mode édition uniquement) */
.media-thumb-upload-zone {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
  display: none;
}
body.edit-mode .media-thumb-upload-zone {
  display: block;
  cursor: pointer;
}
body.edit-mode .media-thumb-upload-zone:hover {
  background: rgba(160, 138, 91, 0.10);
}
body.edit-mode .media-thumb-upload-zone::after {
  content: '+ Miniature personnalisée';
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(251, 250, 245, 0.92);
  color: var(--forest);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.edit-mode .media-thumb-upload-zone:hover::after {
  opacity: 1;
}
.media-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(251, 250, 245, 0.95);
  border: 0;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  padding: 0;
}
.media-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.42);
}
.media-play-icon {
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid var(--forest);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

/* === Lightbox vidéo plein écran === */
.video-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 40px;
  animation: videoLightboxFade 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@keyframes videoLightboxFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.video-lightbox-frame {
  position: relative;
  max-width: 1200px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.video-lightbox-frame iframe,
.video-lightbox-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(251, 250, 245, 0.92);
  border: 0;
  color: var(--forest);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-lightbox-close:hover {
  background: var(--paper);
  transform: rotate(90deg);
}
@media (max-width: 760px) {
  .video-lightbox-overlay { padding: 16px; }
  .video-lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* La modale de saisie URL accepte aussi un textarea (code embed) */
.media-url-modal-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  margin-bottom: 18px;
  resize: vertical;
  min-height: 70px;
  font-family: ui-monospace, Consolas, monospace;
}
.media-url-modal-card textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.media-body {
  padding: 22px 24px 28px;
}
.media-item-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}
.media-item-caption {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft, #6b6b6b);
  margin: 0;
}

/* Boutons d'action — visibles uniquement en mode édition */
.media-actions {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  gap: 6px;
  z-index: 5;
}
body.edit-mode .media-actions {
  display: flex;
}
.media-action-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 250, 245, 0.96);
  border: 1px solid rgba(31, 58, 42, 0.18);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: var(--forest);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.media-action-btn:hover {
  background: var(--paper);
  border-color: var(--gold);
}
.media-action-btn.media-delete-btn {
  font-size: 18px;
  line-height: 1;
}
.media-action-btn.media-delete-btn:hover {
  background: #fff;
  border-color: #c44;
  color: #c44;
}

/* L'ancien badge "▶ Vidéo" est retiré : le bouton play central est plus explicite */
.media-item[data-media-type="video"] .media-thumb::before {
  display: none;
}

/* Boutons "Ajouter une image / vidéo" en bas — visibles en édition */
.media-add-buttons {
  display: none;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
body.edit-mode .media-add-buttons {
  display: flex;
}
.media-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--paper);
  border: 1px dashed rgba(31, 58, 42, 0.35);
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--forest);
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.media-add-btn:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  border-style: solid;
}
.media-add-btn-icon {
  font-size: 16px;
}

@media (max-width: 900px) {
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .univers-media { padding: 60px 0 80px; }
}
@media (max-width: 600px) {
  .media-grid { grid-template-columns: 1fr; gap: 16px; }
  .media-body { padding: 18px 20px 22px; }
}

/* Modale simple pour saisir une URL vidéo */
.media-url-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 27, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.media-url-modal-card {
  background: var(--paper);
  border-radius: 8px;
  max-width: 520px;
  width: 100%;
  padding: 34px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.media-url-modal-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}
.media-url-modal-card p {
  font-size: 14px;
  color: var(--ink-soft, #777);
  margin: 0 0 18px;
  line-height: 1.55;
}
.media-url-modal-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  margin-bottom: 18px;
}
.media-url-modal-card input:focus {
  outline: none;
  border-color: var(--gold);
}
.media-url-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.media-url-modal-actions button {
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}
.media-url-modal-cancel {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.media-url-modal-ok {
  background: var(--forest);
  border: 1px solid var(--forest);
  color: var(--paper);
}

/* === FORMAT CARDS — système flexible multi-encarts (tarifs/dimensions) === */
.format-grid {
  display: grid;
  gap: 28px;
  margin: 36px 0;
  /* Auto-responsive : passe de 1, 2 ou 3 colonnes selon le nombre d'items et la largeur */
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.format-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.format-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.format-card-head {
  margin-bottom: 18px;
}
.format-card-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 8px;
}
.format-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.format-card-price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--forest);
  margin: 0 0 22px;
  line-height: 1;
}
.format-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  flex-grow: 1;
}
.format-card-specs li {
  padding: 12px 0 12px 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.format-card-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* Actions (édition) sur chaque carte */
.format-card-actions {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  gap: 6px;
  z-index: 5;
}
body.edit-mode .format-card-actions {
  display: flex;
}
.format-action-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 250, 245, 0.96);
  border: 1px solid rgba(31, 58, 42, 0.18);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--forest);
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}
.format-action-btn:hover {
  background: var(--paper);
  border-color: var(--gold);
}
.format-action-btn.format-delete-btn {
  font-size: 18px;
  line-height: 1;
}
.format-action-btn.format-delete-btn:hover {
  background: #fff;
  border-color: #c44;
  color: #c44;
}

/* Bouton "Ajouter un format" */
.format-add-buttons {
  display: none;
  justify-content: center;
  margin-top: 8px;
}
body.edit-mode .format-add-buttons {
  display: flex;
}
.format-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--paper);
  border: 1px dashed rgba(31, 58, 42, 0.35);
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--forest);
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.format-add-btn:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  border-style: solid;
}

/* === FAQ PRESTATIONS (mêmes styles que la FAQ contact) === */
/* Réutilise .faq-* depuis tarifs */

@media (max-width: 720px) {
  .format-card { padding: 24px 22px 22px; }
  .format-card-title { font-size: 19px; }
  .format-card-price { font-size: 24px; }
}

/* ============================================================
   PEINTURE EN DIRECT — encarts narratifs + collections premium
   Fonds blancs élégants, mise en page éditoriale moderne.
   ============================================================ */

/* --- Encarts narratifs alternés --- */
.encart-narratif {
  background: #ffffff;
  padding: 92px 0;
  border-bottom: 1px solid #eee7da;
}
.encart-narratif:nth-of-type(even) {
  background: #fdfcf9;
}
.encart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
/* Alternance : média à droite (texte gauche) ou média à gauche */
.encart-media-right .encart-text  { order: 1; }
.encart-media-right .encart-media { order: 2; }
.encart-media-left  .encart-text  { order: 2; }
.encart-media-left  .encart-media { order: 1; }

.encart-text .eyebrow {
  display: block;
  margin-bottom: 18px;
}
.encart-text h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 33px;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 24px;
}
.encart-text p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.encart-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 18px;
}
.encart-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-bottom: 1px solid #efe9da;
}
.encart-list li:last-child { border-bottom: none; }
.encart-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 13px;
  height: 1px;
  background: var(--gold);
}

/* Slot média (image ou vidéo) */
.encart-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #f3efe6;
  aspect-ratio: 4 / 5;
}
.encart-media > img,
.encart-media .media-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.encart-media .media-thumb-video {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

/* Contrôles d'édition du slot média (visibles en mode édition seulement) */
.encart-media-controls {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  gap: 8px;
  justify-content: center;
  z-index: 6;
}
body.edit-mode .encart-media-controls {
  display: flex;
}
.encart-media-btn {
  background: rgba(251, 250, 245, 0.96);
  border: 1px solid rgba(31, 58, 42, 0.20);
  border-radius: 4px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.encart-media-btn:hover {
  background: #fff;
  border-color: var(--gold);
}

/* --- Section collections premium --- */
.collections-section {
  background: #ffffff;
  padding: 96px 0;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 48px auto 0;
}
.collection-card {
  background: #ffffff;
  border: 1px solid #e8e1d2;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.collection-card:hover {
  box-shadow: 0 14px 44px rgba(13, 31, 21, 0.10);
  transform: translateY(-4px);
}
.collection-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3efe6;
}
.collection-card-media > img,
.collection-card-media .media-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collection-card-media .media-thumb-video {
  position: absolute;
  inset: 0;
}
.collection-card-body {
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.collection-card-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.collection-card-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 27px;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e8e1d2;
}
.collection-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.collection-card-specs li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.collection-card-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 11px;
  height: 1px;
  background: var(--gold);
}
.collections-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  opacity: 0.8;
  margin: 40px auto 0;
  max-width: 620px;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 920px) {
  .encart-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* Sur mobile, le média passe toujours au-dessus du texte */
  .encart-media-right .encart-text,
  .encart-media-left  .encart-text  { order: 2; }
  .encart-media-right .encart-media,
  .encart-media-left  .encart-media { order: 1; }
  .encart-narratif { padding: 60px 0; }
  .encart-text h2 { font-size: 27px; }
  .collections-grid { grid-template-columns: 1fr; gap: 24px; }
  .collections-section { padding: 60px 0; }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .collections-grid { gap: 22px; }
  .encart-grid { gap: 48px; }
}

/* ============================================================
   PAGES LÉGALES + FOOTER LÉGAL
   ============================================================ */

/* --- Contenu des pages légales --- */
.legal-section {
  background: #ffffff;
  padding: 72px 0 96px;
}
.legal-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-block {
  position: relative;
  background: #fdfcf9;
  border: 1px solid #ece5d6;
  border-radius: 6px;
  padding: 32px 34px;
}
.legal-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal-block-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.legal-block-body p:last-child { margin-bottom: 0; }

/* Actions d'édition des blocs légaux (mode édition seulement) */
.legal-block-actions {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  gap: 6px;
}
body.edit-mode .legal-block-actions {
  display: flex;
}
.legal-action-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 250, 245, 0.96);
  border: 1px solid rgba(31, 58, 42, 0.18);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--forest);
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.legal-action-btn:hover {
  background: #fff;
  border-color: var(--gold);
}
.legal-action-btn.legal-delete-btn {
  font-size: 17px;
  line-height: 1;
}
.legal-action-btn.legal-delete-btn:hover {
  border-color: #c44;
  color: #c44;
}
.legal-add-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 13px 26px;
  background: var(--paper);
  border: 1px dashed rgba(31, 58, 42, 0.35);
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--forest);
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
body.edit-mode .legal-add-btn {
  display: inline-flex;
}
.legal-add-btn:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  border-style: solid;
}

/* --- Footer : section légale tout en bas --- */
.footer-legal {
  border-top: 1px solid rgba(207, 218, 196, 0.1);
  margin-top: 32px;
  padding-top: 20px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.footer-legal-links a {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(201, 212, 190, 0.52);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: rgba(201, 212, 190, 0.85);
}
.footer-legal-text {
  font-size: 10.5px;
  line-height: 1.62;
  color: rgba(201, 212, 190, 0.42);
  margin: 0 0 7px;
  max-width: 920px;
}
.footer-legal-text:last-child {
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .legal-block { padding: 24px 22px; }
  .legal-section { padding: 48px 0 64px; }
  .footer-legal-links { gap: 8px 18px; }
}

/* ============================================================
   LISTES DE FORMULES ÉDITABLES (collections OR/PLATINUM/DIAMANT)
   ============================================================ */
.collection-card-specs li.spec-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.spec-actions {
  display: none;
  flex-shrink: 0;
  gap: 3px;
  padding-top: 6px;
}
body.edit-mode .spec-actions { display: flex; }
.spec-action-btn {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 250, 245, 0.96);
  border: 1px solid rgba(31, 58, 42, 0.18);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  color: var(--forest);
  font-family: inherit;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.spec-action-btn:hover {
  background: #fff;
  border-color: var(--gold);
}
.spec-action-btn.spec-delete-btn { font-size: 14px; }
.spec-action-btn.spec-delete-btn:hover {
  border-color: #c44;
  color: #c44;
}
.spec-add-btn {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 9px 16px;
  background: var(--paper);
  border: 1px dashed rgba(31, 58, 42, 0.35);
  border-radius: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--forest);
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
body.edit-mode .spec-add-btn { display: inline-flex; }
.spec-add-btn:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  border-style: solid;
}

/* ============================================================
   BARRE D'OUTILS DES IMAGES DE GALERIE (mode édition)
   ============================================================ */
.gallery-item-controls {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  gap: 5px;
  z-index: 5;
}
body.edit-mode .gallery-item-controls {
  display: flex;
}
.gallery-ctrl-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 250, 245, 0.97);
  border: 1px solid rgba(31, 58, 42, 0.22);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--forest);
  font-family: inherit;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(31, 58, 42, 0.18);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.gallery-ctrl-btn:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-1px);
}
.gallery-ctrl-btn.gallery-ctrl-delete {
  font-size: 18px;
}
.gallery-ctrl-btn.gallery-ctrl-delete:hover {
  border-color: #c44;
  color: #c44;
}

/* ============================================================
   ICÔNES RÉSEAUX SOCIAUX (page Contact)
   ============================================================ */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.social-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  background: transparent;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.social-icon:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  transform: translateY(-2px);
}
.social-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}
body.edit-mode .social-icon {
  cursor: pointer;
}
/* Badge de suppression en mode édition */
.social-icon-controls {
  display: none;
  position: absolute;
  top: -7px;
  right: -7px;
}
body.edit-mode .social-icon-controls {
  display: block;
}
.social-del-btn {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #c44;
  border-radius: 50%;
  color: #c44;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 4px rgba(31, 58, 42, 0.2);
  transition: background 0.18s ease;
}
.social-del-btn:hover {
  background: #c44;
  color: #fff;
}

/* ============================================================
   ACCORDÉON "INFORMATIONS DE RÉSERVATION"
   ============================================================ */
.reservation-info {
  max-width: 780px;
  margin: 44px auto 0;
}
.reservation-info .faq-item {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px 26px;
  background: var(--paper);
}
.reservation-info .faq-item:last-child { border-bottom: 1px solid var(--line); }
.reservation-info .faq-q h3 { font-size: 17px; }
.reservation-info .faq-a { padding-bottom: 8px; }
.reservation-info .faq-a p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.reservation-info .faq-a p:last-child { margin-bottom: 0; }

/* ============================================================
   NUMÉROS DES CARTES PRESTATIONS (01 à 05)
   ============================================================ */
.prestation-number {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 3;
}
.prestation-number-text {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: rgba(251, 250, 245, 0.96);
  text-shadow: 0 2px 20px rgba(20, 43, 28, 0.7);
  letter-spacing: 0.01em;
  pointer-events: none;
  display: inline-block;
}
body.edit-mode .prestation-number-text {
  pointer-events: auto;
  outline: 1px dashed rgba(251, 250, 245, 0.55);
  outline-offset: 4px;
}
.pnum-del {
  display: none;
  position: absolute;
  top: -8px;
  right: -20px;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #c44;
  border-radius: 50%;
  color: #c44;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 1px 5px rgba(20, 43, 28, 0.25);
}
body.edit-mode .pnum-del { display: inline-flex; }
.pnum-del:hover { background: #c44; color: #fff; }

/* ============================================================
   PAGE AQUARELLE EN DIRECT — bloc tarif et informations
   ============================================================ */
.aqua-price-block {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.aqua-price-item .aqua-price-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 8px;
}
.aqua-price-item .aqua-price-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 350;
  color: var(--ink);
}
.aqua-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
@media (max-width: 820px) {
  .aqua-info-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   PAGE AQUARELLE — encart tarif premium
   ============================================================ */
.aqua-tarif-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 52px 44px;
  box-shadow: 0 30px 70px -40px rgba(20, 43, 28, 0.28);
}
.aqua-tarif-card .aqua-tarif-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 16px;
}
.aqua-tarif-card .aqua-tarif-price {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  display: block;
}
.aqua-tarif-card .aqua-tarif-sep {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}
.aqua-tarif-card .aqua-tarif-note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.aqua-dimensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.aqua-dimension-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
}
.aqua-dimension-item .aqua-dim-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 10px;
}
.aqua-dimension-item .aqua-dim-value {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 350;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 820px) {
  .aqua-dimensions-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   PAGE AQUARELLE — corrections : titre, fonds, encarts
   ============================================================ */

/* Titre de bannière réduit pour ce titre long (entièrement visible) */
.hero-immersive-title-compact {
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.1;
}

/* Fonds alternés plus lumineux : blanc franc / beige très léger */
body.page-aquarelle section[data-section-id] { background: #ffffff; }
body.page-aquarelle section[data-section-id].tint { background: #f7f4ec; }
body.page-aquarelle section.hero-immersive { background: transparent; }
body.page-aquarelle section.cta-band { background: var(--forest); }
body.page-aquarelle { background: #ffffff; }

/* Encarts "Format et durée" plus grands et premium, fond vert foncé */
body.page-aquarelle .aqua-dimension-item {
  background: var(--forest);
  border: none;
  border-radius: 16px;
  padding: 42px 32px;
  text-align: center;
  box-shadow: 0 22px 50px -32px rgba(20, 43, 28, 0.4);
}
body.page-aquarelle .aqua-dimension-item .aqua-dim-label {
  color: rgba(251, 250, 245, 0.72);
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}
body.page-aquarelle .aqua-dimension-item .aqua-dim-value {
  color: var(--paper);
  font-size: 25px;
}

/* Plus d'air entre l'encart prix et les blocs d'information dessous */
.aqua-tarif-card { margin-bottom: 8px; }
.aqua-info-grid { margin-top: 64px; }

/* ============================================================
   MISE À JOUR — footer social, souvenirs, aquarelle, prestations, contact
   ============================================================ */

/* Footer : icônes réseaux sociaux */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251, 250, 245, 0.28);
  color: var(--paper);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social-icon:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--forest);
}

/* SOUVENIRS PEINTS */
/* Espace réduit entre le bouton "Commander" et la section Tarif */
body.page-souvenirs section[data-section-id="tarif"] { margin-top: -56px; }
/* Encarts formats : fond blanc + contour vert foncé élégant */
body.page-souvenirs .format-card {
  background: #ffffff;
  border: 1.5px solid var(--forest);
}

/* AQUARELLE */
/* Titre de bannière agrandi (+6px environ) */
body.page-aquarelle .hero-immersive-title-compact {
  font-size: clamp(42px, 5.5vw, 76px);
}
/* Espace réduit entre "Ce qui est compris" et "Format et durée" */
body.page-aquarelle section[data-section-id="dimensions"] { margin-top: -20px; }
/* Encarts "Format et durée" : padding interne réduit */
body.page-aquarelle .aqua-dimension-item { padding: 30px 26px; }

/* PRESTATIONS */
/* Grand conteneur de la section en fond blanc */
body.page-prestations section[data-section-id="prestations"] { background: #ffffff; }
/* Prestations 4 et 5 centrées (dernière ligne) */
body.page-prestations .prestation-visual-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
body.page-prestations .prestation-visual-card {
  flex: 0 1 calc((100% - 64px) / 3);
  max-width: calc((100% - 64px) / 3);
}
@media (max-width: 900px) {
  body.page-prestations .prestation-visual-card {
    flex-basis: calc((100% - 32px) / 2);
    max-width: calc((100% - 32px) / 2);
  }
}
@media (max-width: 600px) {
  body.page-prestations .prestation-visual-card {
    flex-basis: 100%;
    max-width: 480px;
  }
}

/* CONTACT */
/* Espace vertical réduit avant la section "Prenons contact" */
body.page-contact section[data-section-id="hero"] { margin-top: -36px; }

/* ============================================================
   MISE À JOUR — index, univers, aquarelle, footer, contact, nav
   ============================================================ */

/* INDEX — section "Une peintre, un atelier" en fond blanc */
body.page-accueil .about-section { background: #ffffff; }

/* UNIVERS — sections en fond blanc, plus lumineux */
body.page-univers .page-hero,
body.page-univers section[data-section-id="bio"],
body.page-univers section[data-section-id="reperes"],
body.page-univers section[data-section-id="atelier"],
body.page-univers section[data-section-id="univers-media"] {
  background: #ffffff;
}
/* Encart "L'artiste" et "Atelier et œuvres" : 20px de padding en moins */
body.page-univers section[data-section-id="bio"] { margin-top: -20px; margin-bottom: -20px; }
body.page-univers section[data-section-id="atelier"] { margin-top: -20px; margin-bottom: -20px; }

/* FOOTER — logos réseaux sociaux agrandis */
.footer-social-icon { width: 44px; height: 44px; }
.footer-social-icon svg { width: 21px; height: 21px; }

/* AQUARELLE — titre encore agrandi (+5px) */
body.page-aquarelle .hero-immersive-title-compact {
  font-size: clamp(47px, 5.8vw, 81px);
}
/* AQUARELLE — espaces verticaux réduits */
body.page-aquarelle section[data-section-id="dimensions"] { margin-top: -30px; margin-bottom: -10px; }
body.page-aquarelle section[data-section-id="tarif"] { margin-top: -10px; margin-bottom: -10px; }
body.page-aquarelle section[data-section-id="experience"] { margin-top: -20px; margin-bottom: -20px; }

/* PRESTATIONS 4 & 5 — encart "Comment ça se passe" en fond blanc */
body.page-cadeau section[data-section-id="principe"],
body.page-surprise section[data-section-id="principe"] {
  background: #ffffff;
}

/* CONTACT — encart "Mes coordonnées" en fond blanc */
body.page-contact section[data-section-id="coordonnees"] { background: #ffffff; }

/* EN-TÊTE — léger voile pour que le logo et le menu restent lisibles
   sur les bannières immersives, sans changer le style */
body.has-hero-immersive .nav {
  background: linear-gradient(to bottom, rgba(13, 31, 21, 0.5), rgba(13, 31, 21, 0));
}

/* ============================================================
   FINITIONS — bannière index, prestations, contact
   ============================================================ */

/* INDEX — texte de bannière descendu pour une meilleure lisibilité */
body.page-accueil .hero-immersive-content { margin-top: 28px; }

/* PRESTATIONS — espace ajouté au-dessus du titre de la section
   "Découvrir en images" (qui était trop collé en haut) */
body.page-prestations section[data-section-id="prestations"] { padding-top: 20px; }

/* CONTACT — section "Le plus beau souvenir" sur le vert pâle doux
   (le même que la section "L'approche" de l'accueil) */
body.page-contact section[data-section-id="statement"] { background: var(--paper-tint); }

/* ============================================================
   LIGHTBOX IMAGE + finitions réseaux sociaux + vidéos
   ============================================================ */

/* Lightbox image (clic sur une image de galerie) */
.img-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 31, 21, 0.92);
  padding: 40px;
  animation: imgLbFade 0.25s ease;
}
@keyframes imgLbFade { from { opacity: 0; } to { opacity: 1; } }
.img-lightbox-frame {
  max-width: 1100px;
  max-height: 86vh;
  display: flex;
}
.img-lightbox-frame img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.img-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(251, 250, 245, 0.35);
  background: rgba(251, 250, 245, 0.08);
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.img-lightbox-close:hover { background: rgba(251, 250, 245, 0.2); }

/* Curseur loupe sur les images cliquables */
.lightbox-item { cursor: zoom-in; }

/* Bouton de lecture vidéo dans la grille médias */
.media-thumb-video { cursor: pointer; position: relative; }
.media-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(251, 250, 245, 0.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 28px rgba(13, 31, 21, 0.4);
}
.media-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.media-play-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--forest);
  margin-left: 4px;
}

/* Réseaux sociaux — rendu plus net et cohérent */
.footer-social-icon {
  border-color: rgba(251, 250, 245, 0.32);
}
.footer-social-icon svg { width: 20px; height: 20px; }
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(31, 58, 42, 0.22);
  color: var(--forest);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-icons a:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}
.social-icons a svg { width: 19px; height: 19px; }

/* ==========================================================================
   Mise en valeur discrète du chiffre dans le titre Prestations
   ========================================================================== */
.prestations-count {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.08em;
}

/* ==========================================================================
   Vignettes images de la grille médias (page Univers) : cliquables (lightbox)
   ========================================================================== */
body:not(.edit-mode) .media-item[data-media-type="image"] .media-thumb {
  cursor: zoom-in;
}

/* ==========================================================================
   MOBILE / GSM — logo + tagline, navigation mobile, bouton Réserver discret.
   Tout est masqué par défaut : la version ordinateur n'est jamais affectée.
   ========================================================================== */
.brand-tagline { display: none; }
.about-cta-mobile { display: none; }
.nav-cta-mobile { display: none; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  /* Logo : « Samira » avec un tagline discret en dessous */
  .nav-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    line-height: 1;
  }
  .brand-name-line { display: inline-flex; align-items: baseline; line-height: 1; }
  .brand-tagline {
    display: block;
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--forest);
  }

  /* Pages à hero immersif : le header redevient sticky et reprend un fond
     clair en mobile, pour réserver sa place et rester parfaitement lisible. */
  body.has-hero-immersive .nav {
    position: sticky;
    background: var(--paper);
  }
  body.has-hero-immersive .brand-tagline { color: var(--forest); }

  /* Bouton « Découvrir » : version mobile vers les prestations */
  .about-cta-desktop { display: none; }
  .about-cta-mobile { display: inline-flex; }

  /* Header : « Réserver votre date » retiré sur mobile, remplacé par « Prestations » */
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: inline-flex; }

  /* La barre de navigation mobile : grille alignée, 3 colonnes x 2 lignes */
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px var(--gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 45;
  }
  .mobile-nav > .m-nav-dd { width: 100%; }
  .mobile-nav .m-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 52px;
    padding: 8px 8px;
    font-family: var(--font-body);
    font-size: 10.5px;
    line-height: 1.25;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    color: var(--forest);
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    white-space: normal;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav .m-nav-link:hover,
  .mobile-nav .m-nav-link:active {
    background: var(--forest);
    color: var(--paper);
    border-color: var(--forest);
  }

  /* Menu déroulant « Prestations » (natif <details>, sans hamburger) */
  .m-nav-dd { margin: 0; }
  .m-nav-summary { list-style: none; cursor: pointer; }
  .m-nav-summary::-webkit-details-marker { display: none; }
  .m-nav-summary::marker { content: ""; }
  .m-nav-summary::after {
    content: "▾";
    font-size: 9px;
    line-height: 1;
    transition: transform 0.25s ease;
  }
  .m-nav-dd[open] > .m-nav-summary {
    background: var(--forest);
    color: var(--paper);
    border-color: var(--forest);
  }
  .m-nav-dd[open] > .m-nav-summary::after { transform: rotate(180deg); }

  .m-nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(13, 31, 21, 0.12);
    padding: 4px 0;
    animation: mNavDrop 0.22s ease;
  }
  .m-nav-panel a {
    display: block;
    padding: 15px var(--gutter);
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(13, 31, 21, 0.06);
    transition: background 0.2s ease, color 0.2s ease;
  }
  .m-nav-panel a:last-child { border-bottom: none; }
  .m-nav-panel a:hover,
  .m-nav-panel a:active {
    background: rgba(31, 58, 42, 0.06);
    color: var(--forest);
  }

  @keyframes mNavDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ==========================================================================
   SÉCURITÉ DESKTOP — garantit que tous les éléments propres au mobile restent
   invisibles sur ordinateur (>= 901px), quoi qu'il arrive. Le rendu desktop
   d'origine n'est donc jamais affecté.
   ========================================================================== */
@media (min-width: 901px) {
  .mobile-nav,
  .brand-tagline,
  .about-cta-mobile,
  .nav-cta-mobile { display: none !important; }
}

/* ==========================================================================
   DESKTOP — menu déroulant sur le lien « Prestations » du header
   (Sur mobile, c'est la barre mobile qui gère le sous-menu Prestations.)
   ========================================================================== */
.nav-link-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-dd-chevron {
  display: inline-block;
  margin-left: 6px;
  font-size: 9px;
  line-height: 1;
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-link-dd:hover .nav-link-dd-chevron,
.nav-link-dd:focus-within .nav-link-dd-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-link-dd-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(13, 31, 21, 0.10);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 100;
}

/* Pont invisible : conserve le survol entre le lien et le menu */
.nav-link-dd-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-link-dd:hover .nav-link-dd-menu,
.nav-link-dd:focus-within .nav-link-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

/* Items du sous-menu : style distinct du nav principal (pas de soulignement,
   typographie plus douce, padding bloc régulier). */
.nav-links .nav-link-dd-menu a {
  display: block;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links .nav-link-dd-menu a::after { display: none; }
.nav-links .nav-link-dd-menu a:hover,
.nav-links .nav-link-dd-menu a:focus {
  background: rgba(31, 58, 42, 0.06);
  color: var(--forest);
}

/* Sur les pages à hero immersif, le menu garde son fond clair (lisibilité) */
body.has-hero-immersive .nav-link-dd-menu { background: var(--paper); }
body.has-hero-immersive .nav-links .nav-link-dd-menu a { color: var(--ink); }

/* Mobile : pas de dropdown desktop (la barre mobile gère le sous-menu) */
@media (max-width: 900px) {
  .nav-link-dd-menu,
  .nav-link-dd-chevron { display: none !important; }
}
