:root {

    --bg-primary: #f6fff5;
    --bg-secondary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.7);

    --text-primary: #0f172a;
    --text-secondary: #27303b;
    --text-muted: #64748b;

    --accent-primary: #f5d208;
    /* Or */
    --accent-hover: #f5be0b;
    --accent-secondary: #23D16A;
    --accent-secondary-hover: #1FAA4F;
    /* Émeraude */

    --border-color: #e2e8f0;
    --glass-border: rgba(255, 255, 255, 0.4);

    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --glow-color: rgba(0, 166, 128, 0.15);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    font-size: 14.5px;
    overflow-x: hidden;
}

section[id],
div[id] {
    scroll-margin-top: 110px;
}

body {

    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);

}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.5px;

}

a,
a:hover,
a:focus {

    text-decoration: none !important;
    color: inherit;
    transition: color var(--transition-fast);

}

ul {

    list-style: none;

}

/* Utilitaires */
.container-width {

    width: 90%;
    max-width: 1300px;
    margin: 0 auto;

}

@keyframes shine {

    to {
        background-position: 200% center;
    }

}

/* --- Glassmorphisme Avancé & Lueur --- */
.glass-glow {

    background: linear-gradient(135deg, var(--bg-glass) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;

}

.glass-glow::before {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), transparent 40%, transparent 60%, var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;

}

.glass-glow:hover {

    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--glow-color);

}

.glass-glow:hover::before {

    opacity: 1;

}

/* --- Boutons --- */
.btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.btn::after {

    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: -1;

}

.btn-green-primary {

    background-color: var(--accent-secondary);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(38, 210, 102, 0.4);

}

.btn-green-primary:hover {

    background-color: var(--accent-secondary-hover);
    box-shadow: 0 15px 35px -5px rgba(38, 210, 102, 0.6);

}

.btn-green-secondary {

    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);

}

.btn-green-secondary:hover {

    background-color: var(--bg-secondary);
    border-color: var(--text-muted);

}

/* --- Animations au Défilement (Intersection Observer) --- */
[data-animate] {

    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;

}

[data-animate="fade-up"] {

    transform: translateY(50px);

}

[data-animate="slide-right"] {

    transform: translateX(-50px) rotate(-1deg);

}

[data-animate="slide-left"] {

    transform: translateX(50px) rotate(1deg);

}

[data-animate="zoom-in"] {

    transform: scale(0.95);

}

/* Classe de déclenchement d'animation appliquée par JS */
[data-animate].is-visible {

    opacity: 1;
    transform: translate(0) scale(1) rotate(0);

}

/* --- Barre de Navigation --- */
.navbar-wrapper {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 1.5rem 0;

}

.navbar-wrapper.scrolled {

    padding: 0.5rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);

}

.navbar-container {

    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 1.5rem;

}

.logo-link {

    display: flex;
    align-items: center;

}

.logo-img {

    height: 62px;
    width: auto;
    object-fit: contain;

}

.logo-divider {

    width: 2px;
    height: 38px;
    background-color: var(--text-primary);
    margin: 0 0.5rem;
    opacity: 0.8;

}

.logo-text-group {

    display: flex;
    flex-direction: column;
    justify-content: center;

}

.logo-title {

    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -0.5px;

}

.kafat-text {

    color: var(--accent-secondary);


}

.plus-text {

    color: var(--accent-hover);

}

.logo-subtitle {

    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;

}

.nav-menu {

    display: flex;
    align-items: center;

}

.nav-list {

    display: flex;
    gap: 1.3rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;

}

.nav-item {

    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.96em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;

}

.nav-item:hover,
.nav-item.active {

    color: var(--text-primary);

}

.nav-item::after {

    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-normal);

}

.nav-item-cart-dot::before {

    content: '';
    position: absolute;
    top: 2px;
    right: -10px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.8);
    animation: pulse-red 2s infinite;

}

@keyframes pulse-red {

    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }

}

.nav-item:hover::after,
.nav-item.active::after {

    width: 100%;

}

.nav-actions {

    display: flex;
    align-items: center;
    gap: 1.2rem;

}

.header-urgency-phone {

    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    margin-right: 0.2rem;
    white-space: nowrap;
    order: 1;

}

.header-urgency-phone .phone-icon-pulse {

    color: var(--accent-secondary);
    font-size: 1.25rem;
    animation: pulse 2s infinite;

}

.header-urgency-phone .phone-text-group {

    display: flex;
    flex-direction: column;
    line-height: 1.1;

}

.header-urgency-phone .phone-tag {

    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;

}

.header-urgency-phone .phone-number {

    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);

}

.cta-nav-btn {

    background-color: var(--accent-secondary);
    color: white;
    padding: 0.55rem 1.3rem;
    border-radius: 2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(38, 210, 102, 0.4);
    white-space: nowrap;
    order: 3;

}

.cta-nav-btn:hover {

    background-color: var(--accent-secondary-hover);
    color: white;
    box-shadow: 0 6px 20px rgba(38, 210, 102, 0.6);

}

.mobile-menu-toggle {

    display: none;

}



@keyframes pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(226, 184, 8, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(226, 184, 8, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(226, 184, 8, 0);
    }

}

/* --- Formatage de Section --- */
.section-header {

    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;

}

.section-title {

    font-size: 3rem;
    margin-bottom: 1rem;

}

.section-divider {

    height: 4px;
    width: 80px;
    background-color: var(--accent-primary);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;

}

.section-subtitle {

    font-size: 1.15rem;

}


/* --- Section Onglets des Services & Filtres Boutique --- */
.services-section {

    padding: 3rem 0 6rem 0;

}

.services-tabs-wrapper,
.boutique-filters-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0.5rem 0 2.5rem 0;
    text-align: center;
}

.services-tabs-container,
.boutique-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
    padding: 0.4rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tab-btn,
.filter-btn {
    padding: 0.68rem 1.45rem;
    background: transparent;
    border: none !important;
    outline: none;
    border-radius: 9999px;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    line-height: 1.25;
}

.tab-btn i,
.filter-btn i {
    font-size: 1.05rem;
    transition: transform var(--transition-fast);
}

.tab-btn:hover,
.filter-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.tab-btn.active,
.filter-btn.active {
    background-color: var(--accent-primary);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
    border: none !important;
}

.tab-content-wrapper {

    position: relative;

}

.tab-pane {

    display: none;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;

}

@keyframes fadeIn {

    to {
        opacity: 1;
    }

}

.tab-pane.active {

    display: block;

}

.services-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;

}

.service-card {

    padding: 3rem 2rem;
    border-radius: var(--radius-xl);

}

.service-icon {

    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);

}

.service-card:hover .service-icon {

    transform: scale(1.1) rotate(5deg);

}

.service-card h3 {

    font-size: 1.5rem;
    margin-bottom: 1rem;

}

.service-card p {

    color: var(--text-secondary);
    font-size: 1rem;

}

/* --- Service card enrichi --- */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-prestations {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.2rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.service-prestations li {
    font-size: 0.87rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-prestations li i {
    color: var(--accent-secondary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.service-devis-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding: 0.55rem 1.1rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    align-self: flex-start;
}

.service-devis-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245, 210, 8, 0.4);
    text-decoration: none;
    color: var(--text-primary);
}

/* --- Domain intro block --- */
.domain-intro {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(245, 210, 8, 0.06), rgba(35, 209, 106, 0.04));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
}

.domain-intro__icon {
    font-size: 3rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.2rem;
}

.domain-intro__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.domain-intro__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 640px) {
    .domain-intro {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }

    .domain-intro__icon {
        font-size: 2.2rem;
    }

    .domain-intro__title {
        font-size: 1.3rem;
    }
}

/* --- Section Boutique --- */
.boutique-section {

    padding: 3rem 0 6rem 0;

}

.products-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;

}

.product-card {

    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;

}

.product-img-wrapper {

    position: relative;
    height: 250px;
    background-color: white;
    /* Contraste pour les produits */
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;

}

.product-img-wrapper img {

    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);

}

.product-card:hover .product-img-wrapper img {

    transform: scale(1.1);

}

.product-badge {

    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--accent-secondary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;

}

.product-details {

    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;

}

.product-name {

    font-size: 1.25rem;
    margin-bottom: 0.75rem;

}

.product-desc {

    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-grow: 1;

}

.product-footer {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);

}

.product-price {

    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--accent-secondary);

}

