:root {
    --primary: #0056a6;
    --primary-dark: #003d7a;
    --secondary: #ff6600;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --green: #2ecc71;
    --green-dark: #27ae60;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--secondary);
}

.main-header {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== HEADER SHRINK (EFFET DALLAYMR) ===== */
header.shrink .main-header {
    padding: 8px 0;
}

header.shrink .logo-img {
    height: 65px;
    width: auto;
}

header.shrink .top-bar {
    padding: 4px 0;
    font-size: 0.75rem;
}

/* Logo image */
.logo-img {
    height: 100px;
    width: 120px;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Desktop moyen */
@media (max-width: 1200px) {
    .logo-img {
        height: 100px;
    }
}

/* Tablette */
@media (max-width: 992px) {
    .logo-img {
        height: 50px;
    }
}

/* Petit mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }
    header.shrink .logo-img {
        height: 40px;
    }
}

/* Très petit mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--secondary);
    font-weight: 600;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

.nav-menu a:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(0, 86, 166, 0.85), rgba(0, 86, 166, 0.85)), url('../images/RSE.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
    flex-wrap: wrap;
}

.breadcrumb li {
    margin: 0 10px;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
    color: var(--light-gray);
}

.breadcrumb li:last-child:after {
    content: '';
}

/* ===== SECTION RSE ===== */
.rse-section {
    padding: 80px 0;
}

.rse-section:nth-child(even) {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title.green h2 {
    color: var(--green-dark);
}

.section-title.green h2:after {
    background: var(--green);
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.section-subtitle.green {
    color: var(--green-dark);
}

/* Approche RSE */
.approche-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.approche-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.approche-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--secondary);
}

.approche-block {
    margin-bottom: 30px;
}

.approche-block h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.approche-block h4 i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.approche-block p {
    margin-bottom: 10px;
    padding-left: 35px;
}

.approche-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.value-item h5 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Mobilité Durable */
.mobility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mobility-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 60%;
    background-color: var(--green);
    border-radius: 5px;
    position: relative;
}

.progress-fill:after {
    content: '60%';
    position: absolute;
    right: -30px;
    top: -25px;
    font-weight: 600;
    color: var(--green-dark);
}

.mobility-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--green);
}

/* Propreté */
.clean-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.natural-ingredients {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.ingredient-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.ingredient-item i {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 15px;
}

.ingredient-item h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.ingredient-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Distributeurs performants */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

.energy-class {
    display: inline-block;
    background-color: var(--green);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 10px;
}

/* Marc de café */
.coffee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cycle-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.fun-fact {
    background-color: var(--green);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.fun-fact i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fun-fact p {
    font-size: 1.2rem;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 86, 166, 0.9), rgba(0, 86, 166, 0.9)), url('https://images.unsplash.com/photo-1497436072909-60f360e1d4b1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 86, 166, 0.4);
}

.back-to-top i {
    font-size: 1.4rem;
}

.back-to-top::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    opacity: 0;
    transition: all 0.3s ease;
}

.back-to-top:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-list i {
    color: var(--secondary);
    margin-top: 5px;
    min-width: 18px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

.copyright a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .approche-content,
    .mobility-content,
    .clean-content,
    .coffee-content {
        grid-template-columns: 1fr;
    }
    
    .approche-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .values-list,
    .mobility-features,
    .natural-ingredients,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .social-links a {
        margin-left: 0;
        padding: 0 8px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .breadcrumb li {
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}
/* ============================================
   COOKIES BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 20px 0;
    z-index: 99999;
    border-top: 3px solid var(--secondary);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 280px;
}

.cookie-text i {
    font-size: 2.2rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
}

.cookie-btn i {
    font-size: 0.85rem;
}

.cookie-accept {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.cookie-accept:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 166, 0.4);
}

.cookie-refuse {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cookie-refuse:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: rgba(255, 102, 0, 0.1);
}

.cookie-more {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cookie-more i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.cookie-more:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-more:hover i {
    transform: translateX(3px);
}

/* ===== RESPONSIVE COOKIES ===== */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 15px;
    }

    .cookie-text {
        flex-direction: column;
        text-align: center;
        min-width: unset;
        gap: 10px;
    }

    .cookie-text i {
        font-size: 1.8rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .cookie-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
        flex: 1;
        justify-content: center;
        min-width: 100px;
    }

    .cookie-more {
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .cookie-btn {
        font-size: 0.75rem;
        padding: 7px 14px;
        min-width: 80px;
    }

    .cookie-text p {
        font-size: 0.8rem;
    }
}
/* ===== CORRECTION BOUTON DEVIS DANS LE MENU ===== */
.nav-menu a.btn {
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu a.btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 166, 0.3);
}

.nav-menu a.btn:after {
    display: none;
}

.nav-menu a.btn.active {
    background-color: var(--primary-dark);
    color: var(--white);
}
@media (max-width: 768px){
    .top-bar{
        display: none !important;
    }
}
