/* ══════════════════════════════════════════════════════
   NAVBAR - MotivationRD
   ══════════════════════════════════════════════════════ */

:root {
    --nav-bg: #2a2a2a;
    --nav-text: #ffffff;
    --nav-accent: #ff6b35;
    --nav-hover: #3d3d3d;
    --nav-glow: #ffb347;
    --nav-height: 60px;
    --transition: 0.3s ease;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-top: var(--nav-height);
}

/* ══════════════════════════════════════════════════════
   TYPOGRAPHIE GLOBALE
   ══════════════════════════════════════════════════════ */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nav-bg);
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--nav-bg);
    line-height: 1.3;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nav-bg);
    line-height: 1.4;
    margin-bottom: 10px;
}

/* ──────────────────────────────────────────────────────
   Navbar principale
   ────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--nav-bg);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ──────────────────────────────────────────────────────
   Logo / Brand
   ────────────────────────────────────────────────────── */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--nav-text);
    text-decoration: none;
    letter-spacing: -0.5px;
    min-width: 200px; /* Réserve l'espace */
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-brand:hover {
    color: var(--nav-accent);
}

.navbar-brand:hover img {
    filter: drop-shadow(0 0 8px var(--nav-glow));
}

/* ──────────────────────────────────────────────────────
   Menu desktop
   ────────────────────────────────────────────────────── */
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.navbar-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.navbar-menu li a:hover {
    background: var(--nav-hover);
    color: var(--nav-accent);
}

.navbar-menu li a.active {
    color: var(--nav-accent);
    background: var(--nav-hover);
    position: relative;
}

.navbar-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--nav-accent);
    border-radius: 3px 3px 0 0;
}

/* ──────────────────────────────────────────────────────
   Burger button (caché en desktop)
   ────────────────────────────────────────────────────── */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nav-text);
    position: relative;
    transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--nav-text);
    transition: transform var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Animation burger → X */
.navbar-toggle.open .hamburger {
    background: transparent;
}

.navbar-toggle.open .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.open .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE - Mobile (< 768px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .navbar-menu.open {
        transform: translateX(0);
    }

    .navbar-menu li a {
        font-size: 1.25rem;
        padding: 15px 40px;
    }
}

/* ══════════════════════════════════════════════════════
   UTILITAIRES
   ══════════════════════════════════════════════════════ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(42,42,42,0.85) 0%, rgba(42,42,42,0.6) 50%, rgba(42,42,42,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: var(--nav-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

/* ══════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════ */
.intro {
    padding: 60px 0;
}

.intro h2 {
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
    background: var(--nav-bg);
    color: var(--nav-text);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--nav-text);
    text-decoration: none;
    transition: color var(--transition);
}


.footer-nav a:hover {
    color: var(--nav-accent);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--nav-accent);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
}

/* ══════════════════════════════════════════════════════
   BOUTON CONTACT FLOTTANT
   ══════════════════════════════════════════════════════ */
.btn-contact-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #7cb810;
    color: white;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-contact-float:hover {
    border-radius: 28px;
    width: auto;
    padding: 15px 25px;
}

.btn-contact-icon {
    flex-shrink: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.btn-contact-float:hover .btn-contact-icon {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.btn-contact-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-contact-float:hover .btn-contact-text {
    max-width: 150px;
    opacity: 1;
}

@media (max-width: 768px) {
    .btn-contact-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        padding: 12px;
    }
    
    .btn-contact-float:hover {
        width: 50px;
        padding: 12px;
        border-radius: 50%;
    }
    
    .btn-contact-float:hover .btn-contact-text {
        max-width: 0;
        opacity: 0;
        margin-left: 0;
    }
}

/* ══════════════════════════════════════════════════════
   CTA - Call To Action
   ══════════════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    padding: 60px 20px;
    margin: 60px 0;
    border-radius: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    text-align: left;
}

.cta-text {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.6;
    text-align: left;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Boutons CTA */
.btn-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    text-decoration: none;
    color: white;
}

.btn-cta svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-cta:hover svg {
    transform: scale(1.2) rotate(-5deg);
}

.btn-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-cta-label {
    font-size: 1.1rem;
}

.btn-cta small {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 4px;
}

