:root {
    --m4s-bg-primary: #050505;
    --m4s-bg-secondary: #0A0A0A;
    --m4s-bg-tertiary: #121212;
    --m4s-bg-card: rgba(255,255,255,0.02);

    --m4s-text-primary: #D4D4D4;
    --m4s-text-secondary: rgba(255,255,255,0.6);
    --m4s-text-muted: rgba(255,255,255,0.4);
    --m4s-border: rgba(255,255,255,0.06);
    --m4s-border-hover: rgba(255,255,255,0.1);

    --m4s-accent-orange: #F97316;
    --m4s-accent-orange-dark: #EA580C;
    --m4s-accent-amber: #F59E0B;
    --m4s-accent-emerald: #10B981;

    --m4s-gradient-primary: linear-gradient(135deg, #F97316, #EA580C);
    --m4s-gradient-secondary: linear-gradient(135deg, #F97316, #F59E0B);
    --m4s-gradient-tertiary: linear-gradient(135deg, #EA580C, #F97316);
    --m4s-gradient-hero: linear-gradient(135deg, #050505 0%, #0A0A0A 50%, #050505 100%);
    --m4s-gradient-gray: linear-gradient(135deg, #2A2A2A, #1A1A1A);

    --m4s-accent-soft: rgba(249, 115, 22, 0.1);
    --m4s-accent-glow: rgba(249, 115, 22, 0.2);
    --m4s-orange-soft: rgba(249, 115, 22, 0.1);
    --m4s-orange-glow: rgba(249, 115, 22, 0.25);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.6);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.7);
    --shadow-glow-primary: 0 0 30px rgba(249, 115, 22, 0.2);
    --shadow-glow-orange: 0 0 30px rgba(249, 115, 22, 0.25);

    --font-heading: 'Sora', 'Inter', Georgia, serif;
    --font-body: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif;

    --z-dropdown: 10;
    --z-sticky: 20;
    --z-modal: 30;
    --z-tooltip: 50;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--m4s-bg-primary);
    color: var(--m4s-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
}

::selection {
    background: var(--m4s-accent-orange);
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
}

h2 span, h1 span {
    background: var(--m4s-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    line-height: 1.7;
    color: var(--m4s-text-secondary);
}

a {
    color: var(--m4s-accent-orange);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--m4s-accent-orange);
}

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--m4s-gradient-primary);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: 20px 0;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.92) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--m4s-text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    padding: 4px 0;
}

.navbar-brand img {
    height: 68px;
    width: auto;
    display: block;
}

.navbar-brand span {
    background: var(--m4s-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-consultor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #FFF !important;
    border: 2px solid var(--m4s-accent-orange);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
    text-decoration: none;
    min-height: 44px;
    cursor: pointer;
}

.btn-consultor:hover {
    background: var(--m4s-gradient-secondary);
    color: #FFF !important;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-consultor svg {
    stroke: currentColor;
}

.hero,
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #050505;
    overflow: hidden;
    padding: 130px 0 60px;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.45;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section:hover .hero-bg-image {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 40%, rgba(249,115,22,0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5,5,5,0.60) 0%, rgba(5,5,5,0.30) 20%, rgba(5,5,5,0.25) 40%, rgba(5,5,5,0.35) 60%, rgba(5,5,5,0.65) 85%, rgba(5,5,5,0.85) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--m4s-accent-orange);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 10s ease-in-out infinite;
}

