/**
 * Main Frontend Styles
 *
 * Custom styles for the Microprocessador website.
 * These styles load on all frontend pages.
 *
 * @package Microprocessador
 * @since 1.0.0
 */

/* ==========================================================================
   Table of Contents
   ========================================================================== */
/*
 * 1. Typography
 * 2. Base Styles
 * 3. Custom Post Types
 * 4. Divi Overrides
 * 5. Custom Components
 * 6. Utilities
 * 7. Responsive
 */

/* ==========================================================================
   1. Typography
   ========================================================================== */

/* DM Sans - Regular (Variable) */
@font-face {
    font-family: "DM Sans";
    src: url("/wp-content/mu-plugins/assets/fonts/DMSans-VariableFont_opsz,wght.woff2")
        format("woff2-variations");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* DM Sans - Italic (Variable) */
@font-face {
    font-family: "DM Sans";
    src: url("/wp-content/mu-plugins/assets/fonts/DMSans-Italic-VariableFont_opsz,wght.woff2")
        format("woff2-variations");
    font-weight: 100 1000;
    font-style: italic;
    font-display: swap;
}

/* ============================================
      Base Typography
      ============================================ */

body {
    font-family:
        "DM Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
      Common Text Elements
      ============================================ */

strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

/* ============================================
      Utility Classes
      ============================================ */

/* Display text for hero sections, etc. */
.text-display,
h1,
h2 {
    font-variation-settings: "opsz" 40;
}

/* Adjust optical size for very small text if needed */
.text-small,
small {
    font-variation-settings: "opsz" 10;
}

/* ==========================================================================
   2. Base Styles
   ========================================================================== */

/* Add your base styles here */

/* ==========================================================================
   3. Custom Post Types
   ========================================================================== */

/* Example: Project post type styles */
/*
.nuvem-project-card {
	padding: var(--nuvem-spacing-md);
	border: 1px solid var(--nuvem-border-color);
	border-radius: var(--nuvem-border-radius);
	transition: var(--nuvem-transition);
}

.nuvem-project-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.nuvem-project-title {
	font-size: 1.5rem;
	margin-bottom: var(--nuvem-spacing-sm);
	color: var(--nuvem-text-color);
}
*/

/* ==========================================================================
   4. Divi Overrides
   ========================================================================== */

/* Example: Override Divi module styles */
/*
.et_pb_section.nuvem-custom-section {
	padding: var(--nuvem-spacing-xl) 0;
}

.et_pb_module.nuvem-custom-module {
	margin-bottom: var(--nuvem-spacing-md);
}
*/

/* ============================================
      Header Scroll Effects
      ============================================ */

/* Ensure header section and parents allow menu to escape */
#page-container #et-boc #mp-header-section,
#page-container #et-boc {
    overflow: visible !important;
}

/* Base styles for header */
#page-container #et-boc #mp-header-section #mp-header-wrapper {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color;
    width: 100rem !important;
    max-width: 90vw !important;
    overflow: visible !important;
}

/* Scrolled state - position and blur */
#page-container #et-boc #mp-header-section #mp-header-wrapper.scrolled {
    background-color: rgba(255, 255, 255, 0.7) !important;
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    overflow: visible !important;
}

/* ==========================================================================
   5. Custom Components
   ========================================================================== */

/* ============================================
      Dynamic Menu Styles
      ============================================ */

/* Base menu styles */
.nuvem-menu,
.nuvem-menu ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.nuvem-menu li {
    position: relative;
    line-height: 1;
}

.nuvem-menu a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 0 1rem;
}

/* Horizontal menu layout */
.nuvem-menu-horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.nuvem-menu-horizontal > li {
    display: inline-block;
}

.nuvem-menu-horizontal > li > a {
    font-weight: 500;
}

.nuvem-menu-horizontal > li > a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Horizontal submenu */
.nuvem-menu-horizontal .sub-menu,
.nuvem-menu-horizontal-desktop .sub-menu,
.nuvem-menu-horizontal-mobile .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nuvem-menu-horizontal li:hover > .sub-menu,
.nuvem-menu-horizontal-desktop li:hover > .sub-menu,
.nuvem-menu-horizontal-mobile li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nuvem-menu-horizontal .sub-menu li,
.nuvem-menu-horizontal-desktop .sub-menu li,
.nuvem-menu-horizontal-mobile .sub-menu li {
    display: block;
}