.buy-whatsapp-btn {

    background-color: var(--accent-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background-color var(--transition-fast);

}

.buy-whatsapp-btn:hover {

    background-color: var(--accent-secondary-hover);

}

/* Style du sélecteur de quantité sur la carte produit */
.qty-selector-container {

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 0.8rem;
    width: fit-content;
    box-sizing: border-box;

}

.qty-selector-container button {

    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color var(--transition-fast);
    padding: 0;

}

.qty-selector-container button:hover {

    background-color: rgba(255, 255, 255, 0.25);

}

.qty-selector-container .qty-val {

    min-width: 16px;
    text-align: center;
    font-size: 0.85rem;
    user-select: none;

}

/* Animations pour le panier */
@keyframes popIn {
    0% {
        transform: scale(0.92);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes badgePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes qtyPop {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

.qty-selector-container {
    animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.buy-whatsapp-btn {
    animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.badge-pop {
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.qty-pop {
    animation: qtyPop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- État Panier Vide --- */
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.empty-cart-state i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1.25rem;
}

.empty-cart-state p {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.empty-cart-state span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 220px;
    line-height: 1.4;
}

/* --- Bouton Vider le Panier --- */
.clear-cart-btn {
    background-color: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    width: 100%;
}

.clear-cart-btn:hover {
    background-color: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.25);
    transform: translateY(-1px);
}

/* --- Modal de Confirmation de Vidange --- */
.confirm-clear-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10001;
}

.confirm-clear-modal.active {
    display: flex !important;
}

.cart-confirm-content {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    width: 380px;
    max-width: calc(100% - 2rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    text-align: center;
    animation: popIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 1px solid var(--border-color);
}

.cart-confirm-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cart-confirm-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.45;
}

.cart-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-btn-yes {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.confirm-btn-yes:hover {
    opacity: 0.9;
}

.confirm-btn-no {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.confirm-btn-no:hover {
    background-color: var(--border-color);
}

/* --- Modal de Confirmation de Vidange --- */
.confirm-clear-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10001;
}

.confirm-clear-modal.active {
    display: flex !important;
}

.cart-confirm-content {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    width: 380px;
    max-width: calc(100% - 2rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    text-align: center;
    animation: popIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 1px solid var(--border-color);
}

.cart-confirm-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cart-confirm-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.45;
}

.cart-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-btn-yes {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.confirm-btn-yes:hover {
    opacity: 0.9;
}

.confirm-btn-no {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.confirm-btn-no:hover {
    background-color: var(--border-color);
}

/* --- Modal de Confirmation de Vidange --- */
.confirm-clear-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10001;
}

.confirm-clear-modal.active {
    display: flex !important;
}

.cart-confirm-content {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    width: 380px;
    max-width: calc(100% - 2rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    text-align: center;
    animation: popIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 1px solid var(--border-color);
}

.cart-confirm-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cart-confirm-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.45;
}

.cart-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-btn-yes {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.confirm-btn-yes:hover {
    opacity: 0.9;
}

.confirm-btn-no {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.confirm-btn-no:hover {
    background-color: var(--border-color);
}

/* --- Toast de notification du Panier --- */
#cart-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 320px;
    width: calc(100% - 4rem);
}

.cart-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    gap: 1rem;
    animation: toastFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cart-toast-fadeout {
    animation: toastFadeOut 0.3s ease-in forwards !important;
}

.cart-toast-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-toast-icon {
    font-size: 1.35rem;
    color: var(--accent-secondary);
}

.cart-toast-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cart-toast-text strong {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 700;
}

.cart-toast-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.cart-toast-action {
    background-color: var(--accent-secondary);
    color: white;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.cart-toast-action:hover {
    background-color: var(--accent-secondary-hover);
}

@keyframes toastFadeIn {
    0% {
        transform: translateY(1.5rem) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(0.5rem) scale(0.95);
        opacity: 0;
    }
}

@media (max-width: 576px) {
    #cart-toast-container {
        bottom: 1.5rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        width: auto;
    }
}

/* --- Section Dépannage --- */
.solutions-section {

    padding: 2.5rem 0;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary), transparent);

}

.solutions-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;

}

.solution-card {

    display: flex;
    border-radius: var(--radius-xl);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}

.solution-card:hover {

    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(38, 210, 102, 0.15);
    border-color: var(--accent-secondary);

}

.solution-img {

    width: 40%;
    overflow: hidden;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);

}

.solution-img img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);

}

.solution-card:hover .solution-img img {

    transform: scale(1.15);

}

.solution-content {

    width: 60%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.solution-content h3 {

    font-size: 1.35rem;
    margin-bottom: 0.75rem;

}

.solution-content p {

    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;

}

.solution-btn {

    align-self: flex-start;
    background-color: rgba(38, 210, 102, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(38, 210, 102, 0.3);
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

}

.solution-btn:hover {

    background-color: var(--accent-secondary);
    color: white;
    transform: scale(1.06);
    box-shadow: 0 4px 15px rgba(38, 210, 102, 0.3);

}

/* --- SECTION RÉALISATIONS & ÉTUDES DE CAS --- */
.realisations-section {
    padding: 1rem 0 5rem 0;
}



/* Barre de filtres par catégorie */
.realisations-filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem 0 3.5rem 0;
    text-align: center;
}

.realisations-filter-bar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 0.4rem 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
}

.realisations-filter-bar .filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.68rem 1.45rem;
    border-radius: 9999px;
    border: none !important;
    background: transparent;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.realisations-filter-bar .filter-btn i {
    font-size: 1.05rem;
    transition: transform var(--transition-fast);
}

.realisations-filter-bar .filter-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

.realisations-filter-bar .filter-btn.active {
    background: #f5c518;
    color: #0f172a;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
}

/* Grille des Cartes Projets (3 par ligne) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), opacity 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(35, 209, 106, 0.4);
}

.project-img-wrapper {
    position: relative;
    height: 230px;
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.06);
}

/* Gestion Avant / Après dans la carte */
.ba-wrapper {
    position: relative;
}

.ba-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease, transform var(--transition-slow);
    z-index: 1;
}

.ba-img.active {
    opacity: 1;
    z-index: 2;
}

.ba-controls {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    display: flex;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ba-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ba-flag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    background: rgba(37, 99, 235, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    letter-spacing: 0.4px;
}

/* Badges Catégories */
.project-card .project-badge {
    display: none !important;
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.badge-securite {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.badge-btp {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.badge-telecom {
    background: linear-gradient(135deg, #059669, #10b981);
}

.badge-informatique {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

/* Corps de la Carte */
.project-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.35;
}

/* Grille de Métadonnées */
.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 0.8rem;
    background: var(--bg-secondary);
    padding: 0.9rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.1rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-meta-item .meta-icon {
    color: var(--accent-secondary-hover);
    font-size: 0.88rem;
    flex-shrink: 0;
}

.project-meta-item .meta-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.project-meta-item .meta-value {
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Liste des Caractéristiques / Faits Marquants */
.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-grow: 1;
}

.project-features li {
    font-size: 0.86rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.project-features li i {
    color: var(--accent-secondary-hover);
    margin-top: 0.2rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Footer / Bouton Détails */
.project-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.btn-project-details {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-project-details i {
    color: var(--accent-secondary-hover);
    transition: transform var(--transition-fast);
}

.project-card:hover .btn-project-details {
    color: var(--accent-secondary-hover);
}

.project-card:hover .btn-project-details i {
    transform: translateX(4px);
}



/* Modale Fiche Projet Détaillée (Étude de cas) */
.project-modal-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal-container.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-modal-dialog {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.94) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-modal-container.active .project-modal-dialog {
    transform: scale(1) translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 20;
    background: rgba(15, 23, 42, 0.08);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.project-modal-close:hover {
    background: #0f172a;
    color: #ffffff;
    transform: rotate(90deg);
}

.project-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    padding: 2.2rem;
}

.modal-media-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-ba-view-switch {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 0.35rem;
    border-radius: 2rem;
}

.modal-ba-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-ba-btn.active {
    background: #ffffff;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-info-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-project-title {
    font-size: 1.55rem;
    color: var(--text-primary);
    margin: 0.75rem 0 1.25rem 0;
    line-height: 1.3;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-meta-item .m-icon {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary-hover);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.modal-meta-item .m-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.modal-meta-item .m-val {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-section-block {
    margin-bottom: 1.25rem;
}

.modal-section-block h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.modal-section-block h4 i {
    color: var(--accent-secondary-hover);
}

.modal-desc-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-deliverables-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0.75rem;
}

@media (max-width: 540px) {
    .modal-deliverables-tags {
        grid-template-columns: 1fr;
    }
}

.modal-deliverable-tag {
    background: rgba(35, 209, 106, 0.08);
    color: #166534;
    border: 1px solid rgba(35, 209, 106, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.25;
}

.modal-actions-block {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.modal-action-btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
}

@media (max-width: 992px) {
    .project-modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
    }

    .modal-meta-grid {
        grid-template-columns: 1fr;
    }

    .realisations-filter-bar {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.5rem;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .realisations-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .realisations-filter-bar .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}


/* --- Fenêtre Modale de Service --- */
.service-modal {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-out;

}

.service-modal.active {

    opacity: 1;
    pointer-events: auto;

}

.service-modal-content {

    background-color: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.97) translateY(10px);
    opacity: 0;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    text-align: center;

}

.service-modal.active .service-modal-content {

    transform: scale(1) translateY(0);
    opacity: 1;

}

.service-modal-close {

    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;

}

#service-modal-title {

    margin-bottom: 0.5rem;
    color: var(--accent-secondary);
    font-size: 1.8rem;

}

.service-modal-content p {

    margin-bottom: 2rem;
    color: var(--text-secondary);

}

.service-modal-options {

    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.modal-option-btn {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);

}

.modal-option-btn:hover {

    background-color: rgba(38, 210, 102, 0.1);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    transform: translateY(-3px);

}

/* --- Pied de Page --- */
.footer-wrapper {

    background-color: #061315;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem 0;
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;

}

.footer-top-row {

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;

}

.footer-brand-info {

    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.footer-brand-info .logo-divider {

    background-color: rgba(255, 255, 255, 0.3) !important;

}

.footer-brand-info .logo-title .plus-text {

    color: #f5be0b !important;

}

.footer-brand-info .logo-subtitle {

    color: rgba(255, 255, 255, 0.6) !important;

}

.footer-brand-info p {

    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    max-width: 320px;

}

.social-icons {

    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;

}

.social-icon {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast);
    font-size: 1rem;

}

.social-icon:hover {

    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
    transform: translateY(-3px);

}

.footer-nav-col h4 {

    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;

}

.footer-nav-col ul {

    display: flex;
    flex-direction: column;
    gap: 0.75rem;

}

.footer-nav-col ul li a {

    color: #94a3b8;
    font-size: 0.9rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);

}

.footer-nav-col ul li a:hover {

    color: var(--accent-secondary);
    padding-left: 4px;

}

.footer-contact-list {

    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.88rem;

}

.footer-contact-list li {

    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;

}

.footer-contact-list li i {

    color: var(--accent-secondary);
    margin-top: 0.2rem;
    font-size: 1rem;

}

.footer-bottom-row {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;

}

.footer-bottom-links {

    display: flex;
    gap: 1.5rem;

}

.footer-bottom-links a {

    color: #64748b;
    transition: color var(--transition-fast);

}

.footer-bottom-links a:hover {

    color: var(--accent-secondary);

}

/* --- Bouton Flottant WhatsApp --- */
.whatsapp-float-btn {

    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);

}

.whatsapp-float-btn:hover {

    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;

}

/* Animation de pulsation pour le bouton */
.whatsapp-float-btn::before {

    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: whatsappPulse 2s infinite;

}

@keyframes whatsappPulse {

    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }

}

/* --- Carrousel de la Section Partenaires --- */
.partners-carousel-section {
    padding: 5rem 0;
    text-align: center;
}

.partners-carousel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* ── Slideshow wrapper ── */
.partners-slideshow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* ── Viewport ── */
.partners-slide-viewport {
    position: relative;
    width: 360px;
    height: 180px;
    flex-shrink: 0;
}

/* ── Slides (fade) ── */
.partners-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.partners-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* ── Logo image ── */
.partner-logo-img {
    max-height: 140px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    filter: grayscale(20%) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.12));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partners-slide.active .partner-logo-img:hover {
    filter: grayscale(0%) drop-shadow(0 8px 28px rgba(0, 0, 0, 0.18));
    transform: scale(1.05);
}

/* ── Flèches ── */
.partners-arrow {
    background: var(--bg-glass, rgba(255, 255, 255, 0.1));
    border: 2px solid var(--glass-border, rgba(255, 255, 255, 0.2));
    color: var(--text-primary, #1a2330);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.partners-arrow:hover {
    background: var(--accent-green, #2ecc71);
    border-color: var(--accent-green, #2ecc71);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(46, 204, 113, 0.35);
}

.partners-arrow:active {
    transform: scale(0.96);
}

/* ── Points ── */
.partners-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.partners-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted, #9aafbb);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.partners-dot.active {
    opacity: 1;
    background: var(--accent-green, #2ecc71);
    transform: scale(1.3);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .partners-slide-viewport {
        width: 240px;
        height: 130px;
    }

    .partner-logo-img {
        max-height: 100px;
        max-width: 220px;
    }

    .partners-arrow {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }
}


/* --- Icône de Bascule du Menu Mobile --- */
.mobile-menu-toggle {

    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;

}

.mobile-menu-toggle.nav-item-cart-dot::before {

    top: -5px;
    right: -5px;

}

.mobile-menu-toggle .bar {

    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);

}

.mobile-menu-toggle .bar:nth-child(1) {

    top: 0;

}

.mobile-menu-toggle .bar:nth-child(2) {

    top: 11px;

}

.mobile-menu-toggle .bar:nth-child(3) {

    top: 22px;

}

.mobile-menu-toggle.active .bar:nth-child(1) {

    top: 11px;
    transform: rotate(45deg);

}

.mobile-menu-toggle.active .bar:nth-child(2) {

    opacity: 0;

}

.mobile-menu-toggle.active .bar:nth-child(3) {

    top: 11px;
    transform: rotate(-45deg);

}

/* ---- Laptops & Écrans intermédiaires (769px to 1280px) ---- */
@media (max-width: 1280px) {

    .navbar-container {
        gap: 0.75rem;
        width: 95%;
    }

    .nav-list {
        gap: 0.8rem;
    }

    .nav-item {
        font-size: 0.9em;
    }

    .logo-img {
        height: 52px;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.68rem;
    }

    .logo-divider {
        height: 32px;
        margin: 0 0.26rem;
    }

    .cta-nav-btn {
        padding: 0.45rem 1.15rem;
        font-size: 0.88rem;
    }

    .header-urgency-phone {
        gap: 0.35rem;
    }

    .header-urgency-phone .phone-number {
        font-size: 0.95rem;
    }

    .header-urgency-phone .phone-icon-pulse {
        font-size: 1.1rem;
    }

}

/* ---- Petits Laptops & Tablettes paysage (769px to 1120px) ---- */
@media (max-width: 1120px) {

    .header-urgency-phone {
        display: none !important;
    }

}

/* ---- Mobiles & Tablettes (≤ 768px) — Menu Hamburger Actif ---- */
@media (max-width: 768px) {

    /* ==== BARRE DE NAVIGATION ==== */
    .navbar-wrapper,
    .navbar-wrapper.scrolled {

        padding: 0.8rem 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    }

    .navbar-container {

        width: 100%;
        padding: 0 1rem;
        max-width: 100%;
        gap: 0;
        box-sizing: border-box;

    }

    .logo-link {

        flex-shrink: 1;
        min-width: 0;
        display: flex;
        align-items: center;

    }

    .logo-img {

        height: 40px;
        flex-shrink: 0;

    }

    /* Diviseur vertical sur mobile */
    .logo-divider {

        display: block;
        width: 1px;
        height: 18px;
        background-color: var(--text-primary);
        margin: 0 0.3rem;
        opacity: 0.4;

    }

    /* Sous-titre sur mobile */
    .logo-subtitle {

        display: block;
        font-family: 'Inter', sans-serif;
        font-size: 0.48rem;
        font-weight: 500;
        color: var(--text-muted);
        line-height: 1.2;
        margin-top: 1px;

    }

    .logo-title {

        font-size: 0.82rem;
        white-space: nowrap;

    }

    .logo-text-group {

        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .header-urgency-phone {

        display: none !important;

    }

    /* Actions à droite : CTA + hamburger bien dans le cadre */
    .nav-actions {

        flex-shrink: 0;
        gap: 0.35rem;
        align-items: center;
        margin-left: auto;

    }

    .cta-nav-btn {

        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
        order: 1;

    }

    .cart-icon-btn {

        order: 2;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;

    }

    .cart-badge {

        top: -3px;
        right: -3px;
        min-width: 9px;
        height: 9px;
        padding: 0;
        font-size: 5.5px;
        border: 1px solid white;
        border-radius: 50%;
        box-shadow: 0 1px 4px rgba(239, 68, 68, 0.4);

    }

    /* Hamburger toujours visible et dans le champ */
    .mobile-menu-toggle {

        display: flex;
        flex-shrink: 0;
        z-index: 1001;
        position: relative;
        width: 22px;
        height: 16px;
        order: 3;

    }

    .mobile-menu-toggle .bar:nth-child(1) {
        top: 0;
    }

    .mobile-menu-toggle .bar:nth-child(2) {
        top: 7px;
    }

    .mobile-menu-toggle .bar:nth-child(3) {
        top: 14px;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }

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

    .mobile-menu-toggle.active .bar:nth-child(3) {
        top: 7px;
        transform: rotate(-45deg);
    }

    /* Menu plein écran sur mobile */
    .nav-menu {

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;

    }

    .nav-menu.active {

        opacity: 1;
        visibility: visible;

    }

    .nav-list {

        flex-direction: column;
        text-align: center;
        gap: 2rem;

    }

    .nav-item {

        font-size: 1.5rem;
        color: #000000 !important;

    }

    .nav-item:hover,
    .nav-item.active {

        color: var(--accent-secondary) !important;

    }

}

/* ---- Tablette large (≤ 1200px) ---- */
@media (max-width: 1200px) {
    .container-width {

        width: 94%;

    }

    .footer-top-row {

        grid-template-columns: 2fr 1fr 1fr;
        gap: 2.5rem;

    }

    .services-grid {

        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    }


}

/* ---- Tablette (≤ 1024px) ---- */
@media (max-width: 1024px) {

    /* Hero */
    /* Sections */
    .section-title {

        font-size: 2.4rem;

    }

    /* Onglets des services */
    .tab-btn {

        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;

    }


    /* Pied de page */
    .footer-top-row {

        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;

    }


    /* Cursor désactivé sur tablette/phone */
    html {

        cursor: auto;

    }


}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {



    /* ==== SECTION HERO ==== */
    .hero-title,
    .hero-mockup-title {

        font-size: 2.65rem;
        line-height: 1.15;

    }

    .hero-actions,
    .hero-mockup-actions {

        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;

    }

    .hero-mockup-actions .btn {

        width: auto;
        min-width: 190px;
        max-width: 260px;
        justify-content: center;

    }

    .hero-mockup-actions .btn-green-text {

        flex: 0 0 100%;
        justify-content: center;

    }

    .hero-section,
    .hero-mockup-section {

        min-height: 90vh;

    }

    /* ==== SECTIONS ==== */
    .section-title {

        font-size: 2rem;

    }

    .section-subtitle {

        font-size: 1rem;

    }

    .section-header {

        margin-bottom: 2.5rem;

    }

    /* ==== ONGLETS DES SERVICES ==== */
    .services-tabs-container,
    .boutique-filters {

        border-radius: 1rem;
        padding: 0.4rem;
        flex-wrap: wrap;
        gap: 0.4rem;
        width: 100%;

    }

    .tab-btn,
    .filter-btn {

        padding: 0.65rem 1rem;
        font-size: 0.82rem;
        gap: 0.4rem;
        flex: 1 1 auto;
        justify-content: center;

    }

    .services-grid {

        grid-template-columns: 1fr;

    }


    /* ==== GRILLES ==== */
    .products-grid {

        grid-template-columns: 1fr;

    }

    .solutions-grid {

        grid-template-columns: 1fr;

    }

    .solution-card {

        flex-direction: column;

    }

    .solution-img,
    .solution-content {

        width: 100%;

    }

    .solution-img {

        height: 220px;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;

    }

    .realisations-masonry {

        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 1rem;

    }

    /* ==== BOUTIQUE ==== */
    .boutique-filters {

        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;

    }

    .filter-btn {

        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;

    }

    /* ==== FORMULAIRES ==== */
    .form-row {

        grid-template-columns: 1fr;

    }

    /* ==== PIED DE PAGE ==== */
    .footer-top-row {

        grid-template-columns: 1fr;
        gap: 2rem;

    }

    .footer-bottom-row {

        flex-direction: column;
        text-align: center;
        gap: 1rem;

    }

    .footer-bottom-links {

        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;

    }

    /* ==== PAGE À PROPOS ==== */
    .stats-bar-grid {

        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;

    }

    .stat-bar-item h3 {

        font-size: 2rem;

    }

    /* ==== BOUTONS ==== */
    .btn {

        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;

    }

}

/* ---- Petit mobile (≤ 480px) ---- */
@media (max-width: 480px) {

    /* ==== BARRE DE NAVIGATION ==== */
    .logo-img {

        height: 36px;

    }

    .logo-divider {

        width: 1px;
        height: 14px;
        margin: 0 0.2rem;
        opacity: 0.4;

    }

    .logo-title {

        font-size: 0.72rem;

    }

    .logo-subtitle {

        font-size: 0.42rem;

    }

    .cta-nav-btn {

        font-size: 0.62rem;
        padding: 0.25rem 0.5rem;

    }

    /* ==== SECTION HERO ==== */
    .hero-title,
    .hero-mockup-title {

        font-size: 2.2rem;

    }

    /* ==== SECTIONS ==== */
    .section-title {

        font-size: 1.7rem;

    }

    .container-width {

        width: 96%;

    }

    /* ==== STATISTIQUES ==== */
    .stats-bar-grid {

        grid-template-columns: 1fr 1fr;

    }

    .stat-bar-item h3 {

        font-size: 1.7rem;

    }

    /* ==== GALERIE ==== */
    .realisations-masonry {

        grid-template-columns: 1fr;
        grid-auto-rows: 220px;

    }

    /* ==== ONGLETS ==== */
    .tab-btn {

        padding: 0.55rem 0.75rem;
        font-size: 0.75rem;

    }

    /* ==== PRODUITS ==== */
    .products-grid {

        grid-template-columns: 1fr;

    }

    /* ==== LIGHTBOX ==== */
    .lightbox-nav-btn {

        width: 36px;
        height: 36px;
        font-size: 0.9rem;

    }

    .lightbox-prev {

        left: 0.5rem;

    }

    .lightbox-next {

        right: 0.5rem;

    }

    /* ==== PIED DE PAGE ==== */
    .footer-wrapper {

        padding: 3rem 0 1.5rem 0;

    }


    /* ==== BOUTONS ==== */
    .about-cta-actions .btn,
    .hero-mockup-actions .btn {

        width: auto;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;

    }



}

/* --- Styles de la Fenêtre Modale de Détail & Formulaires Dynamiques (Réduit de 15%) --- */
.detail-modal-content {
    max-width: 490px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
}

/* Barre de Défilement Personnalisée pour la Modale de Détail */
.detail-modal-content::-webkit-scrollbar {
    width: 6px;
}

.detail-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.detail-modal-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.detail-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.detail-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.1rem;
    gap: 0.85rem;
}

.detail-modal-back-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.detail-modal-back-btn:hover {
    color: var(--accent-secondary);
    transform: translateX(-3px);
}

.detail-modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
}

.detail-modal-icon-box {
    width: 40px;
    height: 40px;
    background-color: rgba(38, 210, 102, 0.1);
    color: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.detail-modal-header-text {
    text-align: left;
}

.detail-modal-header-text h3 {
    margin: 0;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.1;
}

.detail-modal-header-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Design des Cartes de Formulaire */
.form-input-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    text-align: left;
}

.form-input-card label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    font-family: 'Outfit', sans-serif;
}

/* Sélection Déroulante Personnalisée */
.form-input-card select {
    width: 100%;
    padding: 0.65rem 0.95rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
    transition: all var(--transition-fast);
}

.form-input-card select:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(38, 210, 102, 0.1);
}

.form-input-card select:disabled {
    opacity: 0.7;
    -webkit-text-fill-color: var(--text-muted);
    color: var(--text-muted);
    font-weight: 700;
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--border-color);
    background-image: none;
    padding-right: 0.95rem;
}

.form-input-card select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Champs de Saisie et Zones de Texte */
.form-input-card input,
.form-input-card textarea {
    width: 100%;
    padding: 0.65rem 0.95rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.form-input-card input:focus,
.form-input-card textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(38, 210, 102, 0.1);
}

/* Compteur de Caractères */
.textarea-container {

    position: relative;

}

.char-counter {

    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;

}


.form-row {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;

}

/* Espacement responsive pour le reste du site */
@media (max-width: 768px) {
    .form-row {

        grid-template-columns: 1fr !important;

    }
}

.form-row-datetime {

    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;

}

.form-row-datetime .form-input-card {

    flex: 1;
    margin-bottom: 0;

}

/* Carte de Localisation */
.location-wrapper {

    display: flex;
    gap: 0.75rem;
    align-items: center;

}

.location-input-container {

    flex: 1;
    position: relative;

}

.location-input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.location-input-container input {
    padding-left: 2.35rem;
}

.btn-map {
    background-color: var(--accent-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.1rem;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: background-color var(--transition-fast);
    white-space: nowrap;
}

.btn-map:hover {
    background-color: var(--accent-secondary-hover);
}

/* Pieces Jointes */
/* Style du Panneau d'Urgence */
.urgency-container {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.urgency-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.urgency-option.option-tres-urgent {

    background-color: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);

}

.urgency-option.option-tres-urgent .urgency-label i {

    color: #ef4444;

}

.urgency-option.option-urgent {

    background-color: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);

}

.urgency-option.option-urgent .urgency-label i {

    color: #f59e0b;

}

.urgency-option.option-peu-urgent {

    background-color: rgba(38, 210, 102, 0.05);
    border: 1px solid rgba(38, 210, 102, 0.15);

}

.urgency-option.option-peu-urgent .urgency-label i {

    color: var(--accent-secondary);

}

.urgency-label {

    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;

}

.urgency-label i {

    font-size: 1.3rem;

}

.urgency-text-group {

    display: flex;
    flex-direction: column;

}

.urgency-title {

    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);

}

.urgency-desc {

    font-size: 0.8rem;
    color: var(--text-muted);

}

.urgency-price-group {

    display: flex;
    align-items: center;
    gap: 1rem;

}

.urgency-price {

    font-weight: 700;
    color: #ef4444;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;

}

.urgency-option.option-urgent .urgency-price {

    color: #f59e0b;

}

.urgency-option.option-peu-urgent .urgency-price {

    color: var(--accent-secondary);

}

.urgency-option input[type="radio"] {

    accent-color: var(--accent-secondary);
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;

}

@keyframes urgencyPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }

}

