/* Theme: Primary */
/* Combined header-primary + footer-primary styles */
/* Modern & Professional Design */

:root {
    /* ===== PRIMARY THEME COLORS ===== */
    /* Provided palette: #011b3d, #1087c0, #025591, #f2c158, #cd333c, #aa3341 */

    --primary-primary: #011b3d;
    --primary-primary-dark: #00132b;
    --primary-primary-mid: #025591;
    --primary-primary-light: #1087c0;
    --primary-primary-soft: #e8f3fb;

    --primary-accent: #f2c158;
    --primary-accent-dark: #d9a93a;
    --primary-accent-light: #ffe08a;
    --primary-gold: #f2c158;
    --primary-gold-light: #ffe08a;
    --primary-gold-dark: #d9a93a;

    --primary-red: #cd333c;
    --primary-red-dark: #aa3341;
    --primary-red-light: #f06a72;

    --primary-bg: #f7fbff;
    --primary-bg-light: #e8f3fb;
    --primary-bg-dark: #d8e8f3;

    --primary-dark: #011b3d;
    --primary-dark-secondary: #025591;
    
    --primary-white: #FFFFFF;
    --primary-text: #025591;
    --primary-text-dark: #011b3d;
    --primary-text-muted: #5f7188;
    --primary-text-muted-light: #d6e4ef;
    --primary-text-muted-dark: #aebdcb;

    /* Footer specific colors */
    --primary-footer-bg: #011b3d;
    --primary-footer-bg-dark: #00132b;
    --primary-footer-bg-light: #1087c0;

    /* Opacity variations */
    --primary-black-10: rgba(0, 0, 0, 0.1);
    --primary-black-15: rgba(0, 0, 0, 0.15);
    --primary-white-08: rgba(255, 255, 255, 0.08);
    --primary-white-10: rgba(255, 255, 255, 0.1);
    --primary-white-15: rgba(255, 255, 255, 0.15);
    --primary-white-25: rgba(255, 255, 255, 0.25);
    --primary-gold-10: rgba(242, 193, 88, 0.1);
    --primary-gold-15: rgba(242, 193, 88, 0.15);
    --primary-gold-30: rgba(242, 193, 88, 0.3);
    --primary-gold-40: rgba(242, 193, 88, 0.4);
    --primary-gold-50: rgba(242, 193, 88, 0.5);
    --primary-primary-03: rgba(1, 27, 61, 0.3);
    --primary-primary-06: rgba(1, 27, 61, 0.06);
    --primary-primary-15: rgba(1, 27, 61, 0.15);
    --primary-primary-35: rgba(1, 27, 61, 0.35);

    /* Accent opacity variations */
    --primary-accent-08: rgba(242, 193, 88, 0.08);
    --primary-accent-10: rgba(242, 193, 88, 0.10);
    --primary-accent-12: rgba(242, 193, 88, 0.12);
    --primary-accent-15: rgba(242, 193, 88, 0.15);

    /* Red opacity variations */
    --primary-red-08: rgba(205, 51, 60, 0.08);
    --primary-red-10: rgba(205, 51, 60, 0.10);
    --primary-red-15: rgba(205, 51, 60, 0.15);
    --primary-red-30: rgba(205, 51, 60, 0.30);
    --primary-red-40: rgba(205, 51, 60, 0.40);
    --primary-red-dark-20: rgba(170, 51, 65, 0.20);

    /* Floating contact bar colors */
    --primary-floating-bg: #011b3d;
    --primary-floating-color: #d6e4ef;
    --primary-floating-accent: #f2c158;
    --primary-floating-accent-hover: #d9a93a;

    /* Note: Breakpoint variables are defined in main.css */
}
body{
    background: var(--primary-white);
}
a{
    color: var(--primary-accent);
}


/* ===== HEADER STYLES ===== */

