@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary: #003B7A;
    --primary-light: #0056b3;
    --accent: #E8A020;
    --accent-dark: #c8880a;
    --white: #ffffff;
    --light: #f4f6f9;
    --gray: #6c757d;
    --dark: #1a1a2e;
    --text: #333333;
    --border: #dee2e6;
    --shadow: 0 4px 20px rgba(0,59,122,0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

.topbar {
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
    position: relative;
    z-index: 10;
}

body {
    padding-top: 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

    .topbar a:hover {
        color: var(--white);
    }

.topbar .phones span {
    margin-right: 16px;
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

    .nav-links > a, .dropdown > a {
        padding: 8px 11px;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--primary);
        border-radius: 4px;
        transition: var(--transition);
        white-space: nowrap;
        display: block;
    }

        .nav-links > a:hover, .dropdown > a:hover, .nav-links > a.active {
            background: var(--primary);
            color: var(--white);
        }

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    min-width: 210px;
    z-index: 100;
    overflow: hidden;
    border-top: 3px solid var(--accent);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 0.82rem;
    color: var(--primary);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

    .dropdown-menu a:last-child {
        border: none;
    }

    .dropdown-menu a:hover {
        background: var(--light);
        padding-left: 24px;
    }

.btn-direct {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 9px 16px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

    .btn-direct:hover {
        background: var(--accent-dark) !important;
    }

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

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    height: 50vh;
    background: var(--dark);
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 700px;
}

    .slide-content h2 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.1;
        text-shadow: 0 2px 20px rgba(0,0,0,0.5);
        animation: fadeUp 0.8s ease both;
    }

    .slide-content p {
        font-size: 1rem;
        margin-top: 14px;
        opacity: 0.9;
        animation: fadeUp 0.8s 0.2s ease both;
    }

.slide-btn {
    display: inline-block;
    margin-top: 24px;
    background: var(--accent);
    color: var(--white);
    padding: 13px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    animation: fadeUp 0.8s 0.4s ease both;
}

    .slide-btn:hover {
        background: var(--white);
        color: var(--primary);
    }

.hero-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

    .dot.active {
        background: var(--accent);
        transform: scale(1.3);
    }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

    .hero-arrow:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a5fa8 100%);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .page-hero::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 240px;
        height: 240px;
        background: rgba(255,255,255,0.04);
        border-radius: 50%;
    }

    .page-hero h1 {
        font-size: 2.4rem;
        font-weight: 800;
        position: relative;
    }

    .page-hero .breadcrumb {
        margin-top: 14px;
        font-size: 0.85rem;
        opacity: 0.7;
        position: relative;
    }

        .page-hero .breadcrumb a {
            color: var(--accent);
        }

        .page-hero .breadcrumb span {
            margin: 0 8px;
        }

section {
    padding: 80px 0;
}

.bg-light {
    background: var(--light);
}

.bg-primary {
    background: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

    .section-title.white {
        color: var(--white);
    }

.section-divider {
    width: 56px;
    height: 4px;
    background: var(--accent);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.8rem;
}

.btn-primary-color {
    background: var(--primary);
    color: var(--white);
}

    .btn-primary-color:hover {
        background: var(--primary-light);
        transform: translateY(-2px);
    }

.btn-accent-color {
    background: var(--accent);
    color: var(--white);
}

    .btn-accent-color:hover {
        background: var(--accent-dark);
        transform: translateY(-2px);
    }

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

    .btn-outline-primary:hover {
        background: var(--primary);
        color: var(--white);
    }

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    background: transparent;
}

    .btn-outline-white:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 1.85rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 0.93rem;
}

.about-box {
    border-left: 4px solid var(--accent);
    padding: 14px 18px;
    margin-bottom: 14px;
    background: var(--light);
    border-radius: 0 8px 8px 0;
}

    .about-box h4 {
        font-size: 0.68rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--accent);
        font-weight: 700;
        margin-bottom: 6px;
    }

    .about-box p {
        font-size: 0.85rem;
        color: var(--text);
        margin: 0;
        line-height: 1.6;
    }

.img-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

    .img-placeholder i {
        font-size: 5rem;
        opacity: 0.25;
    }

    .img-placeholder p {
        font-size: 0.85rem;
        opacity: 0.45;
    }

/* PRODUCTS */
.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 36px;
}

.tab-btn {
    padding: 14px 28px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    font-family: inherit;
}

    .tab-btn.active {
        color: var(--primary);
        border-bottom-color: var(--accent);
    }

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

.product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

    .product-card:hover {
        border-color: var(--accent);
        box-shadow: var(--shadow);
        transform: translateX(6px);
    }

.product-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    color: var(--accent);
}

.product-body {
    flex: 1;
}

    .product-body h3 {
        font-size: 1.05rem;
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 8px;
    }

    .product-body p {
        font-size: 0.83rem;
        color: var(--gray);
        line-height: 1.7;
        margin-bottom: 14px;
    }

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-num {
    width: 54px;
    height: 54px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 14px;
    color: var(--white);
}

.step-card h5 {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}

