/* ============================================
   VIT'ALE — STYLE.CSS
   Palette : bleu nuit #0d1b3e · blanc #ffffff · or #c9a84c
   Typo : Playfair Display (titres) + DM Sans (corps)
   ============================================ */

:root {
    --blue:        #0d1b3e;
    --blue-mid:    #162348;
    --blue-light:  #1e3060;
    --gold:        #c9a84c;
    --gold-hover:  #b5913b;
    --white:       #ffffff;
    --off-white:   #f0f4fb;
    --grey-text:   #8899bb;
    --navbar-height: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--blue);
    background: var(--off-white);
    font-size: 16px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 7%;
    height: var(--navbar-height);
    background: var(--blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    border-bottom: 3px solid var(--gold);
    transition: height 0.3s ease;
}

.site-logo {
    height: 58px;
    width: auto;
    /* Le logo est bleu marine, on le rend blanc sur fond sombre */
    filter: brightness(0) invert(1);
}

.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links li a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.nav-links li a:hover { color: var(--gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(160deg, rgba(6,12,35,0.92) 0%, rgba(13,27,62,0.78) 100%),
        url('photo2.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: calc(var(--navbar-height) + 60px) 8% 80px;
    position: relative;
    overflow: hidden;
}

/* Motif géométrique subtil en fond */
.hero-geo {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30,48,96,0.6) 0%, transparent 50%);
    pointer-events: none;
}
.hero-geo::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%;
}
.hero-geo::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 11%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 50%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
    font-weight: 500;
    position: relative;
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-content h1 span {
    color: var(--gold);
    font-style: italic;
}
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 0;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
    flex-wrap: wrap;
}

/* Indicateur scroll */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-scroll-hint span {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-primary {
    background: var(--gold);
    color: var(--blue) !important;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,168,76,0.4);
}

.btn-secondary {
    border: 1.5px solid rgba(255,255,255,0.5);
    color: white !important;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-outline {
    border: 1.5px solid var(--blue);
    color: var(--blue) !important;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--blue); color: white !important; }

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: calc(var(--navbar-height) + 70px) 8% 90px;
}

.section-dark {
    background: var(--blue);
    color: var(--white);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    margin-bottom: 60px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.01em;
}
.section-title.light { color: var(--white); }
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: -35px auto 55px;
    font-size: 0.95rem;
    color: #556;
    line-height: 1.8;
}

/* ============================================
   SERVICES
   ============================================ */
#services { background: var(--off-white); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 28px 36px;
    border-radius: 2px;
    border-top: 4px solid var(--gold);
    text-align: center;
    box-shadow: 0 4px 24px rgba(13,27,62,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13,27,62,0.13);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}
.service-icon-wrap i {
    color: var(--gold);
    font-size: 1.5rem;
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--blue);
}
.service-card p { font-size: 0.9rem; color: #556; line-height: 1.7; }

/* Bloc paiement */
.payment-info {
    background: var(--blue);
    color: var(--white);
    padding: 40px 50px;
    border-radius: 2px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
    box-shadow: 0 20px 60px rgba(13,27,62,0.2);
}
.payment-icon-wrap {
    width: 72px;
    height: 72px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.payment-icon-wrap i { color: var(--gold); font-size: 1.8rem; }
.payment-text { flex: 1; }
.payment-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}
.payment-text p { font-size: 0.9rem; opacity: 0.8; line-height: 1.7; }
.payment-cta { flex-shrink: 0; }

/* ============================================
   INFOS PRATIQUES
   ============================================ */
.location-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.loc-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 36px 30px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(4px);
    transition: background 0.25s, border-color 0.25s;
}
.loc-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201,168,76,0.3);
}

.loc-icon {
    width: 48px;
    height: 48px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.loc-icon i { color: var(--gold); font-size: 1.1rem; }

.loc-item h4 {
    color: var(--gold);
    font-size: 0.75rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.loc-item > p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}
.loc-item > p i { color: var(--gold); width: 14px; flex-shrink: 0; font-size: 0.85rem; }

.info-list {
    list-style: none;
    padding: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}
.info-list li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    line-height: 1.5;
}
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: var(--white); }

