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

:root {
    --red: #cc1417;
    --dark: #111;
    --white: #fff;
    --grey: #f5f5f5;
    --border: #e0e0e0;
    --txt: #222;
    --shadow: 0 8px 32px rgba(0, 0, 0, .13);
    --radius: 4px;
    --font: 'Barlow', sans-serif;
    --topbar-h: 38px;
    --nav-h: 72px;
}

body {
    font-family: var(--font);
    background: #f0f0f0;
}

/* ── TOP BAR ── */
.topbar {
    background: var(--red);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 32px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.topbar-item svg {
    flex-shrink: 0;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s, border-color .2s;
}

.topbar-socials a:hover {
    background: rgba(255, 255, 255, .2);
    border-color: #fff;
}

/* ── MAIN NAV ── */
.navbar {
    background: var(--white);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 100;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 36px;
}

.logo-icon {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.logo-icon .b {
    font-size: 36px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    letter-spacing: -2px;
}

.logo-icon .its {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--border);
    padding-left: 10px;
    font-size: 10px;
    font-weight: 600;
    color: #555;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── MENU ── */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--txt);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s, background .2s;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--red);
    background: rgba(204, 20, 23, .06);
}

.nav-link.active {
    background: var(--red);
    color: var(--white);
    border-radius: 4px;
}

.nav-link.active:hover {
    color: var(--white);
    background: #b01215;
}

/* chevron */
.nav-link .chevron {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s;
    flex-shrink: 0;
}

.nav-item:hover .chevron {
    transform: rotate(180deg);
}

/* ── DROPDOWN ── */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--red);
    list-style: none;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s, transform .22s, visibility .22s;
    z-index: 200;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--txt);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .18s, background .18s, padding-left .18s;
}

.dropdown li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: opacity .2s, transform .2s ease-out;
}

.dropdown li a.dropdown-category::before {
    display: none;
}

.dropdown li a:hover {
    color: var(--red);
    background: rgba(204, 20, 23, .05);
    padding-left: 26px;
}

.dropdown li a:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.dropdown li+li {
    border-top: 1px solid #f2f2f2;
}

/* ── PHONE ── */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.phone-icon {
    width: 40px;
    height: 40px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.phone-text {
    line-height: 1.3;
}

.phone-label {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

.phone-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--txt);
}

/* ── DEMO CONTENT ── */
.demo-body {
    text-align: center;
    font-size: 15px;
    background-color: white;
}

/* =========================
   SECTION
========================= */

.stats-section {
    position: relative;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d90416, #b40012);
    overflow: hidden;
}

/* Overlay */
.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    z-index: 1;
}

/* slide*/
/* =========================
   HERO SECTION
========================= */

/* =========================
   SECTION HERO BITS (Ajusté)
   ========================= */

