/* ============================================
   Dotem — Charte Graphique CSS
   Version 2.0 — Poppins, corporate
   ============================================ */

/* --- Poppins (self-hosted) --- */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url('../fonts/poppins-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: block;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: block;
    src: url('../fonts/poppins-800.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
    --dotem-violet:         #9f166c;
    --dotem-violet-dark:    #7a1153;
    --dotem-violet-light:   rgba(159, 22, 108, 0.08);
    --dotem-dark-navy:      #1a1a2e;
    --dotem-dark-navy-2:    #33334f;
    --dotem-white:          #ffffff;
    --dotem-grey-bg:        #f5f6fa;
    --dotem-grey-border:    #e8e8ef;

    --dotem-gradient-start:  #2d2d5e;
    --dotem-gradient-end:    #0f0f1e;

    --dotem-text-primary:    #1a1a2e;
    --dotem-text-secondary:  #555568;
    --dotem-text-tertiary:   #8b8ba0;
    --dotem-text-muted:      #a0a0b8;

    --dotem-success:         #22c55e;
    --dotem-accent-pink:     #ff4797;
    --dotem-accent-teal:     #50e3c2;
    --dotem-accent-blue:     #3b82f6;

    --dotem-font-family:     'Poppins', sans-serif;

    --dotem-radius-xs:       4px;
    --dotem-radius-sm:       8px;
    --dotem-radius-md:       12px;
    --dotem-radius-lg:       16px;
    --dotem-radius-pill:     50px;

    --dotem-shadow-xs:       0 1px 3px rgba(0, 0, 0, 0.06);
    --dotem-shadow-card:     0 4px 24px rgba(0, 0, 0, 0.06);
    --dotem-shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.10);
    --dotem-shadow-header:   0 1px 12px rgba(0, 0, 0, 0.08);
    --dotem-shadow-active:   0 8px 32px rgba(159, 22, 108, 0.15);
    --dotem-shadow-btn:      0 4px 14px rgba(159, 22, 108, 0.3);

    --dotem-transition:      all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --dotem-transition-fast:  all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--dotem-font-family);
    font-weight: 400;
    font-size: 15px;
    color: var(--dotem-text-primary);
    background-color: var(--dotem-white);
    line-height: 1.7;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--dotem-violet);
    text-decoration: none;
    transition: var(--dotem-transition);
}

a:hover {
    color: #7a1153;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* --- Utility Classes --- */
.back-grey { background-color: var(--dotem-grey-bg); }
.padding-100-0 { padding: 100px 0; }
.mr-tp-60 { margin-top: 50px; }
.mr-tp-80 { margin-top: 70px; }

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: var(--dotem-transition);
}

.site-header.scrolled {
    background: var(--dotem-white);
    box-shadow: var(--dotem-shadow-header);
    padding: 0.6rem 0;
}

.site-header .navbar {
    padding: 0;
}

.site-header .navbar-brand img {
    height: 36px;
    transition: var(--dotem-transition);
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    transition: var(--dotem-transition);
    letter-spacing: 0;
    position: relative;
}

.site-header .nav-link:hover {
    color: #ffffff;
}

.site-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--dotem-violet);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .nav-link:hover::after {
    transform: scaleX(1);
}

.site-header.scrolled .nav-link {
    color: var(--dotem-text-primary);
}

.site-header.scrolled .nav-link:hover {
    color: var(--dotem-violet);
}

