/* Variables CSS avec les couleurs du logo et système responsive */
:root {
    --primary-green: #2d5832;
    --light-beige: #f0ebe5;
    --white: #ffffff;
    --dark-text: #333333;
    --light-text: #666666;
    --accent-green: #3d6b42;
    --hover-green: #1e3d22;
    
    /* Breakpoints variables */
    --mobile-s: 320px;
    --mobile-l: 480px;
    --tablet: 768px;
    --desktop-s: 1024px;
    --desktop-m: 1200px;
    --desktop-l: 1440px;
    
    /* Spacing system responsive */
    --spacing-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --spacing-s: clamp(0.5rem, 1vw, 1rem);
    --spacing-m: clamp(1rem, 2vw, 2rem);
    --spacing-l: clamp(1.5rem, 3vw, 3rem);
    --spacing-xl: clamp(2rem, 4vw, 4rem);
    --spacing-xxl: clamp(3rem, 6vw, 6rem);
    
    /* Typography scale responsive */
    --font-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --font-s: clamp(0.875rem, 2vw, 1rem);
    --font-m: clamp(1rem, 2.5vw, 1.125rem);
    --font-l: clamp(1.125rem, 3vw, 1.25rem);
    --font-xl: clamp(1.25rem, 3.5vw, 1.5rem);
    --font-xxl: clamp(1.5rem, 4vw, 2rem);
    --font-hero-main: clamp(2rem, 7vw, 4rem);
    --font-hero-sub: clamp(1.125rem, 4vw, 1.8rem);
    --font-section-title: clamp(1.8rem, 5vw, 3rem);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-m);
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(45, 88, 50, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-s) var(--spacing-m);
    max-width: 1200px;
    margin: 0 auto;
    min-height: clamp(70px, 10vw, 90px);
    width: 100%;
}

.logo-img {
    height: clamp(60px, 8vw, 85px);
    max-height: calc(100% - 10px);
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hamburger masqué par défaut - sera affiché via les media queries responsive */
.hamburger {
    display: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

/* Slider de fond */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.slide.active {
    opacity: 1;
}

/* Amélioration de la performance sur les transitions */
.slide:not(.active) {
    transition-duration: 0.4s;
}

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

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 88, 50, 0.8) 0%, rgba(45, 88, 50, 0.6) 50%, rgba(45, 88, 50, 0.8) 100%);
    z-index: 2;
}

/* Contenu principal */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px 0;
    text-align: center;
    color: var(--white);
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

/* Gestion des contenus de slides - Version optimisée */
.slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    visibility: hidden;
    will-change: opacity, transform;
    display: none;
}

.slide-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    top: auto;
    visibility: visible;
    display: block;
    z-index: 10;
}

/* Transition plus rapide pour les slides inactifs */
.slide-content:not(.active) {
    transition-duration: 0.3s;
}


/* Titres */
.hero-content h1 {
    margin-bottom: var(--spacing-l);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-main {
    display: block;
    font-size: var(--font-hero-main);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-s);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
    display: block;
    font-size: var(--font-hero-sub);
    font-weight: 400;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: var(--font-l);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Statistiques */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

/* Statistiques section Hero */
.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: white !important;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Fallback pour tous les stat-number et stat-label */
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Boutons d'action */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background-color: var(--white);
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-button.primary:hover {
    background-color: var(--light-beige);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

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

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

/* Contrôles du slider */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 100;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    user-select: none;
    z-index: 100;
    position: relative;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--white);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.7);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--white);
    transform: scale(1.2);
}

.dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.3);
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--white);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Services */
.services {
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--white) 50%, var(--light-beige) 100%);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

/* Header de section */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(45, 88, 50, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.services h2 {
    font-size: var(--font-section-title);
    color: var(--primary-green);
    margin-bottom: var(--spacing-m);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filtres de catégories */
.services-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark-text);
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 88, 50, 0.3);
}

.filter-icon {
    font-size: 1.1rem;
}

/* Grid des services - Mobile First */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
    margin-bottom: var(--spacing-xxl);
}

/* Cards de services */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(45, 88, 50, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(45, 88, 50, 0.1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 88, 50, 0.2);
    border-color: var(--primary-green);
}

.service-card.featured {
    border: 2px solid var(--primary-green);
    box-shadow: 0 12px 40px rgba(45, 88, 50, 0.15);
}

.service-card.premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 235, 229, 0.95));
    border: 2px solid rgba(45, 88, 50, 0.2);
}

/* Badge de service */
.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.service-badge.popular {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    animation: pulse 2s infinite;
}

.service-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: var(--dark-text);
}