.urgency-option.selected {

    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(38, 210, 102, 0.25);
    animation: urgencyPulse 2s ease-in-out infinite;

}

.urgency-option.option-tres-urgent.selected {

    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);

}

.urgency-option.option-urgent.selected {

    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);

}

/* Bannières d'Information et d'Alerte */
.form-info-banner {

    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: rgba(38, 210, 102, 0.05);
    border: 1px solid rgba(38, 210, 102, 0.15);
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    text-align: left;
    align-items: flex-start;

}

.info-banner-icon {

    font-size: 1.3rem;
    color: var(--accent-secondary-hover);
    margin-top: 0.15rem;

}

.info-banner-text strong {

    display: block;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-secondary-hover);
    margin-bottom: 0.25rem;

}

.info-banner-text p {

    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;

}

/* Soumissions de Formulaires Dynamiques */
.btn-valider {

    width: 100%;
    background-color: var(--accent-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1.1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(31, 169, 81, 0.3);

}

.btn-valider:hover {

    background-color: var(--accent-secondary-hover);
    box-shadow: 0 6px 20px rgba(31, 169, 81, 0.45);
    transform: translateY(-2px);

}

/* --- Zone de Glisser-Déposer pour Téléchargement --- */
.drag-drop-zone {

    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    background-color: var(--bg-primary);
    transition: all var(--transition-fast);
    text-align: center;

}

.drag-drop-zone:hover,
.drag-drop-zone.dragover {

    border-color: var(--accent-secondary);
    background-color: rgba(38, 210, 102, 0.02);

}

.upload-zone-icon {

    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    transition: transform var(--transition-fast);

}

.drag-drop-zone:hover .upload-zone-icon {

    transform: translateY(-3px);

}

.upload-zone-title {

    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;

}

.upload-zone-desc {

    font-size: 0.8rem;
    color: var(--text-muted);

}

/* --- Nouveau système d'upload multi-photos --- */
.photo-upload-wrapper {

    display: flex;
    flex-direction: column;
    gap: 0.75rem;

}

.photo-actions {

    display: flex;
    gap: 0.6rem;

}

.photo-action-btn {

    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);

}

