:root {
    --twobm-primary: #5b2a86;
    --twobm-secondary: #3e1d5e;
    --twobm-accent: #f29a1a;
    --twobm-white: #ffffff;
    --twobm-muted: #f6f6f8;
    --twobm-text: #1e1e24;
    --twobm-ink: #1e1e24;
    --twobm-border: rgba(91, 42, 134, 0.14);
    --twobm-shadow: 0 18px 46px rgba(32, 18, 52, 0.1);
    --twobm-radius: 18px;
    --twobm-radius-sm: 10px;
    --twobm-font-heading: var(--cesce-font-heading, "Merriweather", Georgia, serif);
    --twobm-font-body: var(--cesce-font-body, "Inter", sans-serif);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--twobm-font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--twobm-text);
    background: var(--twobm-white);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.footer-title,
.footer-2bm-title,
.twobm-mega-col h3,
.twobm-mega-card h3,
.twobm-mega-banner h3,
.elementor-heading-title {
    font-family: var(--twobm-font-heading);
}

p,
li,
input,
select,
textarea,
button,
.btn,
.primary-menu,
.footer-menu,
.contact-list,
.elementor-widget-text-editor,
.elementor-button,
.elementor-nav-menu,
.elementor-icon-list-text {
    font-family: var(--twobm-font-body);
}

h1 {
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
}

h2 {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

h4 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

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

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

.container {
    width: min(100% - 40px, 1340px);
    margin-inline: auto;
}

.container.narrow {
    width: min(100% - 40px, 880px);
}

.container-fluid {
    width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 9999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    background: var(--twobm-accent);
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: var(--twobm-radius-sm);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-orange {
    background: var(--twobm-accent);
    color: #fff;
    box-shadow: 0 14px 28px rgba(242, 154, 26, 0.24);
}

.btn-orange:hover,
.btn-whatsapp:hover {
    background: var(--twobm-primary);
    color: #fff;
    box-shadow: 0 14px 30px rgba(91, 42, 134, 0.2);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

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

.btn-soft {
    border-color: rgba(91, 42, 134, 0.25);
    color: var(--twobm-primary);
    background: #fff;
}

.btn-soft:hover {
    border-color: var(--twobm-primary);
    background: var(--twobm-primary);
    color: #fff;
}

.btn-whatsapp {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(19, 196, 93, 0.16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(91, 42, 134, 0.08);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 32px rgba(31, 16, 56, 0.12);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-header .site-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    width: var(--twobm-header-logo-width, 176px);
    max-width: 45vw;
}

.site-header .site-brand a {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.site-header .site-brand img,
.site-header .site-brand .custom-logo,
.site-header .custom-logo-link img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
}

.site-navigation {
    flex: 1;
}

.primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.1vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 38px 0 34px;
    color: var(--twobm-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
    color: var(--twobm-accent);
}

.primary-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 0;
    height: 3px;
    background: var(--twobm-accent);
    transition: width 0.2s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-ancestor > a::after {
    width: 100%;
}

.primary-menu .menu-item-has-children > a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    order: 2;
}

.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    display: block;
    min-width: 250px;
    max-width: min(320px, calc(100vw - 32px));
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--twobm-border);
    border-radius: var(--twobm-radius-sm);
    box-shadow: 0 20px 42px rgba(24, 13, 41, 0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.primary-menu .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
    transform: translateX(8px);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li.is-submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

.primary-menu .sub-menu a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 18px;
    color: #1e1e24;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
    white-space: normal;
}

.primary-menu .sub-menu a::after {
    display: none;
}

.primary-menu .sub-menu a:hover {
    color: var(--twobm-accent);
}

.primary-menu .sub-menu .menu-item-has-children > a::before {
    transform: rotate(-45deg);
}

.twobm-mega-panel {
    position: fixed;
    top: var(--twobm-mega-top, 92px);
    left: 50vw;
    z-index: 999;
    width: min(1180px, calc(100vw - 32px));
    padding-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.twobm-has-mega:hover > .twobm-mega-panel,
.twobm-has-mega:focus-within > .twobm-mega-panel,
.twobm-has-mega.is-submenu-open > .twobm-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Réduction de l'écart vertical Mega Menu ElementsKit. */
.elementskit-megamenu-panel:not(.twobm-mega-panel),
.ekit-megamenu-panel:not(.twobm-mega-panel) {
    margin-top: 0 !important;
    transform: translateY(0) !important;
}

.twobm-mega-panel.elementskit-megamenu-panel,
.twobm-mega-panel.ekit-megamenu-panel {
    margin-top: 0 !important;
}

/* Si ElementsKit applique un top excessif. */
.elementskit-navbar-nav .elementskit-megamenu-panel:not(.twobm-mega-panel) {
    top: 100% !important;
}

.twobm-mega-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    padding: 30px;
    color: #1e1e24;
    background: #fff;
    border: 1px solid rgba(91, 42, 134, 0.12);
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(24, 13, 41, 0.14);
}

.twobm-mega-solutions .twobm-mega-inner {
    grid-template-columns: 1fr;
}

.twobm-mega-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.twobm-mega-solutions .twobm-mega-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.twobm-mega-col h3,
.twobm-mega-card h3,
.twobm-mega-banner h3 {
    margin: 0 0 14px;
    color: #5b2a86;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.twobm-mega-col li + li {
    margin-top: 8px;
}

.twobm-mega-panel .twobm-mega-col a {
    display: inline-flex;
    width: 100%;
    padding: 7px 0;
    color: #1e1e24;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.twobm-mega-panel .twobm-mega-col a::after {
    display: none;
}

.twobm-mega-panel .twobm-mega-col a:hover {
    color: #f29a1a;
    transform: translateX(3px);
}

.twobm-mega-card,
.twobm-mega-banner {
    padding: 26px;
    background: #f6f6f8;
    border-radius: 14px;
}

.twobm-mega-card p,
.twobm-mega-banner p {
    margin: 0 0 16px;
    color: #1e1e24;
    font-size: 14px;
    line-height: 1.65;
}

.twobm-mega-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #3e1d5e;
    color: #fff;
}

.twobm-mega-banner h3,
.twobm-mega-banner p {
    color: #fff;
}

/* 2BM Group - Boutons CTA Mega Menu. */
.elementskit-megamenu-panel .mega-menu-2bm-btn,
.ekit-megamenu-panel .mega-menu-2bm-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 14px 24px !important;
    border-radius: var(--twobm-radius-sm) !important;
    background: var(--twobm-accent) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 14px 28px rgba(242, 154, 26, 0.24) !important;
    transition: all 0.25s ease !important;
}

