:root {
    --nav-h: 68px;
    --gold: #C5A880;
    --gold-light: #E9D8AD;
    --bg: #0A0A0A;
    --bg-elevated: #111111;
    --card: #161616;
    --border: #2a2a2a;
    --border-hover: #3a3a3a;
    --text: #F5F5F0;
    --text-secondary: #C8C4BC;
    --text-muted: #8A8680;
}
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
img, iframe, video { max-width: 100%; }
section { scroll-margin-top: 80px; }
input, textarea, select { color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }

.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-gotham { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.025em; }

.btn-primary {
    background-color: var(--gold);
    color: #0A0A0A;
    font-weight: 600;
    border-radius: 9999px;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background-color: var(--gold-light); transform: translateY(-1px); }

.nav-scrolled {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);
}

.door-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.door-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.6);
}
.card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }

.youtube-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 0.75rem; background: #000; }
.youtube-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.events-carousel { position: relative; max-width: 520px; margin: 0 auto; overflow: hidden; border-radius: 1rem; background: #111; border: 1px solid #2a2a2a; }
.events-track { display: flex; transition: transform 0.4s ease; }
.events-slide { flex: 0 0 100%; }
.events-slide img { width: 100%; height: 360px; object-fit: contain; display: block; background: #111; }
.ev-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 9999px; border: 1px solid #3a3a3a; background: rgba(10,10,10,0.75); color: #C5A880; cursor: pointer; z-index: 5; }
.ev-btn--prev { left: 12px; }
.ev-btn--next { right: 12px; }
.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 5; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0; }
.carousel-dots button.active { background: #C5A880; }
@media (max-width: 600px) { .events-slide img { height: 260px; } }

.testimonial-card { width: 340px; flex-shrink: 0; }
.carousel-btn {
    width: 44px; height: 44px; border-radius: 9999px; border: 1px solid #3a3a3a;
    color: rgba(255,255,255,0.65); display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease; background: transparent; cursor: pointer;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.carousel-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.disciplines-grid { display: grid; gap: 1.25rem; }
.disciplines-grid .discipline-card { min-width: 0; }
@media (min-width: 640px) {
    .disciplines-grid { grid-template-columns: repeat(6, 1fr); }
    .disciplines-grid .discipline-card { grid-column: span 2; }
    .disciplines-grid .discipline-card:nth-child(4) { grid-column: 2 / 4; }
    .disciplines-grid .discipline-card:nth-child(5) { grid-column: 4 / 6; }
}
@media (max-width: 639px) {
    .disciplines-grid { grid-template-columns: 1fr; }
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    justify-items: center;
    max-width: 780px;
    margin: 0 auto;
}
.instagram-item { width: 100%; max-width: 360px; min-width: 0; }
.instagram-item blockquote.instagram-media {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
}
@media (max-width: 800px) {
    .instagram-grid { grid-template-columns: 1fr; }
}

.parcours-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.parcours-list li > span:first-child { flex-shrink: 0; }
.parcours-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

.coaching-metrics-last {
    grid-column: 1 / -1;
    max-width: 260px;
    width: 100%;
    justify-self: center;
}

.tarif-row { align-items: stretch; }
.tarif-row > .card { height: 100%; }

#navbar > .nav-bar {
    height: var(--nav-h);
    padding-top: 0;
    padding-bottom: 0;
}
#mobileMenu {
    background: #111;
    border-top: 1px solid #333;
}

.hero-media {
    display: block;
    width: 100%;
    line-height: 0;
}
.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
}
@media (max-width: 420px) {
    .testimonial-card { width: min(280px, calc(100vw - 3rem)); }
    header h1 { overflow-wrap: anywhere; }
}

header.hero {
    padding-top: var(--nav-h);
}