.step-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* INFO BAR */
.info-bar {
    background: var(--light);
    padding: 48px 0;
}

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

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,59,122,0.07);
    transition: var(--transition);
}

    .info-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

    .info-card i {
        font-size: 1.8rem;
        color: var(--accent);
        margin-bottom: 12px;
        display: block;
    }

    .info-card h5 {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    .info-card p {
        font-size: 0.8rem;
        color: var(--gray);
        line-height: 1.6;
    }

/* RSE */
.rse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rse-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,59,122,0.07);
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .rse-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.rse-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.rse-body {
    padding: 22px;
}

    .rse-body h5 {
        font-size: 0.92rem;
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 10px;
    }

    .rse-body p {
        font-size: 0.82rem;
        color: var(--gray);
        line-height: 1.7;
        margin-bottom: 14px;
    }

.read-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

    .read-link:hover {
        gap: 12px;
    }

/* NEWS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,59,122,0.07);
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.news-img {
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
}

.news-body {
    padding: 18px 20px;
}

    .news-body h5 {
        font-size: 0.86rem;
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 12px;
        line-height: 1.4;
    }

/* PARTNERS STRIP */
.partners-strip {
    background: var(--primary);
    padding: 44px 0;
    overflow: hidden;
}

    .partners-strip h3 {
        text-align: center;
        color: var(--white);
        font-size: 0.85rem;
        margin-bottom: 24px;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-weight: 700;
        opacity: 0.7;
    }

.partners-row {
    display: flex;
    gap: 24px;
    animation: scrollLeft 28s linear infinite;
    width: max-content;
}


.partner-chip {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 13px 22px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
    transition: var(--transition);
}


    .partner-chip:hover {
        background: var(--accent);
        color: var(--white);
    }

/* TEMOIGNAGES */
.temo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.temo-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,59,122,0.05);
}

    .temo-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: var(--accent);
    }

    .temo-card i {
        font-size: 2.4rem;
        color: var(--primary);
        margin-bottom: 12px;
        display: block;
        opacity: 0.6;
    }

    .temo-card img {
        font-size: 2.4rem;
        color: var(--primary);
        margin-bottom: 12px;
        display: block;
        opacity: 0.6;
    }

    .temo-card h5 {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--primary);
    }

/* FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,59,122,0.04);
}

.faq-q {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: var(--white);
    user-select: none;
}

    .faq-q:hover {
        background: var(--light);
    }

    .faq-q.open {
        background: var(--primary);
        color: var(--white);
    }

    .faq-q i {
        font-size: 0.75rem;
        transition: transform 0.3s;
    }

    .faq-q.open i {
        transform: rotate(180deg);
        color: var(--accent);
    }

.faq-a {
    display: none;
    padding: 18px 22px;
    font-size: 0.86rem;
    color: var(--gray);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    background: var(--white);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.ci-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ci-icon i {
        color: var(--accent);
        font-size: 1rem;
    }

.ci-text h5 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 5px;
}

.ci-text p {
    font-size: 0.83rem;
    color: var(--gray);
    line-height: 1.6;
}

.contact-form-box {
    background: var(--light);
    border-radius: 16px;
    padding: 36px;
}

    .contact-form-box h3 {
        font-size: 1.15rem;
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 24px;
    }

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 7px;
    }

    .form-group input, .form-group select, .form-group textarea {
        width: 100%;
        padding: 11px 15px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        font-family: inherit;
        font-size: 0.86rem;
        color: var(--text);
        background: var(--white);
        transition: var(--transition);
        outline: none;
    }

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0,59,122,0.1);
        }

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

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

.form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-top: 14px;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.83rem;
    line-height: 1.7;
    margin: 14px 0 18px;
    opacity: 0.65;
}

.footer-tagline {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul li {
    margin-bottom: 9px;
}

    .footer-col ul li a {
        font-size: 0.82rem;
        color: rgba(255,255,255,0.6);
        transition: var(--transition);
    }

        .footer-col ul li a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

.footer-contact-i {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

    .footer-contact-i i {
        color: var(--accent);
        margin-top: 2px;
        min-width: 14px;
        font-size: 0.85rem;
    }

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

    .footer-bottom strong {
        color: var(--accent);
    }

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

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

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: var(--primary);
        border-radius: 2px;
        transition: var(--transition);
    }

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

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

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

@media (max-width: 768px) {
    .topbar .container {
        flex-direction: column;
        gap: 4px;
        font-size: 0.72rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px;
        flex-direction: column;
        box-shadow: var(--shadow);
        z-index: 999;
    }

        .nav-links.open {
            display: flex;
        }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid var(--border);
        margin-top: 4px;
    }

    .hero {
        height: 50vh;
    }

    .slide-content h2 {
        font-size: 1.6rem;
    }

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

    .rse-grid, .news-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

    .product-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .rse-grid, .news-grid, .temo-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-hero h1 {
        font-size: 1.8rem;
    }
}

/* ============================================================
   ANIMATIONS & TRANSITIONS — NSIA CONGO
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

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

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

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    from {
        background-position: -400px 0;
    }

    to {
        background-position: 400px 0;
    }
}

@keyframes floatY {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes borderDraw {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: .6;
    }

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

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

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

@keyframes glowPulse {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(232,160,32,.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(232,160,32,0);
    }
}

@keyframes typewriter {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {
    0%,100% {
        border-color: transparent
    }

    50% {
        border-color: var(--accent)
    }
}

/* ---- Page load — staggered hero ---- */
.topbar {
    animation: fadeDown .5s ease both;
}

.navbar {
    animation: fadeDown .5s .1s ease both;
}

.hero {
    animation: scaleIn .7s .15s ease both;
}

