:root {
    --primary-blue: #2C4766;
    --accent-orange: #CE751E;
    --text-dark: #333333;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --dark-blue: #1a2d42;
    --light-blue: #4a6b8a;
    --gradient-1: linear-gradient(135deg, #2C4766 0%, #1a2d42 100%);
    --gradient-2: linear-gradient(45deg, #CE751E 0%, #e68a2e 100%);
    --shadow-light: 0 8px 32px rgba(44, 71, 102, 0.12);
    --shadow-medium: 0 16px 64px rgba(44, 71, 102, 0.16);
    --shadow-heavy: 0 24px 96px rgba(44, 71, 102, 0.24);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(206, 117, 30, 0.3); }
    50% { box-shadow: 0 0 30px rgba(206, 117, 30, 0.6); }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s ease-out forwards;
}

/* Header with Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 71, 102, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 55px !important;
    max-height: 55px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(44, 71, 102, 0.15));
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

/* Desktop only - direct children links */
@media (min-width: 769px) {
    .nav-menu {
        flex-direction: row;
    }
    
    .mobile-contact-section,
    .mobile-nav-links,
    .mobile-cta-buttons {
        display: none !important;
    }
}

.nav-menu a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.header-contact {
    display: flex;
    gap: 24px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 25px;
    transition: var(--transition);
    background: rgba(44, 71, 102, 0.05);
}

.contact-item:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.contact-item:hover i {
    color: var(--white) !important;
}

.contact-item:hover .contact-text {
    color: var(--white) !important;
}

.contact-item i {
    font-size: 16px;
    color: var(--primary-blue);
    transition: var(--transition);
}

/* Mobile Menu Toggle - Style moderne */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    z-index: 1002;
    position: relative;
    background: rgba(44, 71, 102, 0.1);
    border: 2px solid rgba(44, 71, 102, 0.2);
    border-radius: 12px;
    line-height: 1;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.mobile-menu-toggle:hover {
    background: rgba(44, 71, 102, 0.15);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.mobile-menu-toggle.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.mobile-menu-toggle.active span {
    background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
}

/* Mobile Menu - Design moderne avec priorité aux contacts */
.nav-menu.mobile-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(44, 71, 102, 0.95) 100%);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 25px 30px 25px;
    gap: 0;
    z-index: 1000;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

/* Section des liens de navigation mobile */
.mobile-nav-links {
    order: 2; /* Deuxième élément */
    display: none; /* Caché par défaut sur desktop */
    flex-direction: column;
    gap: 18px;
    margin: 0 0 30px 0;
    flex-grow: 1;
    justify-content: center;
    padding: 0 10px;
}

.mobile-nav-links a {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 20px 28px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.mobile-nav-links a:hover::before {
    left: 100%;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Boutons CTA dans le menu mobile */
.mobile-cta-buttons {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding: 25px 0 35px 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    order: 3; /* Troisième élément - en bas */
}

.nav-menu.mobile-active .mobile-cta-buttons {
    display: flex;
}

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.mobile-cta::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.5s ease;
}

.mobile-cta:hover::before {
    left: 100%;
}

.mobile-cta-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e68a2e 100%);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(206, 117, 30, 0.2);
}

.mobile-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(206, 117, 30, 0.4);
    background: linear-gradient(135deg, #d66a1a 0%, #cc7728 100%);
}

.mobile-cta-primary:hover span,
.mobile-cta-primary:hover i {
    color: var(--white) !important;
}

.mobile-cta-secondary {
    background: rgba(44, 71, 102, 0.05);
    color: var(--primary-blue);
    border: 2px solid rgba(44, 71, 102, 0.2);
    backdrop-filter: blur(10px);
}

.mobile-cta-secondary:hover {
    background: rgba(44, 71, 102, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(44, 71, 102, 0.15);
}

.mobile-cta i {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.mobile-cta:hover i {
    transform: scale(1.1);
}

.mobile-cta span {
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Section contact mobile */
.mobile-contact-section {
    display: none; /* Caché par défaut sur desktop */
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 0 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    order: 1; /* Premier élément */
}

.mobile-contact-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.mobile-contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-blue));
    border-radius: 1px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-contact-item i {
    width: 28px;
    font-size: 1.3rem;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}

.mobile-contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-contact-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.mobile-contact-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    font-style: italic;
}