.hero-bits-section {
    position: relative;
    width: 100%;
    /* Légèrement réduit car plus de barre en bas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.4) 70%,
            transparent 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    width: 100%;
}

.hero-content-wrapper {
    max-width: 650px;
}

.hero-title-bits {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.text-accent {
    color: #c41e3a;
    font-weight: 700;
}

.hero-description-bits {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #4a4a5a;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px
}

.btn-primary-bits,
.btn-secondary-bits {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #c41e3a;
}

.btn-primary-bits {
    background-color: #c41e3a;
    color: white;
}

.btn-primary-bits:hover {
    background-color: #a01830;
    border-color: #a01830;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-secondary-bits {
    background-color: transparent;
    color: #c41e3a;
}

.btn-secondary-bits:hover {
    background-color: #c41e3a;
    color: white;
    transform: translateY(-2px);
}

/* =========================
   SECTION FEATURES CARDS (Nouvelle)
   ========================= */

.features-cards-section {
    background-color: #ffffff;
    padding: 0;
    /* Padding géré par le container */
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
}

.features-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon-wrap {
    font-size: 2rem;
    color: #c41e3a;
    /* Rouge BITS */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.feature-content p {
    font-size: 0.85rem;
    color: #6a6a7a;
    margin: 0;
    line-height: 1.4;
}

/* Séparateurs verticaux entre les cartes */
.vertical-separator {
    width: 1px;
    height: 50px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

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

@media (max-width: 1200px) {
    .hero-title-bits {
        font-size: 2.4rem;
    }

    .features-grid {
        flex-wrap: wrap;
    }

    .feature-card {
        flex: 1 1 45%;
        border-bottom: 1px solid #f0f0f0;
    }

    .vertical-separator {
        display: none;
    }

    .feature-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-bits-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-container {
        padding: 40px 20px;
    }

    .hero-title-bits {
        font-size: 2rem !important;
    }

    .hero-description-bits {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
        width: 100%;
    }

    .btn-primary-bits,
    .btn-secondary-bits {
        justify-content: center;
        text-align: center;
        white-space: normal;
        height: auto;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    .features-grid {
        gap: 0;
    }

    .feature-card {
        flex: 1 1 100%;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding: 25px 20px;
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    /* Ajustement overlay pour mobile */
    .hero-overlay {
        width: 100%;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.9) 50%,
                rgba(255, 255, 255, 0.7) 100%);
    }

    .hero-text-content {
        padding: 20px;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 12px;
    }

    .text-content {
        padding: 15px;

    }


}

@media (max-width: 400px) {
    .hero-title-bits {
        font-size: 1.5rem !important;

    }
}

/* Suppression des anciennes classes */
.hero-slider-section,
.hero-slides,
.hero-slide,
.hero-features-bar {
    display: none;
}


/* =========================
   CONTENT
========================= */





/* Container */
.stats-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: auto;
}

/* =========================
   TITLE
========================= */

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    color: white;
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.title-line {
    width: 120px;
    height: 5px;
    background: white;
    margin: auto;
    border-radius: 20px;
}

/* =========================
   GRID
========================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-bottom: 20px;
}

/* =========================
   CARD
========================= */

.stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 35px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: 0.4s ease;
    overflow: hidden;
}

.title-card-count {
    font-family: "Times New Roman", Times, serif;

}


/* Hover Animation */
.stat-card:hover {
    transform: translateY(-10px);
    border-color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Animated Border */

@keyframes borderRotate {
    100% {
        transform: rotate(360deg);
    }
}

/* =========================
   IMAGE
========================= */

.image-box {
    width: 95px;
    height: 95px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: 0.4s;
}

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

.stat-card:hover .image-box {
    transform: scale(1.08);
    border-color: white;
}

/* =========================
   COUNTER
========================= */

.stat-card h3 {
    font-size: 55px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 500;
}

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

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

@media (max-width: 768px) {

    .section-title h2 {
        font-size: 40px;
    }

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

    .stat-card h3 {
        font-size: 42px;
    }
}

@media (max-width: 500px) {

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

    .section-title h2 {
        font-size: 32px;
    }
}

/* ── Section ── */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* ── Left Column (Text) ── */
.about-content {
    flex: 1;
    min-width: 0;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-content p {
    color: #333;
    line-height: 1.9;
    margin-bottom: 40px;
    text-align: justify;
    font-size: 20px;
}

/* ── Badges ── */
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.badge-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

.badge-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #d32f2f;
    white-space: nowrap;
}

/* ── Right Column (Image) ── */
.about-image {
    flex: 1;
    min-width: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

/* ── Responsive: Tablet ── */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        padding: 60px 30px;
        gap: 40px;
    }

    .about-content h2 {
        font-size: 2.4rem;
        font-family: emoji;
        text-align: left;
    }

    .about-image {
        width: 100%;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 600px) {
    .about-section {
        padding: 40px 20px;
        gap: 30px;
    }

    .about-content h2 {
        font-size: 1.9rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .about-badges {
        gap: 24px;
    }

    .badge-icon {
        width: 44px;
        height: 44px;
    }

    .badge-text {
        font-size: 20px;
    }
}


/* SECTION */
.services {
    padding: 80px 0;
    text-align: center;
}

.container {
    width: 90%;
    margin: auto;
}

/* HEADER */
.section-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #111111;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #e60000;
}

.service-card h3 {
    font-size: 15px;
    color: #000000;
    padding-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: #000000;
    line-height: 1.6;
}

/* RESPONSIVE */

/* Large tablets */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* SECTION */
.products {
    padding: 80px 0;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #000;
}

.section-header p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* GRILLE 5 COLONNES */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: auto;
}

/* CARTE PRODUIT */
.product-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(230, 0, 0, 0.08);
    border-color: rgba(230, 0, 0, 0.1);
}

