/* ==========================================================================
   Maison du Tango — feuille de style
   Titres : Cormorant Garamond · Texte : Jost
   ========================================================================== */

:root {
  --bg: #0d0908;
  --bg-2: #151010;
  --bg-3: #1d1513;
  --brown: #241915;
  --wine: #4a0f18;
  --burgundy: #6b1824;
  --red: #9e2f35;
  --red-hover: #b73a40;
  --cream: #f1e6d4;
  --text: #e6dccd;
  --muted: #b2a493;
  --dim: #8a7c6d;
  --gold: #c7a36b;
  --line: rgba(241, 230, 212, .14);
  --error: #e58a7f;
  --ok: #9fcf9a;
  --f-title: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-text: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: lining-nums; /* chiffres alignés pour les prix et horaires */
}
img { max-width: 100%; display: block; }
a { color: var(--cream); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
strong, b { font-weight: 500; color: var(--cream); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 {
  font-family: var(--f-title);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 500; }
h2 { font-size: clamp(34px, 4.4vw, 54px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
h4 { font-size: 21px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--f-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.lead { font-size: 18px; color: var(--muted); max-width: 660px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--dim); font-style: italic; }
.ornament { display: block; width: 64px; height: 1px; background: var(--gold); margin: 18px auto 0; opacity: .7; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border: 1px solid var(--red); background: var(--red); color: #fff;
  font-family: var(--f-text); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; border-radius: var(--radius);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn-wine { background: var(--burgundy); border-color: var(--burgundy); }
.btn-wine:hover { background: #82202d; border-color: #82202d; }
.btn-ghost { background: transparent; border-color: rgba(241,230,212,.55); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--bg); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 11.5px; letter-spacing: .12em; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link {
  color: var(--cream); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer;
}
.link:hover { color: var(--gold); }
.link-plain { color: var(--muted); font-size: 14px; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.link-plain:hover { color: var(--cream); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13, 9, 8, .97);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--cream); line-height: 1; }
.logo b { font-family: var(--f-title); font-weight: 500; font-size: 30px; letter-spacing: .02em; color: var(--cream); white-space: nowrap; }
.logo b i { font-style: italic; color: var(--gold); font-weight: 400; }
.logo small { white-space: nowrap; font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--text); text-decoration: none; font-size: 12.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); border-bottom: 2px solid var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--cream); text-decoration: none; }
.cart-link svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 500; line-height: 18px; text-align: center;
}
.cart-count[data-zero] { background: var(--brown); color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--cream); margin: 6px auto; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav a { letter-spacing: .08em; font-size: 12px; }
  .nav .nav-x { display: none; }
}
@media (max-width: 1020px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: block; }
  .header-in { min-height: 66px; }
  .logo b { font-size: 25px; }
  .mobile-nav {
    display: block; position: fixed; inset: 66px 0 0 0; z-index: 59;
    background: var(--bg); padding: 18px var(--gut) 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav-open .mobile-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .mobile-nav a.m-link {
    display: block; padding: 13px 0; border-bottom: 1px solid var(--line);
    font-family: var(--f-title); font-size: 24px; color: var(--cream); text-decoration: none;
  }
  .mobile-nav .btn { margin-top: 22px; width: 100%; }
  .mobile-nav .m-contact { margin-top: 22px; color: var(--muted); font-size: 14px; }
  .mobile-nav .m-contact a { display: block; color: var(--muted); padding: 3px 0; text-decoration: none; }
}