/* Styles cohérents avec la section contact principale */
.mobile-phone {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
    border: none !important;
    color: white !important;
}

.mobile-phone i {
    color: white !important;
    animation: pulse 2s infinite;
    width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 6px !important;
}

.mobile-phone .mobile-contact-label,
.mobile-phone .mobile-contact-value,
.mobile-phone .mobile-contact-subtitle {
    color: white !important;
}

.mobile-phone:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)) !important;
    box-shadow: 0 4px 15px rgba(44, 71, 102, 0.4) !important;
    transform: translateX(5px) scale(1.02) !important;
}

.mobile-phone:hover i {
    transform: scale(1.2) !important;
}

.mobile-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    border: none !important;
    color: white !important;
}

.mobile-whatsapp i {
    color: white !important;
    animation: pulse 2s infinite;
    width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 6px !important;
}

.mobile-whatsapp .mobile-contact-label,
.mobile-whatsapp .mobile-contact-value,
.mobile-whatsapp .mobile-contact-subtitle {
    color: white !important;
}

.mobile-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    transform: translateX(5px) scale(1.02) !important;
}

.mobile-whatsapp:hover i {
    transform: scale(1.2) !important;
    animation: none;
}

.mobile-email {
    background: linear-gradient(135deg, var(--accent-orange), #e68a2e) !important;
    border: none !important;
    color: white !important;
}

.mobile-email i {
    color: white !important;
    animation: pulse 2s infinite;
    width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 6px !important;
}

.mobile-email .mobile-contact-label,
.mobile-email .mobile-contact-value,
.mobile-email .mobile-contact-subtitle {
    color: white !important;
}

.mobile-email:hover {
    background: linear-gradient(135deg, #e68a2e, var(--accent-orange)) !important;
    box-shadow: 0 4px 15px rgba(206, 117, 30, 0.4) !important;
    transform: translateX(5px) scale(1.02) !important;
}

.mobile-email:hover i {
    transform: scale(1.2) !important;
}

/* Force application des styles d'icônes - Version 2025.01 */
.mobile-contact-section .mobile-contact-item i {
    min-width: 32px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.mobile-contact-section .mobile-phone i,
.mobile-contact-section .mobile-whatsapp i,
.mobile-contact-section .mobile-email i {
    min-width: 32px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    z-index: 999;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.scroll-to-top.visible {
    transform: translateY(0);
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-heavy);
    animation: glow 2s infinite;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(44, 71, 102, 0.8) 100%),
                url('data:image/svg+xml,\u003csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"\u003e\u003crect fill="%23f8f8f8" width="1200" height="600"/\u003e\u003ccircle fill="%232C4766" opacity="0.1" cx="200" cy="150" r="80"/\u003e\u003ccircle fill="%23CE751E" opacity="0.1" cx="1000" cy="400" r="120"/\u003e\u003c/svg\u003e');
    background-size: cover;
    background-position: center;
    /* Utilise l’unité dvh moderne et compense la hauteur du header */
    min-height: calc(100dvh - var(--header-height, 80px));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    /* on retire le margin-top fixe pour éviter les doubles compensations */
    margin-top: 0;
    position: relative;
    overflow: hidden; /* empêche les ornements de créer un scroll horizontal */
    padding: 20px;
}

/* Les éléments décoratifs ne doivent pas impacter la mise en page */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-ornament {
    position: absolute;
    width: clamp(120px, 18vw, 220px);
    height: auto;
    opacity: 0.15;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    pointer-events: none;
    z-index: 0;
}

.ornament-left { left: max(0px, 3%); top: 12%; transform: rotate(-6deg); }
.ornament-right { right: max(0px, 5%); bottom: 8%; transform: rotate(8deg); }

/* Évite qu'une image déborde et décale le layout */
img { max-width: 100%; height: auto; }

@supports not (height: 100dvh) {
  /* Fallback pour anciens navigateurs */
  .hero { min-height: calc(100vh - var(--header-height, 80px)); }
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--white);
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.hero .subtitle {
    font-size: 1.15rem;
    margin: 0 auto 30px auto;
    opacity: 0.95;
    font-weight: 400;
    max-width: 48ch;
    text-align: center;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(206, 117, 30, 0.3);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(44, 71, 102, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(44, 71, 102, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    font-weight: 300;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-orange);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.credentials {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.reviews-placeholder {
    background: var(--light-gray);
    padding: 60px 40px;
    border-radius: 15px;
    border: 2px dashed var(--primary-blue);
    margin-top: 40px;
}

.reviews-placeholder h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.reviews-placeholder p {
    color: var(--text-dark);
    font-style: italic;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(44, 71, 102, 0.1);
}

.faq-question {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(44, 71, 102, 0.9);
}

.faq-answer {
    background: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 300px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 10px;
    transition: var(--transition);
    background: transparent;
}

.contact-info .contact-item:hover {
    background: rgba(206, 117, 30, 0.1);
    transform: translateX(5px);
}

.contact-info .contact-item i {
    color: var(--accent-orange);
    font-size: 1.3rem;
    width: 25px;
    transition: var(--transition);
}

.contact-info .contact-item.phone-contact,
.contact-info .contact-item.whatsapp-contact,
.contact-info .contact-item.email-contact {
    cursor: pointer;
    text-decoration: none;
}

.contact-info a.contact-item span:not(.contact-label) {
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-info .contact-item:hover i {
    transform: scale(1.1);
    color: var(--accent-orange) !important;
}

.contact-info .contact-item span {
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
}

.contact-info .contact-item:hover span {
    color: var(--accent-orange);
    font-weight: 700;
}

/* Styles spécifiques pour les contacts visuels */
.phone-contact {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
    color: white !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(44, 71, 102, 0.3);
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
}

.email-contact {
    background: linear-gradient(135deg, var(--accent-orange), #e68a2e) !important;
    color: white !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(206, 117, 30, 0.3);
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
}

.contact-main {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.phone-contact i,
.email-contact i {
    color: white !important;
    font-size: 1.4rem !important;
    animation: pulse 2s infinite;
    width: 25px !important;
    text-align: center !important;
}

.phone-contact span,
.email-contact span {
    color: white !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
}

.contact-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin-top: 5px !important;
    padding-left: 40px !important;
}

.phone-contact:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)) !important;
    transform: translateX(5px) scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(44, 71, 102, 0.4) !important;
}

.email-contact:hover {
    background: linear-gradient(135deg, #e68a2e, var(--accent-orange)) !important;
    transform: translateX(5px) scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(206, 117, 30, 0.4) !important;
}

.phone-contact:hover span,
.email-contact:hover span {
    color: white !important;
    font-weight: 700 !important;
}

.phone-contact:hover i,
.email-contact:hover i {
    transform: scale(1.2) !important;
    color: white !important;
}

/* Style spécifique pour WhatsApp */
.whatsapp-contact {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: white !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
}

.whatsapp-contact i {
    color: white !important;
    font-size: 1.4rem !important;
    animation: pulse 2s infinite;
    width: 25px !important;
    text-align: center !important;
}

.whatsapp-contact span {
    color: white !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
}

.whatsapp-contact:hover {
    background: linear-gradient(135deg, #128c7e, #25d366) !important;
    transform: translateX(5px) scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

.whatsapp-contact:hover span {
    color: white !important;
    font-weight: 700 !important;
}

.whatsapp-contact:hover i {
    transform: scale(1.2) !important;
    color: white !important;
}

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


/* Formulaire de contact */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 71, 102, 0.1);
    border: 1px solid rgba(44, 71, 102, 0.1);
    width: 100%;
    max-width: 100%;
}

.contact-form-container h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.contact-form-container > p {
    color: var(--text-dark);
    margin-bottom: 30px;
    opacity: 0.8;
}

.contact-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 35px;
    padding: 30px;
    background: rgba(44, 71, 102, 0.025);
    border-radius: 15px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 8px rgba(44, 71, 102, 0.03);
}

.form-section h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h4 i {
    color: var(--accent-orange);
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Pour les form-group qui ne sont pas dans form-row */
.form-section > .form-group {
    margin-bottom: 30px;
}

.form-group label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid rgba(44, 71, 102, 0.12);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    width: 100%;
    box-sizing: border-box;
    color: var(--text-dark);
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(44, 71, 102, 0.04);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(44, 71, 102, 0.08), 0 0 0 3px rgba(206, 117, 30, 0.12);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.98);
}

.form-group input:invalid:not(:focus),
.form-group select:invalid:not(:focus),
.form-group textarea:invalid:not(:focus) {
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Champs conditionnels */
.conditional-field {
    transition: all 0.4s ease;
}

.conditional-field.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    pointer-events: none;
}

.conditional-field:not(.hidden) {
    opacity: 1;
    max-height: 200px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    min-width: 250px;
    font-size: 1.1rem;
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
}

.btn-submit .loading-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading .submit-text {
    opacity: 0;
}

.btn-submit.loading .loading-spinner {
    display: block !important;
}

.form-info {
    margin-top: 15px;
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Turnstile Security Widget */
.turnstile-section {
    background: linear-gradient(135deg, rgba(44, 71, 102, 0.05) 0%, rgba(44, 71, 102, 0.02) 100%);
    border-left-color: #27ae60;
}

.turnstile-section .form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cf-turnstile {
    margin: 0 auto;
    transform: scale(1);
    transform-origin: 0 0;
}

.turnstile-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    max-width: 400px;
}

.turnstile-message.success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.turnstile-message.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.turnstile-message.warning {
    background: linear-gradient(135deg, rgba(206, 117, 30, 0.1) 0%, rgba(206, 117, 30, 0.05) 100%);
    color: #ce751e;
    border: 1px solid rgba(206, 117, 30, 0.2);
}

/* Bouton désactivé en attendant Turnstile */
.btn-submit:disabled {
    background: #bdc3c7 !important;
    color: #7f8c8d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    filter: none !important;
    border-color: #bdc3c7 !important;
}

.btn-submit:disabled:hover {
    background: #bdc3c7 !important;
    color: #7f8c8d !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    border-color: #bdc3c7 !important;
}

/* Bouton actif - styles normaux */
.btn-submit:not(:disabled) {
    background: var(--accent-orange);
    color: var(--white);
    border: 2px solid var(--accent-orange);
    cursor: pointer;
}

.btn-submit:not(:disabled):hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(206, 117, 30, 0.3);
    filter: brightness(1.1);
    border-color: var(--accent-orange);
}

@media (max-width: 768px) {
    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: center center;
    }
}

.form-info i {
    color: var(--accent-orange);
}

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .btn-submit {
        min-width: 100%;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-simple {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-simple p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-simple a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    margin: 0 5px;
}

.footer-simple a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-cities {
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.footer-legal-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.footer-legal-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.footer-legal-links a i {
    font-size: 16px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-legal-links a {
        padding: 12px 25px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-contact {
        display: none;
    }

    /* Cacher le menu navigation par défaut sur mobile */
    .nav-menu {
        display: none !important;
    }
    
    /* Cacher les liens desktop sur mobile */
    .nav-menu > a {
        display: none !important;
    }

    /* Afficher le bouton hamburger sur mobile */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Quand le menu est activé, forcer l'affichage complet */
    .nav-menu.mobile-active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        flex-direction: column !important;
        z-index: 1000 !important;
    }
    
    /* Afficher les sections mobiles uniquement quand le menu est ouvert */
    .nav-menu.mobile-active .mobile-contact-section {
        display: block !important;
    }
    
    .nav-menu.mobile-active .mobile-nav-links {
        display: flex !important;
    }
    
    .nav-menu.mobile-active .mobile-cta-buttons {
        display: flex !important;
    }

    .hero {
        /* plus de margin-top; la compensation se fait via --header-height */
        padding: 40px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Centrer les credentials sur mobile */
    .credentials {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .credential {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-main {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #2C4766;
  color: #fff;
  border-radius: 4px;
  z-index: 10000;
}

/* =============================
   Hero – Refresh visuel moderne 2025
   ============================= */
.hero {
  background: linear-gradient(
      135deg,
      #1e3a5f 0%,
      #2C4766 25%,
      #34567a 50%,
      #2a4463 75%,
      #1f3b5e 100%
  );
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Effets de particules flottantes */
.hero-particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(206,117,30,0.4), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(206,117,30,0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 120px;
  animation: particles-float 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes particles-float {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-10px) translateX(-5px); }
  75% { transform: translateY(-30px) translateX(15px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Halo lumineux central */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(206,117,30,0.15) 0%,
    rgba(206,117,30,0.05) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.25; }
}

/* Badge flottant */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(206, 117, 30, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(206, 117, 30, 0.3);
  border-radius: 50px;
  color: #FFB770;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(206, 117, 30, 0.2);
}

/* Titre sans effet typing */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Sous-titre moderne */
.hero .subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
  text-align: center;
}

/* Boutons CTA modernisés */
.hero-cta-primary {
  background: linear-gradient(135deg, #CE751E 0%, #e68a2e 100%);
  border: none;
  box-shadow: 0 10px 40px rgba(206, 117, 30, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.hero-cta-primary:hover::before {
  left: 100%;
}

.hero-cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 50px rgba(206, 117, 30, 0.6);
}

.hero-cta-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Stats du hero */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(206, 117, 30, 0.5);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Ornements modernisés */
.hero-ornament {
  position: absolute;
  width: clamp(80px, 10vw, 140px);
  opacity: 0.1;
  filter: drop-shadow(0 10px 30px rgba(206, 117, 30, 0.3));
  pointer-events: none;
  z-index: 2;
}

.ornament-left {
  left: 5%;
  top: 15%;
  animation: float-left 8s ease-in-out infinite;
}

.ornament-right {
  right: 5%;
  bottom: 15%;
  animation: float-right 8s ease-in-out infinite reverse;
}

@keyframes float-left {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(3deg); }
  50% { transform: translate(-5px, -25px) rotate(-2deg); }
  75% { transform: translate(15px, -10px) rotate(4deg); }
}

@keyframes float-right {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, 15px) rotate(-3deg); }
  50% { transform: translate(5px, 25px) rotate(2deg); }
  75% { transform: translate(-15px, 10px) rotate(-4deg); }
}

/* Animations d'entrée */
@keyframes animate-float {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes animate-fade-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes animate-slide-up {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes animate-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.animate-float {
  animation: animate-float 0.8s ease-out 0.2s both;
}

.animate-typing {
  animation: animate-fade-up 0.8s ease-out 0.4s both;
}

.animate-fade-up {
  animation: animate-fade-up 0.8s ease-out 0.6s both;
}

.animate-slide-up {
  animation: animate-slide-up 0.8s ease-out 0.8s both;
}

.animate-fade-in {
  animation: animate-fade-in 1s ease-out 1.2s both;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-stats {
    gap: 30px;
    margin-top: 40px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .btn {
    min-width: 280px;
  }
  
  /* Amélioration ornements mobile */
  .hero-ornament {
    width: clamp(60px, 15vw, 100px);
    opacity: 0.6;
  }
  
  .ornament-top-left {
    left: max(15px, 8%);
    top: 8%;
  }
  
  .ornament-top-right {
    right: max(15px, 8%);
    top: 12%;
  }
  
  .ornament-bottom-left {
    left: max(15px, 10%);
    bottom: 15%;
  }
  
  .ornament-bottom-right {
    right: max(15px, 10%);
    bottom: 8%;
  }
}

/* Calque image SVG */
.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('images/hero-bg.svg') center/cover no-repeat;
  opacity: 0.85;
}

/* Fond décoratif: halos colorés subtils */
.hero::before {
  content: "";
  position: absolute;
  inset: -15% -20% -10% -20%;
  background:
    radial-gradient(60% 70% at 15% 15%, color-mix(in srgb, var(--accent-orange) 35%, transparent) 0%, transparent 60%),
    radial-gradient(70% 70% at 85% 10%, color-mix(in srgb, var(--primary-blue) 45%, transparent) 0%, transparent 65%),
    radial-gradient(80% 80% at 50% 95%, color-mix(in srgb, #ffffff 30%, transparent) 0%, transparent 70%);
  filter: blur(0px);
  opacity: 0.55;
  z-index: 0;
  transform: translateZ(0);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

/* Motif léger pour donner de la matière (grille douce) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='20' height='20'>\
    <defs><pattern id='g' width='20' height='20' patternUnits='userSpaceOnUse'>\
      <path d='M0 19.5 L20 19.5 M19.5 0 L19.5 20' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'/>\
    </pattern></defs>\
    <rect width='100%' height='100%' fill='url(%23g)'/>\
  </svg>");
  background-size: 20px 20px;
  opacity: 0.22;
  z-index: 1;
}

/* Contenu au-dessus des décors */
.hero .container,
.hero-content { position: relative; z-index: 2; }

/* Espacements plus généreux pour décoller du header */
.hero .container {
  padding-block: clamp(48px, 10vh, 120px);
}

/* Titre plus lisible et aéré */
.hero h1 {
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
}

/* Sous-titre légèrement plus clair pour le contraste */
.hero .subtitle {
  color: #eef3f7;
  opacity: 0.98;
}

/* Animation du fond (désactivée en prefers-reduced-motion) */
@keyframes hero-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.05); }
  100% { transform: translate3d(2%, 1%, 0)  scale(1.05); }
}

@media (max-width: 768px) {
  .hero .container { padding-block: clamp(40px, 12vh, 100px); }
  .hero h1 { line-height: 1.16; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

/* Révélations additionnelles */
.reveal-up, .reveal-zoom, .reveal-blur {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.reveal-up.visible, .reveal-zoom.visible, .reveal-blur.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}
.reveal-zoom { transform: translateY(12px) scale(0.96); }
.reveal-blur { transform: translateY(16px) scale(1); filter: blur(10px); }

/* Parallax fluide du calque SVG */
.hero .hero-bg { will-change: transform; transition: transform 0.3s ease-out; }

/* Utilitaire parallax générique */
.scroll-parallax { will-change: transform; backface-visibility: hidden; transform: translateZ(0); }

/* Illustrations Services */
.service-icon { display: grid; place-items: center; }
.service-illustration { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 6px 20px rgba(0,0,0,.12)); transform: translateZ(0); }
.service-card:hover .service-illustration { transform: translateY(-4px); transition: transform .25s ease; }

/* Ornements hero avec 4 positions */
.hero-ornament { 
    position: absolute; 
    width: clamp(70px, 8vw, 120px); 
    opacity: 0.4; 
    z-index: 1; 
    pointer-events: none;
    filter: drop-shadow(0 8px 25px rgba(206, 117, 30, 0.2));
}

.ornament-top-left { 
    left: max(8px, 4%); 
    top: 10%; 
    animation: float-top-left 10s ease-in-out infinite;
}

.ornament-top-right { 
    right: max(8px, 4%); 
    top: 15%; 
    animation: float-top-right 12s ease-in-out infinite reverse;
}

.ornament-bottom-left { 
    left: max(8px, 6%); 
    bottom: 20%; 
    animation: float-bottom-left 11s ease-in-out infinite;
}

.ornament-bottom-right { 
    right: max(8px, 6%); 
    bottom: 10%; 
    animation: float-bottom-right 9s ease-in-out infinite reverse;
}

@keyframes float-top-left {
    0%, 100% { transform: translate(0, 0) rotate(-8deg); opacity: 0.4; }
    25% { transform: translate(5px, -10px) rotate(-5deg); opacity: 0.6; }
    50% { transform: translate(-3px, -15px) rotate(-10deg); opacity: 0.3; }
    75% { transform: translate(8px, -5px) rotate(-6deg); opacity: 0.5; }
}

@keyframes float-top-right {
    0%, 100% { transform: translate(0, 0) rotate(12deg); opacity: 0.4; }
    25% { transform: translate(-5px, 10px) rotate(15deg); opacity: 0.5; }
    50% { transform: translate(3px, 15px) rotate(8deg); opacity: 0.6; }
    75% { transform: translate(-8px, 5px) rotate(14deg); opacity: 0.3; }
}

@keyframes float-bottom-left {
    0%, 100% { transform: translate(0, 0) rotate(-12deg); opacity: 0.4; }
    25% { transform: translate(8px, -5px) rotate(-8deg); opacity: 0.6; }
    50% { transform: translate(-5px, -10px) rotate(-15deg); opacity: 0.3; }
    75% { transform: translate(10px, 5px) rotate(-10deg); opacity: 0.5; }
}

@keyframes float-bottom-right {
    0%, 100% { transform: translate(0, 0) rotate(8deg); opacity: 0.4; }
    25% { transform: translate(-8px, 5px) rotate(5deg); opacity: 0.5; }
    50% { transform: translate(5px, 10px) rotate(12deg); opacity: 0.6; }
    75% { transform: translate(-10px, -5px) rotate(6deg); opacity: 0.3; }
}

/* Zoom au défilement (CSS View Timeline) */
.zoom-scroll {
  animation-name: zoomScroll;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  animation-fill-mode: both;
  will-change: transform, opacity, filter;
}
@keyframes zoomScroll {
  from { transform: translateY(18px) scale(0.92); opacity: 0.4; filter: blur(8px); }
  to   { transform: translateY(0)    scale(1);    opacity: 1;   filter: none; }
}

/* Reveal Zoom renforcé (fallback et usage combiné) */
.reveal-zoom { opacity: 0; transform: translateY(16px) scale(0.94); filter: blur(8px); }
.reveal-zoom.visible { opacity: 1; transform: translateY(0) scale(1); filter: none; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease, filter .8s ease; }

/* Stagger utilitaire via variable */
.reveal-zoom, .reveal-up, .reveal-blur, .service-card, .feature { transition-delay: var(--reveal-delay, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .zoom-scroll { animation: none; }
  .reveal-zoom, .reveal-up, .reveal-blur { transition: none; filter: none; transform: none; opacity: 1; }
}

@media (min-width: 1200px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Sécurisation du stacking pour ne pas masquer les sections suivantes */
.hero { position: relative; z-index: 0; overflow: hidden; }
.hero::before, .hero::after { pointer-events: none; }
.hero-ornament { pointer-events: none; }

/* ========================================
   STYLES POUR LA POLITIQUE DE CONFIDENTIALITÉ
   ======================================== */

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 20px 0;
    margin-top: var(--header-height, 80px);
    border-bottom: 1px solid rgba(44, 71, 102, 0.1);
}

.breadcrumb nav ol {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb nav ol li {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.breadcrumb nav ol li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--primary-blue);
    opacity: 0.6;
}

.breadcrumb nav ol li a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.breadcrumb nav ol li a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.breadcrumb nav ol li[aria-current="page"] {
    font-weight: 600;
    color: var(--accent-orange);
}

/* Privacy Policy Main Section */
.privacy-policy {
    background: var(--white);
    padding: 60px 0 100px 0;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    line-height: 1.7;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.privacy-header h1 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin: 0 0 10px 0;
    font-weight: 800;
    line-height: 1.2;
}

.privacy-subtitle {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin: 0 0 20px 0;
    opacity: 0.8;
}

.last-updated {
    color: var(--accent-orange);
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(206, 117, 30, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    display: inline-block;
    margin: 0;
}

.privacy-intro {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--accent-orange);
}

.privacy-intro h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.privacy-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.privacy-section {
    margin-bottom: 40px;
    padding: 0 0 30px 0;
    border-bottom: 1px solid rgba(44, 71, 102, 0.1);
}

.privacy-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    padding-left: 15px;
    border-left: 3px solid var(--accent-orange);
}

.privacy-section p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-section ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.privacy-section ul li {
    position: relative;
    padding: 8px 0 8px 25px;
    margin-bottom: 5px;
    color: var(--text-dark);
    line-height: 1.7;
}

.privacy-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-section ul li strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.company-info {
    background: rgba(44, 71, 102, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(44, 71, 102, 0.1);
}

.company-info p {
    margin-bottom: 10px;
}

.company-info p:last-child {
    margin-bottom: 0;
}

.company-info strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.company-info a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.company-info a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-info-section {
    margin-top: 50px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid rgba(44, 71, 102, 0.1);
}

.contact-info-section h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.contact-details {
    text-align: center;
    margin-top: 20px;
}

.contact-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-details a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.back-to-home .btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.back-to-home .btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer adaptations for privacy page */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-main {
    flex: 1;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: var(--white);
    background: var(--accent-orange);
    transform: translateY(-1px);
}

/* Responsive Design for Privacy Policy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .privacy-header h1 {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.4rem;
    }
    
    .breadcrumb {
        padding: 15px 0;
    }
    
    .breadcrumb nav ol {
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privacy-policy {
        padding: 40px 0 80px 0;
    }
    
    .privacy-content {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .privacy-header h1 {
        font-size: 1.8rem;
    }
    
    .privacy-intro,
    .contact-info-section,
    .company-info {
        padding: 20px 15px;
    }
}

/* Container pour la carte Google Maps à droite */
.contact-map-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    height: fit-content;
}

.contact-map-container h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.contact-map-container .google-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(44, 71, 102, 0.1);
}

/* Réseaux sociaux dans la section contact */
.social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(44, 71, 102, 0.1);
}

.social-links h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-orange);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .contact-map-container {
        margin-top: 30px;
        padding: 20px;
    }
    
    .contact-map-container .google-map {
        height: 300px;
    }
    
    .social-links {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-link {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