.photo-action-btn:hover {

    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    background: rgba(38, 210, 102, 0.05);

}

.photo-action-btn i {

    font-size: 1.1rem;

}

.photo-action-btn.camera-btn {

    border-color: var(--accent-primary, #3b82f6);
    color: var(--accent-primary, #3b82f6);

}

.photo-action-btn.camera-btn:hover {

    background: rgba(59, 130, 246, 0.05);

}

.photo-preview-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;

}

.photo-thumb {

    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);

}

.photo-thumb img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.photo-thumb-delete {

    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.92);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    transition: transform var(--transition-fast), background var(--transition-fast);
    line-height: 1;

}

.photo-thumb-delete:hover {

    transform: scale(1.15);
    background: #c0392b;

}

.photo-count-badge {

    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0.2rem 0;

}

.photo-count-badge span {

    font-weight: 700;
    color: var(--accent-secondary);

}

.photo-upload-error {

    font-size: 0.8rem;
    color: #e74c3c;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;

}


/* ==========================================================================
   Édition de Maquette Kâfat+ - Classes de Redesign
   ========================================================================== */
.accent-green-text {

    color: var(--accent-secondary);

}

/* Style des Nouveaux Boutons correspondant au vert de la maquette */
.btn-green-primary {

    background-color: var(--accent-secondary);
    color: white !important;
    box-shadow: 0 10px 25px -5px rgba(38, 210, 102, 0.3);

}

.btn-green-primary:hover {

    background-color: var(--accent-secondary-hover);
    box-shadow: 0 12px 28px -5px rgba(38, 210, 102, 0.5);
    transform: translateY(-2px);

}

.btn-green-secondary {

    background-color: transparent;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);

}

.btn-green-secondary:hover {

    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);

}

.btn-green-text {

    background-color: transparent;
    color: white !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

}

.btn-green-text:hover {

    color: var(--accent-secondary) !important;

}

.btn-green-text i {

    transition: transform var(--transition-fast);

}

.btn-green-text:hover i {

    transform: scale(1.1);

}

/* Section Hero de la Maquette */
.hero-mockup-section {

    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #020617;

}

.hero-mockup-image-wrapper {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

}

.hero-mockup-image {

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}

.hero-mockup-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.8) 45%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 2;

}

.hero-mockup-content {

    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: left;
    padding-top: 4rem;
    margin-left: 11%;

}

.hero-mockup-title {

    font-size: 4rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;

}

.hero-mockup-desc {

    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.5;

}

.hero-mockup-actions {

    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;

}

@media (max-width: 768px) {
    .hero-mockup-title {

        font-size: 4.1rem;
        line-height: 1.05;

    }

    .hero-mockup-desc {

        font-size: 1.1rem;

    }

    .hero-mockup-actions {

        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;

    }

    .hero-mockup-actions .btn {

        width: auto;
        min-width: 190px;
        max-width: 260px;
        justify-content: center;

    }

    .hero-mockup-actions .btn-green-text {

        flex: 0 0 100%;
        justify-content: center;

    }

}