/* ---- Section labels & dividers ---- */
.section-label {
    animation: fadeUp .6s ease both;
}

.section-divider {
    animation: borderDraw .8s .3s ease both;
    width: 0;
    animation-fill-mode: forwards;
}

.section-title {
    animation: fadeUp .7s .1s ease both;
}

/* ---- Reveal classes (scroll-triggered via JS) ---- */
.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .75s ease, transform .75s ease;
}

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .75s ease, transform .75s ease;
}

    .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

.reveal-scale {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal-scale.visible {
        opacity: 1;
        transform: scale(1);
    }

/* Stagger delays for grid children */
.reveal:nth-child(1) {
    transition-delay: .05s;
}

.reveal:nth-child(2) {
    transition-delay: .12s;
}

.reveal:nth-child(3) {
    transition-delay: .19s;
}

.reveal:nth-child(4) {
    transition-delay: .26s;
}

.reveal:nth-child(5) {
    transition-delay: .33s;
}

.reveal:nth-child(6) {
    transition-delay: .40s;
}

/* ---- Navbar transitions ---- */
.navbar {
    transition: box-shadow .4s ease, padding .4s ease, background .4s ease;
}

    .navbar.scrolled {
        padding: 6px 0;
        box-shadow: 0 6px 32px rgba(0,59,122,.18);
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(10px);
    }

.nav-links > a, .dropdown > a {
    position: relative;
    transition: color .25s ease, background .25s ease, transform .2s ease;
}

    .nav-links > a::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        right: 50%;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
        transition: left .3s ease, right .3s ease;
    }

    .nav-links > a:hover::after {
        left: 12px;
        right: 12px;
    }

    .nav-links > a:hover {
        transform: translateY(-1px);
    }

/* ---- Dropdown transitions ---- */
.dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    transition: padding .2s ease, background .2s ease;
}

/* ---- Hero slide transitions ---- */
.slides {
    transition: transform .75s cubic-bezier(.77,0,.175,1);
}

.slide-content h2 {
    animation: fadeUp .9s .2s ease both;
}

.slide-content p {
    animation: fadeUp .9s .35s ease both;
}

.slide-btn {
    animation: fadeUp .9s .5s ease both;
}

.slide-btn {
    transition: background .3s, color .3s, transform .3s, box-shadow .3s;
    box-shadow: 0 4px 16px rgba(232,160,32,.3);
}

    .slide-btn:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 8px 28px rgba(232,160,32,.45);
    }

/* Hero carousel dots */
.dot {
    transition: background .3s, transform .3s;
}

    .dot.active {
        animation: glowPulse 2s infinite;
    }

.hero-arrow {
    transition: background .3s, border-color .3s, transform .3s;
}

    .hero-arrow:hover {
        transform: translateY(-50%) scale(1.12);
    }

/* ---- Buttons — rich transitions ---- */
.btn {
    position: relative;
    overflow: hidden;
    transition: background .3s, color .3s, transform .25s, box-shadow .3s;
}

    .btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,.15);
        transform: translateX(-100%) skewX(-15deg);
        transition: transform .4s ease;
    }

    .btn:hover::after {
        transform: translateX(110%) skewX(-15deg);
    }

    .btn:hover {
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0) scale(.98);
    }

.btn-primary-color {
    box-shadow: 0 4px 14px rgba(0,59,122,.2);
}

    .btn-primary-color:hover {
        box-shadow: 0 8px 24px rgba(0,59,122,.3);
    }

.btn-accent-color {
    box-shadow: 0 4px 14px rgba(232,160,32,.25);
}

    .btn-accent-color:hover {
        box-shadow: 0 8px 24px rgba(232,160,32,.4);
    }

/* Ripple on click */
.btn .ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    width: 10px;
    height: 10px;
    transform: scale(0);
    animation: ripple .6s ease-out;
    pointer-events: none;
}

/* ---- Cards — hover micro-interactions ---- */
.rse-card, .news-card {
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .3s;
}

    .rse-card:hover, .news-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 48px rgba(0,59,122,.15);
    }

.rse-img, .news-img {
    transition: transform .5s ease;
}

.rse-card:hover .rse-img,
.news-card:hover .news-img {
    transform: scale(1.04);
}

/* Filiale cards */
.filiale-img img, [style*="filiale"] {
    transition: transform .6s ease;
}

/* Product cards */
.product-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    border-left: 4px solid transparent;
}

    .product-card:hover {
        transform: translateX(8px);
        border-left-color: var(--accent);
        box-shadow: 0 8px 32px rgba(0,59,122,.12);
    }

.product-icon {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(0,59,122,.2);
}

/* Info cards */
.info-card {
    transition: transform .3s ease, box-shadow .3s ease;
}

    .info-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0,59,122,.13);
    }

    .info-card i {
        transition: transform .4s cubic-bezier(.34,1.56,.64,1), color .3s;
    }

    .info-card:hover i {
        transform: scale(1.3) rotate(-8deg);
        color: var(--primary);
    }

/* Temoignages cards */
.temo-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}

    .temo-card:hover {
        transform: translateY(-6px) rotate(.5deg);
    }

    .temo-card i {
        transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    }

    .temo-card:hover i {
        transform: scale(1.25);
    }

/* Step cards */
.step-num {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}

.step-card:hover .step-num {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(232,160,32,.45);
}