.twobm-mega-button::after,
.mega-menu-2bm-btn::after {
    display: none;
}

.elementskit-megamenu-panel .mega-menu-2bm-btn:hover,
.ekit-megamenu-panel .mega-menu-2bm-btn:hover {
    background: var(--twobm-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(91, 42, 134, 0.2) !important;
}

.twobm-mega-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.twobm-mega-stats strong {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    color: #5b2a86;
    font-size: 14px;
}

.header-cta {
    min-height: 48px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 6px;
    background: var(--twobm-primary);
    padding: 11px;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 85% 75%, rgba(242, 154, 26, 0.48), transparent 24%),
        radial-gradient(circle at 75% 18%, rgba(62, 29, 94, 0.55), transparent 26%),
        linear-gradient(118deg, #2a0a4c 0%, var(--twobm-primary) 47%, #35105f 100%);
}

.hero-bg-shapes::before,
.hero-bg-shapes::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-bg-shapes::before {
    inset: 0 auto 0 0;
    width: 30%;
    opacity: 0.28;
    background-image: linear-gradient(30deg, transparent 23%, rgba(242, 154, 26, 0.8) 24%, transparent 25%), radial-gradient(circle, rgba(242, 154, 26, 0.72) 2px, transparent 3px);
    background-size: 76px 76px, 64px 64px;
}

.hero-bg-shapes::after {
    right: -150px;
    bottom: -220px;
    width: 620px;
    height: 620px;
    transform: rotate(20deg);
    background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(247,147,30,0.42), rgba(108,43,217,0.55));
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 44px;
    padding: 70px 0 96px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--twobm-accent);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow.violet {
    color: var(--twobm-primary);
}

