/* Variables CSS avec la palette fournie */
:root {
    --bleu-nuit: #1a237e;
    --rouge-nuit: #b71c1c;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
    --gris-fonce: #424242;
    --bleu-clair: #3f51b5;
    --rouge-clair: #e53935;
    --bleu-gradient: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    --rouge-gradient: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
    --black: #020205;
    --animation: slideUp 1s ease;
}


/* Responsive typography & layout helpers */
html { font-size: 16px; }
body { font-size: 1rem; }

/* Presentation content layout */
.presentation-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.presentation-text {
    flex: 1 1 60%;
}

.presentation-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

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

/* Paragraph and heading sizing for clarity */
.presentation-text h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.presentation-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.2rem;
}

.benefit-card h3 {
    font-size: 1.15rem;
}

.benefit-card p,
.club-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Smaller stat numbers on small screens */
.presentation-stats .stat-number {
    font-size: 1.6rem;
}


/* Animation d'apparition */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles généraux améliorés */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gris-fonce);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bannière améliorée */
.banner {
    background: 
        linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(183, 28, 28, 0.75) 100%),
        url('../media/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--blanc);
    padding: 100px 0; /* Aligné avec accueil.css */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 126, 0.1);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3.2rem; /* Aligné avec accueil.css (slide h2) */
    margin-bottom: 18px; /* Aligné avec accueil.css */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideUp 1.2s ease;
}

.banner-content h1 span {
    font-size: 3.2rem; /* Même taille que le h1 */
    text-transform: none;
}

.banner-subtitle {
    font-size: 1.6rem; /* Aligné avec accueil.css (slide p) */
    margin-bottom: 25px; /* Aligné avec accueil.css */
    opacity: 0.95;
    font-weight: 300;
    animation: slideUp 1.4s ease;
}

.banner-motto {
    display: flex;
    justify-content: center;
    gap: 30px; /* Augmenté pour correspondre au style */
    margin-top: 30px;
    animation: slideUp 1.6s ease;
}

.banner-motto span {
    font-size: 1.15rem; /* Aligné avec le style général */
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--blanc);
    border-radius: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.banner-motto span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rouge-gradient);
    transition: left 0.4s ease;
    z-index: -1;
}

.banner-motto span:hover::before {
    left: 0;
}

.banner-motto span:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Boutons d'action dans la bannière */
.banner-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1.8s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Réduit de 20% (10px -> 8px) */
    padding: 12px 24px; /* Réduit de 20% (15px 30px -> 12px 24px) */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem; /* Réduit de ~14% (1.1rem -> 0.95rem) */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--rouge-gradient);
    color: var(--blanc);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: var(--bleu-gradient);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border-color: var(--blanc);
}

.btn-secondary:hover {
    background: var(--blanc);
    color: var(--bleu-nuit);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Override : rendre la bannière identique au style de la page d'accueil */
.banner {
    /* height aligns with homepage slides */
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, rgba(26,35,126,0.85) 0%, rgba(183,28,28,0.75) 100%), url('../media/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--blanc);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(102,126,234,0.25) 0%, rgba(118,75,162,0.25) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    line-height: 1.1;
}

.banner .banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 18px;
    font-weight: 300;
}

.banner .banner-actions .btn {
    padding: 12px 30px;
}

/* Mobile adjustments for banner */
@media (max-width: 992px) {
    .banner { height: 420px; }
    .banner h1 { font-size: 2rem; }
    .banner .banner-subtitle { font-size: 1.05rem; }
    .banner-content { max-width: 92%; padding: 16px; }
}

@media (max-width: 768px) {
    .banner { height: 350px; }
    .banner h1 { font-size: 1.6rem; }
    .banner .banner-subtitle { font-size: 0.95rem; }
    .banner-content { padding: 12px; }
    .banner .banner-actions { gap: 10px; }
    .banner .btn { width: 100%; justify-content: center; }
}


/* En-tête de section amélioré */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: var(--animation);
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--bleu-nuit);
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
}

.divider {
    width: 100px;
    height: 5px;
    background: var(--rouge-gradient);
    margin: 0 auto 25px;
    border-radius: 3px;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 9px;
    background: var(--rouge-nuit);
    border-radius: 5px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gris-fonce);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Section Présentation améliorée */
/* Section Présentation - Design amélioré */
.presentation {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.presentation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--rouge-gradient);
}

.presentation::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    animation: var(--animation);
    position: relative;
    z-index: 1;
}

.presentation-text {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
}

.presentation-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--bleu-gradient);
    border-radius: 20px 0 0 20px;
}

