/* ═══════════════════════════
   RESET & VARIABLES
═══════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --fond:      #2c3e50;
  --fond-alt:  #354a5e;
  --fond-card: #3a5168;
  --fond-deep: #253444;
  --petrole:   #4a9db0;
  --glacier:   #7ec8d8;
  --blanc:     #ffffff;
  --brume:     #e8f0f5;
  --texte:     #c8dae5;
  --texte-soft:#8fafc0;
  --nav-h:     60px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--fond);
  color: var(--brume);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════
   NAVIGATION
═══════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(37,52,68,0.97);
  border-bottom: 0.5px solid rgba(74,157,176,0.25);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-svg { width: 26px; height: 23px; flex-shrink: 0; }
.nav-logo-text {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 18px;
  color: var(--blanc);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brume);
  transition: all 0.3s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(37,52,68,0.99);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(74,157,176,0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  padding: 8px 0;
}
.nav-menu.open { transform: translateY(0); }

.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte);
  text-decoration: none;
  padding: 14px 24px;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:last-child { border-bottom: none; }
.nav-menu a:hover, .nav-menu a.active {
  color: var(--blanc);
  background: rgba(74,157,176,0.08);
}

.nav-links-desktop {
  display: none;
  gap: 28px;
  list-style: none;
}
.nav-links-desktop a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-soft);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links-desktop a:hover { color: var(--blanc); }
.nav-links-desktop a.active { color: var(--blanc); border-bottom-color: var(--petrole); }

/* ═══════════════════════════
   PAGE WRAPPER
═══════════════════════════ */
.page-content { padding-top: var(--nav-h); min-height: 100vh; }

/* ═══════════════════════════
   SECTION LAYOUT
═══════════════════════════ */
.section { padding: 56px 20px; max-width: 1160px; margin: 0 auto; }
.s-tag { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--petrole); margin-bottom: 12px; }
.s-title { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: clamp(36px, 8vw, 56px); color: var(--blanc); margin-bottom: 18px; line-height: 1.05; }
.s-body { font-size: 14px; line-height: 2; color: var(--texte); }
.divider { width: 100%; height: 0.5px; background: linear-gradient(to right, transparent, var(--petrole), transparent); opacity: 0.3; }