.hero-copy h1 {
    margin: 0;
    max-width: 750px;
    font-size: clamp(48px, 4.4vw, 56px);
    line-height: 1.1;
    font-weight: 800;
}

.hero-copy h1 span,
.eventpro-copy h2 span {
    color: var(--twobm-accent);
}

.hero-text {
    max-width: 650px;
    margin: 28px 0 34px;
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions,
.eventpro-actions,
.final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-media {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
}

.hero-media img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.kpi-section {
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.kpi-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--twobm-border);
    border-radius: var(--twobm-radius);
    box-shadow: var(--twobm-shadow);
    overflow: hidden;
}

.kpi-card {
    min-height: 130px;
    display: grid;
    grid-template-columns: 64px 1fr;
    align-content: center;
    gap: 12px;
    padding: 26px 36px;
    border-right: 1px solid rgba(91, 42, 134, 0.12);
}

.kpi-card:last-child {
    border-right: 0;
}

.kpi-icon {
    grid-row: span 2;
    color: var(--twobm-primary);
    font-size: 42px;
    line-height: 1;
}

.kpi-card strong {
    color: var(--twobm-primary);
    font-size: 32px;
    line-height: 1;
}

.kpi-card small {
    color: #332c48;
    font-weight: 500;
}

.section {
    padding: 80px 0;
}

.section-title {
    margin: 0 0 34px;
    color: var(--twobm-primary);
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-transform: none;
}

.filiales-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.service-card,
.project-card,
.post-card,
.empty-state {
    background: #fff;
    border: 1px solid var(--twobm-border);
    border-radius: var(--twobm-radius);
    box-shadow: 0 12px 30px rgba(22, 13, 39, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.project-card:hover,
.post-card:hover {
    border-color: rgba(91, 42, 134, 0.2);
    box-shadow: 0 18px 42px rgba(22, 13, 39, 0.1);
    transform: translateY(-4px);
}

.service-card {
    min-height: 258px;
    padding: 32px 28px;
}

.service-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.service-icon.purple { background: var(--twobm-primary); }
.service-icon.orange { background: var(--twobm-accent); }
.service-icon.red { background: #e00000; }

.service-card h3,
.project-card h3,
.post-card h2 {
    margin: 0 0 12px;
    color: var(--twobm-primary);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.service-card p {
    min-height: 78px;
    margin: 0 0 18px;
    color: #211936;
    line-height: 1.7;
}

.service-card a,
.project-card a,
.text-link {
    color: var(--twobm-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.eventpro-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #f4f0f7 0%, #fff 52%, #f9f4ff 100%);
}

.eventpro-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: center;
}

.eventpro-media img {
    filter: drop-shadow(0 28px 38px rgba(32, 18, 52, 0.16));
}

.eventpro-copy h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 42px);
    line-height: 1.2;
    color: var(--twobm-primary);
}

.eventpro-copy h3 {
    margin: 12px 0;
    color: var(--twobm-ink);
    font-size: 30px;
    line-height: 1.25;
}

.eventpro-copy p {
    margin: 0 0 20px;
    color: #281d3d;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--twobm-border);
    border-radius: var(--twobm-radius);
    overflow: hidden;
    margin: 24px 0;
    background: #fff;
}

.feature-item {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    color: #201434;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-right: 1px solid var(--twobm-border);
}

.feature-item:last-child {
    border-right: 0;
}

.feature-item span {
    color: var(--twobm-primary);
    font-size: 24px;
}

.clients-section {
    padding: 36px 0 52px;
    background: #fff;
}

.logo-slider {
    display: grid;
    grid-template-columns: repeat(8, minmax(120px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.twobm-logo-marquee {
    --visible-logos: 2;
    --logo-gap: 12px;
    width: 100%;
    overflow: hidden;
}

.twobm-logos-editable {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: var(--logo-gap);
    overflow: visible;
    animation: twobm-logo-marquee 46s linear infinite;
    will-change: transform;
}

.twobm-logo-track {
    display: flex;
    flex: 0 0 auto;
    gap: var(--logo-gap);
}

.twobm-logo-marquee:hover .twobm-logos-editable {
    animation-play-state: paused;
}

.client-logo {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--twobm-border);
    border-radius: 14px;
    background: #fff;
    color: #1d1a2a;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 6px 18px rgba(22, 13, 39, 0.05);
}

.twobm-logo-marquee .client-logo {
    flex: 0 0 calc((min(100vw - 28px, 1340px) - (var(--logo-gap) * (var(--visible-logos) - 1))) / var(--visible-logos));
}

.client-logo img {
    max-width: 130px;
    max-height: 54px;
    object-fit: contain;
}

@keyframes twobm-logo-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--logo-gap) / 2)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .twobm-logos-editable {
        width: 100%;
        animation: none;
        overflow-x: auto;
    }
}

@media (min-width: 760px) {
    .twobm-logo-marquee {
        --visible-logos: 4;
    }
}

@media (min-width: 1024px) {
    .twobm-logo-marquee {
        --visible-logos: 6;
    }
}

@media (min-width: 1320px) {
    .twobm-logo-marquee {
        --visible-logos: 8;
    }
}

.projects-section {
    padding-top: 24px;
}

.projects-grid,
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    overflow: hidden;
}