/* Section Expertise */
/* Section Pourquoi Nous Choisir */
.why-choose-section {

    padding: 4rem 0;

}

.why-choose-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;

}

.why-choose-card {

    padding: 3rem 2.2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);

}

.why-icon-box {

    width: 64px;
    height: 64px;
    background: rgba(38, 210, 102, 0.1);
    color: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem auto;
    transition: transform var(--transition-normal);

}

.why-choose-card:hover .why-icon-box {

    transform: scale(1.1) rotate(10deg);

}

.why-choose-card h3 {

    font-size: 1.3rem;
    margin-bottom: 0.75rem;

}

.why-choose-card p {

    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;

}

/* Section Mockup Réalisations sur la page d'accueil */
.realisations-mockup-section {
    padding: 6rem 0;
}

.realisations-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.realisations-mockup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.realisation-mockup-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.realisation-mockup-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(6, 78, 59, 0.14);
    border-color: rgba(6, 78, 59, 0.35);
}

.realisation-img-container {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.realisation-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realisation-mockup-card:hover .realisation-img-container img {
    transform: scale(1.06);
}

.realisation-badge {
    display: none !important;
}

.realisation-details {
    padding: 1.35rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.realisation-category-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #059669;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.realisation-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.realisation-desc-summary {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.realisation-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: #f8fafc;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    margin-bottom: 0.9rem;
    border: 1px solid #e2e8f0;
}

.realisation-meta-pills span {
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.realisation-meta-pills span i {
    color: #059669;
    font-size: 0.75rem;
}

.realisation-card-action {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #064e3b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.btn-open-project {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.realisation-card-action i {
    color: var(--accent-primary);
    transition: transform 0.25s ease;
}

.realisation-mockup-card:hover .realisation-card-action,
.realisation-mockup-card:hover .btn-open-project {
    color: #059669;
}

.realisation-mockup-card:hover .realisation-card-action i,
.realisation-mockup-card:hover .btn-open-project i {
    transform: translateX(5px);
}

/* Section Mixte : Intervention & Produits */
.mixed-mockup-section {

    padding: 4rem 0;

}

.mixed-grid {

    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 3.5rem;

}

@media (max-width: 992px) {
    .mixed-grid {

        grid-template-columns: 1fr;
        gap: 3rem;

    }


}

.intervention-mockup-card {

    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 480px;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border-color);

}

.intervention-bg {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

}

.intervention-bg img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);

}

.intervention-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.75) 55%, rgba(2, 6, 23, 0.2) 100%);
    z-index: 2;

}

.intervention-content {

    position: relative;
    z-index: 10;
    color: white;

}

.intervention-content h3 {

    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;

}

.intervention-content p {

    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;

}

.intervention-bullets {

    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;

}

.intervention-bullets li {

    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;

}

.intervention-bullets li i {

    color: var(--accent-secondary);

}

.products-mockup-column {

    display: flex;
    flex-direction: column;
    gap: 2.5rem;

}

.products-mockup-header {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.products-mockup-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;

}

.product-mini-card {

    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: var(--radius-xl);
    gap: 1.25rem;
    position: relative;
    border: 1px solid var(--border-color);

}

.prod-img {

    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);

}

.prod-img img {

    max-width: 90%;
    max-height: 90%;
    object-fit: contain;

}

.prod-info {

    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-grow: 1;

}

.prod-info h4 {

    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;

}

.prod-price {

    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--accent-secondary);
    font-size: 0.9rem;

}

.prod-cart-btn {

    width: 40px;
    height: 40px;
    background-color: rgba(38, 210, 102, 0.1);
    color: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;

}

.product-mini-card:hover .prod-cart-btn {

    background-color: var(--accent-secondary);
    color: white;
    transform: scale(1.1);

}

/* Section Devis */
.devis-mockup-section {

    padding: 2.25rem 1.25rem;
    background: url('../../Image/Informatique.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;

}

.devis-wrapper {

    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

}

@media (max-width: 868px) {
    .devis-wrapper {

        grid-template-columns: 1fr;

    }

    .devis-info-panel {

        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 2rem 1.5rem !important;

    }

    .devis-form-panel {

        padding: 2rem 1.5rem !important;

    }


}

.devis-info-panel {

    padding: 2rem 1.75rem;
    background-color: rgba(38, 210, 102, 0.02);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.devis-info-panel h2 {

    font-size: 1.8rem;
    margin-bottom: 0.5rem;

}

.devis-info-panel p {

    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.4;

}

.devis-form-panel {

    padding: 2rem 1.75rem;

}

.devis-form-panel .form-row {

    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;

}

.devis-form-panel .form-group {

    margin-bottom: 0.75rem;

}

.devis-form-panel label {

    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
    text-align: left;

}

.devis-form-panel input,
.devis-form-panel textarea {

    width: 100%;
    padding: 0.6rem 0.85rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
    outline: none;

}

.devis-form-panel textarea {

    min-height: 75px;
    height: 75px;

}

.devis-form-panel input:focus,
.devis-form-panel textarea:focus {

    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(38, 210, 102, 0.1);
    background-color: var(--bg-primary);

}

.devis-form-panel select {

    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;

}

.devis-form-panel select:focus {

    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(38, 210, 102, 0.1);

}

.devis-form-panel select option {

    background-color: var(--bg-secondary);
    color: var(--text-primary);

}

#devis-submit-btn {

    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;

}



/* Style pour l'en-tête transparent superposé sur fond sombre (état haut de l'accueil) - Bureau uniquement */
@media (min-width: 769px) {
    .header-dark-overlay:not(.scrolled) .nav-item {

        color: rgba(255, 255, 255, 0.85) !important;

    }

    .header-dark-overlay:not(.scrolled) .nav-item:hover,
    .header-dark-overlay:not(.scrolled) .nav-item.active {

        color: #ffffff !important;

    }

    .header-dark-overlay:not(.scrolled) .logo-title .plus-text {

        color: #f5be0b !important;

    }

    .header-dark-overlay:not(.scrolled) .logo-subtitle {

        color: rgba(255, 255, 255, 0.7) !important;

    }

    .header-dark-overlay:not(.scrolled) .logo-divider {

        background-color: rgba(255, 255, 255, 0.6) !important;

    }

    .header-dark-overlay:not(.scrolled) .header-urgency-phone a {

        color: #ffffff !important;

    }

    .header-dark-overlay:not(.scrolled) .header-urgency-phone span {

        color: rgba(255, 255, 255, 0.7) !important;

    }
}

/* Link: Voir toutes nos réalisations */
.view-all-link {

    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast), color var(--transition-fast);

}

.view-all-link:hover {

    color: var(--accent-secondary-hover);
    gap: 0.75rem;

}

/* --- Bannière Hero de Dépannage, Services & Boutique --- */
.depannage-hero-banner,
.services-hero-banner,
.boutique-hero-banner {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../../Image/tou.png') no-repeat center center / cover;
    overflow: hidden;
    margin-bottom: 1rem;
}

.depannage-hero-banner {
    background: url('../../Image/depannage_hero_bg.png') no-repeat center center / cover;
}

.boutique-hero-banner {
    background: url('../../Image/boutique_hero_bg.png') no-repeat center center / cover;
}

.depannage-hero-overlay,
.services-hero-overlay,
.boutique-hero-overlay {

    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.75) 0%, rgba(6, 19, 21, 0.65) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
    z-index: 1;

}

.depannage-hero-content,
.services-hero-content,
.boutique-hero-content {

    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 2.5rem 2rem;

}

.depannage-hero-title,
.services-hero-title,
.boutique-hero-title {

    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);

}

.depannage-hero-subtitle,
.services-hero-subtitle,
.boutique-hero-subtitle {

    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;

}

/* --- Styles de la Page À Propos --- */
.about-company-section {

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    margin: 80px auto;
    background: #fff;

}

.about-company-image {

    height: 500px;
    overflow: hidden;

}

.about-company-image img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.about-company-content {

    padding: 50px;

}

.about-company-content h2 {

    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;

}

.about-line {

    width: 70px;
    height: 3px;
    background: #e2b808;
    margin-bottom: 30px;

}

.about-company-content p {

    font-family: 'Inter', sans-serif;
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
    text-align: justify;

}

@media (max-width: 768px) {

    .depannage-hero-banner,
    .services-hero-banner,
    .boutique-hero-banner {

        min-height: 260px;

    }

    .depannage-hero-title,
    .services-hero-title,
    .boutique-hero-title {

        font-size: 2rem;

    }

    .depannage-hero-subtitle,
    .services-hero-subtitle,
    .boutique-hero-subtitle {

        font-size: 0.95rem;

    }

    .depannage-hero-content,
    .services-hero-content,
    .boutique-hero-content {

        padding: 3rem 1.25rem;

    }

    .about-company-section {

        grid-template-columns: 1fr;

    }

    .about-company-image {

        height: 300px;

    }

    .about-company-content {

        padding: 30px;

    }

    .about-company-content h2 {

        font-size: 30px;

    }


}

.cart-modal {

    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;

}

.cart-modal.active {

    display: block;

}

.cart-modal-overlay {

    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

}

.cart-modal-content {

    position: absolute;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 100%;
    height: 100%;
    background: white;
    padding: 30px;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal);

}



.cart-modal-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);

}

.cart-modal-header h2 {

    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;

}

.cart-modal-header h2 i {

    color: var(--accent-secondary);

}

.cart-modal-close {

    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);

}

.cart-modal-close:hover {

    color: var(--text-primary);

}

.cart-items-modal {

    margin: 10px 0;
    flex-grow: 1;
    overflow-y: auto;

}

.cart-item {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;

}

.cart-item-info {

    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

}

.cart-item-name {

    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.3;

}

.cart-item-price {

    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-secondary);
    font-weight: 700;

}

.cart-item-actions {

    display: flex;
    align-items: center;
    gap: 0.75rem;

}

.qty-controls {

    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 2px;

}

.qty-btn {

    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);

}

.qty-btn:hover {

    background: var(--border-color);

}