.particle:nth-child(1) { left: 8%; top: 15%; animation-delay: 0s; width: 5px; height: 5px; }
.particle:nth-child(2) { left: 20%; top: 65%; animation-delay: 0.8s; width: 3px; height: 3px; background: var(--m4s-accent-orange); }
.particle:nth-child(3) { left: 35%; top: 25%; animation-delay: 1.6s; width: 6px; height: 6px; background: var(--m4s-accent-orange); }
.particle:nth-child(4) { left: 50%; top: 75%; animation-delay: 0.4s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 65%; top: 20%; animation-delay: 2.4s; width: 4px; height: 4px; background: var(--m4s-accent-orange); }
.particle:nth-child(6) { left: 78%; top: 60%; animation-delay: 1.2s; width: 3px; height: 3px; background: var(--m4s-accent-orange); }
.particle:nth-child(7) { left: 45%; top: 85%; animation-delay: 2s; width: 5px; height: 5px; }
.particle:nth-child(8) { left: 12%; top: 80%; animation-delay: 2.8s; width: 3px; height: 3px; background: var(--m4s-accent-orange); }
.particle:nth-child(9) { left: 90%; top: 30%; animation-delay: 0.6s; width: 4px; height: 4px; background: var(--m4s-accent-orange); }
.particle:nth-child(10) { left: 55%; top: 10%; animation-delay: 3.2s; width: 3px; height: 3px; background: var(--m4s-accent-emerald); }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    15% { opacity: 0.7; }
    75% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-180px) scale(1.2); }
}

.hero .container,
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 860px;
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(6,6,14,0.6);
    border: 1px solid rgba(249,115,22,0.25);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #FDBA74;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
}

.hero-badge strong {
    color: #FFFFFF;
}

.hero-badge strong {
    color: #FFFFFF;
}

.hero-badge svg {
    flex-shrink: 0;
    color: var(--m4s-accent-amber);
}

.hero-badge .badge {
    font-size: 0.6rem;
    letter-spacing: 1px;
    padding: 4px 10px;
}

.hero-badge-typing {
    color: var(--m4s-text-primary);
    font-weight: 600;
}

.hero-badge-typing::after {
    content: '|';
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.08;
    letter-spacing: -1px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-title span {
    background: var(--m4s-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(249,115,22,0.3);
}

.hero-title span {
    background: var(--m4s-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(249,115,22,0.3);
}

.hero-text {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    line-height: 1.8;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.hero-text strong {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-text strong {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--m4s-gradient-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow-primary);
    min-height: 44px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.4);
    color: white;
}

.btn-glow {
    background: var(--m4s-gradient-secondary);
    box-shadow: var(--shadow-glow-orange);
}

.btn-glow:hover {
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.4);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--m4s-text-primary);
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--m4s-border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
}

.btn-outline-light:hover {
    border-color: var(--m4s-accent-orange);
    color: var(--m4s-accent-orange);
    background: var(--m4s-accent-soft);
}

.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--m4s-border);
    padding: 20px 0;
    z-index: 2;
}

.hero-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--m4s-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--m4s-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--m4s-border);
}

/* ── Hero Trust Stats ── */
.hero-trust [data-count] {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.hero-trust .text-muted {
    color: rgba(255,255,255,0.6) !important;
    font-weight: 500;
}

.hero-trust .text-gradient-secondary {
    font-weight: 800;
    font-size: 1.3rem;
}

.text-gradient-secondary {
    background: var(--m4s-gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-secondary {
    background: var(--m4s-gradient-secondary);
}

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

.text-purple {
    color: var(--m4s-accent-orange);
}

.trust-bar {
    padding: 40px 0;
    background: var(--m4s-bg-secondary);
    border-bottom: 1px solid var(--m4s-border);
}

.trust-bar-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--m4s-text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo-item {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--m4s-text-primary);
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    cursor: default;
}

.trust-logo-item:hover {
    color: var(--m4s-text-secondary);
}

.trust-logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.trust-logo-img:hover {
    opacity: 1;
}

/* ── Trust Bar Marquee ───────────────────────────────────── */
.trust-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.trust-marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: trust-marquee-scroll 40s linear infinite;
    will-change: transform;
}

.trust-marquee:hover .trust-marquee-track,
.trust-marquee:focus-within .trust-marquee-track {
    animation-play-state: paused;
}

@keyframes trust-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee {
        -webkit-mask-image: none;
                mask-image: none;
    }
    .trust-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

.section {
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--m4s-accent-orange);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 16px;
}

.section-text {
    font-size: 1.05rem;
    color: var(--m4s-text-secondary);
    line-height: 1.7;
}

