/* ============================= */
/* VARIABLES CSS GLOBALES */
/* ============================= */
:root {
    --primary-color: #2C3E50;
    --secondary-color: #3498DB;
    --accent-color: #E74C3C;
    --success-color: #27AE60;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ============================= */
/* STYLES DE BASE */
/* ============================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============================= */
/* SECTION HERO/ACCUEIL */
/* ============================= */

/* Container principal hero */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('../images/maison_conecter.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Overlay sombre */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Contenu hero */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Badges technologiques */
.tech-badge {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin: 0.25rem;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* ============================= */
/* NAVIGATION PRINCIPALE */
/* ============================= */

/* Barre de navigation */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 0;
}

/* Navigation avec effet de scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* ============================= */
/* LOGO ET MARQUE */
/* ============================= */

/* Logo de navigation */
.nav-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Animation hover logo */
.navbar-brand:hover .nav-logo {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Texte de marque */
.brand-text {
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

/* Animation hover texte de marque */
.navbar-brand:hover .brand-text {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================= */
/* MENU HAMBURGER */
/* ============================= */

/* Bouton hamburger */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

/* Suppression focus outline */
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Icône hamburger */
.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

/* Barres supérieure et inférieure */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Animation croix (menu ouvert) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Texte "Menu" */
.menu-text {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-left: 0.5rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animation hover texte menu */
.navbar-toggler:hover .menu-text {
    opacity: 1;
}

/* ============================= */
/* LIENS DE NAVIGATION */
/* ============================= */

/* Container liens */
.navbar-nav {
    gap: 0.5rem;
}

/* Styles des liens */
.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Soulignement animé */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* Animation hover soulignement */
.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Effet hover lien */
.nav-link:hover {
    color: var(--secondary-color) !important;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

/* Lien actif */
.nav-link.active {
    color: var(--secondary-color) !important;
    background: rgba(52, 152, 219, 0.08);
}

/* Icônes de navigation */
.nav-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Animation hover icône */
.nav-link:hover .nav-icon {
    transform: scale(1.2);
}

/* ============================= */
/* BOUTON CTA NAVIGATION */
/* ============================= */

/* Container bouton CTA */
.nav-cta {
    margin-left: 1rem;
}

/* Styles bouton CTA */
.btn-nav-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c0392b 100%) !important;
    color: white !important;
    border-radius: 25px;
    padding: 0.75rem 1.5rem !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

/* Animation hover bouton CTA */
.btn-nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, var(--accent-color) 100%) !important;
}

/* Suppression soulignement bouton CTA */
.btn-nav-cta::before {
    display: none;
}

/* ============================= */
/* INDICATEURS ET OVERLAYS */
/* ============================= */

/* Indicateur de section active */
.nav-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.nav-indicator.active {
    opacity: 1;
}

/* Overlay pour menu mobile */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ============================= */
/* ANIMATIONS GÉNÉRALES */
/* ============================= */

/* Animation de flottement */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Animation d'apparition du logo */
@keyframes logoAppear {
    0% { opacity: 0; transform: scale(0.8);}
    100% { opacity: 1; transform: scale(1);}
}

#logo-appear {
    animation: logoAppear 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Animation bounce du logo */
@keyframes logo-bounce {
    0%   { transform: scale(1) rotate(0deg);}
    20%  { transform: scale(1.08) rotate(-5deg);}
    40%  { transform: scale(0.95) rotate(5deg);}
    60%  { transform: scale(1.05) rotate(-3deg);}
    80%  { transform: scale(1) rotate(0deg);}
    100% { transform: scale(1) rotate(0deg);}
}

.logo-animated {
    animation: logo-bounce 2s infinite;
    transition: opacity 0.3s;
}

/* Animation texte logo */
@keyframes logoTextFadeIn {
    0% { opacity: 0; transform: translateY(30px);}
    100% { opacity: 1; transform: translateY(0);}
}

.logo-text-animated {
    opacity: 0;
    animation: logoTextFadeIn 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Animation paths SVG logo */
@keyframes logoPathDraw {
    0% {
        stroke-dasharray: 500;
        stroke-dashoffset: 500;
        opacity: 0;
    }
    60% {
        stroke-dasharray: 500;
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dasharray: 500;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.logo-path-animated {
    opacity: 0;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: logoPathDraw 1.5s cubic-bezier(.77,0,.18,1) forwards;
}

/* Animation pulse logo au scroll */
@keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.navbar.scrolled .nav-logo {
    animation: logoPulse 0.5s ease;
}

/* Animation d'apparition des liens */
@keyframes navLinkFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show .nav-link {
    animation: navLinkFadeIn 0.4s ease forwards;
}

/* Délais d'animation séquentiels */
.navbar-collapse.show .nav-link:nth-child(1) { animation-delay: 0.1s; }
.navbar-collapse.show .nav-link:nth-child(2) { animation-delay: 0.2s; }
.navbar-collapse.show .nav-link:nth-child(3) { animation-delay: 0.3s; }
.navbar-collapse.show .nav-link:nth-child(4) { animation-delay: 0.4s; }
.navbar-collapse.show .nav-link:nth-child(5) { animation-delay: 0.5s; }

/* ============================= */
/* CARTES ET COMPOSANTS */
/* ============================= */

/* Cartes de fonctionnalités */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
}

/* Animation hover carte */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Icônes de fonctionnalités */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

/* Couleurs des icônes */
.icon-monitor { background: var(--secondary-color); }
.icon-mobile { background: var(--success-color); }
.icon-chip { background: var(--accent-color); }
.icon-sensors { background: #9B59B6; }

/* ============================= */
/* SECTIONS ET TITRES */
/* ============================= */

/* Section CTA */
.cta-section {
    background: var(--primary-color);
    color: white;
}

/* Titres de section */
.section-title {
    position: relative;
    margin-bottom: 3rem;
}

/* Soulignement titre */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* ============================= */
/* BOUTONS */
/* ============================= */

/* Bouton personnalisé */
.btn-custom {
    background: var(--accent-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Animation hover bouton */
.btn-custom:hover {
    background: #C0392B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* ============================= */
/* ÉTAPES DE PROCESSUS */
/* ============================= */

/* Étape individuelle */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

/* Numéro d'étape */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ============================= */
/* SECTION APPLICATION MOBILE */
/* ============================= */

/* Container section application */
#application {
    background: linear-gradient(135deg, #f8fafc 0%, #e3eafc 100%);
    position: relative;
    z-index: 1;
}

/* Fonctionnalités de l'app */
.app-features li {
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.app-features i {
    font-size: 1.2rem;
}

/* ============================= */
/* SLIDER D'IMAGES MOBILE */
/* ============================= */

/* Container slider */
.mobile-slider {
    position: relative;
    width: 100%;
    height: 420px;
}

/* Images du slider */
.slider-img {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: left 0.7s cubic-bezier(.77,0,.18,1), opacity 0.7s;
    z-index: 1;
    background: transparent; 
}

/* Image active */
.slider-img.active {
    left: 0;
    opacity: 1;
    z-index: 2;
}

/* Image précédente */
.slider-img.prev {
    left: -100%;
    opacity: 0;
    z-index: 1;
}

/* ============================= */
/* INDICATEURS SLIDER */
/* ============================= */

/* Container des points */
.slider-dots {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    z-index: 3;
    position: static;
}

/* Points individuels */
.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50px;
    margin: 0 6px;
    transition: all 0.3s;
}

/* Point actif */
.slider-dot.active {
    width: 28px;
    background: #666;
}

/* ============================= */
/* SECTION APPAREILS CONNECTÉS - DESIGN AMÉLIORÉ */
/* ============================= */

#appareils {
    position: relative;
    overflow: hidden;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 2px;
}

.section-subtitle {
    position: relative;
    padding-bottom: 15px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
}

/* Navigation par catégories */
.category-nav {
    display: inline-flex;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-nav .btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    margin: 0 5px;
}

.category-nav .btn.active {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-nav .btn:not(.active):hover {
    transform: translateY(-2px);
}

/* Cartes d'appareils */
.appareil-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.appareil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Icônes sans background - effet d'agrandissement simple */
.appareil-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.appareil-icon img {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    /* filter: ... supprimé */
}

/* Effet d'agrandissement simple au survol */
.appareil-card:hover .appareil-icon img {
    transform: scale(1.2); /* Simple agrandissement */
    /* Pas de changement de couleur ni de rotation */
}

.appareil-content {
    width: 100%;
}

.appareil-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.appareil-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.appareil-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.appareil-features .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Section CTA */
.cta-section {
    background: linear-gradient(135deg, #007bff, #00d4ff) !important;
    box-shadow: 0 10px 30px rgba(0,123,255,0.3);
}

.cta-section .btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animation d'apparition des cartes */
.category-content {
    animation: fadeIn 0.5s ease;
}

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

/* ============================= */
/* STYLES RESPONSIVE COMPATIBLES */
/* ============================= */

/* PC/Desktop (≥1200px) */
@media (min-width: 1200px) {
    .appareil-card {
        padding: 30px;
    }
    
    .appareil-icon {
        width: 90px;
        height: 90px;
    }
    
    .appareil-icon img {
        width: 55px;
        height: 55px;
    }
}

/* Tablettes (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .appareil-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .appareil-icon {
        width: 70px;
        height: 70px;
    }
    
    .appareil-icon img {
        width: 45px;
        height: 45px;
    }
    
    .appareil-content h4 {
        font-size: 1.1rem;
    }
    
    .appareil-content p {
        font-size: 0.9rem;
    }
}

/* Smartphones (≤767px) */
@media (max-width: 767px) {
    .category-nav {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 10px;
    }
    
    .category-nav .btn {
        margin: 0;
        width: 100%;
    }
    
    .appareil-card {
        padding: 20px 15px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .appareil-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .appareil-icon img {
        width: 35px;
        height: 35px;
    }
    
    .appareil-content h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .appareil-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .appareil-features {
        gap: 5px;
    }
    
    .appareil-features .badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    /* Réduire l'effet de survol sur mobile */
    .appareil-card:hover {
        transform: translateY(-3px);
    }
    
    .appareil-card:hover .appareil-icon img {
        transform: scale(1.1); /* Effet plus subtil sur mobile */
    }
}

/* Très petits smartphones (≤480px) */
@media (max-width: 480px) {
    .appareil-card {
        padding: 15px 10px;
    }
    
    .appareil-icon {
        width: 50px;
        height: 50px;
    }
    
    .appareil-icon img {
        width: 30px;
        height: 30px;
    }
    
    .appareil-content h4 {
        font-size: 1rem;
    }
    
    .appareil-content p {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Support du tactile pour les appareils mobiles */
@media (hover: none) and (pointer: coarse) {
    .appareil-card:hover {
        transform: none;
    }
    
    .appareil-card:active {
        transform: translateY(-2px);
    }
    
    .appareil-card:active .appareil-icon img {
        transform: scale(1.1);
    }
}

/* Amélioration de l'accessibilité */
.appareil-card:focus-within {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Performance - réduire les animations pour les préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
    .appareil-card,
    .appareil-icon img,
    .category-nav .btn {
        transition: none;
    }
    
    .appareil-card:hover {
        transform: none;
    }
    
    .appareil-card:hover .appareil-icon img {
        transform: none;
    }
}
/* ============================= */
/* PIED DE PAGE */
/* ============================= */

/* Container principal footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

/* Ligne décorative supérieure */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* ============================= */
/* MARQUE FOOTER */
/* ============================= */

/* Container marque footer */
.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Logo footer */
.footer-logo {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Animation hover logo footer */
.footer-brand:hover .footer-logo {
    transform: scale(1.05);
}

/* Nom de marque footer */
.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.75rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description footer */
.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ============================= */
/* LIENS SOCIAUX */
/* ============================= */

/* Container liens sociaux */
.social-links {
    display: flex;
    gap: 0.75rem;
}

/* Liens sociaux individuels */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Animation hover lien social */
.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ============================= */
/* TITRES ET LIENS FOOTER */
/* ============================= */

/* Titres des sections footer */
.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    color: #fff;
}

/* Soulignement titres footer */
.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Listes de liens footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

/* Liens footer */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

/* Indicateur flèche hover */
.footer-link::before {
    content: '▸';
    position: absolute;
    left: -1rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

/* Animation hover lien footer */
.footer-link:hover {
    color: white;
    padding-left: 1rem;
}

.footer-link:hover::before {
    opacity: 1;
    left: 0;
}

/* ============================= */
/* SECTION CONTACT FOOTER */
/* ============================= */

/* Liste de contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

/* Item de contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

/* Icône de contact */
.contact-icon {
    color: var(--primary-color);
    margin-top: 0.25rem;
    min-width: 16px;
}

/* Label contact */
.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

/* Liens et texte de contact */
.contact-link, .contact-text {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* .contact-link:hover {
    color: var(--primary-color);
} */

/* ============================= */
/* NEWSLETTER */
/* ============================= */

/* Titre newsletter */
.newsletter-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

/* Formulaire newsletter */
.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Input newsletter */
.newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    color: white;
    padding: 0.75rem 1rem;
    outline: none;
}

/* Placeholder newsletter */
.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Bouton newsletter */
.newsletter-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animation hover bouton newsletter */
.newsletter-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* ============================= */
/* BAS DE PAGE */
/* ============================= */

/* Séparateur */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem;
}

/* Container bas de page */
.footer-bottom {
    padding-top: 1rem;
}

/* Copyright */
.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* ============================= */
/* MÉTHODES DE PAIEMENT */
/* ============================= */

/* Container méthodes de paiement */
.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

/* Texte paiement */
.payment-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Container icônes paiement */
.payment-icons {
    display: flex;
    gap: 0.5rem;
}

/* Icônes de paiement */
.payment-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.payment-icon:hover {
    color: white;
}

/* ============================= */
/* BOUTON RETOUR EN HAUT */
/* ============================= */

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 30px;
    height: 30px;
    z-index: 999;
    display: none;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Image bouton */
.back-to-top img {
    width: 100%;
    height: auto;
}

/* Animation hover bouton retour */
.back-to-top:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

/* Tablettes et mobiles */
@media (max-width: 991px) {
    /* Navigation mobile */
    .navbar-nav {
        gap: 0;
        padding: 1rem 0;
    }
    
    /* Liens navigation mobile */
    .nav-link {
        padding: 1rem 1.5rem !important;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Suppression soulignement mobile */
    .nav-link::before {
        display: none;
    }
    
    /* Bouton CTA mobile */
    .nav-cta {
        margin: 1rem 0 0 0;
    }
    
    .btn-nav-cta {
        text-align: center;
        justify-content: center;
        margin: 0.5rem 1.5rem;
        border-radius: 10px;
    }
    
    /* Menu déroulant mobile */
    .navbar-collapse {
        background: white;
        margin: 0.5rem -1rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Mobiles */
@media (max-width: 768px) {
    /* Hero section mobile */
    .hero-section {
        text-align: center;
    }
    
    /* Cartes mobile */
    .feature-card {
        margin-bottom: 2rem;
    }
    
    /* Navigation mobile */
    .brand-text {
        font-size: 1.4rem;
    }
    
    .nav-logo {
        height: 35px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    /* Marque footer mobile */
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    
    .brand-name {
        margin: 0.5rem 0 0 0;
    }
    
    /* Titres footer mobile */
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Liens sociaux mobile */
    .social-links {
        justify-content: center;
    }
    
    /* Paiements mobile */
    .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Newsletter mobile */
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* ============================= */
/* RESPONSIVE NAVBAR             */
/* ============================= */

/* Tablettes et petits écrans (jusqu'à 991px) */
@media (max-width: 991px) {
    .brand-text {
        font-size: 1.2rem; /* réduit le texte de marque */
        margin-left: 0.3rem;
    }

    .nav-logo {
        height: 35px; /* réduit le logo */
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }

    .btn-nav-cta {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }

    .nav-indicator {
        display: none; /* désactiver l’indicateur sur mobile */
    }
}

/* Très petits écrans (smartphones, jusqu'à 576px) */
@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0.5rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .nav-logo {
        height: 30px; /* logo encore plus petit */
    }
}
