/**
 * Margeton — tema industrial (cobre / carvão), distinto do layout TecProd.
 * Ativo com body.theme-margeton + paleta "margeton" no admin.
 */
.theme-margeton {
    --mg-emerald: #10b981;
    --mg-emerald-light: #34d399;
    --mg-ink: #0a0e0d;
    --mg-paper: #ffffff;
    --mg-stone: #6b6560;
    --mg-line: rgba(196, 92, 38, 0.22);
    font-family: 'DM Sans', system-ui, sans-serif;
}

.theme-margeton .main-content {
    background: var(--mg-paper);
}

/* Cabeçalho: linha limpa, sem “pílulas” azuis TecProd */
.theme-margeton .site-header {
    --site-header-shadow: 0 1px 0 var(--mg-line);
    font-family: 'DM Sans', system-ui, sans-serif;
}

.theme-margeton .site-header__belt {
    background: linear-gradient(90deg, #0a0e0d 0%, #000000 50%, #0a0e0d 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.theme-margeton .site-header__shell {
    background: var(--mg-paper);
}

.theme-margeton .site-header__bar {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
}

.theme-margeton .site-header__nav-desktop > ul > li > a,
.theme-margeton .site-header__nav-desktop > ul > li > button.site-header__mega-trigger {
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0.03em;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    position: relative;
}

.theme-margeton .site-header__nav-desktop > ul > li > a::after,
.theme-margeton .site-header__nav-desktop > ul > li > button.site-header__mega-trigger::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.15rem;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.theme-margeton .site-header__nav-desktop > ul > li:hover > a::after,
.theme-margeton .site-header__nav-desktop > ul > li.is-open > a::after,
.theme-margeton .site-header__nav-desktop > ul > li:hover > button.site-header__mega-trigger::after,
.theme-margeton .site-header__nav-desktop > ul > li.is-open > button.site-header__mega-trigger::after {
    transform: scaleX(1);
}

.theme-margeton .site-header__nav-desktop > ul > li:hover > a,
.theme-margeton .site-header__nav-desktop > ul > li.is-open > a,
.theme-margeton .site-header__nav-desktop > ul > li:hover > button.site-header__mega-trigger,
.theme-margeton .site-header__nav-desktop > ul > li.is-open > button.site-header__mega-trigger {
    background: transparent;
    color: #10b981;
}

.theme-margeton .site-header__logo a {
    font-family: 'Instrument Serif', Georgia, serif;
    letter-spacing: 0;
}

.theme-margeton .site-header__search form {
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--border-color);
}

.theme-margeton .site-header__search form:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.theme-margeton .site-header__search button {
    border-radius: 0 5px 5px 0;
    background: var(--mg-ink);
}

.theme-margeton .site-header__search button:hover {
    background: var(--mg-emerald);
}

.theme-margeton .site-header__action {
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--mg-ink);
    display: none;
}

.theme-margeton .site-header__action:hover {
    background: var(--mg-emerald);
    border-color: var(--mg-emerald);
    color: #fff;
}

.theme-margeton .site-header__toggle {
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
}

.theme-margeton .site-header__toggle span {
    background: var(--mg-ink);
}

/* Hero */
.mg-hero {
    position: relative;
    min-height: min(78vh, 640px);
    display: grid;
    align-items: stretch;
    overflow: hidden;
    background: var(--mg-ink);
    color: #fff;
}

.mg-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(78vh, 640px);
    max-width: 1400px;
    margin: 0 auto;
}

.mg-hero__copy {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    z-index: 2;
}

.mg-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--mg-emerald-light);
}

.mg-hero__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

.mg-hero__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 38ch;
}

.mg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.mg-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mg-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mg-btn--primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #000;
    border: none;
    box-shadow: 
        0 0 30px rgba(16, 185, 129, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.5);
    text-shadow: none;
    position: relative;
    overflow: hidden;
}

.mg-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mg-btn--primary:hover {
    transform: translateY(-3px);
    color: #000;
    box-shadow: 
        0 0 40px rgba(16, 185, 129, 0.6),
        0 12px 36px rgba(0, 0, 0, 0.6);
}