.service-badge.seasonal {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.service-badge:not(.popular):not(.premium):not(.seasonal) {
    background: rgba(45, 88, 50, 0.9);
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Image de service */
.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    display: none !important;
}

.service-quick-actions {
    display: none !important;
}

.quick-btn {
    display: none !important;
}

/* Contenu de service */
.service-content {
    padding: 1.5rem;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.service-rating {
    text-align: right;
    font-size: 0.9rem;
}

.stars {
    color: #ffd700;
    margin-bottom: 0.2rem;
}

.rating-text {
    color: var(--light-text);
    font-size: 0.8rem;
}

.service-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Détails du service */
.service-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(45, 88, 50, 0.05);
    border-radius: 10px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.detail-icon {
    font-size: 1.2rem;
}

/* Pricing */
.service-pricing {
    background: linear-gradient(135deg, var(--light-beige), rgba(240, 235, 229, 0.5));
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.price-from {
    font-size: 0.8rem;
    color: var(--light-text);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--light-text);
}

.price-includes {
    font-size: 0.8rem;
    color: var(--light-text);
}

/* Actions de service */
.service-actions {
    display: flex;
    gap: 0.8rem;
}

.service-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-green), var(--hover-green));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 88, 50, 0.3);
}

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

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

/* CTA Global */
.services-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.services-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 15px;
}

.btn-secondary.large {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary.large:hover {
    background: white;
    color: var(--primary-green);
}

/* Section À Propos */
.about {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-beige) 50%, var(--white) 100%);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="aboutPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%232d5832" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23aboutPattern)"/></svg>') repeat;
    pointer-events: none;
}

/* Header de section À Propos */
.about-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.about h2 {
    font-size: var(--font-section-title);
    color: var(--primary-green);
    margin-bottom: var(--spacing-m);
    font-weight: 700;
}

/* Section principale */
.about-main {
    position: relative;
    z-index: 2;
}

/* Story section */
.about-story {
    margin-bottom: 5rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.story-text p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(45, 88, 50, 0.2);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
    color: var(--primary-green);
}

.badge-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.badge-text span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Timeline */
.about-timeline {
    margin-bottom: 5rem;
}

.about-timeline h3 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    font-weight: 600;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-green), var(--accent-green));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(45, 88, 50, 0.3);
}

.timeline-icon {
    font-size: 1.5rem;
}

.timeline-content {
    width: 45%;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(45, 88, 50, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 88, 50, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 88, 50, 0.2);
}

.timeline-content h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Stats */
.about-stats {
    margin-bottom: 5rem;
}

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

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 88, 50, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(45, 88, 50, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features modernes */
.about-features-modern {
    margin-bottom: 5rem;
}

.about-features-modern h3 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 88, 50, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 88, 50, 0.15);
    border-color: var(--primary-green);
}

.feature-icon-modern {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-content h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Portfolio */
.about-portfolio {
    margin-bottom: 5rem;
}

.about-portfolio h3 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.portfolio-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

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

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(45, 88, 50, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portfolio-action {
    text-align: center;
}

.portfolio-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 15px;
}

/* Témoignages */
.about-testimonials {
    margin-bottom: 5rem;
}

.about-testimonials h3 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    font-weight: 600;
}

.testimonials-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
    height: 200px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 88, 50, 0.1);
    text-align: center;
}

.testimonial-content .stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--light-text);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    color: var(--primary-green);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--light-text);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: var(--accent-green);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(45, 88, 50, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* CTA Contact dans À Propos */
.about-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateAbout 25s linear infinite;
}

@keyframes rotateAbout {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-cta .cta-content {
    position: relative;
    z-index: 2;
}

.about-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.about-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Contact */
.contact {
    background-color: var(--white);
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-beige);
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

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

.contact-item p {
    color: var(--light-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-beige);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.submit-btn {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* =====================================================
   RESPONSIVE DESIGN - Mobile First Architecture
   ===================================================== */

/* BASE: Mobile First (320px+) - Styles par défaut optimisés mobile */

/* Très petits écrans: ajustements spéciaux */
@media (max-width: 359px) {
    .container {
        padding: 0 var(--spacing-s);
    }

    .hero-content {
        padding-top: 130px;
    }

    .hero-title-main {
        font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
        line-height: 1.2;
    }

    .hero-title-sub {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
        line-height: 1.3;
    }

    .slider-controls {
        bottom: var(--spacing-s);
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .contact-card {
        padding: var(--spacing-m);
        min-width: 280px;
        width: 100%;
    }
    
    .contact-form-container {
        padding: var(--spacing-s);
    }
    
    .service-card {
        padding: var(--spacing-s);
    }
    
    .timeline-content {
        padding: 1rem;
    }
}

/* Navigation mobile */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger.active {
    transform: rotate(90deg);
}

.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(7px, -6px);
}

.nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-l) 0;
    z-index: 1000;
}

.nav-menu.active {
    left: 0;
}

.nav-menu li {
    margin: var(--spacing-s) 0;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInMenu 0.3s ease forwards;
}

.nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInMenu {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero mobile optimisé */
.hero-stats {
    flex-direction: column;
    gap: var(--spacing-m);
}

.hero-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-m);
}