.horaires-mini {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}
.horaires-mini strong {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.horaires-mini p { margin-bottom: 4px; }

/* ============================================
   LOCATION DE SALLES
   ============================================ */
#salles { background: var(--white); }

.salles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.salle-card {
    background: var(--off-white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(13,27,62,0.07);
    border-left: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.salle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13,27,62,0.13);
}

.salle-img {
    position: relative;
    overflow: hidden;
}
.salle-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.salle-card:hover .salle-img img { transform: scale(1.05); }

.salle-cap {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--blue);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.salle-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.salle-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--blue);
    margin-bottom: 6px;
}
.salle-meta {
    font-size: 0.8rem;
    color: #889;
    margin-bottom: 12px;
}
.salle-meta i { color: var(--gold); }
.salle-desc {
    font-size: 0.88rem;
    color: #445;
    line-height: 1.7;
    margin-bottom: 18px;
}

.salle-equip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}
.salle-equip span {
    background: var(--white);
    border: 1px solid #dde;
    color: var(--blue);
    font-size: 0.76rem;
    padding: 4px 12px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.salle-equip i { color: var(--gold); font-size: 0.7rem; }

.salle-tarifs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}
.tarif {
    border-radius: 2px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tarif.asbl {
    background: var(--blue);
    color: var(--white);
}
.tarif.non-asbl {
    background: var(--white);
    border: 1px solid #dde;
    color: var(--blue);
}
.tarif-type {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2px;
}
.tarif.non-asbl .tarif-type { color: #889; }
.tarif-prix {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}
.tarif.non-asbl .tarif-prix { color: var(--blue); }
.tarif-prix small {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 2px;
}
.tarif ul { list-style: none; padding: 0; margin-top: 6px; }
.tarif ul li { font-size: 0.76rem; opacity: 0.75; line-height: 2; }

.salles-cta {
    text-align: center;
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.salles-cta p {
    width: 100%;
    font-size: 0.9rem;
    color: #667;
    margin-bottom: 6px;
}

/* ============================================
   RECRUTEMENT
   ============================================ */
.recrutement-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.board-container {
    flex: 0 0 480px;
    background: #c9a84c;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 22px;
    border: 10px solid #8b6820;
    border-radius: 4px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.35), 0 20px 50px rgba(0,0,0,0.3);
}
.pinned-card {
    background: #fff;
    height: 200px;
    padding: 7px;
    position: relative;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.pinned-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 13px;
    background: radial-gradient(circle at 30% 30%, #4a7aff, #0d1b3e);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.pinned-card img { width: 100%; height: 100%; object-fit: cover; }

.recrutement-text-side { flex: 1; min-width: 0; color: var(--white); }
.recrutement-text-side h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: var(--white);
}
.recrutement-text-side > p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: 10px;
}

.recrutement-list { list-style: none; margin: 22px 0; padding: 0; }
.recrutement-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}
.recrutement-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.postuler-box { margin-top: 28px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #060d1e;
    color: rgba(255,255,255,0.6);
    padding: 50px 8%;
    text-align: center;
    font-size: 0.88rem;
    border-top: 1px solid rgba(201,168,76,0.2);
}
.footer-logo-wrap { margin-bottom: 20px; }
.footer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}
footer p { line-height: 2; }
footer strong { color: rgba(255,255,255,0.85); }
.footer-contact { color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-copy { margin-top: 24px; font-size: 0.78rem; opacity: 0.4; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .recrutement-wrapper { flex-direction: column; align-items: center; }
    .board-container { flex: none; width: 100%; max-width: 580px; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .location-flex { grid-template-columns: repeat(2, 1fr); }
    .payment-info { flex-direction: column; text-align: center; gap: 24px; }
    .payment-cta { width: 100%; text-align: center; }
}

@media (max-width: 900px) {
    :root { --navbar-height: 72px; }
    .navbar { padding: 0 5%; }
    .site-logo { height: 44px; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: var(--blue);
        padding: 20px 0;
        border-top: 2px solid var(--gold);
        z-index: 1999;
    }
    .nav-links.open { display: flex; }
    .nav-links li a {
        display: block;
        padding: 14px 8%;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    section { padding: calc(var(--navbar-height) + 50px) 5% 70px; }
    .salles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
    .btn-primary, .btn-secondary, .btn-outline { width: 100%; max-width: 300px; text-align: center; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .location-flex { grid-template-columns: repeat(2, 1fr); }
    .salle-tarifs { grid-template-columns: 1fr; }
    .board-container { grid-template-columns: 1fr; max-width: 300px; }
    .pinned-card { height: 180px; }
    footer { padding: 40px 5%; }
}
