/* ==========================================
   Variables CSS & Reset
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C3E50;
    --secondary-color: #27AE60;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E1E8ED;
    --text-color: #333333;
    --text-light: #6C757D;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* ==========================================
   Container & Sections
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 20px auto 0;
}

/* ==========================================
   Header & Navigation
   ========================================== */
#header {
    position: relative;
}

.header-content {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper .site-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
}

.seo-h1 {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1rem;
}

nav a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.hero-image-1 {
    background-image: url('images/hero-bg-1.png');
}

.hero-image-2 {
    background-image: url('images/hero-bg-2.png');
}

.hero-overlay {
    position: relative;
    z-index: 10;
    background: rgba(44, 62, 80, 0.7);
    padding: 40px 60px;
    border-radius: 5px;
}

.hero-overlay h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    width: auto;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta .btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.hero-cta .btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    opacity: 1;
}

.hero-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    opacity: 1;
}

/* ==========================================
   About Section
   ========================================== */
#about .section-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

#about p a {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: underline;
}

#about p a:hover {
    opacity: 0.8;
}

.cta-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.cta-section .btn-primary,
.cta-section .btn-secondary {
    width: auto;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-section .btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.cta-section .btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    opacity: 1;
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-section .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    opacity: 1;
}

/* ==========================================
   Impact Section
   ========================================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.impact-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.2);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.impact-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.impact-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.impact-cta {
    text-align: center;
    padding: 30px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 10px;
}

.impact-cta p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.impact-cta .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.impact-cta .btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    opacity: 1;
}

/* ==========================================
   Why Us Section
   ========================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.why-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.2);
    border-color: var(--secondary-color);
}

.why-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

.why-card p a {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: underline;
}

.why-card p a:hover {
    opacity: 0.8;
}

.why-card strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.why-cta {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.why-cta .btn-primary,
.why-cta .btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.why-cta .btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.why-cta .btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    opacity: 1;
}

.why-cta .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.why-cta .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    opacity: 1;
}

/* ==========================================
   Actions Section
   ========================================== */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.action-card {
    background: var(--white);
    padding: 40px 25px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.action-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.action-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.action-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    background: var(--white);
}

.gallery-more {
    text-align: center;
    margin-top: 40px;
}

.gallery-more p a {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: underline;
}

.gallery-more .btn-primary,
.gallery-more .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px;
    border-radius: 5px;
}

.gallery-more .btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.gallery-more .btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    opacity: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    opacity: 1;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #229954;
}

.form-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid var(--secondary-color);
    color: var(--text-color);
    font-size: 0.95rem;
    border-radius: 3px;
}

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-item strong {
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.15);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
    padding: 25px;
    background: rgba(39, 174, 96, 0.05);
    border-radius: 8px;
}

.testimonials-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.testimonials-cta a {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: underline;
}

.testimonials-cta a:hover {
    opacity: 0.8;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 500;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-legal {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social a {
    color: var(--white);
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-credits {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================
   Modal (Galerie)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ccc;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--white);
    padding: 20px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================
   Coming Soon Sections
   ========================================== */
.coming-soon {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.coming-soon-icon {
    margin-bottom: 30px;
    opacity: 0.8;
}

.coming-soon h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coming-soon p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.coming-soon-note {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 30px;
}

.coming-soon-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.coming-soon-features {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 5px;
    margin: 40px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-features h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.coming-soon-features ul {
    list-style: none;
    padding: 0;
}

.coming-soon-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.coming-soon-features li:last-child {
    border-bottom: none;
}

.coming-soon-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-section {
    min-height: calc(100vh - 400px);
    padding: 100px 0;
}

nav a.active {
    color: var(--secondary-color);
    font-weight: 500;
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablettes */
@media (max-width: 768px) {
    .header-content .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
    }

    .hero-overlay h2 {
        font-size: 2.2rem;
    }

    .hero-overlay p {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .cta-section {
        flex-direction: column;
        gap: 15px;
    }

    .cta-section .btn-primary,
    .cta-section .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .logo-wrapper .site-title {
        font-size: 1.5rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero {
        height: 400px;
    }

    .hero-overlay h2 {
        font-size: 1.8rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .cta-section {
        flex-direction: column;
        gap: 12px;
    }

    .cta-section .btn-primary,
    .cta-section .btn-secondary,
    .gallery-more .btn-primary,
    .gallery-more .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
        margin: 5px 0;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-card {
        padding: 30px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 250px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .impact-number {
        font-size: 2.5rem;
    }

    .impact-cta p {
        font-size: 1rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-icon {
        font-size: 3rem;
    }

    .why-cta {
        flex-direction: column;
        align-items: center;
    }

    .why-cta .btn-primary,
    .why-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        align-items: center;
    }

    .contact-form {
        padding: 25px;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .modal-content {
        max-width: 95%;
    }
}