.nuvem-menu-horizontal .sub-menu a,
.nuvem-menu-horizontal-desktop .sub-menu a,
.nuvem-menu-horizontal-mobile .sub-menu a {
    padding: 10px 16px;
    white-space: nowrap;
}

.nuvem-menu-horizontal .sub-menu a:hover,
.nuvem-menu-horizontal-desktop .sub-menu a:hover,
.nuvem-menu-horizontal-mobile .sub-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Nested submenus (horizontal) */
.nuvem-menu-horizontal .sub-menu .sub-menu,
.nuvem-menu-horizontal-desktop .sub-menu .sub-menu,
.nuvem-menu-horizontal-mobile .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 4px;
}

/* Vertical menu layout */
.nuvem-menu-vertical {
    display: flex;
    flex-direction: column;
}

.nuvem-menu-vertical > li {
    display: block;
    padding: 0;
    margin: 0;
}

.nuvem-menu-vertical > li > a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nuvem-menu-vertical > li:last-child > a {
    border-bottom: none;
}

.nuvem-menu-vertical > li > a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    padding-left: 20px;
}

/* Vertical submenu */
.nuvem-menu-vertical .sub-menu {
    background-color: rgba(0, 0, 0, 0.02);
    padding-left: 20px;
}

.nuvem-menu-vertical .sub-menu a {
    padding: 10px 16px;
    font-size: 0.95em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nuvem-menu-vertical .sub-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    padding-left: 20px;
}

/* Current menu item highlighting */
.nuvem-menu .current-menu-item > a,
.nuvem-menu .current-menu-ancestor > a,
.nuvem-menu .current_page_item > a {
    color: #0073aa;
    font-weight: 600;
}

/* Menu item with children indicator */
.nuvem-menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.6;
}

.nuvem-menu-vertical .menu-item-has-children > a::after {
    float: right;
    margin-top: 8px;
}

/* Responsive layouts - Desktop only */
@media (min-width: 768px) {
    .nuvem-menu-horizontal-desktop {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nuvem-menu-horizontal-desktop > li {
        display: inline-block;
    }

    .nuvem-menu-vertical-desktop {
        display: flex;
        flex-direction: column;
    }

    .nuvem-menu-vertical-desktop > li {
        display: block;
    }
}

/* Responsive layouts - Mobile only */
@media (max-width: 767px) {
    .nuvem-menu-horizontal-mobile {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nuvem-menu-horizontal-mobile > li {
        display: inline-block;
    }

    .nuvem-menu-vertical-mobile {
        display: flex;
        flex-direction: column;
    }

    .nuvem-menu-vertical-mobile > li {
        display: block;
    }
}

/* Hide menu on specific devices */
.nuvem-menu-hide-mobile {
    display: block !important;
}

.nuvem-menu-hide-desktop {
    display: block !important;
}

@media (max-width: 767px) {
    .nuvem-menu-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .nuvem-menu-hide-desktop {
        display: none !important;
    }
}

/* ============================================
      Mobile Hamburger Menu Toggle
      ============================================ */

/* Hamburger toggle button */
.nuvem-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1000000 !important;
    transition: all 0.3s ease;
}

.nuvem-menu-toggle:hover {
    opacity: 0.7;
}

.nuvem-menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
}

.nuvem-menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation to X */
.nuvem-menu-toggle.active .nuvem-menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nuvem-menu-toggle.active .nuvem-menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nuvem-menu-toggle.active .nuvem-menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu wrapper */
.nuvem-menu-mobile-wrapper {
    position: relative;
}

/* Mobile menu overlay */
.nuvem-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nuvem-menu-overlay.active {
    opacity: 1;
}

/* Mobile menu panel */
.nuvem-menu-mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 999999 !important;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 60px 0 20px;
}

.nuvem-menu-mobile-panel.active {
    right: 0;
}

/* Mobile menu close button */
.nuvem-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    padding: 8px;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}

.nuvem-menu-close:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

/* Mobile menu styles */
.nuvem-menu-mobile-panel .nuvem-menu {
    padding: 0;
}

