:root{
  --bg:#f6f1ed;
  --paper:#ffffff;
  --paper-2:#fbf7f4;
  --ink:#171717;
  --muted:#5f5f63;
  --line:#e8ddd5;

  --brand:#a31621;
  --brand-2:#c62828;
  --gold:#d8b24a;
  --gold-2:#ecd071;
  --dark:#0f131a;
  --dark-2:#161d27;
  --dark-3:#211a22;

  --radius:22px;
  --shadow:0 18px 44px rgba(10,12,18,.10);
  --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:linear-gradient(180deg,#f5efea 0%,#f7f3f0 100%);
  line-height:1.65;
  overflow-x:hidden;
  padding-top:94px;
}

main{
  display:block;
}

a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}

.container{width:min(var(--container),calc(100% - 32px));margin:0 auto}

/* ===== HEADER FIXE ===== */
.topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;
  background:linear-gradient(90deg, rgba(9,12,16,.98), rgba(13,17,23,.96) 52%, rgba(10,13,18,.98));
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 14px 38px rgba(0,0,0,.20);
}

.topbar::after{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(90deg, rgba(216,178,74,0), rgba(216,178,74,.42), rgba(216,178,74,0));
}

.topbar-inner{
  min-height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  color:#fff;
  text-decoration:none;
  flex:0 0 auto;
}

.brand:hover{
  text-decoration:none;
}

.brand-premium{
  gap:16px;
}

.brand-wordmark{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  min-width:0;
}

.brand-line{
  display:flex;
  align-items:baseline;
  gap:10px;
  line-height:1;
  white-space:nowrap;
}

.brand-main{
  color:#f7f3ee;
  font-weight:900;
  font-size:2rem;
  letter-spacing:.08em;
}

.brand-sub{
  color:var(--gold);
  font-weight:800;
  font-size:1.25rem;
  letter-spacing:.02em;
}

.brand-tag{
  color:rgba(255,255,255,.58);
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.brand-divider{
  width:1px;
  height:42px;
  background:linear-gradient(180deg, rgba(216,178,74,0), rgba(216,178,74,.5), rgba(216,178,74,0));
}

.brand-emblem{
  width:68px;
  height:68px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:radial-gradient(circle at 30% 28%, rgba(255,255,255,.92), rgba(240,240,240,.98));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.55);
  flex-shrink:0;
}

.site-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  display:block;
  border-radius:50%;
}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}

#siteNav{margin-left:auto}

nav ul{
  display:flex;
  align-items:center;
  gap:10px;
  list-style:none;
  padding:0;
  margin:0;
  flex-wrap:nowrap;
}

nav li{position:relative}

nav a,
.dropdown-toggle{
  color:#f5f1eb;
  font-weight:700;
  font-size:1rem;
  padding:11px 14px;
  border-radius:14px;
  transition:background .18s ease,color .18s ease,transform .18s ease, box-shadow .18s ease;
}

nav a:hover,
.dropdown-toggle:hover{
  text-decoration:none;
  background:rgba(255,255,255,.06);
  color:#fff;
}

nav a.is-active,
.dropdown-menu a.is-active,
.dropdown-toggle.is-active{
  color:#161616;
  background:linear-gradient(135deg, rgba(216,178,74,.96), rgba(236,208,113,.92));
  box-shadow:0 8px 20px rgba(216,178,74,.16);
}

/* ===== HERO ===== */
.hero{
  color:#fff;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(216,178,74,.18), transparent 24%),
    radial-gradient(circle at 82% 28%, rgba(163,22,33,.22), transparent 24%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 48%, var(--dark-3) 100%);
}

.hero::before{
  content:"";
  position:absolute;
  inset:-8% -8% auto auto;
  width:min(56vw,700px);
  height:min(56vw,700px);
  background:url('Images/b.png') center/contain no-repeat;
  opacity:.07;
  transform:rotate(-4deg);
}

.hero::after{
  content:"";
  position:absolute;
  left:-8%;
  bottom:-18%;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.05), transparent 68%);
}

.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:34px;
  align-items:center;
  min-height:580px;
  padding:62px 0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  padding:8px 14px;
  border-radius:999px;
  font-size:.9rem;
  margin-bottom:18px;
  color:rgba(255,255,255,.96);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.hero h1{
  margin:0 0 14px;
  font-size:clamp(1.7rem,3.4vw,3.2rem);
  line-height:1.06;
  text-transform:uppercase;
  letter-spacing:.2px;
}

