/* ============================================================
   MW Mining — Vert Émeraude Theme
   Charte graphique : Vert émeraude (#059669, #10b981) + Forêt (#0d3320)
   Typographie : DM Serif Display + DM Sans
   ============================================================ */

/* ==================== VARIABLES & RESET ==================== */
:root {
    --deep-forest: #0d3320;
    --forest-light: #134e2e;
    --emerald: #059669;
    --emerald-light: #10b981;
    --dark: #0c1f15;
    --dark-secondary: #111827;
    --light-sage: #ecfdf5;
    --sage: #d1fae5;
    --gold: #b8860b;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(13, 51, 32, 0.08);
    --shadow-md: 0 10px 30px rgba(13, 51, 32, 0.1);
    --shadow-lg: 0 20px 50px rgba(5, 150, 105, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ==================== NAVBAR ==================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(13, 51, 32, 0.9);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1rem 0;
    transition: var(--transition);
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.7rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-light);
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--light-sage);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-light);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--emerald-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta-btn {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.nav-cta-btn::after {
    display: none !important;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--emerald-light);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-forest) 0%, var(--forest-light) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(184, 134, 11, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 120px 20px 80px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--emerald-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero h1 .highlight {
    color: var(--emerald-light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--sage);
    font-weight: 300;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--emerald-light);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ==================== SECTIONS COMMON ==================== */
section {
    padding: 6rem 0;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--emerald);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--deep-forest);
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.2;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--deep-forest);
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage) 100%);
    border-left: 4px solid var(--emerald);
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(8px);
}

.value-item h3 {
    color: var(--deep-forest);
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

.about-image {
    position: relative;
    height: 420px;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    text-align: center;
    color: var(--emerald);
    opacity: 0.3;
}

.about-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 12px;
    display: block;
}

.about-image-placeholder p {
    font-size: 0.85rem;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--emerald);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--emerald);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    color: var(--deep-forest);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==================== MATIÈRES PREMIÈRES SECTION ==================== */
.matieres {
    background: var(--white);
}

.matieres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.matiere-card {
    background: linear-gradient(135deg, var(--deep-forest) 0%, var(--forest-light) 100%);
    color: white;
    padding: 2.5rem 1.75rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.matiere-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition);
}

.matiere-card:hover::before {
    top: -25%;
    right: -25%;
}

.matiere-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 50px rgba(13, 51, 32, 0.3);
}

.matiere-icon {
    font-size: 2.5rem;
    color: var(--emerald-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.matiere-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.matiere-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--sage);
    position: relative;
    z-index: 2;
}

/* ==================== TEAM SECTION ==================== */
.team {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
}

.team-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

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

.team-info {
    padding: 1.75rem;
}

.team-card h3 {
    color: var(--deep-forest);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.team-card .position {
    color: var(--emerald);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.team-card .bio {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.team-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    font-size: 0.85rem;
}

.team-social a:hover {
    background: var(--emerald);
    color: white;
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--deep-forest) 0%, var(--forest-light) 100%);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(16, 185, 129, 0.25);
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 51, 32, 0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.gallery-text p {
    font-size: 0.85rem;
    color: var(--sage);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-intro {
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    color: var(--deep-forest);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    font-size: 0.92rem;
}

.contact-item a:hover {
    color: var(--emerald);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: var(--deep-forest);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--sage);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23059669' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.form-submit.success {
    background: linear-gradient(135deg, #059669, #047857);
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, var(--deep-forest) 0%, var(--dark) 100%);
    color: var(--sage);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.footer-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--emerald-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(209, 250, 229, 0.7);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-light);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--emerald);
    color: white;
    border-color: var(--emerald);
}

.footer-section h3 {
    color: var(--emerald-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: rgba(209, 250, 229, 0.7);
    font-size: 0.88rem;
}

.footer-section a:hover {
    color: var(--emerald-light);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: rgba(209, 250, 229, 0.5);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(13, 51, 32, 0.97);
        padding: 1.5rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 4rem 0;
    }

    .services-grid,
    .matieres-grid,
    .team-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ==================== UTILITIES ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
