/*! 
 * Framework CSS Universel 
 * Version : 1.1.10
 * Description : Correction des scrollbars, ajout des grilles pour CIZENI et uniformisation.
 */

:root {
    --primary: #FFB31A;           
    --secondary: #2c3e50;         
    --bg-light: #ffffff;          
    --text-dark: #282828;
    --text-light: #ffffff;
    --text-on-primary: #ffffff;   
    --font-family: 'Open Sans', "Segoe UI", Arial, sans-serif; 
}

/* Correction stricte de l'ancrage et de la barre de défilement */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 900px; 
    margin: 0 auto;
    padding: 0 20px;
}

main.page-content {
    padding-top: 100px; 
    padding-bottom: 100px; 
    background: #ffffff;
}

.app-bar {
    background-color: var(--primary);
    color: var(--text-on-primary);
    min-height: 60px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
}

.app-bar.fixed-top { 
    top: 0; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.app-bar.fixed-bottom { 
    bottom: 0; 
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1); 
}

.app-bar-content, .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    flex-wrap: wrap; 
}

.branding {
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-on-primary);
}

.app-bar-menu {
    list-style: none;
    display: flex;
    gap: 15px;
}

.app-bar-menu li a {
    color: var(--text-on-primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.app-bar-menu li a:hover {
    text-decoration: underline;
}

.align-center { text-align: center; }
.text-light { font-weight: 300; }
.padding20 { padding: 20px; }
.padding30 { padding: 30px; }
.fg-white { color: #ffffff; }
.fg-yellow { color: #f1c40f; }

.main-title, .metro-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 15px;
}

.sub-leader {
    font-size: 1.2rem;
    color: #666;
}

/* ==========================================================================
   SYSTÈME DE GRILLE ET CARTES (CIZENI)
   ========================================================================== */
.grid .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.grid .cells3 .cell {
    flex: 1;
    min-width: 250px;
}

.card {
    border-radius: 8px;
    text-align: center;
    height: 100%;
}

.ribbed-green { background-color: #28a745; }
.ribbed-amber { background-color: #ffc107; color: #333 !important; }
.ribbed-red { background-color: #dc3545; }

.block-shadow {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.big-button {
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: inherit;
    cursor: pointer;
    width: 100%;
}

.bg-green { background-color: #218838; }
.bg-amber { background-color: #e0a800; }
.bg-red { background-color: #c82333; }

.price {
    font-size: 2rem;
    margin: 15px 0 5px 0;
    font-weight: bold;
}

.text-small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.content-text p {
    text-align: justify;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .main-title, .metro-title { font-size: 2rem; }
    .grid .cells3 .cell { min-width: 100%; }
    .app-bar-content {
        flex-direction: column;
        justify-content: center;
        padding: 10px 0;
        gap: 5px;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    main.page-content { padding-top: 120px; }
}