﻿/* ========================================
   AHF HABITAT - RESPONSIVE CSS STYLES
   Mobile (320px-767px) | Tablette (768px-1199px) | Desktop (1200px+)
======================================== */

/* ===================
   BASE STYLES
=================== */

/* Apparition en douceur au défilement (léger, sans librairie JS externe).
   .reveal démarre invisible/décalé, .is-visible l'anime à sa place normale. */
.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* Petit décalage en cascade quand plusieurs .reveal se suivent dans une même ligne */
.row > div:nth-child(2) .reveal,
.row > div:nth-child(2).reveal { transition-delay: 0.08s; }
.row > div:nth-child(3) .reveal,
.row > div:nth-child(3).reveal { transition-delay: 0.16s; }
.row > div:nth-child(4) .reveal,
.row > div:nth-child(4).reveal { transition-delay: 0.24s; }
.row > div:nth-child(5) .reveal,
.row > div:nth-child(5).reveal { transition-delay: 0.32s; }
.row > div:nth-child(6) .reveal,
.row > div:nth-child(6).reveal { transition-delay: 0.4s; }

/* Évite que le menu collant (sticky-top) ne cache le début d'une section
   quand on clique sur un lien d'ancre (#simulation-form, #devis...). */
html {
    scroll-padding-top: 124px;
    overflow-x: hidden;
}


:root {
    --primary: #111E38;       /* Bleu principal (logo) */
    --secondary: #1F2937;     /* Gris anthracite */
    --dark: #111827;          /* Noir profond */
    --light: #F9FAFB;         /* Blanc cassé */
    --accent: #0f2a4a;        /* Bleu plus clair pour hover */
    --gold: #C8892B;          /* Touche d'accent chaleureuse : bordures, texte, icônes, détails.
                                  JAMAIS en fond plein (boutons/badges restent blanc + marine). */
    --gold-dark: #A66E1D;

    /* Typographie : Fraunces pour les titres (identité propre, chaleureuse),
       Inter pour le texte courant (lisibilité). */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Ombres chaudes (teintées de la couleur de marque) plutôt que du noir pur,
       utilisées par les utilitaires Bootstrap .shadow / .shadow-sm / .shadow-lg. */
    --bs-box-shadow-sm: 0 4px 14px rgba(17, 30, 56, 0.08);
    --bs-box-shadow: 0 10px 30px rgba(17, 30, 56, 0.10);
    --bs-box-shadow-lg: 0 20px 45px rgba(17, 30, 56, 0.16);

    /* Un seul arrondi de coin utilisé partout sur le site (cartes, boutons,
       champs, menus, images...) pour une cohérence visuelle totale.
       Cercles (avatars) et formes pilule restent inchangés : ce ne sont
       pas des coins arrondis, mais des formes différentes. */
    --radius: 12px;
    --bs-border-radius-sm: var(--radius);
    --bs-border-radius: var(--radius);
    --bs-border-radius-lg: var(--radius);
    --bs-border-radius-xl: var(--radius);
    --bs-border-radius-2xl: var(--radius);

    /* Remplace le jaune Bootstrap par défaut : fond blanc (jamais de fond
       doré plein), doré réservé au texte/bordures/icônes en accent. */
    --bs-warning: #ffffff;
    --bs-warning-rgb: 255, 255, 255;
    --bs-warning-text-emphasis: var(--gold-dark);
    --bs-warning-bg-subtle: #F3F5F8;
    --bs-warning-border-subtle: var(--gold);
}

body {
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section_title, .section-title, .funfact_count,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.badge, .text-uppercase.small, span.text-uppercase {
    letter-spacing: 0.06em;
}

/* Badge "X années d'expérience" superposé en bas à gauche d'une photo */
.about-img-wrap {
    padding-bottom: 1.5rem;
    padding-right: 1.5rem;
}
/* Collage de photos en biais (accueil, section "Qui sommes-nous") : effet dynamique */
.diagonal-collage {
    display: flex;
    gap: 8px;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(-2deg) scale(1.06);
    box-shadow: 0 20px 50px rgba(17, 30, 56, 0.22);
}
.diagonal-collage-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transform: skewX(-8deg);
    margin: 0 -14px;
}
.diagonal-collage-item img {
    position: absolute;
    top: 0;
    left: -25%;
    width: 150%;
    height: 100%;
    object-fit: cover;
    transform: skewX(8deg);
    transition: transform 0.6s ease;
}
.diagonal-collage:hover .diagonal-collage-item img {
    transform: skewX(8deg) scale(1.08);
}
@media (max-width: 767.98px) {
    .diagonal-collage {
        gap: 5px;
        transform: rotate(-1.5deg) scale(1.04);
        aspect-ratio: 5/4;
    }
    .diagonal-collage-item { transform: skewX(-6deg); margin: 0 -9px; }
    .diagonal-collage-item img { left: -18%; width: 136%; transform: skewX(6deg); }
    .diagonal-collage:hover .diagonal-collage-item img { transform: skewX(6deg) scale(1.08); }
}