.step-card {
    transition: transform .3s ease;
}

    .step-card:hover {
        transform: translateY(-4px);
    }

/* Value cards */
[class*="value-card"], .about-grid > div {
    transition: transform .3s ease, box-shadow .3s ease;
}

/* ---- About boxes ---- */
.about-box {
    transition: transform .3s ease, box-shadow .3s ease;
}

    .about-box:hover {
        transform: translateX(6px);
        box-shadow: 4px 4px 20px rgba(232,160,32,.15);
    }

/* ---- FAQ accordion ---- */
.faq-item {
    transition: box-shadow .3s ease;
}

    .faq-item:hover {
        box-shadow: 0 4px 20px rgba(0,59,122,.1);
    }

.faq-q {
    transition: background .3s ease, color .3s ease, padding .2s ease;
}

    .faq-q.open {
        padding-left: 28px;
    }

    .faq-q i {
        transition: transform .35s cubic-bezier(.4,0,.2,1);
    }

    .faq-q.open i {
        transform: rotate(180deg);
    }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .3s ease;
    display: block !important;
    padding: 0 22px;
}

    .faq-a.open {
        max-height: 400px;
        padding: 18px 22px;
    }

/* ---- Contact form ---- */
.form-group input, .form-group select, .form-group textarea {
    transition: border-color .3s ease, box-shadow .3s ease, transform .2s ease;
}

    .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
        transform: translateY(-1px);
    }

.form-group label {
    transition: color .3s ease;
}

.form-group:focus-within label {
    color: var(--accent);
}

/* ---- Footer links ---- */
.footer-col ul li a {
    transition: color .25s, padding-left .25s, opacity .25s;
    display: inline-block;
}

    .footer-col ul li a:hover {
        opacity: 1;
    }

/* ---- Partners strip ---- */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partners-row {
    animation: scrollLeft 28s linear infinite;
}

    .partners-row:hover {
        animation-play-state: paused;
    }

.partner-chip {
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

    .partner-chip:hover {
        transform: scale(1.08);
    }

/* ---- Page hero ---- */
.page-hero h1 {
    animation: fadeUp .7s .1s ease both;
}

.page-hero .breadcrumb {
    animation: fadeUp .7s .25s ease both;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: slideInLeft .8s .4s ease both;
}

/* ---- Topbar link ---- */
.topbar a {
    transition: color .25s, letter-spacing .3s;
}

    .topbar a:hover {
        letter-spacing: .5px;
    }

/* ---- Logo pulse on load ---- */
.navbar-brand svg {
    animation: scaleIn .5s .2s ease both;
}

.navbar-brand span {
    animation: fadeRight .5s .35s ease both;
}

/* ---- Read links ---- */
.read-link i {
    transition: transform .3s ease;
}

.read-link:hover i {
    transform: translateX(6px);
}

/* ---- Tab buttons ---- */
.tab-btn {
    transition: color .25s ease, border-bottom-color .25s ease, background .25s;
}

    .tab-btn:hover {
        background: var(--light);
    }

.tab-pane {
    animation: fadeUp .4s ease both;
}

/* ---- Section dividers animated on scroll ---- */
.section-divider.visible {
    animation: borderDraw .8s ease forwards;
}

/* ---- Floating elements background ---- */
.page-hero {
    overflow: hidden;
}

    .page-hero::before {
        animation: floatY 6s ease-in-out infinite;
    }

/* ---- btn-direct pulse ---- */
.btn-direct {
    animation: glowPulse 3s 2s infinite;
}

    .btn-direct:hover {
        animation: none;
    }

/* ---- Smooth image zoom on card hover ---- */
.filiale-img-wrap {
    overflow: hidden;
}

    .filiale-img-wrap img {
        transition: transform .6s cubic-bezier(.4,0,.2,1);
    }

    .filiale-img-wrap:hover img {
        transform: scale(1.07);
    }

/* ---- Contact info items ---- */
.contact-info-item {
    transition: transform .3s ease;
}

    .contact-info-item:hover {
        transform: translateX(6px);
    }

.ci-icon {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}

.contact-info-item:hover .ci-icon {
    transform: scale(1.15) rotate(-6deg);
}

/* ---- Footer contact items ---- */
.footer-contact-i {
    transition: transform .25s ease;
}

    .footer-contact-i:hover {
        transform: translateX(4px);
    }

/* ---- Progress bar on page load ---- */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    z-index: 9999;
    transform-origin: left;
    animation: loaderBar .6s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes loaderBar {
    from {
        transform: scaleX(0);
    }

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

/* ---- Scroll-to-top button ---- */
#scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,59,122,.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .3s, background .3s;
    z-index: 500;
}

    #scroll-top.visible {
        opacity: 1;
        visibility: visible;
    }

    #scroll-top:hover {
        background: var(--accent);
        transform: translateY(-4px) scale(1.1);
    }

/* ---- Custom cursor dot (desktop only) ---- */
@media (pointer: fine) {
    .cursor-dot {
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transition: transform .15s ease;
        mix-blend-mode: multiply;
    }
}

/* ---- Responsive: reduce motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   ANIMATIONS ENRICHIES v2 — NSIA CONGO
   ============================================================ */

/* ── Nouveaux keyframes ── */
@keyframes morphBlob {
    0%,100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveText {
    0%,100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-6px);
    }

    75% {
        transform: translateY(4px);
    }
}

