/* ============================================================
   SIETTA 2026 – Styles portail premium v4.0
   Charte : Vert CCAK #1B4332 · Orange #E56F23 · Or #C9952A
   ============================================================ */

/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
    --sietta-green:         #1B4332;
    --sietta-green-light:   #2D6A4F;
    --sietta-green-mid:     #40916C;
    --sietta-orange:        #E56F23;
    --sietta-orange-light:  #F4A261;
    --sietta-orange-dark:   #C85F1A;
    --sietta-gold:          #C9952A;
    --sietta-gold-light:    #F0C040;
    --sietta-white:         #FFFFFF;
    --sietta-gray-light:    #F5F6FA;
    --sietta-gray:          #E9ECEF;
    --sietta-text:          #212529;
    --sietta-text-muted:    #6C757D;
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.16);
    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
body.sietta-portal {
    font-family: 'Roboto', 'Open Sans', -apple-system, Arial, sans-serif;
    color: var(--sietta-text);
    background-color: var(--sietta-gray-light);
    overflow-x: hidden;
}

.sietta-main {
    min-height: calc(100vh - 200px);
}

/* ─── Utilitaires couleurs ───────────────────────────────────────────────── */
.bg-sietta-green   { background-color: var(--sietta-green) !important; }
.bg-sietta-orange  { background-color: var(--sietta-orange) !important; }
.text-sietta-green { color: var(--sietta-green) !important; }
.text-sietta-orange{ color: var(--sietta-orange) !important; }
.text-sietta-gold  { color: var(--sietta-gold) !important; }

/* ─── Boutons ────────────────────────────────────────────────────────────── */
.btn-sietta {
    background: linear-gradient(135deg, var(--sietta-orange) 0%, var(--sietta-orange-dark) 100%);
    color: var(--sietta-white);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 32px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(229, 111, 35, 0.4);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-sietta:hover {
    background: linear-gradient(135deg, var(--sietta-orange-dark) 0%, #A84E12 100%);
    color: var(--sietta-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 111, 35, 0.5);
    text-decoration: none;
}

.btn-sietta-outline {
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--sietta-white);
    background: transparent;
    border-radius: 30px;
    font-weight: 600;
    padding: 11px 30px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-sietta-outline:hover {
    background: rgba(255,255,255,0.15);
    color: var(--sietta-white);
    border-color: var(--sietta-white);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline-sietta {
    border: 2px solid var(--sietta-orange);
    color: var(--sietta-orange);
    background: transparent;
    border-radius: 30px;
    font-weight: 600;
    padding: 10px 28px;
    transition: var(--transition);
}

.btn-outline-sietta:hover {
    background-color: var(--sietta-orange);
    color: var(--sietta-white);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.sietta-header {
    background-color: var(--sietta-green);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sietta-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--sietta-white);
}

.sietta-logo:hover {
    color: var(--sietta-orange-light);
    text-decoration: none;
}

.sietta-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-left: 10px;
}

.sietta-nav .btn-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.sietta-nav .btn-link:hover {
    color: var(--sietta-orange-light);
}

.sietta-lang-selector { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.sietta-lang-selector .lang-btn { color: rgba(255,255,255,0.7); text-decoration: none; padding: 2px 5px; border-radius: 3px; }
.sietta-lang-selector .lang-btn:hover { color: var(--sietta-orange); background: rgba(255,255,255,0.1); }
.sietta-lang-selector .lang-btn.lang-btn-active { color: var(--sietta-orange-light); font-weight: 700; }
/* Variante pour fond clair (topbar) */
.sietta-topbar .lang-btn-active { color: var(--sietta-orange) !important; font-weight: 700; }

/* ─── HERO SECTION ───────────────────────────────────────────────────────── */
.sietta-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sietta-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sietta-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0D2B1D 0%,
        #1B4332 35%,
        #2D6A4F 65%,
        #1B4332 100%
    );
}

/* Motif de fond subtil */
.sietta-hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(229, 111, 35, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 149, 42, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(64, 145, 108, 0.15) 0%, transparent 70%);
}

/* Texture ananas / cajou subtile */
.sietta-hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.04)'/%3E%3Ccircle cx='5' cy='5' r='1' fill='rgba(255,255,255,0.03)'/%3E%3Ccircle cx='55' cy='55' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.sietta-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 43, 29, 0.3) 0%,
        rgba(13, 43, 29, 0.1) 40%,
        rgba(13, 43, 29, 0.7) 100%
    );
    z-index: 1;
}

.sietta-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Vague décorative en bas du hero */
.sietta-hero-wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: auto;
}

.sietta-hero-wave svg {
    display: block;
    width: 100%;
}

/* ─── Badges héro ────────────────────────────────────────────────────────── */
.sietta-badge-edition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 149, 42, 0.2);
    border: 1px solid rgba(201, 149, 42, 0.5);
    color: var(--sietta-gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.sietta-badge-annee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 111, 35, 0.2);
    border: 1px solid rgba(229, 111, 35, 0.5);
    color: var(--sietta-orange-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ─── Titres héro ────────────────────────────────────────────────────────── */
.sietta-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--sietta-white);
    line-height: 1.05;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.sietta-hero-title .text-sietta-orange {
    color: var(--sietta-orange-light) !important;
}