/* Couleur Vert */
.btn-cta-vert {
    background: linear-gradient(135deg, #7cb810 0%, #5c890c 100%);
    box-shadow: 0 4px 20px rgba(124, 184, 16, 0.4);
}

.btn-cta-vert:hover {
    background: linear-gradient(135deg, #8bc920 0%, #6a9a10 100%);
    box-shadow: 0 8px 30px rgba(124, 184, 16, 0.5);
}

/* Couleur Bleu */
.btn-cta-bleu {
    background: linear-gradient(135deg, #02aaff 0%, #0288cc 100%);
    box-shadow: 0 4px 20px rgba(2, 170, 255, 0.4);
}

.btn-cta-bleu:hover {
    background: linear-gradient(135deg, #1bb8ff 0%, #0298dd 100%);
    box-shadow: 0 8px 30px rgba(2, 170, 255, 0.5);
}

/* Couleur Orange */
.btn-cta-orange {
    background: linear-gradient(135deg, #ff9900 0%, #cc7a00 100%);
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.4);
}

.btn-cta-orange:hover {
    background: linear-gradient(135deg, #ffa820 0%, #dd8a10 100%);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.5);
}

/* Focus accessibilité */
.btn-cta:focus {
    outline: 3px solid rgba(124, 184, 16, 0.5);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
        margin: 40px 0;
        border-radius: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        padding: 18px 25px;
        justify-content: center;
    }
    
    .btn-cta:hover {
        transform: translateY(-2px);
    }
    
    .btn-cta:hover svg {
        transform: scale(1.1);
    }
}

/* ══════════════════════════════════════════════════════
   PAGES LÉGALES
   ══════════════════════════════════════════════════════ */
.legal {
    padding: 60px 20px;
}

.legal h1 {
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 40px;
}

.legal section {
    margin-bottom: 40px;
}

.legal h2 {
    color: var(--nav-accent);
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.legal p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.legal a {
    color: var(--nav-accent);
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

.legal-update {
    font-style: italic;
    color: #888;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ══════════════════════════════════════════════════════
   PAGE CONTACT
   ══════════════════════════════════════════════════════ */
.page-contact {
    padding: 60px 20px;
    max-width: 600px;
}

.page-contact h1 {
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 15px;
}

.page-intro {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2a2a2a;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nav-accent);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: 15px 40px;
    background: var(--nav-accent);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.35);
}

/* Alertes */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ══════════════════════════════════════════════════════
   PAGE FAQ - Design moderne
   ══════════════════════════════════════════════════════ */
.page-faq {
    padding: 0;
    max-width: 100%;
}

/* Header FAQ */
.faq-header {
    background: linear-gradient(135deg, var(--nav-bg) 0%, #3d3d3d 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
}

.faq-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: #fff;
}

.faq-intro {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
/* Header pages Question */
.question-header {
    background: linear-gradient(135deg, var(--nav-bg) 0%, #3d3d3d 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
}

.question-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: #fff;
}

.question-intro {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
/* Navigation sections */
.faq-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.faq-nav::-webkit-scrollbar {
    display: none;
}

.faq-nav-item {
    padding: 10px 20px;
    background: #fff;
    color: #555;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-nav-item svg {
    flex-shrink: 0;
}

.faq-nav-item:hover {
    background: var(--nav-accent);
    color: #fff;
    border-color: var(--nav-accent);
    transform: translateY(-2px);
}

/* Contenu FAQ */
.faq-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Sections */
.faq-section {
    margin-bottom: 60px;
    scroll-margin-top: calc(var(--nav-height) + 120px);
}

.faq-section h2 {
    padding-bottom: 15px;
    border-bottom: 3px solid var(--nav-accent);
    display: inline-block;
}

/* Grille de cartes */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Cartes Q/R */
.faq-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all var(--transition);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: var(--nav-accent);
}

.faq-card h3 {
    line-height: 1.4;
}

.faq-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header {
        padding: 60px 20px 40px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-card {
        padding: 25px;
    }
}

/* ══════════════════════════════════════════════════════
   PAGE FORMATION
   ══════════════════════════════════════════════════════ */
.page-formation {
    padding: 60px 20px 20px;
    max-width: 1000px;
}

.formation-header {
    margin-bottom: 50px;
}

.formation-tagline {
    font-size: 1.2rem;
    color: #666;
    margin-top: 15px;
}

.formation-section {
    margin-bottom: 60px;
}

.formation-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Citation */
.formation-quote {
    background: #f8f8f8;
    border-left: 4px solid var(--nav-accent);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #444;
}

.formation-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--nav-bg);
}

/* Objectifs */
.formation-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.objective-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
    transition: all var(--transition);
}

.objective-card:hover {
    border-color: var(--nav-accent);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.objective-card h3 {
    color: var(--nav-accent);
    margin-bottom: 10px;
}

.objective-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Programme */
.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.programme-jour {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
}

.programme-jour h3 {
    color: var(--nav-accent);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--nav-accent);
}

.programme-demi {
    margin-bottom: 25px;
}

.programme-demi:last-child {
    margin-bottom: 0;
}

.programme-demi h4 {
    font-size: 1rem;
    color: var(--nav-bg);
    margin-bottom: 15px;
}

.programme-demi ul {
    list-style: none;
    padding: 0;
}

.programme-demi li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.programme-demi li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--nav-accent);
}

/* Modalités */
.modalites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.modalite-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.modalite-card.modalite-featured {
    border-color: var(--nav-accent);
    position: relative;
}

.modalite-card h3 {
    margin-bottom: 10px;
}

.modalite-prix {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--nav-accent);
    margin-bottom: 20px;
}

.modalite-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.modalite-card li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.modalite-card li:last-child {
    border-bottom: none;
}

/* Lien CTA formation */
.formation-cta-link {
    text-align: center;
    margin-top: 40px;
}

.btn-formation-link {
    display: inline-block;
    padding: 15px 30px;
    background: var(--nav-bg);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-formation-link:hover {
    background: var(--nav-accent);
    transform: translateY(-2px);
}

/* EEAT */
.formation-eeat {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 16px;
    margin-left: -20px;
    margin-right: -20px;
}

.eeat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .eeat-grid {
        grid-template-columns: 1fr;
    }
}