.funfact-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.funfact-badge-count {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--gold);
}
.funfact-badge-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
    margin-top: 0.2rem;
}
@media (max-width: 575.98px) {
    .funfact-badge { padding: 0.8rem 1rem; }
    .funfact-badge-count { font-size: 1.6rem; }
    .funfact-badge-label { font-size: 0.7rem; }
}

/* Cartes "réalisations" (accueil + page Réalisations) : étiquette de
   catégorie en médaillon sur la photo, effet de soulèvement au survol. */
.project-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bs-box-shadow) !important;
}
.project-category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}
.portfolio-menu .btn {
    border-radius: 50px;
    padding: 8px 25px;
    margin: 5px;
    font-weight: 600;
    transition: all 0.3s;
}
.portfolio-menu .btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Flèches du carrousel "Nos réalisations" (accueil) : boutons ronds
   bien visibles, décalés à l'extérieur des cartes plutôt que dessus. */
.realiz-swiper {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
.realiz-swiper .swiper-button-next,
.realiz-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    top: 45%;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: var(--primary) !important;
}
.realiz-swiper .swiper-button-next::after,
.realiz-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}
.realiz-swiper .swiper-button-prev {
    left: 0;
}
.realiz-swiper .swiper-button-next {
    right: 0;
}
@media (max-width: 767.98px) {
    .realiz-swiper {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
    .realiz-swiper .swiper-button-next,
    .realiz-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    .realiz-swiper .swiper-button-next::after,
    .realiz-swiper .swiper-button-prev::after {
        font-size: 13px;
    }
}

/* Signature visuelle commune à toutes les cartes de contenu (fiches
   prestations, encarts) : fine bordure dorée en haut, cohérente partout. */
.card.bg-light {
    border-top: 3px solid var(--gold) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card.bg-light:hover {
    transform: translateY(-4px);
    box-shadow: var(--bs-box-shadow) !important;
}

/* Filet de sécurité : force le bon ton même si une classe Bootstrap
   n'utilise pas les variables --bs-warning-* en interne.
   Fond = blanc (jamais de fond doré plein) ; texte/bordure = doré (accent). */
.bg-warning { background-color: #fff !important; }
.text-warning { color: var(--gold) !important; }
.border-warning { border-color: var(--gold) !important; }

.btn {
    border-radius: var(--radius);
}

/* Carrousel "Accompagnés par" - pastilles texte en attendant les vrais logos */
.logos-container {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
    width: max-content;
    animation: logos-scroll 25s linear infinite;
}
.logos-container:hover .logos-track {
    animation-play-state: paused;
}
.logo-item {
    flex: 0 0 auto;
    padding: 0.8rem 1.8rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}
.logo-item img {
    height: 26px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
}
.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}
@keyframes logos-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; }
}

/* Couleurs de marque communes à toutes les pages de service
   (remplace les blocs <style> dupliqués et incohérents par page) */
.text-brand { color: var(--primary) !important; }
.bg-brand { background-color: var(--primary) !important; color: #fff; }
.btn-brand { background-color: var(--primary); color: white; border: none; }
.btn-brand:hover { background-color: var(--accent); color: white; }
.border-brand { border-color: var(--primary) !important; }
.badge-brand { background-color: var(--primary); color: white; }
.video-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 480px;
    overflow: hidden;
}
.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-section {
    position: relative;
}

.video-section::after {
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.55);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 0 1.25rem;
}
.hero-overlay h1 {
    font-size: clamp(1.6rem, 5vw, 3rem);
}
.hero-overlay p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
}/* Video Section Responsive *//* Mobil Dikey (320px - 767px) */





/* Style des boutons mobile */


    
    .d-flex.d-lg-none .btn-warning {
        background-color: var(--primary) !important;
        color: #fff !important;
        border-radius: var(--radius);
        text-transform: none;
    }/* Ajustement du burger menu */

    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    .navbar-nav .nav-item{
    margin: 0 10px;
}/* ===================
   GENEL RESPONSIVE KURALLAR
=================== */





@media (max-width: 1920px) {
    .container-fluid {
        max-width: 1800px;
        margin: 0 auto;
    }}


@media (min-width: 1921px) {
    .container-fluid {
        max-width: 1920px;
        margin: 0 auto;
    }
    
    body {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2.5rem; }
    h4 { font-size: 2rem; }
    h5 { font-size: 1.5rem; }
    h6 { font-size: 1.25rem; }
}

/* Taille du logo : progression cohérente selon la largeur d'écran (plus l'écran
   est grand, plus le logo est grand — aucune de ces tranches ne se chevauche). */