.mg-btn--primary:hover::before {
    opacity: 1;
}

.mg-btn--ghost {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    text-shadow: none;
    backdrop-filter: blur(8px);
}

.mg-btn--ghost:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 
        0 0 20px rgba(16, 185, 129, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.mg-hero__visual {
    position: relative;
    min-height: 280px;
    background: linear-gradient(160deg, #2a221c 0%, #1c1814 40%, #3d2e22 100%);
}

.mg-hero__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 92, 38, 0.35) 0%, transparent 55%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 48px,
            rgba(255, 255, 255, 0.03) 48px,
            rgba(255, 255, 255, 0.03) 49px
        );
    pointer-events: none;
}

.mg-hero__angle {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: linear-gradient(105deg, var(--mg-paper) 0%, rgba(244, 241, 236, 0.92) 40%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.mg-hero__badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    left: auto;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(232, 165, 75, 0.35);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    max-width: 260px;
    z-index: 2;
}

.mg-hero__badge strong {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mg-emerald-light);
    margin-bottom: 0.35rem;
}

.mg-hero__badge span {
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
    .mg-hero__grid {
        grid-template-columns: 1fr;
    }

    .mg-hero__visual {
        min-height: 220px;
    }

    .mg-hero__angle {
        display: none;
    }
}

/* Especialidades com imagem (logo abaixo do hero slider) */
.mg-specialties {
    padding: 4rem 0 3.5rem;
    background: linear-gradient(180deg, #fff 0%, #fafaf9 100%);
    margin-top: -1px;
    position: relative;
}

.mg-specialties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

.mg-specialties__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .mg-specialties__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.mg-specialties__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-content: start;
}

@media (max-width: 768px) {
    .mg-specialties__cards {
        grid-template-columns: 1fr;
    }
}

.mg-specialties__visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.mg-specialties__img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(20, 18, 16, 0.15);
    border: 1px solid var(--border-color);
    height: 100%;
}

.mg-specialties__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.1) contrast(1.05);
    transition: transform 0.6s ease-out;
}

.mg-specialties__img-wrap:hover img {
    transform: scale(1.03);
}

.mg-specialties__img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(20, 18, 16, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 1.35rem;
    border-radius: 10px;
    border: 1px solid rgba(232, 165, 75, 0.3);
    color: #fff;
}

.mg-specialties__img-badge strong {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mg-emerald-light, #34d399);
    margin-bottom: 0.25rem;
}

.mg-specialties__img-badge span {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Instrument Serif', Georgia, serif;
}


.mg-specialty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, #fff 0%, rgba(244, 241, 236, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.mg-specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mg-emerald), var(--mg-emerald-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.mg-specialty-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 92, 38, 0.4);
    box-shadow: 0 16px 40px rgba(20, 18, 16, 0.1);
}

.mg-specialty-card:hover::before {
    opacity: 1;
}

.mg-specialty-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mg-emerald, #10b981), var(--mg-emerald-light, #34d399));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(196, 92, 38, 0.3);
}

.mg-specialty-card__icon--star {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
}

.mg-specialty-card__icon--tool {
    background: linear-gradient(135deg, #2d6a4f, #52b788);
}

.mg-specialty-card__icon--bolt {
    background: linear-gradient(135deg, #6b6560, #8b8580);
}

.mg-specialty-card__content {
    flex: 1;
}

.mg-specialty-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mg-ink, #141210);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.mg-specialty-card p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--mg-stone, #6b6560);
    margin: 0;
}

/* Features Section - Tech Style */
.mg-features {
    padding: 5rem 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(16, 185, 129, 0.02) 49px,
            rgba(16, 185, 129, 0.02) 50px
        ),
        linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    position: relative;
}

.mg-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.3) 50%, transparent 100%);
}

.mg-features__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.mg-features__header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: #0a0e0d;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.mg-features__header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #6b7280;
    margin: 0;
}