.hero p{
  max-width:760px;
  color:rgba(255,255,255,.92);
  font-size:1.08rem;
  margin:0 0 24px;
}

.actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:14px;
  font-weight:800;
  border:none;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease, box-shadow .16s ease;
  color:#fff;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.btn:hover{
  transform:translateY(-2px);
  text-decoration:none;
}

.btn-primary{
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#fff;
}

.btn-primary:hover{
  background:linear-gradient(135deg, #b71c1c, #d32f2f);
  box-shadow:0 14px 28px rgba(163,22,33,.28);
}

.btn-secondary{
  background:linear-gradient(135deg, var(--gold), var(--gold-2));
  color:#161616;
}

.btn-secondary:hover{
  background:linear-gradient(135deg, #e1bc54, #f0d77d);
  box-shadow:0 14px 28px rgba(216,178,74,.24);
}

.btn-light{background:#fff;color:#111}

.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  padding:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.20);
  backdrop-filter:blur(10px);
}

.hero-card h3{
  margin:0 0 12px;
  font-size:1.1rem;
  color:#fff;
}

.hero-card ul{margin:0;padding-left:18px}

.hero-card li{
  margin-bottom:9px;
  color:rgba(255,255,255,.90);
}

.hero-side{
  display:grid;
  gap:18px;
}

.hero-visual{
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 28px 70px rgba(0,0,0,.24);
  min-height:320px;
  backdrop-filter:blur(6px);
}

.hero-visual img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
  display:block;
}

.hero-event-banner{
  margin:18px 0 18px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 16px 36px rgba(0,0,0,.16);
  max-width:720px;
  backdrop-filter:blur(8px);
}

.hero-event-label{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--gold), var(--gold-2));
  color:#161616;
  font-size:.82rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  box-shadow:0 8px 18px rgba(216,178,74,.22);
}

.hero-event-banner p{
  margin:0 0 10px;
  color:rgba(255,255,255,.94);
  font-size:1rem;
  line-height:1.55;
}

.hero-event-banner a{
  color:#fff;
  font-weight:800;
  text-decoration:underline;
}

.hero-event-banner a:hover{color:#fff}

.hero-countdown{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(216,178,74,.16);
  border:1px solid rgba(216,178,74,.34);
  color:#fff;
  font-weight:800;
  font-size:.98rem;
  line-height:1.4;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}


.programme-cta{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:0 auto 28px;
  max-width:1040px;
}

.programme-card{
  transition:transform .18s ease, box-shadow .18s ease;
}

.programme-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 60px rgba(0,0,0,.15);
}

/* ===== SECTIONS ===== */
section{padding:82px 0}

.section-head{
  max-width:820px;
  margin:0 auto 40px;
  text-align:center;
}

.section-head h2{
  margin:0 0 10px;
  font-size:clamp(1.8rem,3vw,2.8rem);
  text-transform:uppercase;
  letter-spacing:.7px;
}

.section-head p{margin:0;color:var(--muted)}

.quote-wrap{margin-top:-40px;position:relative;z-index:3}

.quote{
  max-width:880px;
  margin:0 auto;
  background:var(--paper);
  border-left:6px solid var(--brand);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:30px 28px;
  text-align:center;
}

.quote p{margin:0 0 8px;font-style:italic;font-size:1.16rem}
.quote strong{display:block}

.grid-2{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
}

.card,.tile,.panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.card{padding:28px}
.tile{padding:24px;height:100%}

.tile h3,.tile h4,.card h3,.panel h3{margin-top:0}
.tile p:last-child,.card p:last-child{margin-bottom:0}

.logo-stage{
  min-height:420px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#fff,#f7f1ec);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:20px;
}

.logo-stage img{
  width:min(100%,460px);
  max-height:420px;
  object-fit:contain;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:22px;
}

.stat{
  background:#fff8f5;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  text-align:center;
}

.stat strong{
  display:block;
  color:var(--brand);
  font-size:1.55rem;
  line-height:1.1;
  margin-bottom:4px;
}