.sietta-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    line-height: 1.6;
    max-width: 520px;
}

.sietta-hero-theme {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    border-left: 3px solid var(--sietta-orange);
    padding-left: 14px;
    line-height: 1.5;
}

.sietta-hero-location {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
}

.sietta-hero-location .dot-sep {
    opacity: 0.5;
    margin: 0 8px;
}

/* ─── Countdown ──────────────────────────────────────────────────────────── */
.sietta-countdown-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 360px;
}

.countdown-header {
    background: linear-gradient(135deg, var(--sietta-orange) 0%, var(--sietta-orange-dark) 100%);
    padding: 12px 20px;
    text-align: center;
}

.countdown-header small {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.countdown-body {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.countdown-unit {
    text-align: center;
    flex: 1;
}

.countdown-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--sietta-white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.countdown-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.countdown-sep {
    font-size: 2rem;
    font-weight: 900;
    color: var(--sietta-orange-light);
    margin-bottom: 18px;
    opacity: 0.7;
    animation: blink-sep 1s step-end infinite;
}

@keyframes blink-sep {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 0.2; }
}

.countdown-footer {
    padding: 10px 20px 14px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ─── Statistiques clés ──────────────────────────────────────────────────── */
.sietta-stats-section {
    background: linear-gradient(180deg, #F5F6FA 0%, #FFFFFF 100%);
    position: relative;
}

.sietta-stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sietta-green), var(--sietta-orange), var(--sietta-gold));
}

.sietta-stat-card {
    background: var(--sietta-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sietta-stat-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--sietta-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.sietta-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.sietta-stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(229, 111, 35, 0.12) 0%, rgba(201, 149, 42, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--sietta-orange);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--sietta-green);
    line-height: 1;
    display: block;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--sietta-text-muted);
    font-weight: 500;
    margin-top: 8px;
    display: block;
    line-height: 1.4;
}

/* ─── Section titres communs ─────────────────────────────────────────────── */
.sietta-section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sietta-orange);
    display: block;
    margin-bottom: 10px;
}

.sietta-section-title {
    color: var(--sietta-green);
    font-weight: 800;
    position: relative;
    padding-bottom: 16px;
    line-height: 1.15;
}

.sietta-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--sietta-orange), var(--sietta-gold));
    border-radius: 2px;
}

.text-center .sietta-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ─── Piliers d'Innovation ───────────────────────────────────────────────── */
.sietta-pillars-section {
    background: var(--sietta-white);
}

.sietta-pillar-card {
    background: var(--sietta-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    height: 100%;
    border: 2px solid var(--sietta-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sietta-pillar-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    transition: height 0.4s ease;
    z-index: 0;
}

.sietta-pillar-card:hover {
    border-color: var(--sietta-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.sietta-pillar-card > * {
    position: relative;
    z-index: 1;
}

.sietta-pillar-card.pillar-featured {
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    border-color: transparent;
    color: var(--sietta-white);
    box-shadow: var(--shadow-md);
}

.sietta-pillar-card.pillar-featured .pillar-title,
.sietta-pillar-card.pillar-featured .pillar-subtitle,
.sietta-pillar-card.pillar-featured .pillar-list li {
    color: var(--sietta-white);
}

.pillar-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(229, 111, 35, 0.15) 0%, rgba(201, 149, 42, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--sietta-orange);
    transition: var(--transition);
}

.sietta-pillar-card.pillar-featured .pillar-icon-wrap {
    background: rgba(255,255,255,0.15);
    color: var(--sietta-gold-light);
}

.pillar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sietta-green);
    margin-bottom: 6px;
}

.pillar-subtitle {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sietta-orange);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.sietta-pillar-card.pillar-featured .pillar-subtitle {
    color: var(--sietta-gold-light);
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--sietta-text);
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pillar-list li:last-child { border-bottom: none; }

.pillar-list li i {
    color: var(--sietta-orange);
    font-size: 0.7rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.sietta-pillar-card.pillar-featured .pillar-list li i {
    color: var(--sietta-gold-light);
}

/* ─── Commissaire Général ────────────────────────────────────────────────── */
.sietta-commissaire-section {
    background: linear-gradient(135deg, #F5F6FA 0%, #EDF2EE 100%);
    position: relative;
    overflow: hidden;
}

.sietta-commissaire-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 67, 50, 0.06) 0%, transparent 70%);
}

.sietta-commissaire-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--sietta-white);
    box-shadow: var(--shadow-md);
}

.sietta-commissaire-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.4);
    border: 6px solid var(--sietta-white);
    box-shadow: var(--shadow-md);
}

.sietta-quote-marks {
    font-size: 5rem;
    line-height: 0.8;
    color: rgba(229, 111, 35, 0.15);
    font-family: Georgia, serif;
    font-weight: 900;
    display: block;
    height: 40px;
    user-select: none;
}