.mg-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .mg-features .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.mg-feature-item {
    text-align: center;
    padding: 2.25rem 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.mg-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mg-feature-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mg-feature-item:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mg-feature-item:hover::before,
.mg-feature-item:hover::after {
    opacity: 1;
}

.mg-feature-item .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 18px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mg-feature-item:hover .feature-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.mg-feature-item .feature-icon i {
    font-size: 2.25rem;
    color: #10b981;
    transition: color 0.3s;
}

.mg-feature-item:hover .feature-icon i {
    color: #059669;
}

.mg-feature-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0a0e0d;
    margin: 0 0 0.65rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.mg-feature-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.925rem;
    font-weight: 300;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Intro cards */
.mg-intro {
    padding: 3.5rem 0 2rem;
}

.mg-intro__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.mg-intro__head h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 400;
    color: var(--mg-ink);
    margin: 0 0 0.5rem;
}

.mg-intro__head p {
    margin: 0;
    color: var(--mg-stone);
    font-size: 1rem;
}

.mg-intro__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .mg-intro__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .mg-intro__grid {
        grid-template-columns: 1fr;
    }
}

.mg-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.35rem 1.25rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.mg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--mg-emerald), var(--mg-emerald-light));
    opacity: 0;
    transition: opacity 0.2s;
}

.mg-card:hover {
    border-color: rgba(196, 92, 38, 0.45);
    box-shadow: 0 12px 32px rgba(20, 18, 16, 0.08);
}

.mg-card:hover::before {
    opacity: 1;
}

.mg-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.65rem;
    color: var(--mg-ink);
    font-weight: 700;
}

.mg-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--mg-stone);
}

/* Especialização — bento */
.mg-bento {
    padding: 4rem 0 4.5rem;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.mg-bento__head {
    margin-bottom: 2.5rem;
    text-align: center;
}

.mg-bento__head .mg-kicker {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #10b981;
    margin: 0 0 0.5rem;
}

.mg-bento__head h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    margin: 0;
    color: #0a0e0d;
    letter-spacing: -0.01em;
}

.mg-bento__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.mg-bento__cell {
    grid-column: span 4;
    min-height: 160px;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(16, 185, 129, 0.15);
    background: #ffffff;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.mg-bento__cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mg-bento__cell:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mg-bento__cell:hover::before {
    opacity: 1;
}

.mg-bento__cell--wide {
    grid-column: span 8;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.mg-bento__cell--tall {
    grid-column: span 4;
    grid-row: span 1;
    min-height: 220px;
}

.mg-bento__cell h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: #0a0e0d;
    letter-spacing: -0.01em;
}

.mg-bento__cell p {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .mg-bento__cell,
    .mg-bento__cell--wide {
        grid-column: span 12;
    }
}

/* Números - Tech Style */
.mg-stats {
    padding: 4.5rem 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(16, 185, 129, 0.03) 49px,
            rgba(16, 185, 129, 0.03) 50px
        ),
        linear-gradient(180deg, #0a0e0d 0%, #000000 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
}

.mg-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.mg-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mg-stat__num {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4)); }
    50% { filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.6)); }
}

.mg-stat__label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .mg-stats__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Processo - Tech Style */
.mg-process {
    padding: 4.5rem 0;
    background: #ffffff;
}

.mg-process__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .mg-process__layout {
        grid-template-columns: 1fr;
    }
}

.mg-process__text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #0a0e0d;
    letter-spacing: -0.01em;
}

.mg-process__text p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #6b7280;
    line-height: 1.75;
    margin: 0 0 1rem;
    font-size: 1rem;
}

.mg-process__text p strong {
    font-weight: 500;
    color: #10b981;
}

.mg-process__panel {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #10b981;
}