.qty-display {

    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;

}

.cart-item-remove {

    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);

}

.cart-item-remove:hover {

    background: #ef4444;
    color: white;

}

.cart-modal-summary {

    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);

}

.cart-modal-total {

    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;

}

.checkout-btn {

    width: 100%;
    border: none;
    background: var(--accent-secondary);
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);

}

.checkout-btn:hover {

    background: var(--accent-secondary-hover);
    transform: translateY(-2px);

}

.cart-icon-btn {

    position: relative;
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;

}

.cart-icon-btn:hover {

    transform: translateY(-2px);
    color: var(--accent-secondary);

}

.cart-badge {

    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    z-index: 10;

}

/* ==========================================================================
   ANIMATION DE TRANSITION 
   ========================================================================== */
.page-loader-overlay {

    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    opacity: 1;
    visibility: visible;

}

.page-loader-overlay.fade-out {

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

}

/* Grille de symboles "+" flottants en arrière-plan */
.loader-bg-plus-grid {

    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;

}

.floating-plus {

    position: absolute;
    color: rgba(38, 210, 102, 0.12);
    /* Vert émeraude de la marque discret */
    font-weight: 300;
    user-select: none;
    animation: floatAround infinite ease-in-out;

}

@keyframes floatAround {


    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-20px) rotate(180deg) scale(1.2);
        opacity: 0.6;
    }

}

/* Contenu du Loader */
.loader-content {

    position: relative;
    z-index: 2;
    perspective: 1200px;
    /* Perspective 3D pour l'animation de profondeur */

}

.cinematic-reveal {

    display: flex;
    align-items: center;
    gap: 1.75rem;

}

/* Insigne / Emblème */
.emblem-insignia {

    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-secondary-hover) 100%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 35px rgba(38, 210, 102, 0.45), inset 0 0 15px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;

    /* Animation du fond vers l'avant (zoom) + de la gauche vers la droite */
    animation: emblemFlight 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;

}

.insignia-plus {

    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    margin-bottom: 2px;
    /* Ajustement d'alignement du '+' */

}

/* Groupe de textes révélés */
.reveal-text-group {

    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    max-width: 0;
    white-space: nowrap;

    /* Révélation déclenchée dès que l'insigne arrive au centre (délai 0.8s) */
    animation: textReveal 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.8s forwards;

}

.reveal-title {

    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.1;

}

.reveal-kafat {

    color: #ffffff;

}

.reveal-plus {

    color: var(--accent-primary);
    /* Or */
    text-shadow: 0 0 15px rgba(226, 222, 8, 0.45);

}

.reveal-subtitle {

    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;

}

/* Animation 3D de vol de l'insigne */
@keyframes emblemFlight {

    0% {

        transform: translate3d(-350px, 0, -1200px) scale(0.1) rotate(-220deg);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        /* Arrivée au centre (position finale), taille réelle et orientation normale */
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }

}

/* Animation de révélation des textes */
@keyframes textReveal {

    0% {
        opacity: 0;
        max-width: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        max-width: 480px;
        transform: translateX(0);
    }

}

/* Messages de statut pour le formulaire de devis */
.form-status-message {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease-in-out;
}

.form-status-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

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

/* ==========================================================================
   intl-tel-input Adaptation (Drapeaux & Validation)
   ========================================================================== */
.iti {
    width: 100%;
}

.iti--container {
    z-index: 9999999 !important;
    position: fixed !important;
}

.iti__country-list {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
    z-index: 9999999 !important;
    max-width: 340px;
    max-height: 220px;
    overflow-y: auto;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: #f1f5f9 !important;
}

.iti__country-name {
    color: #0f172a !important;
    font-size: 0.85rem;
}

.iti__dial-code {
    color: #64748b !important;
    font-size: 0.85rem;
}