/* Logo swap */
.logo-white { display: block; }
.logo-purple { display: none; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-purple { display: block; }

/* CTA Buttons — corporate (no pill, subtle shadow) */
.sign-btn {
    display: inline-block;
    background-color: var(--dotem-violet);
    color: var(--dotem-white) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 18px;
    border-radius: var(--dotem-radius-sm);
    border: 2px solid var(--dotem-violet);
    transition: var(--dotem-transition);
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: var(--dotem-shadow-btn);
}

.sign-btn:hover {
    background-color: var(--dotem-violet-dark);
    border-color: var(--dotem-violet-dark);
    color: var(--dotem-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(159, 22, 108, 0.35);
}

/* Hamburger toggle — animated to X */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 1051;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon-bar {
    display: block;
    width: 24px;
    height: 2px;
    position: absolute;
    left: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-icon-bar:nth-child(1) { top: 2px; }
.navbar-toggler-icon-bar:nth-child(2) { top: 10px; }
.navbar-toggler-icon-bar:nth-child(3) { top: 18px; }

.navbar-toggler.active .navbar-toggler-icon-bar:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.navbar-toggler.active .navbar-toggler-icon-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler.active .navbar-toggler-icon-bar:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

.site-header.scrolled .navbar-toggler-icon-bar {
    background-color: var(--dotem-text-primary);
}

.navbar-toggler.active .navbar-toggler-icon-bar {
    background-color: var(--dotem-text-primary);
}

/* --- Hero Section --- */
.hero-section {
    background: var(--dotem-dark-navy);
    background: linear-gradient(135deg, var(--dotem-gradient-start) 0%, var(--dotem-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159, 22, 108, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--dotem-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 16px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-section h1 {
    color: #ffffff;
    font-weight: 800;
    font-size: 44px;
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--dotem-violet);
    color: var(--dotem-white) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 30px;
    border-radius: var(--dotem-radius-sm);
    border: none;
    transition: var(--dotem-transition);
    box-shadow: 0 4px 20px rgba(159, 22, 108, 0.35);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-cta-primary:hover {
    background-color: var(--dotem-violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(159, 22, 108, 0.4);
    color: var(--dotem-white) !important;
}

/* --- Section Title (reusable) --- */
.title-default-coodiv-two {
    text-align: center;
    margin-bottom: 48px;
}

.title-default-coodiv-two h2 {
    font-weight: 700;
    font-size: 30px;
    color: var(--dotem-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.title-default-coodiv-two p {
    font-size: 16px;
    font-weight: 400;
    color: var(--dotem-text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-dark .title-default-coodiv-two h2 {
    color: var(--dotem-white);
}

.section-dark .title-default-coodiv-two p {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Section Dark --- */
.section-dark {
    background-color: var(--dotem-dark-navy);
    color: var(--dotem-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Service Cards (Style ancien Dotem — centré, icône large, bouton CTA) --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-lg);
    border: 1px solid var(--dotem-grey-border);
    padding: 40px 24px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--dotem-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dotem-shadow-card-hover);
    border-color: transparent;
}

/* Decorative circle (like old Dotem) */
.service-card-deco {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--dotem-violet-light);
    opacity: 0.5;
    transition: var(--dotem-transition);
    pointer-events: none;
}

.service-card:hover .service-card-deco {
    opacity: 0.8;
    transform: scale(1.15);
}

/* Icon */
.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--dotem-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--dotem-transition);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--dotem-violet), var(--dotem-violet-dark));
}

.service-card-icon i {
    font-size: 24px;
    color: var(--dotem-violet);
    transition: var(--dotem-transition);
}

.service-card:hover .service-card-icon i {
    color: var(--dotem-white);
}

/* Title */
.service-card h4 {
    font-weight: 700;
    font-size: 17px;
    color: var(--dotem-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Description */
.service-card p {
    font-size: 13px;
    font-weight: 400;
    color: var(--dotem-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
}

/* CTA Button */
.service-card-btn {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 11px 20px;
    background: var(--dotem-violet);
    color: var(--dotem-white) !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--dotem-radius-sm);
    border: 2px solid var(--dotem-violet);
    text-align: center;
    text-decoration: none;
    transition: var(--dotem-transition);
}

.service-card-btn:hover {
    background: var(--dotem-white);
    color: var(--dotem-violet) !important;
    border-color: var(--dotem-violet);
    text-decoration: none;
}

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

@media (max-width: 767.98px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-card {
        padding: 28px 18px 22px;
    }

    .service-card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }

    .service-card-icon i {
        font-size: 20px;
    }

    .service-card h4 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 12px;
    }

    .service-card-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

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

/* Utility */
.text-violet {
    color: var(--dotem-violet) !important;
}

/* --- Stats / Chiffres clés --- */
.stats-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dotem-white);
    letter-spacing: 0.01em;
    line-height: 1.35;
    position: relative;
}

.stats-section {
    background: var(--dotem-dark-navy);
    color: var(--dotem-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(159, 22, 108, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--dotem-white);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.stat-number .text-violet {
    font-size: 44px;
}

.stat-label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

/* --- Engagements Bandeau --- */
.engagements-banner {
    background: var(--dotem-violet);
    padding: 40px 0;
}

.engagements-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.engagement-content {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.engagement-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.engagement-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-top: 4px;
    line-height: 1.5;
}

.engagement-divider {
    width: 2px;
    height: 60px;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
    margin: 0 20px;
}

@media (max-width: 991px) {
    .engagements-grid {
        flex-wrap: wrap;
        gap: 0;
    }
    .engagement-item {
        flex: 0 0 50%;
        justify-content: center;
        text-align: center;
        padding: 20px 16px;
    }
    .engagement-divider {
        display: none;
    }
}

@media (max-width: 575px) {
    .engagements-banner {
        padding: 0;
    }
    .engagements-grid {
        flex-direction: column;
        gap: 0;
    }
    .engagement-item {
        flex: 0 0 100%;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .engagement-item:last-child {
        border-bottom: none;
    }
    .engagement-value {
        font-size: 14px;
    }
    .engagement-label {
        font-size: 11px;
    }
}

/* --- Pourquoi nous choisir --- */
.valeur-card {
    text-align: center;
    padding: 32px 20px;
}

.valeur-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--dotem-radius-md);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--dotem-transition);
}

.valeur-card:hover .valeur-icon {
    background: var(--dotem-violet);
    transform: translateY(-2px);
}

.valeur-card:hover .valeur-icon svg {
    stroke: var(--dotem-white);
}

.valeur-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--dotem-violet);
    stroke-width: 1.5;
    fill: none;
    transition: var(--dotem-transition);
}

.valeur-card h4 {
    font-weight: 600;
    font-size: 17px;
    color: var(--dotem-text-primary);
    margin-bottom: 10px;
}

.valeur-card p {
    font-size: 14px;
    color: var(--dotem-text-secondary);
    line-height: 1.65;
}

.section-dark .valeur-card h4 {
    color: var(--dotem-white);
}

.section-dark .valeur-card p {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .valeur-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark .valeur-icon svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.section-dark .valeur-card:hover .valeur-icon {
    background: var(--dotem-violet);
    border-color: var(--dotem-violet);
}

.section-dark .valeur-card:hover .valeur-icon svg {
    stroke: var(--dotem-white);
}

/* --- Partners Marquee (infinite scroll) --- */
.partners-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--dotem-white), transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--dotem-white), transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

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

.partners-marquee-reverse {
    margin-top: 20px;
}

.partners-track-reverse {
    animation: marqueeScrollReverse 25s linear infinite;
}

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

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

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

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 60px;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--dotem-transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- FAQ --- */
.faq-item {
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-sm);
    border: 1px solid var(--dotem-grey-border);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--dotem-transition);
}