.eeat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
}

.eeat-card h3 {
    color: var(--nav-accent);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.eeat-card ul {
    list-style: none;
    padding: 0;
}

.eeat-card li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.eeat-card li:last-child {
    border-bottom: none;
}

/* Témoignages */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.temoignage-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all var(--transition);
    min-width: 0;
}

.temoignage-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .temoignages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .temoignages-grid {
        grid-template-columns: 1fr;
    }
}

.temoignages-more {
    text-align: center;
    margin-top: 30px;
}
.temoignages-more a {
    color: var(--nav-accent);
    text-decoration: none;
    font-weight: 600;
}
.temoignages-more a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════
   PAGE HOME
   ══════════════════════════════════════════════════════ */
.page-home {
    padding: 60px 20px 80px;
}

.home-section {
    margin-bottom: 70px;
}

.home-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.home-section a {
    color: var(--nav-accent);
}

/* Encart manager (sobre) */
.encart-manager {
    border-left: 4px solid var(--nav-accent);
    background: #f9f9f9;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.encart-manager p {
    margin: 0;
    color: #444;
    font-size: 0.95rem;
}

/* Grille leviers (section 3) */
.leviers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.levier-card {
    padding: 25px;
    border-radius: 12px;
}

.levier-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.levier-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.levier-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.levier-card li:last-child {
    border-bottom: none;
}

.levier-positif {
    background: #f0f7e6;
    border: 1px solid #7cb810;
}

.levier-positif h3 {
    color: #5c890c;
}

.levier-negatif {
    background: #fef6f0;
    border: 1px solid #e67e22;
}

.levier-negatif h3 {
    color: #d35400;
}

/* Responsive Home */
@media (max-width: 768px) {
    .page-home {
        padding: 40px 20px 60px;
    }
    
    .home-section {
        margin-bottom: 50px;
    }
    
    .leviers-grid {
        grid-template-columns: 1fr;
    }
    
    .encart-manager {
        padding: 15px 20px;
    }
}
/* ══════════════════════════════════════════════════════
   BARRE SOCIALE FLOTTANTE + TOGGLE
   ══════════════════════════════════════════════════════ */

.mr-social-wrapper {
  position: fixed;
  top: 40%;
  left: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column; /* ← ICI la correction */
  align-items: flex-start;
}


/* Bouton toggle visible en permanence */
.mr-toggle {
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.85);
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
  display: flex;               /* ← nécessaire */
  align-items: center;         /* ← centre vertical */
  justify-content: center;     /* ← centre horizontal */
  backdrop-filter: blur(3px);
  transition: background 0.2s ease, color 0.2s ease;
}


.mr-toggle:hover {
  background: rgba(0,0,0,0.35);
  color: #fff;
}


/* Barre sociale */
.mr-social-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 4px;
  transition: transform 0.3s ease;
	margin-top: 3px;
}

/* Masquée */
.mr-social-bar.hidden {
  transform: translateX(-120%);
}

/* Boutons */
.mr-social-btn {
  display: block;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.mr-social-btn:hover {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}
.mr-icon {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

/* Couleurs réseaux */
.mr-icon-x { background: #000; fill: #fff; }
.mr-icon-linkedin { background: #0077b5; fill: #fff; }
.mr-icon-whatsapp { background: #25d366; fill: #fff; }
.mr-icon-facebook { background: #1877f2; fill: #fff; }

/* Email */
.mr-icon-email { background: #666; }
.mr-icon-email rect {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 1.2;
}
.mr-icon-email polyline {
  stroke: #000000;
  stroke-width: 1.2;
  fill: none;
}

/* Réduction taille logos */
.mr-icon path,
.mr-icon rect,
.mr-icon polyline {
  transform: scale(0.7);
  transform-origin: center;
}
.icon-burger { display: none; }
.icon-share { display: block; }

.mr-toggle.open .icon-burger { display: block; }
.mr-toggle.open .icon-share { display: none; }

/* Sur mobile : barre sociale en bas */
@media (max-width: 768px) {

    .mr-social-wrapper {
        position: fixed;
        bottom: 20px;   /* distance du bas */
        top: auto;      /* annule le top:40% */
        left: 20px;     /* un peu de marge */
        flex-direction: row; /* horizontal sur mobile */
        gap: 10px;
        align-items: center;
    }

    .mr-social-bar {
        margin-top: 0;
        flex-direction: row; /* icônes en ligne */
        gap: 8px;
        transform: none !important; /* éviter le slide hors écran */
    }

    .mr-social-bar.hidden {
        display: none; /* sur mobile, on masque plutôt que slide */
    }

    .mr-toggle {
        width: 36px;
        height: 36px;
    }
}
ul {
    padding-left: 4rem; /* décale les bullets */
    margin-left: 0;       /* évite le double décalage */
	margin-bottom: 1rem; /* espace entre les lignes */
}

li {
    margin-bottom: 0.4rem; /* espace entre les lignes */
}