.slider-controls {
    bottom: var(--spacing-m);
    gap: var(--spacing-s);
}

.slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* Services mobile */
.services-filters {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-s);
}

.filter-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

/* Contact mobile */
.contact-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
}

.form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-m);
}

.surface-options {
    grid-template-columns: 1fr;
    gap: var(--spacing-s);
}

.contact-guarantees {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-s);
}

/* About mobile */
.story-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
    text-align: center;
}

.timeline::before {
    left: 20px;
    transform: none;
}

.timeline-item {
    justify-content: flex-start !important;
    padding-left: 60px;
}

.timeline-marker {
    left: 0px;
    transform: none;
    width: 40px;
    height: 40px;
}

.timeline-content {
    width: 100%;
}

.stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-m);
}

.features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
}

.feature-card {
    flex-direction: column;
    text-align: center;
}

.portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-l);
}

/* Téléphones standards: 360px-479px (couvre la plupart des smartphones) */
@media (min-width: 360px) and (max-width: 479px) {
    .hero-title-main {
        font-size: clamp(2rem, 7vw, 2.5rem) !important;
        line-height: 1.2;
        padding: 0 var(--spacing-xs);
    }

    .hero-title-sub {
        font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
        line-height: 1.3;
        padding: 0 var(--spacing-xs);
    }

    .hero-description {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        padding: 0 var(--spacing-s);
    }

    .hero-content {
        padding: 120px var(--spacing-s) 0;
    }
}

/* MOBILE LARGE: 480px+ */
@media (min-width: 480px) {
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-l);
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .contact-guarantees {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* MEDIUM MOBILE: 600px+ */
@media (min-width: 600px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-l);
    }

    .contact-form-container {
        padding: var(--spacing-l);
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-marker {
        width: 45px;
        height: 45px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* TABLET: 768px+ */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        transform: none;
        left: auto;
        top: auto;
        width: auto;
        gap: var(--spacing-l);
    }
    
    .nav-menu li {
        margin: 0;
        transform: none;
        opacity: 1;
        animation: none;
    }
    
    .nav-menu a {
        font-size: var(--font-m);
        padding: var(--spacing-s);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(45, 88, 50, 0.1);
        transform: translateY(-2px);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .services-filters {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        width: auto;
        max-width: none;
    }
    
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .surface-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        padding-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        justify-content: flex-end;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }
    
    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
    }
    
    .timeline-content {
        width: 45%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        flex-direction: row;
        text-align: left;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP SMALL: 1024px+ */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .scroll-indicator {
        display: flex;
    }
}

/* DESKTOP MEDIUM: 1200px+ */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-l);
    }
}

/* DESKTOP LARGE: 1440px+ */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--spacing-xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xxl);
    }
}

