/* =========================================================
   VillaZik — feuille de style (refonte 2026)
   HTML5 + CSS moderne : variables, Grid/Flexbox, type fluide.
   Aucune dépendance (pas de Bootstrap, pas de jQuery).
   ========================================================= */

/* ---------- Polices auto-hébergées (Rubik, Source Sans 3 — sous-ensemble latin) ---------- */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/rubik-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/rubik-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/rubik-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/rubik-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }

:root {
  --orange:        #e25111;
  --orange-dark:   #c4430e;
  --orange-soft:   #fbeee7;
  --ink:           #1c1a19;
  --muted:         #6b6763;
  --line:          #e7e3df;
  --bg:            #ffffff;
  --bg-soft:       #efe9e1;
  --dark:          #171514;
  --dark-2:        #211e1c;
  --white:         #ffffff;

  --radius:        14px;
  --radius-sm:     10px;
  --shadow:        0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:     0 20px 50px rgba(0,0,0,.16);
  --container:     1120px;
  --header-h:      96px;   /* hauteur en haut de page (logo imposant) */
  --header-h-sm:   66px;   /* hauteur réduite au défilement */

  --font-head: 'Rubik', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sm) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-dark); color: #fff; }
.btn-primary:hover { background: #a5380b; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--ink); border-color:#fff; }
.btn-ghost { background: var(--orange-soft); color: var(--orange-dark); }
.btn-ghost:hover { background: #f6ddce; color: var(--orange-dark); }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  /* Voile sombre par défaut : garde le logo et le menu lisibles sur une image claire. */
  background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0));
  transition: background .3s, box-shadow .3s, height .25s;
}
.site-header.scrolled { height: var(--header-h-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.scrolled { background: rgba(23,21,20,.95); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.25); }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 80px; width: auto; filter: drop-shadow(0 1px 5px rgba(0,0,0,.55)); transition: height .25s; }
.site-header.scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  color: #fff; font-family: var(--font-head); font-weight: 400; font-size: .98rem;
  padding: .5rem .8rem; border-radius: 8px; opacity: .9;
}
.nav a:hover, .nav a.active { opacity: 1; background: rgba(255,255,255,.12); color:#fff; }
.nav a.nav-cta { background: var(--orange-dark); opacity: 1; }
.nav a.nav-cta:hover { background: #a5380b; }
.nav-home { display: inline-flex; align-items: center; }
.nav-home svg { width: 20px; height: 20px; display: block; }
.nav-home .nav-home-text { display: none; }
@media (max-width: 980px) {
  .nav-home svg { display: none; }
  .nav-home .nav-home-text { display: inline; }
}

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; width: 100%; }
.nav-toggle span::after  { position: absolute; top: 7px;  width: 100%; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(23,21,20,.98); backdrop-filter: blur(8px);
    padding: .5rem 1rem 1rem; transform: translateY(-120%); transition: transform .3s;
    box-shadow: var(--shadow-lg);
  }
  .nav-open .nav { transform: translateY(0); }
  .nav a { padding: .9rem 1rem; border-radius: 10px; }
  .nav a.nav-cta { margin-top: .4rem; text-align: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 780px); display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out; transform: scale(1.05);
}
.hero-slide.is-active { opacity: 1; }
/* 1ère diapo (LCP) : image de fond responsive (plus légère sur mobile) */
.hero-lcp { background-image: url('../img/hero/guitar.webp'); }
@media (max-width: 768px) { .hero-lcp { background-image: url('../img/hero/guitar-800.webp'); } }
.hero::after { /* voile sombre pour lisibilité */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,18,17,.55) 0%, rgba(20,18,17,.45) 40%, rgba(20,18,17,.72) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 6rem 1.2rem 3rem; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem); font-weight: 700; letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero .lead { margin: 1.2rem auto 2rem; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); max-width: 620px; color: rgba(255,255,255,.92); }
.hero .actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 2; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; }
.hero-dots button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s, transform .2s; }
.hero-dots button.is-active::before { background: #fff; transform: scale(1.25); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #fff; }
.mission { text-align: center; padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; }
.mission p { max-width: 760px; margin: 0 auto; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.55rem); line-height: 1.45; color: var(--ink); }
.mission .accent { color: var(--orange-dark); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 1rem + 3vw, 3.5rem); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--orange); margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin: 1rem auto 0; background: var(--orange); border-radius: 2px; }
.section-head p { margin-top: .9rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Cartes cours ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow-lg); }
.card .icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--orange-soft); border-radius: 16px; margin-bottom: 1.1rem; }
.card .icon img { width: 36px; height: 36px; object-fit: contain; }
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Infos pratiques ---------- */
.infos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: start; }
.info-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.2rem; margin-bottom: .7rem; color: var(--orange-dark); }
.info-card p { color: var(--muted); }
.info-card ul { color: var(--muted); margin: .6rem 0 0; padding-left: 1.2rem; }
.info-card li { margin-bottom: .6rem; }
.info-card li strong { color: var(--ink); }
.info-card a { font-weight: 600; display: inline-block; padding: .35rem 0; }