.alt{background:linear-gradient(180deg,#f2e7e0,#efe2da)}

.cards-3,.cards-4,.cards-2{display:grid;gap:22px}
.cards-3{grid-template-columns:repeat(3,1fr)}
.cards-4{grid-template-columns:repeat(4,1fr)}
.cards-2{grid-template-columns:repeat(2,1fr)}

.icon{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#fff1eb;
  color:var(--brand);
  font-weight:900;
  margin-bottom:12px;
}

.badge{
  display:inline-block;
  background:#fff0ea;
  color:var(--brand);
  border-radius:999px;
  padding:5px 10px;
  font-size:.84rem;
  font-weight:800;
}

.list-clean{padding-left:18px;margin:10px 0 0}
.list-clean li{margin-bottom:8px}

.band-dark{
  color:#fff;
  background:linear-gradient(180deg,#111,#16181d);
}

.band-dark .section-head p{color:rgba(255,255,255,.76)}

.pill-links{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  font-weight:700;
}

.pill:hover{
  text-decoration:none;
  background:rgba(255,255,255,.14);
}

.table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  min-width:640px;
}

th,td{
  padding:14px 14px;
  border-bottom:1px solid #efe5de;
  text-align:left;
  vertical-align:top;
}

th{background:#f8f1ec;font-size:.95rem}
tbody tr:hover{background:#fffaf7}

.note{
  background:#fff8f0;
  border:1px solid #f0dbc2;
  color:#6f4b15;
  border-radius:16px;
  padding:16px 18px;
}

.side-media{display:grid;gap:18px}

.figure{
  background:#fff;
  border:1px solid var(--line);
  padding:16px;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.figure img{margin:0 auto}

.figure figcaption{
  margin-top:10px;
  color:var(--muted);
  font-size:.92rem;
  text-align:center;
}

.panel{padding:24px}
.contact-box{display:grid;gap:14px}
.form-grid{display:grid;gap:14px}

.form-grid input,
.form-grid textarea,
.form-grid select{
  width:100%;
  padding:14px;
  border:1px solid #dccfc7;
  border-radius:14px;
  background:#fff;
  font:inherit;
}

.form-grid textarea{
  min-height:140px;
  resize:vertical;
}

.schedule{display:grid;gap:12px}

.schedule-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  background:#fff8f5;
  border:1px solid var(--line);
  border-radius:15px;
  padding:14px 16px;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.footer{
  background:#0d0f12;
  color:rgba(255,255,255,.78);
  padding:30px 0 40px;
  text-align:center;
}

.footer p{margin:6px 0}

.footer-mini{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:12px;
}

.footer-secondary{margin-top:10px;opacity:.95}
.footer a{color:#fff}
.footer a:hover{color:var(--gold);text-decoration:none}

/* ===== HERO MINI ===== */
.hero-mini{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 15% 30%, rgba(216,178,74,.16), transparent 22%),
    linear-gradient(135deg, rgba(13,15,18,.94), rgba(13,15,18,.82));
}

.hero-mini::before{
  content:"";
  position:absolute;
  right:-6%;
  top:-10%;
  width:420px;
  height:420px;
  background:url('Images/b.png') center/contain no-repeat;
  opacity:.06;
}

.hero-mini-inner{
  position:relative;
  z-index:1;
  padding:10px 0 8px;
}

.hero-mini h1{
  margin:0 0 2px;
  font-size:clamp(1.3rem,2.2vw,1.9rem);
  line-height:1.05;
  text-transform:uppercase;
}

.breadcrumb{
  color:rgba(255,255,255,.75);
  font-size:clamp(.76rem,.95vw,.84rem);
  margin:0 0 2px;
  line-height:1.2;
}
.breadcrumb a{color:#fff}

.hero-mini-inner p{
  max-width:640px;
  margin:0;
  font-size:clamp(.88rem,1.05vw,.95rem);
  line-height:1.3;
}

.kicker{
  color:var(--brand);
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  font-size:.9rem;
}

.prose p{margin:0 0 14px}
.prose h3{margin:26px 0 10px}

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.center{text-align:center}

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

.media-card{
  display:block;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow);
  color:var(--ink);
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease;
}

.media-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(0,0,0,.12);
  text-decoration:none;
}

.media-card h3{margin:0 0 10px;color:var(--brand)}
.media-card p{margin:0;color:var(--muted)}

.instructor-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.instructor-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.instructor-card img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  background:#f4f4f4;
}

.instructor-card .content{padding:20px}
.instructor-card h3{margin:0 0 6px}
.instructor-card .role{color:var(--brand);font-weight:800;margin-bottom:10px}
.instructor-card .meta{color:var(--muted);font-size:.95rem}

.sensei-feature{
  display:grid;
  grid-template-columns:minmax(280px,420px) minmax(320px,1fr);
  gap:28px;
  align-items:stretch;
}

.sensei-main-card{
  height:100%;
}

.sensei-carousel-card{
  background:linear-gradient(180deg,#fff,#fbf7f4);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.sensei-carousel-head h3{
  margin:10px 0 8px;
  color:var(--brand);
}

.sensei-carousel-head p{
  margin:0 0 16px;
  color:var(--muted);
}

.sensei-carousel{
  position:relative;
  display:grid;
  grid-template-columns:48px 1fr 48px;
  gap:12px;
  align-items:center;
}

.sensei-carousel-viewport{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#f4f4f4;
  border:1px solid var(--line);
}

.sensei-carousel-track{
  position:relative;
  min-height:420px;
}

.sensei-slide{
  position:absolute;
  inset:0;
  margin:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .45s ease, visibility .45s ease;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:#fff;
}

.sensei-slide.active{
  opacity:1;
  visibility:visible;
  position:relative;
}

.sensei-slide img{
  width:100%;
  height:360px;
  object-fit:cover;
  object-position:center;
  background:#f4f4f4;
}

.sensei-slide figcaption{
  padding:14px 16px 16px;
  text-align:center;
  color:var(--muted);
  font-size:.95rem;
}

.sensei-carousel-btn{
  width:48px;
  height:48px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#fff;
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(163,22,33,.22);
  transition:transform .16s ease, box-shadow .16s ease;
}

.sensei-carousel-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(163,22,33,.28);
}

.sensei-carousel-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}

.sensei-carousel-dots button{
  width:10px;
  height:10px;
  border:none;
  border-radius:999px;
  background:#d8c7bc;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease;
}

.sensei-carousel-dots button.active{
  background:var(--brand);
  transform:scale(1.2);
}

.photo-gallery{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:start;
}

.photo-gallery .figure{
  margin:0;
  width:100%;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  padding:16px;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.photo-gallery .figure img{
  display:block;
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center;
  border-radius:14px;
  background:#f4f4f4;
  transition:transform .18s ease;
}

.photo-gallery .figure img:hover{transform:scale(1.02)}

.instructor-groups{display:grid;gap:34px}
.grade-group{display:grid;gap:16px}

.grade-title{
  font-size:1.2rem;
  font-weight:800;
  color:var(--brand);
  text-transform:uppercase;
  letter-spacing:.4px;
  text-align:left;
}

/* ===== DROPDOWN ===== */
.dropdown{position:relative}

.dropdown-toggle{
  background:none;
  border:none;
  cursor:pointer;
}

.dropdown-menu{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  list-style:none;
  margin:0;
  padding:10px;
  min-width:250px;
  background:#12151b;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
  z-index:1000;
}

.dropdown-menu::before{
  content:"";
  position:absolute;
  top:-6px;
  left:24px;
  width:12px;
  height:12px;
  background:#12151b;
  border-left:1px solid rgba(255,255,255,.08);
  border-top:1px solid rgba(255,255,255,.08);
  transform:rotate(45deg);
}

.dropdown.open .dropdown-menu{display:block}
.dropdown-menu li{margin:0}

.dropdown-menu a{
  display:block;
  padding:10px 12px;
  color:#fff;
  white-space:nowrap;
  border-radius:12px;
}

.dropdown-menu a:hover{
  background:rgba(255,255,255,.08);
  text-decoration:none;
}

.dropdown-menu a.is-active{
  background:rgba(255,255,255,.07);
  color:#f7d980 !important;
  border:1px solid rgba(216,178,74,.22);
  box-shadow:none;
}

.dropdown-menu a.is-active:hover{
  background:rgba(255,255,255,.10);
  color:#ffe39a !important;
}

.nav-group-label{
  display:block;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.46);
  padding:6px 12px 2px;
}

/* ===== ACCESSIBILITÉ ===== */
.skip-link{
  position:absolute;
  left:12px;
  top:-48px;
  background:#fff;
  color:#111;
  padding:10px 14px;
  border-radius:10px;
  z-index:200;
  text-decoration:none;
  box-shadow:var(--shadow);
}

.skip-link:focus{top:12px}

nav a[aria-current="page"]{
  text-decoration:underline;
  text-underline-offset:4px;
}

.dropdown-toggle[aria-expanded="true"]{color:var(--gold)}

/* ===== VIDÉOS ===== */
.video-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.video-figure video{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:14px;
  background:#000;
}

/* ===== LIGHTBOX ===== */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.82);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:2000;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}