/* Header info bar */
.header-info {
    background: linear-gradient(135deg, var(--primary-primary) 0%, var(--primary-primary-light) 100%);
    color: var(--primary-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

/* Header info bar - smooth appearance */
.header-info .coords {
    opacity: 0.95;
}

/* Header nav wrapper */
.header-nav-wrapper {
    width: 100%;
    background: var(--primary-accent);
}

/* Header nav - main bar */
.header-nav {
    background: var(--primary-white);
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky header - fixed position when scrolling */
.header-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-white);
    box-shadow: 0 4px 20px var(--primary-black-10);
    padding: 8px 0;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky header animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Adjust logo size when sticky */
.header-nav.sticky .logo img {
    max-width: 140px;
}

/* Adjust header phone when sticky */
.header-nav.sticky .header-phone {
    padding: 6px 12px;
}

.header-nav.sticky .header-phone i {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* Sticky header - modern glass effect */
.header-primary .header-nav {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky header - fixed position when scrolling */
.header-primary .header-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-white);
    box-shadow: 0 4px 20px var(--primary-black-10);
    padding: 8px 0;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky header animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Adjust logo size when sticky */
.header-primary .header-nav.sticky .logo img {
    max-width: 140px;
}

/* Adjust header phone when sticky */
.header-primary .header-nav.sticky .header-phone {
    padding: 6px 12px;
}

.header-primary .header-nav.sticky .header-phone i {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* Spacer to prevent content jump when header becomes sticky */
.header-nav-spacer {
    display: none;
}

/* Menu centered */
.menu .top-menu {
    display: flex;
    justify-content: center;
}

/* Header info icons */
.header-info i,
.coords i {
    background: var(--primary-white-15);
    border-radius: 50%;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    min-width: 32px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-info i:hover,
.coords i:hover,
.coords a:hover i {
    background: var(--primary-gold);
    color: var(--primary-white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px var(--primary-gold-40);
}

/* CTA Demande de devis dans la barre header-info (après réseaux sociaux) */
.btn-devis-top {
    background: var(--primary-gold);
    color: var(--primary-white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px var(--primary-gold-30);
    line-height: 1;
}

.btn-devis-top i {
    font-size: 0.75rem;
}

.btn-devis-top:hover {
    background: var(--primary-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-red-30);
}

/* Contact info (coords) */
.coords {
    font-size: 13px;
    line-height: 1.5;
}

.coords .phone a, .coords .email a {
    color: var(--primary-white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}


.coords .phone a:hover i,
.coords .address:hover i {
    background: var(--primary-gold);
    color: var(--primary-white);
}

/* Logo styles - modern hover effect */
.logo img {
    max-width: 150px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px var(--primary-black-10));
}

.logo img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 8px var(--primary-black-15));
}

/* Main header navigation */
.header-primary {
    background: var(--primary-white);
    position: relative;
    z-index: 100;
}

/* ===== MAIN NAVIGATION - Primary (animated + active state) ===== */

/* Main navigation container */
.header-primary .top-menu .main-navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.header-primary .top-menu .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-primary .top-menu .main-navigation li {
    position: relative;
}

/* Top level links - clean modern pill style */
.header-primary .top-menu .main-navigation a {
    color: var(--primary-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 18px;
    border: 1px solid var(--primary-red-dark);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: block;
    text-transform: uppercase;
    background-color: transparent;
    background-image: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    background-size: 0 100%;
    background-position: left center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px var(--primary-red-08);
    transition: 
        color 0.3s ease,
        background-size 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
}

/* Hover + Current menu: gradient slide from left to right */
.header-primary .top-menu .main-navigation a:hover,
.header-primary .top-menu .main-navigation .current-menu-item > a,
.header-primary .top-menu .main-navigation .current-menu-ancestor > a {
    color: var(--primary-red);
    background-size: 100% 100%;
    box-shadow: 0 10px 24px var(--primary-red-30), inset 0 0 0 1px var(--primary-gold-30);
}

/* Stronger active state for current */
.header-primary .top-menu .main-navigation .current-menu-item > a,
.header-primary .top-menu .main-navigation .current-menu-ancestor > a {
    font-weight: 700;
}

/* Sliding accent underline */
.header-primary .top-menu .main-navigation a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-accent), var(--primary-white));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    pointer-events: none;
}

.header-primary .top-menu .main-navigation a:hover::after,
.header-primary .top-menu .main-navigation .current-menu-item > a::after,
.header-primary .top-menu .main-navigation .current-menu-ancestor > a::after {
    opacity: 0.9;
    transform: scaleX(1);
}

/* ===== DROPDOWN / SUBMENU - Smooth animated ===== */
.header-primary .top-menu .main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--primary-white);
    border: 1px solid var(--primary-gold-30);
    border-radius: 10px;
    box-shadow: 0 12px 32px var(--primary-gold-30);
    padding: 6px 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 
        opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.22s;
    display: flex;
    flex-direction: column;
}

.header-primary .top-menu .main-navigation .menu-item-has-children:hover > .sub-menu,
.header-primary .top-menu .main-navigation .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-primary .top-menu .main-navigation .sub-menu a {
    display: block;
    padding: 9px 18px;
    font-size: 14px;
    color: var(--primary-text-dark);
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 5px;
    white-space: nowrap;
}

.header-primary .top-menu .main-navigation .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-gold);
    transition: height 0.2s ease;
}

