/* ==================== SECTION HERO ==================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(61, 126, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--grad-accent);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(82, 183, 136, 0.35);
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.4);
}

/* ==================== SECTION CONTACT RAPIDE ==================== */
.quick-contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.1) 0%, rgba(149, 213, 178, 0.1) 100%);
    order: -1;
}

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-quick-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.contact-quick-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-quick-icon {
    font-size: 2.8rem;
    color: #000000;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.contact-quick-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-quick-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-quick-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ==================== SECTION SERVICES ==================== */
.services {
    padding: 5rem 0;
    background: var(--grad-light);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 0;
}

/* Disposition des services */
.services-grid .service-card:nth-child(1) { grid-column: 1; }
.services-grid .service-card:nth-child(2) { grid-column: 2; }
.services-grid .service-card:nth-child(3) { grid-column: 1; }
.services-grid .service-card:nth-child(4) { grid-column: 2; }
.services-grid .service-card:nth-child(5) { grid-column: 1; }
.services-grid .service-card:nth-child(6) { grid-column: 2; }
.services-grid .service-card:nth-child(7) { grid-column: 1; }
.services-grid .service-card:nth-child(8) { grid-column: 2; }

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.service-icon {
    font-size: 3.2rem;
    color: #000000;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(61, 126, 42, 0.12) 0%, rgba(82, 183, 136, 0.12) 100%);
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    flex-grow: 0;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 0.98rem;
    flex-grow: 1;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* ==================== SECTION À PROPOS ==================== */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.05) 0%, rgba(149, 213, 178, 0.05) 100%);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.stat:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.1) 0%, rgba(149, 213, 178, 0.1) 100%);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat p {
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Tablets & Medium devices (1024px and down) */
@media (max-width: 1024px) {
    .quick-contact {
        padding: 3.5rem 0;
        order: -1;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-quick-item {
        padding: 2rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
    .quick-contact {
        padding: 3.5rem 0;
        order: -1;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-quick-item {
        padding: 1.8rem;
    }

    .contact-quick-icon {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .contact-quick-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .contact-quick-value {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .contact-quick-detail {
        font-size: 0.85rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 2.6rem;
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.9rem;
    }
}

/* Mobile devices (640px and down) */
@media (max-width: 640px) {
    .quick-contact {
        padding: 2.5rem 0;
        order: -1;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-quick-item {
        padding: 1.5rem;
        border-radius: 6px;
    }

    .contact-quick-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .contact-quick-item h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .contact-quick-value {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    .contact-quick-detail {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .hero {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 1.6rem;
        font-size: 0.85rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 6px;
    }

    .service-icon {
        font-size: 2.2rem;
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }

    .service-card p {
        font-size: 0.87rem;
        line-height: 1.5;
    }

    .about h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .about p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 1.2rem;
        border-radius: 6px;
    }

    .stat h3 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .stat p {
        font-size: 0.85rem;
    }
}

/* Small phones (480px and down) */
@media (max-width: 480px) {
    .quick-contact {
        padding: 2rem 0;
        order: -1;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .contact-quick-item {
        padding: 1.3rem;
    }

    .contact-quick-icon {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .contact-quick-item h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .contact-quick-value {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .contact-quick-detail {
        font-size: 0.75rem;
    }

    .hero {
        min-height: 50vh;
        padding: 2rem 0;
    }

    .video-overlay {
        background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(61, 126, 42, 0.7) 100%);
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        letter-spacing: -0.3px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.4rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        font-weight: 800;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.2rem;
        margin: 0;
    }

    .service-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        margin-bottom: 0.7rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .service-card p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .about {
        padding: 2rem 0 !important;
    }

    .about h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .about p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .stat {
        padding: 1rem;
        border-top: 3px solid var(--accent-color);
    }

    .stat h3 {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .stat p {
        font-size: 0.8rem;
    }
}

/* Ultra-small phones (360px and down) */
@media (max-width: 360px) {
    .quick-contact {
        padding: 1.5rem 0;
        order: -1;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .contact-quick-item {
        padding: 1rem;
    }

    .contact-quick-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .contact-quick-item h3 {
        font-size: 0.95rem;
    }

    .contact-quick-value {
        font-size: 0.85rem;
    }

    .contact-quick-detail {
        font-size: 0.7rem;
    }

    .hero {
        min-height: 45vh;
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 0.9rem;
    }

    .service-icon {
        font-size: 1.6rem;
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .about h2 {
        font-size: 1.2rem;
    }
}

/* ==================== HOTFIX SERVICES GRID MOBILE ==================== */
@media (max-width: 1024px) {
    .services-grid .service-card {
        grid-column: auto !important;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .service-card {
        width: 100%;
        margin: 0;
    }

    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
}