.sietta-commissaire-message {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--sietta-text);
    font-style: italic;
}

/* ─── Expérience SIETTA ──────────────────────────────────────────────────── */
.sietta-experience-section {
    background: var(--sietta-white);
}

.sietta-experience-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sietta-gray);
    height: 100%;
}

.sietta-experience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--sietta-orange);
}

.experience-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(229, 111, 35, 0.1) 0%, rgba(27, 67, 50, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border: 2px solid rgba(229, 111, 35, 0.2);
    color: var(--sietta-orange);
}

/* ─── Onglets catégories ─────────────────────────────────────────────────── */
.sietta-packs-section {
    background: var(--sietta-gray-light);
}

.sietta-category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.sietta-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    border: 2px solid var(--sietta-gray);
    background: var(--sietta-white);
    color: var(--sietta-text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.sietta-cat-tab:hover {
    border-color: var(--sietta-orange);
    color: var(--sietta-orange);
    background: rgba(229, 111, 35, 0.04);
}

.sietta-cat-tab.active {
    background: var(--sietta-green);
    border-color: var(--sietta-green);
    color: var(--sietta-white);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.3);
}

.sietta-cat-tab .cat-tab-badge {
    background: rgba(255,255,255,0.25);
    font-size: 0.75rem;
    padding: 1px 7px;
    border-radius: 12px;
    font-weight: 700;
}

.sietta-cat-tab:not(.active) .cat-tab-badge {
    background: var(--sietta-gray);
    color: var(--sietta-text-muted);
}

/* ─── Bloc packs par catégorie ───────────────────────────────────────────── */
.sietta-cat-packs {
    display: none;
    animation: fadeInUp 0.35s ease;
}

.sietta-cat-packs.active {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sietta-cat-header {
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 20px 28px;
    margin-bottom: 0;
}

.sietta-cat-header h4 {
    color: var(--sietta-white);
    font-weight: 800;
    margin: 0;
}

.sietta-cat-header small {
    color: rgba(255,255,255,0.75);
}

/* ─── Cartes packs ───────────────────────────────────────────────────────── */
.sietta-pack-card {
    background: var(--sietta-white);
    border-radius: var(--radius-md);
    border: 2px solid var(--sietta-gray);
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sietta-pack-card:hover {
    border-color: var(--sietta-orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.sietta-pack-card.selected,
.sietta-pack-card.border-success {
    border-color: var(--sietta-green) !important;
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.2) !important;
}

.sietta-pack-card.sietta-pack-featured {
    border-color: var(--sietta-gold) !important;
}

.sietta-pack-badge-featured {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--sietta-gold) 0%, #A87820 100%);
    color: var(--sietta-white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 5px 14px 5px 12px;
    border-bottom-left-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    z-index: 1;
}

/* En-tête de la carte pack */
.sietta-pack-header {
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.04) 0%, rgba(229, 111, 35, 0.04) 100%);
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--sietta-gray);
}

.sietta-pack-card.sietta-pack-featured .sietta-pack-header {
    background: linear-gradient(135deg, rgba(201, 149, 42, 0.08) 0%, rgba(229, 111, 35, 0.06) 100%);
    border-bottom-color: rgba(201, 149, 42, 0.2);
}

/* Corps de la carte */
.sietta-pack-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Prix */
.sietta-pack-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 8px;
}

.price-fcfa {
    font-size: 2rem;
    font-weight: 900;
    color: var(--sietta-orange);
    line-height: 1;
}

.price-currency {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sietta-text-muted);
    letter-spacing: 0.5px;
}

.price-usd {
    font-size: 0.82rem;
    color: var(--sietta-text-muted);
    margin-left: 6px;
}

/* Superficie */
.sietta-pack-area {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(27, 67, 50, 0.07);
    color: var(--sietta-green);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 10px;
}

/* Badges inclus */
.sietta-pack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.sietta-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--sietta-gray-light);
    border: 1px solid var(--sietta-gray);
    color: var(--sietta-text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.sietta-badge-item i {
    color: var(--sietta-orange);
    font-size: 0.7rem;
}

/* Accès inclus */
.sietta-pack-access {
    margin-top: 14px;
}

.sietta-pack-access-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sietta-text-muted);
    margin-bottom: 8px;
}

.access-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--sietta-text);
    padding: 3px 0;
}

.access-item i.fa-check-circle { color: var(--sietta-green-mid); }
.access-item i.fa-times-circle  { color: #dee2e6; }

/* Pied de carte */
.sietta-pack-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--sietta-gray);
    background: rgba(0,0,0,0.015);
}

.sietta-pack-stand-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--sietta-green);
    font-weight: 600;
}

/* ─── Étapes d'inscription ───────────────────────────────────────────────── */
.sietta-steps-section {
    background: var(--sietta-white);
}

.sietta-step-new {
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Connecteur entre étapes */
.sietta-step-new::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -15%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--sietta-orange), var(--sietta-green));
    opacity: 0.3;
}