.header-primary .top-menu .main-navigation .sub-menu a:hover {
    background: var(--primary-gold-10);
    color: var(--primary-primary);
    padding-left: 24px;
    border-radius: 4px;
}

.header-primary .top-menu .main-navigation .sub-menu a:hover::before {
    height: 55%;
}

/* Active item in submenu */
.header-primary .top-menu .main-navigation .sub-menu .current-menu-item > a,
.header-primary .top-menu .main-navigation .sub-menu .current-menu-ancestor > a {
    color: var(--primary-primary);
    font-weight: 600;
    background: var(--primary-gold-15);
    border-radius: 4px;
}

.header-primary .top-menu .main-navigation .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-accent);
    transition: height 0.2s ease;
}

.header-primary .top-menu .main-navigation .sub-menu a:hover {
    background: var(--primary-accent-08);
    color: var(--primary-accent);
    padding-left: 24px;
}

.header-primary .top-menu .main-navigation .sub-menu a:hover::before {
    height: 55%;
}

/* Active item in submenu */
.header-primary .top-menu .main-navigation .sub-menu .current-menu-item > a,
.header-primary .top-menu .main-navigation .sub-menu .current-menu-ancestor > a {
    color: var(--primary-accent);
    font-weight: 600;
    background: var(--primary-accent-10);
}

/* CTA Button - modern gradient and hover */
.header-primary .top-menu .main-navigation .cta.cta-devis a {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 25px;
    color: var(--primary-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px var(--primary-gold-30);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-primary .top-menu .main-navigation .cta.cta-devis a:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-red-30);
}
.header-primary .top-menu .main-navigation .cta.cta-devis a::before,
.header-primary .top-menu .main-navigation .cta.cta-devis a::after {
    display: none;
}