.presentation-text h3 {
    color: var(--bleu-nuit);
    margin-bottom: 25px;
    font-size: 1.6rem; /* Réduit de 1.9rem à 1.6rem */
    font-weight: 700;
    position: relative;
    padding-left: 0px; /* Retiré le padding */
    line-height: 1.3;
}

.presentation-text h3::before {
    display: none; /* Masqué l'emoji */
}

.presentation-text p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: var(--gris-fonce);
    font-size: 1rem; /* Réduit de 1.05rem à 1rem */
    text-align: justify;
    position: relative;
    padding-left: 20px;
}

.presentation-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--rouge-nuit);
    border-radius: 50%;
}

.presentation-text p:first-of-type {
    font-size: 1.05rem; /* Réduit de 1.1rem à 1.05rem */
    font-weight: 500;
    color: #2c3e50;
}

/* Statistiques de présentation - Design amélioré */
.presentation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed rgba(26, 35, 126, 0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bleu-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    border-color: var(--bleu-nuit);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.15);
}

.stat-item:hover::before {
    opacity: 0.05;
}

.stat-number {
    font-size: 2.5rem; /* Réduit de 2.8rem à 2.5rem */
    font-weight: 800;
    background: var(--bleu-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: var(--gris-fonce);
    font-size: 0.9rem; /* Réduit de 0.95rem à 0.9rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Image de présentation - Design amélioré */
.presentation-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.presentation-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.7) 0%, rgba(183, 28, 28, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.presentation-image::after {
    content: '🚀';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 4rem;
    z-index: 2;
    transition: all 0.5s ease;
    opacity: 0;
}

.presentation-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(26, 35, 126, 0.2);
}

.presentation-image:hover::before {
    opacity: 0.3;
}

.presentation-image:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.presentation-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.presentation-image:hover img {
    transform: scale(1.08);
}

/* Section Pourquoi Nous Rejoindre - 4 cartes par ligne */
.why-join {
    padding: 100px 0;
    background: var(--blanc);
}

.benefits-grid {
    display: grid;
    /* Desktop / tablette : afficher les 4 cartes sur la même ligne (réduites)
       Mobile : backed by media queries below -> 2 colonnes (deux-par-deux) */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0 auto;
    max-width: 1200px;
}

.benefit-card {
    background: var(--gris-clair);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--bleu-nuit);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--rouge-nuit);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--bleu-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blanc);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
    background: var(--rouge-gradient);
    transform: rotate(15deg) scale(1.1);
}

.benefit-card h3 {
    color: var(--bleu-nuit);
    margin-bottom: 15px;
    font-size: 1.1rem; /* Réduit de 1.2rem à 1.1rem */
    font-weight: 600;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--gris-fonce);
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

/* Section Clubs - 4 cartes par ligne */
.clubs {
    padding: 100px 0;
    background: var(--blanc);
    position: relative;
}

.clubs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--bleu-gradient);
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes fixes */
    gap: 25px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Styles pour les images des clubs */
