/* ============================================================
   CHARTE GRAPHIQUE ATHLETICA
   ============================================================ */
:root {
    --bleu-athletica: #004666; /* Bleu Pool */
    --bleu-sombre: #002d42;
    --rouge-gym: #e6234e;      /* Rouge Gym */
    --gris-silver: #a0a0a0;    /* Gris Silver */
    --gris-fond: #d6d6d6;      /* Fond de page gris clair */
    --blanc: #ffffff;
    --noir: #2a2a2a;
    --gris-bordure: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--gris-fond);
    font-family: 'Montserrat', sans-serif;
    color: var(--noir);
    line-height: 1.6;
    overflow-x: hidden;
}

sup { font-size: 0.6em; }

/* ============================================================
   NAVIGATION (Identique)
   ============================================================ */
.navbar {
    background: rgba(0, 77, 109, 1);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.main-logo { max-width: 140px; height: auto; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--blanc);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-menu a.active { opacity: 1; border-bottom: 2px solid var(--blanc); }

.btn-member {
    background: var(--blanc);
    color: var(--bleu-athletica) !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800 !important;
    font-size: 0.7rem !important;
}

/* ============================================================
   STRUCTURE TARIFS
   ============================================================ */
.tarif-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
    text-align: center;
}

.tarif-header { margin-bottom: 40px; }
.center-logo { max-width: 120px; margin-bottom: 20px; }
h1 { font-weight: 800; font-size: 2rem; color: var(--noir); margin-bottom: 10px; }
.highlight { color: var(--gris-silver); }
.assur-notice { font-size: 0.8rem; color: #666; font-style: italic; }

h2 { font-weight: 800; font-size: 2.5rem; text-transform: uppercase; margin-bottom: 20px; }
.title-gym { color: var(--rouge-gym); }
.title-pool { color: var(--bleu-athletica); }

.section-title { font-weight: 800; font-size: 1.2rem; text-transform: uppercase; margin: 40px 0 20px; text-align: left; }

/* Thèmes de couleur */
.gym-theme { --theme-color: var(--rouge-gym); }
.pool-theme { --theme-color: var(--bleu-athletica); }
.private-theme { --theme-color: #777; }

/* ============================================================
   BLOCS DE PACKS (GYM vs POOL)
   ============================================================ */
.grid-main-packs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pack-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pack-block {
    display: flex;
    background: var(--blanc);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pack-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 20px 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--blanc);
}

.silver-card .pack-label { background-color: var(--gris-silver); color: var(--noir); }

.gold-card-gym .pack-label { background-color: var(--rouge-gym); }
.gold-card-pool .pack-label { background-color: var(--bleu-athletica); }

.pack-options {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Boutons de prix cliquables */
.price-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--gris-bordure);
    padding: 15px 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--noir);
    cursor: pointer;
    transition: var(--transition);
}

.price-btn small { font-size: 0.7rem; color: #777; font-weight: 400; }

.price-btn:last-child { border-bottom: none; }

.price-btn:hover {
    background-color: var(--theme-color);
    color: var(--blanc);
}

.price-btn:hover small { color: rgba(255,255,255,0.7); }

/* ============================================================
   BLOCS ACCÈS PONCTUELS
   ============================================================ */
.grid-access {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.access-card {
    background: var(--blanc);
    padding: 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 5px solid transparent;
    text-align: left;
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-left-color: var(--theme-color);
}

.access-card h4 { font-weight: 800; text-transform: uppercase; font-size: 1rem; color: var(--theme-color); margin-bottom: 10px; }
.access-card .price { font-weight: 800; font-size: 1.5rem; color: var(--noir); }
.access-card p { font-size: 0.9rem; margin-top: 5px; }
.access-card .sub { font-size: 0.7rem; color: #777; font-style: italic; }

/* ============================================================
   BLOCS PARKING
   ============================================================ */
.title-parking { color: #555; }

.grid-parking {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.parking-item {
    background: #555;
    color: var(--blanc);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: left;
}

.parking-item:hover { background-color: var(--blanc); color: #555; }

.park-price { font-weight: 800; font-size: 1.2rem; margin-left: 10px; }
.parking-item small { font-size: 0.7rem; color: rgba(255,255,255,0.7); display: block; }
.parking-item:hover small { color: #777; }

/* ============================================================
   FOOTER
   ============================================================ */
.tarif-footer {
    background: var(--bleu-sombre);
    color: var(--blanc);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 50px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media screen and (max-width: 900px) {
    .grid-main-packs { grid-template-columns: 1fr; gap: 40px; }
    .grid-access { grid-template-columns: 1fr 1fr; }
    .grid-parking { grid-template-columns: 1fr 1fr; }
    h2 { font-size: 2rem; }
}

@media screen and (max-width: 600px) {
    .tarif-container { padding: 0 3%; }
    .nav-container { padding: 0 3%; }
    .nav-menu { display: none; } /* On cache le menu sur très petit écran */
    h1 { font-size: 1.5rem; }
    .grid-access { grid-template-columns: 1fr; }
    .grid-parking { grid-template-columns: 1fr; }
    .access-card { text-align: center; }
}