.faq-item.active {
    border-color: var(--dotem-violet);
    box-shadow: var(--dotem-shadow-active);
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 15px;
    color: var(--dotem-text-primary);
    transition: var(--dotem-transition);
}

.faq-question:hover {
    color: var(--dotem-violet);
}

.faq-question i {
    transition: var(--dotem-transition);
    color: var(--dotem-text-muted);
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--dotem-violet);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--dotem-text-secondary);
    display: none;
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    display: block;
}

/* --- Clients / Ils nous font confiance --- */
.clients-section {
    background: var(--dotem-white);
    padding-top: 60px;
}

.clients-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clients-title-line1 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--dotem-text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.clients-title-line2 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--dotem-text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.clients-title-plus {
    font-size: 48px;
    font-weight: 800;
    color: var(--dotem-violet);
    line-height: 0.8;
    vertical-align: middle;
    margin-right: 4px;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
}

.clients-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--dotem-grey-bg);
    border-radius: var(--dotem-radius-md);
    border: 1px solid var(--dotem-grey-border);
    transition: var(--dotem-transition);
    min-height: 90px;
}

.clients-logo-item:hover {
    box-shadow: var(--dotem-shadow-card);
    border-color: transparent;
    transform: translateY(-2px);
}

.clients-logo-item img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--dotem-transition);
}

.clients-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

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

@media (max-width: 575.98px) {
    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .clients-title-line1,
    .clients-title-line2 {
        font-size: 22px;
    }

    .clients-title-plus {
        font-size: 38px;
    }

    .clients-logo-item {
        padding: 16px;
        min-height: 70px;
    }

    .clients-logo-item img {
        max-height: 40px;
    }
}

