/* Conteneur du logo */
.logo {
  display: flex;
  align-items: center;  /* centre verticalement */
  gap: 8px;             /* espace entre image et texte */
}

/* Image du logo */
/* .logo-img {
  height: auto;  
  width: 200px;
} */

/* Texte HAYO */
/* .logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #333;
} */

/* Badge CSU */
.logo-badge {
  background-color: #1A8C4E; 
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

/* Color Variables - Extracted from Hayo site */
:root {
    --primary-purple: #8b5cf6;
    --primary-cyan: #06b6d4;
    --primary-green: #1a8c4e;
    --primary-orange: #f59e0b;
    --primary-red: #ef4444;
    --dark-green: #059669;
    --light-green: #d1fae5;
    --text-dark: #374151;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
    --white: #ffffff;
}

/* Header Banner */
.header-banner {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-cyan) 50%, var(--primary-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.banner-link {
    color: var(--white);
    text-decoration: underline;
    margin-left: 10px;
    font-weight: 600;
}

.banner-link:hover {
    opacity: 0.8;
}

/* Main Header */
/* .main-header { */
    /* background: linear-gradient(90deg, var(--primary-green) 0%, var(--dark-green) 50%, var(--primary-red) 100%);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    .main-header {
    background: linear-gradient(
        90deg, 
        #1A8C4E 0%,   /* Vert à gauche */
        #5B2C73 30%,  /* Violet au centre gauche */
        #C1272D 60%,  /* Rouge au centre droit */
        #E85C0D 100%  /* Orange à droite */
    );
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 250px;
    height: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-badge {
    background: var(--primary-green);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Main Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.search-icon {
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sub Header */
.sub-header {
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}

.sub-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.sub-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sub-nav-item {
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sub-nav-item.dropdown {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.sub-nav-item.primary {
    background: var(--primary-green);
    color: var(--white);
}

.sub-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
}

.credit-btn {
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.credit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Table of Contents */
.toc {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
    border: 1px solid var(--border-light);
}

.toc h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 10px;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 12px;
}

.toc a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
}

.toc a:hover {
    background: var(--light-green);
    color: var(--dark-green);
    transform: translateX(5px);
}

/* Content */
.content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

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

.content h1 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-cyan));
    border-radius: 2px;
}

.content h2 {
    color: var(--primary-green);
    margin: 30px 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-green);
    border-radius: 2px;
}

.content p {
    margin-bottom: 16px;
    color: var(--text-dark);
    text-align: justify;
    line-height: 1.7;
    font-size: 15px;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--light-green), #ecfdf5);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 5px solid var(--primary-green);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

.contact-info strong {
    color: var(--dark-green);
    font-weight: 600;
}

.contact-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.contact-details a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.phone-number {
    color: var(--primary-green);
    font-weight: 600;
    background: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 60px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.footer-cta h2 {
    color: var(--primary-green);
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.cta-item {
    text-align: center;
    padding: 20px 15px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cta-item:hover {
    transform: translateY(-5px);
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cta-icon.clock { background: var(--primary-purple); }
.cta-icon.map { background: var(--primary-cyan); }
.cta-icon.user { background: var(--primary-green); }
.cta-icon.credit { background: var(--primary-orange); }
.cta-icon.mobile { background: var(--primary-red); }

.cta-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.4;
}

/* Hero Image */
.hero-image {
    position: absolute;
    right: 20px;
    bottom: 0;
    max-width: 400px;
}

.woman-img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 48px;
    border-radius: 8px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.contact-group {
    margin-bottom: 20px;
}

.contact-group p {
    margin-bottom: 5px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-additional {
    font-size: 12px;
    opacity: 0.6;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 280px;
}

.floating-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.contact-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.whatsapp-icon {
    background: var(--white);
    color: var(--primary-green);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px auto;
    }
    
    .toc {
        position: static;
        order: 2;
    }
    
    .content {
        order: 1;
    }
    
    .hero-image {
        position: static;
        max-width: 300px;
        margin: 20px auto 0;
        text-align: center;
    }
    
    .footer-cta {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .sub-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .sub-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .content {
        padding: 25px;
    }
    
    .content h1 {
        font-size: 26px;
    }
    
    .content h2 {
        font-size: 20px;
    }
    
    .cta-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .floating-contact {
        bottom: 15px;
        right: 15px;
        max-width: 200px;
    }
    
    .contact-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-banner {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .toc, .content {
        padding: 20px;
    }
    
    .content h1 {
        font-size: 22px;
    }
    
    .content h2 {
        font-size: 18px;
    }
    
    .footer-cta {
        padding: 40px 0;
    }
    
    .footer-cta h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cta-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .cta-title {
        font-size: 12px;
    }
    
    .floating-contact {
        position: fixed;
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        justify-content: center;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header-banner,
    .main-header,
    .sub-header,
    .toc,
    .footer-cta,
    .footer,
    .floating-contact {
        display: none !important;
    }
    
    .container {
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .content {
        box-shadow: none;
        border: none;
        padding: 20px 0;
    }
    
    body {
        background: white;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply animations */
.content section {
    animation: fadeInUp 0.6s ease-out;
}

.floating-contact {
    animation: pulse 2s infinite;
}

.cta-item:hover .cta-icon {
    animation: pulse 0.6s ease-in-out;
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #0d7c66;
        --text-dark: #000000;
        --bg-light: #ffffff;
        --border-light: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
 .social-icons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .social-icon:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .social-icon.facebook {
            color: #1877F2;
        }

        .social-icon.twitter {
            color: #000000;
        }

        .social-icon.youtube {
            color: #FF0000;
        }

        /* Icônes SVG */
        .facebook-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .twitter-icon {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        .youtube-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }
