@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap");
/* Variables de couleurs - Palette Verte */
:root {
    --green-dark: #386641;
    --green-medium: #6a994e;
    --green-light: #a7c957;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */

.nav-menu a:hover {
    color: var(--green-medium);
    /* padding: 10px; */
    border-radius: 8px;
}

.ev-nav-link {
    color: var(--gray-900);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.ev-nav-link:hover {
    color: var(--green-medium);
}

.btn-contact {
    background: var(--green-medium);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    /* cursor: pointer; */
    transition: all 0.3s;
}

.ev-btn-contact:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 153, 78, 0.3);
}

/* Hero Section avec Parallax */
.ev-hero {
    margin-top: 0 auto;
    padding: 3rem 0;
    /* min-height: 100vh; */
    background: linear-gradient(
        135deg,
        var(--green-light) 0%,
        var(--green-medium) 100%
    );
    position: relative;
    /* top: 100px; */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ev-hero-content {
    min-height: 50vh;
}
.ev-parallax {
    background-attachment: fixed;
    background-size: cover;
}

.ev-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ev-shape {
    position: absolute;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
}

.ev-shape-1 {
    width: 200px;
    height: 200px;
    background: var(--green-dark);
    border-radius: 30px;
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.ev-shape-2 {
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 50%;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.ev-shape-3 {
    width: 180px;
    height: 180px;
    background: var(--green-dark);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 10%;
    right: 15%;
    animation-delay: 4s;
}

.ev-shape-4 {
    width: 120px;
    height: 120px;
    background: var(--white);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 40%;
    right: 40%;
    animation-delay: 6s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.ev-hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--green-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ev-hero-title {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.ev-highlight {
    color: var(--green-dark);
    position: relative;
}

.ev-hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-900);
    opacity: 0.85;
    margin-bottom: 2.5rem;
}

.ev-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ev-btn-primary {
    background: var(--green-dark);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.ev-btn-primary:hover {
    background: var(--green-medium);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 102, 65, 0.3);
    color: var(--white);
}

.ev-btn-secondary {
    background: transparent;
    color: var(--gray-900);
    border: 2px solid var(--gray-900);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.ev-btn-secondary:hover {
    background: var(--gray-900);
    color: var(--white);
    transform: translateY(-3px);
}

/* Section Events */
.ev-section {
    padding: 3rem 0;
}

.ev-events {
    background: var(--white);
}

.ev-section-title {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    /* font-weight: 700; */
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.ev-section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Event Cards */
.ev-event-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ev-event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--green-dark) 0%,
        var(--green-light) 100%
    );
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ev-event-card:hover {
    transform: translateY(-10px);
    border-color: var(--green-medium);
    box-shadow: 0 20px 40px rgba(106, 153, 78, 0.2);
}

.ev-event-card:hover::before {
    transform: scaleX(1);
}

.ev-event-date {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--green-medium);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 4px 15px rgba(106, 153, 78, 0.3);
}

.ev-date-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.ev-date-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.ev-event-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        var(--green-light) 0%,
        var(--green-medium) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.ev-event-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.ev-event-card:hover .ev-event-icon {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(
        135deg,
        var(--green-dark) 0%,
        var(--green-medium) 100%
    );
}

.ev-event-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.ev-event-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ev-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ev-meta-item {
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ev-meta-item i {
    color: var(--green-medium);
}

.ev-event-btn {
    background: var(--green-medium);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.ev-event-btn:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateX(5px);
}

/* Parallax Mid */
.ev-parallax-mid {
    background: linear-gradient(
        135deg,
        var(--green-dark) 0%,
        var(--green-medium) 100%
    );
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.ev-parallax-shapes {
    position: absolute;
    inset: 0;
}

.ev-p-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 10s ease-in-out infinite;
}

.ev-p-shape-1 {
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: 50%;
    top: 20%;
    left: 10%;
}

.ev-p-shape-2 {
    width: 140px;
    height: 140px;
    background: var(--green-light);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

.ev-p-shape-3 {
    width: 160px;
    height: 160px;
    background: var(--white);
    border-radius: 20px;
    top: 50%;
    right: 20%;
    animation-delay: 6s;
}

.ev-parallax-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.ev-parallax-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Types Section */
.ev-types {
    background: var(--gray-50);
}

.ev-type-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.ev-type-card:hover {
    transform: translateY(-10px);
    border-color: var(--green-medium);
    box-shadow: 0 20px 40px rgba(106, 153, 78, 0.15);
}

.ev-type-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.ev-type-shape {
    width: 100px;
    height: 100px;
    background: var(--green-light);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.ev-type-card:hover .ev-type-shape {
    background: var(--green-medium);
    opacity: 0.5;
    transform: rotate(180deg);
}

.ev-hexagon {
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
}

.ev-circle {
    border-radius: 50%;
}

.ev-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.ev-square {
    border-radius: 15px;
}

.ev-type-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--green-dark);
    z-index: 2;
}

.ev-type-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.ev-type-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.ev-cta {
    background: var(--white);
    padding: 5rem 0;
}

.ev-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.ev-cta-text {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.ev-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.ev-footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.ev-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ev-footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.ev-footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--green-light);
}

.ev-footer-links {
    list-style: none;
    padding: 0;
}

.ev-footer-links li {
    margin-bottom: 0.5rem;
}

.ev-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ev-footer-links a:hover {
    color: var(--green-light);
}

.ev-social-links {
    display: flex;
    gap: 1rem;
}

.ev-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ev-social-link:hover {
    background: var(--green-medium);
    transform: translateY(-3px);
}

.ev-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
/* ========================================= */
/*                  Responsive               */
/* ========================================= */
@media (max-width: 576px) {
    .ev-hero-shapes {
        display: none;
    }
    /* .ev-hero-title {
        font-size: 1.5rem;
    } */
}

/* Portrait */

/* très petits smartphones en portraits */
@media (min-width: 200px) and (max-width: 319px) and (orientation: portrait) {
    .ev-hero {
        margin-top: 0 auto;
        /* padding: 3rem 0; */
        /* height: 150vh; */
        background: linear-gradient(
            135deg,
            var(--green-light) 0%,
            var(--green-medium) 100%
        );
        position: relative;
        /* top: 100px; */
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .ev-hero-title {
        font-size: 1rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 1rem;
    }
    .ev-section-subtitle {
        font-size: 0.8rem;
    }
    .ev-type-title {
        font-size: 1.15rem;
    }
    .stdx-gallery-title h2 {
        font-size: 12rem;
    }
    .ev-cta-title {
        font-size: 1.5rem;
    }

    .ev-btn-primary {
        display: none;
    }
    .ev-hero {
        height: 100vh;
    }
    .btn-contact {
        padding: 0.25rem;
        font-size: 0.5rem;
        font-weight: 600;
    }
}
/* Petits smartphones (ex: iPhone SE, anciens Android) */
@media (min-width: 320px) and (max-width: 359px) and (orientation: portrait) {
    .ev-hero-title {
        font-size: 1.13rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 1.25rem;
    }

    .ev-btn-primary {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
}

/* Smartphones moyens (ex: iPhone 7/8, Galaxy S9) */
@media (min-width: 360px) and (max-width: 479px) and (orientation: portrait) {
    .ev-hero-title {
        font-size: 1.3rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 1.5rem;
    }

    .ev-btn-primary {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
}

/* Grands smartphones et phablettes (ex: iPhone 12 Pro Max, Galaxy S20+) */
@media (min-width: 480px) and (max-width: 599px) and (orientation: portrait) {
}

/* Paysage */
/* Très petits smartphone */
@media (min-width: 200px) and (max-width: 479px) and (orientation: landscape) {
    .nav-menu {
        display: none;
    }
    .ev-hero {
        margin-top: 0 auto;
        /* padding: 3rem 0; */
        /* height: 150vh; */
        background: linear-gradient(
            135deg,
            var(--green-light) 0%,
            var(--green-medium) 100%
        );
        position: relative;
        /* top: 100px; */
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .ev-hero-title {
        font-size: 1rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 1rem;
    }
    .ev-section-subtitle {
        font-size: 0.8rem;
    }
    .ev-type-title {
        font-size: 1.15rem;
    }

    .ev-parallax-title {
        font-size: 2rem;
    }
    .stdx-gallery-title h2 {
        font-size: 12rem;
    }
    .ev-cta-title {
        font-size: 1.5rem;
    }

    .ev-btn-primary {
        display: none;
    }
    .ev-hero {
        height: 100vh;
    }
    .btn-contact {
        padding: 0.25rem;
        font-size: 0.5rem;
        font-weight: 600;
    }
}

/* Petits smartphones en paysage */
@media (min-width: 480px) and (max-width: 719px) and (orientation: landscape) {
    .nav-menu {
        display: none;
    }

    .ev-hero-title {
        font-size: 2rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 2rem;
    }
}

/* Grands smartphones en paysage */
@media (min-width: 720px) and (max-width: 899px) and (orientation: landscape) {
    .ev-hero-title {
        font-size: 2rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 2rem;
    }
}

/* Mobile portrait (jusqu'à 768px) */
@media (max-width: 768px) and (orientation: portrait) {
    .nav-menu {
        display: none;
    }

    .ev-hero {
        height: 30vh;
    }

    .ev-hero-subtitle {
        font-size: 1rem;
    }

    .ev-hero-buttons {
        flex-direction: column;
    }

    .ev-btn-primary,
    .ev-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .ev-parallax-title {
        font-size: 2rem;
    }

    .ev-parallax-text {
        font-size: 1rem;
    }

    .ev-event-date {
        position: static;
        width: fit-content;
        margin-bottom: 1rem;
    }

    .ev-cta-buttons {
        flex-direction: column;
    }
}

/* ====================== */
/* 💻 TABLETTES */
/* ====================== */

/* Portrait */
/* Petites tablettes (ex: Galaxy Tab, Nexus 7) */
@media (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    .ev-hero-title {
        font-size: 2rem;
        padding-top: 2rem;
        color: var(--gray-900);
    }
    .ev-section-title {
        font-size: 2rem;
    }
}