.services {
    background: var(--m4s-bg-secondary);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.bento-card {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--m4s-gradient-primary);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249,115,22,0.2);
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.04);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card.featured {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.bento-tall .bento-card-stats {
    margin-top: auto;
}

.bento-card-icon {
    width: 56px;
    height: 56px;
    background: var(--m4s-accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--m4s-accent-orange);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover .bento-card-icon {
    background: var(--m4s-gradient-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-primary);
}

.bento-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--m4s-text-primary);
}

.bento-card p {
    font-size: 0.88rem;
    color: var(--m4s-text-secondary);
    line-height: 1.7;
}

.bento-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--m4s-border);
}

.bento-card-stats span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--m4s-accent-emerald);
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-highlight {
    font-size: 1.1rem;
    color: var(--m4s-text-primary);
    font-weight: 500;
    border-left: 3px solid var(--m4s-accent-orange);
    padding-left: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-diferenciais {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--m4s-text-secondary);
}

.diferencial-item svg {
    color: var(--m4s-accent-emerald);
    flex-shrink: 0;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.about-image-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 80px rgba(249,115,22,0.1);
    pointer-events: none;
}

.results {
    background: var(--m4s-bg-secondary);
    overflow: hidden;
}

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

.result-card {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card:hover {
    border-color: rgba(249,115,22,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.result-number {
    display: inline;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--m4s-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-plus, .result-percent {
    display: inline;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--m4s-gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--m4s-text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.result-bar {
    height: 3px;
    background: var(--m4s-border);
    border-radius: 4px;
    margin-top: 16px;
    overflow: hidden;
}

.result-bar span {
    display: block;
    height: 100%;
    background: var(--m4s-gradient-primary);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249,115,22,0.2);
    box-shadow: var(--shadow-lg);
}

.case-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--m4s-bg-tertiary);
}

.case-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.case-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6,6,14,0.8));
}

.case-card-image-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--m4s-gradient-secondary);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.case-card-body {
    padding: 28px;
}

.case-card-tag {
    display: inline-block;
    background: var(--m4s-accent-soft);
    color: var(--m4s-accent-orange);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 14px;
}

.case-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.case-card-result {
    font-size: 0.95rem;
    color: var(--m4s-accent-emerald);
    margin-bottom: 12px;
}

.case-card-result strong {
    font-size: 1.2rem;
}

