/* Custom Properties */
:root {
  --primary-blue: #0c2745;
  --secondary-blue: #1a3a5f;
  --accent-gold: #048f19;
  --dark-blue: #0a1e3f;
  --light-blue: #e8f0fe;
  --success-green: #28a745;
}

/* Global Styles */
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Couleur personnalisée */
.bg-dark-blue {
  background-color: #0c2745;
}

/* ==================== */
/* ÉVALUATION SECTION - MODIFIÉ */
/* ==================== */
.evaluation-section {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Overlay sombre pour la section d'évaluation */
.evaluation-overlay {
  background: linear-gradient(90deg, rgba(12, 39, 69, 0.85) 40%, rgba(12, 39, 69, 0.5) 60%);
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Image de fond pour la colonne droite - MODIFIÉ */
.evaluation-bg-image {
  background-image: url('../images/car-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  box-shadow: 
    inset 0 0 100px rgba(0, 0, 0, 0.7),
    0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* Effet parallaxe pour l'image de fond */
.evaluation-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(12, 39, 69, 0.4),
    rgba(26, 58, 95, 0.6)
  );
  z-index: 1;
}

/* Ombre portée pour le texte */
.evaluation-bg-image .text-start h1 {
  text-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 0, 0, 0.3);
}

.evaluation-bg-image .text-start h6 {
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Inputs et boutons - MODIFIÉ */
.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  min-height: 45px;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 
    0 0 0 0.25rem rgba(40, 167, 69, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Boutons avec effets d'ombre - MODIFIÉ */
.btn-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border: none;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c82333, #bd2130);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #218838);
  border: none;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Checkbox stylisé */
.form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* Texte et titres */
h1, h2, h6 {
  letter-spacing: 1px;
}

/* Animation subtile pour l'image de fond */
@keyframes subtleZoom {
  0%, 100% {
    background-size: 100%;
  }
  50% {
    background-size: 105%;
  }
}

.evaluation-bg-image {
  animation: subtleZoom 30s ease-in-out infinite;
}

/* Effet de brillance sur les bordures */
.evaluation-section .col-md-5 {
  position: relative;
}

.evaluation-section .col-md-5::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent-gold),
    transparent
  );
  box-shadow: 0 0 20px rgba(4, 143, 25, 0.5);
}

/* Responsive evaluation section - MODIFIÉ */
@media (max-width: 768px) {
  .evaluation-section .row {
    flex-direction: column;
  }
  
  .evaluation-section .col-md-5,
  .evaluation-section .col-md-7 {
    width: 100% !important;
  }
  
  .evaluation-bg-image {
    min-height: 500px;
    order: -1;
  }
  
  .evaluation-overlay {
    background: linear-gradient(to bottom, rgba(12, 39, 69, 0.9), rgba(12, 39, 69, 0.7));
  }
}

/* ==================== */
/* PROCESS SECTION */
/* ==================== */
.process-section img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(40%) saturate(300%) hue-rotate(180deg);
  max-width: 100%;
  height: auto;
}

.process-section h5 {
  color: #0a2d50;
}

.process-section p {
  color: #333;
  font-size: 0.95rem;
}