.iti__selected-dial-code {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.iti__flag-container {
    padding: 2px !important;
}

.iti__arrow {
    border-top-color: var(--text-muted) !important;
}

.iti__arrow--up {
    border-bottom-color: var(--text-muted) !important;
}

/* Aligner avec le padding-left de bootstrap */
.iti input,
.iti input[type=text],
.iti input[type=tel] {
    padding-left: 52px !important;
}

/* Cartes comparatives Avant/Après de la galerie */
.gallery-card.before-after-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ba-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.ba-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ba-container .img-before {
    z-index: 1;
}

.ba-container .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card.before-after-card:hover .img-after {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.gallery-card.before-after-card:hover .ba-container img {
    transform: scale(1.03);
}

/* Ligne de curseur vertical lumineux au survol */
.ba-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0%;
    width: 3px;
    background: #e2b808;
    box-shadow: 0 0 10px rgba(226, 184, 8, 0.9), 0 0 20px rgba(226, 184, 8, 0.4);
    z-index: 3;
    transform: translateX(-50%);
    transition: left 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.gallery-card.before-after-card:hover .ba-container::after {
    left: 100%;
}

.ba-badge {
    position: absolute;
    bottom: 12px;
    padding: 4px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ba-badge.before {
    left: 12px;
    opacity: 1;
}

.ba-badge.after {
    right: 12px;
    opacity: 0.5;
}

.gallery-card.before-after-card:hover .ba-badge.before {
    opacity: 0.5;
}

.gallery-card.before-after-card:hover .ba-badge.after {
    opacity: 1;
}

/* Cartes comparatives Avant/Après de la galerie */
.gallery-card.before-after-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ba-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.ba-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ba-container .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
}

.gallery-card.before-after-card:hover .img-after {
    opacity: 1;
}

.gallery-card.before-after-card:hover .ba-container img {
    transform: scale(1.05);
}

.ba-badge {
    position: absolute;
    bottom: 12px;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ba-badge.before {
    left: 12px;
}

.ba-badge.after {
    right: 12px;
    opacity: 0;
}

.gallery-card.before-after-card:hover .ba-badge.before {
    opacity: 0;
}

.gallery-card.before-after-card:hover .ba-badge.after {
    opacity: 1;
}


/* ==========================================================================
   intl-tel-input Adaptation (Drapeaux & Validation)
   ========================================================================== */
.iti {
    width: 100%;
}

.iti__country-list {
    background-color: #1e293b !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md) !important;
    z-index: 10000 !important;
    max-width: 320px;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.iti__country-name,
.iti__dial-code {
    color: #e2e8f0 !important;
}

.iti__selected-dial-code {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.iti__flag-container {
    padding: 2px !important;
}

.iti__arrow {
    border-top-color: var(--text-muted) !important;
}

.iti__arrow--up {
    border-bottom-color: var(--text-muted) !important;
}

/* Aligner avec le padding-left de bootstrap */
.iti input,
.iti input[type=text],
.iti input[type=tel] {
    padding-left: 52px !important;
}


/* ==========================================================================
   intl-tel-input Adaptation (Drapeaux & Validation)
   ========================================================================== */
.iti {
    width: 100%;
}

.iti__country-list {
    background-color: #1e293b !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md) !important;
    z-index: 10000 !important;
    max-width: 320px;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.iti__country-name,
.iti__dial-code {
    color: #e2e8f0 !important;
}

.iti__selected-dial-code {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.iti__flag-container {
    padding: 2px !important;
}

.iti__arrow {
    border-top-color: var(--text-muted) !important;
}

.iti__arrow--up {
    border-bottom-color: var(--text-muted) !important;
}

/* Aligner avec le padding-left de bootstrap */
.iti input,
.iti input[type=text],
.iti input[type=tel] {
    padding-left: 52px !important;
}

/* Cartes comparatives Avant/Après de la galerie */
.gallery-card.before-after-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ba-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.ba-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ba-container .img-before {
    z-index: 1;
}

.ba-container .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card.before-after-card:hover .img-after {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.gallery-card.before-after-card:hover .ba-container img {
    transform: scale(1.03);
}

/* Glowing vertical slider line during hover */
.ba-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0%;
    width: 3px;
    background: #e2b808;
    box-shadow: 0 0 10px rgba(226, 184, 8, 0.9), 0 0 20px rgba(226, 184, 8, 0.4);
    z-index: 3;
    transform: translateX(-50%);
    transition: left 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.gallery-card.before-after-card:hover .ba-container::after {
    left: 100%;
}

.ba-badge {
    position: absolute;
    bottom: 12px;
    padding: 4px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ba-badge.before {
    left: 12px;
    opacity: 1;
}

.ba-badge.after {
    right: 12px;
    opacity: 0.5;
}

.gallery-card.before-after-card:hover .ba-badge.before {
    opacity: 0.5;
}

.gallery-card.before-after-card:hover .ba-badge.after {
    opacity: 1;
}


/* ==========================================================================
   RESPONSIVE FIX COMPLET - Corrections pour 320-430px et 768-1024px
   ========================================================================== */

/* ============================================================
   TABLETTE PORTRAIT (769px - 1024px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* === NAVIGATION === */
    .navbar-container {
        width: 96%;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .nav-list {
        gap: 0.6rem;
    }

    .nav-item {
        font-size: 0.82em;
    }

    .logo-img {
        height: 44px;
    }

    .logo-title {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.62rem;
    }

    .cta-nav-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.82rem;
    }

    /* === HERO === */
    .hero-mockup-content {
        margin-left: 9%;
        max-width: 680px;
        padding-top: 5rem;
        text-align: left;
    }

    .hero-mockup-title {
        font-size: 3.6rem;
    }

    .hero-mockup-desc {
        font-size: 1.1rem;
    }

    /* Boutons en ligne comme sur desktop */
    .hero-mockup-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 1.25rem;
    }

    .hero-mockup-actions .btn {
        width: auto;
        min-width: unset;
        max-width: unset;
    }

    .hero-mockup-actions .btn-green-text {
        flex: unset;
    }

    /* === SECTIONS === */
    .section-title {
        font-size: 2.2rem;
    }

    /* === À PROPOS === */
    .about-company-section {
        grid-template-columns: 1fr;
        margin: 40px auto;
    }

    .about-company-image {
        height: 380px;
    }

    .about-company-content {
        padding: 35px;
    }

    .about-company-content h2 {
        font-size: 32px;
    }

    /* === GRILLES === */
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .realisations-mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mixed-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* === BOUTIQUE === */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-img-wrapper {
        height: 200px;
    }

    /* === BOUTONS === */
    .btn {
        padding: 0.85rem 1.6rem;
        font-size: 0.95rem;
    }

    /* === BANNIÈRES HÉRO === */
    .depannage-hero-title,
    .services-hero-title,
    .boutique-hero-title {
        font-size: 2.6rem;
    }

    /* === SECTION DEVIS === */
    .devis-wrapper {
        grid-template-columns: 1fr;
    }

    .devis-info-panel {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 1.75rem 1.5rem !important;
    }

    .devis-form-panel {
        padding: 1.75rem 1.5rem !important;
    }

    /* === FOOTER === */
    .footer-top-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* === PARTENAIRES === */
    .partners-slide-viewport {
        width: 280px;
        height: 150px;
    }

    .partner-logo-img {
        max-height: 110px;
        max-width: 260px;
    }

}

/* ============================================================
   CORRECTION HERO MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* === HERO - Correction du margin-left fixe === */
    .hero-mockup-content {
        margin-left: 0;
        padding: 5rem 1.25rem 2rem 1.25rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-mockup-actions {
        justify-content: center;
    }

    /* === À PROPOS === */
    .about-company-section {
        margin: 40px auto;
    }

    /* === PRODUITS POPULAIRES === */
    .products-mockup-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* === FORMULAIRE DE DEVIS - Correction formulaire de date === */
    .form-row-datetime {
        flex-direction: column;
    }

}

/* ============================================================
   MOBILE STANDARD (max-width: 430px) - Smartphones modernes
   ============================================================ */
@media (max-width: 430px) {

    /* === BASE === */
    html {
        font-size: 13.5px;
    }

    .container-width {
        width: 94%;
    }

    /* === NAVIGATION === */
    .navbar-container {
        padding: 0 0.75rem;
    }

    .logo-img {
        height: 38px;
    }

    .logo-divider {
        height: 16px;
        margin: 0 0.25rem;
    }

    .logo-title {
        font-size: 0.78rem;
    }

    .logo-subtitle {
        font-size: 0.44rem;
    }

    .cta-nav-btn {
        padding: 0.28rem 0.55rem;
        font-size: 0.65rem;
        border-radius: 1.5rem;
    }

    .mobile-menu-toggle {
        width: 20px;
        height: 15px;
    }

    /* === SECTION HERO === */
    .hero-mockup-section {
        min-height: 85vh;
    }

    .hero-mockup-content {
        margin-left: 0;
        padding: 5rem 1.1rem 2rem 1.1rem;
        text-align: center;
    }

    .hero-mockup-title {
        font-size: 2.15rem;
        margin-bottom: 1rem;
    }

    .hero-mockup-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-mockup-overlay {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0.70) 100%);
    }

    .hero-mockup-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .hero-mockup-actions .btn {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
        padding: 0.85rem 1.75rem;
        font-size: 0.92rem;
    }

    /* === SECTIONS GÉNÉRALES === */
    .section-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 0.92rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* === À PROPOS === */
    .about-company-section {
        margin: 30px auto;
    }

    .about-company-image {
        height: 240px;
    }

    .about-company-content {
        padding: 20px;
    }

    .about-company-content h2 {
        font-size: 24px;
    }

    /* === POURQUOI NOUS === */
    .why-choose-section {
        padding: 2.5rem 0;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-choose-card {
        padding: 2rem 1.5rem;
    }

    /* === RÉALISATIONS === */
    .realisations-mockup-section {
        padding: 3rem 0;
    }

    .realisations-mockup-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
        gap: 0.75rem;
    }

    .realisations-mockup-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .realisation-img-container {
        height: 180px;
    }

    /* === SECTION MIXTE (Intervention + Produits) === */
    .mixed-mockup-section {
        padding: 2.5rem 0;
    }

    .intervention-mockup-card {
        min-height: 360px;
        padding: 2rem 1.5rem;
    }

    .intervention-content h3 {
        font-size: 1.5rem;
    }

    .products-mockup-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products-mockup-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .products-mockup-header .section-title {
        font-size: 1.7rem !important;
    }

    /* === MINI CARTES PRODUITS === */
    .product-mini-card {
        padding: 1rem;
        gap: 1rem;
    }

    .prod-img {
        width: 60px;
        height: 60px;
    }

    .prod-info h4 {
        font-size: 0.9rem;
    }

    /* === SECTION DEVIS === */
    .devis-mockup-section {
        padding: 1.5rem 0.75rem;
    }

    .devis-wrapper {
        grid-template-columns: 1fr;
        border-radius: var(--radius-md);
    }

    .devis-info-panel {
        padding: 1.5rem 1.25rem !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
    }

    .devis-info-panel h2 {
        font-size: 1.4rem;
    }

    .devis-form-panel {
        padding: 1.5rem 1.25rem !important;
    }

    /* === BOUTIQUE - FILTRES === */
    .services-tabs-container,
    .boutique-filters {
        padding: 0.35rem;
        gap: 0.3rem;
    }

    .tab-btn,
    .filter-btn {
        padding: 0.55rem 0.8rem;
        font-size: 0.78rem;
        gap: 0.3rem;
    }

    /* === BOUTIQUE - GRILLE PRODUITS === */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-img-wrapper {
        height: 200px;
        padding: 1.25rem;
    }

    .product-details {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-footer {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    /* === BANNIÈRES HÉRO === */
    .depannage-hero-banner,
    .services-hero-banner,
    .boutique-hero-banner {
        min-height: 200px;
    }

    .depannage-hero-title,
    .services-hero-title,
    .boutique-hero-title {
        font-size: 1.65rem;
    }

    .depannage-hero-subtitle,
    .services-hero-subtitle,
    .boutique-hero-subtitle {
        font-size: 0.88rem;
    }

    .depannage-hero-content,
    .services-hero-content,
    .boutique-hero-content {
        padding: 2rem 1rem;
    }

    /* === BOUTONS GLOBAUX === */
    .btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.88rem;
        gap: 0.5rem;
    }

    /* === FORMULAIRE DÉPANNAGE === */
    .form-row-datetime {
        flex-direction: column;
    }

    .urgency-option {
        padding: 1rem;
    }

    .urgency-price-group {
        gap: 0.5rem;
    }

    .urgency-price {
        font-size: 0.85rem;
    }

    /* === PARTENAIRES === */
    .partners-slide-viewport {
        width: 220px;
        height: 120px;
    }

    .partner-logo-img {
        max-height: 90px;
        max-width: 200px;
    }

    .partners-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    /* === MODALE PANIER === */
    .cart-modal-content {
        width: 100%;
        padding: 20px;
    }

    /* === FOOTER === */
    .footer-wrapper {
        padding: 2.5rem 0 1.5rem 0;
    }

}

/* ============================================================
   TRÈS PETIT MOBILE (max-width: 360px) - Téléphones 320-360px
   ============================================================ */
@media (max-width: 360px) {

    /* === BASE === */
    html {
        font-size: 12.5px;
    }

    .container-width {
        width: 96%;
    }

    /* === NAVIGATION === */
    .navbar-container {
        padding: 0 0.5rem;
    }

    .logo-img {
        height: 32px;
    }

    .logo-divider {
        height: 14px;
        margin: 0 0.2rem;
    }

    .logo-title {
        font-size: 0.7rem;
    }

    .logo-subtitle {
        font-size: 0.38rem;
    }

    .cta-nav-btn {
        padding: 0.22rem 0.45rem;
        font-size: 0.6rem;
    }

    .mobile-menu-toggle {
        width: 18px;
        height: 14px;
    }

    /* === HERO === */
    .hero-mockup-title {
        font-size: 1.9rem;
    }

    .hero-mockup-desc {
        font-size: 0.88rem;
    }

    .hero-mockup-actions .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    /* === SECTIONS === */
    .section-title {
        font-size: 1.45rem;
    }

    /* === À PROPOS === */
    .about-company-image {
        height: 200px;
    }

    .about-company-content {
        padding: 16px;
    }

    .about-company-content h2 {
        font-size: 20px;
    }

    /* === RÉALISATIONS === */
    .realisation-img-container {
        height: 160px;
    }

    /* === BANNIÈRES HÉRO === */
    .depannage-hero-title,
    .services-hero-title,
    .boutique-hero-title {
        font-size: 1.45rem;
    }

    .depannage-hero-subtitle,
    .services-hero-subtitle,
    .boutique-hero-subtitle {
        font-size: 0.82rem;
    }

    /* === DEVIS === */
    .devis-info-panel h2 {
        font-size: 1.25rem;
    }

    /* === BOUTONS === */
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.82rem;
    }

    /* === FILTRES BOUTIQUE === */
    .tab-btn,
    .filter-btn {
        padding: 0.45rem 0.65rem;
        font-size: 0.72rem;
    }

    /* === PRODUITS === */
    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-whatsapp-btn,
    .qty-selector-container {
        width: 100%;
        justify-content: center;
    }

    /* === URGENCY OPTIONS === */
    .urgency-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .urgency-price-group {
        width: 100%;
        justify-content: space-between;
    }

    /* === PARTENAIRES === */
    .partners-slide-viewport {
        width: 180px;
        height: 100px;
    }

    .partner-logo-img {
        max-height: 75px;
        max-width: 160px;
    }

    .partners-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    /* === FOOTER === */
    .footer-wrapper {
        padding: 2rem 0 1rem 0;
    }

    .social-icons {
        gap: 0.6rem;
    }

}

/* ================================================
   COOKIE CONSENT & PRIVACY SYSTEM (RGPD)
   ================================================ */

/* Verrouillage du défilement lors de l'ouverture de la modale */
body.cookie-modal-locked {
    overflow: hidden !important;
}

/* --- Cookie Floating Banner (Compact & Sleek) --- */
#cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 92%;
    max-width: 980px;
    z-index: 99999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

#cookie-banner.cookie-banner--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner__inner {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1rem;
    box-shadow: 0 10px 35px -8px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(245, 210, 8, 0.15);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.cookie-banner__badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 210, 8, 0.25), rgba(245, 190, 11, 0.15));
    border: 1px solid rgba(245, 210, 8, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b48c00;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(245, 210, 8, 0.15);
}

.cookie-banner__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.cookie-banner__headline {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.cookie-banner__text {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.35;
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

/* Boutons standards de gestion des cookies */
.cookie-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.6rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

.cookie-btn:active {
    transform: scale(0.97);
}

.cookie-btn--reject {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.cookie-btn--reject:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.cookie-btn--customize {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.cookie-btn--customize:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1.5px);
}

.cookie-btn--accept {
    background: linear-gradient(135deg, #f5d208, #eab308);
    color: #0f172a;
    border: 1px solid #eab308;
    box-shadow: 0 4px 14px rgba(245, 210, 8, 0.35);
}

.cookie-btn--accept:hover {
    background: linear-gradient(135deg, #f7d928, #f5be0b);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(245, 210, 8, 0.45);
}

.cookie-btn--save {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: 1px solid #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.cookie-btn--save:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* --- Modale des préférences de cookies --- */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.cookie-modal--open {
    opacity: 1;
    visibility: visible;
}

.cookie-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-modal__dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 92%;
    max-width: 680px;
    max-height: 88vh;
    border-radius: 1.4rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.cookie-modal.cookie-modal--open .cookie-modal__dialog {
    transform: scale(1) translateY(0);
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.8rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafafa;
}

.cookie-modal__title-box {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.cookie-modal__icon {
    width: 44px;
    height: 44px;
    border-radius: 0.85rem;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.cookie-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cookie-modal__subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.15rem 0 0 0;
}

.cookie-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cookie-modal__close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.cookie-modal__body {
    padding: 1.5rem 1.8rem;
    overflow-y: auto;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-modal__body::-webkit-scrollbar {
    width: 6px;
}

.cookie-modal__body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cookie-modal__intro {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cookie-cat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.1rem 1.3rem;
    transition: all 0.2s ease;
}

.cookie-cat-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cookie-cat-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-cat-card__info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-cat-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 0.6rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cookie-cat-card__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    background: #e2e8f0;
    color: #475569;
    letter-spacing: 0.2px;
}

.cookie-badge--required {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cookie-cat-card__desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    padding-left: 2.9rem;
}

/* Interrupteur personnalisé (Toggle) */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked+.cookie-slider {
    background-color: #10b981;
}

.cookie-switch input:checked+.cookie-slider:before {
    transform: translateX(20px);
}

.cookie-slider.disabled {
    cursor: not-allowed;
    background-color: #10b981;
    opacity: 0.85;
}

.cookie-slider.disabled:before {
    transform: translateX(20px);
}

.cookie-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.8rem;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
    flex-wrap: wrap;
}

/* --- Bouton flottant de réouverture --- */
#cookie-reopen-btn,
.cookie-reopen-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(245, 210, 8, 0.5);
    background: #ffffff;
    color: #b48c00;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-reopen-btn:hover {
    background: #f5d208;
    color: #0f172a;
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(245, 210, 8, 0.4);
}

.cookie-reopen-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-reopen-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #0f172a;
}

.cookie-reopen-btn:hover .cookie-reopen-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* --- Toast Feedback --- */
#cookie-toast,
.cookie-toast {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    z-index: 100002;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cookie-toast i,
.cookie-toast i {
    color: #10b981;
    font-size: 1rem;
}

#cookie-toast.cookie-toast--visible,
.cookie-toast.cookie-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Lien des cookies dans le pied de page */
.footer-cookie-link {
    cursor: pointer;
    color: inherit;
    transition: color 0.2s ease;
}

.footer-cookie-link:hover {
    color: var(--accent-primary) !important;
    text-decoration: underline !important;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    #cookie-banner {
        bottom: 0.75rem;
        width: 95%;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }

    .cookie-banner__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.4rem;
    }

    .cookie-banner__actions .cookie-btn {
        width: 100%;
        padding: 0.5rem 0.35rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .cookie-modal__dialog {
        width: 96%;
        max-height: 92vh;
    }

    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding: 1.1rem;
    }

    .cookie-modal__footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-modal__footer .cookie-btn {
        width: 100%;
    }

    .cookie-cat-card__desc {
        padding-left: 0;
        margin-top: 0.4rem;
    }

    #cookie-reopen-btn {
        bottom: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .cookie-reopen-tooltip {
        display: none;
    }
}

/* ================================================
   MODAL DEVIS SERVICES (SIMPLE & PRO)
   ================================================ */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.service-modal-overlay.active .service-modal-container {
    transform: scale(1);
}

.service-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.service-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.service-modal-service-target {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0 0;
}

.service-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
}

.service-modal-close:hover {
    color: var(--text-primary);
}

.service-modal-body {
    padding: 1.5rem;
}

.modal-field {
    margin-bottom: 1rem;
}

.modal-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.modal-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.modal-input,
.modal-textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-primary);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.modal-input:focus,
.modal-textarea:focus {
    border-color: var(--accent-primary);
}

.modal-field .iti {
    width: 100%;
    display: block;
}

.modal-field .iti input.modal-input {
    width: 100%;
    padding-left: 52px !important;
}

.modal-textarea {
    resize: vertical;
}

.modal-submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-submit-btn:hover {
    background: var(--accent-hover);
}

.modal-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #16a34a;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem;
}

.modal-wa-btn:hover {
    text-decoration: underline;
    color: #15803d;
}

.modal-status-alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.modal-status-alert.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.modal-status-alert.success {
    display: block;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.modal-success-view {
    text-align: center;
    padding: 1.5rem 0.5rem;
    display: none;
}

@media (max-width: 500px) {
    .modal-field-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FORMULAIRE DE CONVERSION CONTACT & DEVIS KÂFAT+ (Haute Visibilité & Leads)
   ========================================================================== */
.contact-conversion-section {
    width: 100%;
    padding: 4rem 1.5rem;
    position: relative;
    background: url('../../Image/Informatique.jpg') no-repeat center center / cover;
    background-attachment: scroll;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 0 0;
}

.contact-conversion-wrapper {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    max-width: 950px;
    margin: 0 auto;
}

/* Panneau latéral gauche (Présentation & Réassurance) */
.contact-aside-panel {
    background: linear-gradient(145deg, #091e28 0%, #032b30 50%, #064e3b 100%);
    color: #ffffff;
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-aside-panel::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-aside-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(245, 197, 24, 0.15);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: var(--accent-primary);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 0.75rem;
}

.contact-aside-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.22;
    color: #ffffff;
    margin-bottom: 0.55rem;
}

.contact-aside-title .highlight-gold {
    color: var(--accent-primary);
}

.contact-aside-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.1rem;
}

.contact-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.trust-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.trust-badge-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.trust-badge-text h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.05rem 0;
}

.trust-badge-text p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.3;
}