.project-card img {
    width: 100%;
    aspect-ratio: 16 / 8.4;
    object-fit: cover;
}

.project-body,
.post-card-body {
    padding: 28px;
}

.project-card p,
.post-card p {
    margin: 0 0 16px;
    color: #2a2338;
    line-height: 1.7;
}

/* CTA final 2BM : grille premium en 4 conteneurs, sans impact sur les autres sections. */
.cta-2bm-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    color: #fff;
    background:
        radial-gradient(circle at 9% 28%, rgba(242, 154, 26, 0.22), transparent 22%),
        radial-gradient(circle at 92% 72%, rgba(242, 154, 26, 0.16), transparent 20%),
        linear-gradient(110deg, #3e1d5e 0%, #5b2a86 100%);
}

.cta-2bm-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(242, 154, 26, 0.85) 1.5px, transparent 2px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, #000, transparent 42%, transparent 58%, #000);
}

.cta-2bm-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 30fr 30fr 20fr 20fr;
    align-items: center;
    gap: 28px;
    width: min(100% - 40px, 1280px);
    padding: 45px 60px;
}

.cta-2bm-block {
    min-width: 0;
}

.cta-2bm-title {
    margin: 0;
    color: #fff;
    font-family: var(--twobm-font-heading);
    font-size: clamp(32px, 3.25vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.cta-2bm-title span {
    color: #f29a1a;
}

.cta-2bm-text {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--twobm-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.cta-2bm-action {
    display: flex;
}

.cta-2bm-button-primary,
.cta-2bm-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 16px 28px;
    border-radius: 10px;
    font-family: var(--twobm-font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.cta-2bm-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.cta-2bm-icon-doc {
    width: 16px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.cta-2bm-icon-doc::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 7px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0 2px 0 2px;
    background: #f29a1a;
}

.cta-2bm-button-primary:hover .cta-2bm-icon-doc::after {
    background: #3e1d5e;
}

.cta-2bm-icon-whatsapp {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #25d366;
}

.cta-2bm-icon-whatsapp::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: -2px;
    width: 6px;
    height: 6px;
    background: #25d366;
    clip-path: polygon(0 0, 100% 30%, 20% 100%);
}

.cta-2bm-button-primary {
    border: 1px solid #f29a1a;
    background: #f29a1a;
    color: #fff;
    box-shadow: 0 16px 30px rgba(242, 154, 26, 0.26);
}

.cta-2bm-button-primary:hover {
    border-color: #3e1d5e;
    background: #3e1d5e;
    color: #fff;
    box-shadow: 0 16px 32px rgba(18, 8, 32, 0.22);
    transform: translateY(-2px);
}

.cta-2bm-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: transparent;
    color: #fff;
}

.cta-2bm-button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer 2BM - structure native compatible Elementor Theme Builder. */
.site-footer,
.footer-2bm {
    background: #fff;
    color: #1e1e24;
}

.footer-grid,
.footer-2bm-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.25fr 1.2fr;
    gap: 48px;
    padding: 56px 0 48px;
}

.footer-2bm-col {
    min-width: 0;
}

.footer-brand img,
.footer-2bm .custom-logo {
    width: var(--twobm-footer-logo-width, 150px);
    max-width: 100%;
    height: auto;
    margin-bottom: 14px;
}

.footer-brand p,
.footer-2bm-col p,
.contact-list,
.footer-menu {
    margin: 0;
    padding: 0;
    color: #1e1e24;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
}

.footer-title,
.footer-2bm-title {
    margin: 0 0 18px;
    color: #5b2a86;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-menu,
.contact-list {
    list-style: none;
}

.footer-menu {
    columns: 1;
}

.footer-menu li,
.contact-list li {
    margin-bottom: 11px;
    break-inside: avoid;
}

.footer-2bm-link,
.footer-2bm .footer-menu a,
.footer-2bm .contact-list a {
    color: #1e1e24;
    transition: color 0.2s ease;
}

.footer-2bm-link:hover,
.footer-2bm .footer-menu a:hover,
.footer-2bm .contact-list a:hover,
.footer-2bm-legal a:hover {
    color: #f29a1a;
}

.footer-2bm-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: var(--twobm-radius-sm);
    background: var(--twobm-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 14px 28px rgba(242, 154, 26, 0.24);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-2bm-cta:hover {
    background: var(--twobm-primary);
    color: #fff;
    box-shadow: 0 14px 30px rgba(91, 42, 134, 0.2);
    transform: translateY(-2px);
}

.social-links,
.footer-2bm-socials .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.social-links a,
.footer-2bm-socials .social-links a,
.floating-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #5b2a86;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-2bm-socials .social-links a:hover {
    background: var(--twobm-accent);
    color: #fff;
    transform: translateY(-1px);
}

.social-links svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-bottom,
.footer-2bm-bottom {
    color: #fff;
    background: #3e1d5e;
}

.footer-bottom-inner {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom p {
    margin: 0;
}

.footer-2bm-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.footer-2bm-legal a {
    color: #fff;
    transition: color 0.2s ease;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #16c45d;
    font-size: 24px;
    box-shadow: 0 16px 30px rgba(22, 196, 93, 0.34);
}

.page-hero {
    padding: 76px 0;
    color: #fff;
    background: linear-gradient(120deg, #2d0d53, var(--twobm-primary));
}

.page-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(42px, 5vw, 56px);
    line-height: 1.1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    font-weight: 700;
}

.content-section {
    padding: 80px 0;
}

.elementor-page-wrap {
    padding: 0;
}

.twobm-elementor-front-page,
.twobm-elementor-canvas,
.twobm-canvas-template .site-main {
    width: 100%;
    overflow-x: clip;
}

.elementor-page .site-main,
.twobm-full-width .site-main {
    width: 100%;
}

.elementor-section.elementor-section-boxed > .elementor-container,
.e-con {
    max-width: 1320px;
}

.elementor-section.elementor-section-stretched,
.elementor-section.elementor-section-full_width {
    width: 100%;
}

.single-cover {
    width: 100%;
    border-radius: var(--twobm-radius);
    margin-bottom: 30px;
}

.post-card {
    overflow: hidden;
}

.post-card-media {
    display: block;
    min-height: 170px;
    background: var(--twobm-muted);
}

.post-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 36px;
    text-align: center;
}

.twobm-elementor-block {
    width: 100%;
}

.twobm-editable-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.twobm-filiales-editable .service-card {
    min-height: auto;
}

.twobm-logos-editable .client-logo {
    color: #1d1a2a;
}

.twobm-carousel-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
}

.twobm-carousel-heading .section-title {
    margin-bottom: 0;
}

.twobm-carousel-controls {
    display: inline-flex;
    gap: 8px;
}

.twobm-carousel-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--twobm-border);
    border-radius: 50%;
    background: #fff;
    color: var(--twobm-primary);
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.twobm-realisations-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 86%);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    padding: 2px 2px 14px;
}