.nuvem-menu-mobile-panel .nuvem-menu > li {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nuvem-menu-mobile-panel .nuvem-menu a {
    padding: 14px 20px;
    display: block;
}

.nuvem-menu-mobile-panel .nuvem-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nuvem-menu-mobile-panel .sub-menu {
    background-color: rgba(0, 0, 0, 0.02);
    padding-left: 0;
}

.nuvem-menu-mobile-panel .sub-menu a {
    padding-left: 40px;
    font-size: 0.95em;
}

.nuvem-menu-mobile-panel .sub-menu .sub-menu a {
    padding-left: 60px;
}

/* Show toggle button on mobile only */
@media (max-width: 767px) {
    .nuvem-menu-toggle {
        display: block;
    }

    /* Hide menu by default on mobile when toggle is enabled */
    .nuvem-menu-with-toggle .nuvem-menu-container {
        display: none;
    }

    /* Show overlay when active */
    .nuvem-menu-overlay.active {
        display: block;
    }
}

/* Hide toggle on desktop */
@media (min-width: 768px) {
    .nuvem-menu-toggle,
    .nuvem-menu-overlay,
    .nuvem-menu-mobile-panel {
        display: none !important;
    }
}

/* ============================================
      Modern Menu Style
      ============================================ */

/* Modern Style - Desktop Horizontal Menu */
.nuvem-menu-style-modern,
.nuvem-menu-style-modern ul {
    padding: 0;
    margin: 0;
}

.nuvem-menu-style-modern.nuvem-menu-horizontal > li > a,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop > li > a,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile > li > a {
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    transition:
        background-color 400ms ease-in-out,
        color 400ms 300ms ease;
    padding: 0.2rem 1rem;
    border-radius: 4rem;
}

.nuvem-menu-style-modern.nuvem-menu-horizontal > li > a:hover,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop > li > a:hover,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile > li > a:hover {
    color: #ef7b25;
    background-color: #f1f5f9;
}

/* Modern dropdown indicator */
.nuvem-menu-style-modern .menu-item-has-children > a::after {
    content: "▼";
    border: none;
    width: auto;
    height: auto;
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.6;
}

/* Modern dropdown styling */
.nuvem-menu-style-modern.nuvem-menu-horizontal .sub-menu,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop .sub-menu,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.5rem 0 !important;
    min-width: 220px;
    margin-top: 8px !important;
    border: 1px solid #ebe6e7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Modern dropdown hover - show submenu */
.nuvem-menu-style-modern.nuvem-menu-horizontal li:hover > .sub-menu,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop li:hover > .sub-menu,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nuvem-menu-style-modern.nuvem-menu-horizontal .sub-menu li,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop .sub-menu li,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile .sub-menu li {
    margin: 0;
}

.nuvem-menu-style-modern.nuvem-menu-horizontal .sub-menu a,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop .sub-menu a,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile .sub-menu a {
    width: 100%;
    font-weight: 500;
    padding: 0.8rem;
    transition: all 0.2s ease;
    border-radius: 0;
}

.nuvem-menu-style-modern.nuvem-menu-horizontal .sub-menu a:hover,
.nuvem-menu-style-modern.nuvem-menu-horizontal-desktop .sub-menu a:hover,
.nuvem-menu-style-modern.nuvem-menu-horizontal-mobile .sub-menu a:hover {
    color: #ef7b25;
    background-color: #f1f5f9;
}

/* Modern current item highlighting */
.nuvem-menu-style-modern .current-menu-item > a,
.nuvem-menu-style-modern .current-menu-ancestor > a,
.nuvem-menu-style-modern .current_page_item > a {
    color: #c75d1a !important;
    font-weight: 600;
}

/* Modern Mobile Panel */
.nuvem-menu-style-modern .nuvem-menu-mobile-panel {
    width: 90%;
    max-width: 400px;
    padding: 80px 0 0 0;
    border-radius: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

/* Modern mobile close button */
.nuvem-menu-style-modern .nuvem-menu-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: #475569;
    font-weight: 300;
    padding: 4px 8px;
}

.nuvem-menu-style-modern .nuvem-menu-close:hover {
    color: #1a1a1a;
    transform: none;
    opacity: 1;
}

/* Modern mobile menu items */

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .nuvem-menu > li {
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .nuvem-menu > li:first-child {
    border-top: 1px solid #e5e7eb;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .nuvem-menu > li > a {
    padding: 20px 32px;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .nuvem-menu > li > a:hover {
    background-color: #f9fafb;
    padding-left: 36px;
}

/* Modern mobile submenu styling */
.nuvem-menu-style-modern .nuvem-menu-mobile-panel .sub-menu {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 0;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .sub-menu a {
    padding: 16px 32px 16px 52px;
    font-size: 16px;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .sub-menu a:hover {
    background-color: #f3f4f6;
    padding-left: 56px;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .sub-menu .sub-menu a {
    padding-left: 72px;
}

.nuvem-menu-style-modern .nuvem-menu-mobile-panel .sub-menu .sub-menu a:hover {
    padding-left: 76px;
}

/* Modern mobile chevron for items with children */
.nuvem-menu-style-modern
    .nuvem-menu-mobile-panel
    .menu-item-has-children
    > a::after {
    content: "›";
    border: none;
    float: right;
    font-size: 24px;
    margin: 0;
    opacity: 0.4;
    font-weight: 300;
}

/* Modern current item in mobile  */
.nuvem-menu-style-modern .nuvem-menu-mobile-panel .current-menu-item > a,
.nuvem-menu-style-modern .nuvem-menu-mobile-panel .current-menu-ancestor > a {
    color: #c75d1a !important;
}

/* Modern hamburger button */
.nuvem-menu-style-modern .nuvem-menu-toggle {
    padding: 0;
}

.nuvem-menu-style-modern .nuvem-menu-toggle-icon {
    width: 1.5rem;
    height: auto;
    gap: 4px;
}

.nuvem-menu-style-modern .nuvem-menu-toggle-icon span {
    height: 1.5px;
    background-color: #475569;
    border-radius: 2px;
}

.nuvem-menu-style-modern .nuvem-menu-toggle:hover .nuvem-menu-toggle-icon span {
    background-color: #1a1a1a;
}

/* ==========================================================================
   5. Custom Components
   ========================================================================== */

/* ============================================
      Notifications Marquee
      ============================================ */

/* Container */
.nuvem-notifications-marquee {
    background: linear-gradient(to right, #c75d1a 0%, #ef7b25 100%);
    color: #ffffff;
    padding: 8px 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 50;
}

/* Rounded bottom corners on medium+ screens */
@media (min-width: 768px) {
    .nuvem-notifications-marquee {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
        padding: 8px 24px;
    }
}

@media (min-width: 1024px) {
    .nuvem-notifications-marquee {
        padding: 8px 32px;
    }
}

/* Fade overlay - Left edge */
.nuvem-notifications-marquee::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 64px;
    background: linear-gradient(to right, #c75d1a 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Fade overlay - Right edge */
.nuvem-notifications-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 64px;
    background: linear-gradient(to left, #c75d1a 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Wider fade on medium+ screens */
@media (min-width: 768px) {
    .nuvem-notifications-marquee::before,
    .nuvem-notifications-marquee::after {
        width: 128px;
    }
}

/* Wrapper for scrolling content */
.nuvem-marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

/* Content container */
.nuvem-marquee-content {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    /* Animation now handled by JavaScript for seamless looping */
}

/* Individual notification items */
.nuvem-notification-item {
    color: #ffffff;
    text-decoration: none;
    padding: 0 60px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.nuvem-notification-item:hover {
    opacity: 0.8;
    color: #ffffff;
}

/* Icon before notification text (optional)
.nuvem-notification-item::before {
    content: "📢";
    font-size: 16px;
    display: inline-block;
} */

/* Separator between items */
.nuvem-notification-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 60px;
    flex-shrink: 0;
}

/* ============================================
      Animation Speeds (handled by JavaScript)
      ============================================ */

/* Speed classes are read by JavaScript to determine animation speed */
/* Slow: ~0.5 pixels per frame */
/* Medium: ~1 pixel per frame */
/* Fast: ~2 pixels per frame */

/* Pause on hover is now handled by JavaScript */

/* ============================================
      Responsive Adjustments
      ============================================ */

/* Mobile adjustments */
@media (max-width: 767px) {
    .nuvem-notifications-marquee {
        padding: 10px 0;
    }

    .nuvem-notification-item {
        font-size: 13px;
        padding: 0 20px;
    }

    .nuvem-notification-separator {
        margin: 0 20px;
    }

    /* Mobile speeds are handled by JavaScript (slightly slower for readability) */
}

/* Shortcode Styles */
/*
.nuvem-button {
	display: inline-block;
	padding: 12px 24px;
	background-color: var(--nuvem-primary-color);
	color: #fff;
	text-decoration: none;
	border-radius: var(--nuvem-border-radius);
	transition: var(--nuvem-transition);
}

.nuvem-button:hover {
	background-color: #0056b3;
	transform: translateY(-1px);
}

.nuvem-button-primary {
	background-color: var(--nuvem-primary-color);
}

.nuvem-button-secondary {
	background-color: var(--nuvem-secondary-color);
}
*/

.mp-main-menu-wrapper
    .et_pb_menu__menu
    nav.et-menu-nav
    ul#menu-header-main-menu
    li.menu-item {
    margin: 0;
    padding: 0 1rem;
}
.mp-main-menu-wrapper
    .et_pb_menu__menu
    nav.et-menu-nav
    ul#menu-header-main-menu
    li.menu-item
    a {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   6. Utilities
   ========================================================================== */

/* Utility classes */
/*
.nuvem-text-center { text-align: center; }
.nuvem-text-right { text-align: right; }
.nuvem-text-left { text-align: left; }

.nuvem-mt-sm { margin-top: var(--nuvem-spacing-sm); }
.nuvem-mt-md { margin-top: var(--nuvem-spacing-md); }
.nuvem-mt-lg { margin-top: var(--nuvem-spacing-lg); }

.nuvem-mb-sm { margin-bottom: var(--nuvem-spacing-sm); }
.nuvem-mb-md { margin-bottom: var(--nuvem-spacing-md); }
.nuvem-mb-lg { margin-bottom: var(--nuvem-spacing-lg); }
*/

.mp-shadow-lg {
    box-shadow:
        0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.mp-backdrop-blur-lg {
    backdrop-filter: blur(16px);
}
span.mp-orange-gradient-txt,
strong.mp-orange-gradient-txt,
.mp-orange-gradient-txt {
    background-image: linear-gradient(to right, #ef7b25, #f59e52) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
}

.mp-header-orange-cta-btn a {
    line-height: 1;
    font-weight: 500;
    font-size: 0.875rem !important;
    outline: none;
    background-image: linear-gradient(to right, #c75d1a, #ef7b25);
    color: white !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 1.5rem !important;
    box-shadow:
        0 10px 15px -3px rgb(249 115 22 / 0.25),
        0 4px 6px -4px rgb(249 115 22 / 0.25);
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.mp-header-orange-cta-btn a:hover {
    background-image: linear-gradient(to right, #b24a0e, #d66a1f);
}

.mp-header-orange-cta-btn a:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.mp-header-orange-cta-btn a:focus-visible {
    border-color: hsl(var(--ring));
    ring: hsl(var(--ring) / 0.5);
    box-shadow: 0 0 0 3px hsl(var(--ring) / 0.5);
}

.mp-header-orange-cta-btn a[aria-invalid="true"] {
    border-color: hsl(var(--destructive));
    box-shadow: 0 0 0 3px hsl(var(--destructive) / 0.2);
}

.mp-header-orange-cta-btn a:has(> svg) {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.mp-header-orange-cta-btn a svg {
    pointer-events: none;
    flex-shrink: 0;
}

.mp-header-orange-cta-btn a svg:not([class*="size-"]) {
    width: 1rem;
    height: 1rem;
}

@media (prefers-color-scheme: dark) {
    .mp-header-orange-cta-btn a[aria-invalid="true"] {
        box-shadow: 0 0 0 3px hsl(var(--destructive) / 0.4);
    }
}

/* ==========================================================================
   Carousel/Marquee Styles (Frontend)
   ========================================================================== */

/* Base carousel container */
.nuvem-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0; /* py-8 */
    background: transparent; /* Reset notifications background */
    color: inherit; /* Reset notifications text color */
    width: 100%; /* Ensure full width of parent */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Remove pseudo-elements from notifications */
.nuvem-carousel::before,
.nuvem-carousel::after {
    display: none;
}

/* Ensure carousel has its own positioning context */
.nuvem-carousel .nuvem-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%; /* Respect parent width */
    max-width: 100%; /* Prevent overflow */
}

.nuvem-carousel .nuvem-marquee-content {
    will-change: transform;
}

/* Gradient fade edges */
.nuvem-carousel-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8rem; /* w-32 = 128px */
    z-index: 10;
    pointer-events: none;
}

.nuvem-carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.nuvem-carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

/* Scrolling content wrapper - scoped to carousels only */
.nuvem-carousel .nuvem-marquee-content {
    display: flex;
    gap: 2rem; /* gap-8 for logo marquee */
    align-items: center;
    white-space: normal; /* Override notifications white-space */
}

/* Override gap for icon-title type */
.nuvem-carousel-type-icon-title .nuvem-marquee-content {
    gap: 1rem; /* gap-4 for icon-title marquee */
}

/* ==========================================================================
   Icon/Image + Title Carousel (Card Style)
   ========================================================================== */

.nuvem-carousel-item-with-title {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* gap-3 */
    padding: 1rem 1.5rem; /* px-6 py-4 */
    background: #ffffff;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    border: 1px solid #f3f4f6; /* border-gray-100 */
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.nuvem-carousel-item-with-title:hover {
    border-color: rgba(239, 123, 37, 0.3); /* hover:border-[#EF7B25]/30 */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06); /* hover:shadow-md */
}

/* Icon wrapper */
.nuvem-carousel-icon-wrapper {
    width: 2.5rem; /* w-10 */
    height: 2.5rem; /* h-10 */
    border-radius: 0.5rem; /* rounded-lg */
    background: linear-gradient(
        to bottom right,
        #fff4ed,
        #ffcba3
    ); /* from-[#FFF4ED] to-[#FFCBA3] */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nuvem-carousel-item-with-title:hover .nuvem-carousel-icon-wrapper {
    background: linear-gradient(
        to bottom right,
        rgba(239, 123, 37, 0.2),
        rgba(239, 123, 37, 0.1)
    ); /* hover:from-[#EF7B25]/20 to-[#EF7B25]/10 */
}

/* SVG icon inside wrapper */
.nuvem-carousel-icon-wrapper svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    color: #c75d1a; /* text-[#C75D1A] */
    stroke-width: 2;
}

/* Image icon inside wrapper */
.nuvem-carousel-icon-image {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

/* Title text */
.nuvem-carousel-item-title {
    font-size: 0.875rem; /* text-sm */
    white-space: nowrap;
    color: #64748b; /* text-[#64748b] */
    transition: color 0.3s ease;
}

.nuvem-carousel-item-with-title:hover .nuvem-carousel-item-title {
    color: #0f172a; /* group-hover:text-[#0f172a] */
}

/* ==========================================================================
   Icon/Image Only Carousel (Logo Style)
   ========================================================================== */

.nuvem-carousel-item-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem; /* px-12 py-8 */
    width: 250px;
    height: 120px;
    filter: grayscale(100%); /* grayscale */
    transition: filter 0.3s ease;
    text-decoration: none;
}

.nuvem-carousel-item-logo:hover {
    filter: grayscale(0%); /* hover:grayscale-0 */
}

/* Logo wrapper for SVG */
.nuvem-carousel-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nuvem-carousel-logo-wrapper svg {
    width: 100%;
    height: 100%;
    object-fit: contain; /* object-contain */
}

/* Logo image */
.nuvem-carousel-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* object-contain */
}

/* ==========================================================================
   7. Responsive
   ========================================================================== */

/* Tablet (768px - 980px) */
@media (min-width: 768px) and (max-width: 980px) {
    /* Add tablet-specific styles */
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
    /* Add mobile-specific styles */

    /* Reduce carousel item padding on mobile */
    .nuvem-carousel-item-with-title {
        padding: 0.5rem 0.75rem; /* Reduced from 1rem 1.5rem */
    }

    .nuvem-carousel-item-logo {
        padding: 1rem 1.5rem; /* Reduced from 2rem 3rem */
        width: 150px; /* Reduced from 250px */
        height: 80px; /* Reduced from 120px */
    }

    /* Reduce gap between items on mobile */
    .nuvem-carousel .nuvem-marquee-content {
        gap: 1rem; /* Reduced from 2rem */
    }

    .nuvem-carousel-type-icon-title .nuvem-marquee-content {
        gap: 0.5rem; /* Reduced from 1rem */
    }

    /* Reduce icon wrapper size on mobile */
    .nuvem-carousel-icon-wrapper {
        width: 2rem; /* Reduced from 2.5rem */
        height: 2rem; /* Reduced from 2.5rem */
    }

    .nuvem-carousel-icon-wrapper svg {
        width: 1rem; /* Reduced from 1.25rem */
        height: 1rem; /* Reduced from 1.25rem */
    }

    /* Reduce title font size on mobile */
    .nuvem-carousel-item-title {
        font-size: 0.75rem; /* Reduced from 0.875rem */
    }
}

/* Desktop Large (min 1200px) */
@media (min-width: 1200px) {
    /* Add large desktop-specific styles */
}