/* ---------- Embed Facebook (chargement au clic, RGPD) ---------- */
.fb-placeholder { padding: 2.5rem 1.5rem; text-align: center; }
.fb-placeholder p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.fb-placeholder .small { font-size: .85rem; margin-top: .9rem; margin-bottom: 0; }

/* ---------- Comment s'inscrire (bande sombre) ---------- */
.section-dark .section-head h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.8rem; transition: transform .2s, background .2s; }
.step:hover { transform: translateY(-6px) rotate(-2deg); background: rgba(255,255,255,.1); }
.step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: rgba(255,255,255,.82); font-size: .97rem; }
.step a { color: #fff; text-decoration: underline; }

/* ---------- Profs ---------- */
.profs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1000px; margin-inline: auto; }
.prof { text-align: center; }
.prof .photo { width: 150px; height: 150px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); background:#eee; }
.prof .photo img { width: 100%; height: 100%; object-fit: cover; }
.prof h3 { font-size: 1.2rem; }
.prof .role { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.prof .role.lead-role { color: var(--orange); font-weight: 600; }
.prof .prof-social { display:inline-flex; margin-top:.4rem; font-size:1.2rem; }
.prof .prof-note { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* ---------- Actualités ---------- */
.news-wrap { display: grid; gap: 2rem; justify-items: center; text-align: center; }
.news-date { color: var(--orange); font-weight: 600; font-family: var(--font-head); letter-spacing: .05em; }
.news-embed { width: 100%; max-width: 500px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background:#fff; }
.news-embed iframe { display:block; width: 100%; border: 0; }
.news-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: start; max-width: 1040px; margin: 0 auto; }
.news-full { grid-column: 1 / -1; }
@media (max-width: 780px) { .news-columns { grid-template-columns: 1fr; } }
.news-highlight { text-align: left; background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.news-highlight:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-highlight .news-embed { box-shadow: none; margin: 1rem auto 0; }
.news-highlight h3 { font-size: 1.4rem; margin: .3rem 0 .9rem; }
.news-highlight p { color: var(--muted); margin-bottom: .9rem; }
.news-highlight p:last-child { margin-bottom: 0; }
.news-highlight .news-date { margin-bottom: .2rem; }
.news-highlight strong { color: var(--ink); }
.news-highlight ul { color: var(--muted); margin: .5rem 0 0; padding-left: 1.2rem; }
.news-highlight li { margin-bottom: .4rem; }
.news-sub { font-size: 1.2rem; color: var(--ink); margin-bottom: 1rem; }

/* ---------- Galerie vidéo (lecture au clic) ---------- */
.video-gallery { max-width: 1000px; margin: 2.5rem auto 0; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.video-thumb { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,17,.28); transition: background .2s; }
.video-thumb:hover::after { background: rgba(20,18,17,.12); }
.video-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; background: rgba(226,81,17,.92); color: #fff; border-radius: 50%; box-shadow: var(--shadow); transition: transform .2s; }
.video-thumb:hover .video-play { transform: scale(1.08); }
.video-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; color: #fff; font-family: var(--font-head); font-weight: 500; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; background: rgba(0,0,0,.85); }
.video-modal[hidden] { display: none; }
.video-modal video { width: 100%; max-width: min(960px, 100%); max-height: 82vh; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); }
.video-close { position: absolute; top: 1rem; right: 1.2rem; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background .2s; }
.video-close:hover { background: rgba(255,255,255,.3); }
/* Variante compacte dans le bloc concert */
.video-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 0 0 .5rem; }
.video-grid-sm { gap: .7rem; margin-bottom: 1.2rem; }
.video-grid-sm .video-play { width: 42px; height: 42px; }
.video-grid-sm .video-cap { font-size: .8rem; padding: .4rem .6rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:.35rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(226,81,17,.15); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-field .req { color: var(--orange); }
.form-status { margin-top: 1rem; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-status.ok  { color: #1f7a3d; }
.form-status.err { color: #c0392b; }
.contact-info { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.contact-info .item { display: flex; gap: .9rem; margin-bottom: 1.3rem; }
.contact-info .item:last-child { margin-bottom: 0; }
.contact-info .item i { color: var(--orange); font-size: 1.3rem; margin-top: .2rem; }
.contact-info h3 { font-size: 1rem; margin-bottom: .15rem; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .98rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 3rem 0 2rem; border-top: 4px solid var(--orange); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand img { height: 40px; margin-bottom: .8rem; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 280px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-nav a { color: rgba(255,255,255,.8); font-family: var(--font-head); font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: .8rem; margin-top: .3rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.15rem; transition: background .2s; }
.footer-social a:hover { background: var(--orange); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .88rem; color: rgba(255,255,255,.5); }

/* ---------- Sous-page (titre en tête) ---------- */
.page-hero { background: var(--dark); color: #fff; padding: calc(var(--header-h) + 3rem) 0 3rem; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: .6rem; }

/* ---------- Tarifs ---------- */
.tarifs-intro { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.tarifs-intro .note { color: var(--muted); font-style: italic; margin-top: 1.4rem; }
.tarifs-intro .cta-line { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.tarifs-intro .cta-line strong { color: var(--orange); font-family: var(--font-head); }
.table-wrap { max-width: 860px; margin: 0 auto 2.5rem; overflow-x: auto; }
.table-wrap h3 { font-family: var(--font-head); color: var(--orange); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .04em; margin-bottom: .8rem; }
table.pricing { width: 100%; border-collapse: collapse; background:#fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.pricing th, table.pricing td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.pricing thead th { background: var(--orange); color: #fff; font-family: var(--font-head); text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; }
table.pricing tbody tr:last-child td { border-bottom: 0; }
table.pricing tbody tr:nth-child(even) { background: var(--bg-soft); }
table.pricing .check { color: var(--orange); font-weight: 700; }
.pricing small { color: var(--muted); }
table.pricing thead th small { color: rgba(255,255,255,.85); font-weight: 400; }

/* ---------- Adhésion ---------- */
.adhesion-wrap { max-width: 820px; margin: 0 auto; }
#haWidget { width: 100%; height: 750px; border: 0; border-radius: var(--radius); }
.ha-fallback { display: none; text-align: center; padding: 2rem 1rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.ha-help { text-align: center; margin: 1.6rem 0 0; }
.ha-help p { color: var(--muted); font-size: .95rem; margin-bottom: .6rem; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; color: var(--orange); margin: 2rem 0 .6rem; }
.legal p { color: #4a4744; margin-bottom: .8rem; }
.legal ul { color: #4a4744; margin: 0 0 .8rem; padding-left: 1.4rem; }
.legal li { margin-bottom: .5rem; }
.legal li strong { color: var(--ink); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; font-size: 1.3rem; line-height: 1;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange-dark); }

/* ---------- Bouton WhatsApp ---------- */
.wa-chat {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .2s, background .2s;
}
.wa-chat:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px) scale(1.05); }
.wa-chat[hidden] { display: none; }
/* Info-bulle du bouton WhatsApp */
.wa-chat::after {
  content: attr(data-tooltip);
  position: absolute; left: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: var(--dark); color: #fff;
  padding: .5rem .8rem; border-radius: 8px;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow); pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
}
.wa-chat::before {
  content: ""; position: absolute; left: calc(100% + 2px); top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent; border-right-color: var(--dark);
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .2s;
}
.wa-chat:hover::after, .wa-chat:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.wa-chat:hover::before, .wa-chat:focus-visible::before { opacity: 1; visibility: visible; }

/* ---------- Divers ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---------- Animations & finitions ---------- */
/* Apparition au défilement (la classe .reveal est ajoutée par le JS) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Hero : léger zoom (Ken Burns) sur la vue active */
.hero-slide.is-active { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.14); } }

/* Hero : indicateur « défiler » */
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 5.5rem; transform: translateX(-50%); color: #fff; opacity: .85; display: grid; place-items: center; padding: 8px; animation: bounce 2s infinite; }
.hero-scroll:hover { color: #fff; opacity: 1; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Profs : survol */
.prof .photo { transition: transform .2s, box-shadow .2s, border-color .2s; }
.prof:hover .photo { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll { animation: none; }
  .hero-slide { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