@media (max-width: 479.98px) {
    .navbar-brand img { height: 64px; }
}
@media (min-width: 480px) and (max-width: 767.98px) {
    .navbar-brand img { height: 76px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand img { height: 86px; }
}

@media (max-width: 575px) {
    /* On réduit les marges des boutons pour qu'ils tiennent */
    .btn-sm {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }
}

/* S'assurer que le conteneur de la navbar ne prend pas trop de place */
.navbar > .container {
    flex-wrap: nowrap; /* Force les éléments sur une seule ligne */
}

@media (max-width: 319.98px) {
    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    body {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}


@media (max-height: 500px) and (orientation: landscape) {
    .video-section {
        height: 70vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }/* .top-bar {
        display: none;
    } */}
button, a {
    cursor: pointer;
    touch-action: manipulation;
}/* Print stilleri */


@media print {
    .navbar,
    .back-to-top,
    .phone-button,
    .phone-menu,
    .action-buttons,
    .video-section video {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .container,
    .container-fluid {
        width: 100% !important;
        max-width: none !important;
    }}




.white-oval2::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 100' xmlns='http://www.w3.org/2000/svg'><path fill='%23ffffff' d='M0,100 C480,0 960,0 1440,100 L1440,0 L0,0 Z'/></svg>") no-repeat bottom center;
    background-size: cover;
}
.contentbg-bleu {
    position: relative;
    background-color: #111E38;
    background-image: linear-gradient(rgba(17, 30, 56, 0.55), rgba(17, 30, 56, 0.8)), url('../../services/banniere-toiture.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0px 15px 0px;
}
@media (max-width: 991.98px) {
    /* background-attachment: fixed n'est pas fiable sur mobile (Safari iOS
       notamment) : on revient à un fond qui défile normalement. */
    .contentbg-bleu {
        background-attachment: scroll;
    }
}
.btn-main {
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    padding: 12px 25px;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-outline-main {
    border: 2px solid #111E38;
    color: #111E38;

}

.btn-main:hover {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid #111E38;
}

.btn-outline-main {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    padding: 12px 25px;
    font-weight: 600;
}

.btn-outline-main:hover {
    background: var(--primary);
    color: white;
}/* Top Bar Styles */

.top-bar .btn-warning {
    padding: 0.25rem 1rem;
    font-size: 14px;
}/* Main Navbar Styles *//* Navbar genel stilleri *//* Navbar stilleri */




.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1040;
}

.navbar .btn-warning {
    padding: 0.5rem 1.5rem;
    white-space: nowrap;  /* Buton metninin alt satıra geçmesini önler */
}

.navbar .nav-link {
    color: #111E38;
    font-weight: 500;
    padding: 1.5rem 1rem;
    transition: color 0.3s;
}

.navbar .nav-link:hover {
    color: var(--primary);
}

section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
}

h2 {
    margin-bottom: 30px;
}

p {
    margin-bottom: 20px;
}/* ===================
   NAVBAR RESPONSIVE
=================== */






@media (max-width: 479.98px) {/* .top-bar {
        display: none;
    } */
   
    
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .btn-warning {
        font-size: 12px;
        padding: 0.6rem 1rem;
        margin-left: auto;
    }
    
    .navbar .nav-link {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
    
    .navbar-collapse {
        padding: 0.8rem 0;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {/* .top-bar {
        display: none;
    } */
       
    
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .btn-warning {
        font-size: 13px;
        padding: 0.45rem 1rem;
        margin-left: auto;
    }
    
    .navbar .nav-link {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    .navbar-collapse {
        padding: 1rem 0;
    }}/* Tablet (768px - 991px) */


@media (min-width: 768px) and (max-width: 991.98px) {/* .top-bar {
        display: none;
    } */
      
    
    .navbar .btn-warning {
        font-size: 14px;
        padding: 0.5rem 1.2rem;
        margin-left: auto;
    }
    
    .navbar .nav-link {
        padding: 0.6rem 0;
        font-size: 1rem;
    }
    
    .navbar-collapse {
        padding: 1rem 0;
    }}


@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .btn-warning {
        margin-left: auto;
        padding: 0.5rem 1.3rem;
        font-size: 14px;
    }

    .navbar .nav-link {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .navbar-nav {
        margin-right: 1.5rem;
    }}


@media (min-width: 1200px) {
    .navbar .btn-warning {
        margin-left: auto;
        padding: 0.5rem 1.5rem;
    }

    .navbar .nav-link {
        padding: 1rem 1.5rem;
    }
    
    .navbar-nav {
        margin-right: 2rem;
    }}/* Dropdown Menu Styles */


.dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 280px;
    background-color: #ffffff;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #1f2937;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #111E38;
    transform: translateX(5px);
}

.dropdown-item:focus {
    background-color: #e5e7eb;
    color: #111E38;
}

.dropdown-item svg {
    color: #ffc107;
    transition: transform 0.3s ease;
}

.dropdown-item:hover svg {
    transform: scale(1.1);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}/* ===================
   DROPDOWN RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        position: static;
        float: none;
        width: 100%;
        margin-left: 0.5rem;
    }
    
    .dropdown-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-left: 2px solid transparent;
    }
    
    .dropdown-item:hover {
        background-color: #e9ecef;
        border-left-color: #111E38;
        transform: none;
    }
    
    .dropdown-item svg {
        width: 16px;
        height: 16px;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        position: static;
        float: none;
        width: 100%;
        margin-left: 0.8rem;
    }
    
    .dropdown-item {
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
        border-left: 3px solid transparent;
    }
    
    .dropdown-item:hover {
        background-color: #e9ecef;
        border-left-color: #111E38;
        transform: none;
    }
    
    .dropdown-item svg {
        width: 18px;
        height: 18px;
    }}
@media (max-width: 991px) {

  #mainNavbar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 70px);
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
  }

  .navbar-nav {
    width: 100%;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
  }

  .dropdown-menu {
    position: relative !important;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 15px;
  }

  .dropdown.show .dropdown-menu {
    display: block;
  }}
.dropdown:hover .dropdown-menu { display: block; }
.navbar-nav .nav-item {
    margin: 0 8px;
}

.navbar-nav .nav-link {
    padding: 10px 12px;
    border-radius: var(--radius);
    transition: 0.2s;
}

.navbar-nav .nav-link:hover {
    background: rgba(5,111,111,0.08);

}
.mobile-close {
    display: flex;
    justify-content: flex-end;
    padding: 15px 10px;
}

.btn-close-menu {
    background: #111E38;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 20px;
    line-height: 40px;
}

@media (max-width: 991px) {

    .navbar-nav {
        gap: 0;
    }

    .dropdown-menu {
        display: none;
        position: relative;
        box-shadow: none;
        border-left: 2px solid #111E38;
        margin-left: 10px;
    }

    .dropdown.show > .dropdown-menu {
        display: block;
    }

    .nav-item {
        padding: 6px 0;
    }}/* Tablet (768px - 991px) */



@media (min-width: 768px) and (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        position: static;
        float: none;
        width: 100%;
        margin-left: 1rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
    }
    
    .dropdown-item:hover {
        background-color: #e9ecef;
        border-left-color: #111E38;
        transform: none;
    }}/* Counter Section Styles */

.counter-isole .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color:#f08700;
    line-height: 1;
    margin-bottom: 0.5rem;
    margin-bottom: 0;
    margin-right: 0.5rem;
}

.counter-chantier .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color:#111E38;
    line-height: 1;
    margin-bottom: 0.5rem;
    margin-bottom: 0;
    margin-right: 0.5rem;
}
.counter-clients .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color:#111E38;
    line-height: 1;
    margin-bottom: 0;
    margin-right: 0.5rem;
}
.counter-jour .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color:#70b52c;
    line-height: 1;
    margin-bottom: 0.5rem;
    margin-bottom: 0;
    margin-right: 0.5rem;
}/* ===================
   COUNTER SECTION RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    .counter-isole .counter-number,
    .counter-chantier .counter-number,
    .counter-clients .counter-number,
    .counter-jour .counter-number {
        font-size: 1.8rem;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    .counter-isole .counter-number,
    .counter-chantier .counter-number,
    .counter-clients .counter-number,
    .counter-jour .counter-number {
        font-size: 2.2rem;
    }}


@media (min-width: 768px) and (max-width: 1199.98px) {
    .counter-isole .counter-number,
    .counter-chantier .counter-number,
    .counter-clients .counter-number,
    .counter-jour .counter-number {
        font-size: 2.5rem;
    }}


@media (min-width: 1200px) {
    .counter-isole .counter-number,
    .counter-chantier .counter-number,
    .counter-clients .counter-number,
    .counter-jour .counter-number {
        font-size: 3rem;
    }}/* Innovation Section Styles */

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}/* ===================
   INNOVATION SECTION RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.15;
    }}


@media (min-width: 768px) and (max-width: 1199.98px) {
    
    .section-title {
        font-size: 2rem;
    }}


@media (min-width: 1200px) {
    
    .section-title {
        font-size: 2.5rem;
    }}/* Feature Cards Styles *//* ===================
   FEATURE CARDS RESPONSIVE
=================== */