/* ═══════════════════════════
   BUTTONS
═══════════════════════════ */
.btn-p {
  background: var(--petrole);
  color: var(--blanc);
  border: none;
  padding: 15px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-p:hover { background: #3a8090; }

.btn-g {
  background: transparent;
  color: var(--blanc);
  border: 0.5px solid rgba(255,255,255,0.3);
  padding: 15px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-g:hover { border-color: var(--blanc); }

/* ═══════════════════════════
   PITCH BLOCKS
═══════════════════════════ */
.pitch-grid { display: flex; flex-direction: column; gap: 3px; margin-top: 32px; }
.pitch {
  background: var(--fond-card);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.pitch-num {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 52px;
  color: rgba(74,157,176,0.12);
  position: absolute;
  top: 10px; right: 16px;
  line-height: 1;
}
.pitch-title { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 22px; color: var(--blanc); margin-bottom: 8px; }
.pitch-text { font-size: 13px; line-height: 1.85; color: var(--texte); }

/* ═══════════════════════════
   COURS
═══════════════════════════ */
.cours-grid { display: flex; flex-direction: column; gap: 3px; margin-top: 32px; }
.cours-card { background: var(--fond-card); padding: 32px 24px; border-left: 2px solid var(--petrole); }
.cours-level { font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--petrole); margin-bottom: 12px; }
.cours-name { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 32px; color: var(--blanc); margin-bottom: 6px; line-height: 1; }
.cours-time { font-size: 13px; color: var(--texte); margin-bottom: 18px; }
.cours-time strong { color: var(--blanc); font-weight: 500; }
.cours-desc { font-size: 13px; line-height: 1.85; color: var(--texte); margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border: 0.5px solid rgba(255,255,255,0.18); color: var(--texte); }

.lieu {
  margin-top: 32px;
  border: 0.5px solid rgba(74,157,176,0.25);
  padding: 28px 24px;
  background: var(--fond-card);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.lieu-icon { font-size: 24px; color: var(--petrole); flex-shrink: 0; line-height: 1; margin-top: 2px; }
.lieu-title { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 22px; color: var(--blanc); margin-bottom: 8px; }
.lieu-detail { font-size: 13px; color: var(--texte); line-height: 1.85; }
.lieu-detail strong { color: var(--blanc); font-weight: 500; }

/* ═══════════════════════════
   TARIFS
═══════════════════════════ */
.tarif-grid { display: flex; flex-direction: column; gap: 3px; margin-top: 32px; }
.tarif-card { background: var(--fond-card); padding: 32px 24px; }
.tarif-card.feat { border: 1.5px solid var(--petrole); position: relative; }
.tarif-badge { position: absolute; top: -1px; right: 24px; background: var(--petrole); color: var(--blanc); font-size: 8px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 5px 14px; }
.tarif-name { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--petrole); margin-bottom: 12px; }
.tarif-price { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 56px; color: var(--blanc); line-height: 1; margin-bottom: 4px; }
.tarif-price sup { font-size: 24px; vertical-align: super; }
.tarif-desc { font-size: 13px; color: var(--texte); margin-bottom: 22px; line-height: 1.75; }
.tarif-li { font-size: 13px; color: var(--texte); padding: 8px 0; border-bottom: 0.5px solid rgba(255,255,255,0.06); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.tarif-li:last-child { border-bottom: none; }
.tarif-li::before { content: '—'; color: var(--petrole); font-size: 10px; flex-shrink: 0; margin-top: 2px; }
.tarif-note { margin-top: 28px; border-left: 2px solid var(--petrole); background: rgba(74,157,176,0.06); padding: 22px 20px; }
.tarif-note p { font-size: 13px; color: var(--texte); line-height: 1.85; margin-bottom: 8px; }
.tarif-note p:last-child { margin-bottom: 0; }
.tarif-note strong { color: var(--blanc); font-weight: 500; }

/* ═══════════════════════════
   ÉVÉNEMENTS
═══════════════════════════ */
.events-list { margin-top: 32px; display: flex; flex-direction: column; gap: 3px; }
.ev-card {
  background: var(--fond-card);
  padding: 22px 20px;
  border-left: 2px solid transparent;
}
.ev-card.ev-g { border-left-color: var(--glacier); }
.ev-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ev-date-block { flex-shrink: 0; text-align: center; }
.ev-day { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 32px; color: var(--petrole); line-height: 1; }
.ev-month { font-size: 8px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--texte-soft); margin-top: 1px; }
.ev-price-block { text-align: right; }
.ep-val { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 24px; line-height: 1; }
.ep-lbl { font-size: 8px; color: var(--texte-soft); }
.ev-type { font-size: 8px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; }
.col-g { color: var(--glacier); }
.ev-title { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 20px; color: var(--blanc); margin-bottom: 6px; line-height: 1.2; }
.ev-desc { font-size: 12px; color: var(--texte); line-height: 1.7; margin-bottom: 10px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-met { font-size: 10px; color: var(--texte-soft); }
.ev-met strong { color: var(--blanc); font-weight: 500; }
.ev-note { background: rgba(74,157,176,0.07); border-left: 2px solid var(--petrole); padding: 16px 20px; margin-top: 16px; font-size: 13px; color: var(--texte); line-height: 1.8; }
.ev-note a { color: var(--glacier); }

/* ═══════════════════════════
   BLOG
═══════════════════════════ */
.blog-grid { display: flex; flex-direction: column; gap: 3px; margin-top: 32px; }
.blog-card { background: var(--fond-card); padding: 24px 20px; border-top: 2px solid var(--petrole); }
.blog-tag { font-size: 8px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--petrole); margin-bottom: 8px; }
.blog-title { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 20px; color: var(--blanc); margin-bottom: 8px; line-height: 1.3; }
.blog-excerpt { font-size: 13px; color: var(--texte); line-height: 1.75; margin-bottom: 10px; }
.blog-meta { font-size: 10px; color: var(--texte-soft); margin-bottom: 10px; }
.blog-read { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--glacier); display: inline-block; text-decoration: none; }

/* ═══════════════════════════
   CONTACT
═══════════════════════════ */
.contact-wrapper { margin-top: 32px; }
.contact-infos { display: flex; flex-direction: column; }
.ci { padding: 18px 0; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
.ci:first-child { border-top: 0.5px solid rgba(255,255,255,0.08); }
.ci-lbl { font-size: 8px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--petrole); margin-bottom: 6px; }
.ci-val { font-size: 15px; color: var(--blanc); line-height: 1.5; }
.ci-sub { font-size: 12px; color: var(--texte); margin-top: 2px; }
.contact-form { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.f-lbl { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte); margin-bottom: 4px; display: block; }
.f-inp, .f-sel, .f-ta {
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.18);
  color: var(--blanc);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.f-inp::placeholder, .f-ta::placeholder { color: var(--texte-soft); }
.f-inp:focus, .f-sel:focus, .f-ta:focus { border-color: var(--petrole); }
.f-sel { appearance: none; cursor: pointer; }
.f-sel option { background: var(--fond-deep); color: var(--blanc); }
.f-ta { height: 110px; resize: none; }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
footer {
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 28px 20px;
  background: var(--fond-deep);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.f-logo { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 18px; color: var(--texte-soft); }
.f-copy { font-size: 10px; color: rgba(143,175,192,0.45); }

/* ═══════════════════════════
   ANIMATIONS
═══════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════
   CTA INTERNE
═══════════════════════════ */
.cta-block {
  margin-top: 40px;
  background: rgba(74,157,176,0.07);
  border: 0.5px solid rgba(74,157,176,0.3);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cta-block p { font-size: 13px; color: var(--texte); line-height: 1.85; }
.cta-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ═══════════════════════════
   DESKTOP — 768px+
═══════════════════════════ */
@media (min-width: 768px) {
  nav { padding: 0 48px; }
  .burger { display: none; }
  .nav-menu { display: none !important; }
  .nav-links-desktop { display: flex; }

  .section { padding: 88px 56px; }

  .pitch-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cours-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .tarif-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

  .ev-card { display: flex; gap: 24px; align-items: flex-start; padding: 26px 28px; }
  .ev-date-block { text-align: center; width: 56px; flex-shrink: 0; }
  .ev-price-block { margin-left: auto; flex-shrink: 0; }
  .ev-header { display: block; margin-bottom: 0; }

  .contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact-infos { margin-top: 0; }
  .contact-form { margin-top: 0; }

  footer { flex-direction: row; justify-content: space-between; padding: 32px 56px; text-align: left; }
  .lieu { padding: 36px 40px; }
  .cta-block { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-links { flex-wrap: nowrap; }
  .btn-p, .btn-g { width: auto; }
}