.twobm-realisations-carousel .project-card {
    scroll-snap-align: start;
}

.twobm-realisations-carousel::-webkit-scrollbar,
.logo-slider::-webkit-scrollbar {
    height: 8px;
}

.twobm-realisations-carousel::-webkit-scrollbar-thumb,
.logo-slider::-webkit-scrollbar-thumb {
    background: rgba(91, 42, 134, 0.24);
    border-radius: 999px;
}

.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title.elementor-size-xxl {
    font-family: var(--twobm-font-heading) !important;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
}

.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title.elementor-size-xl,
.elementor-widget-heading .elementor-heading-title.elementor-size-large {
    font-family: var(--twobm-font-heading) !important;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title.elementor-size-medium {
    font-family: var(--twobm-font-heading) !important;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-icon-list,
.elementor-widget-icon-list li,
.elementor-nav-menu a,
.elementor-button {
    font-family: var(--twobm-font-body) !important;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
    font-size: 16px;
    line-height: 1.7;
}

.elementor-button {
    min-height: 48px !important;
    padding: 14px 24px !important;
    border-radius: var(--twobm-radius-sm) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

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

@media (min-width: 640px) {
    .twobm-editable-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twobm-realisations-carousel {
        grid-auto-columns: minmax(300px, 48%);
    }
}

@media (min-width: 980px) {
    .twobm-filiales-editable {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .twobm-realisations-carousel {
        grid-auto-columns: minmax(280px, 24%);
    }
}

@media (max-width: 1180px) {
    .header-inner {
        gap: 18px;
    }

    .primary-menu {
        gap: 16px;
    }

    .primary-menu a {
        font-size: 14px;
    }

    .header-cta {
        display: none;
    }

    .filiales-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 920px) {
    .container {
        width: min(100% - 28px, 100%);
    }

    .header-inner {
        min-height: 76px;
        justify-content: space-between;
    }

    .site-header .site-brand {
        max-width: 42vw;
    }

    .menu-toggle {
        display: block;
    }

    .site-navigation {
        position: fixed;
        inset: 76px 0 auto 0;
        display: none;
        background: #fff;
        border-top: 1px solid var(--twobm-border);
        box-shadow: 0 18px 34px rgba(24, 13, 41, 0.12);
    }

    .site-navigation.is-open {
        display: block;
    }

    .primary-menu {
        display: block;
        padding: 10px 20px 18px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .primary-menu a {
        display: flex;
        justify-content: space-between;
        padding: 14px 0;
        font-size: 15px;
        font-weight: 600;
    }

    .primary-menu a::after {
        bottom: 8px;
    }

    .primary-menu .menu-item-has-children > a::before,
    .primary-menu .twobm-has-mega > a::before {
        margin-left: auto;
        transition: transform 0.18s ease;
    }

    .primary-menu .menu-item-has-children.is-submenu-open > a::before,
    .primary-menu .twobm-has-mega.is-submenu-open > a::before {
        transform: rotate(225deg) translate(-2px, -2px);
    }

    .primary-menu .sub-menu,
    .primary-menu .sub-menu .sub-menu {
        position: static;
        min-width: 0;
        max-width: none;
        padding: 0 0 0 14px;
        border: 0;
        border-left: 2px solid rgba(91, 42, 134, 0.14);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .primary-menu li.is-submenu-open > .sub-menu {
        display: block;
    }

    .primary-menu .sub-menu a {
        padding: 10px 0;
        font-size: 14px;
        font-weight: 500;
    }

    .twobm-mega-panel {
        position: static;
        display: none;
        width: 100%;
        padding: 0 0 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .twobm-has-mega:hover > .twobm-mega-panel,
    .twobm-has-mega:focus-within > .twobm-mega-panel {
        display: none;
    }

    .twobm-has-mega.is-submenu-open > .twobm-mega-panel {
        display: block;
        transform: none;
    }

    .twobm-mega-inner,
    .twobm-mega-solutions .twobm-mega-inner {
        display: block;
        padding: 18px;
        border-radius: 10px;
        box-shadow: none;
        background: #f6f6f8;
    }

    .twobm-mega-columns,
    .twobm-mega-solutions .twobm-mega-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .twobm-mega-card,
    .twobm-mega-banner {
        margin-top: 14px;
        padding: 18px;
    }

    .twobm-mega-banner {
        display: block;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-grid,
    .eventpro-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 60px 0 86px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 7vw, 48px);
        line-height: 1.1;
    }

    .hero-media img {
        min-height: 300px;
    }

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

    .kpi-card:nth-child(2) {
        border-right: 0;
    }

    .kpi-card {
        padding: 22px;
    }

    .logo-slider {
        grid-auto-flow: column;
        grid-auto-columns: 170px;
        grid-template-columns: none;
    }

    .cta-2bm-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 42px 36px;
    }

    .final-cta-inner,
    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-2bm-legal {
        justify-content: flex-start;
    }

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

@media (max-width: 640px) {
    .btn {
        width: 100%;
        min-height: 50px;
        padding-inline: 18px;
        font-size: 15px;
    }

    h1,
    .page-hero h1,
    .hero-copy h1,
    .elementor-widget-heading h1.elementor-heading-title,
    .elementor-widget-heading .elementor-heading-title.elementor-size-xxl {
        font-size: 34px;
        line-height: 1.1;
    }

    h2,
    .section-title,
    .eventpro-copy h2,
    .final-cta h2,
    .elementor-widget-heading h2.elementor-heading-title,
    .elementor-widget-heading .elementor-heading-title.elementor-size-xl,
    .elementor-widget-heading .elementor-heading-title.elementor-size-large {
        font-size: 28px;
        line-height: 1.2;
    }

    h3,
    .eventpro-copy h3,
    .service-card h3,
    .project-card h3,
    .post-card h2,
    .elementor-widget-heading h3.elementor-heading-title,
    .elementor-widget-heading .elementor-heading-title.elementor-size-medium {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-actions,
    .eventpro-actions,
    .final-actions {
        width: 100%;
    }

    .hero-text,
    .final-cta p {
        font-size: 16px;
    }

    .cta-2bm-section.final-cta {
        padding: 0;
    }

    .cta-2bm-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 42px 24px;
        text-align: center;
    }

    .cta-2bm-title {
        font-size: 34px;
        line-height: 1.12;
    }

    .cta-2bm-text {
        max-width: 100%;
        margin-inline: auto;
        font-size: 16px;
        line-height: 1.65;
    }

    .cta-2bm-button-primary,
    .cta-2bm-button-secondary {
        width: 100%;
        white-space: normal;
    }

    .hero-grid {
        gap: 28px;
        padding: 52px 0 78px;
    }

    .kpi-section {
        margin-top: -44px;
    }

    .kpi-panel,
    .filiales-grid,
    .feature-grid,
    .projects-grid,
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .kpi-card {
        border-right: 0;
        border-bottom: 1px solid rgba(91, 42, 134, 0.12);
    }

    .kpi-card:last-child {
        border-bottom: 0;
    }

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

    .eventpro-section,
    .section,
    .content-section {
        padding: 60px 0;
    }

    .clients-section {
        padding: 34px 0 44px;
    }

    .final-cta:not(.cta-2bm-section) {
        padding: 48px 0;
    }

    .service-card,
    .project-body,
    .post-card-body,
    .empty-state {
        padding: 28px;
    }

    .footer-grid,
    .footer-2bm-grid {
        gap: 28px;
        padding: 44px 0 36px;
    }

    .footer-menu {
        columns: 1;
    }
}

@media (max-width: 767px) {
    .elementskit-megamenu-panel .mega-menu-2bm-btn,
    .ekit-megamenu-panel .mega-menu-2bm-btn {
        width: 100% !important;
        white-space: normal !important;
    }
}