@media (min-width: 992px) and (max-width: 1199.98px) {
    
    .chape-liquide .section-title {
        font-size: 2rem;
    }}

@media (min-width: 768px) and (max-width: 991.98px) {
    
    .chape-liquide .section-title {
        font-size: 1.8rem;
        text-align: center;
    }}

@media (max-width: 767.98px) {
    
    .chape-liquide .section-title {
        font-size: 1.5rem;
        text-align: center;
    }}/* Testimonials Section */

.testimonials-section .section-title {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1rem;
}/* Swiper Customization */


.testimonialsSwiper {
    width: 100%;
    padding: 0 20px 20px 20px;
}

.testimonialsSwiper .swiper-slide {
    height: auto;
    display: flex;
}/* Swiper Navigation Buttons - Hidden */


.testimonialsSwiper .swiper-button-next,
.testimonialsSwiper .swiper-button-prev {
    display: none;
}/* Swiper Pagination */


.testimonialsSwiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonialsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.testimonialsSwiper .swiper-pagination-bullet-active {
    background: #111E38;
    transform: scale(1.3);
}

.testimonialsSwiper .swiper-pagination-bullet:hover {
    background: #111E38;
}/* Partners Slider */

.partners-section .section-title {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partnersSwiper {
    padding-bottom: 50px;
}

.partnersSwiper .swiper-pagination {
    position: static;
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnersSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 5px;
    border-radius: 50%;
}

.partnersSwiper .swiper-pagination-bullet-active {
    background: #111E38;
    transform: scale(1.3);
}

.partnersSwiper .swiper-pagination-bullet:hover {
    background: #111E38;
}/* Footer Styles *//* Footer Styles */



.footer {
    background: #1e3669 !important;
    color: white;
    position: relative;
}

.footer-logo {
    width: 100%;
    padding: 0px 50px;
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

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

.footer-submenu .footer-link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.2rem 0;
    display: block;
}

.footer-submenu .footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer-contact .contact-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact .contact-item strong {
    color: white;
    font-weight: 600;
}

.footer-contact .contact-item i {
    color: #2141b4;
    width: 16px;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #111E38;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}/* ===================
   FOOTER SECTION RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    .footer {
        text-align: center;
        padding: 2rem 0 1rem;
    }
    
    .footer .row {
        justify-content: center;
    }
    
    .footer .col-lg-6,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        padding: 0px 20px;
        max-width: 150px;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .footer-menu {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-submenu .footer-link {
        text-align: center;
        padding: 0.25rem 0;
        font-size: 0.9rem;
    }
    
    .footer-submenu .footer-link:hover {
        padding-left: 0;
        color: #111E38;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact .contact-item {
        font-size: 0.9rem;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-contact .contact-item svg {
        margin-right: 8px;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-legal {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: center !important;
        margin-top: 1rem;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    .footer {
        text-align: center;
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer .row {
        justify-content: center;
    }
    
    .footer .col-lg-6,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        padding: 0px 30px;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .footer-menu {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-submenu .footer-link {
        text-align: center;
        padding: 0.3rem 0;
    }
    
    .footer-submenu .footer-link:hover {
        padding-left: 0;
        color: #111E38;
    }
    
    .footer-title {
        font-size: 1.15rem;
    }
    
    .footer-link {
        font-size: 0.95rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact .contact-item {
        font-size: 0.95rem;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-contact .contact-item svg {
        margin-right: 8px;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .footer-legal {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: center !important;
        margin-top: 1rem;
    }}


@media (min-width: 768px) and (max-width: 1199.98px) {
    .footer {
        text-align: left;
        padding: 3rem 0 2rem;
    }
    
    .footer .col-lg-6,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        padding: 0px 20px;
        margin-bottom: 1rem;
    }
    
    .footer-menu {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .footer-submenu .footer-link {
        text-align: left;
        padding: 0.2rem 0;
    }
    
    .footer-submenu .footer-link:hover {
        padding-left: 8px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-contact .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-contact .contact-item svg {
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    .social-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .footer-legal {
        margin-top: 1rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: right !important;
        margin-top: 0;
    }}


@media (min-width: 1200px) {
    .footer {
        text-align: left;
        padding: 4rem 0 2rem;
    }
    
    .footer .col-lg-6,
    .footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        padding: 0px 50px;
        margin-bottom: 1rem;
    }
    
    .footer-menu {
        text-align: left;
        margin-bottom: 0;
    }
    
    .footer-submenu .footer-link {
        text-align: left;
        padding: 0.2rem 0;
    }
    
    .footer-submenu .footer-link:hover {
        padding-left: 8px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-contact .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-contact .contact-item svg {
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    .social-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-legal {
        margin-top: 1rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: right !important;
        margin-top: 0;
    }}/* Back to Top Button */

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}/* Effet de soulèvement sur les cartes au survol */

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-10px); /* Soulève la carte de 10px */
    box-shadow: 0 15px 30px rgba(11, 60, 93, 0.15) !important; /* Ombre plus douce et bleue */
}/* Animation de la bordure bleue sur les engagements */


.border-animate {
    position: relative;
    transition: all 0.3s ease;
}
.border-animate:hover {
    border-top-width: 8px !important; /* Épaissit la bordure au survol */
}/* Petit effet de zoom sur l'image technique */


.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 0.5s ease;
}
.img-zoom-container:hover img {
    transform: scale(1.05); /* Zoom de 5% sur l'image */
}/* Bouton qui réagit *//* Remplace le bleu par un Gris Anthracite élégant */

.bg-primary {
    background-color: #3a3b3b !important; /* Gris foncé pro au lieu du bleu */
}

.text-primary {
    color: #3a3b3b !important;
}

.btn-outline-primary {
    border-color: #3a3b3b;
    color: #3a3b3b;
}

.btn-outline-primary:hover {
    background-color: #3a3b3b;
    color: #ffffff;
}/* On garde ton jaune pour les actions importantes (Conversion) */


.btn-warning {
    background-color: #fff !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
}
.btn-warning:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}/* Phone Button *//* Phone Menu Popup */

.phone-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}/* Appointment Modal Styles */


#appointmentModal{
    z-index: 2000;
}

.modal-header .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: white;
}

.modal-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
    opacity: 1;
}

.modal-header .btn-close i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #111E38;
    box-shadow: 0 0 0 0.2rem rgba(17, 30, 56, 0.15);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #ef4444;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #10b981;
}

.form-check-input {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    width: 1.2em;
    height: 1.2em;
}

.form-check-input:checked {
    background-color: #111E38;
    border-color: #111E38;
}

.form-check-label {
    font-size: 0.95rem;
    color: #374151;
    margin-left: 0.5rem;
}

.form-check-label a {
    color: #111E38;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.modal-footer .btn {
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary {
    background: #111E38;
    border-color: #111E38;
}

.modal-footer .btn-primary:hover {
    background: #111E38;
    border-color: #111E38;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 30, 56, 0.3);
}/* Réalisations Section *//* Réalisations Swiper */


.realisationsSwiper {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
}

.realisationsSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}/* Réalisations Pagination */


.realisationsSwiper .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
    z-index: 10;
}

.realisationsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.realisationsSwiper .swiper-pagination-bullet-active {
    background: #fbbf24;
    transform: scale(1.3);
}/* Réalisations Content */

.realisations-content .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}/* ===================
   ACTION BUTTONS
=================== */

.action-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.action-buttons .btn-primary {
    background: #111E38;
    color: white;
}

.action-buttons .btn-primary:hover {
    background: #111E38;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 30, 56, 0.3);
}

.action-buttons .btn-warning {
    background: #fbbf24;
    color: white;
}

.action-buttons .btn-warning:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}/* ===================
   ACTION BUTTONS RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    
    .action-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 250px;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    
    .action-buttons .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }}


@media (min-width: 768px) and (max-width: 1199.98px) {
    
    .action-buttons .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }}


@media (min-width: 1200px) {
    
    .action-buttons .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }}/* ===================
   TESTIMONIALS SECTION RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    .testimonialsSwiper {
        padding: 0.8rem 0;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    .testimonialsSwiper {
        padding: 1rem 0;
    }}


@media (min-width: 768px) and (max-width: 1199.98px) {
    .testimonialsSwiper {
        padding: 1.5rem 0;
    }}


@media (min-width: 1200px) {
    .testimonialsSwiper {
        padding: 2rem 0;
    }}/* ===================
   BACK TO TOP & PHONE BUTTON RESPONSIVE
=================== *//* ===================
   RÉALISATIONS SECTION RESPONSIVE
=================== */