.lightbox.open{
  opacity:1;
  visibility:visible;
}

.lightbox-content{
  position:relative;
  max-width:min(92vw,1100px);
  max-height:90vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

.lightbox img{
  max-width:100%;
  max-height:78vh;
  width:auto;
  height:auto;
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.4);
  background:#fff;
}

.lightbox-caption{
  color:#fff;
  text-align:center;
  font-size:1rem;
  line-height:1.5;
}

.lightbox-close{
  position:absolute;
  top:-10px;
  right:-10px;
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:#fff;
  color:#111;
  font-size:1.4rem;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}

/* ===== BOUTONS FOCUS ===== */
.btn:focus-visible,
.nav-toggle:focus-visible,
.dropdown-toggle:focus-visible,
a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(216,178,74,.45);
  outline-offset:3px;
}

/* ===== BLOCS DIVERS ===== */
.rotated-figure{
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;
}

.rotated-figure img.rotate-90,
.rotated-figure img.rotate-minus-90{
  width:100%;
  height:220px;
  object-fit:contain;
  background:#fff;
  padding:10px;
  transform-origin:center center;
}

.rotated-figure img.rotate-90{
  transform:rotate(90deg);
}

.rotated-figure img.rotate-minus-90{
  transform:rotate(-90deg);
}

