/* ============================================================
   COIFFURE E.Y — Feuille de style principale
   Identité : noir & or (coiffeur homme / barbier).
   Typo : Cormorant Garamond (titres) + Manrope (texte).
   ============================================================ */

:root {
  color-scheme: only dark;
  --bg: #100E0C;
  --bg-alt: #1A1512;
  --ink: #F3ECE0;
  --ink-soft: #C7BDAE;
  --cream: #F7F1E6;
  --accent: #C9A24B;          /* or */
  --accent-dark: #E2C173;     /* or clair (survol, prix) */
  --accent-soft: rgba(201, 162, 75, .16);
  --on-accent: #14110D;       /* texte sur bouton or */
  --gold: #C9A24B;
  --gold-ink: #E2C173;
  --gold-light: #E2C173;
  --sage: #9DB58A;
  --white: #1E1916;           /* surface des cartes */
  --field: #211B17;
  --line: rgba(201, 162, 75, .18);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 46px rgba(0, 0, 0, .55);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .4);
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button, .btn, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
code { background: var(--bg-alt); padding: .1em .35em; border-radius: 6px; font-size: .9em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .2em;
  font-size: .76rem; font-weight: 700; color: var(--gold-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.9rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; font-family: var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: var(--transition); min-height: 48px;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); color: var(--on-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--accent); color: var(--on-accent); }
.btn-gold:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--accent); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 14, 12, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.logo-img { width: 52px; height: 46px; object-fit: contain; flex: 0 0 auto; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.logo-text strong { font-weight: 700; color: var(--accent); }
.logo { color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink);
  padding: .4rem 0; border-bottom: 1.5px solid transparent; transition: var(--transition);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-links .btn { padding: .6rem 1.4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .65rem; min-width: 48px; min-height: 48px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(580px, calc(100svh - var(--header-height)), 880px);
  display: flex; align-items: center; color: var(--cream); overflow: hidden; background: #0A0908;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10, 9, 8, .94) 0%, rgba(10, 9, 8, .72) 45%, rgba(10, 9, 8, .30) 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 3rem 0; }
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 { color: var(--cream); }
.hero-content h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-content p { color: rgba(255, 255, 255, .86); font-size: 1.12rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero .btn-outline { border-color: rgba(247,241,230,.72); color: var(--cream); }
.hero .btn-outline:hover { background: var(--cream); color: var(--on-accent); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.hero-facts li { color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #0A0908; color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(255,255,255,.8); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- En-têtes de pages ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--cream);
  padding: clamp(4.2rem, 9vw, 7.5rem) 0 clamp(3.4rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 86% 20%, rgba(201, 162, 75, .20), transparent 26rem),
    linear-gradient(135deg, #0A0908 0%, #1E1916 100%);
}
.page-hero::after {
  content: ""; position: absolute; width: 28rem; height: 28rem; right: -10rem; bottom: -17rem;
  border: 1px solid rgba(201,162,75,.22); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(201,162,75,.03);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16ch; color: var(--cream); }
.page-hero p { max-width: 60ch; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-light); }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--line);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card.static:hover { transform: none; box-shadow: var(--shadow-sm); }
}

/* Univers (Femme / Homme / Enfant / Produits) */
.universe-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.universe-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.universe-card .u-body { padding: 1.5rem 1.6rem 1.7rem; }
.universe-card h3 { margin-bottom: .35rem; }
.universe-card .u-from { font-weight: 700; color: var(--accent); font-size: .92rem; }

/* Cartes service */
.service-card .service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.service-card h3 { font-size: 1.4rem; }
.service-card .price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.service-card .duration {
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--ink-soft);
  background: var(--bg-alt); border-radius: 999px; padding: .25rem .8rem; margin-top: .4rem;
}

/* Tableau services */
.service-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.service-table th, .service-table td { padding: 1.05rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink); }
.service-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); background: #251F1A; }
.service-table td:nth-child(2) { color: var(--ink-soft); }
.service-table td.price-cell { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.service-table tr:last-child td { border-bottom: 0; }
.cat-title { margin-top: 3.2rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.cat-title small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.price-note { font-size: .9rem; margin-top: 1.4rem; }

/* ---------- Split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.split-media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 1.5px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 800; margin-top: .1rem;
}

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.2rem; }
.filter-btn {
  padding: .55rem 1.3rem; border-radius: 999px; border: 1.5px solid rgba(201,162,75,.38); background: transparent;
  font-weight: 600; font-size: .9rem; cursor: pointer; transition: var(--transition); min-height: 46px;
  font-family: var(--font-body); color: var(--ink);
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; margin: 0; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0; padding: 2.4rem 1.2rem .9rem;
  background: linear-gradient(transparent, rgba(10, 9, 8, .85)); color: var(--cream); font-size: .9rem; font-weight: 600;
}
.gallery-item.hidden { display: none; }

/* ---------- Équipe ---------- */
.team-card { text-align: center; padding: 0; overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #0A0908; }
.team-card .team-body { padding: 1.6rem; }
.team-card .role { color: var(--gold-ink); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Avis ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none;
}
.rating-badge .score { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--accent); line-height: 1; }
.rating-badge .stars { color: var(--gold); letter-spacing: .1em; }
.rating-badge small { color: var(--ink-soft); font-weight: 600; }
.review-card .stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .8rem; }
.review-card .quote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; color: var(--ink); font-style: italic; }
.review-card .author { font-weight: 700; color: var(--ink); margin: 0; font-size: .92rem; }
.review-card .src { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Localisation & horaires ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 400px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
.info-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: stretch; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .6rem 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.hours-table .closed td:last-child { color: var(--gold-ink); }
.hours-table tr.today td { color: var(--accent); }
.hours-table tr.today td:first-child::after { content: " · aujourd'hui"; font-size: .8rem; font-weight: 600; color: var(--sage); }
.contact-lines { display: grid; gap: .4rem; margin: 0 0 1rem; }
.contact-lines a { font-weight: 700; color: var(--accent); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 860px; }
.faq-list details { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 0 1.3rem; border: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; padding: 1.15rem 2rem 1.15rem 0; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--gold-ink); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 1.1rem; }

