:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-soft: #f3f0ea;
  --text: #1c1a17;
  --muted: #6f6860;
  --gold: #b8873b;
  --gold-light: #d4a853;
  --gold-strong: #96702a;
  --border: rgba(183, 135, 59, 0.18);
  --shadow-sm: 0 4px 20px rgba(28, 26, 23, 0.06);
  --shadow: 0 12px 40px rgba(28, 26, 23, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 112px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  padding: 0.5rem 0.75rem;
  background: var(--text);
  color: #fff;
  z-index: 999;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 112px;
  --header-h: 112px;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition:
    height 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header.is-compact {
  height: 72px;
  --header-h: 72px;
  background: rgba(250, 249, 246, 0.98);
  box-shadow: 0 8px 28px rgba(28, 26, 23, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 1 auto;
  min-width: 0;
  background: transparent;
  transition: gap 0.3s ease;
}

.brand-mark {
  width: 96px;
  height: 96px;
  max-width: none;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 16px rgba(183, 135, 59, 0.18);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    box-shadow 0.3s ease;
}

.header.is-compact .brand-mark {
  width: 52px;
  height: 52px;
  box-shadow: 0 1px 8px rgba(183, 135, 59, 0.14);
}

.header.is-compact .brand-name {
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
}

.header.is-compact .brand {
  gap: 0.65rem;
}

.brand-logo {
  width: auto;
  height: 96px;
  max-width: min(280px, 48vw);
  object-fit: contain;
  background: transparent;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: font-size 0.28s ease;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--gold-strong);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav-link {
  padding: 0.4rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav > a:not(.btn-nav) {
  padding: 0.4rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav > a:not(.btn-nav):hover {
  color: var(--text);
  background: rgba(183, 135, 59, 0.08);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(183, 135, 59, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-dropdown[data-open="true"] .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-dropdown[data-open="true"] .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-soft);
  color: var(--gold-strong);
}

.btn-nav {
  margin-left: 0.35rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.8rem;
  background: var(--gold-strong);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(122, 87, 24, 0.35);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s, color 0.15s;
  flex-shrink: 0;
}

.btn-nav:hover {
  background: #7a5718;
  color: #fff;
  box-shadow: 0 4px 18px rgba(122, 87, 24, 0.5);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 4px 16px rgba(183, 135, 59, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(183, 135, 59, 0.45);
}

.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--gold-strong);
  background: transparent;
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-strong);
  background: transparent;
}

/* ── Hero ── */
.hero {
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(212, 168, 83, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(250, 249, 246, 0.97) 40%, rgba(243, 240, 234, 0.88)),
    url("https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1800&q=80")
      right center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-logo {
  display: block;
  width: clamp(120px, 16vw, 168px);
  height: clamp(120px, 16vw, 168px);
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  margin: 0 0 1.15rem;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.65),
    0 12px 40px rgba(184, 135, 59, 0.28);
  animation: merci-pop 0.75s ease both;
}

.hero-copy .eyebrow {
  margin-bottom: 0.55rem;
  animation: merci-fade-up 0.55s ease 0.08s both;
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  margin-bottom: 0.85rem;
  color: var(--text);
  animation: merci-fade-up 0.6s ease 0.14s both;
}

.hero-copy .lead {
  animation: merci-fade-up 0.65s ease 0.2s both;
}

.hero-copy .actions {
  animation: merci-fade-up 0.7s ease 0.26s both;
}

.hero-copy .trust {
  animation: merci-fade-up 0.75s ease 0.32s both;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.65rem, 4.5vw, 3rem);
  max-width: 18ch;
  overflow-wrap: break-word;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}

.hero-visual {
  margin: 0;
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/5;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  margin-bottom: 0.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

/* ── Services grid (accueil  5 cartes) ── */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid--home {
  grid-template-columns: repeat(6, 1fr);
}

.services-grid--home .service-card {
  grid-column: span 2;
}

.services-grid--home .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.services-grid--home .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* ── Bienfaits ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.benefit-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: center;
}

.benefit-item h3 {
  color: var(--gold-strong);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Engagements hygiène ── */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.commitment-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.commitment-item h3 {
  color: var(--gold-strong);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.commitment-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.commitments-closing {
  text-align: center;
  max-width: 42rem;
  margin: 2.5rem auto 0;
  color: var(--text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ── Variantes de soins ── */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.variants-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: 100%;
  max-width: calc((100% - 1.25rem) / 2);
  justify-self: center;
}

.variant-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.variant-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}

.variant-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.variant-card-body h3 {
  margin-bottom: 0.55rem;
}

.variant-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.variant-card-body ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.variant-card-body li + li {
  margin-top: 0.35rem;
}

/* ── Chèques cadeau (e-shop) ── */
.gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.gift-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--surface);
}

.gift-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gift-home-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gift-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1c1a17 0%, #3a342c 100%);
  color: #f5e6c8;
  border: 1px solid rgba(212, 168, 83, 0.35);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  min-height: 150px;
}