/* --- Page Hero (service pages) --- */
.page-hero {
    background: var(--dotem-dark-navy);
    background: linear-gradient(135deg, var(--dotem-gradient-start) 0%, var(--dotem-gradient-end) 100%);
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159, 22, 108, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 750px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dotem-white);
    letter-spacing: -0.02em;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Maintenance CTA Section --- */
.maint-cta-section {
    background: var(--dotem-violet);
    background: linear-gradient(135deg, var(--dotem-violet) 0%, var(--dotem-violet-dark) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.maint-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.maint-cta-section h3 {
    color: var(--dotem-white);
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 14px;
}

.maint-cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 30px;
}

.maint-cta-section .sign-btn {
    background-color: var(--dotem-white);
    color: var(--dotem-violet) !important;
    border-color: var(--dotem-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.maint-cta-section .sign-btn:hover {
    background-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

/* --- Expertise Section --- */
.expertise-section {
    background: var(--dotem-dark-navy);
    padding: 80px 0;
}

.expertise-illustration {
    max-width: 380px;
    width: 100%;
}

.expertise-illustration svg {
    width: 100%;
    height: auto;
}

.expertise-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dotem-white);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.expertise-text-block p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 16px;
}

.expertise-text-block p:last-child {
    margin-bottom: 0;
}

.expertise-text-block strong {
    color: #fff;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-list li:last-child {
    border-bottom: none;
}

.expertise-bullet {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--dotem-violet);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-bullet i {
    font-size: 12px;
    color: var(--dotem-white);
}

@media (max-width: 767px) {
    .expertise-title {
        font-size: 22px;
        margin-top: 20px;
    }

    .expertise-list li {
        font-size: 14px;
    }
}

/* --- Timeline (Ce qui fait la différence) --- */
.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--dotem-violet) 0%, rgba(159,22,108,0.15) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dotem-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(159,22,108,0.1);
    z-index: 1;
}

.timeline-marker span {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.timeline-content {
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-lg);
    padding: 28px 28px 24px;
    border: 1px solid var(--dotem-grey-border);
    box-shadow: var(--dotem-shadow-xs);
    transition: var(--dotem-transition);
}

.timeline-content:hover {
    box-shadow: var(--dotem-shadow-card-hover);
    transform: translateX(4px);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dotem-text-primary);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14.5px;
    color: var(--dotem-text-secondary);
    line-height: 1.75;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .timeline {
        padding-left: 46px;
    }
    .timeline::before {
        left: 18px;
    }
    .timeline-marker {
        left: -46px;
        width: 36px;
        height: 36px;
        box-shadow: 0 0 0 4px rgba(159,22,108,0.1);
    }
    .timeline-marker span {
        font-size: 13px;
    }
    .timeline-content {
        padding: 20px 20px 18px;
    }
    .timeline-item {
        margin-bottom: 32px;
    }
}

/* --- Section Headline (centered big title) --- */
.section-headline {
    font-size: 32px;
    font-weight: 700;
    color: var(--dotem-text-primary);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto 16px;
}

.section-headline-sub {
    font-size: 18px;
    font-weight: 600;
    color: var(--dotem-text-primary);
    line-height: 1.6;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 767.98px) {
    .section-headline {
        font-size: 24px;
    }
}

/* --- Offer Row Blocks (stacked with SVG alternating left/right) --- */
.offer-row {
    margin-bottom: 60px;
}

.offer-row:last-child {
    margin-bottom: 0;
}

.offer-row-illustration {
    width: 100%;
    max-width: 420px;
}

.offer-row-illustration svg {
    width: 100%;
    height: auto;
}

.offer-row-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dotem-text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.offer-row-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-row-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    color: var(--dotem-text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.offer-row-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dotem-violet);
}

@media (max-width: 991.98px) {
    .offer-row {
        margin-bottom: 40px;
    }
    .offer-row-illustration {
        max-width: 320px;
        margin-bottom: 24px;
    }
}

/* --- Solution Hub Cards --- */
.solution-hub-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--dotem-grey-border);
    box-shadow: var(--dotem-shadow-xs);
    transition: var(--dotem-transition);
    height: 100%;
    text-decoration: none;
}