@keyframes sparkle {
    0%,100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(.96);
    }

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(.9);
    }

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

@keyframes swingIn {
    0% {
        transform: rotateX(-90deg);
        opacity: 0;
        transform-origin: top;
    }

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

@keyframes lineDraw {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes floatCards {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(.5deg);
    }

    66% {
        transform: translateY(4px) rotate(-.3deg);
    }
}

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

    75% {
        transform: scale(2);
        opacity: 0;
    }

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

@keyframes navReveal {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

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

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

    100% {
        transform: scale(1.08) translateX(-1%);
    }
}

@keyframes textGlow {
    0%,100% {
        text-shadow: 0 0 0 rgba(232,160,32,0);
    }

    50% {
        text-shadow: 0 0 20px rgba(232,160,32,.4);
    }
}

@keyframes countBounce {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }

    80% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ── Navbar — animation d'entrée + transition fluide ── */
.navbar {
    animation: navReveal .5s cubic-bezier(.22,1,.36,1) both;
    transition: top .25s ease, padding .35s ease, box-shadow .35s ease, background .35s ease;
    will-change: top;
}

    .navbar.scrolled {
        padding: 5px 0;
        box-shadow: 0 8px 40px rgba(0,59,122,.2), 0 1px 0 rgba(232,160,32,.15);
        background: rgba(255,255,255,.95);
        backdrop-filter: blur(14px) saturate(160%);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
    }

/* ── Navbar brand hover ── */
.navbar-brand {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

    .navbar-brand:hover {
        transform: scale(1.04);
    }

/* ── Navbar links — underline qui glisse ── */
.nav-links > a {
    transition: color .25s, background .25s, transform .25s;
}

    .nav-links > a::after {
        transition: left .35s cubic-bezier(.4,0,.2,1), right .35s cubic-bezier(.4,0,.2,1);
    }

/* ── Hero – fond Ken Burns ── */


/* ── Hero content — décalage par slide ── */
.slides .slide:nth-child(1)
.slides .slide:nth-child(2)
.slides .slide:nth-child(3)
.slides .slide:nth-child(4)
/* ── Section header amélioré ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-label::before, .section-label::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    animation: fadeLeft .6s .3s ease both;
}

.section-label::after {
    animation-name: fadeRight;
}

/* ── Cards RSE / News — gradient animé sur l'image ── */
.rse-img, .news-img {
    background-size: 200% 200% !important;
    animation: gradientShift 6s ease infinite;
    transition: transform .5s ease;
}

/* ── Cards — bordure lumineuse au survol ── */
.rse-card::before, .news-card::before, .temo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}

.rse-card, .news-card, .temo-card {
    position: relative;
}

    .rse-card:hover::before, .news-card:hover::before, .temo-card:hover::before {
        opacity: 1;
    }

/* ── Product card — icône pulsante en attente ── */
.product-icon {
    animation: glowPulse 3s ease-in-out infinite;
}

.product-card:hover .product-icon {
    animation: bounceIn .5s cubic-bezier(.34,1.56,.64,1) both;
}

/* ── Step cards — numéros animés ── */
.step-num {
    position: relative;
}

    .step-num::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid var(--accent);
        opacity: 0;
        animation: accentPing 2.5s ease-in-out infinite;
    }

.step-card:nth-child(1) .step-num::after {
    animation-delay: 0s;
}

.step-card:nth-child(2) .step-num::after {
    animation-delay: .4s;
}

.step-card:nth-child(3) .step-num::after {
    animation-delay: .8s;
}

.step-card:nth-child(4) .step-num::after {
    animation-delay: 1.2s;
}

.step-card:nth-child(5) .step-num::after {
    animation-delay: 1.6s;
}

/* ── Valeur cards — icônes qui flottent ── */
.value-icon, .product-icon:not(:hover) {
    animation: floatY 3s ease-in-out infinite;
}

    .value-icon:nth-child(1) {
        animation-delay: 0s;
    }

    .value-icon:nth-child(2) {
        animation-delay: .3s;
    }

    .value-icon:nth-child(3) {
        animation-delay: .6s;
    }

/* ── Page hero — particules flottantes ── */
.page-hero {
    background-size: 400% 400% !important;
    animation: gradientShift 10s ease infinite;
}

/* ── Titre hero — brillance animée ── */
.slide-content h2 {
    animation: fadeUp .9s .2s ease both, textGlow 4s 1.5s ease-in-out infinite;
}

/* ── Read links / boutons CTA ── */
.read-link, .btn {
    position: relative;
}

    .read-link::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width .35s ease;
    }

    .read-link:hover::before {
        width: 100%;
    }

/* ── Contact form — label qui monte ── */
.form-group {
    position: relative;
}

    .form-group input:focus + label,
    .form-group textarea:focus + label {
        transform: translateY(-100%) scale(.85);
        color: var(--accent);
    }

/* ── About box — barre gauche animée ── */
.about-box {
    position: relative;
    overflow: hidden;
}

    .about-box::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        background: linear-gradient(to bottom, var(--accent), var(--primary));
        border-radius: 2px;
        transition: height .5s ease;
    }

    .about-box:hover::after {
        height: 100%;
    }

/* ── Partners chip — animation d'entrée hover ── */
.partner-chip {
    transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}

    .partner-chip:hover {
        transform: translateY(-4px) scale(1.1);
        box-shadow: 0 8px 20px rgba(232,160,32,.3);
    }