.rotated-figure img.rotate-90:hover{
  transform:rotate(90deg) scale(1.03);
}

.rotated-figure img.rotate-minus-90:hover{
  transform:rotate(-90deg) scale(1.03);
}

.cta-band{
  background:linear-gradient(135deg, rgba(163,22,33,.08), rgba(216,178,74,.12));
  border:1px solid #ead7ca;
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:28px;
}

.cta-band p{
  margin:0;
  color:var(--muted);
}

.video-rich-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:start;
}

.video-placeholder-card{
  background:linear-gradient(180deg,#fff,#fbf7f4);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.video-placeholder-media{
  position:relative;
  min-height:280px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(13,15,18,.92), rgba(32,37,46,.92));
}

.video-placeholder-media img{
  width:100%;
  height:280px;
  object-fit:cover;
  opacity:.5;
}

.video-play-badge{
  position:absolute;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:78px;
  height:78px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--brand);
  font-size:2rem;
  box-shadow:0 14px 28px rgba(0,0,0,.2);
}

.video-placeholder-content{
  padding:22px;
}

.video-placeholder-content h3{
  margin:0 0 8px;
}

.video-placeholder-content p{
  margin:0;
  color:var(--muted);
}

.video-points{
  display:grid;
  gap:14px;
}

.video-point{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
}

.video-point h3{
  margin:0 0 8px;
  font-size:1.05rem;
}

.video-point p{
  margin:0;
  color:var(--muted);
}

/* ===== CORRECTIFS NAV ===== */
#siteNav > ul > li > a.is-active,
#siteNav > ul > li > .dropdown-toggle.is-active,
#siteNav > ul > li > .dropdown-toggle[aria-expanded="true"]{
  background: rgba(255,255,255,.04) !important;
  color: #f1d27a !important;
  border: 1px solid rgba(216,178,74,.22) !important;
  box-shadow: none !important;
}

#siteNav > ul > li > .dropdown-toggle.is-active:hover,
#siteNav > ul > li > .dropdown-toggle[aria-expanded="true"]:hover,
#siteNav > ul > li > a.is-active:hover{
  background: rgba(255,255,255,.07) !important;
  color: #ffe39a !important;
}

.dropdown-menu a.is-active{
  background: rgba(255,255,255,.06) !important;
  color: #f7d980 !important;
  border: 1px solid rgba(216,178,74,.18) !important;
  box-shadow: none !important;
}

.dropdown-menu a.is-active:hover{
  background: rgba(255,255,255,.09) !important;
  color: #ffe39a !important;
}

/* ===== ANIMATIONS ===== */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .6s ease, transform .6s ease;
}

.reveal.in-view{
  opacity:1;
  transform:none;
}

.reveal-delay-1{transition-delay:.08s}
.reveal-delay-2{transition-delay:.16s}
.reveal-delay-3{transition-delay:.24s}