.sietta-step-new:last-child::after { display: none; }

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    color: var(--sietta-white);
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.3);
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 1.6rem;
    color: var(--sietta-orange);
    margin-bottom: 10px;
    display: block;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sietta-green);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--sietta-text-muted);
    line-height: 1.5;
}

/* ─── Bannière connexion ─────────────────────────────────────────────────── */
.sietta-login-banner {
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    color: var(--sietta-white);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.sietta-login-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.sietta-login-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

/* ─── Formulaires d'authentification ─────────────────────────────────────── */
.sietta-auth-section {
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
}

.sietta-card-header {
    background-color: var(--sietta-green);
    border-bottom: 3px solid var(--sietta-orange);
}

/* ─── Tableau de bord ────────────────────────────────────────────────────── */
.sietta-page-header h1 {
    color: var(--sietta-green);
    font-weight: 800;
}

.sietta-action-card {
    border-radius: var(--radius-md);
    border: 2px solid var(--sietta-gray);
    transition: var(--transition);
    color: var(--sietta-text);
}

.sietta-action-card:hover {
    border-color: var(--sietta-orange);
    box-shadow: var(--shadow-sm);
    color: var(--sietta-green);
    text-decoration: none;
    transform: translateY(-3px);
}

/* ─── Messagerie ─────────────────────────────────────────────────────────── */
.sietta-chat-container { border-radius: var(--radius-md); }

.sietta-message { display: flex; margin-bottom: 12px; }
.sietta-message-mine  { justify-content: flex-end; }
.sietta-message-other { justify-content: flex-start; }

.sietta-message-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 14px;
}

.sietta-message-mine .sietta-message-bubble {
    background: linear-gradient(135deg, var(--sietta-orange) 0%, var(--sietta-orange-dark) 100%);
    color: white;
    border-bottom-right-radius: 2px;
}

.sietta-message-other .sietta-message-bubble {
    background-color: var(--sietta-gray);
    color: var(--sietta-text);
    border-bottom-left-radius: 2px;
}

/* ─── Avatar profil ──────────────────────────────────────────────────────── */
.sietta-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sietta-orange) 0%, var(--sietta-orange-dark) 100%);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ─── Pied de page ───────────────────────────────────────────────────────── */
.sietta-footer {
    background: linear-gradient(180deg, #162D24 0%, var(--sietta-green) 100%);
    color: rgba(255,255,255,0.75);
    position: relative;
}

.sietta-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sietta-orange), var(--sietta-gold), var(--sietta-orange));
}

.sietta-footer h6 { color: var(--sietta-orange-light); font-weight: 700; }
.sietta-footer a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.sietta-footer a:hover { color: var(--sietta-orange-light); text-decoration: none; }

/* ─── Progress bar ───────────────────────────────────────────────────────── */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: var(--sietta-gray);
}

.progress-bar {
    background: linear-gradient(90deg, var(--sietta-green), var(--sietta-orange));
}

/* ─── Animations globales ────────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in  { animation: fadeIn 0.6s ease both; }
.animate-slide-up { animation: slideUp 0.6s ease both; }

/* ─── Scrollbar personnalisée ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sietta-gray-light); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sietta-green), var(--sietta-orange));
    border-radius: 3px;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .sietta-hero {
        min-height: 80vh;
    }
    .sietta-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .sietta-step-new::after { display: none; }
    .sietta-commissaire-photo,
    .sietta-commissaire-avatar {
        width: 140px;
        height: 140px;
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .sietta-hero {
        min-height: 70vh;
    }
    .sietta-hero-overlay {
        padding: 40px 0;
    }
    .sietta-hero-title {
        font-size: 2rem;
    }
    .sietta-logo-text {
        font-size: 1.1rem;
    }
    .sietta-nav .btn-link {
        display: none;
    }
    .sietta-countdown-card {
        max-width: 100%;
    }
    .countdown-value {
        font-size: 1.8rem;
    }
    .sietta-cat-tab {
        font-size: 0.82rem;
        padding: 8px 16px;
    }
    .price-fcfa {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .sietta-hero-title {
        font-size: 1.7rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .countdown-body {
        gap: 2px;
    }
    .countdown-value {
        font-size: 1.5rem;
    }
}

/* ─── PAGE DE CONNEXION SIETTA (split-screen) ────────────────────────────── */
body.sietta-login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.sietta-login-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Panneau gauche – photo */
.sietta-login-left {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
}

.sietta-login-photo-bg {
    position: absolute;
    inset: 0;
    background-image: url('/ccak_sietta/static/src/img/photo-usine.jpeg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transition: transform 6s ease;
}

.sietta-login-left:hover .sietta-login-photo-bg {
    transform: scale(1.04);
}

.sietta-login-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(27, 67, 50, 0.75) 0%,
        rgba(27, 67, 50, 0.45) 60%,
        rgba(229, 111, 35, 0.25) 100%);
    display: flex;
    align-items: flex-end;
    padding: 48px;
}

.sietta-login-left-content {
    display: flex;
    flex-direction: column;
    color: white;
    width: 100%;
}

