/* Harmonie Active — site one-page + wizard de réservation
   Direction "pro & dynamique" : fond clair, navy sérieux, touches d'ambre.
   Typo : Archivo Black (titres) + Manrope (corps). */

:root {
  --background: hsl(210 40% 97%);
  --background-soft: hsl(210 35% 94%);
  --foreground: hsl(215 45% 14%);
  --card: hsl(0 0% 100%);
  --card-soft: hsl(210 40% 96%);
  --primary: hsl(215 60% 24%);
  --primary-strong: hsl(215 65% 17%);
  --primary-foreground: hsl(0 0% 100%);
  --accent: hsl(28 90% 52%);
  --accent-soft: hsl(32 95% 60%);
  --muted: hsl(215 25% 90%);
  --muted-foreground: hsl(215 20% 42%);
  --border: hsl(215 25% 86%);
  --danger: hsl(0 70% 48%);
  --radius: 1rem;
  --shadow-soft: 0 2px 10px hsl(215 45% 20% / .06), 0 8px 28px hsl(215 45% 20% / .07);
  --shadow-pop: 0 10px 30px hsl(215 45% 20% / .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.55;
  background-image:
    radial-gradient(ellipse 85% 45% at 50% -10%, hsl(215 60% 30% / .05), transparent),
    radial-gradient(ellipse 50% 30% at 95% 0%, hsl(28 90% 52% / .05), transparent);
}

h1, h2, .font-heading { font-family: 'Archivo Black', Manrope, sans-serif; font-weight: 400; letter-spacing: -.01em; }
img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.container-narrow { max-width: 760px; }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(0 0% 100% / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }
.site-header-inner {
  max-width: 1080px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 46px; height: auto; }
.brand-name { font-family: 'Archivo Black', sans-serif; font-size: 1.02rem; color: var(--primary); letter-spacing: -.01em; }
.brand-accent { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); }
.site-nav a { text-decoration: none; color: var(--muted-foreground); font-weight: 700; font-size: .88rem; transition: color .2s; }
.site-nav a:hover { color: var(--primary); }
.site-nav .nav-cta {
  background: var(--accent); color: hsl(0 0% 100%);
  padding: 9px 20px; border-radius: 999px; font-weight: 800;
  box-shadow: 0 4px 14px hsl(28 90% 52% / .3);
}
.site-nav .nav-cta:hover { background: var(--accent-soft); color: hsl(0 0% 100%); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--primary); border-radius: 2px; margin: 5px 0; transition: all .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: hsl(0 0% 100%); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 14px;
    box-shadow: var(--shadow-pop);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 24px; font-size: .95rem; }
  .site-nav .nav-cta { margin: 10px 24px 0; text-align: center; }
  .burger { display: block; }
}

/* ═══════════ HERO ═══════════ */
.hero { padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 7vw, 72px); text-align: center; }
.hero-inner { max-width: 820px; }
.hero-logo { width: clamp(190px, 30vw, 320px); height: auto; margin-bottom: 6px; }
.hero-eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .28em; text-transform: uppercase; font-size: .72rem; margin-bottom: 10px; }
.hero-title {
  font-size: clamp(2.1rem, 7vw, 4.2rem); line-height: 1.08; color: var(--primary);
  margin-bottom: 18px;
}
.hero-sub { color: var(--muted-foreground); font-size: clamp(.95rem, 2.4vw, 1.15rem); margin-bottom: 28px; }
.br-desktop { display: none; }
@media (min-width: 640px) { .br-desktop { display: inline; } }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hero-badge {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: hsl(0 0% 100%); font-weight: 800; font-size: .95rem;
  padding: 10px 22px; border-radius: 999px; box-shadow: 0 6px 20px hsl(28 90% 52% / .3);
}
.hero-note { margin-top: 22px; color: var(--muted-foreground); font-size: .82rem; }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: clamp(52px, 8vw, 88px) 0; }
.section-tinted { background: var(--background-soft); }
.section-title {
  font-size: clamp(1.6rem, 4.6vw, 2.5rem); color: var(--primary);
  text-align: center; margin-bottom: 10px;
}
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted-foreground); max-width: 640px; margin: 0 auto clamp(28px, 5vw, 44px); font-size: .98rem; }
.center-badge {
  display: table; margin: -12px auto clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: hsl(0 0% 100%); font-weight: 800; font-size: .85rem;
  padding: 8px 18px; border-radius: 999px;
}

/* ═══════════ ABOUT ═══════════ */
.about-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: 1.25rem;
  padding: clamp(22px, 5vw, 44px); box-shadow: var(--shadow-soft);
  display: grid; gap: 14px; font-size: .97rem;
}
.about-card strong { color: var(--primary); }
.about-sign { color: var(--muted-foreground); font-size: .85rem; padding-top: 6px; }