@media (max-width: 479.98px) {
    
    .btn-warning {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .realisationsSwiper {
        padding: 1rem 0;
    }
    
    .swiper-pagination {
        bottom: -30px;
    }}


@media (min-width: 480px) and (max-width: 767.98px) {
    
    .btn-warning {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .realisationsSwiper {
        padding: 1.2rem 0;
    }
    
    .swiper-pagination {
        bottom: -35px;
    }}


@media (min-width: 768px) and (max-width: 1199.98px) {
    
    .btn-warning {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .realisationsSwiper {
        padding: 1.5rem 0;
    }}


@media (min-width: 1200px) {
    
    .btn-warning {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    
    .realisationsSwiper {
        padding: 2rem 0;
    }}/* Responsive Design */


@media (max-width: 767.98px) {/* Réalisations Mobile */
    
    .realisationsSwiper {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .realisations-content .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto !important;
        display: block;
    }}/* LIGHTBOX CSS *//* Lightbox Styling */

.lightbox-modal.show {
    display: block;
    opacity: 1;
}

.lightbox-image {
    max-height: 80vh;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.2rem;
}

.lightbox-prev {
    left: -55px;
}

.lightbox-next {
    right: -55px;
}

@media (max-width: 768px) {
    
    .lightbox-prev {
        left: -45px;
    }
    
    .lightbox-next {
        right: -45px;
    }}

.service-card-modern {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 220px; /* Réduit pour donner un format bien rectangulaire et paysager */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    background-color: #111E38;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(15, 30, 55, 0.35);
}/* Image de fond */


.service-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 1;
}

.service-card-modern:hover .service-bg-img {
    transform: scale(1.08);
}/* Contenu */



.service-content {
    position: relative;
    z-index: 3;
    padding: 2rem 1.8rem;
    color: #ffffff;
}

.service-icon-svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.service-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin-bottom: 0;
}/* Lien Découvrir avec flèche animée */


.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.service-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-arrow {
    transform: translateX(6px);
}/* Dégradé de base sur la carte au repos (carte de droite) */


.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        color-mix(in oklab, var(--accent) 25%, transparent) 0%, 
        color-mix(in oklab, var(--accent) 65%, #111E38 35%) 60%, 
        #111E38 100%
    );
    z-index: 2;
}/* Mosaïque de pavés de couleur (Masquée au repos) *//* Mosaïque en RECTANGLES horizontaux */



.service-hover-blocks {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    /* 2 colonnes asymétriques pour casser la grille et créer de longs rectangles */
    grid-template-columns: 1.4fr 1fr 1.2fr; 
    /* 3 rangées bien larges */
    grid-template-rows: 1fr 1fr 1.1fr; 
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}/* On garde 6 rectangles au lieu de 9 pour avoir un format bien étiré */


.service-hover-blocks span {
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

.service-hover-blocks span:nth-child(1) { background: rgba(49, 107, 214, 0.35); }
.service-hover-blocks span:nth-child(2) { background: rgba(130, 161, 226, 0.2); }
.service-hover-blocks span:nth-child(3) { background: rgba(167, 193, 255, 0.3); }
.service-hover-blocks span:nth-child(4) { background: rgba(58, 121, 245, 0.22); }
.service-hover-blocks span:nth-child(5) { background: rgba(29, 59, 118, 0.45); }
.service-hover-blocks span:nth-child(6) { background: rgba(27, 54, 111, 0.40); }/* Au survol : apparition des rectangles */


.service-card-modern:hover .service-hover-blocks {
    opacity: 1;
}

.choice-card {
    display: block;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fff;
    height: 100%;
}

.choice-card input[type="radio"] {
    display: none;
}

.choice-card:hover {
    border-color: #111E38;
    background-color: rgba(17, 30, 56, 0.01);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(17, 30, 56, 0.08);
}/* Style lorsque la carte est sélectionnée */


.choice-card:has(input[type="radio"]:checked) {
    border-color: #111E38;
    background-color: rgba(17, 30, 56, 0.05);
    box-shadow: 0 4px 12px rgba(17, 30, 56, 0.15);
}

/* Section "Votre projet en 3 étapes" : léger fond photo (au lieu d'un gris plat)
   pour plus de relief, cartes avec icône cerclée d'un anneau doré et numéro. */
.engagement-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(200, 137, 43, 0.12);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
}
.engagement-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
}