/* ── Footer brand — tagline animée ── */
.footer-tagline {
    display: inline-block;
    animation: textGlow 5s 2s ease-in-out infinite;
}

/* ── Scroll-to-top — rebond au hover ── */
#scroll-top:hover {
    animation: countBounce .5s ease both;
    background: var(--accent);
}

/* ── FAQ — item entier qui s'illumine ── */
.faq-item {
    position: relative;
    overflow: hidden;
}

    .faq-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(to right, rgba(232,160,32,.08), transparent);
        transition: width .4s ease;
        pointer-events: none;
    }

    .faq-item:hover::before {
        width: 100%;
    }

/* ── Info card — icône avec rotation continue au hover ── */
.info-card:hover i {
    animation: rotateSlow .6s ease both;
}

/* ── Temo card — rotation douce en hover ── */
.temo-card:hover {
    transform: translateY(-8px) rotate(1deg) scale(1.03);
}

/* ── Reveal améliorés — courbe plus expressive ── */
.reveal {
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

.reveal-left {
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

.reveal-right {
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

.reveal-scale {
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}

/* ── Responsive: reduce motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

/* ===== PAGES DÉTAIL PRODUIT ===== */
.prod-hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    color: white;
}

    .prod-hero::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--white);
        clip-path: ellipse(55% 100% at 50% 100%);
    }

.prod-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.prod-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.prod-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
}

.prod-tagline {
    font-size: 1.05rem;
    opacity: .85;
    max-width: 500px;
    line-height: 1.7;
}

.prod-big-icon {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 3px solid rgba(255,255,255,.25);
    animation: floatY 4s ease-in-out infinite;
    flex-shrink: 0;
}

.prod-breadcrumb {
    font-size: .8rem;
    opacity: .65;
    margin-bottom: 12px;
}

    .prod-breadcrumb a {
        color: var(--accent);
    }

    .prod-breadcrumb span {
        margin: 0 6px;
    }

/* Description section */
.prod-desc-section {
    padding: 72px 0;
}

.prod-desc-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.prod-desc-text h2 {
    font-size: 1.7rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 18px;
}

#prod-desc p {
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: .93rem;
}

#prod-desc ul {
    padding-left: 0;
}

    #prod-desc ul li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: var(--gray);
        font-size: .88rem;
        line-height: 1.7;
        margin-bottom: 10px;
        list-style: none;
    }

        #prod-desc ul li::before {
            content: '→';
            color: var(--accent);
            font-weight: 700;
            flex-shrink: 0;
        }

/* Avantages sidebar */
.avantages-box {
    background: var(--primary);
    border-radius: 16px;
    padding: 32px 28px;
    color: white;
    position: sticky;
    top: 90px;
}

    .avantages-box h3 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

#avantages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    #avantages-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: .85rem;
        line-height: 1.6;
        color: rgba(255,255,255,.85);
        list-style: none;
    }

        #avantages-list li i {
            color: var(--accent);
            margin-top: 3px;
            flex-shrink: 0;
        }

/* Garanties grid */
.garanties-section {
    background: var(--light);
    padding: 72px 0;
}

.garanties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.gar-card {
    background: white;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,59,122,.07);
    border: 1px solid var(--border);
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .3s;
    position: relative;
    overflow: hidden;
}

    .gar-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--primary));
        transform: scaleX(0);
        transition: transform .35s ease;
        transform-origin: left;
    }

    .gar-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0,59,122,.13);
        border-color: transparent;
    }

        .gar-card:hover::before {
            transform: scaleX(1);
        }

.gar-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}

.gar-card:hover .gar-icon {
    transform: scale(1.15) rotate(-8deg);
}

.gar-card h4 {
    font-size: .92rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.gar-card p {
    font-size: .82rem;
    color: var(--gray);
    line-height: 1.65;
}

/* Souscription section */
.souscription-section {
    padding: 72px 0;
}

.souscrip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.docs-box {
    background: var(--light);
    border-radius: 14px;
    padding: 28px;
}

    .docs-box h3 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 18px;
    }

#docs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    #docs-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: .85rem;
        color: var(--text);
        list-style: none;
        padding: 10px 14px;
        background: white;
        border-radius: 8px;
        border: 1px solid var(--border);
        transition: border-color .25s, transform .25s;
    }

        #docs-list li:hover {
            border-color: var(--accent);
            transform: translateX(4px);
        }

        #docs-list li i {
            color: var(--accent);
        }

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    padding: 36px 32px;
    color: white;
    text-align: center;
}

    .cta-box h3 {
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .cta-box p {
        font-size: .88rem;
        opacity: .8;
        margin-bottom: 24px;
        line-height: 1.7;
    }

    .cta-box .btn {
        margin: 6px;
    }

/* Produits similaires */
.similaires-section {
    background: var(--light);
    padding: 72px 0;
}

.similaires-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.sim-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
    color: inherit;
}

    .sim-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: var(--accent);
    }

.sim-card-icon {
    font-size: 2rem;
}

.sim-card h4 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--primary);
}

.sim-card p {
    font-size: .8rem;
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
}

.sim-card span {
    font-size: .75rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

    .prod-big-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .prod-hero h1 {
        font-size: 1.9rem;
    }

    .prod-desc-grid, .souscrip-grid {
        grid-template-columns: 1fr;
    }

    .garanties-grid, .similaires-grid {
        grid-template-columns: 1fr 1fr;
    }

    .avantages-box {
        position: static;
    }
}

