/* Variables CSS - Couleurs officielles SSC Napoli */
:root {
    --napoli-blue: #0055A4;
    --napoli-light-blue: #0078D7;
    --napoli-dark-blue: #003D7A;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Container */
    --container-padding: 16px;
    --container-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--napoli-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-loader {
    color: var(--napoli-blue);
    animation: pulse 1s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-loader img {
    width: 30px;
    height: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Header - Mobile First */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--napoli-blue);
}

.logo img {
    width: 40px;  /* Ajustez cette valeur */
    height: auto;  /* Maintient les proportions */
    margin-right: 8px;
}

.logo i {
    font-size: 24px;
    margin-right: 8px;
}

/* Mobile Navigation */
.nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    list-style: none;
    z-index: 999;
}

.nav-menu.active {
    left: 0;
}

.nav-menu li {
    margin: 15px 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 18px;
    padding: 10px 20px;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--napoli-blue);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--napoli-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

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

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section - Mobile First */
.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--container-padding);
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 60px 60px;
    opacity: 0.2;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
    align-items: center;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 4;
}

.hero-logo-img {
    max-width: 150px;
    height: auto;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.logo-hero {
    font-size: 100px;
    opacity: 0.2;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Boutons - Mobile First */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--white);
    color: var(--napoli-blue);
}

.btn-primary:hover,
.btn-primary:active {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover,
.btn-secondary:active {
    background: var(--white);
    color: var(--napoli-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover,
.btn-outline:active {
    background: var(--white);
    color: var(--napoli-blue);
    transform: translateY(-2px);
}

/* Main content */
main {
    flex: 1;
    width: 100%;
}

/* Sections générales - Mobile First */
section {
    padding: 60px 0;
    width: 100%;
    overflow: hidden;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--napoli-blue);
    word-wrap: break-word;
    padding: 0 var(--container-padding);
}

/* Mission Section */
.mission {
    background: var(--light-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 var(--container-padding);
}

.mission-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.mission-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-card:active {
    transform: scale(0.98);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.mission-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Actions Section */
.actions-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 var(--container-padding);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--napoli-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-wrap: break-word;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 var(--container-padding);
}

.action-item {
    text-align: center;
    padding: 20px 15px;
}

.action-icon {
    width: 70px;
    height: 70px;
    background: var(--napoli-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

.action-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.action-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.action-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.message-president {
    /* Supprimez le dégradé, gardez seulement l'image */
    background-image: url('img/aurelio-de-laurentiis.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Ajoutez un overlay sombre pour la lisibilité du texte */
    position: relative;
    color: var(--white);
    padding: 50px var(--container-padding);
}

/* Overlay sombre pour que le texte soit lisible */
.message-president::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Ajustez l'opacité ici (0.3 à 0.7) */
    z-index: 1;
}

.message-president .container {
    position: relative;
    z-index: 2; /* Pour que le contenu soit au-dessus de l'overlay */
}

/* Texte en blanc avec ombre */
.president-text h2,
.president-text blockquote,
.president-signature {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.president-text blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    border-left: none;
    border-top: 3px solid white;
    padding-top: 20px;
}

/* Le reste de votre CSS */
.president-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.president-photo-img {
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.president-signature {
    font-weight: 600;
    text-align: right;
}

/* Soutenir Section */
.soutenir-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 var(--container-padding);
}

.soutenir-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.soutenir-card i {
    font-size: 2.5rem;
    color: var(--napoli-blue);
    margin-bottom: 15px;
}

.soutenir-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.soutenir-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.soutenir-card .btn {
    width: 100%;
    max-width: 200px;
}

/* Projets Section */
.projets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 var(--container-padding);
}

.projet-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.projet-image {
    height: 180px;
    background: var(--napoli-blue);
    position: relative;
    overflow: hidden;
}

.projet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projet-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--napoli-blue);
}

.projet-img-fallback i {
    font-size: 3rem;
    color: var(--white);
    opacity: 0.8;
}

.projet-content {
    padding: 20px;
}

.projet-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.projet-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.projet-stats {
    display: flex;
    gap: 15px;
    font-weight: 600;
    color: var(--napoli-blue);
    font-size: 0.9rem;
}

.projet-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Témoignages Section */
.temoignages {
    background: var(--light-gray);
    position: relative;
}

.temoignages-slider {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 var(--container-padding);
}

.temoignage-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: none;
}

.temoignage-item.active {
    display: block;
}

.temoignage-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-style: italic;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: var(--napoli-blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-fallback i {
    font-size: 1.2rem;
    color: var(--white);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--dark-gray);
}

.author-info p {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--napoli-blue);
    transition: all 0.3s ease;
}