/* ═══════════ FEATURE CARDS ═══════════ */
.feature-grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-pop); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: hsl(28 90% 52% / .12); font-size: 1.35rem; margin-bottom: 12px;
}
.feature-card h3 { font-size: 1.02rem; color: var(--primary); margin-bottom: 6px; }
.feature-card p { font-size: .87rem; color: var(--muted-foreground); }

/* ═══════════ TARIFS ═══════════ */
.tarifs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 820px; margin: 0 auto 26px;
}
@media (max-width: 700px) { .tarifs-grid { grid-template-columns: 1fr; } }
.tarif-col {
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-soft);
}
.tarif-col h3 { color: var(--accent); font-size: 1.15rem; margin-bottom: 14px; }
.tarif-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: .95rem;
}
.tarif-row:last-child { border-bottom: none; }
.tarif-row strong { color: var(--primary); font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.05rem; white-space: nowrap; }
.tarifs-cta { text-align: center; }

/* ═══════════ TÉMOIGNAGES ═══════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 940px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px;
}
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.review-card p { font-size: .88rem; color: hsl(215 20% 30%); font-style: italic; flex: 1; }
.review-author { font-weight: 800; font-size: .85rem; color: var(--primary); }
.review-author span { color: var(--muted-foreground); font-weight: 600; }

/* ═══════════ CONTACT ═══════════ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 56px); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block { margin-bottom: 22px; }
.contact-block h3 { font-size: .95rem; color: var(--primary); margin-bottom: 6px; }
.contact-block p { font-size: .9rem; color: hsl(215 20% 30%); }
.contact-muted { color: var(--muted-foreground); font-size: .82rem; }
.contact-muted.small { margin-top: 8px; }
.contact-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-soft); margin-bottom: 16px;
}
.contact-card h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p { font-size: .9rem; color: var(--muted-foreground); margin-bottom: 14px; }
.contact-social h3 { color: var(--accent); }

.pill {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: hsl(215 60% 24% / .07); color: var(--primary);
  font-weight: 800; font-size: .85rem; text-decoration: none;
  border: 1.5px solid hsl(215 60% 24% / .15); transition: all .2s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.salon-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══════════ SALON NOTE (dans réservation) ═══════════ */