.case-card p {
    font-size: 0.85rem;
    color: var(--m4s-text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.case-card-link {
    color: var(--m4s-accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-link:hover {
    gap: 14px;
    color: var(--m4s-accent-orange);
}

.cases-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 20px;
}

.cases-cta p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.testimonials {
    background: var(--m4s-bg-secondary);
}

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

.testimonial-card {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card:hover {
    border-color: rgba(249,115,22,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-featured {
    border-color: rgba(249, 115, 22, 0.2);
    background: var(--m4s-orange-soft);
}

.testimonial-featured-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--m4s-gradient-secondary);
    color: white;
    padding: 3px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: var(--m4s-accent-amber);
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--m4s-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author cite {
    font-style: normal;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--m4s-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.testimonial-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--m4s-text-primary);
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--m4s-text-muted);
}

.faq-section {
    background: var(--m4s-bg-secondary);
}

.faq-item {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
}

.faq-item:hover {
    border-color: rgba(249,115,22,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.04);
}

.faq-item .accordion-button {
    font-weight: 500;
    font-size: 0.95rem;
    background: transparent;
    color: var(--m4s-text-primary);
    box-shadow: none;
    padding: 24px 28px;
}

.faq-item .accordion-button::after {
    filter: invert(1);
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--m4s-accent-soft);
    color: var(--m4s-accent-orange);
    box-shadow: none;
    border-bottom: 1px solid var(--m4s-border);
}

.faq-item .accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(1.5);
}

.faq-item .accordion-body {
    background: transparent;
    color: var(--m4s-text-secondary);
    padding: 24px 28px;
}

.faq-item .accordion-body p strong {
    color: var(--m4s-text-primary);
}

.cta-section {
    position: relative;
    background: var(--m4s-gradient-hero);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../imagem/pattern-grid.svg');
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(249,115,22,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 40%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background: var(--m4s-orange-soft);
    border: 1px solid rgba(249,115,22,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--m4s-accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.cta-content h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.cta-content p strong {
    color: var(--m4s-text-primary);
}

.cta-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--m4s-text-secondary);
}

.cta-benefit svg {
    color: var(--m4s-accent-emerald);
    flex-shrink: 0;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer {
    background: var(--m4s-bg-primary);
    border-top: 1px solid var(--m4s-border);
    padding: 60px 0 30px;
}

.footer .text-muted,
.footer p,
.footer span,
.footer li,
.footer a:not(.navbar-brand):not(.footer-social a) {
    color: rgba(255,255,255,0.55) !important;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin-top: 16px;
    max-width: 340px;
    line-height: 1.7;
}

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

.footer-brand p {
    font-size: 0.88rem;
    color: var(--m4s-text-muted);
    margin-top: 16px;
    max-width: 340px;
    line-height: 1.7;
}

.footer h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--m4s-text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.footer-links a:hover {
    color: #F97316;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--m4s-border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #FDBA74;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m4s-text-muted);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.footer-social a:hover {
    border-color: var(--m4s-accent-orange);
    color: var(--m4s-accent-orange);
    background: var(--m4s-accent-soft);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
}

@media (max-width: 1024px) {
    .hero-stats-grid {
        gap: 24px;
    }

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

    .bento-card.featured {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

@media (max-width: 991.98px) {
    /* ── Navbar: scroll mais agressivo no mobile ── */
    .navbar {
        padding: 14px 0;
    }
    .navbar.scrolled {
        padding: 8px 0;
    }

    /* ── Toggler customizado ── */
    .navbar-toggler.m4s-toggler {
        border: none !important;
        padding: 0;
        outline: none !important;
        background: transparent !important;
        box-shadow: none !important;
        height: 30px;
        width: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .m4s-toggler .icon-bar {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #FFF;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        margin-top: 4px;
    }

    .m4s-toggler .icon-bar:first-child {
        margin-top: 0;
    }

    .m4s-toggler:not(.collapsed) .icon-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .m4s-toggler:not(.collapsed) .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .m4s-toggler:not(.collapsed) .icon-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* ── Painel mobile: slide-in da direita ── */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0A0A0A !important;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 90px 30px 80px;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 1040;
        overflow-y: auto;
        visibility: hidden;
    }

    .navbar-collapse.show {
        right: 0;
        visibility: visible;
    }

    .menu-close-btn {
        position: fixed;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: #FFF;
        cursor: pointer;
        padding: 8px;
        z-index: 1050;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        display: block;
    }

    .menu-close-btn.show {
        opacity: 0.8;
        pointer-events: auto;
    }

    .menu-close-btn.show:hover {
        opacity: 1;
    }

    .navbar-collapse .navbar-nav {
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    .navbar-collapse .nav-link {
        font-size: 22px;
        font-weight: 700;
        color: #FFF !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .navbar-collapse .nav-link:hover {
        color: var(--m4s-accent-orange) !important;
    }

    .btn-consultor-wrapper {
        width: 100%;
        text-align: center;
        padding: 20px 0 40px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .btn-consultor-wrapper .btn-consultor {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 16px;
        background: var(--m4s-gradient-secondary);
        color: #FFF !important;
        border: none;
    }

    .btn-consultor-wrapper .btn-consultor:hover {
        box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
        transform: translateY(-2px);
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-stats-bar {
        position: relative;
        margin-top: 40px;
    }

    .hero-stats-grid {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

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

    .bento-card.featured {
        grid-column: span 1;
    }

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

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

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .trust-logos {
        gap: 24px;
    }

    .trust-logo-item {
        font-size: 1rem;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 12px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats-grid {
        gap: 12px;
    }

    .hero-stat-value {
        font-size: 1.2rem;
    }

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

    .particle {
        display: none;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Methodology Section ── */
.methodology {
    background: var(--m4s-bg-primary);
    overflow: hidden;
}

.methodology::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.methodology-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.methodology-item {
    position: relative;
    padding-bottom: 36px;
}

.methodology-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 52px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--m4s-accent-orange), transparent);
    opacity: 0.3;
}

.methodology-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow-primary);
}

.methodology-item h3 {
    font-family: var(--font-body);
    margin-bottom: 4px;
}

.methodology-item p {
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ── Local Hub ── */
.local-hub {
    background: var(--m4s-bg-secondary);
}

.local-highlight {
    background: var(--m4s-accent-soft);
    border-left: 4px solid var(--m4s-accent-orange);
}

.local-highlight p {
    color: var(--m4s-text-primary);
}

.local-card {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
}

.local-card li strong {
    display: block;
    color: var(--m4s-text-primary);
    margin-bottom: 2px;
}

/* ── Case Card Fixes ── */
.case-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Innovation Section ── */
.innovation-section {
    background: var(--m4s-bg-primary);
    overflow: hidden;
}

.innovation-section::before {
    content: '';
    position: absolute;
    top: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--m4s-accent-emerald);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.innovation-featured {
    background: var(--m4s-bg-tertiary);
    border: 1px solid rgba(249,115,22,0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.innovation-featured:hover {
    border-color: rgba(249,115,22,0.25);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(249,115,22,0.05);
}

.innovation-featured-content {
    position: relative;
    z-index: 2;
}

.innovation-featured-visual {
    min-height: 320px;
    background: radial-gradient(ellipse at center, rgba(249,115,22,0.08) 0%, transparent 70%);
    overflow: hidden;
}

.innovation-animated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.innovation-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: innovation-float 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.4s);
}

.innovation-grid-item:hover {
    border-color: rgba(249,115,22,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-primary);
    background: rgba(255,255,255,0.04);
}

.innovation-grid-item span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--m4s-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes innovation-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.innovation-glow-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: innovation-glow-pulse 4s ease-in-out infinite;
}

@keyframes innovation-glow-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.innovation-mini-card {
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.innovation-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--m4s-gradient-primary);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.innovation-mini-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249,115,22,0.15);
    box-shadow: var(--shadow-md);
}

.innovation-mini-card:hover::before {
    opacity: 1;
}

.innovation-mini-icon {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.innovation-mini-card:hover .innovation-mini-icon {
    transform: scale(1.1);
}

.innovation-mini-card h4 {
    color: var(--m4s-text-primary);
    line-height: 1.3;
}

.innovation-mini-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--card-delay, 0ms);
}

.innovation-mini-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Bento Featured Card ── */
.bento-featured {
    background: linear-gradient(135deg, rgba(249,115,22,0.06) 0%, rgba(249,115,22,0.04) 100%);
    border-color: rgba(249,115,22,0.2);
    position: relative;
}

.bento-featured::before {
    background: var(--m4s-gradient-secondary);
    opacity: 1 !important;
}

.bento-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--m4s-gradient-secondary);
    color: white;
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
    50% { box-shadow: 0 0 30px rgba(249, 115, 22, 0.5); }
}

.tag-new {
    background: var(--m4s-gradient-secondary) !important;
    color: white !important;
}

/* ── CTA Diff Items ── */
.cta-diff {
    font-size: 0.88rem;
    color: var(--m4s-text-secondary);
    background: var(--m4s-bg-card);
    border: 1px solid var(--m4s-border);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-diff:hover {
    border-color: rgba(249,115,22,0.2);
    color: var(--m4s-text-primary);
    transform: translateY(-2px);
}

/* ── Comparison Table ── */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--m4s-border);
    background: var(--m4s-bg-card);
}
.comparison-table thead {
    background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(249,115,22,0.06));
}
.comparison-table th {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--m4s-text-primary);
    border-bottom: 2px solid var(--m4s-border);
    text-align: left;
}
.comparison-table th:first-child { width: 28%; }
.comparison-table th:nth-child(2) { color: rgba(255,255,255,0.5); }
.comparison-table th:nth-child(3) { color: var(--m4s-accent-orange); }
.comparison-table td {
    padding: 16px 24px;
    font-size: 0.88rem;
    color: var(--m4s-text-secondary);
    border-bottom: 1px solid var(--m4s-border);
    line-height: 1.5;
}
.comparison-table tbody tr:hover { background: var(--m4s-accent-soft); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 600; color: var(--m4s-text-primary); }
.comparison-table td:last-child { color: var(--m4s-accent-emerald); font-weight: 500; }
@media (max-width: 768px) {
    .comparison-table thead { display: none; }
    .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table td { display: block; }
    .comparison-table tr {
        padding: 16px;
        border-bottom: 1px solid var(--m4s-border);
    }
    .comparison-table td {
        padding: 6px 0;
        border: none;
        text-align: right;
    }
    .comparison-table td:first-child {
        text-align: left;
        font-size: 0.95rem;
        padding-bottom: 8px;
    }
    .comparison-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: rgba(255,255,255,0.4);
        font-size: 0.8rem;
    }
}