.slider-prev:active,
.slider-next:active {
    transform: scale(0.95);
}

/* Footer - Mobile First */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        justify-items: center;
    }
}

.footer-section {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px; /* Réduit de 18px à 16px (comme le header) */
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 20px; /* Réduit de 24px à 20px (comme le header) */
    margin-right: 8px;
    color: var(--napoli-blue);
}

/* Si vous avez une image dans le footer */
.footer-logo img {
    width: 30px; /* À ajuster selon votre image */
    height: auto;
    margin-right: 8px;
}

.footer-section p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-section ul li i {
    margin-right: 8px;
    color: var(--napoli-blue);
    width: 20px;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--napoli-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:active {
    transform: scale(0.9);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--napoli-blue);
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:active {
    background: var(--napoli-light-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Tablet Styles (min-width: 768px) */
@media screen and (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    section {
        padding: 80px 0;
    }
    
    section h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
    
    /* Navigation */
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        width: auto;
        gap: 20px;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        font-size: 15px;
        padding: 0;
    }
    
    .hamburger {
        display: none;
    }
    
    /* Hero */
    .hero {
        flex-direction: row;
        text-align: left;
        min-height: auto;
        padding: 60px 30px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
    
    .hero-image {
        margin-top: 0;
    }
    
    .hero-logo-img {
        max-width: 200px;
    }
    
    .logo-hero {
        font-size: 150px;
    }
    
    /* Mission Grid */
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Actions */
    .actions-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* President */
    .president-content {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    
    .president-image {
        flex: 1;
    }
    
    .president-text {
        flex: 2;
    }
    
    .president-text blockquote {
        border-left: 4px solid var(--white);
        border-top: none;
        padding-left: 30px;
        padding-top: 0;
    }
    
    /* Soutenir */
    .soutenir-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Partenaires Grid */
    .partenaires-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
        margin-top: 30px;
    }
    
    .partenaire-card {
        background: var(--napoli-white);
        border-radius: 15px;
        padding: 25px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,63,127,0.1);
        transition: all 0.3s ease;
        border: 2px solid var(--napoli-gray);
    }
    
    .partenaire-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,63,127,0.15);
        border-color: var(--napoli-light-blue);
    }
    
    .partenaire-card img {
        width: 150px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    .partenaire-card h4 {
        color: var(--napoli-blue);
        margin: 10px 0 5px 0;
        font-size: 1.1rem;
    }
    
    .partenaire-card p {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Responsive pour les partenaires */
    @media screen and (max-width: 768px) {
        .partenaires-grid {
            grid-template-columns: repeat(3, 1fr); /* 3 logos par ligne */
            gap: 15px;
        }
        
        .partenaire-card {
            padding: 15px;
        }
        
        .partenaire-card img {
            width: 100px;
            height: 50px;
        }
        
        .partenaire-card h4 {
            font-size: 0.85rem;
            margin: 5px 0 2px 0;
        }
        
        .partenaire-card p {
            font-size: 0.75rem;
        }
    }
    
    @media screen and (max-width: 480px) {
        .partenaires-grid {
            grid-template-columns: repeat(2, 1fr); /* 2 logos par ligne */
            gap: 12px;
        }
        
        .partenaire-card {
            padding: 10px;
        }
        
        .partenaire-card img {
            width: 80px;
            height: 40px;
        }
        
        .partenaire-card h4 {
            font-size: 0.75rem;
            margin: 3px 0 1px 0;
        }
        
        .partenaire-card p {
            font-size: 0.7rem;
        }
    }
    
    /* Projets */
    .projets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop Styles (min-width: 1024px) */
@media screen and (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    section {
        padding: 100px 0;
    }
    
    .hero {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .mission-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop */
@media screen and (min-width: 1440px) {
    .hero h1 {
        font-size: 4rem;
    }
}

/* Handle very small devices */
@media screen and (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}