.solution-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dotem-shadow-card-hover);
    border-color: transparent;
    text-decoration: none;
}

.solution-hub-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--dotem-radius-md);
    background: var(--dotem-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--dotem-transition);
}

.solution-hub-card:hover .solution-hub-icon {
    background: var(--dotem-violet);
}

.solution-hub-icon i {
    font-size: 22px;
    color: var(--dotem-violet);
    transition: var(--dotem-transition);
}

.solution-hub-card:hover .solution-hub-icon i {
    color: var(--dotem-white);
}

.solution-hub-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dotem-text-primary);
    margin-bottom: 8px;
}

.solution-hub-body p {
    font-size: 14px;
    color: var(--dotem-text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.solution-hub-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--dotem-violet);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.solution-hub-card:hover .solution-hub-link {
    color: var(--dotem-violet-dark);
}

.solution-hub-link i {
    transition: transform 0.2s ease;
}

.solution-hub-card:hover .solution-hub-link i {
    transform: translateX(4px);
}

/* --- Discover Cards (maillage interne) --- */
.discover-card {
    display: flex;
    flex-direction: column;
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--dotem-grey-border);
    box-shadow: var(--dotem-shadow-xs);
    transition: var(--dotem-transition);
    height: 100%;
    text-decoration: none;
}

.discover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dotem-shadow-card-hover);
    border-color: transparent;
    text-decoration: none;
}

.discover-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--dotem-radius-md);
    background: var(--dotem-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--dotem-transition);
}

.discover-card:hover .discover-icon {
    background: var(--dotem-violet);
}

.discover-icon i {
    font-size: 20px;
    color: var(--dotem-violet);
    transition: var(--dotem-transition);
}

.discover-card:hover .discover-icon i {
    color: var(--dotem-white);
}

.discover-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dotem-text-primary);
    margin-bottom: 10px;
}

.discover-card p {
    font-size: 14px;
    color: var(--dotem-text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.discover-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--dotem-violet);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.discover-card:hover .discover-link {
    color: var(--dotem-violet-dark);
}

.discover-card:hover .discover-link i {
    transform: translateX(4px);
}

.discover-link i {
    transition: transform 0.2s ease;
}

/* --- Support Channel Cards --- */
.support-channel-card {
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-lg);
    padding: 40px 28px;
    border: 1px solid var(--dotem-grey-border);
    box-shadow: var(--dotem-shadow-xs);
    transition: var(--dotem-transition);
    height: 100%;
}

.support-channel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dotem-shadow-card-hover);
    border-color: transparent;
}

.support-channel-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--dotem-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--dotem-transition);
}

.support-channel-card:hover .support-channel-icon {
    background: var(--dotem-violet);
}

.support-channel-icon i {
    font-size: 24px;
    color: var(--dotem-violet);
    transition: var(--dotem-transition);
}

.support-channel-card:hover .support-channel-icon i {
    color: var(--dotem-white);
}

.support-channel-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dotem-text-primary);
    margin-bottom: 12px;
}

.support-channel-card p {
    font-size: 14px;
    color: var(--dotem-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* --- Contact Form --- */
.contact-form-card {
    background: var(--dotem-white);
    border-radius: var(--dotem-radius-lg);
    padding: 40px;
    border: 1px solid var(--dotem-grey-border);
    box-shadow: var(--dotem-shadow-xs);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dotem-text-primary);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.01em;
}

.contact-form .form-control {
    border: 2px solid var(--dotem-grey-border);
    border-radius: var(--dotem-radius-sm);
    padding: 12px 16px;
    font-family: var(--dotem-font-family);
    font-size: 14px;
    color: var(--dotem-text-primary);
    transition: var(--dotem-transition);
    background: var(--dotem-white);
}

.contact-form .form-control:focus {
    border-color: var(--dotem-violet);
    box-shadow: 0 0 0 3px rgba(159, 22, 108, 0.1);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--dotem-text-muted);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .sign-btn {
    padding: 12px 32px;
    font-size: 14px;
}

/* --- Contact Info Sidebar --- */
.contact-info-card {
    background: var(--dotem-dark-navy);
    border-radius: var(--dotem-radius-lg);
    padding: 40px;
    height: 100%;
    color: var(--dotem-white);
}

.contact-info-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dotem-white);
    margin-bottom: 24px;
}

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

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(159, 22, 108, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon i {
    font-size: 16px;
    color: var(--dotem-white);
}

.contact-info-text h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dotem-white);
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.contact-info-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info-text a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--dotem-transition);
}