.section-head-left{
  text-align:left;
  margin-left:0;
  margin-right:0;
}

/* ===== HOME UPGRADED ===== */
.hero-home-upgraded .hero-grid{
  min-height:680px;
  padding:78px 0 90px;
}

.hero-home-upgraded h1{
  max-width:13ch;
  font-size:clamp(2.2rem, 4.7vw, 4.6rem);
}

.hero-home-upgraded .hero-lead{
  font-size:1.1rem;
  max-width:720px;
}

.hero-home-grid{
  grid-template-columns:1.08fr .92fr;
  align-items:start;
}

.hero-quick-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 22px;
}

.hero-quick-points span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-weight:700;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.hero-actions{
  margin-bottom:24px;
}

.hero-trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:760px;
}

.hero-trust-card{
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:16px 14px;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

.hero-trust-card strong{
  display:block;
  margin-bottom:4px;
  font-size:1.18rem;
  color:#fff;
}

.hero-trust-card span{
  color:rgba(255,255,255,.82);
  font-size:.95rem;
}

.hero-visual-tall img{
  min-height:420px;
}

.hero-card-highlight{
  padding:26px;
}

.hero-card-highlight h2{
  margin:0 0 14px;
  font-size:1.32rem;
  color:#fff;
}

.hero-card-highlight p,
.hero-card-highlight li{
  color:rgba(255,255,255,.92);
}

.home-feature-grid .tile,
.media-card,
.home-schedule-grid .card,
.home-contact-card,
.home-panel-list,
.cta-band,
.photo-gallery .figure{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-feature-grid .tile:hover,
.media-card:hover,
.home-schedule-grid .card:hover,
.home-contact-card:hover,
.photo-gallery .figure:hover,
.home-panel-list:hover,
.cta-band:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 46px rgba(0,0,0,.12);
}

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

.home-site-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#fff0ea;
  color:var(--brand);
  font-weight:800;
  margin-bottom:14px;
}

.home-site-badge-dark{
  background:#f0f1f7;
  color:#2a3140;
}

.center-actions{
  justify-content:center;
  margin-top:24px;
}

.home-split{
  align-items:start;
}

.home-panel-list{
  display:grid;
  gap:14px;
}

.home-list-item{
  display:grid;
  gap:4px;
  padding:14px 0;
  border-bottom:1px solid #ede1d8;
}

.home-list-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.home-list-item strong{
  color:var(--brand);
}

.home-gallery-preview{
  grid-template-columns:repeat(4,1fr);
}

.home-gallery-preview .figure img{
  height:260px;
}

.home-contact-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.home-contact-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:18px;
}

.home-contact-card strong{
  display:block;
  color:#fff;
  margin-bottom:6px;
}

.home-contact-card span{
  color:rgba(255,255,255,.82);
}

.gallery-intro-card{
  max-width:860px;
  margin:0 auto 24px;
}

.gallery-intro-card p:last-child{
  margin-bottom:0;
}

.page-hero-compact .hero-mini-inner{
  padding:4px 0 4px;
}

/* ===== HAUTEUR ÉCRAN ===== */
@media (max-height:900px){
  .hero-mini-inner{
    padding:7px 0 6px;
  }

  .hero-mini h1{
    margin-bottom:2px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width:1180px){
  .brand-main{font-size:1.7rem}
  .brand-sub{font-size:1.08rem}
  .brand-emblem{width:62px;height:62px}
  .site-logo{width:52px;height:52px}
  nav a,.dropdown-toggle{font-size:.9rem;padding:9px 10px}
}

@media (max-width:1080px){
  .hero-grid,
  .grid-2,
  .split,
  .sensei-feature,
  .video-rich-grid,
  .hero-home-grid,
  .home-schedule-grid,
  .home-contact-row,
  .home-gallery-preview{
    grid-template-columns:1fr;
  }

  .cards-4{grid-template-columns:repeat(2,1fr)}
  .cards-3,
  .cards-2,
  .gallery{grid-template-columns:1fr}

  .stats{grid-template-columns:repeat(2,1fr)}
  .instructor-grid,
  .photo-gallery{grid-template-columns:repeat(2,1fr)}
  .video-gallery{grid-template-columns:repeat(2,1fr)}

  .hero-trust-grid{
    grid-template-columns:1fr;
  }

  .hero-home-upgraded h1{
    max-width:none;
  }
}

@media (max-width:960px){
  body{
    padding-top:88px;
  }

  .topbar-inner{
    min-height:88px;
    flex-wrap:wrap;
    padding:10px 0;
  }

  .nav-toggle{display:inline-flex}

  #siteNav{
    display:none;
    width:100%;
    margin-left:0;
  }

  #siteNav.open{display:block}

  nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:10px 0 14px;
  }

  nav a,
  .dropdown-toggle{
    display:block;
    width:100%;
    text-align:left;
    padding:12px 14px;
  }

  .dropdown-menu{
    position:static;
    top:auto;
    left:auto;
    min-width:unset;
    margin-top:8px;
    border-radius:14px;
    box-shadow:none;
    padding:8px;
    background:rgba(255,255,255,.04);
  }

  .dropdown-menu::before{display:none}
  .brand-premium{gap:12px}
  .brand-line{gap:8px}
  .brand-main{font-size:1.45rem}
  .brand-sub{font-size:1rem}
  .brand-tag{font-size:.62rem;letter-spacing:.14em}
  .brand-divider{display:none}
  .brand-emblem{width:56px;height:56px}
  .site-logo{width:46px;height:46px}

  .sensei-carousel{
    grid-template-columns:40px 1fr 40px;
    gap:8px;
  }

  .sensei-carousel-btn{
    width:40px;
    height:40px;
    font-size:1.4rem;
  }
}

@media (max-width:768px){
  .hero-mini-inner{
    padding:7px 0 6px;
  }

  .hero-mini h1{
    font-size:1.2rem;
    line-height:1.05;
  }

  .hero-mini-inner p{
    font-size:.86rem;
    line-height:1.25;
  }

  .breadcrumb{
    font-size:.75rem;
    margin-bottom:2px;
  }
}

@media (max-width:760px){
  .container{
    width:min(var(--container),calc(100% - 20px));
  }

  section{padding:64px 0}

  .hero-grid{
    min-height:auto;
    padding:48px 0 56px;
  }

  .hero-home-upgraded .hero-grid{
    padding:54px 0 62px;
    min-height:auto;
  }

  .brand-wordmark{gap:1px}

  .brand-line{
    flex-wrap:wrap;
    row-gap:2px;
    white-space:normal;
  }

  .quote-wrap{margin-top:-24px}
  .cards-4,
  .stats,
  .instructor-grid,
  .photo-gallery,
  .video-gallery{
    grid-template-columns:1fr;
  }

  .schedule-row{flex-direction:column}

  .sensei-slide img{
    height:280px;
  }

  .sensei-carousel-track{
    min-height:340px;
  }

  .home-gallery-preview .figure img{
    height:auto;
    max-height:360px;
    object-fit:contain;
  }

  .hero-quick-points{
    gap:8px;
  }

  .hero-quick-points span{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .actions{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .figure,
  .card,
  .tile,
  .panel{
    padding:18px;
  }
}

@media (max-width:520px){
  body{
    padding-top:82px;
  }

  .topbar-inner{
    min-height:82px;
    gap:12px;
  }

  .container{
    width:calc(100% - 16px);
  }

  .brand-premium{
    gap:8px;
    min-width:0;
  }

  .brand-main{
    font-size:1.08rem;
    letter-spacing:.03em;
  }

  .brand-sub{
    font-size:.88rem;
  }

  .brand-tag{
    display:none;
  }

  .brand-emblem{
    width:46px;
    height:46px;
  }

  .site-logo{
    width:38px;
    height:38px;
  }

  nav a,
  .dropdown-toggle{
    font-size:.95rem;
    padding:11px 12px;
  }

  .section-head h2{
    font-size:1.45rem;
  }

  .hero h1{
    font-size:1.6rem;
  }

  .hero p{
    font-size:.98rem;
  }

  .photo-gallery .figure img,
  .video-figure video{
    height:auto;
    max-height:320px;
    object-fit:contain;
  }

  .lightbox{
    padding:12px;
  }

  .lightbox-close{
    top:0;
    right:0;
  }
}

@media (max-width:380px){
  .brand-main{
    font-size:.95rem;
  }

  .brand-sub{
    font-size:.78rem;
  }

  .nav-toggle{
    padding:8px 10px;
    font-size:.9rem;
  }
}

/* ===== CORRECTIF HERO MINI ===== */
section.hero-mini{
  padding:0 !important;
}