/* ICONE */
.product-icon {
    font-size: 56px;
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) sepia(100%) hue-rotate(-50deg) saturate(300%) contrast(1.2);
    /* Filtre pour donner un style rouge/gris moderne */
}

/* TITRE */
.product-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
    color: #222;
    font-weight: 700;
}

/* TEXTE */
.product-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
    min-height: 90px;
    color: #000000;
}

/* LIEN */
.read-more {
    color: #e60000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more::after {
    content: '→';
    margin-left: 6px;
    opacity: 0;
    transition: 0.3s;
    display: inline-block;
}

.read-more:hover::after {
    opacity: 1;
    margin-left: 10px;
}

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

/* Desktop petit / Tablet large (<1200px) -> 3 colonnes */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Tablet standard (<900px) -> 2 colonnes */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 38px;
    }

    .product-card p {
        min-height: auto;
    }
}

/* Mobile (<600px) -> 1 colonne */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 32px;
    }
}


/* SECTION Nos points forts*/
.strengths {
    background: #ffffff;
    padding: 100px 0;
}

/* WRAPPER : Flex row (desktop), column (mobile) */
.strengths-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

/* CÔTÉ GAUCHE */
.strengths-content {
    flex: 1;
    max-width: 650px;
}

.strengths-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #111;
    font-weight: 700;
    text-align: left;
}

.subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 45px;
}



.features-grid-point-fort {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 30px;
}


.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* ICÔNE ROUGE */
.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-top: 2px;
}

/* TEXTE */
.feature-text h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #000;
}

.feature-text p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* CÔTÉ DROIT : IMAGE */
.strengths-image {
    flex: 1;
    max-width: 500px;
}

.strengths-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 380px;
    /* Hauteur minimum pour l'esthétique */
    background: #f0f0f0;
    /* Placeholder si image absente */
}

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

/* Tablet & Mobile */
@media (max-width: 992px) {
    .strengths-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .strengths-content {
        max-width: 100%;
        text-align: left;
    }

    .strengths-image {
        width: 100%;
        max-width: 600px;
        order: 2;
        /* Image passe en dessous (ou -1 pour au-dessus) */
    }
}

/* Petit mobile */
@media (max-width: 600px) {
    .strengths {
        padding: 60px 0;
    }

    .strengths-content h2 {
        font-size: 32px;
        text-align: left;

    }

    .features-grid-point-fort {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* ============================
   SECTION ACTUALITÉS
============================ */

.news-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- En-tête --- */
.news-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.news-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.news-header p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* --- Grille des cartes --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

/* --- Carte individuelle --- */
.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Image de la carte */
.news-card-image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

/* Contenu de la carte (superposé) */
.news-card-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px 24px;
    margin-top: -40px;
    /* Superposition sur l'image */
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 14px;
}

.news-card-content p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    /* Pousse le lien vers le bas */
}

/* Lien "En Savoir Plus" */
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.news-link:hover {
    color: #D32F2F;
}

.news-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.news-link:hover .news-icon {
    transform: translateX(3px);
}

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

/* Tablette : 2 colonnes */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }

    .news-header h2 {
        font-size: 1.8rem;
    }
}

/* Mobile : 1 colonne */
@media (max-width: 600px) {
    .news-section {
        padding: 50px 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-header h2 {
        font-size: 1.5rem;
    }

    .news-header p {
        font-size: 0.92rem;
    }

    .news-card-image {
        height: 200px;
    }

    .news-card-content {
        padding: 24px 20px 20px;
        margin-top: -35px;
    }

    .news-card-content h3 {
        font-size: 1rem;
    }
}

/* Boutons génériques */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    /* Bords arrondis */
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #e50000;
    /* Rouge */
    color: #fff;
}

.btn-primary:hover {
    background-color: #c00;
    /* Rouge plus foncé au survol */
    transform: translateY(-2px);
    /* Petit effet de survol */
}

/* --- Section CTA supérieure --- */
.cta-section {
    background-color: #fff;
    padding: 100px 0;
    /* Grand padding pour espacer le contenu */
    text-align: center;
}