@media (max-width: 480px) {
    .garanties-grid, .similaires-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HERO FULL HEIGHT ===== */
.hero {
    height: 50vh;
    min-height: 320px;
}

    .hero .slide-content h2 {
        font-size: 2.4rem;
    }

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

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 320px;
    }

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

/* ===== NAVBAR & TOPBAR FIXES — COMPORTEMENT SCROLL ===== */
.topbar {
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.navbar {
    will-change: transform;
}

    .navbar.scrolled {
        box-shadow: 0 4px 24px rgba(0,59,122,0.13);
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(8px);
        padding: 7px 0;
    }
/* Hero adapté à 50vh */
.hero .slide-content {
    padding: 16px 20px;
}

    .hero .slide-content h2 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .hero .slide-content p {
        font-size: 0.9rem;
        margin-top: 8px;
    }

.slide-btn {
    padding: 10px 28px;
    margin-top: 16px;
}

/* Menu mobile amélioré */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: white;
        padding: 80px 24px 32px;
        flex-direction: column;
        gap: 4px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        display: flex !important;
        z-index: 998;
        box-shadow: 4px 0 24px rgba(0,59,122,0.15);
    }

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

        .nav-links > a, .dropdown > a {
            font-size: 1rem !important;
            padding: 13px 16px !important;
            border-bottom: 1px solid #f0f0f0;
            border-radius: 8px;
        }

    .dropdown-menu {
        position: static !important;
        box-shadow: none;
        border: 1px solid #e8e8e8;
        margin: 4px 0 4px 12px;
        border-radius: 8px;
    }

    .btn-direct {
        margin-top: 16px;
        text-align: center;
    }
    /* Overlay sombre derrière le menu */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 997;
    }

        .nav-overlay.visible {
            display: block;
        }
}

/* ===== CAROUSEL CONTENT ANIMATION ===== */
.slide-content.anim-in > * {
    animation: fadeUp 0.7s ease both;
}

.slide-content.anim-in h2 {
    animation-delay: 0.05s;
}

.slide-content.anim-in p {
    animation-delay: 0.2s;
}

.slide-content.anim-in .slide-btn {
    animation-delay: 0.35s;
}

/* ===== CAROUSEL — IMAGE PLEIN ÉCRAN ===== */
.hero {
    position: relative;
    overflow: hidden;
    height: 50vh;
    min-height: 320px;
    background: var(--dark);
    .slide-bg img
}

.slides {
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
}

.slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

    .slide-bg img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        opacity: 1;
        pointer-events: none;
        filter: brightness(0.45);
    }

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 680px;
    width: 100%;
}

    .slide-content h2 {
        font-size: 2.4rem;
        font-weight: 800;
        line-height: 1.15;
        text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    }

    .slide-content p {
        font-size: 1rem;
        margin-top: 12px;
        opacity: 0.9;
    }

.slide-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--accent);
    color: #fff;
    padding: 11px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

    .slide-btn:hover {
        background: #fff;
        color: var(--primary);
        transform: translateY(-2px);
    }

/* Ken Burns sur les images */
.slides .slide:nth-child(1) .slide-bg img {
    animation: heroKenBurns 12s ease-in-out alternate infinite;
    animation-delay: 0s;
}

.slides .slide:nth-child(2) .slide-bg img {
    animation: heroKenBurns 12s ease-in-out alternate infinite;
    animation-delay: -3s;
}

.slides .slide:nth-child(3) .slide-bg img {
    animation: heroKenBurns 12s ease-in-out alternate infinite;
    animation-delay: -6s;
}

.slides .slide:nth-child(4) .slide-bg img {
    animation: heroKenBurns 12s ease-in-out alternate infinite;
    animation-delay: -9s;
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 280px;
    }

    .slide-content h2 {
        font-size: 1.6rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }
}

/* ===== GUARDIAN — overlay sur toutes les images ===== */
.rse-img,
.news-img,
.img-placeholder,
.product-icon,
.filiale-img-wrap,
.temo-logo {
    position: relative;
    overflow: hidden;
}

    /* Guardian sur les images dans rse-img / news-img */
    .rse-img img,
    .news-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
    }

    .rse-img::after,
    .news-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0,59,122,0.08) 0%, rgba(0,59,122,0.55) 100% );
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.4s ease;
    }

.rse-card:hover .rse-img::after,
.news-card:hover .news-img::after {
    opacity: 0.4;
}

.rse-card:hover .rse-img img,
.news-card:hover .news-img img {
    transform: scale(1.07);
}

/* Guardian sur img-placeholder (about, filiales) */
.img-placeholder {
    position: relative;
}

    .img-placeholder::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(0,59,122,0.15) 0%, rgba(0,59,122,0.35) 100% );
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.4s ease;
    }

    .img-placeholder:hover::after {
        opacity: 0.2;
    }

    .img-placeholder img {
        transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
    }

    .img-placeholder:hover img {
        transform: scale(1.04);
    }

/* Guardian sur product-icon */
.product-icon {
    position: relative;
}

    .product-icon::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0,59,122,0.25) 0%, rgba(232,160,32,0.18) 100%);
        border-radius: inherit;
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.35s ease;
    }