.sietta-login-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 1rem;
}

.text-sietta-orange-light { color: #F4A261 !important; }

.sietta-login-hero-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sietta-login-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sietta-login-tag {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.sietta-login-event-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

.sietta-login-ministere {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 16px;
}

/* Panneau droit – formulaire */
.sietta-login-right {
    flex: 0 0 45%;
    background: #fff;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sietta-login-form-wrap {
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
}

.sietta-login-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sietta-green);
    margin-bottom: 4px;
}

.sietta-login-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.sietta-login-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--sietta-text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sietta-input-wrap {
    position: relative;
}

.sietta-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sietta-text-muted);
    pointer-events: none;
}

.sietta-login-input {
    padding-left: 38px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--sietta-gray);
    height: 48px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.sietta-login-input:focus {
    border-color: var(--sietta-orange);
    box-shadow: 0 0 0 3px rgba(229, 111, 35, 0.15);
}

.sietta-pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--sietta-text-muted);
    cursor: pointer;
    padding: 4px;
}

.sietta-login-forgot {
    color: var(--sietta-orange);
    text-decoration: none;
    font-size: 0.82rem;
}

.sietta-login-forgot:hover { text-decoration: underline; }

.sietta-login-footer { color: var(--sietta-text-muted); }

/* Responsive login */
@media (max-width: 768px) {
    body.sietta-login-page { overflow: auto; }
    .sietta-login-wrapper { flex-direction: column; height: auto; }
    .sietta-login-left { flex: none; height: 260px; }
    .sietta-login-overlay { align-items: flex-start; padding: 24px; }
    .sietta-login-hero-title { font-size: 1.4rem; }
    .sietta-login-ministere { display: none; }
    .sietta-login-right { flex: none; }
    .sietta-login-form-wrap { padding: 24px 20px; }
}

/* ─── SOUS-CATÉGORIES (Exposants) ─────────────────────────────────────────── */
.sietta-subcat-header {
    padding: 8px 0;
    margin-bottom: 4px;
}

.sietta-subcat-header h5 {
    font-size: 1.05rem;
    white-space: nowrap;
}

.sietta-subcat-header hr {
    margin: 0;
    border-color: var(--sietta-gray);
}

/* ─── DÉTAIL PACK ─────────────────────────────────────────────────────────── */
.sietta-pack-area-big {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sietta-access-list li {
    padding: 4px 0;
    font-size: 0.95rem;
}

.access-item-ok { color: var(--sietta-text); }
.access-item-no { color: var(--sietta-text-muted); opacity: 0.6; }

.sietta-badge-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--sietta-gray-light);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    min-width: 80px;
    text-align: center;
}

.badge-count {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-type {
    font-size: 0.75rem;
    color: var(--sietta-text-muted);
    line-height: 1.3;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION INFOS PRATIQUES : CARTE + CALENDRIER + PARTAGE
   ══════════════════════════════════════════════════════════════════════════ */

/* Conteneur carte OpenStreetMap */
.sietta-map-container {
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    line-height: 0;
}

.sietta-map-container iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

/* ─── Boutons Calendrier ─────────────────────────────────────────────────── */
.sietta-cal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none !important;
}

.sietta-cal-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.sietta-cal-btn .fa {
    font-size: 1.1rem;
    margin-right: 8px;
}

/* Google Calendar */
.sietta-cal-google {
    background: #4285F4;
    color: #fff !important;
    border: none;
}

/* Apple Calendar / iCal */
.sietta-cal-ical {
    background: #f5f5f7;
    color: #1d1d1f !important;
    border: 1px solid #d2d2d7;
}

/* Outlook */
.sietta-cal-outlook {
    background: #0078D4;
    color: #fff !important;
    border: none;
}

/* ─── Grille partage réseaux sociaux ─────────────────────────────────────── */
.sietta-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sietta-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.15s;
    color: #fff !important;
}

.sietta-share-btn:hover {
    color: #fff !important;
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none;
}

.sietta-share-btn .fa {
    font-size: 1rem;
}