/* ==================== */
/* CONTACT HERO SECTION */
/* ==================== */
.contact-hero {
    background: linear-gradient(#5cb85c, #3f8c3f);
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.hero-phone-btn {
    font-size: 20px;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 30px;
}

/* ==================== */
/* REASONS SECTION */
/* ==================== */
.reasons-section {
    background-color: #0a1e3f;
}

/* Icônes */
.reasons-icon {
    font-size: 60px;
    color: #7bd87b;
}

/* ==================== */
/* FAQ SECTION */
/* ==================== */
.faq-section {
    background-color: #f8f9fa;
}

.accordion-button {
    background-color: #0a2d50;
    color: white;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #0c2745;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background-color: white;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

/* ==================== */
/* CALLBACK SECTION */
/* ==================== */
/* ==================== */
/* CALLBACK SECTION MODIFIÉE */
/* ==================== */
.callback-section {
    font-family: 'Poppins', sans-serif;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* Image de fond pour la colonne gauche */
.callback-bg-image {
    background-image: url('../images/form-bg.jpg'); /* Changez cette URL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.7) blur(1px);
    z-index: 1;
    box-shadow: 
        inset 0 0 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.4);
}

/* Overlay sombre pour améliorer la lisibilité */
.callback-overlay-dark {
    background: linear-gradient(
        135deg,
        rgba(12, 39, 69, 0.85) 0%,
        rgba(26, 58, 95, 0.75) 50%,
        rgba(12, 39, 69, 0.9) 100%
    );
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Conteneur du formulaire */
.callback-box {
    max-width: 500px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(40, 167, 69, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Style des inputs pour fond sombre */
.callback-section .form-control,
.callback-section .form-control-lg {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 10px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.callback-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.callback-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #28a745;
    box-shadow: 
        0 0 0 0.25rem rgba(40, 167, 69, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Bouton amélioré */
.callback-section .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.callback-section .btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(40, 167, 69, 0.4),
        0 0 20px rgba(40, 167, 69, 0.3);
}

/* Checkbox stylisé */
.callback-section .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.callback-section .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

/* Colonne droite - Image */
.callback-image {
    background-image: url("../images/BG.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    box-shadow: 
        inset 0 0 80px rgba(0, 0, 0, 0.9),
        0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Overlay sombre sur l'image */
.callback-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(12, 39, 69, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Texte + logo sur l'image */
.callback-overlay-text {
    position: relative;
    z-index: 10;
    padding: 2rem;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.5);
}

.callback-overlay-text .logo-img {
    width: 180px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}

/* Texte blanc avec ombre */
.callback-overlay-text h1 {
    text-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 0.7);
    letter-spacing: 1.5px;
}

/* Animation subtile pour les deux colonnes */
@keyframes floatBackground {
    0%, 100% {
        background-position: center center;
    }
    50% {
        background-position: center 55%;
    }
}

.callback-bg-image,
.callback-image {
    animation: floatBackground 25s ease-in-out infinite;
}

/* Responsive callback section */
@media (max-width: 992px) {
    .callback-section .row {
        flex-direction: column;
    }
    
    .callback-section .col-lg-6 {
        width: 100% !important;
    }
    
    .callback-image {
        min-height: 400px;
        order: -1;
    }
    
    .callback-box {
        margin: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .callback-section {
        min-height: auto;
    }
    
    .callback-bg-image,
    .callback-image {
        animation: none;
    }
    
    .callback-box {
        backdrop-filter: blur(5px);
    }
}


/* ==================== */
/* CONTACT FORM SECTION */
/* ==================== */
.contact-form-section .form-control {
    background-color: white;
    border: 1px solid #dee2e6;
    color: #333;
}

/* ==================== */
/* CONTACT INFO BOX - VERSION CORRIGÉE */
/* ==================== */
.contact-info-box {
    background-color: #0a2d50 !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    padding: 2rem !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* SUPPRIMER COMPLÈTEMENT L'OVERLAY ANIMÉ */
.contact-info-box::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

/* STYLE ULTIME POUR LES BOUTONS CLIQUABLES */
.contact-info-box .btn-success {
    background: linear-gradient(135deg, #28a745, #218838) !important;
    border: none !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: white !important;
    min-height: 50px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.contact-info-box .btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e7e34) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Bouton WhatsApp spécifique */
.contact-info-box .btn-success:last-child {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.contact-info-box .btn-success:last-child:hover {
    background: linear-gradient(135deg, #1da851, #0d7c5c) !important;
}

/* Icônes */
.contact-info-box .btn-success i {
    font-size: 20px !important;
}

/* S'assurer que les liens sont fonctionnels */
.contact-info-box a {
    text-decoration: none !important;
    position: relative !important;
    z-index: 1001 !important;
    display: block !important;
    width: 100% !important;
}

/* Conteneur parent */
.contact-form-section .col-lg-4 {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}

/* Boutons responsive dans contact info */
.contact-info-box .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}


@media (max-width: 576px) {
    .contact-info-box .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .contact-info-box .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== */
/* CONTACT HERO - PARALLAX EFFECT */
/* ==================== */
.contact-hero {
    background: 
        linear-gradient(rgba(12, 39, 69, 0.9), rgba(10, 30, 63, 0.95)),
        url('../images/cars-bg-parallax.jpg') center center/cover no-repeat fixed;
    padding: 120px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 100px rgba(0, 0, 0, 0.2);
}

/* Effet de particules/points */
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { background-position: 0 0, 25px 25px; }
    100% { background-position: 50px 50px, 75px 75px; }
}

/* Titre avec effet */
.contact-hero h1 {
    font-size: 3.5rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease-out;
}

/* ==================== */
/* REASONS SECTION - GRADIENT ANIMÉ */
/* ==================== */
.reasons-section {
    background: 
        linear-gradient(135deg, 
            var(--dark-blue) 0%,
            #0a2540 25%,
            #09203f 50%,
            #071a35 75%,
            var(--dark-blue) 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 100px 0;
    position: relative;
    box-shadow: 
        0 -10px 30px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Cards avec effet de profondeur */
.reasons-section .col-md-4 > div {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.05);
}

.reasons-section .col-md-4 > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.7s ease;
}

.reasons-section .col-md-4 > div:hover::before {
    left: 100%;
}

/* ==================== */
/* FOOTER */
/* ==================== */
.footer-section {
    background-color: #212529 !important;
}

.footer-section a:hover {
    color: #6c757d !important;
    text-decoration: underline !important;
}

.footer-cities {
    font-size: 0.9rem;
    line-height: 1.4;
}

.city-link {
    color: #adb5bd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.city-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* ==================== */
/* RESPONSIVE GÉNÉRAL */
/* ==================== */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .p-5 {
        padding: 2rem !important;
    }
    
    .display-5, .display-3 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 576px) {
    .top-bar .d-flex {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .top-bar .text-lg-end {
        text-align: left !important;
    }
}

/* Correction pour les containers fluides */
.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.city-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
}

.city-link:hover {
    color: #0056b3;
    background-color: rgba(0, 123, 255, 0.1);
    text-decoration: underline;
}

/* ==================== */
/* ANIMATIONS PROFESSIONNELLES */
/* ==================== */

/* Animation de fade-in général */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Classes d'animation */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation pour les éléments avec délai */
.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

/* ==================== */
/* NAVBAR ANIMATIONS */
/* ==================== */

.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-scrolled {
    background-color: rgba(12, 39, 69, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Animation logo navbar */
.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* ==================== */
/* ÉVALUATION SECTION ANIMATIONS */
/* ==================== */
/* Note: Ces animations sont désactivées pour la section évaluation */

/* ==================== */
/* PROCESS SECTION ANIMATIONS */
/* ==================== */
.process-section .col-md-3 {
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.process-section .col-md-3:hover {
    transform: translateY(-10px) scale(1.02);
}

.process-section img {
    transition: all 0.5s ease;
}

.process-section .col-md-3:hover img {
    transform: rotateY(15deg) scale(1.1);
    filter: brightness(0) saturate(100%) invert(30%) sepia(50%) saturate(500%) hue-rotate(180deg);
}

/* Card hover effect */
.process-step-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.process-step-card:hover::before {
    transform: scaleX(1);
}

.process-step-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-15px);
}

/* ==================== */
/* REASONS SECTION ANIMATIONS */
/* ==================== */
.reasons-icon {
    transition: all 0.5s ease;
    display: inline-block;
}

.reasons-section .col-md-4:hover .reasons-icon {
    transform: rotateY(360deg) scale(1.2);
    color: var(--accent-gold);
}

/* Stats counter animation */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: inline-block;
}

/* ==================== */
/* FAQ SECTION ANIMATIONS */
/* ==================== */
.accordion-button {
    transition: all 0.3s ease;
    position: relative;
    padding-right: 50px;
}

.accordion-button::after {
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-item {
    transition: all 0.3s ease;
    margin-bottom: 10px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* CALLBACK SECTION ANIMATIONS */
/* ==================== */
.callback-image {
    animation: parallax 20s ease-in-out infinite;
}

@keyframes parallax {
    0%, 100% {
        background-position: center center;
    }
    50% {
        background-position: center 30%;
    }
}

.callback-overlay-text {
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                     0 0 20px rgba(255, 255, 255, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.1);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.5),
                     0 0 40px rgba(255, 255, 255, 0.3);
    }
}

/* ==================== */
/* CONTACT FORM ANIMATIONS */
/* ==================== */
.contact-info-box {
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite linear;
}

/* ==================== */
/* FOOTER ANIMATIONS */
/* ==================== */
.footer-section a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

.city-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.city-link:hover {
    transform: translateY(-2px);
    color: var(--accent-gold) !important;
}

.city-link::before {
    content: '📍';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.city-link:hover::before {
    opacity: 1;
    left: -25px;
}

/* ==================== */
/* LOADING ANIMATIONS */
/* ==================== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== */
/* PAGE TRANSITIONS */
/* ==================== */
.page-transition {
    animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* SCROLL ANIMATIONS */
/* ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    z-index: 10000;
    transition: width 0.3s ease;
}

/* ==================== */
/* BUTTON SPECIAL EFFECTS */
/* ==================== */
.btn-glow {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-glow:hover::before {
    left: 100%;
}

/* ==================== */
/* RESPONSIVE ANIMATIONS */
/* ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Disable animations on mobile for better performance */
@media (max-width: 768px) {
    .animate-float,
    .animate-pulse,
    .process-section .col-md-3:hover,
    .btn-glow::before,
    .callback-image {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .navbar-scrolled {
        backdrop-filter: none;
    }
}

/* Désactiver les animations sur la section évaluation */
.evaluation-section * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* Exception pour l'animation de zoom subtile de l'image de fond */
.evaluation-bg-image {
    animation: subtleZoom 30s ease-in-out infinite !important;
}

/* ==================== */
/* MODIFICATIONS HAUTEUR BARRE MENU */
/* ==================== */

/* RÉDUCTION DE LA HAUTEUR DU NAVBAR */
.navbar {
    min-height: 60px !important;
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

/* Ajustement du logo pour la nouvelle hauteur */
.navbar-brand {
    height: 40px !important;
    padding: 0 !important;
}

.navbar-brand img {
    max-height: 100% !important;
    width: auto !important;
}

/* Ajustement des liens de navigation */
.navbar-nav .nav-link {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.95rem !important;
}

/* Ajustement du bouton hamburger (mobile) */
.navbar-toggler {
    padding: 0.3rem 0.5rem !important;
}

/* Hauteur réduite aussi au scroll */
.navbar-scrolled {
    min-height: 50px !important;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
}

/* Ajustements pour desktop (écrans larges) */
@media (min-width: 992px) {
    .navbar {
        min-height: 65px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        display: flex;
        align-items: center;
    }
}

/* Ajustements pour mobile */
@media (max-width: 991px) {
    .navbar {
        min-height: 55px !important;
    }
    
    .navbar-collapse {
        margin-top: 0.3rem !important;
        padding: 0.8rem !important;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

/* Si vous avez une top-bar au-dessus du menu, ajustez-la aussi */
.top-bar {
    padding: 0.3rem 0 !important;
    font-size: 0.85rem !important;
}

/* Ajustement des éléments dans la top-bar */
.top-bar .d-flex {
    gap: 0.5rem !important;
}

/* Pour s'assurer que tout reste aligné */
.navbar .container-fluid,
.navbar .container {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Correction pour éviter les débordements */
.navbar-collapse {
    flex-grow: 0 !important;
}

/* Classes utilitaires pour les positions relatives */
.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.z-2 {
    z-index: 2 !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}
/* ==================== */
/* ÉVALUATION SECTION - STYLES CORRIGÉS */
/* ==================== */

/* Styles pour les inputs dans la section évaluation */

.evaluation-section .form-control,
.evaluation-section .form-select {
  background-color: white !important;
  border: 2px solid #dee2e6 !important;
  color: #333 !important;
  min-height: 45px;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
}

/* Placeholder visible */
.evaluation-section .form-control::placeholder {
  color: #6c757d !important;
  opacity: 0.8 !important;
}


/* Styles spécifiques pour le select "Estado" */
.custom-select-estado {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  color: #333 !important;
  background-color: white !important;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  transition: all 0.3s ease;
}

.custom-select-estado:hover {
  border-color: #999;
}

.custom-select-estado:focus {
  border-color: var(--accent-gold);
  box-shadow: 
    0 0 0 0.25rem rgba(4, 143, 25, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Options du select */
.custom-select-estado option {
  padding: 10px;
  color: #333;
  background-color: white;
}

/* Texte dans les labels */
.evaluation-section .form-check-label {
  color: white !important;
  opacity: 0.9;
}

/* Correction des ombres pour les inputs */
.evaluation-section .shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}


/* Boutons - garder le style existant mais s'assurer qu'ils sont visibles */
.evaluation-section .btn-danger,
.evaluation-section .btn-success {
  color: white !important;
  font-weight: 600;
}

/* Texte dans la colonne de gauche */
.evaluation-section .col-md-5 {
  color: white;
}

.evaluation-section .col-md-5 h2,
.evaluation-section .col-md-5 p {
  color: white !important;
}


/* Responsive pour la section évaluation */
@media (max-width: 768px) {
  .evaluation-section .form-control,
  .evaluation-section .form-select,
  .custom-select-estado {
    padding: 10px 14px;
    font-size: 15px;
  }
  
  .evaluation-section .col-md-5 {
    padding: 2rem !important;
  }
}

/* Override des styles problématiques existants */
.evaluation-section input[type="text"],
.evaluation-section input[type="email"],
.evaluation-section input[type="tel"],
.evaluation-section input[type="number"],
.evaluation-section select {
  color: #333 !important;
  background-color: white !important;
}
/* OPTIMISATION DES PERFORMANCES */
* {
  /* Désactiver les animations pour les utilisateurs qui préfèrent moins de mouvements */
  scroll-behavior: auto !important;
}

/* Désactiver les animations lourdes */
.contact-hero::before,
.reasons-section,
.callback-bg-image,
.callback-image,
.evaluation-bg-image {
  animation: none !important;
}

/* Utiliser transform et opacity pour de meilleures performances */
.animate-on-scroll {
  will-change: transform, opacity;
}

/* Désactiver les animations sur mobile */
@media (max-width: 768px) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* Styles pour les inputs du callback */
.callback-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: white;
  color: #333;
}

.callback-input:focus {
  outline: none;
  border-color: #0c2745;
  box-shadow: 0 0 0 3px rgba(12, 39, 69, 0.1);
}

.callback-input.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.callback-input.valid {
  border-color: #28a745;
}

/* Messages d'erreur */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  min-height: 20px;
}

/* Bouton submit */
#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ==================== */
/* NAVBAR SCROLL EFFECT - TEXT COLOR */
/* ==================== */

/* Par défaut - couleur du texte dans la navbar normale */
.navbar-light .navbar-nav .nav-link {
    color: #333 !important;
    transition: color 0.3s ease;
}

/* Quand la navbar est scrolled */
.navbar-scrolled .navbar-nav .nav-link {
    color: white !important;
}

/* Couleur spécifique pour le lien actif */
.navbar-scrolled .navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
}

/* Effet hover quand scrolled */
.navbar-scrolled .navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Spécifique pour le lien d'évaluation si vous voulez un style différent */
.navbar-scrolled .navbar-nav .nav-link.evaluation-link {
    font-weight: bold;
    color: white !important;
}

/* Pour le bouton dans le menu */
.navbar-scrolled .navbar-nav .btn-danger {
    color: white !important;
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* ==================== */
/* AJUSTEMENTS POUR MOBILE */
/* ==================== */

@media (max-width: 991px) {
    /* Quand le menu est ouvert sur mobile, garder les couleurs normales */
    .navbar-collapse.show .navbar-nav .nav-link {
        color: #333 !important;
    }
    
    /* Si scrolled sur mobile */
    .navbar-scrolled .navbar-collapse.show .navbar-nav .nav-link {
        color: #333 !important;
    }
}

/* ==================== */
/* ASSURER QUE LA NAVBAR SCROLLED EST BIEN APPLIQUÉE */
/* ==================== */

.navbar-scrolled {
    background-color: rgba(12, 39, 69, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Optionnel: animation plus douce pour le changement de couleur */
.navbar,
.navbar-nav .nav-link,
.navbar-brand {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ==================== */
/* BOUTONS FLOTTANTS WHATSAPP & TÉLÉPHONE */
/* ==================== */

.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.3s ease;
}

.floating-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.floating-button:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-button.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-button.phone-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.floating-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.floating-button:hover::before {
  transform: translateX(100%);
}

.floating-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.floating-button:hover .floating-label {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* Animation de pulsation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .floating-label {
    display: none;
  }
}

@media (max-width: 576px) {
  .floating-buttons {
    bottom: 15px;
    right: 15px;
  }
  
  .floating-button {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
/* ==================== */
/* CORRECTION SPÉCIFIQUE POUR LE BOUTON WHATSAPP HERO */
/* ==================== */

/* 1. D'abord, rendre le conteneur parent cliquable */
.contact-hero {
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
}

/* 2. Désactiver l'overlay animé qui bloque les clics */
.contact-hero::before {
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.5 !important;
    animation: none !important;
}

/* 3. Style ULTIME pour le bouton WhatsApp hero */
.hero-whatsapp-btn {
    /* Styles de base */
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    border: none !important;
    padding: 16px 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    color: white !important;
    text-decoration: none !important;
    
    /* Display et alignement */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    
    /* Pour le clic */
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 9999 !important;
    
    /* Transition */
    transition: all 0.3s ease !important;
    
    /* Ombre */
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3) !important;
    
    /* S'assurer qu'il est visible */
    opacity: 1 !important;
    visibility: visible !important;
}

/* 4. Effet hover */
.hero-whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851, #0d7c5c) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

/* 5. Pour l'icône */
.hero-whatsapp-btn i {
    font-size: 24px !important;
}

/* 6. Règle de secours - si tout échoue */
a.btn-success[href*="whatsapp"],
a.btn-success[href*="wa.me"] {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10000 !important;
}

/* 7. Désactiver TOUTES les animations sur ce bouton */
.hero-whatsapp-btn,
.hero-whatsapp-btn *,
.hero-whatsapp-btn::before,
.hero-whatsapp-btn::after {
    animation: none !important;
}