.contact-direct-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.95rem;
}

.contact-direct-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.2rem;
}

.contact-direct-phone {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: transform var(--transition-fast);
}

.contact-direct-phone:hover {
    color: #ffffff;
    transform: translateX(3px);
    text-decoration: none;
}

/* Panneau droit (Formulaire interactif) */
.contact-form-panel {
    padding: 1.8rem 2rem;
    background: #ffffff;
}

.contact-form-header {
    margin-bottom: 0.9rem;
}

.contact-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.contact-form-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group-full {
    grid-column: span 2;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.contact-field label .req {
    color: #ef4444;
    font-weight: 700;
}

.contact-field label .opt {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 400;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    background-color: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.2);
}

.contact-field .iti {
    width: 100%;
}

.contact-field .iti input.contact-input,
.iti input[type="tel"] {
    width: 100%;
    padding-left: 90px !important;
}

.contact-textarea {
    resize: vertical;
    min-height: 70px;
}

/* Boutons et Actions */
.contact-form-actions {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.btn-contact-submit {
    width: 100%;
    padding: 0.78rem 1.4rem;
    background: linear-gradient(135deg, #f5c518 0%, #eab308 100%);
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-shadow: 0 5px 16px rgba(245, 197, 24, 0.4);
    transition: all 0.25s ease;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 197, 24, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    text-decoration: none;
}

.contact-wa-shortcut {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #15803d;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem;
    transition: color var(--transition-fast);
}

.contact-wa-shortcut:hover {
    color: #166534;
    text-decoration: underline;
}

/* Messages de statut */
.form-status-message {
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 1.2rem;
    display: none;
    line-height: 1.45;
}

.form-status-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.form-status-message.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* Carte de Succès */
.conversion-success-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.success-icon-badge {
    width: 70px;
    height: 70px;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.25rem auto;
}

.success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.success-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.success-reference-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ref-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.ref-code {
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    background: #e2e8f0;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.success-reassurance-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 1.75rem;
}

.success-reassurance-list i {
    color: #2ecc71;
    margin-right: 0.35rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
}

.btn-whatsapp-direct {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-whatsapp-direct:hover {
    background: #20ba59;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-reset-form {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 1.2rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset-form:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* ==========================================================================
   PAGE DÉDIÉE : CONTACT.PHP (Hero & Info Cards)
   ========================================================================== */
.contact-hero-banner {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../../Image/depannage_hero_bg.png') no-repeat center center / cover;
    overflow: hidden;
    margin-bottom: 1rem;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.82) 0%, rgba(6, 19, 21, 0.75) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    padding: 2.5rem 1.5rem;
}

.contact-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.contact-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-top: 1.2rem;
}

/* Grille des coordonnées Contact */
.contact-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.2rem auto;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.contact-info-card:hover .contact-info-icon {
    background: #16a34a;
    color: #ffffff;
}

.contact-info-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.contact-info-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: block;
}

.contact-info-val:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

/* Carte Google Maps / Interactive */
.contact-map-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.contact-map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    height: 400px;
    width: 100%;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .contact-conversion-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-aside-panel {
        padding: 2.5rem 2rem;
    }

    .contact-form-panel {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .contact-hero-title {
        font-size: 2.2rem;
    }

    .contact-aside-title {
        font-size: 1.8rem;
    }
}

/* Pages Légales (Minimal) */
.legal-hero {
    background: linear-gradient(135deg, #064e3b, #091a3e);
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    color: #fff;
}

.legal-card {
    max-width: 860px;
    margin: 2.5rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-card h2 {
    font-size: 1.3rem;
    color: #064e3b;
    margin: 1.5rem 0 0.5rem;
}

.legal-card ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1rem 0;
}