/* ══ DARK (défaut) ══ */
:root,
[data-theme="dark"] {
  --noir:          #0c202d;
  --noir-mid:      #162c3a;
  --noir-soft:     #1e3848;
  --or:            #dd6948;
  --or-light:      #d48e4a;
  --or-pale:       #f5edd8;
  --or-muted:      rgba(184,130,30,0.12);
  --creme:         #f5edd8;
  --creme-mid:     #ead8b8;
  --brun:          #8a6028;
  --brun-light:    #b08040;
  --text-muted:    rgba(245,237,216,0.45);
  --text-soft:     rgba(245,237,216,0.75);
  --border:        rgba(184,130,30,0.18);
  --border-strong: rgba(184,130,30,0.42);
  --font-display:  'Playfair Display', serif;
  --font-body:     'Poppins', sans-serif;

  /* extras layout dark */
  --bg-page:       #0c202d;
  --bg-card:       #162c3a;
  --bg-card-alt:   #1e3848;
  --nav-bg:        rgba(12,32,45,0.95);
  --text-main:     #f5edd8;
}

/* ══ LIGHT ══ */
[data-theme="light"] {
  --noir:          #faf6ef;
  --noir-mid:      #ffffff;
  --noir-soft:     #f2ebe0;
  --or:            #b84e2a;
  --or-light:      #c4703c;
  --or-pale:       #1a0c04;
  --or-muted:      rgba(184,78,42,0.07);
  --creme:         #1a0c04;
  --creme-mid:     #3a1e0a;
  --brun:          #7a4818;
  --brun-light:    #9a6030;
  --text-muted:    rgba(26,12,4,0.70);
  --text-soft:     rgba(14, 6, 2, 0.9);
  --border:        rgba(184,78,42,0.13);
  --border-strong: rgba(184,78,42,0.30);
  --font-display:  'Playfair Display', serif;
  --font-body:     'Poppins', sans-serif;

  /* extras layout light */
  --bg-page:       #faf6ef;
  --bg-card:       #ffffff;
  --bg-card-alt:   #f5ede0;
  --nav-bg:        rgba(250,246,239,0.95);
  --text-main:     #1a0c04;
}

/* ══ TRANSITIONS ══ */
body,
nav,
.hero,
.hero-bg,
.formule-col,
.service-item,
.option-card,
.config-panel,
.config-header,
.config-footer,
.config-overlay,
.step-content,
.menu-item,
.menu-section,
.price-estimate,
.recap-breakdown-row,
.contact-section,
footer {
  transition: background .35s, color .3s, border-color .3s, box-shadow .3s;
}

/* ══ BOUTON TOGGLE ══ */
.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--or-muted);
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all .2s;
}
.theme-btn:hover {
  border-color: var(--or);
  color: var(--or);
  transform: scale(1.05);
}

[data-theme="light"] .theme-btn .ico-moon { display: none; }
[data-theme="dark"]  .theme-btn .ico-sun  { display: none; }

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--noir);
    color: var(--or-pale);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .35s;
}

[data-theme="dark"] nav {
  background: linear-gradient(180deg, rgba(30,56,72,0.98) 0%, rgba(30,56,72,0.80) 100%);
}

[data-theme="light"] nav {
  background: linear-gradient(180deg, rgba(242,235,224,0.98) 0%, rgba(242,235,224,0.80) 100%);
}

[data-theme="dark"] nav.scrolled {
  background: rgba(30,56,72,0.97);
}

[data-theme="light"] nav.scrolled {
  background: rgba(242,235,224,0.97);
}
.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--or-pale);
    text-decoration: none;
}

.nav-logo span {
    color: var(--or);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--or);
}

.nav-cta {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--or-pale);
    background: var(--or);
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: var(--or-light);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(196, 114, 74, 0.06) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196, 114, 74, 0.04) 0%, transparent 60%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-line {
    position: absolute;
    background: var(--border);
    opacity: 0.4;
}

.hero-line.v {
    width: 0.5px;
    top: 0;
    bottom: 0;
}

.hero-line.h {
    height: 0.5px;
    left: 0;
    right: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-tag {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 32px;
    height: 0.5px;
    background: var(--or);
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    line-height: 1.05;
    color: var(--or-pale);
    margin-bottom: 24px;
}

.hero-title em {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: normal !important;
    color: var(--or);
}

.hero-desc {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--or-pale);
    background: var(--or);
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--or-light);
    transform: translateY(-1px);
}

.btn-ghost {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--or-pale);
    background: transparent;
    padding: 14px 32px;
    border: 0.5px solid var(--border-strong);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 300;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-ghost:hover {
    border-color: var(--or);
    color: var(--or);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-formula-card {
    background: var(--noir-soft);
    border: 0.5px solid var(--border);
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s, background 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-formula-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--or);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: bottom;
}