.cta-section h1 {
    font-size: 3.2rem;
    /* Grande taille pour le titre principal */
    font-weight: 800;
    /* Très gras */
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
    /* Centre le paragraphe et ajoute de l'espace en bas */
}

/* --- Section de contact avec formulaire --- */
.contact-section {
    background-color: #000;
    /* Fond noir */
    color: #fff;
    padding: 80px 0;
    /* Padding interne */
    position: relative;
    /* Pour le background pattern */
    /* Background pattern (exemple - vous devrez créer votre propre image) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><circle cx="1" cy="1" r="0.5" fill="%23333333" opacity="0.3"/></svg>');
    /* Exemple SVG de petits points */
    background-repeat: repeat;
    background-size: 20px 20px;
    /* Ajustez la taille des points et leur espacement */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Info à gauche, formulaire à droite (formulaire plus large) */
    gap: 80px;
    /* Espacement entre les deux colonnes */
    align-items: flex-start;
    /* Aligne le contenu en haut des colonnes */
}

/* Partie info de contact (gauche) */
.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.contact-info p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 450px;
    text-align: left;
}

.email-link {
    display: inline-flex;
    align-items: center;
    color: #e50000;
    /* Rouge vif */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.email-link i {
    margin-right: 10px;
    font-size: 1.3em;
}

.email-link:hover {
    color: #c00;
}

/* Partie formulaire de contact (droite) */
.contact-form {
    padding-top: 10px;
    /* Aligne le haut du formulaire avec le titre du support */
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Deux colonnes pour les inputs nom/email et entreprise/tel */
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    /* Bordure subtile */
    border-radius: 8px;
    background-color: #fff;
    /* Fond blanc */
    color: #333;
    /* Texte noir */
    font-size: 1rem;
    outline: none;
    /* Supprime l'outline par défaut au focus */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
    /* Couleur du placeholder */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #e50000;
    /* Bordure rouge au focus */
    box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.2);
}

.contact-form textarea {
    margin-bottom: 20px;
    resize: vertical;
    /* Permet de redimensionner verticalement */
}

.btn-submit {
    background-color: #e50000;
    color: #fff;
    align-self: flex-start;
    /* Aligne le bouton à gauche dans le flex container */
    max-width: 180px;
    /* Limite la largeur du bouton Envoyer */
    width: 100%;
    /* S'adapte à la largeur max */
    padding: 15px;
    /* Ajuste le padding pour le bouton Envoyer */
}

.btn-submit:hover {
    background-color: #c00;
    transform: translateY(-2px);
}

/* Boutons flottants (retour en haut, langue) */
.scroll-to-top,
.lang-selector {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #e50000;
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    z-index: 1000;
    border: none;
    cursor: pointer;
}

.scroll-to-top:hover,
.lang-selector:hover {
    background-color: #c00;
}

.dropdown-category,
.dropdown li a.dropdown-category {
    color: #D32F2F;
    font-weight: bold;
    padding: 10px 20px 5px;
    pointer-events: none;
    font-size: 13px;
    text-transform: uppercase;
}