/* Offcanvas toggle - modern icon */
.header-primary .offcanvas-toggle {
    background: var(--primary-bg-light);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-primary .offcanvas-toggle:hover {
    background: var(--primary-gold);
}

.header-primary .offcanvas-toggle i{
    color: var(--primary-primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.header-primary .offcanvas-toggle:hover i {
    color: var(--primary-white);
}

.header-primary .offcanvas {
    background: linear-gradient(180deg, var(--primary-primary) 0%, var(--primary-primary-light) 100%);
    box-shadow: -2px 0 24px var(--primary-primary-35);
}

.header-primary .offcanvas-content {
    color: var(--primary-white);
}

.header-primary .offcanvas-close {
    color: var(--primary-white);
}

.header-primary .offcanvas-close:hover {
    background: var(--primary-white-15);
    color: var(--primary-accent);
}

.header-primary .offcanvas-nav a {
    color: var(--primary-white);
    border-bottom-color: var(--primary-white-10);
    padding: 13px 0;
}

.header-primary .offcanvas-nav .current-menu-item > a,
.header-primary .offcanvas-nav .current_page_item > a,
.header-primary .offcanvas-nav a:hover {
    color: var(--primary-accent);
    padding-left: 8px;
    background: linear-gradient(90deg, var(--primary-white-10), transparent);
    border-radius: 8px;
}

.header-primary .offcanvas-nav ul ul a {
    color: var(--primary-text-muted-light);
    padding-left: 18px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.header-primary .offcanvas-nav ul ul a:hover {
    color: var(--primary-white);
    background: var(--primary-white-08);
    border-radius: 6px;
    padding-left: 22px;
}

.header-primary .offcanvas-nav ul ul a {
    border-left: 2px solid transparent;
}

.header-primary .offcanvas-nav ul ul a:hover {
    border-left-color: var(--primary-accent);
}

.header-primary .offcanvas-contact p,
.header-primary .offcanvas-social a,
.header-primary .offcanvas-contact .coords a span {
    color: var(--primary-text-muted-light);
}

.header-primary .offcanvas-contact .coords a {
    color: var(--primary-white);
}

.header-primary .offcanvas-contact .coords a:hover {
    color: var(--primary-accent);
}

.header-primary .offcanvas-contact .coords i,
.header-primary .offcanvas-social a {
    background: var(--primary-white-10);
    color: var(--primary-accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-primary .offcanvas-contact .coords a:hover i,
.header-primary .offcanvas-social a:hover {
    background: var(--primary-accent);
    color: var(--primary-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-gold-40);
}

/* Header phone CTA - modern styling */
.header-primary .header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--primary-gold-10);
    border-radius: 30px;
    border: 1px solid var(--primary-gold-30);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 184px;
    justify-content: flex-start;
}

.header-primary .header-phone:hover {
    background: var(--primary-gold-15);
    border-color: var(--primary-gold-50);
    transform: translateY(-2px);
}

.header-primary .header-phone i {
    background: var(--primary-gold);
    color: var(--primary-primary);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.header-primary .header-phone:hover i {
    background: var(--primary-primary);
    color: var(--primary-white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--primary-primary-03);
}

.header-primary .header-phone span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-primary .header-phone span strong {
    color: var(--primary-primary);
    font-size: 15px;
    font-weight: 700;
}

.header-primary .header-phone span em {
    color: var(--primary-gold-dark);
    font-size: 11px;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile menu button */
.navbar-toggler {
    border-color: var(--primary-primary);
    padding: 8px 12px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23025591' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== FOOTER STYLES ===== */

/* Footer wrap */
.footer-wrap {   
    position: relative;
}

.footer-primary{   
    padding-top: 70px;
    position: relative;
    background: linear-gradient(180deg, var(--primary-primary) 0%, var(--primary-primary-light) 100%);
}

/* Modern footer top accent */
.footer-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light), var(--primary-gold));
}

/* Decorative wave shape */
.footer-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M0,50 C360,100 720,0 1080,50 C1260,75 1380,50 1440,50 L1440,0 L0,0 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    transform: translateY(-99%);
}

.footer-primary .footer .container {
    position: relative;
    z-index: 10;
}

/* Footer column titles - modern style */
.title-foot {
    color: var(--primary-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.title-foot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light));
    border-radius: 2px;
}

/* Logo in footer */
.logo-foot img {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-foot img:hover {
    opacity: 1;
    transform: translateX(5px);
}

.logo-foot p {
    color: var(--primary-text-muted-light);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
    opacity: 0.85;
}

/* Footer coordinates - modern card style */
.footer-coords i {
    background: var(--primary-white-10);
    border-radius: 10px;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    min-width: 38px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-coords a {
    color: var(--primary-text-muted-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-coords a:hover {
    color: var(--primary-white);
}

.footer-coords a:hover i {
    background: var(--primary-gold);
    color: var(--primary-footer-bg);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px var(--primary-gold-40);
}

.footer-coords .address,
.footer-coords .phone,
.footer-coords .email,
.footer-coords .hours {
    margin-bottom: 12px;
}

.footer-coords .address span,
.footer-coords .phone span,
.footer-coords .email span,
.footer-coords .hours span {
    color: var(--primary-text-muted-light);
    font-size: 13px;
    line-height: 1.5;
}

.footer-coords .hours ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.footer-coords .hours li {
    color: var(--primary-text-muted-light);
    font-size: 13px;
    line-height: 1.6;
}

/* Footer menu - modern hover effects */
.menu-foot ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-foot ul li {
    margin-bottom: 10px;
}

.menu-foot ul li a {
    color: var(--primary-text-muted-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
    padding-left: 18px!important;
    font-size: 13px;
}

.menu-foot ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-primary-light);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.menu-foot ul li a:hover {
    color: var(--primary-white);
    padding-left: 18px;
    background: linear-gradient(90deg, var(--primary-white-10), transparent);
    border-radius: 4px;
}

.menu-foot ul li a:hover::before {
    transform: scaleY(1);
}

.menu-foot ul li.current_page_item a,
.menu-foot ul li a:active {
    color: var(--primary-white);
    padding-left: 18px!important;
    background: linear-gradient(90deg, var(--primary-white-10), transparent);
    border-radius: 4px;
}

.menu-foot ul li.current_page_item a::before,
.menu-foot ul li a:active::before {
    transform: scaleY(1);
}

/* Footer copyright - modern style */
.footer-copyright {
    padding-top: 25px;
    padding-bottom: 20px;
    position: relative;
    margin-top: 20px;
}

.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-white-15), transparent);
}

.footer-copyright .row {
    padding-top: 25px;
}

.copyright-text ul {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.copyright-text ul li {
    position: relative;
    font-size: 13px;
    color: var(--primary-text-muted-dark);
}

.copyright-text ul li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -10px;
    color: var(--primary-white-25);
    font-size: 8px;
}

.copyright-text ul li a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.copyright-text ul li a:hover {
    color: var(--primary-white);
}

.copyright-figure {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.copyright-figure img {
    height: auto;
    max-width: 70px;
    width: 100%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.copyright-figure img:hover {
    opacity: 1;
}

/* Footer social icons - modern circular style */
.footer-primary .footer .cta-social {
    background: var(--primary-white-10);
    border-radius: 10px;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    min-width: 38px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-primary .footer .cta-social:hover {
    background: var(--primary-gold);
    color: var(--primary-footer-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--primary-gold-40);
}

.footer-primary .footer .cta-social i {
    color: inherit;
}

/* Instagram slider in footer */
.footer-primary .instagram-slider {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--primary-white-08);
    margin-bottom: 30px;
}

.footer-primary .instagram-slider .title-foot {
    text-align: center;
    margin-bottom: 25px;
}

.footer-primary .instagram-slider .title-foot::after {
    left: 50%;
    transform: translateX(-50%);
}

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

@media (max-width: 1199px) {
    .header-primary .top-menu .main-navigation a {
        font-size: 14px;
    }
    .header-primary .top-menu .main-navigation {
        column-gap: 12px;
    }
}

/* Responsive header-primary à partir de 1024px */
@media (max-width: 1024px) {
    /* Header coords @1024px : cacher adresse + texte, garder seulement les icônes (offcanvas non affecté) */
    .header-primary .header-info .coords .address,
    .header-primary .coords .address {
        display: none !important;
    }

    /* Cacher le texte des phones/emails dans le header (garder icônes) */
    .header-primary .header-info .coords .phone a span,
    .header-primary .header-info .coords .email a span,
    .header-primary .coords .phone a span,
    .header-primary .coords .email a span {
        display: none !important;
    }

    .btn-devis-top span {
        display: none;
    }

    .btn-devis-top {
        padding: 6px 10px;
    }
}

@media (max-width: 991px) {
    .footer-primary .footer {
        padding-top: 50px;
    }
    
    .title-foot {
        margin-bottom: 16px;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    /* Header responsive */
    .header-nav .row {
        flex-wrap: nowrap;
    }
           
    .header-nav .cta-col {
        flex: 1 1 auto;
        justify-content: flex-end;
    }
    
    /* Header phone - hide text on tablet, show only icon */
    .header-primary .header-phone {
        padding: 8px;
        min-width: auto;
    }
    
    .header-primary .header-phone span {
        display: none !important;
    }
    
    .header-primary .header-phone i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    /* Keep icon visible on tablet */
    .header-primary .header-phone {
        display: flex !important;
    }
    

    
    /* Footer columns on tablet */
    .footer-primary .row > div {
        margin-bottom: 30px;
    }
    
    .footer-primary .row > div:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .header-info {
        text-align: center;
        padding: 6px 0;
    }
    
    .header-info .coords,
    .header-info .social {
        justify-content: center;
    }
    
    .header-info .coords {
        gap: 12px !important;
    }
    
    .coords {
        text-align: center;
        margin-bottom: 8px;
    }
    
    /* Mobile header */
    .header-nav {
        padding: 10px 0;
    }
    
    /* Offcanvas styling */
    .offcanvas {
        width: 280px;
    }
    
    /* Footer mobile */
    .footer-primary {
        padding-top: 50px;
    }
    
    .copyright-figure {
        justify-content: center;
        margin-top: 20px;
    }
    
    .copyright-text ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .copyright-text ul li::after {
        display: none;
    }
    
    .title-foot {
        font-size: 14px;
    }
    
    .footer-coords i {
        height: 34px;
        width: 34px;
        min-width: 34px;
        font-size: 14px;
    }
    
    .footer-primary .footer .cta-social {
        height: 34px;
        width: 34px;
        min-width: 34px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .header-info {
        font-size: 0.7rem;
    }
    
    .header-info i {
        height: 24px;
        width: 24px;
        min-width: 24px;
        font-size: 10px;
    }
    
    
    .header-primary .offcanvas-toggle {
        width: 34px;
        height: 34px;
    }
    
    .header-primary .offcanvas-toggle i {
        font-size: 16px;
    }
	
	.header-primary .header-phone{
		max-width:inherit;
	}
    
    .header-primary .header-phone i {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    /* Footer adjustments */
    .footer-primary .row > div {
        margin-bottom: 20px;
    }
    
    .title-foot {
        font-size: 13px;
    }
    
    .menu-foot ul li a {
        font-size: 12px;
    }
    
    .footer-coords .address span,
    .footer-coords .phone span,
    .footer-coords .email span,
    .footer-coords .hours span {
        font-size: 11px;
    }
    
    .footer-coords i {
        height: 30px;
        width: 30px;
        min-width: 30px;
        font-size: 12px;
    }
    
    .footer-primary .footer .cta-social {
        height: 30px;
        width: 30px;
        min-width: 30px;
        font-size: 12px;
    }
    
    .copyright-text {
        text-align: center;
    }
    
    .copyright-text small {
        font-size: 10px;
    }
    
    .copyright-figure {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-primary::after {
        height: 30px;
    }
}

@media (max-width: 480px) {
    
    .header-info .container{
        display:none;
    }
    
    .header-primary .offcanvas-toggle {
        width: 36px;
        height: 36px;
    }
    
    .header-primary .offcanvas-toggle i {
        font-size: 18px;
    }
    
    /* Footer adjustments */
    .footer-primary .row > div {
        margin-bottom: 25px;
    }
    
    .menu-foot ul li a {
        font-size: 12px;
    }
    
    .footer-coords .address span,
    .footer-coords .phone span,
    .footer-coords .email span,
    .footer-coords .hours span {
        font-size: 12px;
    }
    
    .copyright-text {
        text-align: center;
    }
    
    .copyright-text small {
        font-size: 11px;
    }
    
    .footer-primary::after {
        height: 40px;
    }
}

/* === FLOATING CONTACT BAR - Override sobre pour le template Primary === */
.header-primary .floating-contact-bar {
    --floating-bar-bg: var(--primary-floating-bg);
    --floating-bar-color: var(--primary-floating-color);
    --floating-bar-accent: var(--primary-floating-accent);
    --floating-bar-accent-hover: var(--primary-floating-accent-hover);
}