/* Pavage de petits carrés en tons de bleu proches, sur toute la surface de la section (effet patchwork comme les cartes services) */
.mosaic-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    padding: 4px;
    z-index: 1;
    pointer-events: none;
}
.mosaic-bg span { display: block; border-radius: 4px; }
.mosaic-bg span:nth-child(8n+1) { background: rgba(36, 64, 111, 0.9); }
.mosaic-bg span:nth-child(8n+2) { background: rgba(27, 50, 90, 0.9); }
.mosaic-bg span:nth-child(8n+3) { background: rgba(44, 74, 124, 0.85); }
.mosaic-bg span:nth-child(8n+4) { background: rgba(20, 35, 63, 0.95); }
.mosaic-bg span:nth-child(8n+5) { background: rgba(52, 85, 140, 0.8); }
.mosaic-bg span:nth-child(8n+6) { background: rgba(22, 41, 74, 0.9); }
.mosaic-bg span:nth-child(8n+7) { background: rgba(29, 53, 96, 0.88); }
.mosaic-bg span:nth-child(8n)   { background: rgba(17, 30, 56, 0.95); }
@media (max-width: 767.98px) {
    .mosaic-bg { grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, 1fr); }
}

/* Bandeau de consentement cookies (RGPD) */
.cookie-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2500;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    padding: 1.1rem 1.4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}
.cookie-consent-text {
    margin: 0;
    font-size: 0.9rem;
    flex: 1 1 280px;
}
.cookie-consent-text a { color: var(--gold); text-decoration: underline; }
.cookie-consent-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .cookie-consent-banner { padding: 1rem; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-actions .btn { flex: 1; }
}