.lang-selector {
    bottom: 80px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    /* Forme rectangulaire pour le bouton FR */
    width: 60px;
    height: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* --- Responsive Design --- */

/* Pour les écrans de taille moyenne (tablettes, > 768px et < 1024px) */
@media (max-width: 1024px) {
    .cta-section h1 {
        font-size: 2.8rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        /* Passage à une seule colonne pour le contact */
        gap: 50px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        justify-content: start;
        text-align: justify;
    }

}

.email-link-container {
    display: flex;
    align-items: center;
}


.contact-info h2 {
    font-size: 2.2rem;
}

.contact-info p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-link {
    justify-content: center;

}

.svg-email {
    padding-right: 10px;
}

.contact-form {
    padding-top: 0;
}



/* Pour les petits écrans (mobiles, < 768px) */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h1 {
        font-size: 2.2rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .btn,
    .scroll-to-top,
    .lang-selector {
        width: 50%;
        height: 45px;
        font-size: 1rem;
        padding: 5px;
    }

    .lang-selector {
        width: 55px;
        height: 35px;
        font-size: 0.9rem;
    }

    .scroll-to-top,
    .lang-selector {
        right: 15px;
        bottom: 15px;
        padding: 5px;
    }

    .lang-selector {
        bottom: 70px;
    }
}

/* Pour les très petits écrans (< 480px) */
@media (max-width: 480px) {
    .cta-section h1 {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* --- Footer --- */
.main-footer {
    background-color: #fff;
    padding: 80px 0 30px 0;
    color: #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-about .footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}


.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.social-links a {
    color: #333;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e50000;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e50000;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
    flex-direction: row;

}

.contact-item i {
    color: #e50000;
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
    position: relative;
    top: 2px;
}

.contact-item span {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Bottom (copyright et séparateur) */
.footer-bottom {
    text-align: center;
}

.footer-divider {
    border: none;
    border-top: 1px solid #eee;
    /* Ligne fine et claire */
    margin: 0 auto 30px auto;
    width: 100%;
    max-width: 1000px;
    /* Limite la largeur du trait */
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #777;
}

/* --- Responsive Design --- */

/* Pour les écrans de taille moyenne (tablettes, > 768px et < 1024px) */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colonnes */
        gap: 30px;
    }

    .footer-about,
    .footer-links,


    .footer-content>*:nth-child(3) {
        grid-column: 1 / -1;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-links {
        grid-column: span 1;
    }

    .footer-contact {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}


/* Pour les petits écrans (mobiles, < 768px) */
@media (max-width: 768px) {
    .main-footer {
        padding: 50px 0 20px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-about .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        display: flex;
        justify-content: center;
        margin-bottom: 25px;
    }

    .social-links a {
        margin: 0 10px;
        /* Espacement uniforme */
    }

    .footer-links ul li {
        margin-bottom: 10px;
    }

    .footer-contact h4 {
        margin-top: 0;
    }

    .contact-item {
        justify-content: center;
        /* Centre les éléments de contact */
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-divider {
        margin-bottom: 20px;
    }
}

/* Pour les très petits écrans (< 480px) */
@media (max-width: 480px) {
    .main-footer {
        padding: 40px 0 15px 0;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 15px;
    }
}

/* ============================
   CARTE CTA FIXE EN BAS DE PAGE
============================ */

.fixed-cta-card {
    position: fixed;
    bottom: 24px;
    left: 80%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0d2137 0%, #132d4a 50%, #0f2640 100%);
    border-radius: 14px;
    padding: 28px 36px 28px 32px;
    max-width: 560px;
    width: calc(100% - 48px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideUpCta 0.6s ease-out 2s both;
}

/* Animation d'apparition */
@keyframes slideUpCta {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Bordure subtile lumineuse */
.fixed-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta-card-content {
    flex: 1;
    text-align: center;
}

.cta-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.cta-card-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 18px 0;
    line-height: 1.5;
}

.cta-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #D32F2F;
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.cta-card-btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.cta-card-btn svg {
    transition: transform 0.3s ease;
}

.cta-card-btn:hover svg {
    transform: translateX(3px);
}

/* Bouton fermer (X) */
.cta-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.cta-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-close-btn svg {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Tablette */
@media (max-width: 768px) {
    .fixed-cta-card {
        bottom: 16px;
        padding: 22px 24px 22px 20px;
        width: calc(100% - 32px);
        max-width: 500px;
    }

    .cta-card-content h3 {
        font-size: 1.05rem;
    }

    .cta-card-content p {
        font-size: 0.82rem;
    }

    .cta-card-btn {
        padding: 10px 22px;
        font-size: 0.88rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .fixed-cta-card {
        bottom: 20px;
        left: auto;
        right: 20px;
        transform: none;
        width: 60px;
        height: 60px;
        padding: 0;
        flex-direction: row;
        border-radius: 50%;
        background: #D32F2F;
        /* Solid red background for FAB */
    }

    .fixed-cta-card::before {
        display: none;
    }

    @keyframes slideUpCta {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cta-card-content h3,
    .cta-card-content p {
        display: none;
    }

    .cta-card-content {
        flex: none;
    }

    .cta-card-btn {
        width: 60px;
        height: 60px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        background: transparent;
        box-shadow: none;
        font-size: 0;
        /* Hide text, keep SVG */
    }

    .cta-card-btn:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
    }

    .cta-card-btn svg {
        width: 28px;
        height: 28px;
        margin: 0;
    }

    .cta-close-btn {
        display: none;
    }
}

/* ═══════════════════════════════════════════════
   NAVBAR LOGO LINK
═══════════════════════════════════════════════ */
.navbar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 24px;
}

.navbar-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.navbar-cta {
    flex-shrink: 0;
    margin-left: 16px;
    white-space: nowrap;
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════
   DROPDOWN SEPARATOR & CATEGORY LABEL
═══════════════════════════════════════════════ */
.dropdown-category-label {
    padding: 8px 20px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.dropdown-separator {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 0;
}

/* ═══════════════════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════════════════ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    margin-left: 12px;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.hamburger-btn:hover {
    border-color: var(--red);
    background: rgba(204, 20, 23, 0.04);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--txt);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

/* Animated X when open */
.hamburger-btn.hamburger-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.hamburger-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.hamburger-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════
   SIDEBAR OVERLAY
═══════════════════════════════════════════════ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.overlay-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ═══════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100dvh;
    background: #fff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sidebar.sidebar-open {
    transform: translateX(0);
}

/* Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 2px solid var(--red);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.sidebar-logo {
    height: 40px;
    width: auto;
}

.sidebar-close-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-close-btn:hover {
    background: var(--red);
    color: #fff;
}

/* Nav */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar-menu>li {
    border-bottom: 1px solid #f2f2f2;
}

/* Sidebar links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--txt);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--red);
    background: rgba(204, 20, 23, 0.05);
    padding-left: 26px;
}

.sidebar-link i {
    width: 18px;
    text-align: center;
    color: var(--red);
    font-size: 0.9rem;
}

/* Sidebar sublinks */
.sidebar-sublink {
    padding: 10px 20px 10px 46px;
    font-weight: 500;
    font-size: 0.88rem;
    color: #555;
}

.sidebar-sublink:hover {
    color: var(--red);
    background: rgba(204, 20, 23, 0.04);
    padding-left: 52px;
}

/* Group button (accordion) */
.sidebar-group {
    border-bottom: 1px solid #f2f2f2;
}

.sidebar-group-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--txt);
    text-align: left;
    transition: color 0.2s, background 0.2s;
}

.sidebar-group-btn span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-group-btn span i {
    width: 18px;
    text-align: center;
    color: var(--red);
    font-size: 0.9rem;
}

.sidebar-group-btn:hover {
    color: var(--red);
    background: rgba(204, 20, 23, 0.04);
}

.sidebar-chevron {
    font-size: 0.75rem;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Submenu */
.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fafafa;
}

.sidebar-submenu.submenu-open {
    /* height is set dynamically via JS */
}

.sidebar-sub-label {
    padding: 8px 20px 4px 46px;
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 16px;
}

.sidebar-cta-btn:hover {
    background: #a01215;
}

.sidebar-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #777;
    margin: 0;
}

.sidebar-contact-info p i {
    color: var(--red);
    width: 14px;
    text-align: center;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════ */

/* Desktop only — hide mobile elements */
@media (min-width: 1025px) {
    .hamburger-btn {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .sidebar-overlay {
        display: none !important;
    }

    .navbar-cta {
        display: inline-flex;
    }

    .nav-menu {
        display: flex !important;
    }
}

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

    /* Show hamburger, hide desktop nav & CTA */
    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        display: none !important;
    }

    .navbar-cta {
        display: none !important;
    }

    /* Make sidebar visible as a flex column (off-screen via transform) */
    .sidebar {
        display: flex !important;
    }

    .navbar {
        justify-content: space-between;
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-logo-link {
        margin-right: 0;
    }

    .topbar {
        padding: 0 16px;
    }

    .topbar-info {
        gap: 12px;
    }

    .topbar-item {
        font-size: 11px;
    }
}

/* Small mobile ≤ 600px — hide address in topbar */
@media (max-width: 600px) {
    .topbar-info .topbar-item:nth-child(2) {
        display: none;
    }

    .topbar {
        justify-content: space-between;
    }
}