.salon-note {
  margin-top: 30px; text-align: center;
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-soft);
}
.salon-note h3 { color: var(--primary); font-size: 1.02rem; margin-bottom: 6px; }
.salon-note p { font-size: .9rem; color: var(--muted-foreground); margin-bottom: 14px; }

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  text-align: center; padding: 40px 16px 46px;
  border-top: 1px solid var(--border); background: var(--background-soft);
}
.footer-logo { width: 64px; height: auto; margin-bottom: 10px; }
.footer-name { font-family: 'Archivo Black', sans-serif; font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.footer-name span { display: block; font-family: Manrope, sans-serif; font-weight: 700; font-size: .78rem; color: var(--muted-foreground); margin-top: 2px; }
.footer-line { font-size: .8rem; color: var(--muted-foreground); margin-bottom: 6px; }
.footer-demo { font-size: .72rem; color: var(--muted-foreground); opacity: .75; }

/* ═══════════ BOUTONS ═══════════ */
.btn {
  font-family: inherit; font-size: .95rem; font-weight: 800;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  transition: all .2s; border: 1.5px solid transparent; text-decoration: none; display: inline-block;
}
.btn-primary {
  background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-pop);
}
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); }
.btn-primary:disabled { opacity: .35; cursor: default; box-shadow: none; transform: none; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-ghost { background: var(--card); color: var(--muted-foreground); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn-ghost:hover:not(:disabled) { color: var(--primary); border-color: var(--primary); }
.btn-ghost:disabled { opacity: .3; cursor: default; }

/* ═══════════ WIZARD (intégré) ═══════════ */
.wizard-embed {
  background: var(--card); border: 1.5px solid var(--border); border-radius: 1.25rem;
  padding: clamp(18px, 4vw, 32px); box-shadow: var(--shadow-soft);
}

.steps { display: flex; justify-content: space-between; gap: 4px; list-style: none; margin: 4px 0 26px; }
.steps li { flex: 1; text-align: center; color: var(--muted-foreground); font-size: .72rem; font-weight: 700; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--border); margin-bottom: 5px;
  font-weight: 800; background: var(--card-soft); transition: all .3s;
}
.steps li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: -1; }
.steps li:first-child::before { display: none; }
.steps li.is-active { color: var(--accent); }
.steps li.is-active .step-num {
  background: var(--accent); color: hsl(0 0% 100%);
  border-color: var(--accent); box-shadow: 0 0 0 4px hsl(28 90% 52% / .18);
}
.steps li.is-done .step-num { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
@media (max-width: 480px) { .step-label { display: none; } }

.panel { display: none; animation: fadeUp .4s ease both; }
.panel.is-visible { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-title { font-size: clamp(1.3rem, 4vw, 1.7rem); color: var(--primary); margin-bottom: 6px; line-height: 1.2; }
.panel-sub { color: var(--muted-foreground); font-size: .92rem; margin-bottom: 22px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cards-row { grid-template-columns: 1fr; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  text-align: left; cursor: pointer;
  background: var(--card-soft); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; color: var(--foreground);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  font-family: inherit; font-size: .95rem;
}
.card:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 28px hsl(28 90% 52% / .16); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card.is-selected {
  border-color: var(--accent); border-width: 2.5px; padding: 14px 17px;
  background: linear-gradient(160deg, hsl(32 100% 97%), var(--card));
  box-shadow: 0 0 0 4px hsl(28 90% 52% / .12);
}
.card:disabled { opacity: .5; cursor: default; }
.card-name { display: block; font-weight: 800; margin-bottom: 2px; }
.card-cat { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.card-price { font-weight: 800; color: var(--primary); font-size: 1.2rem; }
.card-duration { font-size: .78rem; color: var(--muted-foreground); margin-left: 8px; font-weight: 600; }

.offer-badge {
  display: block; text-align: center; margin-top: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: hsl(0 0% 100%); font-weight: 800; font-size: .88rem;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 6px 20px hsl(28 90% 52% / .3);
}
.zone-note { font-size: .82rem; font-weight: 700; color: var(--accent); margin: 10px 2px 0; min-height: 1.2em; }

.field-label { font-weight: 800; font-size: .9rem; margin: 18px 0 10px; }
.calendar-block { margin-top: 8px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font-family: 'Archivo Black', sans-serif; font-size: 1rem; text-transform: capitalize; color: var(--primary); }
.cal-nav {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--card-soft); color: var(--primary); border: 1.5px solid var(--border);
  font-size: 1.25rem; font-weight: 800; cursor: pointer; transition: all .2s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-1px); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { text-align: center; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-foreground); margin-bottom: 6px; }
.cal-day {
  aspect-ratio: 1; border-radius: 50%; border: 1.5px solid transparent;
  background: var(--card-soft); color: var(--foreground); font-family: inherit; font-size: .88rem; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.cal-day:hover:not(:disabled) { border-color: var(--accent); }
.cal-day:disabled { opacity: .18; cursor: default; background: transparent; }
.cal-day.is-today { border-color: var(--border); }
.cal-day.is-selected { background: var(--accent); color: hsl(0 0% 100%); font-weight: 800; box-shadow: 0 4px 14px hsl(28 90% 52% / .4); }
.cal-day.is-empty { visibility: hidden; }

.slots-block { margin-top: 22px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot {
  padding: 10px 4px; border-radius: 999px; cursor: pointer;
  background: var(--card-soft); color: var(--foreground); border: 1.5px solid var(--border);
  font-family: inherit; font-size: .88rem; font-weight: 800; transition: all .15s;
}
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot:disabled { opacity: .22; cursor: default; text-decoration: line-through; background: transparent; }
.slot.is-selected { background: var(--accent); color: hsl(0 0% 100%); border-color: var(--accent); box-shadow: 0 4px 14px hsl(28 90% 52% / .4); }
.slots-hint { font-size: .75rem; color: var(--muted-foreground); margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; }
.form-field-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { font-size: .8rem; font-weight: 800; margin-bottom: 6px; color: var(--muted-foreground); }
.form-field input, .form-field textarea {
  background: var(--card-soft); border: 1.5px solid var(--border); border-radius: .65rem;
  color: var(--foreground); font-family: inherit; font-size: .95rem; font-weight: 600;
  padding: 11px 13px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px hsl(28 90% 52% / .16); }
.form-field input.is-invalid { border-color: var(--danger); }
.field-error { font-size: .72rem; color: var(--danger); margin-top: 4px; display: none; }
.form-field.has-error .field-error { display: block; }

/* Opt-in newsletter */
.checkbox-field { margin-top: 4px; }
.checkbox-label {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 600; font-size: .82rem; color: var(--muted-foreground);
  cursor: pointer; line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--accent); cursor: pointer;
}

.recap {
  background: var(--card-soft); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 22px;
}
.recap-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .92rem; border-bottom: 1px dashed var(--border); }
.recap-row:last-child { border-bottom: none; }
.recap-key { color: var(--muted-foreground); flex-shrink: 0; font-weight: 600; }
.recap-val { text-align: right; font-weight: 800; }
.recap-val.gold { color: var(--primary); font-size: 1.08rem; }
.recap-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.no-show-note { font-size: .78rem; color: var(--muted-foreground); margin-top: 18px; line-height: 1.5; }

.success-icon {
  width: 68px; height: 68px; margin: 6px auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: hsl(0 0% 100%); font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px hsl(28 90% 52% / .4);
  animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
#success-view { text-align: center; }
#success-view .recap { text-align: left; border-color: hsl(28 90% 52% / .5); }
#success-view .btn-ghost { margin-top: 6px; }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wizard-nav .btn { min-width: 130px; }
.wizard-nav.hidden-nav { display: none; }