.gift-home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gift-home-card.is-popular {
  outline: 2px solid var(--gold-light);
}

.gift-home-amount {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.8rem;
  color: var(--gold-light);
}

.gift-home-label {
  font-size: 0.95rem;
}

.gift-home-cta {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.gift-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.gift-alert {
  background: #fff6e8;
  border: 1px solid var(--border);
  color: var(--gold-strong);
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.gift-shop {
  display: grid;
  gap: 2rem;
}

.gift-offers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.gift-offer {
  cursor: pointer;
  display: block;
  position: relative;
}

.gift-offer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gift-offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1c1a17 0%, #3a342c 100%);
  color: #f5e6c8;
  border: 2px solid rgba(255, 255, 255, 0.08);
  min-height: 150px;
  position: relative;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    opacity 0.2s,
    filter 0.2s;
}

.gift-offer:hover .gift-offer-card {
  border-color: rgba(212, 168, 83, 0.45);
  transform: translateY(-2px);
}

/* Cartes non sélectionnées : un peu atténuées */
.gift-offers:has(input:checked) .gift-offer:not(:has(input:checked)) .gift-offer-card {
  opacity: 0.58;
  filter: saturate(0.75);
}

.gift-offer input:checked ~ .gift-offer-card {
  border-color: var(--gold-light);
  border-width: 3px;
  background: linear-gradient(160deg, #2a2318 0%, #4a3d2a 45%, #3a2f20 100%);
  box-shadow:
    0 0 0 3px rgba(212, 168, 83, 0.35),
    0 14px 36px rgba(184, 135, 59, 0.45);
  transform: translateY(-4px) scale(1.03);
  opacity: 1;
  filter: none;
}

.gift-offer input:checked ~ .gift-offer-card::after {
  content: "✓";
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(184, 135, 59, 0.45);
}

.gift-offer input:checked ~ .gift-offer-card .gift-offer-amount {
  color: #f0d78a;
}

.gift-offer input:focus-visible ~ .gift-offer-card {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.gift-offer-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 1;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
}

.gift-offer-brand {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.gift-offer-amount {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.65rem;
  color: var(--gold-light);
  margin-top: 0.4rem;
}

.gift-offer-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.gift-offer-desc {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.gift-checkout-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.gift-checkout-panel h3 {
  margin-bottom: 1.1rem;
}

.gift-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gift-fields label,
.gift-verify-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.gift-field-full {
  grid-column: 1 / -1;
}

.gift-fields input,
.gift-fields textarea,
.gift-verify-form input {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.gift-fields input:focus,
.gift-fields textarea:focus,
.gift-verify-form input:focus {
  outline: 2px solid rgba(184, 135, 59, 0.35);
  border-color: var(--gold);
}

.gift-trust-list {
  margin: 1.25rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.gift-trust-list li + li {
  margin-top: 0.35rem;
}

.gift-pay-btn {
  width: 100%;
  justify-content: center;
}

.gift-note,
.gift-error,
.gift-success {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.gift-error {
  color: #9b2c2c;
}

.gift-success {
  color: #276749;
}

.gift-verify-form {
  display: grid;
  gap: 1rem;
}

.gift-verify-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.gift-verify-result.is-good {
  background: #f0fff4;
  border-color: #9ae6b4;
}

.gift-verify-result.is-bad {
  background: #fff5f5;
  border-color: #feb2b2;
}

.gift-verify-result code {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.gift-digital-card {
  background: linear-gradient(160deg, #1c1a17 0%, #3a342c 100%);
  color: #f5e6c8;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(212, 168, 83, 0.35);
}

.gift-digital-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.gift-digital-card-top strong {
  color: var(--gold-light);
  font-size: 1.4rem;
  font-family: "Cinzel", Georgia, serif;
}

.gift-digital-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(212, 168, 83, 0.55);
}

.gift-digital-status {
  margin: 1rem 0 1.5rem;
  color: #d4a853;
}

/* ── Page merci cadeau (festive) ── */
.merci-page {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px;
  max-height: 55vh;
  pointer-events: none;
  z-index: 1;
}

.merci-hero,
.merci-body {
  position: relative;
  z-index: 2;
}

.merci-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 168, 83, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(183, 135, 59, 0.14), transparent 50%),
    linear-gradient(180deg, #f3f0ea 0%, #faf9f6 100%);
  text-align: center;
}

.merci-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.merci-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a853, #b8873b);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 30px rgba(184, 135, 59, 0.35);
  animation: merci-pop 0.7s ease both;
}

.merci-hero .eyebrow {
  animation: merci-fade-up 0.6s ease 0.1s both;
}

.merci-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
  animation: merci-fade-up 0.65s ease 0.18s both;
}

.merci-hero .lead {
  margin: 0 auto;
  max-width: 38rem;
  animation: merci-fade-up 0.7s ease 0.26s both;
}

.merci-body {
  padding-top: 1rem;
}

.merci-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
  justify-content: center;
}

.merci-card {
  position: relative;
  background: linear-gradient(155deg, #1c1a17 0%, #3a342c 55%, #2a241c 100%);
  color: #f5e6c8;
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 2.25rem 1.75rem 2rem;
  text-align: center;
  border: 1px solid rgba(212, 168, 83, 0.4);
  box-shadow: 0 18px 50px rgba(28, 26, 23, 0.18);
  overflow: hidden;
  animation: merci-fade-up 0.75s ease 0.3s both;
}

.merci-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.28), transparent 70%);
  pointer-events: none;
}

.merci-card-ribbon {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.18);
  color: #d4a853;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.merci-card-amount {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: #d4a853;
  line-height: 1;
}

.merci-card-label {
  margin: 1.35rem 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.merci-card-code {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.72rem, 2.1vw, 0.95rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem 0.75rem;
  border-radius: 12px;
  border: 1px dashed rgba(212, 168, 83, 0.55);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.merci-card-status {
  margin: 1rem 0 0;
  color: #d4a853;
  font-weight: 600;
}

.merci-card-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.82;
  line-height: 1.5;
}

.merci-card--pending .merci-card-amount {
  opacity: 0.5;
}

.merci-next {
  padding: 0.5rem 0;
  animation: merci-fade-up 0.8s ease 0.4s both;
}

.merci-next h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.merci-next-lead {
  margin: -0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.merci-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

.merci-share .btn {
  min-width: 10.5rem;
}

.merci-share-status {
  margin: -1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.merci-share-status.is-ok {
  color: #2f6b3a;
}

.merci-share-status.is-err {
  color: #8a2f2f;
}

.merci-card-note--print {
  display: none;
}

.merci-steps {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.merci-steps li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.merci-steps li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(184, 135, 59, 0.15);
  color: var(--gold-strong);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.merci-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes merci-pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes merci-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Révélation au scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

.hero-visual {
  animation: soft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero .hero-visual img {
  animation: hero-float 7s ease-in-out 1.2s infinite;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.service-card,
.commitment-item,
.benefit-item {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual,
  .hero .hero-visual img,
  .hero-logo,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .actions,
  .hero-copy .trust,
  .btn-primary::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 800px) {
  .merci-layout {
    grid-template-columns: 1fr;
  }

  .merci-hero {
    padding: 3.25rem 0 2rem;
  }

  .merci-share {
    flex-direction: column;
  }

  .merci-share .btn {
    width: 100%;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  html,
  body {
    background: #fff !important;
  }

  body * {
    visibility: hidden !important;
  }

  #bon-cadeau,
  #bon-cadeau * {
    visibility: visible !important;
  }

  #bon-cadeau {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    animation: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .merci-card-note--print {
    display: block !important;
  }

  .header,
  .footer,
  .merci-hero,
  .merci-next,
  .confetti-canvas,
  .skip-link,
  .cookie-banner,
  .merci-share,
  .merci-actions {
    display: none !important;
  }
}

/* ── Grilles pages services ── */
.steps-grid,
.related-grid {
  display: grid;
  gap: 1.25rem;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.related-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.info-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.info-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.info-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.info-card-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.info-card-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap 0.2s;
}

.info-card:hover .info-card-cta {
  gap: 0.55rem;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.service-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.service-card-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.service-card:hover .service-card-cta {
  gap: 0.55rem;
}

/* ── About / Stats ── */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.stats {
  display: grid;
  gap: 0.85rem;
}

.stats div {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stats strong {
  display: block;
  font-size: 1.75rem;
  font-family: "Cinzel", Georgia, serif;
  color: var(--gold-strong);
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Gallery ── */
.gallery-section {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* ── Testimonials ── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

blockquote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text);
}

blockquote cite {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
}

/* ── FAQ ── */
.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* ── Contact / Calendly ── */
.contact-section {
  background: var(--surface-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(183, 135, 59, 0.1), rgba(183, 135, 59, 0.04));
  border: 1px solid rgba(183, 135, 59, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-strong);
}

.contact-icon svg {
  display: block;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-item a,
.contact-item span {
  color: var(--text);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--gold-strong);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.calendly-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendly-card-header {
  padding: 1.5rem 1.75rem 0;
}

.calendly-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.calendly-card-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.calendly-embed {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
}

.calendly-placeholder {
  text-align: center;
  padding: 2.5rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  width: 100%;
}

.calendly-placeholder p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.calendly-note {
  margin-top: 1rem !important;
  font-size: 0.8rem !important;
  color: #aaa !important;
}

/* ── Page merci acompte + Calendly ── */
.booking-merci-page {
  position: relative;
}

.booking-merci-shell {
  position: relative;
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 168, 83, 0.18), transparent 55%),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 45%, #f3efe6 100%);
  overflow: hidden;
}

.booking-merci-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8873b' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.9;
}

.booking-merci-inner {
  position: relative;
  z-index: 1;
  width: min(820px, 90vw);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.booking-steps {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: merci-fade-up 0.55s ease both;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-step-num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

.booking-step.is-done {
  color: var(--gold-strong);
}

.booking-step.is-done .booking-step-num {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: #fff;
}

.booking-step.is-current {
  color: var(--text);
}

.booking-step.is-current .booking-step-num {
  border-color: var(--gold);
  color: var(--gold-strong);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 135, 59, 0.12);
}

.booking-step-line {
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 135, 59, 0.2));
  list-style: none;
}

.booking-merci-status {
  text-align: center;
  margin-bottom: 1.75rem;
}

.booking-merci-status .eyebrow {
  animation: merci-fade-up 0.55s ease 0.05s both;
}

.booking-merci-icon {
  width: 56px;
  height: 56px;
  margin: 0.35rem auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  animation: merci-pop 0.7s ease both;
}

.booking-merci-icon--ok {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 28px rgba(184, 135, 59, 0.32);
}

.booking-merci-status h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  max-width: none;
  margin: 0 auto 0.65rem;
  text-align: center;
  animation: merci-fade-up 0.6s ease 0.12s both;
}

.booking-merci-status .lead {
  margin: 0 auto;
  max-width: 34rem;
  animation: merci-fade-up 0.65s ease 0.2s both;
}

.booking-merci-hint {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: var(--gold-strong);
  font-weight: 600;
  font-size: 0.98rem;
  animation: merci-fade-up 0.7s ease 0.28s both;
}

.booking-merci-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  backdrop-filter: blur(8px);
  animation: merci-fade-up 0.75s ease 0.32s both;
  margin-left: auto;
  margin-right: auto;
}

.booking-merci-panel-head {
  padding: 1.35rem 1.5rem 0.25rem;
  text-align: center;
}

.booking-merci-panel-head h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  margin-bottom: 0.3rem;
}

.booking-merci-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-merci-embed {
  min-height: 680px;
  padding: 0.5rem 0.35rem 0.75rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.booking-merci-embed .calendly-inline-widget {
  width: 100%;
  margin: 0 auto;
}

.booking-merci-embed iframe {
  display: block;
  margin: 0 auto;
}

.booking-merci-embed .calendly-placeholder {
  margin: 1.5rem;
  width: auto;
}

.booking-merci-done {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(155deg, #1c1a17 0%, #3a342c 100%);
  color: #f5e6c8;
  border-radius: var(--radius-lg);
  animation: merci-fade-up 0.55s ease both;
}

.booking-merci-done h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.booking-merci-done p {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: rgba(245, 230, 200, 0.82);
}

.booking-merci-done .btn-outline {
  border-color: rgba(245, 230, 200, 0.35);
  color: #f5e6c8;
}

.booking-merci-done .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.booking-merci-actions {
  justify-content: center;
  margin-top: 0.25rem;
}

.booking-merci-help {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.booking-merci-help a {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-merci-status[data-state="done"] .booking-merci-hint {
  display: none;
}

@media (max-width: 640px) {
  .booking-merci-shell {
    padding: 1.75rem 0 3rem;
  }

  .booking-merci-embed {
    min-height: 620px;
    padding: 0.25rem 0 0.5rem;
  }

  .booking-step-label {
    font-size: 0.72rem;
  }

  .booking-step-line {
    width: 1.5rem;
  }
}

.deposit-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.deposit-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.deposit-form input,
.deposit-form select,
.deposit-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
}

.deposit-form textarea {
  resize: vertical;
  min-height: 80px;
}

.deposit-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.deposit-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* ── Footer ── */
.footer {
  background: var(--text);
  color: #d8d2c8;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  opacity: 0.95;
  object-fit: contain;
  background: #fff;
}

.footer-brand span {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.9rem;
  color: #ece8df;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.legal {
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #8a8278;
}

.footer-legal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-start;
  margin-top: 0.5rem;
  font-size: 0.82rem;
}

.footer-legal a,
.footer-cookie-btn {
  color: #b7aea2;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-cookie-btn:hover {
  color: var(--gold-light);
}

.footer-payments {
  width: 100%;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-payments-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9186;
}

.footer-payment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.55rem;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  background: transparent;
}

.pay-badge--wide {
  width: 56px;
}

.pay-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-credit {
  width: 100%;
  margin: 0.85rem 0 0;
  text-align: left;
  font-size: 0.8rem;
  color: #8a8278;
}

.footer-credit a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: #f0d9a0;
}

/* ── Pages légales ── */
.legal-content {
  max-width: 760px;
}

.legal-block + .legal-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-prose {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-prose h3 {
  margin-top: 1.25rem;
  color: var(--text);
}

.legal-prose ul {
  padding-left: 1.2rem;
}

.legal-prose li + li {
  margin-top: 0.35rem;
}

.legal-prose a {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose code {
  font-size: 0.88em;
  background: var(--surface-soft);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.legal-back {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.gift-legal-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.gift-legal-check input {
  margin-top: 0.25rem;
}

.gift-legal-check a {
  color: var(--gold-strong);
  text-decoration: underline;
}

/* ── Bannière cookies ── */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 400;
  max-width: 920px;
  margin: 0 auto;
}

.cookie-banner-inner {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  background: #1c1a17;
  color: #ece8df;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.cookie-banner-title {
  margin: 0 0 0.35rem;
  font-family: "Cinzel", Georgia, serif;
  color: var(--gold-light);
  font-size: 1rem;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #cfc7bb;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 720px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ── Service pages ── */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid--home .service-card,
  .services-grid--home .service-card:nth-child(4),
  .services-grid--home .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitments-grid {
    grid-template-columns: 1fr;
  }

  .variants-grid {
    grid-template-columns: 1fr;
  }

  .variants-grid > :last-child:nth-child(odd) {
    max-width: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-grid,
  .gift-home-grid,
  .gift-offers,
  .gift-fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 92px;
  }

  .header {
    height: 92px;
    --header-h: 92px;
  }

  .header.is-compact {
    height: 64px;
    --header-h: 64px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .header.is-compact .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
  }

  .brand-logo {
    height: 72px;
    max-width: min(180px, 48vw);
  }

  .container {
    width: min(1140px, calc(100% - 2rem));
  }

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    max-width: none;
  }

  .hero-grid,
  .two-col,
  .contact-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav[data-open="true"] {
    transform: translateX(0);
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface-soft);
    margin-top: 0.25rem;
    display: none;
  }

  .nav-dropdown[data-open="true"] .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown[data-open="true"]:hover .nav-dropdown-menu {
    display: block;
  }

  .btn-nav {
    margin: 0.75rem 0 0;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .services-grid--home,
  .related-grid,
  .benefits-grid,
  .gift-home-grid,
  .gift-offers,
  .gift-fields {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-legal,
  .footer-payments,
  .footer-payment-list,
  .footer-credit {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
}

/* ── Logs chèques cadeau ── */
.gift-logs-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gift-logs-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.gift-logs-stats > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  text-align: center;
}

.gift-logs-stats strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.35rem;
  color: var(--gold-strong);
}

.gift-logs-stats span {
  font-size: 0.78rem;
  color: var(--muted);
}

.gift-logs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gift-logs-filters input {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
}

.gift-logs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.gift-logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.gift-logs-table th,
.gift-logs-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.gift-logs-table th {
  background: var(--surface-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.gift-logs-table tr.is-warning { background: #fffaf0; }
.gift-logs-table tr.is-error { background: #fff5f5; }

.gift-log-level {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gift-log-event {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.gift-logs-table details { margin-top: 0.35rem; }

.gift-logs-table pre {
  margin: 0.4rem 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.75rem;
  background: var(--surface-soft);
  padding: 0.5rem;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .gift-logs-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Staff verify / redeem ── */
.staff-gate,
.staff-verify-box,
.staff-redeem-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.staff-toolbar {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.staff-code-input {
  font-size: 1.15rem !important;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  padding: 1rem 0.9rem !important;
}

.staff-cta {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.staff-cta-danger {
  background: linear-gradient(135deg, #8a6420, #b8873b);
}

.staff-redeem-box {
  margin-top: 1rem;
}

.staff-verify-box + .gift-verify-result {
  margin-top: 1.25rem;
}