.contact-info-text a:hover {
    color: var(--dotem-white);
}

/* --- Map placeholder --- */
.map-placeholder {
    border-radius: var(--dotem-radius-lg);
    overflow: hidden;
    border: 1px solid var(--dotem-grey-border);
    height: 300px;
    background: var(--dotem-grey-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767.98px) {
    .contact-form-card,
    .contact-info-card {
        padding: 28px;
    }
}

/* --- Page Hero Responsive --- */
@media (max-width: 767px) {
    .page-hero {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .page-hero h1 {
        font-size: 24px;
    }

    .page-hero-subtitle {
        font-size: 15px;
    }

    .maint-cta-section h3 {
        font-size: 20px;
    }
}

/* --- Footer Banner --- */
.footer-section-banner {
    background: var(--dotem-violet);
    background: linear-gradient(135deg, var(--dotem-violet) 0%, var(--dotem-violet-dark) 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-section-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.footer-section-banner h3 {
    color: var(--dotem-white);
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.footer-section-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 30px;
}

.footer-section-banner .sign-btn {
    background-color: var(--dotem-white);
    color: var(--dotem-violet) !important;
    border-color: var(--dotem-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.footer-section-banner .sign-btn:hover {
    background-color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer-section {
    background-color: var(--dotem-dark-navy);
    padding: 60px 0 30px;
    color: var(--dotem-white);
}

.footer-section h5 {
    font-weight: 600;
    font-size: 14px;
    color: var(--dotem-white);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 400;
    transition: var(--dotem-transition);
}

.footer-section ul li a:hover {
    color: var(--dotem-white);
}

.footer-section .footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-section .footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    font-size: 14px;
    transition: var(--dotem-transition);
}

.footer-social a:hover {
    background: var(--dotem-violet);
    color: var(--dotem-white);
}

.footer-contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--dotem-white);
}

/* --- Mega Menu --- */
.nav-arrow {
    font-size: 8px;
    opacity: 0.5;
    margin-left: 4px;
    display: inline;
    vertical-align: middle;
    transition: var(--dotem-transition);
}

.mega-dropdown > .nav-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.mega-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.mega-dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dotem-white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    border-top: 3px solid var(--dotem-violet);
    padding: 36px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999;
    pointer-events: none;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.mega-dropdown:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-menu-intro {
    border-right: 1px solid var(--dotem-grey-border);
    padding-right: 30px;
}

.mega-menu-intro h5 {
    font-weight: 700;
    font-size: 17px;
    color: var(--dotem-text-primary);
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.01em;
}

.mega-menu-intro p {
    font-size: 13px;
    color: var(--dotem-text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
}

.mega-menu-link {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--dotem-violet);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--dotem-transition);
}

.mega-menu-link:hover {
    color: var(--dotem-violet-dark);
}

.mega-menu-link i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.mega-menu-link:hover i {
    transform: translateX(4px);
}

.mega-menu-col {
    padding-left: 30px;
}

.mega-menu-col h6 {
    font-size: 11px;
    font-weight: 700;
    color: var(--dotem-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--dotem-grey-border);
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-col ul li {
    margin-bottom: 6px;
}

.mega-menu-col ul li a {
    font-size: 13px;
    font-weight: 400;
    color: var(--dotem-text-primary);
    padding: 6px 0;
    display: block;
    transition: var(--dotem-transition);
    border-radius: var(--dotem-radius-xs);
}

.mega-menu-col ul li a:hover {
    color: var(--dotem-violet);
    padding-left: 6px;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
}

/* --- Dropdown simple (Espace client) --- */
.dropdown-simple {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: var(--dotem-white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: var(--dotem-radius-sm);
    border-top: 3px solid var(--dotem-violet);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    pointer-events: none;
}

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

.dropdown-panel h6 {
    font-size: 10px;
    font-weight: 700;
    color: var(--dotem-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--dotem-grey-border);
}

.dropdown-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-panel ul li {
    margin-bottom: 4px;
}

.dropdown-panel ul li a {
    font-size: 13px;
    font-weight: 400;
    color: var(--dotem-text-primary);
    display: flex;
    align-items: center;
    padding: 8px 8px;
    border-radius: var(--dotem-radius-xs);
    transition: var(--dotem-transition);
}

.dropdown-panel ul li a:hover {
    background: var(--dotem-grey-bg);
    color: var(--dotem-violet);
}

.dropdown-panel ul li a i {
    color: var(--dotem-violet);
    width: 18px;
    font-size: 12px;
}

/* --- Nav actions --- */
.nav-actions {
    gap: 0;
}

/* --- Responsive --- */

/* XL breakpoint: full-screen mobile menu */
@media (max-width: 1199.98px) {

    /* Header stays on top when menu open */
    .site-header {
        z-index: 1060;
    }

    .site-header .navbar-brand,
    .site-header .navbar-toggler {
        position: relative;
        z-index: 1061;
    }

    /* Full-screen overlay below the header bar */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dotem-white);
        z-index: 1050;
        padding: 76px 0 30px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: none !important;
        border: none;
        border-radius: 0;
        margin: 0;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    /* Main menu — clean vertical list */
    .navbar-collapse .main-menu {
        padding: 0 24px;
    }

    .navbar-collapse .main-menu > .nav-item {
        border-bottom: 1px solid var(--dotem-grey-border);
    }

    .navbar-collapse .main-menu > .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-collapse .nav-link {
        color: var(--dotem-text-primary) !important;
        padding: 16px 0 !important;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-collapse .nav-link::after {
        display: none;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link:active {
        color: var(--dotem-violet) !important;
    }

    /* Chevron becomes right arrow on mobile */
    .navbar-collapse .nav-arrow {
        font-size: 12px;
        opacity: 0.4;
        margin-left: auto;
        transform: rotate(-90deg) !important;
    }

    .mega-dropdown.open > .nav-link .nav-arrow {
        transform: rotate(0deg) !important;
        opacity: 0.8;
    }

    /* Mega menu as slide-down sub-panel */
    .mega-dropdown {
        position: relative;
    }

    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: none;
        border-radius: 0;
        padding: 0 0 12px 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
        background: var(--dotem-grey-bg);
    }

    .mega-dropdown.open > .mega-menu {
        display: block;
        animation: mobileSlideDown 0.3s ease;
    }

    @keyframes mobileSlideDown {
        from { opacity: 0; max-height: 0; }
        to   { opacity: 1; max-height: 600px; }
    }

    /* Hide intro block on mobile (too verbose) */
    .mega-menu-intro {
        display: none;
    }

    /* Sub-menu columns */
    .mega-menu-col {
        padding: 12px 24px 0;
    }

    .mega-menu-col h6 {
        font-size: 10px;
        margin-bottom: 10px;
        padding-bottom: 6px;
        color: var(--dotem-violet);
    }

    .mega-menu-col ul li a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .mega-menu-col ul li:last-child a {
        border-bottom: none;
    }

    .mega-menu-col ul li a:hover {
        padding-left: 0;
        color: var(--dotem-violet);
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-menu-grid li a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    /* Nav actions at bottom */
    .nav-actions {
        padding: 20px 24px 0;
        border-top: 1px solid var(--dotem-grey-border);
        margin-top: 16px;
    }

    .navbar-collapse .sign-btn {
        display: block;
        text-align: center;
        margin-top: 8px;
        padding: 14px 24px;
        font-size: 14px;
        border-radius: var(--dotem-radius-sm);
    }

    /* Dropdown panels */
    .dropdown-panel {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: none;
        border-radius: 0;
        padding: 0 0 12px 0;
        background: var(--dotem-grey-bg);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
    }

    .dropdown-simple.open > .dropdown-panel {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section .hero-subtitle {
        font-size: 15px;
    }

    .stat-number {
        font-size: 40px;
    }

    .title-default-coodiv-two h2 {
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 26px;
    }

    .hero-section::before {
        display: none;
    }

    .padding-100-0 {
        padding: 60px 0;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-primary {
        text-align: center;
        justify-content: center;
    }

    .footer-section-banner h3 {
        font-size: 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}