/* ── Navbar Dropdown ── */
.dropdown-menu {
    background: #0A0A0A;
    border: 1px solid var(--m4s-border);
    border-radius: 16px;
    padding: 8px;
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
}
.dropdown-menu .dropdown-item {
    color: var(--m4s-text-secondary);
    font-size: 0.88rem;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: var(--m4s-accent-soft);
    color: var(--m4s-accent-orange);
}
.dropdown-menu .dropdown-item.active {
    background: var(--m4s-accent-soft);
    color: var(--m4s-accent-orange);
}
.dropdown-menu .dropdown-item:active {
    background: var(--m4s-accent-soft);
    color: var(--m4s-accent-orange);
}
.dropdown-menu .dropdown-divider {
    border-top-color: var(--m4s-border);
    margin: 4px 0;
}

@media (max-width: 991.98px) {
    .navbar-collapse .dropdown-menu {
        position: static !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        border-radius: 0;
        margin-top: 0;
    }
    .navbar-collapse .dropdown-menu .dropdown-item {
        font-size: 18px;
        font-weight: 500;
        color: rgba(255,255,255,0.6) !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    .navbar-collapse .dropdown-menu .dropdown-item:hover {
        color: var(--m4s-accent-orange) !important;
    }
    .navbar-collapse .nav-link.dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}

/* ── Scroll Progress Indicator ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--m4s-gradient-primary);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── Desktop: Nav link hover line ── */
@media (min-width: 992px) {
    .menu-close-btn {
        display: none;
    }

    .m4s-navbar .nav-link {
        position: relative;
        color: rgba(255,255,255,0.8) !important;
        font-weight: 500;
        font-size: 15px;
        padding: 8px 16px !important;
        margin: 0 4px;
        border-radius: 4px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .m4s-navbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--m4s-accent-orange);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(-50%);
    }

    .m4s-navbar .nav-link:hover::after {
        width: 60%;
    }

    .m4s-navbar .nav-link:hover {
        color: #FFF !important;
    }

    .m4s-navbar .nav-link.active {
        color: var(--m4s-accent-orange) !important;
    }
}

/* ── Footer Badge Enhancements ── */
.footer .badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    letter-spacing: 0.5px;
}

/* ── Smooth hover image zoom ── */
.hero-bg-image {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section:hover .hero-bg-image {
    transform: scale(1.02);
}

/* ── Utility Classes ── */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.object-fit-cover {
    object-fit: cover;
}

/* ── Floating WhatsApp ── */
.float-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.float-whatsapp-label {
    position: absolute;
    right: 68px;
    background: #1a1a1a;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.float-whatsapp:hover .float-whatsapp-label {
    opacity: 1;
}

@media (max-width: 576px) {
    .float-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .float-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* ── Cookie Consent ── */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9997;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
}

.cookie-consent-text strong {
    color: #FFFFFF;
}

.cookie-consent-text a {
    color: var(--m4s-accent-orange);
}

.cookie-consent-btn {
    flex-shrink: 0;
    background: var(--m4s-gradient-primary);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
}

.cookie-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

@media (max-width: 640px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-btn {
        width: 100%;
    }
}
