/* ===========================================
   Beyond Trash - Site Association
   Mobile-First Responsive Design
   =========================================== */

/* === VARIABLES CSS === */
:root {
    /* Couleurs Principales */
    --bleu-ocean: #0077BE;
    --vert-tropical: #2ECC71;
    --orange-sunset: #E67E22;

    /* Couleurs Secondaires */
    --noir-charbon: #2C3E50;
    --gris-anthracite: #7F8C8D;
    --blanc-pur: #FFFFFF;
    --gris-clair: #ECF0F1;

    /* Couleurs Créoles */
    --jaune-curcuma: #F39C12;
    --rouge-piment: #E74C3C;

    /* Typographie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Arial, Helvetica, sans-serif;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--noir-charbon);
    line-height: 1.6;
    background-color: var(--blanc-pur);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--noir-charbon);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--gris-anthracite);
    line-height: 1.7;
}

strong {
    color: var(--bleu-ocean);
    font-weight: 600;
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* === HEADER & NAVIGATION === */
header {
    background: var(--blanc-pur);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--noir-charbon);
}

.logo-accent {
    color: var(--bleu-ocean);
}

/* Menu Burger (Mobile) */
.menu-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-burger span {
    width: 25px;
    height: 3px;
    background: var(--noir-charbon);
    transition: var(--transition-normal);
}

.menu-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-burger.active span:nth-child(2) {
    opacity: 0;
}

.menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: var(--blanc-pur);
    width: 70%;
    max-width: 300px;
    height: 100vh;
    padding: 5rem var(--spacing-md) var(--spacing-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    color: var(--noir-charbon);
    font-weight: 500;
    font-size: 1.1rem;
    padding: var(--spacing-sm);
    display: block;
    border-radius: 5px;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gris-clair);
    color: var(--bleu-ocean);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--bleu-ocean) 0%, var(--vert-tropical) 100%);
    color: var(--blanc-pur);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-sm);
}

.hero h1 {
    color: var(--blanc-pur);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    line-height: 1.7;
}

.hero-small {
    padding: var(--spacing-lg) var(--spacing-sm);
}

.hero-small h1 {
    font-size: 1.75rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--orange-sunset);
    color: var(--blanc-pur);
}

.btn-primary:hover {
    background: #D35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc-pur);
    border: 2px solid var(--blanc-pur);
}

.btn-secondary:hover {
    background: var(--blanc-pur);
    color: var(--bleu-ocean);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* === SECTIONS === */
.section {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.section-alt {
    background: var(--gris-clair);
}

.section-kino {
    background: linear-gradient(to bottom, var(--blanc-pur), var(--gris-clair));
}

.section-culture {
    background: var(--blanc-pur);
}

.section-sport {
    background: var(--gris-clair);
}

.section-cta {
    background: linear-gradient(135deg, var(--bleu-ocean) 0%, var(--vert-tropical) 100%);
    color: var(--blanc-pur);
    text-align: center;
}

.section-cta h2 {
    color: var(--blanc-pur);
    margin-bottom: var(--spacing-sm);
}

.section-cta p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.section-content {
    text-align: center;
}

.section-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* === FEATURES GRID === */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.feature h3 {
    color: var(--bleu-ocean);
    margin-bottom: var(--spacing-xs);
}

.feature p {
    color: var(--gris-anthracite);
    margin-bottom: 0;
}

/* === TIMELINE (About Page) === */
.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-direction: column;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bleu-ocean);
    flex-shrink: 0;
}

.timeline-content {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: var(--vert-tropical);
    margin-bottom: var(--spacing-xs);
}

/* === MISSION GRID === */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.mission-card {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.mission-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.mission-card h3 {
    color: var(--bleu-ocean);
    margin-bottom: var(--spacing-sm);
}

.mission-card ul {
    list-style: none;
    padding: 0;
}

.mission-card li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.mission-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--vert-tropical);
    font-weight: 700;
}

/* === TEAM === */
.team-section {
    margin-top: var(--spacing-md);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.team-member {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.team-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.team-member h4 {
    color: var(--bleu-ocean);
    margin-bottom: var(--spacing-xs);
}

.team-info {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-top: var(--spacing-md);
}

.team-info p {
    margin-bottom: var(--spacing-sm);
}

.team-info .btn {
    margin-top: var(--spacing-sm);
}

/* === LEGAL INFO === */
.legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.legal-item {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.legal-label {
    font-weight: 600;
    color: var(--gris-anthracite);
    font-size: 0.9rem;
}

.legal-value {
    color: var(--noir-charbon);
    font-weight: 500;
}

.legal-docs {
    margin-top: var(--spacing-md);
}

.note {
    background: #FFF8E1;
    padding: var(--spacing-md);
    border-radius: 5px;
    border-left: 4px solid var(--jaune-curcuma);
    font-size: 0.95rem;
    color: var(--noir-charbon);
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--noir-charbon);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gris-clair);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bleu-ocean);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    flex-direction: row;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gris-anthracite);
    margin-top: var(--spacing-sm);
}

/* Contact Info */
.contact-info-wrapper {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-info-card {
    margin-top: var(--spacing-md);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gris-clair);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-item h3 {
    color: var(--bleu-ocean);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.contact-info-item p {
    margin-bottom: 0;
    line-height: 1.7;
}

.legal-info {
    background: var(--gris-clair);
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-top: var(--spacing-md);
}

.legal-info h3 {
    margin-bottom: var(--spacing-sm);
}

.legal-info p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.location-card {
    background: var(--blanc-pur);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.location-card h3 {
    color: var(--bleu-ocean);
    margin-bottom: var(--spacing-sm);
}

.location-card p {
    margin-bottom: 0;
    line-height: 1.8;
}

/* === FOOTER === */
.footer {
    background: var(--noir-charbon);
    color: var(--blanc-pur);
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--blanc-pur);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.footer-address {
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--vert-tropical);
    padding-left: 5px;
}

.footer-legal {
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* === RESPONSIVE DESIGN === */

/* Tablettes (768px et +) */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .menu-burger {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        flex-direction: row;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1024px et +) */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .features {
        grid-template-columns: repeat(4, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content,
.feature,
.timeline-item,
.mission-card {
    animation: fadeIn 0.6s ease-out;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