/* Couleurs par réseau */
.sietta-share-facebook  { background: #1877F2; }
.sietta-share-twitter   { background: #000000; }
.sietta-share-linkedin  { background: #0A66C2; }
.sietta-share-whatsapp  { background: #25D366; }

/* Responsive : une colonne sur mobile */
@media (max-width: 480px) {
    .sietta-share-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   BOUTONS FLOTTANTS (FAB)
   ══════════════════════════════════════════════════════════════ */
.sietta-fab {
    position: fixed;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
    z-index: 9998;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
    text-decoration: none;
}

.sietta-fab:hover,
.sietta-fab:focus {
    outline: none;
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
    color: #fff;
    text-decoration: none;
}

/* Bouton chat (bas à droite) */
.sietta-fab-chat {
    bottom: 24px;
    background: var(--sietta-orange);   /* orange CCAK */
}
.sietta-fab-chat:hover,
.sietta-fab-chat:focus {
    background: var(--sietta-orange-dark);
}

/* Bouton retour en haut (au-dessus du chat) */
.sietta-fab-top {
    bottom: 92px;
    background: #1B6E4F;   /* vert SIETTA */
    opacity: 0;
    pointer-events: none;
}

.sietta-fab-top.sietta-fab-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 576px) {
    .sietta-fab {
        width: 48px;
        height: 48px;
        right: 16px;
    }
    .sietta-fab-chat  { bottom: 16px; }
    .sietta-fab-top   { bottom: 76px; }
}

/* ─── Overrides im_livechat (v5.0 – charte CCAK) ──────────────────────────── */

/* Bouton flottant natif im_livechat (si le bouton natif est utilisé) */
.o_livechat_button,
.o_livechat_button.o_available {
    background-color: var(--sietta-orange) !important;
    border-color: var(--sietta-orange) !important;
    color: #fff !important;
}
.o_livechat_button:hover,
.o_livechat_button:focus {
    background-color: var(--sietta-orange-dark) !important;
    border-color: var(--sietta-orange-dark) !important;
}

/* En-tête du dialogue chat */
.o_livechat_chatwindow .o_chat_header,
.o_thread_window .o_thread_window_header {
    background: var(--sietta-green) !important;
    color: #fff !important;
}
.o_livechat_chatwindow .o_chat_header .o_livechat_header_actions a,
.o_thread_window .o_thread_window_header .o_thread_window_actions a {
    color: rgba(255,255,255,0.85) !important;
}
.o_livechat_chatwindow .o_chat_header .o_livechat_header_actions a:hover,
.o_thread_window .o_thread_window_header .o_thread_window_actions a:hover {
    color: var(--sietta-orange-light) !important;
}

/* Bouton envoyer dans le chat */
.o_livechat_chatwindow .o_composer_button_send,
.o_thread_window .o_composer_button_send {
    background-color: var(--sietta-orange) !important;
    color: #fff !important;
    border-color: var(--sietta-orange) !important;
}
.o_livechat_chatwindow .o_composer_button_send:hover,
.o_thread_window .o_composer_button_send:hover {
    background-color: var(--sietta-orange-dark) !important;
}

/* Bulles de messages de l'agent */
.o_livechat_chatwindow .o_thread_message.o_mail_not_discussion .o_thread_message_core,
.o_thread_window .o_thread_message.o_mail_not_discussion .o_thread_message_core {
    background-color: var(--sietta-green) !important;
    color: #fff !important;
}

/* Message d'indisponibilité : remplacer le texte violet Odoo par style CCAK */
.o_livechat_chatwindow .o_mail_no_content,
.o_thread_window .o_mail_no_content {
    color: var(--sietta-text-muted) !important;
    font-style: italic;
}

/* ─── Discussion participants ─────────────────────────────────────────────── */
.sietta-participant-chat { margin-top: 1.5rem; }
.sietta-chat-tabs .nav-link.active {
    background-color: var(--sietta-green) !important;
    border-color: var(--sietta-green) !important;
    color: #fff !important;
}
.sietta-chat-tabs .nav-link {
    color: var(--sietta-green);
}
.sietta-chat-tabs .nav-link:hover {
    color: var(--sietta-orange);
}
.sietta-participant-msg-mine .sietta-message-bubble {
    background: var(--sietta-green);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    margin-left: auto;
    max-width: 70%;
}
.sietta-participant-msg-other .sietta-message-bubble {
    background: #fff;
    color: var(--sietta-text);
    border: 1px solid var(--sietta-gray);
    border-radius: 16px 16px 16px 4px;
    margin-right: auto;
    max-width: 70%;
}
.sietta-participant-msg-mine,
.sietta-participant-msg-other {
    display: flex;
    margin-bottom: 0.75rem;
}
.sietta-participant-msg-mine { justify-content: flex-end; }
.sietta-participant-msg-other { justify-content: flex-start; }
.sietta-message-bubble { padding: 0.5rem 0.9rem; }
.sietta-message-author { font-size: 0.75rem; opacity: 0.75; }
.sietta-message-date { font-size: 0.7rem; opacity: 0.6; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR LAYOUT — Espace participant connecté
   ═══════════════════════════════════════════════════════════════════════════ */

/* Conteneur principal */
.sietta-app-container {
    display: flex;
    min-height: 100vh;
    background: var(--sietta-gray-light);
}

/* ─── Sidebar fixe ─── */
.sietta-sidebar {
    width: 240px;
    min-height: 100vh;
    background: var(--sietta-green);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    overflow-y: auto;
    box-shadow: 3px 0 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 18px 16px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none !important;
}
.sidebar-brand img { height: 42px; object-fit: contain; margin-right: 10px; }
.sidebar-brand-name { color: #fff; font-weight: 700; font-size: 0.88em; line-height: 1.2; }

/* Navigation sidebar */
.sidebar-nav { flex: 1; padding: 10px 0; }
.sidebar-section-label {
    color: rgba(255,255,255,0.4);
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 16px 4px;
}
.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: rgba(255,255,255,0.72);
    text-decoration: none !important;
    font-size: 0.86em;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.sidebar-nav-item i { width: 20px; margin-right: 10px; text-align: center; font-size: 0.95em; flex-shrink: 0; }
.sidebar-nav-item:hover { color: #fff; background: rgba(255,255,255,0.08); border-left-color: var(--sietta-orange-light); }
.sidebar-nav-item.active { color: #fff; background: rgba(229,111,35,0.2); border-left-color: var(--sietta-orange); font-weight: 700; }
.sidebar-nav-item.active i { color: var(--sietta-orange-light); }

/* Pied de sidebar */
.sidebar-footer { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-edition-badge {
    background: rgba(229,111,35,0.18);
    border: 1px solid rgba(229,111,35,0.3);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
}
.sidebar-edition-badge .edition-name { color: var(--sietta-orange-light); font-weight: 700; font-size: 0.8em; display: block; }
.sidebar-edition-badge .edition-dates { color: rgba(255,255,255,0.55); font-size: 0.7em; margin-top: 2px; display: block; }
.sidebar-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8) !important;
    border-radius: 6px;
    font-size: 0.76em;
    text-decoration: none !important;
    transition: background 0.2s;
}
.sidebar-contact-btn:hover { background: rgba(255,255,255,0.18); color: #fff !important; }

/* ─── Zone principale (à droite de la sidebar) ─── */
.sietta-app-main { flex: 1; margin-left: 240px; display: flex; flex-direction: column; min-height: 100vh; }

/* ─── Topbar ─── */
.sietta-topbar {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--sietta-gray);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 58px;
    box-shadow: var(--shadow-sm);
}
.topbar-left { display: flex; align-items: center; }
.sidebar-toggle-btn {
    background: none; border: none; padding: 5px 9px; cursor: pointer;
    color: var(--sietta-text-muted); font-size: 1.2em; margin-right: 12px;
    border-radius: 5px; line-height: 1; display: none;
}
.sidebar-toggle-btn:hover { background: var(--sietta-gray); color: var(--sietta-green); }
.topbar-page-title { font-weight: 700; font-size: 0.95em; color: var(--sietta-text); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-user-btn {
    display: flex; align-items: center;
    background: none; border: none; cursor: pointer;
    padding: 5px 10px; border-radius: 8px;
    transition: background 0.2s; text-decoration: none !important;
    color: var(--sietta-text) !important;
}
.topbar-user-btn:hover { background: var(--sietta-gray); }
.topbar-user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sietta-green); margin-right: 7px; }
.topbar-user-initials {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--sietta-green); color: #fff;
    font-weight: 700; font-size: 0.82em;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 7px; flex-shrink: 0;
}
.topbar-user-name { font-weight: 600; font-size: 0.86em; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── Contenu des pages ─── */
.sietta-main-content { flex: 1; background: var(--sietta-gray-light); }

/* ─── DASHBOARD ─── */
.sietta-dashboard-page { padding: 28px 28px 48px; }

.dash-welcome-bar {
    background: linear-gradient(135deg, var(--sietta-green) 0%, var(--sietta-green-light) 100%);
    border-radius: var(--radius-md);
    padding: 22px 26px; color: #fff; margin-bottom: 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    box-shadow: var(--shadow-md);
}
.dash-welcome-text .dash-greeting { font-size: 1.3em; font-weight: 700; margin-bottom: 3px; }
.dash-welcome-text .dash-subtitle { color: rgba(255,255,255,0.72); font-size: 0.86em; }
.btn-welcome {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff !important;
    font-weight: 600; padding: 9px 20px; border-radius: 8px;
    font-size: 0.86em; transition: all 0.2s;
    text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.btn-welcome:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); }

/* Cards de statistiques */
.dash-stat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 18px 18px 14px; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.15s;
    border-top: 3px solid transparent;
}
.dash-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dash-stat-card.card-green { border-top-color: var(--sietta-green); }
.dash-stat-card.card-orange { border-top-color: var(--sietta-orange); }
.dash-stat-card.card-blue   { border-top-color: #17a2b8; }
.dash-stat-card.card-gold   { border-top-color: var(--sietta-gold); }

.dash-stat-icon {
    width: 38px; height: 38px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05em; margin-bottom: 12px;
}
.dash-stat-icon.icon-green  { background: rgba(27,67,50,0.1);  color: var(--sietta-green); }
.dash-stat-icon.icon-orange { background: rgba(229,111,35,0.1); color: var(--sietta-orange); }
.dash-stat-icon.icon-blue   { background: rgba(23,162,184,0.1); color: #17a2b8; }
.dash-stat-icon.icon-gold   { background: rgba(201,149,42,0.1); color: var(--sietta-gold); }

.dash-stat-label { font-size: 0.7em; color: var(--sietta-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; }
.dash-stat-value { font-size: 1.4em; font-weight: 800; color: var(--sietta-text); line-height: 1; margin-bottom: 4px; }
.dash-stat-detail { font-size: 0.72em; color: var(--sietta-text-muted); }

/* Ligne inférieure (2 colonnes) */
.dash-bottom-row { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; }
.dash-panel { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.dash-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--sietta-gray);
}
.dash-panel-title { font-size: 0.88em; font-weight: 700; color: var(--sietta-text); }
.dash-panel-body { padding: 16px 18px; }

/* Actions rapides */
.dash-actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-action-item {
    display: flex; align-items: center;
    padding: 11px 13px; background: var(--sietta-gray-light);
    border-radius: 8px; text-decoration: none !important;
    color: var(--sietta-text) !important; transition: all 0.2s;
    font-size: 0.82em; font-weight: 500;
    border: 1px solid var(--sietta-gray);
}
.dash-action-item:hover { background: var(--sietta-green); color: #fff !important; border-color: var(--sietta-green); }
.dash-action-item:hover .dash-action-icon { background: rgba(255,255,255,0.15); color: #fff !important; }
.dash-action-icon {
    width: 28px; height: 28px; background: rgba(27,67,50,0.08);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    margin-right: 9px; color: var(--sietta-green); flex-shrink: 0; font-size: 0.88em;
}

/* Progress */
.dash-progress-item { margin-bottom: 14px; }
.dash-progress-label { display: flex; justify-content: space-between; font-size: 0.76em; color: var(--sietta-text-muted); margin-bottom: 4px; font-weight: 500; }
.dash-progress-bar { height: 7px; background: var(--sietta-gray); border-radius: 4px; overflow: hidden; }
.dash-progress-fill { height: 100%; background: linear-gradient(90deg, var(--sietta-green), var(--sietta-green-mid)); border-radius: 4px; }

/* ─── Overlay mobile ─── */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 199; }
.sidebar-overlay.active { display: block; }

/* ─── Responsive ─── */
@media (max-width: 991px) {
    .sietta-sidebar { transform: translateX(-100%); }
    .sietta-sidebar.sidebar-open { transform: translateX(0); }
    .sietta-app-main { margin-left: 0 !important; }
    .sidebar-toggle-btn { display: block !important; }
    .sietta-topbar { padding: 0 14px; }
    .sietta-dashboard-page { padding: 16px 14px 36px; }
    .dash-stat-cards { grid-template-columns: repeat(2,1fr); }
    .dash-bottom-row { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .dash-stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-actions-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WIZARD FORMULAIRE D'INSCRIPTION — étape par étape
   ═══════════════════════════════════════════════════════════════════════════ */
.sietta-wizard-progress .progress {
    height: 6px;
}

.sietta-wizard-progress .progress-bar {
    transition: width 0.35s ease;
}

.sietta-wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.sietta-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 60px;
    cursor: default;
    opacity: 0.55;
    transition: var(--transition);
}

.sietta-wizard-step.active,
.sietta-wizard-step.completed {
    opacity: 1;
}

.sietta-wizard-step.completed {
    cursor: pointer;
}

.wizard-step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--sietta-gray);
    color: var(--sietta-text-muted);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.sietta-wizard-step.active .wizard-step-circle {
    background: var(--sietta-orange);
    color: var(--sietta-white);
    box-shadow: 0 3px 10px rgba(229, 111, 35, 0.4);
}

.sietta-wizard-step.completed .wizard-step-circle {
    background: var(--sietta-green);
    color: var(--sietta-white);
}

.wizard-step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sietta-text-muted);
    text-align: center;
    line-height: 1.2;
}

.sietta-wizard-step.active .wizard-step-label {
    color: var(--sietta-orange);
}

.sietta-wizard-step.completed .wizard-step-label {
    color: var(--sietta-green);
}

.sietta-wizard-pane {
    animation: fadeInUp 0.3s ease;
}

.list-group-item-action.active {
    background-color: var(--sietta-orange);
}

@media (max-width: 575px) {
    .wizard-step-label { display: none; }
    .wizard-step-circle { width: 28px; height: 28px; font-size: 0.78rem; }
    .sietta-wizard-nav .btn-lg { padding: 10px 18px; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRÉLOADEUR GLOBAL + ÉTATS DE CHARGEMENT DES BOUTONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes sietta-spin {
    to { transform: rotate(360deg); }
}

/* Overlay plein écran affiché pendant les navigations / soumissions */
.sietta-preloader {
    position: fixed;
    inset: 0;
    background: rgba(245, 246, 250, 0.85);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.sietta-preloader.active {
    opacity: 1;
    visibility: visible;
}

.sietta-preloader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.sietta-preloader-ring {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(27, 67, 50, 0.15);
    border-top-color: var(--sietta-orange);
    border-radius: 50%;
    animation: sietta-spin 0.7s linear infinite;
}

.sietta-preloader-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--sietta-green);
}

/* Petit spinner inséré dans un bouton en cours de soumission */
.sietta-btn-spinner-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0.85;
    animation: sietta-spin 0.6s linear infinite;
}

/* Bouton désactivé visuellement pendant le traitement (sans l'attribut disabled,
   pour ne pas exclure son name/value du formulaire soumis) */
.sietta-btn-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

