﻿/* =============================================================
   fo_style_module_ateliers.css — Styles FO module ateliers
   Chargé par fo_header.php sur toutes les pages du module.
   ============================================================= */

/* ----- Variables & Base ------------------------------------ */
:root {
    --wine:      #6D304B;
    --wine-dark: #55243b;
    --gold:      #a68d64;
    --bg-light:  #f4f4f4;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    background: var(--bg-light);
    color: #333;
}

/* ----- Navbar ---------------------------------------------- */
.navbar-wbs            { background-color: #fff; border-bottom: 2px solid var(--wine); }
.navbar-brand          { display: flex; align-items: center; }
.navbar-brand img      { max-height: 80px; width: auto; }
.nav-link              { color: #333 !important; font-weight: 500; }
.nav-link:hover        { color: var(--wine) !important; }
.nav-link.active-lang  { font-weight: 600; color: var(--wine) !important; text-decoration: underline; }
.btn-lang-switch       { border: 1px solid #ccc; color: #666 !important; line-height: 1.4; }
.btn-lang-switch:hover { border-color: var(--wine); color: var(--wine) !important; }

/* ----- Boutons --------------------------------------------- */
.btn-wine              { background: var(--wine); color: #fff; border: none; }
.btn-wine:hover        { background: var(--wine-dark); color: #fff; }
.btn-outline-wine      { border: 1.5px solid var(--wine); color: var(--wine); background: transparent; }
.btn-outline-wine:hover { background: var(--wine); color: #fff; }

/* ----- Badges ---------------------------------------------- */
.badge-presque  { background-color: #e07b00; }
.badge-complet  { background-color: #c0392b; }
.badge-theme    { background-color: var(--gold); color: #222; font-weight: 500; }

/* ----- Typographie ----------------------------------------- */
.prix-label    { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--wine); font-weight: 600; }
.section-title { font-family: 'Playfair Display', serif; color: var(--wine); font-weight: 600; line-height: 1.4; }
.divider-wine  { border-color: var(--gold); opacity: 1; border-width: 2px; }

/* ----- Héro commun ----------------------------------------- */
.hero-atelier { background: var(--wine); color: #fff; padding: 1.5rem 0 1.5rem; }
.hero-atelier .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.6); }
.hero-atelier .breadcrumb-item.active { color: rgba(255,255,255,.75); }
.hero-atelier .breadcrumb-link { color: #fff; text-decoration: underline; text-underline-offset: 2px; opacity: .85; }
.hero-atelier .breadcrumb-link:hover { opacity: 1; }

/* ----- Navigation module (2 entrées) ----------------------- */
.module-nav-card {
    border: 2px solid #e0d6d9;
    transition: border-color .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.module-nav-card:hover {
    border-color: var(--wine);
    box-shadow: 0 3px 16px rgba(109,48,75,.12);
    color: inherit;
    text-decoration: none;
}
.module-nav-card.active {
    border-color: var(--wine);
    box-shadow: 0 3px 16px rgba(109,48,75,.12);
}
.module-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(109,48,75,.1);
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--wine);
}
.module-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
}
.module-nav-desc {
    font-size: .82rem;
    color: #777;
    margin-top: .15rem;
}

/* ----- Cartes ateliers (liste) ----------------------------- */
.card-atelier         { border: none; box-shadow: 0 2px 8px rgba(0,0,0,.07); transition: box-shadow .2s; }
.card-atelier:hover   { box-shadow: 0 4px 18px rgba(107,26,42,.15); }
.card-atelier-img     { height: 200px; width: 100%; object-fit: cover; display: block; }
.card-atelier-placeholder {
    height: 180px;
    background: linear-gradient(135deg, rgba(109,48,75,.13), rgba(166,141,100,.13));
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-atelier-placeholder i { font-size: 3rem; color: var(--wine); opacity: .35; }

/* ----- Témoignages ----------------------------------------- */
.temoignage-card { background: #fff; border-left: 3px solid var(--gold); }

/* ----- Cartes sessions (agenda) ----------------------------- */
.session-card {
    border: 1px solid #e8e0e0;
    overflow: hidden;
    transition: box-shadow .2s;
    background: #fff;
    border-radius: .375rem;
    position: relative;
}
.session-card:hover { box-shadow: 0 4px 18px rgba(107,26,42,.12); }

.session-date-bloc {
    width: 150px;
    min-width: 150px;
    flex-shrink: 0;
    background: var(--wine);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem .75rem;
    text-align: center;
}
.session-date-nomjour { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; line-height: 1; margin-bottom: .25rem; }
.session-date-jour    { font-family: 'Playfair Display', serif; font-size: 1.8rem; line-height: 1; font-weight: 600; }
.session-date-mois    { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; opacity: .85; margin-top: .25rem; }
.session-date-heure   { font-size: .75rem; opacity: .8; margin-top: .3rem; }

/* ----- Carousel atelier (page détail) ---------------------- */
.atelier-carousel { border-radius: .5rem; overflow: hidden; }
.atelier-carousel img { height: 420px; object-fit: cover; display: block; width: 100%; }
@media (max-width: 575px) { .atelier-carousel img { height: 240px; } }

/* ----- Section présentation (vue détail) ------------------- */
.atelier-view-bg { background: #fff; }

.atelier-lead {
    font-size: 1.08rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.55;
}

.atelier-recap {
    background: #faf7f4;
    border-radius: .4rem;
    padding: .25rem .75rem;
}

/* ----- Témoignages intégrés (colonne présentation) --------- */
.atelier-temos-mini {
    border-top: 1px solid #ebe4e4;
    padding-top: 1.25rem;
}

.atelier-temos-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #999;
    margin-bottom: .75rem;
}

.atelier-temo-mini {
    padding-left: .875rem;
    border-left: 2px solid var(--gold);
    margin-bottom: .875rem;
}

/* ----- Séparateurs de mois (agenda) ------------------------ */
.mois-header {
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--wine);
    margin-bottom: 1rem;
}
.mois-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--wine);
    font-size: 1.15rem;
    margin: 0;
    font-weight: 600;
}
