/**
 * Fichier CSS combiné pour réduire les requêtes HTTP
 * Inclut : page-specific.css + utility-classes.css + style.css + hero-unified-v2.css + navbar-styles.css
 */

/* ========================================
   PAGE SPECIFIC STYLES
   ======================================== */

/* Hero section avec fond dégradé */
.hero-gradient-green {
    background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.7) 0%, rgba(46, 125, 50, 0.6) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Section services sans marge */
.section-no-margin {
    margin-top: 0;
}

/* Section producteur avec dégradé */
.section-gradient-light {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
}

/* CTA section avec dégradé vert */
.section-gradient-primary {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Classes de contraste pour la navbar */
.text-contrast-auto {
    color: inherit;
}

.bg-transparent-dark {
    background: rgba(0, 0, 0, 0.8) !important;
}

.bg-transparent-light {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Classes responsives */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* ========================================
   MAIN STYLES
   ======================================== */

/* Services Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-special {
    position: relative;
    border: 2px solid #4caf50;
}

.badge-promo {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ff5722;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Feature Badges */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 500;
}

/* Advantages */
.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    font-size: 2.5rem;
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

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

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1.5s ease-in;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1.5rem;
    }

    .portfolio-overlay {
        transform: translateY(0);
        background: rgba(0,0,0,0.7);
        padding: 1rem;
    }
}/* Navbar Final CSS - Styles correspondant au HTML */

/* Reset pour la navbar */
.navbar-final *, .navbar-final *::before, .navbar-final *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Header & Navigation */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* État scrollé - texte noir sur fond blanc */
.header-modern.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .nav-wrapper {
        padding: 0 30px;
    }
}

@media (min-width: 1200px) {
    .nav-wrapper {
        padding: 0 50px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none !important;
    flex-shrink: 0;
}

.header-modern.scrolled .logo-link {
    color: #1B5E20;
    text-shadow: none;
}

.logo-link:hover {
    opacity: 0.9;
    color: white !important;
}

.header-modern.scrolled .logo-link:hover {
    color: #1B5E20 !important;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s, filter 0.3s;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.header-modern.scrolled .nav-btn {
    color: #374151;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.header-modern.scrolled .nav-btn:hover {
    background: rgba(27, 94, 32, 0.08);
    color: #1B5E20;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 8px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: rgba(46, 125, 50, 0.08);
    color: #2E7D32;
    transform: translateX(4px);
}

.dropdown-separator {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 16px;
}

.dropdown-link.highlight {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
    font-weight: 600;
}

.dropdown-link.highlight:hover {
    background: linear-gradient(135deg, #1B5E20, #0d3e14);
    color: white;
    transform: translateX(4px) scale(1.02);
}

/* CTA Button */
.cta-button {
    display: none;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.3);
}

@media (min-width: 1024px) {
    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
    background: linear-gradient(135deg, #1B5E20, #0d3e14);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.3s;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.header-modern.scrolled .menu-line {
    background: #374151;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    background: white !important;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99999 !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    transform: translateX(0) !important;
}

.mobile-nav-content {
    padding: 24px;
}

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    color: #374151;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: #2E7D32;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-content.active {
    max-height: 500px;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 12px 24px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.mobile-sub-link:hover {
    color: #2E7D32;
    transform: translateX(4px);
}

.mobile-cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.3);
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
}

/* Overlay */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9997;
    pointer-events: none;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}/**
 * Styles pour améliorer la hiérarchie des titres
 * Optimisation SEO et lisibilité
 */

/* H1 - Titre principal - Un seul par page */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: inherit;
}

/* H2 - Sections principales */
h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    color: #1B5E20;
}

/* H3 - Sous-sections importantes */
h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: #2E7D32;
}

/* H4 - Services et caractéristiques */
h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    color: #333;
}

/* Classes Bootstrap pour les titres dans les overlays */
.h5 {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Styles spécifiques pour les sections */
.service-card h4 {
    color: #2E7D32;
    margin-top: 0.5rem;
}

.advantage-item h4 {
    color: #1B5E20;
    margin-top: 0;
}

.portfolio-overlay .h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Amélioration de la lisibilité des titres sur fond coloré */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    .h5 {
        font-size: 1rem;
    }
}

/* Améliorer l'espacement entre les sections */
section h2:first-child {
    margin-top: 0;
}

/* Style pour les badges au-dessus des H2 */
.badge + h2 {
    margin-top: 0.5rem;
}

/* Amélioration SEO : marquer visuellement l'importance */
h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    margin: 1rem 0;
}

.text-center h1::after {
    margin: 1rem auto;
}

/* Pour les H2 dans les sections clés */
.text-center h2 {
    position: relative;
    padding-bottom: 1rem;
}

.text-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2E7D32;
}
/* ========================================
   CUSTOM BUTTON STYLES
   ======================================== */

/* Bouton principal - Vert thème paysagiste */
.btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #388e3c 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Bouton outline light - Pour fond sombre */
.btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent !important;
}

.btn-outline-light:hover {
    background: white !important;
    color: #2e7d32 !important;
    transform: translateY(-2px);
}

/* Bouton outline primary - Contour vert */
.btn-outline-primary {
    border: 2px solid #4caf50 !important;
    color: #4caf50 !important;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%) !important;
    color: white !important;
    border-color: #4caf50 !important;
    transform: translateY(-2px);
}

/* Bouton success */
.btn-success {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

/* Taille des boutons */
.btn-lg {
    padding: 14px 40px !important;
    font-size: 1.1rem;
}

.btn i {
    margin-right: 8px;
}

/* ========================================
   FIX CONTRASTE - Cartes sur fond blanc
   ======================================== */

/* S'assurer que le texte dans les cartes blanches est toujours visible */
.maintenance-card,
.maintenance-card *:not(.text-white):not(.badge-eco) {
    color: #333 !important;
}

.maintenance-card h3,
.maintenance-card h3 i {
    color: #2e7d32 !important;
}

.maintenance-card h5 {
    color: #333 !important;
}

.maintenance-card p {
    color: #666 !important;
}

.maintenance-card .benefit-item {
    color: #666 !important;
}

.maintenance-card .benefit-item i {
    color: #4caf50 !important;
}