/* UTILITY: Réduction de mouvement pour l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* UTILITY: Amélioration des zones tactiles sur mobile */
@media (max-width: 767px) {
    .scroll-indicator {
        display: none;
    }
    
    .cta-button,
    .btn-primary,
    .btn-secondary,
    .slider-btn,
    .dot,
    .hamburger,
    .contact-action-btn,
    .submit-btn-modern {
        min-height: 44px; /* Norme Apple pour les zones tactiles */
        min-width: 44px;
    }
    
    .cta-button,
    .btn-primary,
    .btn-secondary,
    .contact-action-btn,
    .submit-btn-modern {
        padding: var(--spacing-m) var(--spacing-l);
        font-size: var(--font-m);
    }
    
    /* Amélioration spécifique des boutons de contact sur mobile */
    .contact-action-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Amélioration de la typographie des contact cards sur mobile */
    .contact-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .contact-main {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ajustements de mise en page des contact cards sur mobile */
    .contact-card-icon {
        margin-bottom: 1.2rem;
    }
    
    .icon-bg {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.8rem;
    }
    
    /* Optimisation pour très petits écrans */
    @media (max-width: 359px) {
        .contact-main {
            font-size: 1.1rem;
            line-height: 1.3;
        }
        
        .contact-card {
            min-width: 260px;
        }
    }
    
    /* Amélioration de l'espacement entre les éléments tactiles */
    .hero-actions {
        gap: var(--spacing-l);
    }
    
    .nav-menu a {
        padding: var(--spacing-l) var(--spacing-xl);
        font-size: var(--font-l);
    }
    
    /* Amélioration des services cards sur mobile */
    .service-card {
        padding: var(--spacing-l);
        margin-bottom: var(--spacing-m);
    }
    
    .service-actions {
        gap: var(--spacing-m);
    }
    
    .service-btn {
        padding: var(--spacing-m) var(--spacing-l);
        min-height: 50px;
    }
}

/* UTILITY: Optimisation pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* UTILITY: Optimisation pour l'orientation paysage sur mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 80px var(--spacing-s) 0;
    }
    
    .hero-title-main {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .hero-title-sub {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--spacing-s);
    }
    
    .hero-actions {
        flex-direction: row;
        gap: var(--spacing-s);
    }

    .slider-controls {
        bottom: var(--spacing-s);
    }
}

/* UTILITY: Support pour les appareils pliables */
@media (max-width: 280px) {
    .hero-title-main {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    .hero-title-sub {
        font-size: 1rem !important;
        line-height: 1.3;
    }

    .service-card {
        padding: var(--spacing-s);
    }
}

/* UTILITY: Optimisation pour les grands écrans ultra-larges */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-content {
        max-width: 1000px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section Contact Moderne */
.contact {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--light-beige) 0%, #ffffff 50%, var(--light-beige) 100%);
    overflow: hidden;
}

.contact-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(45, 88, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 88, 50, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.contact-badge {
    display: inline-block;
    background: rgba(45, 88, 50, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 2px solid rgba(45, 88, 50, 0.2);
}

.contact-title-main {
    display: block;
    font-size: var(--font-section-title);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-s);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.contact-title-sub {
    display: block;
    font-size: 1.3rem;
    color: var(--light-text);
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Cartes de contact */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 88, 50, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 88, 50, 0.15);
    border-color: var(--primary-green);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    margin-bottom: 1.5rem;
}

.icon-bg {
    display: inline-block;
    font-size: 2rem;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(45, 88, 50, 0.3);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-sub {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.contact-action-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 88, 50, 0.4);
}

/* Services express */
.contact-services {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(45, 88, 50, 0.1);
}

.contact-services h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.express-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.express-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(45, 88, 50, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.express-item:hover {
    transform: translateX(10px);
    background: rgba(45, 88, 50, 0.1);
}

.express-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.express-item h4 {
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.express-item p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Formulaire moderne */
.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(45, 88, 50, 0.1);
    box-shadow: 0 20px 60px rgba(45, 88, 50, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-header p {
    color: var(--light-text);
    font-size: 1rem;
}

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

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

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid rgba(45, 88, 50, 0.1);
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(45, 88, 50, 0.1);
}

.form-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--light-text);
    pointer-events: none;
}

.form-group:has(label) .form-icon {
    top: calc(50% + 10px);
}

/* Options de surface */
.surface-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.surface-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(45, 88, 50, 0.05);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.surface-option:hover {
    background: rgba(45, 88, 50, 0.1);
    transform: translateY(-2px);
}

.surface-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.surface-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
}

.surface-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.surface-text strong {
    color: var(--primary-green);
    font-size: 0.9rem;
}

.surface-text small {
    color: var(--light-text);
    font-size: 0.8rem;
}

/* Slider d'urgence */
.urgency-slider {
    margin-top: 0.5rem;
}

.urgency-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(45, 88, 50, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.urgency-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(45, 88, 50, 0.3);
}

.urgency-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--light-text);
}

/* Compteur de caractères */
.textarea-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--light-text);
}

.char-count {
    color: var(--primary-green);
    font-weight: 500;
}

/* Options avec checkboxes */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-green);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-green);
    font-weight: bold;
    font-size: 12px;
}

/* Bouton de soumission */
.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.submit-btn-modern {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    min-width: 250px;
    justify-content: center;
}

.submit-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 88, 50, 0.4);
}

.submit-btn-modern:active {
    transform: translateY(-1px);
}

.btn-loading {
    display: none;
}

.submit-btn-modern.loading .btn-text {
    display: none;
}

.submit-btn-modern.loading .btn-loading {
    display: inline;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Garanties */
.contact-guarantees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 88, 50, 0.1);
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--light-text);
}

.guarantee-icon {
    font-size: 1.2rem;
    color: var(--primary-green);
}

/* CTA urgent */
.contact-cta {
    margin-top: 4rem;
}

.cta-urgent {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-urgent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.urgent-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.urgent-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.urgent-actions {
    display: flex;
    gap: 1rem;
}

.urgent-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.urgent-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Styles pour les erreurs de formulaire */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.group-error {
    border: 2px solid #e74c3c;
    border-radius: 15px;
    padding: 1rem;
    background: rgba(231, 76, 60, 0.05);
}

/* Animations pour les notifications */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