.hero-formula-card:hover::before {
    transform: scaleY(1);
}

.hero-formula-card:hover {
    border-color: var(--border-strong);
    background: rgba(196, 114, 74, 0.05);
}

.hfc-name {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 4px;
}

.hfc-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--or-pale);
    margin-bottom: 2px;
}

.hfc-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.hfc-right {
    text-align: right;
}

.hfc-from {
    font-size: 10px;
    color: var(--text-muted);
}

.hfc-price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 300;
    color: var(--or);
    line-height: 1;
}

.hfc-unit {
    font-size: 11px;
    color: var(--text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 0.5px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--or));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: block;
    width: 48px;
    height: 0.5px;
    background: var(--border-strong);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--or-pale);
    line-height: 1.1;
}

.section-title em {
    font-style: italic;
    color: var(--or);
}

.section-divider {
    width: 100%;
    height: 0.5px;
    background: var(--border);
    margin: 0 0 0;
}

.formules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 0.5px solid var(--border);
}

.formule-col {
    border-right: 0.5px solid var(--border);
    padding: 48px 36px;
    position: relative;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.formule-col:last-child {
    border-right: none;
}

.formule-col:hover {
    background: rgba(196, 114, 74, 0.03);
}

.formule-col.featured {
    background: rgba(196, 114, 74, 0.05);
}

.formule-badge {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--or);
    border: 0.5px solid var(--border-strong);
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 24px;
}

.formule-col.featured .formule-badge {
    background: var(--or);
    color: var(--or-pale);
    border-color: var(--or);
}

.formule-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    color: var(--or-pale);
    margin-bottom: 4px;
    line-height: normal;
}

.formule-type {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 4px;
}

.formule-pax {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.formule-price-block {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 0.5px solid var(--border);
}

.formule-from {
    font-size: 11px;
    color: var(--text-muted);
}

.formule-price {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 300;
    color: var(--or);
    line-height: 1;
    margin: 4px 0 2px;
}

.formule-price-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.formule-includes {
    margin-bottom: 36px;
    flex: 1;
}

.fi-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.fi-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
}

.chip-offert {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--or);
    color: var(--noir);
    padding: 2px 8px;
    margin-left: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    align-self: center;
    position: relative;
    top: -1px;
}
.chip-prestige {
    display: inline-block;
    margin-left: 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(184,130,30,0.15);
    color: var(--or);
    border: 0.5px solid rgba(184,130,30,0.4);
    padding: 2px 8px;
    vertical-align: middle;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
}

.fi-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--or);
    margin-top: 7px;
    flex-shrink: 0;
}

.formule-champagne {
    background: var(--or-muted);
    border: 0.5px solid var(--border-strong);
    padding: 12px 16px;
    font-size: 12px;
    color: var(--or-light);
    line-height: 1.5;
    margin-bottom: 32px;
}

.btn-configure {
    width: 100%;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--or-pale);
    background: transparent;
    padding: 14px;
    border: 0.5px solid var(--border-strong);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    transition: all 0.3s;
}

.btn-configure:hover,
.formule-col.featured .btn-configure {
    background: var(--or);
    color: var(--or-pale);
    border-color: var(--or);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 0.5px solid var(--border);
    margin-bottom: 60px;
}

.service-item {
    padding: 36px 28px;
    border-right: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
}

.service-item:nth-child(3n) {
    border-right: none;
}

.service-item:nth-last-child(-n+3) {
    border-bottom: none;
}

.si-icon {
    font-size: 20px;
    margin-bottom: 14px;
    opacity: 0.6;
}

.si-title {
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 10px;
}

.si-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.option-card {
    background: var(--noir-soft);
    padding: 32px;
    border: 0.5px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    transition: background 0.3s;
}

.option-card:hover {
    background: rgba(196, 114, 74, 0.04);
}

.option-card.full {
    grid-column: 1 / -1;
}

.oc-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 8px;
}

.oc-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--or-pale);
    margin-bottom: 8px;
}

.oc-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.oc-price {
    text-align: right;
    flex-shrink: 0;
}

.oc-from {
    font-size: 12px;
    color: var(--text-muted);
}

.oc-amount {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 300;
    color: var(--or);
    line-height: 1;
}

.oc-unit {
    font-size: 10px;
    color: var(--text-muted);
}

.contact-section {
    background: var(--noir-soft);
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    padding: 80px 40px;
    text-align: center;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-label::before,
.contact-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 0.5px;
    background: var(--border-strong);
}

.contact-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--or-pale);
    margin-bottom: 8px;
    line-height: normal;
}

.contact-phone {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--or);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.contact-phone:hover {
    color: var(--or-light);
}

.contact-email {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--or);
}

.contact-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

footer {
    padding: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-top: 0.5px solid var(--border);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 300;
    color: var(--or-pale);
}

