/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-green: #7AB88A;
    --dark-green: #5A9A6B;
    --light-green: #A8D5BA;
    --very-light-green: #E8F5E9;
    --text-dark: #2C3E3C;
    --text-light: #6B7C7A;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION PRINCIPALE
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo svg {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

.main-nav.scrolled .logo svg {
    filter: none;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-nav.scrolled .logo-text {
    color: var(--primary-green);
    text-shadow: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.main-nav.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.main-nav.scrolled .hamburger span {
    background: var(--primary-green);
}

/* ============================================
   NAVIGATION PAR POINTS (À DROITE)
   ============================================ */
.dots-navigation {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(122, 184, 138, 0.3);
    border: 2px solid var(--primary-green);
    transition: var(--transition);
    cursor: pointer;
}

.dot:hover,
.dot.active {
    background: var(--primary-green);
    transform: scale(1.3);
}

/* ============================================
   HERO SECTION - IMAGE PERSONNALISÉE
   ============================================ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5rem;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Indicateur de scroll - SUPPRIMÉ */

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

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(122, 184, 138, 0.4);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 184, 138, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.container-full {
    width: 100%;
    padding: 0 2%;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   SECTION MISSION
   ============================================ */
.mission {
    background: var(--very-light-green);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(122, 184, 138, 0.3);
}

.mission-icon {
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-light);
}

/* ============================================
   SECTION ÉQUIPE - DESIGN PSYCHOMOTRICITÉ
   Inspiration : Mouvement, Douceur, Harmonie
   ============================================ */
.equipe {
    background: linear-gradient(to bottom, #f9fcfb 0%, #ffffff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    background: #ffffff;
    border-radius: 30px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 30px rgba(122, 184, 138, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(168, 213, 186, 0.2);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #A8D5BA, #7AB88A, #5A9A6B);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 45px rgba(122, 184, 138, 0.18);
    border-color: rgba(168, 213, 186, 0.5);
}

.team-member:hover::before {
    opacity: 1;
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(122, 184, 138, 0.15);
    border: 4px solid #ffffff;
}

.member-info {
    text-align: center;
}

.member-header {
    margin-bottom: 1.5rem;
}

.member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #2C3E3D;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.member-title {
    color: #7AB88A;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.5;
}

.member-location {
    color: #6B7C7A;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.member-body {
    margin: 1.5rem 0;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.specialty-tag {
    background: rgba(168, 213, 186, 0.15);
    color: #5A9A6B;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid rgba(168, 213, 186, 0.25);
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background: rgba(168, 213, 186, 0.25);
    border-color: rgba(122, 184, 138, 0.4);
    transform: translateY(-2px);
}

.member-mission {
    color: #6B7C7A;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
    opacity: 0.9;
    padding: 0 0.5rem;
}

.member-mission::before {
    content: '"';
    font-size: 1.5rem;
    color: #A8D5BA;
    opacity: 0.5;
}

.member-mission::after {
    content: '"';
    font-size: 1.5rem;
    color: #A8D5BA;
    opacity: 0.5;
}

/* Ligne de séparation délicate */
.member-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(168, 213, 186, 0.2);
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.contact-btn {
    flex: 1;
    max-width: 140px;
    padding: 0.7rem 1rem;
    text-decoration: none;
    text-align: center;
    border-radius: 25px;
    font-weight: 400;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.contact-btn::before {
    font-size: 0.95rem;
    opacity: 0.8;
}

.contact-btn.email {
    background: linear-gradient(135deg, rgba(122, 184, 138, 0.1), rgba(168, 213, 186, 0.15));
    color: #5A9A6B;
    border: 1px solid rgba(122, 184, 138, 0.25);
}

.contact-btn.email::before {
    content: "✉";
}

.contact-btn.email:hover {
    background: linear-gradient(135deg, rgba(122, 184, 138, 0.2), rgba(168, 213, 186, 0.25));
    border-color: #7AB88A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 184, 138, 0.2);
}

.contact-btn.phone {
    background: linear-gradient(135deg, rgba(168, 213, 186, 0.1), rgba(200, 230, 201, 0.15));
    color: #5A9A6B;
    border: 1px solid rgba(168, 213, 186, 0.25);
}

.contact-btn.phone::before {
    content: "☎";
}

.contact-btn.phone:hover {
    background: linear-gradient(135deg, rgba(168, 213, 186, 0.2), rgba(200, 230, 201, 0.25));
    border-color: #A8D5BA;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 213, 186, 0.2);
}

/* ============================================
   SECTION CARTE
   ============================================ */
.carte-section {
    background: var(--white);
}

.map-container {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    margin-bottom: 2rem;
}

.map-legend {
    text-align: center;
    padding: 1.5rem;
    background: var(--very-light-green);
    border-radius: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.map-legend h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.legend-marker {
    width: 15px;
    height: 15px;
    background: var(--primary-green);
    border-radius: 50%;
    display: inline-block;
}

/* ============================================
   SECTION CONTACT
   ============================================ */
.contact {
    background: var(--very-light-green);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item p {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-cta {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2.5rem;
    }
    
    .team-member {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 70%;
        padding: 2rem;
        box-shadow: -5px 0 20px var(--shadow);
        transition: var(--transition);
        height: calc(100vh - 80px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .dots-navigation {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        padding: 2rem 1.5rem;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-title {
        font-size: 0.85rem;
    }
    
    .member-location {
        font-size: 0.8rem;
    }
    
    .contact-btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        max-width: none;
    }
    
    .map-container {
        height: 400px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 1rem 3%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
}