/* Barre de progression de lecture (haut de page, doré) */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark, var(--gold)));
    z-index: 2000;
    transition: width 0.1s ease-out;
}

/* Zoom lent façon "Ken Burns" sur les bannières de page */
.page-banner {
    animation: pageBannerZoom 22s ease-in-out infinite alternate;
}
@keyframes pageBannerZoom {
    0% { background-size: 108% 108%; }
    100% { background-size: 122% 122%; }
}

/* Entrée animée du texte du hero vidéo (accueil) */
.hero-overlay > * {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-overlay h1 { animation-delay: 0.15s; }
.hero-overlay p { animation-delay: 0.35s; }
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .page-banner { animation: none; }
    .hero-overlay > * { animation: none; opacity: 1; transform: none; }
}

/* Galerie vidéo façon "reels/stories" (accueil) */
.reel-gallery-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.reel-card {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    aspect-ratio: 9/16;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(17, 30, 56, 0.18);
    background: #111E38;
}
.reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reel-mute-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(17, 30, 56, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    padding: 0;
}
.reel-mute-btn svg { width: 16px; height: 16px; }
@media (max-width: 575.98px) {
    .reel-card { width: 160px; }
}

.video-showcase {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    display: block;
    box-shadow: 0 10px 30px rgba(17, 30, 56, 0.15);
}
.video-showcase-img {
    width: 100%;
    aspect-ratio: 16/6.5;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.video-showcase:hover .video-showcase-img {
    transform: scale(1.04);
}
.video-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(17, 30, 56, 0.35), rgba(17, 30, 56, 0.55));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.video-play-btn {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.video-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}
.video-showcase:hover .video-play-btn {
    transform: scale(1.1);
}
.video-showcase-label {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}