.footer-logo span {
    color: var(--or);
}

.footer-note {
    font-size: 11px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ── CONFIGURATEUR ── */
#configurateur {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
}

#configurateur.open {
    display: flex;
}

.config-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 12, 8, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.config-panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: var(--noir-mid);
    border-left: 0.5px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.config-header {
    padding: 32px 36px 24px;
    border-bottom: 0.5px solid var(--border);
    flex-shrink: 0;
}

.config-close {
    position: absolute;
    top: 28px;
    right: 36px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color 0.2s;
    line-height: 1;
}

.config-close:hover {
    color: var(--or);
}

.config-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 8px;
}

.config-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 300;
    color: var(--or-pale);
}

.config-step-bar {
    display: flex;
    gap: 0;
    margin-top: 20px;
}

.csb-step {
    flex: 1;
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted);
    border: 0.5px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    margin-right: -0.5px;
}

.csb-step.active {
    background: var(--or);
    color: var(--or-pale);
    border-color: var(--or);
}

.csb-step.done {
    color: var(--or);
    border-color: var(--border-strong);
}

.config-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px 36px;
    min-height: 0;
}

.config-body::-webkit-scrollbar {
    width: 4px;
}

.config-body::-webkit-scrollbar-thumb {
    background: var(--border-strong);
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-title {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.formule-choice-cards {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 28px;
}

.fcc {
    background: var(--noir-soft);
    border: 0.5px solid var(--border);
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcc:hover {
    border-color: var(--border-strong);
}

.fcc.selected {
    border-color: var(--or);
    background: rgba(196, 114, 74, 0.08);
}

.fcc-name {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 4px;
}

.fcc-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 300;
    color: var(--or-pale);
    margin-bottom: 2px;
}

.fcc-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.fcc-price {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 300;
    color: var(--or);
}

.fcc-unit {
    font-size: 10px;
    color: var(--text-muted);
    text-align: right;
}

.menu-section {
    margin-bottom: 32px;
}

.ms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid var(--border);
}

.ms-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or);
}

.ms-count {
    font-size: 11px;
    color: var(--or-pale);
    font-weight: 600;
}

/* ── MENU ITEM ── */
.menu-item {
    background: var(--noir-soft);
    border: 0.5px solid var(--border);
    margin-bottom: 2px;
    cursor: pointer;
    transition: border-color 0.2s;
    overflow: hidden;
}

.menu-item:hover {
    border-color: var(--border-strong);
}

.menu-item.selected {
    border-color: var(--or);
    background: rgba(196, 114, 74, 0.06);
}

.menu-item.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.menu-item.opt-selected {
    border-color: var(--or);
    background: rgba(196, 114, 74, 0.06);
}

.menu-item.opt-selected .mi-check {
    background: var(--or);
    border-color: var(--or);
}

.menu-item.opt-selected .mi-checkmark {
    display: block;
}

/* Ligne principale — c'est elle qui reçoit le clic */
.mi-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.mi-check {
    width: 16px;
    height: 16px;
    border: 0.5px solid var(--border-strong);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.menu-item.selected .mi-check {
    background: var(--or);
    border-color: var(--or);
}

.mi-checkmark {
    color: var(--noir);
    font-size: 10px;
    display: none;
}

.menu-item.selected .mi-checkmark {
    display: block;
}

.mi-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.4;
}

.mi-sub {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

/* ── VARIANTES ── */
.mi-variants {
    display: none;
    padding: 2px 16px 12px 44px;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.menu-item.selected .mi-variants {
    display: flex;
}

.var-label {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    width: 100%;
    margin-top: 4px;
    margin-bottom: 2px;
}

.var-pill {
    font-size: 11px;
    padding: 5px 13px;
    border: 0.5px solid var(--border-strong);
    color: var(--text-soft);
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-body);
    border-radius: 0;
}

.var-pill:hover {
    border-color: var(--or);
    color: var(--or-pale);
}

.var-pill.active {
    background: var(--or);
    color: var(--noir);
    border-color: var(--or);
    font-weight: 400;
}

/* RECAP */
.recap-formule {
    background: var(--noir-soft);
    border: 0.5px solid var(--border-strong);
    padding: 24px;
    margin-bottom: 24px;
}

.rf-name {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 6px;
}

.rf-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 300;
    color: var(--or-pale);
}

.rf-price {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--or);
    margin-top: 4px;
}

.recap-section {
    margin-bottom: 20px;
}

.rs-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 0.5px solid var(--border);
}

.rs-item {
    font-size: 14px;
    color: var(--text-soft);
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}
.rs-item-content {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    flex: 1;
}

.rs-name {
    font-size: 13px;
    color: var(--text-soft);
}

    .rs-variant {
    font-size: 11px;
    color: var(--or);
    white-space: nowrap;
    flex-shrink: 0;
    }