.club-card {
    background: var(--blanc);
    border-radius: 15px;
    padding: 0 0 25px 0;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-top: 4px solid var(--bleu-nuit);
    position: relative;
    overflow: hidden;
    animation: var(--animation);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.club-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rouge-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.club-card:hover::before {
    transform: scaleX(1);
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.club-image {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    margin-bottom: 15px;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.club-image img {
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(0.3);
}

.club-overlay {
    display: none;
}

.club-card:hover .club-image img {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0) drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.club-card h3 {
    color: var(--bleu-nuit);
    margin: 15px 20px 10px 20px;
    font-size: 1.2rem; /* Réduit de 1.3rem à 1.2rem */
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.club-card:hover h3 {
    color: var(--rouge-nuit);
}

.club-card p {
    color: var(--gris-fonce);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0 20px 15px 20px;
    flex: 1;
}

/* Section Objectifs - Design moderne et amélioré */
.objectives {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.objectives .section-description {
    text-align: center;
    font-size: 1.1rem; /* Réduit de 1.2rem à 1.1rem */
    color: var(--gris-fonce);
    margin-top: 10px;
    opacity: 0.8;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.objectives-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.objectives-list li {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-left: 4px solid var(--bleu-nuit);
    counter-increment: objective-counter;
}

.objectives-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 35, 126, 0.15);
    border-left-color: var(--rouge-nuit);
}

.objectives-list li::before {
    content: counter(objective-counter, decimal-leading-zero);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(26, 35, 126, 0.08);
    line-height: 1;
}

.objectives-list {
    counter-reset: objective-counter;
}

.objectives-list li strong {
    color: var(--bleu-nuit);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.objectives-list li strong::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--bleu-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.objectives-list li strong::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

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

.objectives-list li {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.objectives-list li:nth-child(1) { animation-delay: 0.1s; }
.objectives-list li:nth-child(2) { animation-delay: 0.2s; }
.objectives-list li:nth-child(3) { animation-delay: 0.3s; }
.objectives-list li:nth-child(4) { animation-delay: 0.4s; }
.objectives-list li:nth-child(5) { animation-delay: 0.5s; }
.objectives-list li:nth-child(6) { animation-delay: 0.6s; }

/* Section Call-to-Action */
.cta-section {
    padding: 80px 0;
    background: var(--gris-clair);
    color: var(--gris-fonce);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: center;
}

.cta-section .btn-primary {
    background: var(--rouge-gradient);
    color: var(--blanc);
}

.cta-section .btn-secondary {
    border: 2px solid var(--bleu-nuit);
    color: var(--bleu-nuit);
    background: transparent;
}

.cta-section .btn-secondary:hover {
    background: var(--bleu-nuit);
    color: var(--blanc);
}

/* ===================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   =================================== */

/* Tablettes (≤ 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.3rem;
    }
    
    .banner-motto {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .banner {
        padding: 60px 0;
    }
    
    .banner-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }
    
    .banner-content h1 span {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .banner-motto-item {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .about-content p,
    .objectives-intro,
    .cta-content p {
        font-size: 1rem;
    }
    
    .value-card h3,
    .team-member h3 {
        font-size: 1.3rem;
    }
    
    .objectives-list li {
        font-size: 1rem;
        padding-left: 30px;
    }
    
    .objectives-list li::before {
        left: 5px;
    }
}

/* Petits mobiles (≤ 576px) */
@media (max-width: 576px) {
    .banner {
        padding: 40px 0;
    }
    
    .banner-content h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .banner-content h1 span {
        font-size: 1.6rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .banner-motto-item {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .value-card,
    .team-member {
        padding: 20px;
    }
    
    .value-card i {
        font-size: 2.5rem;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
    }
    
    .team-member img {
        height: 200px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Additional responsive tweaks specific to ucao-tech page */
@media (max-width: 992px) {
    .presentation-content {
        flex-direction: column;
        gap: 20px;
    }
    .presentation-text, .presentation-image {
        width: 100%;
        flex: none;
    }
    .section-header h2 { font-size: 2rem; }
    .presentation-text h3 { font-size: 1.1rem; }
    /* Clubs: show two columns on tablet-sized screens */
    .clubs-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    /* Make tablet behave like mobile for the presentation: hide side image, expand container */
    .presentation-image { display: none !important; }
    .presentation .container { max-width: 100%; padding-left: 12px; padding-right: 12px; }
    .presentation-content { display: block; }
    .presentation-text { display: block; width: 100% !important; flex: none; margin: 0 auto; padding: 0 6px; }
    .presentation-text h3 { text-align: center; }
}

@media (max-width: 768px) {
    .banner { padding: 60px 0; }
    .banner h1 { font-size: 1.8rem; }
    .banner-subtitle { font-size: 1rem; }
    .presentation { padding: 40px 0; }
    .presentation-text p { font-size: 0.95rem; }
    .benefit-card h3 { font-size: 1rem; }
    /* Tablet and small desktops: keep 4 on very large screens, but
       collapse to 2 columns on narrower tablets/landscape phones */
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 576px) {
    .banner { padding: 40px 0; }
    .banner h1 { font-size: 1.4rem; }
    .banner-subtitle { font-size: 0.9rem; }
    .presentation { padding: 30px 0; }
    .presentation-text h3 { font-size: 1rem; }
    .presentation-text p { font-size: 0.9rem; }
    /* Mobile phones: show two cards per row (deux-par-deux) */
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .clubs-grid { grid-template-columns: 1fr; }
    /* Hide the side image on small screens and make text full width */
    .presentation-image { display: none !important; }
    /* Make presentation occupy full viewport width (scoped) */
    .presentation .container { max-width: 100%; padding-left: 12px; padding-right: 12px; }
    .presentation-content { display: block; }
    .presentation-text { display: block; width: 100% !important; flex: none; margin: 0 auto; padding: 0 6px; }
    /* Keep section header on a single line and center it visually */
    .section-header h2 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1.4rem;
    }
    /* Center the presentation H3 in the section on mobile */
    .presentation-text h3 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    /* Optionally center the intro block title and keep readable paragraph alignment */
    .presentation-text { text-align: left; }
}