/* ---------- Produits ---------- */
.product-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.product-band figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.product-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: #0A0908; color: rgba(247,241,230,.72); padding: 4.5rem 0 2rem; }
.site-footer h4 { color: var(--cream); font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer p { color: rgba(255,255,255,.72); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-logo .logo-text { color: var(--cream); }
.footer-logo .logo-text strong { color: var(--gold-light); }
.footer-logo-img { width: 210px; height: auto; margin-bottom: 1rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(201,162,75,.18);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.15rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(201,162,75,.3);
  background: var(--field); font-family: var(--font-body); font-size: 1rem; color: var(--ink); transition: var(--transition);
  min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* ---------- Réservation : étapes ---------- */
.steps-bar { display: flex; gap: .4rem; margin: 2rem 0 2.8rem; }
.steps-bar .step-dot { flex: 1; height: 5px; border-radius: 99px; background: rgba(247,241,230,.16); transition: var(--transition); }
.steps-bar .step-dot.done { background: var(--accent); }
.step-panel { display: none; animation: fadeUp .4s ease both; }
.step-panel.active { display: block; }
.step-panel > h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.choice-cat { grid-column: 1 / -1; margin: 1.2rem 0 0; font-family: var(--font-display); font-size: 1.5rem; }
.choice-card {
  text-align: left; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition);
  font-family: var(--font-body); color: var(--ink);
}
.choice-card:hover { transform: translateY(-3px); border-color: rgba(201,162,75,.5); }
.choice-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.choice-card .c-title { font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: .8rem; }
.choice-card .c-meta { display: block; font-size: .86rem; color: var(--ink-soft); margin-top: .3rem; }
.choice-card .c-price { color: var(--accent-dark); font-weight: 800; white-space: nowrap; }
.staff-choice { display: flex; align-items: center; gap: 1rem; }
.staff-choice img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #0A0908; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h3 { margin: 0; text-transform: capitalize; }
.cal-nav { display: flex; gap: .5rem; }
.cal-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(201,162,75,.42);
  background: var(--field); cursor: pointer; font-size: 1.1rem; transition: var(--transition); color: var(--ink);
}
.cal-nav button:hover:not([disabled]) { background: var(--accent); color: var(--on-accent); }
.cal-nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; }
.cal-grid .dow { text-align: center; font-size: .78rem; font-weight: 800; color: var(--ink); opacity: .7; text-transform: uppercase; padding: .4rem 0; }
.cal-day {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid rgba(201,162,75,.32); background: var(--field); color: var(--ink);
  font-family: var(--font-body); font-size: .95rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.cal-day:hover:not([disabled]) { background: var(--accent-soft); border-color: var(--accent); }
.cal-day[disabled] { background: rgba(247,241,230,.04); box-shadow: none; color: rgba(243,236,224,.38); border-color: rgba(247,241,230,.1); cursor: not-allowed; text-decoration: line-through; }
.cal-day.selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cal-day.empty { visibility: hidden; }

.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .7rem; margin-top: 1.6rem; }
.slot-btn {
  padding: .8rem .4rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(201,162,75,.34); background: var(--field);
  color: var(--ink); font-weight: 700; font-size: .95rem; cursor: pointer; transition: var(--transition);
  font-family: var(--font-body); min-height: 48px;
}
.slot-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.slot-btn.selected { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.recap-box { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.recap-box dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; margin: 0; }
.recap-box dt { font-weight: 700; color: var(--ink-soft); }
.recap-box dd { margin: 0; font-weight: 600; }

.step-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; }
.alert { padding: 1rem 1.3rem; border-radius: var(--radius-sm); font-weight: 500; margin: 1rem 0; }
.alert-error { background: rgba(147,48,15,.32); color: #FFD7C8; }
.alert-info { background: var(--accent-soft); color: var(--accent-dark); }
.alert-info a { color: var(--accent-dark); }
.alert-success { background: rgba(125,139,111,.24); color: #DDECD0; }

.success-panel { text-align: center; padding: 3rem 1rem; }
.success-panel .check {
  width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; margin-bottom: 1.4rem;
}
.live-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; color: var(--sage); }
.live-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); animation: pulse 1.8s infinite; }
.live-badge[hidden] { display: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Bandeau CTA ---------- */
.cta-band { background: linear-gradient(135deg, #0A0908 0%, #211B17 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: "E.Y"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(10rem, 30vw, 22rem);
  color: rgba(201,162,75,.06); line-height: 1; pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(255,255,255,.85); font-weight: 500; }
.cta-band .eyebrow { color: var(--gold-light); }

/* ---------- Application client (PWA) ---------- */
.app-promo-section { background: linear-gradient(135deg, #0A0908 0%, #211B17 100%); }
.app-promo-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2.5rem; align-items: center; max-width: 900px; color: var(--cream); }
.app-promo-card img { width: 180px; height: 180px; border-radius: 38px; box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.app-promo-card h2 { color: var(--cream); margin-bottom: .8rem; }
.app-promo-card p { color: rgba(255,255,255,.8); max-width: 620px; }
.app-promo-card .eyebrow { color: var(--gold-light); }
.install-page { min-height: 70vh; padding: 4rem 0; }
.install-shell { max-width: 760px; margin: 0 auto; text-align: center; }
.install-app-icon { width: 132px; height: 132px; border-radius: 30px; display: block; margin: 0 auto 1.5rem; box-shadow: 0 18px 45px rgba(0,0,0,.45); }
.install-shell h1 { margin-bottom: .8rem; }
.install-shell .eyebrow { justify-content: center; }
.install-lead { max-width: 590px; margin: 0 auto 2rem; font-size: 1.08rem; }
.install-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.install-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.install-platforms .card { height: 100%; }
.install-platforms h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.install-steps { margin: 0; padding-left: 1.25rem; }
.install-steps li { margin: .55rem 0; color: var(--ink-soft); }
.install-status { min-height: 1.5rem; margin: 1rem 0; font-weight: 700; color: var(--accent); }
.install-note { padding: 1rem; border-radius: 12px; background: var(--accent-soft); }
.install-help { margin: 1rem auto 2rem; max-width: 620px; }
.install-help p { margin: .7rem 0; }
.install-help .btn { display: inline-flex; margin: .35rem 0; }
[data-install-button][hidden], [data-installed][hidden], [hidden] { display: none !important; }

/* ---------- Pages légales / texte ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.9rem; margin-top: 2.4rem; }
.prose ul { color: var(--ink-soft); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.legal-table th, .legal-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { width: 38%; color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-split { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-height) 0 auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto;
    flex-direction: column; align-items: stretch; background: rgba(16,14,12,.98);
    padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1.5rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); gap: .15rem;
    box-shadow: var(--shadow); transform: translateY(calc(-100% - var(--header-height))); visibility: hidden;
    transition: transform .3s ease; z-index: 99;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: .8rem; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media::before { inset: 1rem -.6rem -1rem 1rem; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .choice-grid, .product-band { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav .btn { width: 100%; }
  .card { padding: 1.4rem; }
  .recap-box dl { grid-template-columns: 1fr; gap: .15rem; }
  .recap-box dd { margin-bottom: .65rem; }
  .install-platforms { grid-template-columns: 1fr; }
  .app-promo-card { grid-template-columns: 1fr; text-align: center; gap: 1.4rem; }
  .app-promo-card img { width: 132px; height: 132px; border-radius: 28px; margin: 0 auto; }
  .app-promo-card .eyebrow { justify-content: center; }
  .logo-text { font-size: 1.3rem; }
  .logo-img { width: 44px; height: 40px; }

  /* Tarifs en cartes, sans défilement horizontal */
  .service-table { display: grid; gap: .8rem; overflow: visible; background: transparent; box-shadow: none; border: 0; border-radius: 0; }
  .service-table thead { display: none; }
  .service-table tbody { display: grid; gap: .8rem; }
  .service-table tr { display: grid; gap: .2rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
  .service-table td { display: grid; grid-template-columns: minmax(5.8rem, 32%) 1fr; gap: .75rem; padding: .3rem 0; border-bottom: 0; }
  .service-table td::before { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 800; }
  .service-table td:nth-child(1)::before { content: "Prestation"; }
  .service-table td:nth-child(2)::before { content: "Détail"; }
  .service-table td:nth-child(3)::before { content: "Durée"; }
  .service-table td:nth-child(4)::before { content: "Prix"; }
}

@media (max-width: 420px) {
  body { font-size: 15px; }
  .container { width: min(100% - 1.2rem, 1180px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
  .slots-grid { grid-template-columns: 1fr 1fr; }
  .logo-text { font-size: 1.15rem; }
}

@media (min-width: 1920px) {
  body { font-size: 18px; }
  .container { width: min(1500px, 88%); }
}

.btn:focus-visible, .slot-btn:focus-visible, .cal-day:focus-visible, .choice-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media print {
  .site-header, .site-footer, .hero-actions, .filters, .nav-toggle { display: none; }
}
