/* Styles pour le menu hamburger */
.hamburger-menu {
    display: none;
    position: relative;
    z-index: 1001;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white !important;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animation du hamburger */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Styles responsive pour tablettes */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 20px;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 0;
    }

    .logo {
        height: 40px;
        margin-right: 0;
        flex-shrink: 0;
        margin-left: 0;
    }

    .nav-elements {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        flex-shrink: 0;
    }
}

/* Styles responsive pour mobiles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 8px;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .logo {
        height: 35px;
        margin-right: 0;
        flex-shrink: 0;
        margin-left: 0;
    }

    .nav-elements {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Masquer le menu desktop et les boutons */
    .nav-links {
        position: fixed;
        top: 45px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 45px);
        background: rgba(7, 65, 30, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1rem;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.active {
        left: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    .nav-links .nav-item {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-links .nav-item a {
        color: white;
        padding: 1rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links .nav-item a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-links .nav-item a.active {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }

    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu li a {
        padding: 0.75rem 1.5rem;
        color: white;
        border-radius: 0;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }



    /* Masquer le bouton Espace membre dans le menu mobile sur desktop */
    .nav-links .member-btn {
        display: none;
    }

    /* Afficher le bouton Espace membre dans le menu mobile sur mobile */
    .nav-links .member-btn {
        display: flex !important;
        margin-top: 1rem;
        padding: 1rem;
        background: var(--accent-color);
        color: var(--primary-color);
        border-radius: 8px;
        font-weight: 600;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    .nav-links .member-btn:hover {
        background: var(--accent-dark);
        color: white;
    }
    
    /* Forcer l'affichage du menu hamburger */
    .nav-elements .hamburger-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Empêcher le scroll du body quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }

    /* Afficher le menu hamburger */
    .hamburger-menu {
        display: block !important;
        position: relative;
        z-index: 1001;
        margin-left: 0;
    }
    
    /* S'assurer que le bouton hamburger est visible */
    .hamburger-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid white !important;
        border-radius: 5px !important;
        transition: all 0.3s ease;
    }

    .hamburger-btn:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.05);
    }

    /* Ajuster la hauteur du hero */
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
        margin-top: 5rem;
    }

    /* Ajuster le contenu du slide */
    .slide-content {
        top: 40%;
        padding: 0 1rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Ajuster les statistiques */
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    /* Ajuster les cartes d'actualités */
    .news-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Ajuster le formulaire d'enregistrement */
    .registration-content {
        flex-direction: column;
        gap: 2rem;
    }

    .registration-info {
        grid-template-columns: 1fr;
    }

    /* Ajuster les sections */
    .president-content {
        flex-direction: column;
        gap: 2rem;
    }

    .president-image {
        text-align: center;
    }

    .president-image img {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid var(--primary-color);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .stats-details {
        flex-direction: column;
        gap: 2rem;
    }

    /* Styles responsives pour les pages spécifiques */
    
    /* Page Fondation - Hero responsive */
    .fondation-hero .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .fondation-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .fondation-hero .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .fondation-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .fondation-hero .hero-stats .stat-item {
        text-align: center;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .fondation-hero .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .fondation-hero .hero-actions .btn-primary,
    .fondation-hero .hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }

    /* Page Coopératives - Hero responsive */
    .cooperatives-hero .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .cooperatives-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .cooperatives-hero .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .cooperatives-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .cooperatives-hero .hero-stats .stat-item {
        text-align: center;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .cooperatives-hero .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cooperatives-hero .hero-actions .btn-primary,
    .cooperatives-hero .hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }

    /* Grilles responsives pour les sections */
    .mission-grid,
    .values-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-card,
    .value-item,
    .advantage-card {
        padding: 1.5rem;
    }

    /* Section Coopératives - Mobile responsive */
    .cooperatives-section .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .cooperatives-section .section-header p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Filtres responsives */
    .filters-container {
        margin-bottom: 1.5rem;
    }

    .categories-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
        min-width: auto;
        flex: 1;
        min-width: 120px;
        max-width: 150px;
    }

    .filter-btn i {
        font-size: 0.8rem;
        margin-right: 0.3rem;
    }

    /* Grille des coopératives responsive */
    .cooperatives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cooperative-card {
        margin-bottom: 1rem;
    }

    .cooperative-image {
        height: 200px;
    }

    .cooperative-content {
        padding: 1rem;
    }

    .cooperative-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .cooperative-type {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .cooperative-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .cooperative-stats {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .cooperative-stats .stat {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }

    .cooperative-stats .stat i {
        font-size: 0.8rem;
        margin-right: 0.3rem;
    }

    .cooperative-activities {
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .activity-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .cooperative-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cooperative-actions .btn-details,
    .cooperative-actions .btn-contact {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .cooperative-actions .btn-details i,
    .cooperative-actions .btn-contact i {
        margin-right: 0.5rem;
    }

    /* Photo du président sur très petits écrans */
    .president-image img {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--primary-color);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Styles pour les très petits écrans */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .slide-content h1 {
        font-size: 1.3rem;
    }

    .nav-container {
        padding: 0 6px;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 0;
    }

    .logo {
        height: 30px;
        margin-right: 0;
        flex-shrink: 0;
        margin-left: 0;
    }

    .nav-elements {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        flex-shrink: 0;
    }

    .hamburger-btn {
        min-width: 35px;
        min-height: 35px;
        padding: 6px;
    }

    .hamburger-line {
        width: 20px;
        height: 2px;
    }

    /* Page Fondation - Très petits écrans */
    .fondation-hero .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .fondation-hero .hero-subtitle {
        font-size: 1rem;
    }

    .fondation-hero .hero-description {
        font-size: 0.85rem;
    }

    .fondation-hero .hero-stats .stat-item {
        padding: 0.6rem;
    }

    .fondation-hero .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .fondation-hero .hero-stats .stat-label {
        font-size: 0.8rem;
    }

    .fondation-hero .hero-actions .btn-primary,
    .fondation-hero .hero-actions .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Page Coopératives - Très petits écrans */
    .cooperatives-hero .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .cooperatives-hero .hero-subtitle {
        font-size: 1rem;
    }

    .cooperatives-hero .hero-description {
        font-size: 0.85rem;
    }

    .cooperatives-hero .hero-stats .stat-item {
        padding: 0.6rem;
    }

    .cooperatives-hero .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .cooperatives-hero .hero-stats .stat-label {
        font-size: 0.8rem;
    }

    .cooperatives-hero .hero-actions .btn-primary,
    .cooperatives-hero .hero-actions .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Grilles pour très petits écrans */
    .mission-card,
    .value-item,
    .advantage-card {
        padding: 1rem;
    }

    .mission-card h3,
    .value-item h3,
    .advantage-card h3 {
        font-size: 1.1rem;
    }

    .mission-card p,
    .value-item p,
    .advantage-card p {
        font-size: 0.85rem;
    }

    /* Section Coopératives - Très petits écrans */
    .cooperatives-section .section-header h2 {
        font-size: 1.5rem;
    }

    .cooperatives-section .section-header p {
        font-size: 0.8rem;
    }

    .categories-filter {
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
        max-width: 120px;
    }

    .filter-btn i {
        font-size: 0.7rem;
        margin-right: 0.2rem;
    }

    .cooperative-image {
        height: 180px;
    }

    .cooperative-content {
        padding: 0.8rem;
    }

    .cooperative-header h3 {
        font-size: 1.1rem;
    }

    .cooperative-description {
        font-size: 0.8rem;
    }

    .cooperative-stats .stat {
        font-size: 0.75rem;
    }

    .activity-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .cooperative-actions .btn-details,
    .cooperative-actions .btn-contact {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

/* Styles pour les tablettes (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Page Fondation - Tablettes */
    .fondation-hero .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .fondation-hero .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .fondation-hero .hero-stats .stat-item {
        flex: 1;
        min-width: 150px;
        max-width: 200px;
    }

    .fondation-hero .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    /* Page Coopératives - Tablettes */
    .cooperatives-hero .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .cooperatives-hero .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .cooperatives-hero .hero-stats .stat-item {
        flex: 1;
        min-width: 150px;
        max-width: 200px;
    }

    .cooperatives-hero .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    /* Grilles pour tablettes */
    .mission-grid,
    .values-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Section Coopératives - Tablettes */
    .cooperatives-section .section-header h2 {
        font-size: 2.2rem;
    }

    .cooperatives-section .section-header p {
        font-size: 1rem;
    }

    .categories-filter {
        justify-content: center;
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-width: 140px;
        max-width: 180px;
    }

    .cooperatives-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cooperative-card {
        margin-bottom: 0;
    }

    .cooperative-image {
        height: 220px;
    }

    .cooperative-content {
        padding: 1.2rem;
    }

    .cooperative-header h3 {
        font-size: 1.3rem;
    }

    .cooperative-description {
        font-size: 0.9rem;
    }

    .cooperative-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cooperative-stats .stat {
        font-size: 0.85rem;
        flex: 1;
        min-width: 120px;
    }

    .cooperative-actions {
        flex-direction: row;
        gap: 1rem;
    }

    .cooperative-actions .btn-details,
    .cooperative-actions .btn-contact {
        flex: 1;
        width: auto;
    }
}

/* Alignement sur une ligne des actions d'authentification dans le menu mobile */
@media (max-width: 768px) {
	.nav-links li.auth-actions {
		display: flex;
		gap: 0.75rem;
		margin-top: 1rem;
	}
	.nav-links li.auth-actions a.member-btn {
		flex: 1;
		justify-content: center;
		align-items: center;
		padding: 0.9rem 1rem;
		border-radius: 10px;
		font-weight: 600;
		gap: 0.5rem;
		border: 1px solid rgba(255, 255, 255, 0.2);
		background: var(--accent-color);
		color: var(--primary-color);
		box-shadow: 0 6px 14px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
		transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, color 0.25s ease;
	}
	.nav-links li.auth-actions a.member-btn i {
		margin-right: 0.35rem;
	}
	.nav-links li.auth-actions a.member-btn:hover {
		background: var(--accent-dark);
		transform: translateY(-1px);
	}
	.nav-links li.auth-actions a.member-btn:active {
		transform: translateY(0);
		box-shadow: 0 3px 8px rgba(0,0,0,0.2);
	}
	.nav-links li.auth-actions a.member-btn:focus-visible {
		outline: 2px solid rgba(255,255,255,0.6);
		outline-offset: 2px;
	}

	/* Style distinct pour le bouton Déconnexion */
	.nav-links li.auth-actions a.member-btn[data-siteauth-logout] {
		background: transparent;
		color: #ffffff;
		border: 1px solid rgba(255,255,255,0.35);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}
	.nav-links li.auth-actions a.member-btn[data-siteauth-logout]:hover {
		background: rgba(255,255,255,0.08);
	}
	.nav-links li.auth-actions a.member-btn[data-siteauth-logout]:active {
		background: rgba(255,255,255,0.12);
	}

	/* Ajustements thème sombre si utilisé */
	.site-dark .nav-links li.auth-actions a.member-btn[data-siteauth-logout] {
		border-color: rgba(255,255,255,0.25);
	}
}

/* Alignement sur une ligne des actions d'authentification en mode bureau */
@media (min-width: 769px) {
	.nav-links li.auth-actions {
		display: flex;
		gap: 0.5rem;
		align-items: center;
	}
	.nav-links li.auth-actions a.member-btn {
		padding: 0.5rem 1rem;
		border-radius: 6px;
		font-weight: 500;
		font-size: 0.9rem;
		border: 1px solid rgba(255, 255, 255, 0.2);
		background: var(--accent-color);
		color: var(--primary-color);
		transition: all 0.2s ease;
		white-space: nowrap;
	}
	.nav-links li.auth-actions a.member-btn:hover {
		background: var(--accent-dark);
		transform: translateY(-1px);
		box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	}
	.nav-links li.auth-actions a.member-btn:active {
		transform: translateY(0);
	}
	.nav-links li.auth-actions a.member-btn:focus-visible {
		outline: 2px solid rgba(255,255,255,0.6);
		outline-offset: 2px;
	}

	/* Style distinct pour le bouton Déconnexion en bureau */
	.nav-links li.auth-actions a.member-btn[data-siteauth-logout] {
		background: transparent;
		color: #ffffff;
		border: 1px solid rgba(255,255,255,0.3);
	}
	.nav-links li.auth-actions a.member-btn[data-siteauth-logout]:hover {
		background: rgba(255,255,255,0.1);
		border-color: rgba(255,255,255,0.5);
	}
	.nav-links li.auth-actions a.member-btn[data-siteauth-logout]:active {
		background: rgba(255,255,255,0.15);
	}
}

/* Styles responsives pour le logo texte */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        padding: 3px 6px;
        text-shadow: 
            0 0 15px rgba(255, 177, 0, 0.3),
            0 1px 3px rgba(0, 0, 0, 0.3),
            0 3px 6px rgba(0, 0, 0, 0.2);
    }
    
    .logo-text:hover {
        transform: scale(1.03) translateY(-1px);
        letter-spacing: 2px;
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .footer-logo-text {
        font-size: 1.7rem;
        text-align: center;
        letter-spacing: 1.5px;
        padding: 4px 8px;
        text-shadow: 
            0 0 18px rgba(255, 177, 0, 0.3),
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .footer-logo-text:hover {
        transform: scale(1.05) translateY(-1px);
        letter-spacing: 2px;
        text-shadow: 
            0 0 25px rgba(255, 215, 0, 0.5),
            0 3px 6px rgba(0, 0, 0, 0.3),
            0 6px 12px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
        padding: 2px 4px;
        text-shadow: 
            0 0 12px rgba(255, 177, 0, 0.3),
            0 1px 2px rgba(0, 0, 0, 0.3),
            0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .logo-text:hover {
        transform: scale(1.02) translateY(-1px);
        letter-spacing: 1.5px;
        text-shadow: 
            0 0 15px rgba(255, 215, 0, 0.4),
            0 1px 3px rgba(0, 0, 0, 0.3),
            0 3px 6px rgba(0, 0, 0, 0.2);
    }
    
    .footer-logo-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
        padding: 3px 6px;
        text-shadow: 
            0 0 15px rgba(255, 177, 0, 0.3),
            0 1px 3px rgba(0, 0, 0, 0.3),
            0 3px 6px rgba(0, 0, 0, 0.2);
    }
    
    .footer-logo-text:hover {
        transform: scale(1.03) translateY(-1px);
        letter-spacing: 1.5px;
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

/* Styles responsives pour le logo SVG */
@media (max-width: 768px) {
    .logo {
        height: 50px;
        margin-right: 1.5rem;
    }
    
    .logo-svg {
        max-height: 50px;
    }
    
    .footer-logo {
        width: 140px;
    }
    
    .footer-logo-svg {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
        margin-right: 1rem;
    }
    
    .logo-svg {
        max-height: 40px;
    }
    
    .footer-logo {
        width: 120px;
    }
    
    .footer-logo-svg {
        width: 120px;
    }
}

/* Styles responsives pour le bouton "Aller vers le haut" */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Styles responsives pour les améliorations du footer */
@media (max-width: 768px) {
    .footer-section.links ul li a {
        padding: 6px 0;
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 8px;
        margin-bottom: 6px;
    }
    
    .contact-item i {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-btn i {
        font-size: 0.7rem;
    }
    
    .newsletter-input-group {
        flex-direction: row;
        gap: 6px;
        padding: 3px;
    }
    
    .newsletter-input-group input {
        flex: 1;
        border-radius: 20px;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .newsletter-input-group button {
        border-radius: 20px;
        padding: 10px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .footer-section.links ul li a {
        padding: 5px 0;
        font-size: 0.85rem;
    }
    
    .contact-item {
        padding: 6px;
        margin-bottom: 4px;
    }
    
    .contact-details strong {
        font-size: 0.75rem;
    }
    
    .contact-details span {
        font-size: 0.7rem;
    }
    
    .social-btn {
        width: 32px;
        height: 32px;
    }
    
    .social-btn i {
        font-size: 0.6rem;
    }
    
    .social-links {
        gap: 4px;
        justify-content: center;
    }
    
    .newsletter h5 {
        font-size: 0.9rem;
    }
    
    .newsletter p {
        font-size: 0.8rem;
    }
    
    .newsletter-input-group {
        flex-direction: row;
        gap: 4px;
        padding: 2px;
    }
    
    .newsletter-input-group input {
        flex: 1;
        border-radius: 18px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .newsletter-input-group button {
        border-radius: 18px;
        padding: 8px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: auto;
    }
}