:root {
  --bg: #0c1d2d;
  --header: #04090f;
  --red: #c71314;
  --cyan: #4ae5e5;
  --text: #fff;
  --muted: #b8c5d0;
  --line: rgba(255, 255, 255, 0.12);
  --shell: 1350px;
  --content: 72%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-top: 63px;
}

body.has-preview { padding-top: 95px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { opacity: 0.88; }
.muted { color: var(--muted); font-weight: 400; }

.site-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
}

.content-column {
  width: var(--content);
  max-width: calc(var(--shell) - 50px);
  margin-inline: auto;
  padding: 25px;
}

.preview-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #92400e;
  color: #fef3c7;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 200;
  background: var(--header);
}

body.has-preview .site-header { top: 32px; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 63px;
  width: min(100% - 1rem, var(--shell));
  margin-inline: auto;
  padding: 0.35rem 0;
}

.nav-main {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 1.6rem;
}

.nav-main > a,
.nav-dropdown-toggle {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 27px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.nav-main a.nav-home.is-active,
.nav-main a.is-active {
  background: #fff;
  color: #000;
}

.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-label {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 8px 15px 27px;
}
.nav-dropdown-toggle {
  color: #fff;
  font-size: 14px;
  padding: 15px 12px 15px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--header);
  border: 1px solid var(--line);
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 10px 30px;
  border-bottom: 1px solid rgba(196, 196, 196, 0.35);
}
.nav-dropdown-menu a.is-active { color: var(--cyan); }

.nav-lang,
.footer-lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  font-weight: 600;
}
.nav-lang a, .footer-lang a, .lang-active { color: #fff; padding: 0 0.25rem; }
.lang-active { color: var(--cyan); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-right: auto;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }

/* Hero — photo seule ; logo chevauche le bas ; sociaux sous le bandeau */
.hero-area { background: #000; }

.hero-shell { background: #000; }

.hero-banner {
  width: 100%;
  height: 235px;
  overflow: hidden;
  background: #000;
}

.hero-banner img {
  width: 100%;
  height: 235px;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 24px 12px;
  background: var(--bg);
  gap: 1rem;
}

.hero-logo {
  flex-shrink: 0;
  margin-top: -54px;
  line-height: 0;
  z-index: 2;
}
.hero-logo img { width: 210px; height: auto; }

.home-content .content-column {
  padding-top: 8px;
}

.hero-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  padding-bottom: 2px;
}
.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #fff;
}
.hero-social svg { width: 30px; height: 30px; fill: currentColor; }

/* Accueil */
.home-content,
.page-content {
  background: var(--bg);
  padding-bottom: 1rem;
}

.home-content .content-column {
  padding-top: 8px;
}

.home-title,
.page-title {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 24px;
  font-weight: 600;
  text-transform: none;
  line-height: 1.2;
}

.home-address-label {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.home-address-line {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.home-address-line a {
  color: var(--cyan);
  text-decoration: underline;
  text-transform: none;
}
.home-address-detail {
  display: inline;
  color: var(--text);
  font-weight: 700;
  text-transform: none;
}

.home-link-title {
  margin: 0 0 9px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
.home-link-title a {
  color: var(--cyan);
  text-decoration: none;
  text-transform: none;
}
.home-link-title a:hover { text-decoration: underline; }

.home-announce-date {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
}

.home-links { display: grid; gap: 16px; }
.home-link-block-title {
  margin: 0 0 9px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
.home-link-block-title a {
  color: var(--cyan);
  text-decoration: none;
  text-transform: none;
}
.home-link-block-title a:hover { text-decoration: underline; }
.home-link-block-title .link-prefix {
  color: var(--text);
  font-weight: 600;
}
.home-link-block p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.page-body {
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
}
.page-body > :first-child { margin-top: 0; }
.page-body p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.45;
}
.page-body h2 {
  margin: 1.75rem 0 0.65rem;
  color: var(--cyan);
  font-size: 19px;
  font-weight: 600;
  text-transform: none;
  line-height: 1.35;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.page-body ul, .page-body ol {
  margin: 0 0 16px 1.25rem;
  padding: 0;
  color: var(--text);
}
.page-body li a {
  color: var(--cyan);
  text-decoration: underline;
}
.page-body li { margin: 0.35rem 0; }
.page-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-body strong { font-weight: 700; color: var(--text); }
.page-body em { font-style: italic; }
.page-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.section-lead, .session-line, .note-line, .trial-line {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 17px;
}

.schedule-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--line);
}
.schedule-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.18);
}
.schedule-table th, .schedule-table td {
  padding: 0.85rem 0.75rem;
  text-align: center;
  border: 1px solid var(--line);
}
.schedule-table thead th {
  background: rgba(199, 19, 20, 0.25);
  font-size: 0.8125rem;
  text-transform: uppercase;
}
.time-cell { color: var(--cyan); font-weight: 700; white-space: nowrap; }
.level-badge { color: #f6cc55; font-size: 0.75rem; font-weight: 700; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.price-card {
  border: 1px solid var(--line);
  padding: 0.85rem 0.65rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
}
.price-name {
  display: block;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.price-amount { margin: 0; font-size: 1.5rem; font-weight: 700; }
.price-detail { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.875rem; }

.section-contact { background: #000; padding: 2rem 0 2.5rem; }
.contact-shell { padding: 0 25px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-heading {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.contact-heading + .contact-list { margin-bottom: 1.75rem; }
.contact-list, .info-list { list-style: none; margin: 0; padding: 0; }
.contact-list li, .info-list li { margin: 0.35rem 0; }
.contact-list a { color: var(--cyan); }
.info-list li { color: #fff; }

.contact-map {
  display: block;
  position: relative;
  cursor: pointer;
}
.contact-map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  background: #ddd;
  pointer-events: none;
}

.site-footer {
  background: #000;
  padding: 1.25rem 0 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-lang { justify-content: center; margin-bottom: 0.75rem; }
.footer-copy { margin: 0; color: var(--cyan); font-size: 1rem; font-weight: 700; }

@media (max-width: 900px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav-main, .nav-lang {
    display: none;
    position: static;
    transform: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .header-inner.is-open .nav-main,
  .header-inner.is-open .nav-lang { display: flex; }
  .nav-main { position: static; transform: none; }
  .nav-dropdown-menu {
    position: static;
    display: block;
    border: 0;
    background: transparent;
    padding-left: 1rem;
  }
  .hero-banner, .hero-banner img { height: 131px; }
  .hero-bar { padding: 0 12px 8px; min-height: 44px; }
  .hero-logo { margin-top: -28px; }
  .hero-logo img { width: 140px; max-width: 55vw; }
  .hero-social svg { width: 26px; height: 26px; }
  .content-column { width: 100%; padding: 15px; }
  .price-grid { grid-template-columns: 1fr; }
}