.product-card:hover .product-icon::after {
    opacity: 1;
}

.product-icon img {
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

.product-card:hover .product-icon img {
    transform: scale(1.12);
}

/* ===== ABOUT ANIMATIONS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0;
}

.about-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

    .about-text.visible {
        opacity: 1;
        transform: translateX(0);
    }

.about-grid > div:not(.about-text) {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s 0.2s cubic-bezier(0.4,0,0.2,1), transform 0.8s 0.2s cubic-bezier(0.4,0,0.2,1);
}

    .about-grid > div:not(.about-text).visible {
        opacity: 1;
        transform: translateX(0);
    }

.about-box {
    background: var(--light);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, background 0.3s ease;
}

    .about-box.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .about-box:hover {
        background: white;
        border-color: var(--primary);
        box-shadow: 0 4px 16px rgba(0,59,122,.09);
    }

    .about-box h4 {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 6px;
    }

.section-label {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .section-label.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
    }

        .about-grid > div:not(.about-text) {
            transform: translateY(30px);
        }
}

/* ===== FILIALES ANIMATIONS ===== */
.filiale-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.3s ease;
    opacity: 0;
    will-change: transform, opacity;
}

    .filiale-card.visible {
        opacity: 1;
    }

    .filiale-card:hover {
        transform: translateY(-10px) scale(1.015) !important;
        box-shadow: 0 20px 60px rgba(0,59,122,0.18);
        border-color: var(--accent);
    }

/* Animation 1 : glisse depuis la gauche */
.filiale-anim-left {
    transform: translateX(-60px) rotate(-3deg);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}

    .filiale-anim-left.visible {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }

/* Animation 2 : glisse depuis la droite */
.filiale-anim-right {
    transform: translateX(60px) rotate(3deg);
    transition: opacity 0.7s 0.15s ease, transform 0.7s 0.15s cubic-bezier(0.34,1.56,0.64,1);
}

    .filiale-anim-right.visible {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }

/* Animation 3 : zoom depuis le centre */
.filiale-anim-scale {
    transform: scale(0.75) translateY(30px);
    transition: opacity 0.65s 0.1s ease, transform 0.65s 0.1s cubic-bezier(0.34,1.56,0.64,1);
}

    .filiale-anim-scale.visible {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

/* Animation 4 : flip vertical */
.filiale-anim-flip {
    transform: rotateX(30deg) translateY(40px);
    transition: opacity 0.7s 0.05s ease, transform 0.7s 0.05s cubic-bezier(0.4,0,0.2,1);
    perspective: 600px;
}

    .filiale-anim-flip.visible {
        transform: rotateX(0deg) translateY(0);
        opacity: 1;
    }

.filiale-card .filiale-img-wrap {
    height: 260px;
    position: relative;
    overflow: hidden;
}

    .filiale-card .filiale-img-wrap img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
        filter: brightness(0.5) saturate(1.1);
    }

.filiale-card:hover .filiale-img-wrap img {
    transform: scale(1.08);
    filter: brightness(0.35) saturate(1.3);
}
/* Guardian filiale */
.filiale-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,59,122,0.1) 0%, rgba(0,59,122,0.7) 100% );
    z-index: 1;
    pointer-events: none;
}

.filiale-img-wrap .filiale-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filiale-img-wrap .filiale-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.filiale-card:hover .filiale-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.15) rotate(-8deg);
}

.filiale-badge {
    background: white;
    padding: 5px 14px;
    border-radius: 6px;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.82rem;
}

.filiale-body {
    padding: 28px;
}

/* ===== TABS PRODUITS — NOUVEAU STYLE ===== */
.tabs-wrapper {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,59,122,0.07);
}

.tabs-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    background: var(--light);
    border-radius: 50px;
    padding: 6px;
    border: none;
    width: fit-content;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    margin-bottom: 0;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    font-family: inherit;
    line-height: 1.4;
    white-space: nowrap;
}

    .tab-btn:hover {
        color: var(--primary);
        background: rgba(255,255,255,0.7);
    }

    .tab-btn.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 16px rgba(0,59,122,0.25);
        transform: none;
    }

        .tab-btn.active small {
            color: rgba(255,255,255,0.7);
        }

    .tab-btn small {
        display: block;
        font-weight: 400;
        font-size: 0.68rem;
        opacity: 0.65;
        margin-top: 2px;
    }

/* ===== PRODUCT CARDS — AGRANDIES ===== */
.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.3s ease;
    padding: 0;
}

    .product-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 20px 50px rgba(0,59,122,0.14);
        border-color: var(--accent);
    }

.product-img-wrap {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .product-img-wrap img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
        filter: brightness(0.75) saturate(1.1);
    }

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
    filter: brightness(0.55) saturate(1.3);
}
/* Guardian sur l'image produit */
.product-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,59,122,0.05) 0%, rgba(0,59,122,0.5) 100% );
    pointer-events: none;
    z-index: 1;
}

.product-img-label {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 2;
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(0,59,122,0.7);
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

.product-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .product-body h3 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .product-body p {
        font-size: 0.83rem;
        color: var(--gray);
        line-height: 1.75;
        margin-bottom: 18px;
        flex: 1;
    }

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Masquer l'ancien product-icon (remplacé par product-img-wrap) */
.product-icon {
    display: none !important;
}

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

    .product-img-wrap {
        height: 160px;
    }
}
