:root {
    --primary: #047857;
    --primary-light: #d1fae5;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #f3f4f6;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Bandeau Horizontal */
.top-banner {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    line-height: 1.2;
}

.main-title .asbl {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 600;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 200px;
    transition: transform 0.3s ease;
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-box:hover {
    transform: scale(1.05);
}

/* Navigation Centrale */
.main-nav {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.main-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

/* Contenu Principal */
.content-area {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.content-block {
    margin-bottom: 2.5rem;
    background: var(--bg-card);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.content-block h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-block p {
    margin-bottom: 1.25rem;
    color: #374151;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.text-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    text-decoration-color: var(--primary-light);
    font-weight: 600;
    transition: all 0.2s ease;
}

.text-link:hover {
    background-color: var(--primary-light);
    text-decoration-color: var(--primary);
}

.styled-list {
    list-style-position: inside;
    margin-left: 1rem;
    color: #374151;
}

.styled-list li {
    margin-bottom: 0.75rem;
}

.styled-list li::marker {
    color: var(--primary);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
    .banner-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-title {
        order: -1; /* Place le titre tout en haut sur mobile */
    }
    
    .main-nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .content-block {
        padding: 1.5rem;
    }
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.partner-card img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.partner-name {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

/* Logo adjustment */
.logo-yoga img {
    max-height: 85% !important; /* Rend le yoga légèrement plus petit */
}

.logo-sportnat img {
    transform: scale(1.35); /* Grossit le sport'nat de 35% */
}