.rs-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--or);
    flex-shrink: 0;
    margin-top: 8px;
}

.rs-variant {
    font-size: 14px;
    color: var(--or);
    white-space: nowrap;
}

.rs-empty {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.recap-convives {
    margin-bottom: 24px;
}

.rc-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.convives-input {
    display: flex;
    align-items: center;
    width: 160px;
}
/* ── BREAKDOWN BUDGET ────────────────────────────────────── */

.recap-breakdown-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 7px 0;
border-bottom: 0.5px solid var(--border);
}

.recap-breakdown-row:last-of-type {
border-bottom: none;
}

.recap-breakdown-row span:first-child {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--text-muted);
}

.recap-breakdown-row span:first-child i {
font-size: 16px;
color: var(--or);
flex-shrink: 0;
}

.recap-breakdown-row span:last-child {
font-family: var(--font-display);
font-size: 18px;
color: var(--or-pale);
white-space: nowrap;
padding-left: 12px;
}

.recap-breakdown-title {
font-size: 12px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--or);
width: 100%;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 0.5px solid var(--border);
}

.conv-btn {
    width: 36px;
    height: 36px;
    background: var(--noir-soft);
    border: 0.5px solid var(--border);
    color: var(--or-pale);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: var(--font-body);
    transition: background 0.2s;
}

.conv-btn:hover {
    background: var(--or-muted);
}

.conv-val {
    flex: 1;
    text-align: center;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--or-pale);
    background: var(--noir-soft);
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-estimate {
    background: linear-gradient(135deg, rgba(196, 114, 74, 0.12), rgba(196, 114, 74, 0.05));
    border: 0.5px solid var(--border-strong);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pe-label {
    font-size: 12px;
    color: var(--text-muted);
}

.pe-total {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--or);
    line-height: 1;
    position: relative;
    top: -5px;
}

.pe-note {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.config-footer {
    padding: 20px 36px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-top: 0.5px solid var(--border);
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: var(--noir-mid);
}

.btn-nav {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 0.5px solid var(--border-strong);
    background: transparent;
    color: var(--or-pale);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.btn-nav:hover {
    border-color: var(--or);
    color: var(--or);
}

.btn-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-nav.primary {
    background: var(--or);
    color: var(--or-pale);
    border-color: var(--or);
}

.btn-nav.primary:hover {
    background: var(--or-light);
}

.config-progress {
    font-size: 11px;
    color: var(--text-muted);
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section {
        padding: 64px 20px;
    }

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

    .formule-col {
        border-right: none;
        border-bottom: 0.5px solid var(--border);
    }

    .formule-col:last-child {
        border-bottom: none;
    }

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

    .service-item:nth-child(2n) {
        border-right: none;
    }

    .service-item:nth-child(3n) {
        border-right: 0.5px solid var(--border);
    }

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

    .option-card.full {
        grid-column: 1;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .config-panel {
        width: 100vw;
        border-left: none;
    }

    .config-header {
        padding: 24px 20px 20px;
    }

    .config-body {
        padding: 24px 20px;
    }

    .config-footer {
        padding: 16px 20px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-right: none !important;
    }
}
.recap-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 0.5px solid var(--border);
}
#modal-feedback.open {
display: flex;
}
/* ── Champ ville ─────────────────────────────────────────── */
#champ-ville {
margin-top: 10px;
position: relative;
}

#champ-ville-label {
display: flex;
align-items: center;
gap: 8px;
font-size: 10px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--or);
margin-bottom: 8px;
animation: pulse-label 2s ease-in-out infinite;
}

#champ-ville-label i {
font-size: 14px;
}

@keyframes pulse-label {
0%, 100% { opacity: 1; }
50%       { opacity: 0.55; }
}

#input-ville {
width: 100%;
background: var(--noir-soft);
border: 0.5px solid var(--or-pale);
color: var(--or-pale);
font-family: var(--font-body);
font-size: 12px;
padding: 11px 14px;
outline: none;
transition: border-color .2s, box-shadow .2s;
box-sizing: border-box;
box-shadow: 0 0 0 3px rgba(184,130,30,0.08);
}

#input-ville:focus {
border-color: var(--or);
box-shadow: 0 0 0 3px rgba(184,130,30,0.18);
}

#input-ville::placeholder {
color: rgba(245,237,216,0.35);
font-style: italic;
}

#ville-suggestions {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--noir-mid);
border: 0.5px solid var(--border-strong);
border-top: none;
z-index: 999;
max-height: 200px;
overflow-y: auto;
}

#ville-result {
display: none;
margin-top: 8px;
padding: 10px 14px;
background: var(--noir-soft);
border: 0.5px solid var(--border-strong);
font-size: 12px;
color: var(--text-soft);
line-height: 1.7;
}