/* ---------- Héros ---------- */
.hero { position: relative; min-height: clamp(560px, 88vh, 820px); display: flex; align-items: center; overflow: hidden; background: var(--bg-2); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; filter: saturate(.92) contrast(1.05); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,9,8,.94) 0%, rgba(13,9,8,.75) 38%, rgba(13,9,8,.25) 70%, rgba(13,9,8,.35) 100%),
              linear-gradient(0deg, rgba(13,9,8,.9) 0%, rgba(13,9,8,0) 30%);
}
.hero-text { position: relative; z-index: 1; max-width: 640px; padding: 70px 0; }
.hero-text h1 { margin-bottom: 18px; }
.hero-text .tagline { font-family: var(--f-text); font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .3em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; font-weight: 400; }
.hero-text p { color: var(--text); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.page-hero { position: relative; min-height: clamp(320px, 46vh, 460px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-2); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,9,8,.96) 5%, rgba(13,9,8,.55) 55%, rgba(13,9,8,.35) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); margin-bottom: 10px; }
.page-hero .lead { color: var(--text); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; letter-spacing: .04em; }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.crumbs span { margin: 0 8px; color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-tight { padding: clamp(46px, 6vw, 76px) 0; }
.bg-2 { background: var(--bg-2); }
.bg-brown { background: linear-gradient(180deg, var(--brown), var(--bg-2)); }
.bg-wine { background: linear-gradient(120deg, var(--wine), #2a0a0f); }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); max-width: 640px; margin: 14px auto 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }

/* ---------- Bandeau avantages ---------- */
.perks { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 34px 22px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk svg { width: 38px; height: 38px; color: var(--cream); }
.perk b { display: block; font-family: var(--f-text); font-size: 15px; font-weight: 400; color: var(--cream); line-height: 1.4; max-width: 180px; }

/* ---------- Cartes danses ---------- */
.dances { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dance { display: block; text-decoration: none; color: var(--cream); background: var(--bg-3); border: 1px solid var(--line); }
.dance-img { aspect-ratio: 4 / 3.6; overflow: hidden; }
.dance-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.dance:hover .dance-img img { transform: scale(1.05); }
.dance-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.dance-bar h3 { font-family: var(--f-text); font-size: 16px; font-weight: 400; letter-spacing: .02em; margin: 0; }
.dance-bar svg { width: 18px; height: 18px; color: var(--red); transition: transform .25s; flex: 0 0 18px; }
.dance:hover .dance-bar svg { transform: translateX(4px); }
.dance-desc { padding: 0 18px 18px; margin: -4px 0 0; font-size: 13.5px; color: var(--muted); }
.see-all { display: inline-flex; align-items: center; gap: 8px; color: var(--red-hover); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; font-weight: 500; }
.see-all svg { width: 16px; height: 16px; }
.see-all:hover { color: var(--cream); }

/* ---------- Bannière (cours particuliers) ---------- */
.banner { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; background: var(--wine); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,10,18,.97) 0%, rgba(74,15,24,.88) 38%, rgba(74,15,24,.25) 72%, rgba(13,9,8,.1) 100%); }
.banner .wrap { position: relative; z-index: 1; }
.banner-text { max-width: 480px; padding: 56px 0; }
.banner-text h2 { margin-bottom: 12px; }
.banner-text p { color: var(--text); font-size: 17px; margin-bottom: 26px; }

/* ---------- Bloc large (pages intérieures) ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 520px; background: var(--bg-2); }
.feature-img { position: relative; overflow: hidden; min-height: 340px; }
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-text { padding: clamp(40px, 6vw, 86px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, var(--brown), var(--bg-2)); }
.feature-text ul { list-style: none; padding: 0; margin: 6px 0 28px; }
.feature-text li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; }
.feature-text li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 1px; background: var(--gold); }
.feature-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.feature.flip .feature-img { order: 2; }

/* ---------- Tarifs (cartes claires, comme la maquette) ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); color: #3a2c26; border: 1px solid var(--cream); padding: 26px 24px 24px; text-align: left;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.45); }
.price-card h3 { font-family: var(--f-text); font-size: 17px; font-weight: 500; color: #1d1412; margin-bottom: 2px; letter-spacing: .01em; }
.price-card .sub { font-size: 13.5px; color: #7a6a5e; }
.price-card .amount { font-family: var(--f-title); font-size: 50px; line-height: 1; color: #1d1412; margin: 18px 0 4px; font-weight: 600; }
.price-card .per { font-size: 12.5px; color: #8a796b; margin-bottom: 12px; }
.price-card p.desc { font-size: 14px; color: #5a4a40; flex: 1; }
.price-card .badge {
  position: absolute; top: 14px; right: 14px; background: var(--burgundy); color: #fff;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px;
}
.card-actions { display: grid; gap: 8px; margin-top: 16px; }
.card-actions .btn { width: 100%; padding: 0 10px; min-height: 44px; font-size: 11.5px; letter-spacing: .12em; }
.card-actions .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-outline-dark { background: transparent; border-color: #3a2c26; color: #1d1412; }
.btn-outline-dark:hover { background: #1d1412; color: var(--cream); border-color: #1d1412; }
.btn-gold { background: #a67c45; border-color: #a67c45; color: #fff; }
.btn-gold:hover { background: #b98d54; border-color: #b98d54; }
.btn-black { background: #120c0b; border-color: #120c0b; color: #fff; }
.btn-black:hover { background: #2b1f1b; border-color: #2b1f1b; }

/* ---------- Professeurs ---------- */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teacher { background: var(--bg-3); border: 1px solid var(--line); }
.teacher-img { aspect-ratio: 4 / 4.6; overflow: hidden; position: relative; }
.teacher-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: filter .4s, transform .8s; }
.teacher:hover .teacher-img img { filter: none; transform: scale(1.03); }
.teacher-body { padding: 20px 20px 22px; text-align: center; }
.teacher-body h3 { font-size: 25px; margin-bottom: 4px; }
.teacher-body .role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0; }
.teacher-body .styles { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.disclaimer { text-align: center; font-size: 12.5px; color: var(--dim); font-style: italic; margin-top: 22px; }
.disclaimer[hidden] { display: none; }

/* ---------- Avis (carrousel) ---------- */
.reviews-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.reviews-wrap h2 { margin: 0; }
.slider { position: relative; background: var(--bg-3); border: 1px solid var(--line); padding: 34px 90px 30px 40px; min-height: 190px; }
.review[hidden] { display: none; }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-family: var(--f-title); font-style: italic; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; color: var(--cream); }
.review blockquote::before { content: "« "; color: var(--red-hover); }
.review blockquote::after { content: " »"; color: var(--red-hover); }
.review .who { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.slider-nav { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.slider-nav button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.slider-nav button:hover { border-color: var(--red); background: var(--red); }
.slider-nav svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 6px; margin-top: 14px; }
.slider-dots span { width: 22px; height: 2px; background: var(--line); }
.slider-dots span.on { background: var(--red); }

/* ---------- Grilles de services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; background: var(--bg-3); border: 1px solid var(--line); scroll-margin-top: 100px; }
.service-img { aspect-ratio: 16 / 10.5; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.service:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 26px; margin-bottom: 8px; }
.service-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.service-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 16px; }
.service-price strong { font-family: var(--f-title); font-size: 34px; font-weight: 500; color: var(--cream); }
.service-price span { font-size: 13px; color: var(--dim); }
.service .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service .btn { padding: 0 10px; }

/* blocs détaillés danses (cours.html) */
.dance-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.dance-row:first-child { border-top: 0; }
.dance-row.flip .dr-img { order: 2; }
.dr-img { aspect-ratio: 4 / 3.3; overflow: hidden; }
.dr-img img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 28px; margin: 18px 0 24px; justify-content: start; }
.facts div { font-size: 13px; color: var(--muted); }
.facts b { display: block; font-family: var(--f-title); font-size: 20px; font-weight: 500; color: var(--cream); }

/* ---------- Planning ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin-bottom: 34px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.filter-group .lbl { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  padding: 8px 15px; font-size: 13px; letter-spacing: .06em; border-radius: 40px; transition: all .2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.schedule { display: grid; gap: 12px; }
.slot {
  display: grid; grid-template-columns: 150px 120px 1fr auto; gap: 18px; align-items: center;
  background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--burgundy); padding: 18px 22px;
}
.slot .day { font-family: var(--f-title); font-size: 24px; color: var(--cream); }
.slot .time { font-size: 20px; color: var(--gold); font-weight: 400; }
.slot h3 { font-size: 24px; margin: 0; }
.slot .meta { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.slot[hidden] { display: none; }
.empty-filter { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); }
.empty-filter[hidden] { display: none; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.today td { color: var(--cream); }
.hours-table tr.today td:first-child::after { content: " · aujourd’hui"; color: var(--gold); font-size: 12px; letter-spacing: .08em; }

/* ---------- Tableau des tarifs ---------- */
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable thead th { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.ptable td.name { font-family: var(--f-title); font-size: 23px; color: var(--cream); }
.ptable td.name small { display: block; font-family: var(--f-text); font-size: 13px; color: var(--muted); }
.ptable td.amount { font-family: var(--f-title); font-size: 28px; color: var(--cream); white-space: nowrap; text-align: right; }
.ptable td.act { text-align: right; width: 1%; white-space: nowrap; padding-right: 0; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip { border-top: 1px solid var(--gold); padding-top: 18px; }
.tip h3 { font-size: 24px; }
.tip p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.step { background: var(--bg-3); border: 1px solid var(--line); padding: 28px 26px; }
.step::before { counter-increment: st; content: "0" counter(st); display: block; font-family: var(--f-title); font-size: 40px; color: var(--burgundy); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 24px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Panier ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(26px, 4vw, 54px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cline { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cline-img { width: 92px; height: 92px; overflow: hidden; background: var(--bg-3); }
.cline-img img { width: 100%; height: 100%; object-fit: cover; }
.cline h3 { font-size: 23px; margin: 0 0 2px; }
.cline h3 a { color: var(--cream); text-decoration: none; }
.cline .unit { font-size: 13.5px; color: var(--muted); margin: 0; }
.cline .ltotal { font-family: var(--f-title); font-size: 26px; color: var(--cream); min-width: 90px; text-align: right; }
.cline .remove { margin-top: 6px; font-size: 13px; }
.qty { display: inline-flex; border: 1px solid var(--line); height: 44px; }
.qty button { width: 38px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--cream); }
.qty button:hover { background: var(--brown); }
.qty input { width: 46px; border: 0; background: transparent; text-align: center; font-size: 16px; color: var(--cream); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.summary { background: var(--bg-3); border: 1px solid var(--line); padding: 28px; position: sticky; top: 100px; }
.summary h2 { font-size: 32px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-family: var(--f-title); font-size: 30px; color: var(--cream); }
.summary .btn { margin-top: 16px; }
.summary .note { margin: 14px 0 0; }
.empty { text-align: center; padding: clamp(36px, 6vw, 80px) 0; max-width: 560px; margin: 0 auto; }
.empty svg { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--gold); }
.empty p { color: var(--muted); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.mini-lines li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mini-lines strong { display: block; font-family: var(--f-title); font-size: 20px; font-weight: 500; }
.mini-lines span { font-size: 13px; color: var(--muted); }
.mini-lines .p { font-family: var(--f-title); font-size: 21px; color: var(--cream); white-space: nowrap; }

/* ---------- Formulaires ---------- */
.form-card { background: var(--bg-3); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: clamp(30px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid rgba(241,230,212,.2); color: var(--cream); font-size: 16px; font-weight: 300;
  transition: border-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--bg-2); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[type="date"] { color-scheme: dark; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { font-size: 12.5px; line-height: 18px; min-height: 18px; color: var(--error); }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(241,230,212,.2); padding: 11px 16px; cursor: pointer; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 300; color: var(--text); border-radius: var(--radius); }
.radios input { accent-color: var(--red); margin: 0; }
.radios label:has(input:checked) { border-color: var(--gold); color: var(--cream); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 300; color: var(--text); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--red); }
.consent.invalid { color: var(--error); }
.form-note { font-size: 13px; color: var(--dim); font-style: italic; }
.form-msg { padding: 18px 20px; border: 1px solid; margin-top: 18px; font-size: 15px; }
.form-msg[hidden] { display: none; }
.form-msg.ok { border-color: rgba(159,207,154,.5); background: rgba(80,120,70,.15); }
.form-msg.error { border-color: rgba(229,138,127,.5); background: rgba(160,50,40,.15); }
.form-msg strong { display: block; font-family: var(--f-title); font-size: 23px; font-weight: 500; margin-bottom: 4px; }
.form-msg p:last-child { margin: 0; }
.success-panel { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }
.success-panel svg { width: 56px; height: 56px; color: var(--gold); margin: 0 auto 18px; }
.success-panel[hidden] { display: none; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(26px, 4vw, 54px); align-items: start; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.info-block { border-top: 1px solid var(--gold); padding: 20px 0 26px; }
.info-block h3 { font-size: 26px; margin-bottom: 10px; }
.info-block p { margin: 0 0 6px; color: var(--text); }
.info-block a { color: var(--cream); text-underline-offset: 3px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 32px; margin: 46px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal dl { display: grid; grid-template-columns: 240px 1fr; margin: 0 0 10px; border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.legal dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-right: 16px; }
.legal [hidden] { display: none; }
.todo { color: #f0c98a; background: rgba(199,163,107,.12); border-bottom: 1px dashed var(--gold); font-style: italic; padding: 0 4px; }
.edit-note { border: 1px dashed var(--gold); background: rgba(199,163,107,.07); padding: 16px 20px; font-size: 14px; margin-bottom: 36px; }
.edit-note[hidden] { display: none; }
.edit-note strong { display: block; font-family: var(--f-title); font-size: 22px; font-weight: 500; }

/* ---------- Pied de page ---------- */
.site-footer { background: #080605; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 86px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { font-family: var(--f-text); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14.5px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .about { color: var(--muted); font-size: 14.5px; max-width: 320px; margin-top: 18px; }
.foot-hours li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.foot-hours li span:first-child { color: var(--text); }
.footer-legal { margin-top: 30px; color: var(--dim); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line); margin-top: 46px; padding-top: 22px; font-size: 13px; color: var(--dim); }
.foot-bottom a { color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 200; right: 20px; bottom: 20px; max-width: min(400px, calc(100vw - 40px));
  background: var(--cream); color: var(--bg); padding: 14px 18px; font-size: 15px; font-weight: 400;
  display: flex; gap: 16px; align-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.45);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s;
}
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast a { color: var(--burgundy); font-weight: 500; white-space: nowrap; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

img.img-failed { visibility: hidden; }
.img-fallback { background: radial-gradient(circle at 30% 30%, #3a1a1c, #140d0c) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dances, .prices, .teachers { grid-template-columns: repeat(2, 1fr); }
  .perks-in { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .reviews-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-img { order: 0; }
  .dance-row { grid-template-columns: 1fr; }
  .dance-row.flip .dr-img { order: 0; }
  .two-col { grid-template-columns: 1fr; }
  .tips, .steps { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 110px 1fr auto; }
  .slot .time { grid-column: 1; grid-row: 2; font-size: 17px; }
  .slot .day { grid-row: 1; }
  .slot .slot-main { grid-column: 2; grid-row: 1 / span 2; }
  .slot .slot-act { grid-column: 3; grid-row: 1 / span 2; }
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ptable td { border: 0; padding: 0; }
  .ptable td.act { grid-column: 1 / -1; text-align: left; margin-top: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero { min-height: 600px; align-items: flex-end; }
  .hero::after { background: linear-gradient(0deg, rgba(13,9,8,.97) 25%, rgba(13,9,8,.55) 65%, rgba(13,9,8,.35) 100%); }
  .hero-actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.35; padding-top: 10px; padding-bottom: 10px; }
  .prices, .services, .cards-2 { grid-template-columns: 1fr; }
  .dances, .teachers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dance-desc { display: none; }
  .dance-bar { padding: 12px; }
  .dance-bar h3 { font-size: 14.5px; }
  .teacher-body { padding: 14px 10px 16px; }
  .teacher-body h3 { font-size: 20px; }
  .perks-in { grid-template-columns: 1fr 1fr; }
  .perk { padding: 22px 8px; }
  .slider { padding: 28px 22px 80px; }
  .slider-nav { top: auto; bottom: 18px; right: 18px; transform: none; flex-direction: row; }
  .banner::after { background: linear-gradient(0deg, rgba(58,10,18,.97) 30%, rgba(74,15,24,.6) 75%, rgba(13,9,8,.2) 100%); }
  .banner { align-items: flex-end; min-height: 460px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cline { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; }
  .cline-img { width: 70px; height: 70px; }
  .cline .cl-qty { grid-column: 2; }
  .cline .ltotal { grid-column: 3; grid-row: 2; min-width: 0; }
  .slot { grid-template-columns: 1fr auto; padding: 16px; }
  .slot .day, .slot .time { grid-column: 1; }
  .slot .day { grid-row: 1; font-size: 21px; }
  .slot .time { grid-row: 2; }
  .slot .slot-main { grid-column: 1 / -1; grid-row: 3; }
  .slot .slot-act { grid-column: 2; grid-row: 1 / span 2; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
  .facts { grid-template-columns: repeat(2, auto); }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .split-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