.processus-bg {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #f2f0eb 100%);
    overflow: hidden;
}
.processus-bg::before,
.processus-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.processus-bg::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
    background: rgba(200, 162, 92, 0.14);
}
.processus-bg::after {
    width: 380px;
    height: 380px;
    bottom: -200px;
    left: -100px;
    background: rgba(17, 30, 56, 0.05);
}
.processus-bg > * {
    position: relative;
    z-index: 1;
}

.process-card{
    border-radius: var(--radius);
    border-top: 3px solid transparent;
    transition: 0.35s ease;
}

.process-card {
    cursor: pointer;
}
.process-card:hover{
    transform: translateY(-8px);
    border-top-color: var(--primary);
    box-shadow: var(--bs-box-shadow) !important;
}

.process-icon {
    background-color: rgba(17, 30, 56, 0.06);
}

.process-step-number {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.process-arrow{
    position: absolute;
    right: -22px;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(17, 30, 56, 0.15);
    color: var(--primary);
}

@media(max-width:991px){

    .process-arrow{
        display:none !important;
    }

    .process-card{
        padding:2rem 1.5rem !important;
    }}

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

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


    .no-hover-btn:hover, 
    .no-hover-btn:focus, 
    .no-hover-btn:active {
        background-color: transparent !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
        box-shadow: var(--bs-box-shadow-sm) !important;
    }


/* Style du bouton flottant WhatsApp */

    
    .whatsapp-float-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background-color: #25D366;
        color: #ffffff; /* Rend le SVG blanc */
        width: 60px;
        height: 60px;
        border-radius: 50px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        z-index: 9999;
        animation: float-bob 3s ease-in-out infinite;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }/* Effet au survol */

    
    .whatsapp-float-btn:hover {
        background-color: #20ba5a;
        color: #ffffff;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }/* Adaptation pour les mobiles */

    
    @media (max-width: 768px) {
        .whatsapp-float-btn {
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
        }
        .whatsapp-float-btn svg {
            width: 26px;
            height: 26px;
        }}/* Style du bouton flottant de devis */



.whatsapp-style-devis {
    position: fixed !important;
    bottom: 135px !important;
    right: 30px !important;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column !important; /* Force les éléments à se mettre les uns sous les autres */
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-style-devis:hover {
    transform: scale(1.05);
}/* Le rond contenant l'image de support */


.whatsapp-icon-container {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--gold);
    animation: float-bob 3s ease-in-out infinite;
    animation-delay: 0.4s;
}

/* Effet flottant léger (CSS pur) sur les boutons d'action fixes */
@keyframes float-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float-btn,
    .whatsapp-icon-container {
        animation: none;
    }
}

.whatsapp-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}/* La bulle de texte positionnée en dessous de l'icône */


.whatsapp-tooltip {
    background-color: #ffffff;
    color: #333333;
    padding: 5px 5px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 2px; /* Espace entre le rond et le texte */
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 65px; /* S'affiche juste sous le rond */
}/* Affichage de la bulle au survol */


.whatsapp-style-devis:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;

    
}/* ==========================================
   ADAPTATION MOBILE (Écrans < 768px)
   ========================================== */


@media (max-width: 768px) {
    .whatsapp-style-devis {
        bottom: 105px !important; /* Ajusté pour se placer au-dessus du bouton WhatsApp mobile */
        right: 20px !important;  /* Un peu plus près du bord sur mobile */
    }

    .whatsapp-icon-container {
        width: 50px !important;  /* Bouton légèrement plus petit sur mobile */
        height: 50px !important;
    }

    .whatsapp-tooltip {
        top: 55px !important;    /* Ajuste la position de la bulle pour le petit format */
        font-size: 0.7rem;
    }}

/* ==========================================
   ANIMATIONS PREMIUM (léger, CSS + JS natif)
   ========================================== */

/* --- Balayage lumineux au survol des boutons principaux --- */
.btn-main::after,
.btn-warning::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}
.btn-warning {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-main:hover::after,
.btn-warning:hover::after {
    left: 130%;
}

/* --- Boutons "magnétiques" : légère attraction vers le curseur (activé en JS via --mx/--my) --- */
.btn-magnetic {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate(var(--mx, 0), var(--my, 0));
}

/* --- Halo lumineux qui suit le curseur sur les cartes (effet "spotlight" premium) --- */
.spotlight-card {
    position: relative;
    overflow: hidden;
}
.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 50%), rgba(200, 162, 92, 0.16), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.spotlight-card:hover::before {
    opacity: 1;
}

/* --- Zoom doux et progressif sur les images de cartes au survol --- */
.img-zoom-container { overflow: hidden; }
.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .btn-main::after,
    .btn-warning::after,
    .btn-magnetic,
    .spotlight-card::before,
    .img-zoom-container img {
        transition: none !important;
        animation: none !important;
    }
    .btn-magnetic { transform: none !important; }
}