.mg-process__panel p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* CTA - Tech Style */
.mg-cta {
    padding: 4rem 0 4.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.mg-cta__inner {
    background: 
        radial-gradient(ellipse 100% 100% at 50% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 80%),
        linear-gradient(135deg, #0a0e0d 0%, #000000 100%);
    color: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 
        0 0 40px rgba(16, 185, 129, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.mg-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 99px,
            rgba(16, 185, 129, 0.03) 99px,
            rgba(16, 185, 129, 0.03) 100px
        );
    pointer-events: none;
}

.mg-cta__inner h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.mg-cta__inner p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Home: produtos em destaque — cartões mais sóbrios */
.theme-margeton .featured-products {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.theme-margeton .section-header-featured .section-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.theme-margeton .section-title-accent {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.theme-margeton .section-header-featured .title-highlight {
    color: #10b981;
}

.theme-margeton .section-header-featured .title-highlight::after {
    background: linear-gradient(90deg, #10b981, transparent);
}

.theme-margeton .product-card {
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: none;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.theme-margeton .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.theme-margeton .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    transition: all 0.3s;
}

.theme-margeton .btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Price on request - Verde */
.theme-margeton .product-price-on-request,
.theme-margeton .price-current.product-price-on-request {
    color: #10b981 !important;
}

/* Product title hover */
.theme-margeton .product-title:hover {
    color: #10b981;
}

/* Badges - Verde Esmeralda */
.theme-margeton .badge-featured {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
}

.theme-margeton .badge-success {
    background: #10b981;
}

.theme-margeton .discount-badge {
    color: #10b981;
}

/* Rating stars - Verde Esmeralda */
.theme-margeton .product-rating {
    color: #10b981;
}

.theme-margeton .product-rating .fa-star.active,
.theme-margeton .star-rating-input .star-label:hover i,
.theme-margeton .star-rating-input .star-label i.hover,
.theme-margeton .star-rating-input .star-label i.selected,
.theme-margeton .review-stars i.active {
    color: #10b981;
}

/* Links em geral */
.theme-margeton a:not(.btn):not(.product-card):hover {
    color: #10b981;
}

/* Form inputs focus */
.theme-margeton input:focus,
.theme-margeton textarea:focus,
.theme-margeton select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.theme-margeton .home-categories {
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.theme-margeton .category-icon {
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--border-color);
}

.theme-margeton .category-icon-link:hover .category-icon {
    border-color: #10b981;
    color: #10b981;
}

.theme-margeton .products-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.theme-margeton .page-header-products {
    background: 
        radial-gradient(ellipse 100% 100% at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 80%),
        linear-gradient(180deg, #0a0e0d 0%, #000000 100%);
    color: #ffffff;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.theme-margeton .page-header-products .section-title {
    color: #ffffff;
}

.theme-margeton .page-header-products .title-highlight {
    color: #10b981;
}

.theme-margeton .filter-box {
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.theme-margeton .filter-box h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #0a0e0d;
    letter-spacing: -0.01em;
}

.theme-margeton .sidebar {
    border-radius: 12px;
}

.theme-margeton .category-item.active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border-left: 3px solid #10b981;
}

.theme-margeton .view-all {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.3s;
}

.theme-margeton .view-all:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Rodapé - Tech Style */
.theme-margeton .footer {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(16, 185, 129, 0.05) 49px,
            rgba(16, 185, 129, 0.05) 50px
        ),
        linear-gradient(180deg, #0a0e0d 0%, #000000 100%);
    color: rgba(255, 255, 255, 0.85);
    border-top: 3px solid #10b981;
}

.theme-margeton .footer a {
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.3s;
}

.theme-margeton .footer a:hover {
    color: #34d399;
}

.theme-margeton .footer-bottom {
    background: #000000;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.theme-margeton .features {
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.theme-margeton .feature-item i {
    color: var(--mg-emerald);
}

/* Páginas internas */
.theme-margeton .page-header:not(.page-header-products) {
    background: linear-gradient(180deg, #fff 0%, var(--mg-paper) 100%);
    border-bottom: 1px solid var(--border-color);
}

.theme-margeton .page-header h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
}

.theme-margeton .about-section,
.theme-margeton .contact-section {
    background: var(--mg-paper);
}
