/* ==========================================================================

   M-TECH ENGENHARIA - DESIGN SYSTEM & GLOBAL STYLES

   ========================================================================== */



:root {

    /* Color Palette */

    --color-bg-dark: #030c1b;       /* Azul marinho profundo do mockup */

    --color-bg-deep: #07152c;       /* Azul profundo para contraste */

    --color-bg-panel: #0d213d;      /* Azul intermediário para painéis */

    --color-surface: rgba(7, 21, 44, 0.75);

    --color-surface-hover: rgba(255, 255, 255, 0.04);

    

    --color-primary: #ffd700;       /* Amarelo Ouro do Raio da Fachada */

    --color-secondary: #004aad;     /* Azul Royal da Fachada */

    --color-success: #10b981;       /* Active Green */

    --color-warning: #f59e0b;       /* Alert Orange */

    --color-danger: #ef4444;        /* Critical Red */

    

    --color-text-main: #f8fafc;     /* Slate 50 */

    --color-text-body: #cbd5e1;     /* Slate 300 */

    --color-text-muted: #64748b;    /* Slate 500 */

    

    --border-glow: rgba(0, 212, 255, 0.15);

    --border-color: rgba(255, 255, 255, 0.12);

    

    --font-heading: 'Outfit', sans-serif;

    --font-body: 'Plus Jakarta Sans', sans-serif;

    

    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

    --shadow-glow: 0 0 25px rgba(0, 212, 255, 0.25);

    

    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

    

    /* Layout heights */

    --header-height: 90px;

    --sidebar-width: 260px;

}



/* Reset & Scrollbar */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    scroll-behavior: smooth;

}



::-webkit-scrollbar {

    width: 8px;

    height: 8px;

}

::-webkit-scrollbar-track {

    background: var(--color-bg-dark);

}

::-webkit-scrollbar-thumb {

    background: #1e293b;

    border-radius: 4px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--color-primary);

}



body {

    background-color: var(--color-bg-dark);

    color: var(--color-text-body);

    font-family: var(--font-body);

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}



h1, h2, h3, h4, h5, h6 {

    color: var(--color-text-main);

    font-family: var(--font-heading);

    font-weight: 700;

    letter-spacing: -0.02em;

}



a {

    color: inherit;

    text-decoration: none;

    transition: var(--transition-smooth);

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 24px;

    width: 100%;

}



.hidden {

    display: none !important;

}



/* Common UI Elements & Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 12px 24px;

    border-radius: 8px;

    font-family: var(--font-heading);

    font-weight: 600;

    font-size: 0.95rem;

    cursor: pointer;

    transition: var(--transition-smooth);

    border: 1px solid transparent;

}



.btn-primary {

    background: linear-gradient(135deg, #ffd700 0%, #e6b800 100%);

    color: #0a192f;

    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), var(--shadow-glow);

}



.btn-outline {

    background: transparent;

    border-color: var(--border-color);

    color: var(--color-text-main);

}

.btn-outline:hover {

    background: rgba(255, 255, 255, 0.05);

    border-color: var(--color-primary);

    color: var(--color-primary);

}



.btn-large {

    padding: 16px 36px;

    font-size: 1.05rem;

}



.btn-small {

    padding: 8px 16px;

    font-size: 0.85rem;

}



.btn-full {

    width: 100%;

}



/* Tag/Badges */

.badge-tag {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 215, 0, 0.1);

    border: 1px solid rgba(255, 215, 0, 0.2);

    color: var(--color-primary);

    padding: 6px 14px;

    border-radius: 100px;

    font-size: 0.85rem;

    font-weight: 600;

    margin-bottom: 20px;

}



/* ==========================================================================

   PUBLIC SITE - NAVIGATION & HEADER

   ========================================================================== */



.main-header {

    height: var(--header-height);

    width: 100%;

    position: fixed;

    top: 0;

    left: 0;

    z-index: 100;

    background: rgba(0, 74, 173, 0.92); /* Azul Royal da fachada */

    backdrop-filter: blur(12px);

    transition: var(--transition-smooth);

}



.main-header::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 2px;

    background: linear-gradient(90deg, 

        transparent 0%, 

        rgba(255, 255, 255, 0.15) 20%, 

        rgba(255, 255, 255, 0.65) 45%, 

        #ffffff 50%, 

        rgba(255, 255, 255, 0.65) 55%, 

        rgba(255, 255, 255, 0.15) 80%, 

        transparent 100%

    );

    background-size: 200% 100%;

    animation: header-line-flow 8s linear infinite;

}



@keyframes header-line-flow {

    0% {

        background-position: 200% 0;

    }

    100% {

        background-position: -200% 0;

    }

}



.header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 100%;

}



/* Logo Design */

.logo {

    display: flex;

    flex-direction: column;

    text-decoration: none;

}

.logo-main-wrapper {

    display: flex;

    align-items: center;

    gap: 12px;

}

.logo-icon-snow {

    color: #ffffff;

    font-size: 2.05rem;

    animation: spin-slow 25s linear infinite;

    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6));

}

.logo-text-group {

    display: flex;

    flex-direction: column;

    line-height: 0.95;

    justify-content: center;

    align-items: center;

    text-align: center;

}

.logo-m-title {

    font-size: 1.7rem;

    font-weight: 900;

    color: #ffffff;

    letter-spacing: 0.04em;

    font-family: var(--font-heading);

    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);

}

.logo-m-sub {

    font-size: 0.5rem;

    font-weight: 800;

    color: #ffffff;

    letter-spacing: 0.32em;

    text-transform: uppercase;

    margin-top: 3px;

    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);

}

.logo-line-glow {

    width: 100%;

    height: 1px;

    background: rgba(0, 212, 255, 0.35);

    position: relative;

    margin-top: 6px;

}

.logo-line-glow::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 75%;

    height: 2.2px;

    background: linear-gradient(90deg, transparent, #ffffff 50%, transparent);

}

.logo-icon-lightning {

    background: transparent;

    border: 3px solid #ffffff;

    border-radius: 50%;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);

}

.logo-icon-lightning i {

    color: #ffd700;

    font-size: 1.05rem;

    animation: lightning-floaté 2.5s ease-in-out infinite;

    display: inline-block;

    margin-top: 1px;

    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));

}

.logo-sub {

    font-size: 0.54rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    color: rgba(255, 255, 255, 0.85);

    text-transform: uppercase;

    margin-top: 3px;

}



@keyframes spin-slow {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}



@keyframes lightning-floaté {

    0% {

        transform: translateY(0) scale(1);

        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4));

    }

    50% {

        transform: translateY(-1px) scale(1.06);

        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.85)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));

    }

    100% {

        transform: translateY(0) scale(1);

        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4));

    }

}



.nav-menu {

    display: flex;

    gap: 32px;

}



.nav-link {

    font-size: 0.95rem;

    font-weight: 500;

    color: #ffffff;

    position: relative;

    padding: 8px 0;

}

.nav-link:hover, .nav-link.active {

    color: #ffd700;

}

.nav-link::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background-color: #ffd700;

    transition: var(--transition-smooth);

}

.nav-link:hover::after, .nav-link.active::after {

    width: 100%;

}



.nav-actions {

    display: flex;

    align-items: center;

    gap: 16px;

}



.mobile-toggle {

    display: none;

    background: none;

    border: none;

    color: var(--color-text-main);

    font-size: 1.5rem;

    cursor: pointer;

}



/* ==========================================================================

   PUBLIC SITE - HERO SECTION

   ========================================================================== */



.hero-section {

    min-height: 100vh;

    padding-top: var(--header-height);

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background-color: var(--color-bg-dark);

}



.hero-bg-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: 

        radial-gradient(circle até 80% 40%, rgba(0, 74, 173, 0.28) 0%, rgba(3, 12, 27, 0) 65%),

        linear-gradient(90deg, #030c1b 35%, rgba(3, 12, 27, 0.85) 65%, rgba(3, 12, 27, 0.3) 100%),

        url('https://images.unsplash.com/photo-1621905252507-b354bc25edac?auto=format&fit=crop&q=80&w=1200');

    background-size: cover;

    background-position: center right;

    opacity: 0.95;

    z-index: 1;

}



.hero-left-waves {

    position: absolute;

    bottom: -150px;

    left: -150px;

    width: 500px;

    height: 500px;

    z-index: 1;

    pointer-events: none;

    opacity: 0.85;

}

.hero-left-waves svg {

    width: 100%;

    height: 100%;

}

.hero-left-snowflake {

    position: absolute;

    bottom: -75px;

    left: -75px;

    font-size: 17rem;

    color: rgba(0, 74, 173, 0.07);

    z-index: 1;

    pointer-events: none;

    transform: rotate(15deg);

    animation: spin-slow 60s linear infinite;

}



.hero-glow {

    position: absolute;

    width: 400px;

    height: 400px;

    background: var(--color-primary);

    opacity: 0.05;

    filter: blur(150px);

    top: 20%;

    right: 15%;

    pointer-events: none;

    z-index: 1;

}



.hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    align-items: center;

}



.hero-content h1 {

    font-size: 4rem;

    line-height: 1.1;

    margin-bottom: 24px;

    background: linear-gradient(135deg, #ffffff 30%, var(--color-text-body) 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.hero-content p {

    font-size: 1.2rem;

    color: var(--color-text-body);

    margin-bottom: 40px;

    max-width: 600px;

}



.hero-actions {

    display: flex;

    gap: 20px;

}



/* Side Badges for Engineering Feel */

.hero-badge-panel {

    display: flex;

    flex-direction: column;

    gap: 24px;

    background: rgba(15, 22, 41, 0.4);

    border: 1px solid var(--border-color);

    padding: 30px;

    border-radius: 20px;

    backdrop-filter: blur(10px);

    box-shadow: var(--shadow-premium);

}



.badge-item {

    display: flex;

    gap: 20px;

    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.2);

    padding: 15px 20px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.03);

    transition: all 0.3s ease;

    cursor: pointer;

}



.badge-item:hover {

    border-color: var(--color-secondary);

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);

}



.badge-icon {

    width: 54px;

    height: 54px;

    border-radius: 12px;

    background: rgba(255, 215, 0, 0.1);

    border: 1px solid rgba(255, 215, 0, 0.2);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--color-primary);

    font-size: 1.3rem;

}



.badge-info h4 {

    font-size: 1.1rem;

    margin-bottom: 4px;

}

.badge-info p {

    font-size: 0.85rem;

    color: var(--color-text-muted);

    margin: 0;

}



/* ==========================================================================

   PUBLIC SITE - SERVIÇOS CARROSSEL & MURAL

   ========================================================================== */



.services-section {

    padding: 100px 0;

    background: var(--color-bg-deep);

    border-top: 1px solid var(--border-color);

    border-bottom: 1px solid var(--border-color);

}



.section-header {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 60px;

}

.section-subtitle {

    font-size: 0.85rem;

    text-transform: uppercase;

    letter-spacing: 0.2em;

    color: var(--color-primary);

    font-weight: 700;

    margin-bottom: 12px;

    display: block;

}

.section-header h2 {

    font-size: 2.6rem;

    margin-bottom: 20px;

}



/* Carousel/Mural Wrapper */

.services-mural-container {

    position: relative;

    margin-bottom: 48px;

}



.services-mural {

    display: flex;

    gap: 24px;

    transition: transform 0.5s ease;

}



.service-card {

    flex: 0 0 calc(25% - 18px); /* default desktop view (4 items) */

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 16px;

    padding: 30px;

    height: 400px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    transition: var(--transition-smooth);

}



.service-card-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    opacity: 0.25;

    transition: var(--transition-smooth);

    z-index: 1;

}



.service-card:hover .service-card-bg {

    opacity: 0.4;

    transform: scale(1.05);

}



.service-card-content {

    position: relative;

    z-index: 2;

}



.service-icon {

    font-size: 2.2rem;

    color: var(--color-primary);

    margin-bottom: 24px;

    transition: var(--transition-smooth);

}



.service-card h3 {

    font-size: 1.4rem;

    margin-bottom: 12px;

    transition: var(--transition-smooth);

}



.service-card p {

    font-size: 0.9rem;

    color: var(--color-text-body);

    margin-bottom: 20px;

    opacity: 0.85;

}



.read-more {

    font-size: 0.85rem;

    font-weight: 700;

    color: var(--color-primary);

    display: inline-flex;

    align-items: center;

    gap: 6px;

}



.service-card.active, .service-card:hover {

    border-color: var(--color-primary);

    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);

}



/* Carousel Buttons */

.carousel-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-top: 30px;

}



.carousel-btn {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    color: var(--color-text-main);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.1rem;

    transition: var(--transition-smooth);

}

.carousel-btn:hover {

    background: var(--color-primary);

    color: #0a192f;

    border-color: var(--color-primary);

}



.carousel-dots {

    display: flex;

    gap: 8px;

}

.dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--color-text-muted);

    cursor: pointer;

    transition: var(--transition-smooth);

}

.dot.active {

    background: var(--color-primary);

    width: 24px;

    border-radius: 100px;

}



/* Service Details Dynamic Panel */

.service-details-panel {

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    padding: 50px;

    position: relative;

    box-shadow: var(--shadow-premium);

}



.details-content {

    display: none;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    align-items: center;

    animation: fadeIn 0.5s ease forwards;

}



.details-content.active {

    display: grid;

}



.details-text h3 {

    font-size: 2rem;

    margin-bottom: 18px;

    color: var(--color-primary);

}



.details-text p {

    margin-bottom: 24px;

}



.details-list {

    list-style: none;

    margin-bottom: 32px;

}

.details-list li {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    font-size: 0.95rem;

}

.details-list li i {

    color: var(--color-success);

}



.info-card-dynamic {

    background: rgba(255, 255, 255, 0.02);

    border: 2px solid rgba(255, 215, 0, 0.6); /* Linha Ouro */

    box-shadow: 0 0 15px rgba(255, 215, 0, 0.05); /* Leve brilho ouro */

    border-radius: 16px;

    padding: 40px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}

.info-card-dynamic i {

    font-size: 3rem;

    color: var(--color-primary);

    margin-bottom: 20px;

}

.info-card-dynamic .info-num {

    font-size: 3.5rem;

    font-weight: 800;

    line-height: 1;

    color: var(--color-text-main);

    margin-bottom: 8px;

}

.info-card-dynamic .info-label {

    font-size: 0.9rem;

    color: var(--color-text-muted);

}



@keyframes fadeIn {

    from { opacity: 0; transform: translateY(10px); }

    to { opacity: 1; transform: translateY(0); }

}



@keyframes floatMascot {

    0% { transform: translateY(0); }

    50% { transform: translateY(-15px); }

    100% { transform: translateY(0); }

}



/* ==========================================================================

   PUBLIC SITE - SEGMENTOS SECTION

   ========================================================================== */



.segments-section {

    padding: 100px 0;

}



.segments-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));

    gap: 30px;

}



.segment-item {

    height: 350px;

    border-radius: 20px;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    border: 2px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    transition: all 0.3s ease;

}



.segment-img {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    transition: var(--transition-smooth);

}



.segment-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(180deg, rgba(3, 12, 27, 0.05) 0%, rgba(3, 12, 27, 0.4) 50%, rgba(3, 12, 27, 0.85) 100%);

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    transition: var(--transition-smooth);

    z-index: 2;

}



.segment-overlay h3 {

    font-size: 1.45rem;

    margin-bottom: 6px;

    display: flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);

}



.segment-overlay h3 i {

    color: var(--color-primary);

    font-size: 1.25rem;

}



.segment-overlay p {

    font-size: 0.95rem;

    color: #f1f5f9;

    opacity: 0.9;

    margin-top: 10px;

    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);

}



.segment-item:hover {

    border-color: var(--color-primary);

    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.2);

}



.segment-item:hover .segment-img {

    transform: scale(1.08);

}



.segment-item:hover .segment-overlay {

    background: linear-gradient(180deg, rgba(3, 12, 27, 0.05) 0%, rgba(3, 12, 27, 0.5) 40%, rgba(3, 12, 27, 0.96) 95%);

    box-shadow: inset 0 0 30px rgba(0, 74, 173, 0.3);

}



.segment-item:hover .segment-overlay p {

    opacity: 1;

    color: #ffffff;

}



/* ==========================================================================

   PUBLIC SITE - CTA SECTION

   ========================================================================== */



.cta-section {

    padding: 80px 0;

    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);

    border-top: 1px solid var(--border-color);

    border-bottom: 1px solid var(--border-color);

    position: relative;

}



.cta-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}



.cta-content h2 {

    font-size: 2.4rem;

    margin-bottom: 16px;

    max-width: 700px;

}

.cta-content p {

    font-size: 1.1rem;

    color: var(--color-text-body);

    max-width: 600px;

}



.cta-btns {

    display: flex;

    flex-direction: column;

    gap: 16px;

    min-width: 250px;

}



.btn-whatsapp-cta {

    background: #25d366;

    color: #fff;

    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);

}

.btn-whatsapp-cta:hover {

    background: #20ba5a;

    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);

}



/* ==========================================================================

   PUBLIC SITE - CONTACT SECTION & FORMS

   ========================================================================== */



.contact-section {

    padding: 100px 0;

}



.contact-grid {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 60px;

}



.contact-info-block h2 {

    font-size: 2.6rem;

    margin-bottom: 24px;

}

.contact-info-block p {

    margin-bottom: 40px;

}



.contact-channels {

    display: flex;

    flex-direction: column;

    gap: 24px;

}



.channel-card {

    display: flex;

    align-items: center;

    gap: 20px;

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    padding: 24px;

    border-radius: 12px;

}



.channel-icon {

    width: 48px;

    height: 48px;

    border-radius: 10px;

    background: rgba(255, 215, 0, 0.08);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--color-primary);

    font-size: 1.25rem;

}



.channel-details h4 {

    font-size: 1.05rem;

    margin-bottom: 4px;

}

.channel-details p {

    margin-bottom: 0;

    color: var(--color-text-muted);

}



/* Premium Form Elements */

.premium-form {

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    padding: 40px;

    border-radius: 20px;

    box-shadow: var(--shadow-premium);

}



.form-row {

    margin-bottom: 20px;

}

.form-row.split {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}



.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.form-group label {

    font-size: 0.85rem;

    font-weight: 600;

    color: var(--color-text-main);

    text-transform: uppercase;

    letter-spacing: 0.05em;

}



.form-group input,

.form-group textarea,

.form-group select {

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid var(--border-color);

    border-radius: 8px;

    padding: 12px 16px;

    color: var(--color-text-main);

    font-family: var(--font-body);

    font-size: 0.95rem;

    transition: var(--transition-smooth);

    width: 100%;

}



.form-group input:focus,

.form-group textarea:focus,

.form-group select:focus {

    outline: none;

    border-color: var(--color-primary);

    background: rgba(255, 215, 0, 0.01);

    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);

}



.form-group select option {

    background-color: #0f1629;

    color: var(--color-text-main);

}



/* ==========================================================================

   PUBLIC SITE - FOOTER

   ========================================================================== */



.main-footer {

    background: #040810;

    border-top: 1px solid var(--border-color);

    padding: 80px 0 30px;

}



.footer-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1.5fr;

    gap: 60px;

    margin-bottom: 60px;

}



.footer-brand h3 {

    font-size: 1.8rem;

    margin-bottom: 16px;

}

.footer-brand h3 span {

    font-weight: 300;

    color: var(--color-text-muted);

}

.footer-brand p {

    color: var(--color-text-muted);

    font-size: 0.95rem;

}



.footer-links h4,

.footer-compliance h4 {

    font-size: 1.1rem;

    margin-bottom: 24px;

    color: var(--color-text-main);

}



.footer-links ul {

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.footer-links ul a {

    color: var(--color-text-muted);

}

.footer-links ul a:hover {

    color: var(--color-primary);

    padding-left: 4px;

}



.footer-compliance p {

    color: var(--color-text-muted);

    font-size: 0.9rem;

}



.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    padding-top: 30px;

    text-align: center;

    color: var(--color-text-muted);

    font-size: 0.85rem;

}



/* ==========================================================================

   PUBLIC SITE - ABOUT, PROCESSES & TECHNOLOGY SECTIONS

   ========================================================================== */



/* Sobre Nós Section */

.about-section {

    padding: 100px 0;

    background-color: var(--color-bg-dark);

    border-bottom: 1px solid var(--border-color);

}



.about-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    align-items: center;

}



.about-lead {

    font-size: 1.2rem;

    color: #ffffff;

    font-weight: 500;

    margin-bottom: 20px;

    line-height: 1.5;

}



.about-content p {

    margin-bottom: 25px;

    color: var(--color-text-body);

}



.about-kpis {

    display: flex;

    flex-direction: column;

    gap: 24px;

    margin-top: 30px;

}



.about-kpi-item {

    display: flex;

    gap: 20px;

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.05);

    padding: 20px;

    border-radius: 8px;

    transition: var(--transition-smooth);

}



.about-kpi-item:hover {

    border-color: rgba(255, 215, 0, 0.15);

    background: rgba(255, 255, 255, 0.03);

}



.about-kpi-item i {

    font-size: 1.8rem;

    margin-top: 3px;

}



.about-kpi-item h4 {

    font-size: 1.05rem;

    margin-bottom: 6px;

    color: #ffffff;

}



.about-kpi-item p {

    font-size: 0.9rem;

    margin-bottom: 0;

    color: var(--color-text-body);

}



.engineer-card {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 16px;

    padding: 35px;

    text-align: center;

    box-shadow: var(--shadow-premium);

    position: relative;

    overflow: hidden;

}



.engineer-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(90deg, #004aad, #ffd700);

}



.engineer-img {

    width: 160px;

    height: 160px;

    border-radius: 50%;

    margin: 0 auto 24px auto;

    border: 3px solid rgba(255, 215, 0, 0.3);

    background-size: cover;

    background-position: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

}



.engineer-info h3 {

    font-size: 1.4rem;

    margin-bottom: 6px;

    color: #ffffff;

}



.engineer-info p {

    font-size: 0.9rem;

    color: var(--color-primary);

    font-weight: 600;

    margin-bottom: 25px;

    text-transform: uppercase;

    letter-spacing: 0.05em;

}



.engineer-contact {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 0.9rem;

    color: var(--color-text-body);

    margin-top: 12px;

}



.engineer-contact i {

    color: var(--color-primary);

}



/* Process Section */

.process-section {

    padding: 100px 0;

    background-color: var(--color-bg-deep);

    border-bottom: 1px solid var(--border-color);

}



.process-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

    margin-top: 50px;

}



.process-card {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    padding: 30px 24px;

    transition: var(--transition-smooth);

    display: flex;

    flex-direction: column;

    height: 100%;

}



.process-card:hover {

    transform: translateY(-6px);

    border-color: rgba(255, 215, 0, 0.25);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);

}



.process-num {

    font-size: 2.8rem;

    font-weight: 800;

    color: rgba(255, 215, 0, 0.2);

    font-family: var(--font-heading);

    line-height: 1;

    margin-bottom: 15px;

    transition: var(--transition-smooth);

}



.process-card:hover .process-num {

    color: var(--color-primary);

    transform: scale(1.05);

}



.process-card h3 {

    font-size: 1.15rem;

    margin-bottom: 12px;

    color: #ffffff;

}



.process-card p {

    font-size: 0.88rem;

    color: var(--color-text-body);

    line-height: 1.6;

}



/* Technology HVAC-R Section */

.tech-solutions-section {

    padding: 100px 0;

    background-color: var(--color-bg-dark);

    border-bottom: 1px solid var(--border-color);

}



.tech-tabs {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-bottom: 60px;

}



.tech-tab-btn {

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--color-text-body);

    padding: 14px 28px;

    border-radius: 30px;

    font-family: var(--font-heading);

    font-weight: 700;

    font-size: 0.95rem;

    cursor: pointer;

    transition: var(--transition-smooth);

}



.tech-tab-btn:hover {

    background: rgba(255, 255, 255, 0.06);

    color: #ffffff;

}



.tech-tab-btn.active {

    background: #004aad;

    color: #ffffff;

    border-color: rgba(0, 212, 255, 0.25);

    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);

}



.tech-tab-content {

    display: none;

    animation: fadeInTab 0.4s ease;

}



.tech-tab-content.active {

    display: block;

}



@keyframes fadeInTab {

    from { opacity: 0; transform: translateY(10px); }

    to { opacity: 1; transform: translateY(0); }

}



.tech-content-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    align-items: flex-start;

}



.tech-lead {

    font-size: 1.15rem;

    line-height: 1.6;

    margin-bottom: 30px;

    color: #ffffff;

}



.tech-bullets {

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 16px;

    margin-bottom: 40px;

}



.tech-bullets li {

    display: flex;

    gap: 12px;

    font-size: 0.95rem;

    line-height: 1.5;

}



.tech-bullets li i {

    color: var(--color-primary);

    font-size: 1.1rem;

    margin-top: 3px;

    flex-shrink: 0;

}



.vrv-models-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-top: 30px;

}



.vrv-model-card {

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 8px;

    padding: 16px;

    transition: var(--transition-smooth);

}



.vrv-model-card:hover {

    border-color: rgba(0, 212, 255, 0.2);

    background: rgba(255, 255, 255, 0.03);

}



.vrv-model-card h4 {

    color: var(--color-primary);

    font-size: 0.95rem;

    margin-bottom: 6px;

}



.vrv-model-card p {

    font-size: 0.82rem;

    color: var(--color-text-muted);

    line-height: 1.4;

    margin-bottom: 0;

}



.sp-lines-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;

    margin-bottom: 30px;

}



.sp-line-box {

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 8px;

    padding: 18px;

    transition: var(--transition-smooth);

}



.sp-line-box:hover {

    border-color: rgba(255, 215, 0, 0.2);

    background: rgba(255, 255, 255, 0.03);

}



.sp-line-box h4 {

    color: #ffffff;

    font-size: 0.98rem;

    margin-bottom: 6px;

}



.sp-line-box p {

    font-size: 0.85rem;

    color: var(--color-text-body);

    line-height: 1.5;

    margin-bottom: 0;

}



.sp-applications {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}



.sp-applications span {

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.06);

    color: var(--color-text-body);

    padding: 6px 14px;

    border-radius: 30px;

    font-size: 0.8rem;

    font-weight: 500;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}



.sp-applications span i {

    font-size: 0.85rem;

}



.tech-visual {

    position: sticky;

    top: 120px;

}



.tech-img-holder {

    height: 380px;

    background-size: cover;

    background-position: center;

    background-repeat: não-repeat;

    border-radius: 12px;

    box-shadow: var(--shadow-premium);

    border: 1px solid var(--border-color);

    transition: var(--transition-smooth);

}



.tech-img-holder:hover {

    transform: scale(1.02);

    border-color: var(--color-primary);

    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);

}



/* Responsividade de Novas Seções */

@media (max-width: 992px) {

    .about-grid,

    .tech-content-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    

    .process-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    

    .tech-visual {

        position: static;

    }

}



@media (max-width: 576px) {

    .process-grid {

        grid-template-columns: 1fr;

    }

    

    .vrv-models-grid {

        grid-template-columns: 1fr;

    }

    

    .tech-tab-btn {

        width: 100%;

        text-align: center;

    }

    

    .tech-tabs {

        flex-direction: column;

        gap: 10px;

    }

}



/* ==========================================================================

   PUBLIC SITE - PORTFOLIO SECTION & MODALS

   ========================================================================== */



.portfolio-section {

    padding: 100px 0;

    background-color: var(--color-bg-dark);

    position: relative;

}



.portfolio-filters {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 50px;

}



.portfolio-filter-btn {

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--color-text-body);

    padding: 10px 22px;

    border-radius: 30px;

    font-family: var(--font-heading);

    font-weight: 600;

    font-size: 0.9rem;

    cursor: pointer;

    transition: var(--transition-smooth);

}



.portfolio-filter-btn:hover {

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.2);

}



.portfolio-filter-btn.active {

    background: #004aad; /* Azul Royal da M-Tech */

    border-color: rgba(0, 212, 255, 0.3);

    color: #ffffff;

    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);

}



.portfolio-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

    gap: 30px;

    margin-bottom: 60px;

    transition: all 0.5s ease;

}



.portfolio-item-card {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    height: 100%;

    transition: var(--transition-smooth);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    position: relative;

}



.portfolio-item-card:hover {

    transform: translateY(-6px);

    border-color: rgba(0, 212, 255, 0.25);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 212, 255, 0.1);

}



.portfolio-card-img {

    height: 200px;

    background-size: cover;

    background-position: center;

    position: relative;

    transition: var(--transition-smooth);

}



.portfolio-item-card:hover .portfolio-card-img {

    transform: scale(1.03);

}



.portfolio-card-badge {

    position: absolute;

    top: 15px;

    right: 15px;

    background: rgba(3, 12, 27, 0.8);

    backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 0.75rem;

    font-weight: 700;

    padding: 6px 14px;

    border-radius: 30px;

    letter-spacing: 0.03em;

    z-index: 2;

}



.portfolio-card-content {

    padding: 24px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

    z-index: 2;

    background: var(--color-bg-panel);

}



.portfolio-card-content h3 {

    font-size: 1.15rem;

    line-height: 1.4;

    margin-bottom: 8px;

    font-weight: 700;

    color: #ffffff;

    transition: var(--transition-smooth);

}



.portfolio-item-card:hover .portfolio-card-content h3 {

    color: var(--color-primary);

}



.portfolio-card-loc {

    font-size: 0.85rem;

    color: var(--color-text-muted);

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    gap: 6px;

}



.portfolio-card-kpi {

    display: flex;

    justify-content: space-between;

    padding-top: 14px;

    margin-top: auto;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    font-size: 0.85rem;

    color: var(--color-text-body);

}



.portfolio-card-kpi strong {

    color: #ffffff;

}



.portfolio-card-content .btn {

    margin-top: 20px;

    width: 100%;

}



/* Outros Empreendimentos */

.other-projects-block {

    background: rgba(13, 33, 61, 0.4);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    padding: 35px;

    margin-top: 40px;

}



.other-projects-block h3 {

    font-size: 1.25rem;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    gap: 10px;

}



.other-projects-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

}



@media (max-width: 1100px) {

    .other-projects-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



.other-proj-item {

    height: 250px;

    border-radius: 12px;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background: var(--color-bg-panel);

    transition: var(--transition-smooth);

}



.other-proj-img {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    transition: var(--transition-smooth);

}



.other-proj-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(180deg, rgba(3, 12, 27, 0) 0%, rgba(3, 12, 27, 0.15) 50%, rgba(3, 12, 27, 0.8) 100%);

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    transition: var(--transition-smooth);

    z-index: 2;

}



.other-proj-item:hover {

    border-color: var(--color-primary);

    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);

    transform: translateY(-4px);

}



.other-proj-item:hover .other-proj-img {

    transform: scale(1.08);

}



.other-proj-item h4 {

    font-size: 1.15rem;

    margin-bottom: 6px;

    font-weight: 700;

    color: var(--color-primary);

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);

    font-family: var(--font-heading);

}



.other-proj-item p {

    font-size: 0.85rem;

    color: #f1f5f9;

    margin-bottom: 0;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);

}



/* Estilo do Modal de Detalhes de Projetos */

.project-modal-container {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 1500;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    transition: opacity 0.3s ease;

}



.project-modal-backdrop {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(3, 12, 27, 0.85);

    backdrop-filter: blur(8px);

}



.project-modal-card {

    position: relative;

    background-color: var(--color-bg-panel);

    border: 1px solid rgba(255, 255, 255, 0.1);

    width: 100%;

    max-width: 800px;

    max-height: 90vh;

    border-radius: 16px;

    overflow-y: auto;

    z-index: 2;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);

    animation: modalScaleUp 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

}



@keyframes modalScaleUp {

    from {

        opacity: 0;

        transform: scale(0.95) translateY(15px);

    }

    to {

        opacity: 1;

        transform: scale(1) translateY(0);

    }

}



.project-modal-close {

    position: absolute;

    top: 20px;

    right: 20px;

    background: rgba(0, 0, 0, 0.5);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #ffffff;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    cursor: pointer;

    z-index: 10;

    transition: var(--transition-smooth);

}



.project-modal-close:hover {

    background: #ef4444;

    border-color: #ef4444;

}



.project-modal-carousel-wrapper {

    height: 480px;

    width: 100%;

    position: relative;

    overflow: hidden;

    background-color: #020813;

}



.project-modal-carousel {

    display: flex;

    width: 100%;

    height: 100%;

    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

}



.project-modal-carousel-slide {

    flex: 0 0 100%;

    width: 100%;

    height: 100%;

    background-size: contain;

    background-repeat: no-repeat;

    background-position: center;

    position: relative;

}



.project-modal-carousel-slide::after {

    display: none;

}



/* Controles do Carrossel do Modal */

.project-modal-carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 46px;

    height: 46px;

    border-radius: 50%;

    background: rgba(3, 12, 27, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: #ffffff;

    font-size: 1.8rem;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: var(--transition-smooth);

    z-index: 10;

    user-select: none;

}



.project-modal-carousel-btn:hover {

    background: var(--color-primary);

    color: #0a192f;

    border-color: var(--color-primary);

    box-shadow: var(--shadow-glow);

}



.project-modal-carousel-btn.prev {

    left: 20px;

}



.project-modal-carousel-btn.next {

    right: 20px;

}



.project-modal-carousel-dots {

    position: absolute;

    bottom: 15px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 10;

}



.project-modal-carousel-dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.4);

    cursor: pointer;

    transition: var(--transition-smooth);

}



.project-modal-carousel-dot.active {

    background: var(--color-primary);

    width: 26px;

    border-radius: 100px;

}



.project-modal-body {

    padding: 30px 40px 40px 40px;

}



.project-modal-category {

    display: inline-block;

    background: rgba(255, 215, 0, 0.12);

    border: 1px solid rgba(255, 215, 0, 0.25);

    color: var(--color-primary);

    font-size: 0.8rem;

    font-weight: 700;

    padding: 6px 14px;

    border-radius: 30px;

    margin-bottom: 15px;

    text-transform: uppercase;

}



.project-modal-body h2 {

    font-size: 2rem;

    line-height: 1.2;

    margin-bottom: 10px;

    color: #ffffff;

}



.project-modal-location {

    font-size: 0.95rem;

    color: var(--color-text-muted);

    margin-bottom: 30px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.project-modal-specs {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 35px;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}



.spec-box {

    background: rgba(3, 12, 27, 0.3);

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 8px;

    padding: 16px;

    display: flex;

    flex-direction: column;

}



.spec-label {

    font-size: 0.75rem;

    color: var(--color-text-muted);

    text-transform: uppercase;

    letter-spacing: 0.05em;

    margin-bottom: 6px;

}



.spec-val {

    font-size: 1.05rem;

    font-weight: 700;

    color: #ffffff;

}



.project-modal-desc-block {

    margin-bottom: 30px;

}



.project-modal-desc-block h3 {

    font-size: 1.2rem;

    margin-bottom: 12px;

    font-weight: 700;

    color: #ffffff;

    border-left: 3px solid var(--color-primary);

    padding-left: 10px;

}



.project-modal-desc-block p {

    font-size: 0.98rem;

    color: var(--color-text-body);

    line-height: 1.7;

}



.project-modal-actions {

    margin-top: 40px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;

    justify-content: flex-end;

}



.project-modal-actions .btn {

    padding: 14px 30px;

}



/* Responsividade do Portfólio */

@media (max-width: 768px) {

    .portfolio-grid {

        grid-template-columns: 1fr;

    }

    

    .project-modal-body {

        padding: 25px 25px 30px 25px;

    }

    

    .project-modal-specs {

        grid-template-columns: 1fr;

        gap: 15px;

    }

    

    .project-modal-body h2 {

        font-size: 1.6rem;

    }

    

    .other-projects-grid {

        grid-template-columns: 1fr;

    }

}



/* ==========================================================================

   INTEGRATED ERP - LAYOUT & NAVIGATION

   ========================================================================== */



#erp-app {

    min-height: 100vh;

    background-color: var(--color-bg-deep);

}



#erp-workspace {

    display: grid;

    grid-template-columns: var(--sidebar-width) 1fr;

    min-height: 100vh;

    width: 100%;

}



/* Sidebar Styling */

.erp-sidebar {

    background-color: var(--color-bg-panel);

    border-right: 1px solid var(--border-color);

    display: flex;

    flex-direction: column;

    padding: 30px 20px;

    height: 100vh;

    position: sticky;

    top: 0;

}



.erp-brand {

    margin-bottom: 40px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;

}

.brand-title {

    font-family: var(--font-heading);

    font-size: 1.5rem;

    font-weight: 800;

    color: #fff;

}

.brand-title span {

    color: var(--color-primary);

}

.brand-badge {

    background: rgba(255, 215, 0, 0.15);

    color: var(--color-primary);

    font-size: 0.7rem;

    font-weight: 700;

    padding: 3px 8px;

    border-radius: 4px;

    letter-spacing: 0.05em;

}



.erp-menu {

    display: flex;

    flex-direction: column;

    gap: 8px;

    flex-grow: 1;

}



.erp-menu-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    border-radius: 8px;

    color: var(--color-text-body);

    font-weight: 500;

    font-size: 0.95rem;

    transition: var(--transition-smooth);

}

.erp-menu-item i {

    width: 20px;

    font-size: 1.1rem;

    color: var(--color-text-muted);

    transition: var(--transition-smooth);

}

.erp-menu-item:hover {

    background: rgba(255, 255, 255, 0.02);

    color: var(--color-primary);

}

.erp-menu-item:hover i {

    color: var(--color-primary);

}

.erp-menu-item.active {

    background: rgba(255, 215, 0, 0.08);

    border: 1px solid rgba(255, 215, 0, 0.15);

    color: var(--color-primary);

}

.erp-menu-item.active i {

    color: var(--color-primary);

}



.erp-sidebar-footer {

    border-top: 1px solid var(--border-color);

    padding-top: 20px;

}



/* Main Content Area */

.erp-main {

    display: flex;

    flex-direction: column;

    height: 100vh;

    overflow-y: auto;

}



.erp-header {

    height: 80px;

    border-bottom: 1px solid var(--border-color);

    padding: 0 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(30, 58, 95, 0.5);

    backdrop-filter: blur(8px);

    position: sticky;

    top: 0;

    z-index: 10;

}



.erp-header-title h2 {

    font-size: 1.6rem;

}



/* User profile avatar */

.user-profile {

    display: flex;

    align-items: center;

    gap: 12px;

    cursor: pointer;

    padding: 6px 14px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.01);

    border: 1px solid transparent;

    transition: var(--transition-smooth);

}

.user-profile:hover {

    background: rgba(255, 255, 255, 0.03);

    border-color: rgba(255, 215, 0, 0.25);

    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);

}

.user-profile:hover .profile-avatar {

    transform: scale(1.05);

    border-color: #ffd700;

}

.user-profile:hover .profile-name {

    color: #ffd700;

}

.profile-avatar {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: 2px solid var(--color-primary);

    object-fit: cover;

    transition: var(--transition-smooth);

}

.profile-info {

    display: flex;

    flex-direction: column;

}

.profile-name {

    font-size: 0.9rem;

    font-weight: 600;

    color: var(--color-text-main);

}

.profile-role {

    font-size: 0.75rem;

    color: var(--color-text-muted);

}



.erp-content-container {

    padding: 40px;

    flex-grow: 1;

}



/* ERP Panels */

.erp-panel {

    display: none;

    animation: fadeIn 0.4s ease forwards;

}

.erp-panel.active {

    display: block;

}



/* ==========================================================================

   INTEGRATED ERP - MODULE: DASHBOARD & KPIS

   ========================================================================== */



.kpi-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    margin-bottom: 40px;

}



.kpi-card {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    padding: 24px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    gap: 20px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}



.kpi-icon {

    width: 50px;

    height: 50px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.3rem;

}

.icon-blue { background: rgba(255, 215, 0, 0.1); color: var(--color-primary); }

.icon-cyan { background: rgba(255, 215, 0, 0.1); color: var(--color-primary); }

.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }

.icon-orange { background: rgba(245, 158, 11, 0.1); color: var(--color-warning); }



.kpi-data {

    display: flex;

    flex-direction: column;

}

.kpi-value {

    font-family: var(--font-heading);

    font-size: 1.8rem;

    font-weight: 800;

    color: var(--color-text-main);

    line-height: 1.1;

}

.kpi-label {

    font-size: 0.8rem;

    color: var(--color-text-muted);

    font-weight: 500;

    margin-top: 2px;

}



/* Dashboard Row Elements */

.erp-row {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 30px;

}



.erp-col {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 16px;

    padding: 30px;

}

.erp-col h3 {

    font-size: 1.2rem;

    margin-bottom: 24px;

}



.chart-container {

    position: relative;

    width: 100%;

}



/* ==========================================================================

   INTEGRATED ERP - COMMON TABLES & GESTíO

   ========================================================================== */



.panel-header-actions {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

    gap: 20px;

}



.search-bar-container {

    position: relative;

    max-width: 400px;

    width: 100%;

}

.search-bar-container i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--color-text-muted);

}

.search-bar-container input {

    background-color: rgba(255, 255, 255, 0.03);

    border: 1px solid var(--border-color);

    border-radius: 8px;

    padding: 12px 16px 12px 46px;

    color: var(--color-text-main);

    width: 100%;

    font-size: 0.9rem;

    transition: var(--transition-smooth);

}

.search-bar-container input:focus {

    outline: none;

    border-color: var(--color-primary);

    background-color: rgba(255, 215, 0, 0.01);

}



/* Table styling */

.table-responsive {

    overflow-x: auto;

    width: 100%;

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 12px;

}



.table {

    width: 100%;

    border-collapse: collapse;

    text-align: left;

    font-size: 0.9rem;

}



.table th, .table td {

    padding: 16px 24px;

    border-bottom: 1px solid var(--border-color);

    vertical-align: middle;

}



.table th {

    background-color: rgba(255, 255, 255, 0.01);

    color: var(--color-text-main);

    font-weight: 600;

}



.table tr:last-child td {

    border-bottom: none;

}



.table-hover tr:hover td {

    background-color: rgba(255, 255, 255, 0.02);

}



/* Status Labels & Urgência */

.status-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 4px 10px;

    border-radius: 100px;

    font-size: 0.75rem;

    font-weight: 600;

}



.status-pendente { background: rgba(245, 158, 11, 0.12); color: var(--color-warning); }

.status-atendimento { background: rgba(255, 215, 0, 0.12); color: var(--color-primary); }

.status-concluido { background: rgba(16, 185, 129, 0.12); color: var(--color-success); }

.status-suspenso { background: rgba(239, 68, 110, 0.12); color: var(--color-danger); }

.status-semcontrato { background: rgba(100, 116, 139, 0.15); color: var(--color-text-muted); }



.urgency-indicator {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-weight: 600;

}

.urgency-Baixa { color: var(--color-text-muted); }

.urgency-Média { color: var(--color-primary); }

.urgency-Alta { color: var(--color-warning); }

.urgency-Crítica { color: var(--color-danger); }



/* Table Action Buttons */

.btn-action {

    background: none;

    border: none;

    cursor: pointer;

    color: var(--color-text-muted);

    font-size: 1rem;

    padding: 6px;

    transition: var(--transition-smooth);

}

.btn-action:hover {

    color: var(--color-primary);

}



/* ==========================================================================

   INTEGRATED ERP - MODULE: EQUIPE TÉCNICA

   ========================================================================== */



.techs-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}



.tech-card {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 16px;

    padding: 24px;

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.tech-card-header {

    display: flex;

    align-items: center;

    gap: 16px;

}



.tech-avatar {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    object-fit: cover;

}



.tech-meta h4 {

    font-size: 1.05rem;

    margin-bottom: 2px;

}

.tech-meta p {

    font-size: 0.8rem;

    color: var(--color-text-muted);

}



.tech-status-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid var(--border-color);

    padding-top: 16px;

}



.tech-status-label {

    font-size: 0.85rem;

    font-weight: 500;

}



/* Custom Status Selector (ERP Mode Toggle) */

.tech-toggle-group {

    display: flex;

    gap: 4px;

    background-color: rgba(255, 255, 255, 0.02);

    border: 1px solid var(--border-color);

    padding: 3px;

    border-radius: 8px;

}

.btn-toggle-status {

    background: none;

    border: none;

    font-size: 0.75rem;

    padding: 5px 10px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 600;

    color: var(--color-text-muted);

    transition: var(--transition-smooth);

}

.btn-toggle-status.active[data-status="Disponível"] { background-color: rgba(16, 185, 129, 0.15); color: var(--color-success); }

.btn-toggle-status.active[data-status="Em Atendimento"] { background-color: rgba(255, 215, 0, 0.15); color: var(--color-primary); }

.btn-toggle-status.active[data-status="Ausente"] { background-color: rgba(239, 68, 68, 0.15); color: var(--color-danger); }



/* ==========================================================================

   INTEGRATED ERP - INTERACTIVE MODALS & GENERATOR

   ========================================================================== */



.modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    background: rgba(0, 0, 0, 0.8);

    backdrop-filter: blur(8px);

    z-index: 200;

    display: flex;

    align-items: center;

    justify-content: center;

    animation: fadeIn 0.3s ease;

}



.modal-card {

    background-color: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 16px;

    width: 100%;

    max-width: 600px;

    box-shadow: var(--shadow-premium);

    overflow: hidden;

}



.modal-large {

    max-width: 850px;

}



.modal-header {

    background-color: rgba(255, 255, 255, 0.01);

    border-bottom: 1px solid var(--border-color);

    padding: 20px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.modal-close {

    background: none;

    border: none;

    font-size: 1.25rem;

    color: var(--color-text-muted);

    cursor: pointer;

    transition: var(--transition-smooth);

}

.modal-close:hover {

    color: var(--color-danger);

}



.modal-card form {

    padding: 30px;

}



.modal-footer {

    display: flex;

    justify-content: flex-end;

    gap: 16px;

    margin-top: 30px;

    border-top: 1px solid var(--border-color);

    padding-top: 20px;

}



/* Generator dynamic rows */

.quote-items-section {

    border-top: 1px solid var(--border-color);

    margin-top: 24px;

    padding-top: 20px;

}

.quote-items-section h4 {

    font-size: 1rem;

    margin-bottom: 16px;

}



.quote-item-row {

    display: flex;

    gap: 16px;

    margin-bottom: 12px;

    align-items: center;

}



.q-item-desc {

    flex-grow: 1;

}



.btn-remove-row {

    background: none;

    border: 1px solid rgba(239, 68, 68, 0.2);

    border-radius: 6px;

    color: var(--color-danger);

    cursor: pointer;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: var(--transition-smooth);

}

.btn-remove-row:hover {

    background: var(--color-danger);

    color: #fff;

    border-color: var(--color-danger);

}



.quote-summary-block {

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid var(--border-color);

    padding: 20px;

    border-radius: 8px;

    margin-top: 20px;

}

.summary-row {

    display: flex;

    justify-content: space-between;

    font-size: 1.1rem;

}

.summary-row strong {

    color: var(--color-primary);

    font-size: 1.3rem;

}



/* ==========================================================================

   ORÇAMENTO DOCUMENT DESIGN FOR PRINTING

   ========================================================================== */



.quote-print-document {

    background: #ffffff;

    color: #1e293b;

    padding: 60px;

    font-family: Arial, sans-serif;

    line-height: 1.4;

}



.doc-header {

    display: flex;

    justify-content: space-between;

    border-bottom: 2px solid #0f172a;

    padding-bottom: 30px;

    margin-bottom: 30px;

}



.doc-company-info h2 {

    color: #0f172a;

    font-size: 1.8rem;

    margin-bottom: 8px;

}

.doc-company-info p {

    font-size: 0.85rem;

    color: #64748b;

    margin-bottom: 2px;

}



.doc-meta-info {

    text-align: right;

}

.doc-meta-info h3 {

    color: #0f172a;

    font-size: 1.4rem;

    margin-bottom: 12px;

}

.doc-meta-info p {

    font-size: 0.9rem;

    margin-bottom: 4px;

}



.doc-client-info {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    padding: 24px;

    border-radius: 8px;

    margin-bottom: 40px;

}

.doc-client-info h4 {

    color: #0f172a;

    margin-bottom: 12px;

    font-size: 0.95rem;

    border-bottom: 1px solid #cbd5e1;

    padding-bottom: 6px;

}

.doc-client-info p {

    font-size: 0.9rem;

    margin-bottom: 6px;

}



.doc-items-table {

    width: 100%;

    border-collapse: collapse;

    margin-bottom: 40px;

    font-size: 0.9rem;

}

.doc-items-table th, 

.doc-items-table td {

    padding: 12px;

    border-bottom: 1px solid #cbd5e1;

}

.doc-items-table th {

    background: #0f172a;

    color: #ffffff;

    font-weight: 700;

}



.doc-summary {

    display: flex;

    justify-content: flex-end;

    margin-bottom: 40px;

}



.doc-total-box {
    background: #f1f5f9;
    color: #334155;
    padding: 24px 40px;
    border-radius: 8px;
    text-align: right;
    border: 1px solid #cbd5e1;
}
.doc-total-box span {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}
.doc-total-box h2 {
    color: #0f172a;
    font-size: 2.2rem;
    margin-top: 8px;
    font-weight: 800;
}



.doc-notes {

    font-size: 0.8rem;

    color: #64748b;

    margin-bottom: 50px;

}

.doc-notes ul {

    margin-left: 20px;

    margin-top: 8px;

}



.doc-signatures {
    padding-bottom: 40px;

    display: flex;

    justify-content: space-between;

    margin-top: 60px;

}



.sig-line {

    width: 40%;

    text-align: center;

}

.sig-space {

    border-bottom: 1px solid #94a3b8;

    height: 60px;

    margin-bottom: 8px;

}

.sig-line p {

    font-size: 0.85rem;

    color: #64748b;

}



/* ==========================================================================

   WHATSAPP FLOATING BADGE

   ========================================================================== */



.whatsapp-float-btn {

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 60px;

    height: 60px;

    background: #25d366;

    color: #fff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 2rem;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(37, 211, 102, 0.4);

    z-index: 99;

    cursor: pointer;

    transition: var(--transition-smooth);

}

.whatsapp-float-btn:hover {

    transform: translateY(-5px) scale(1.05);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(37, 211, 102, 0.6);

}



.whatsapp-tooltip {

    position: absolute;

    right: 80px;

    background: #1e293b;

    color: #fff;

    padding: 8px 16px;

    border-radius: 8px;

    font-size: 0.85rem;

    font-weight: 600;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    transition: var(--transition-smooth);

    box-shadow: var(--shadow-premium);

    border: 1px solid var(--border-color);

}

.whatsapp-float-btn:hover .whatsapp-tooltip {

    opacity: 1;

}



/* ==========================================================================

   INTEGRATED ERP - NEW PHASE 2 STYLES

   ========================================================================== */



/* Login Container */

.erp-login-container {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 100vh;

    width: 100vw;

    background-color: var(--color-bg-deep);

    position: relative;

    overflow: hidden;

}



.login-glow {

    position: absolute;

    width: 350px;

    height: 350px;

    background: var(--color-primary);

    opacity: 0.1;

    filter: blur(120px);

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

}



.login-card {

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    padding: 50px 40px;

    width: 100%;

    max-width: 450px;

    box-shadow: var(--shadow-premium);

    backdrop-filter: blur(10px);

    z-index: 10;

}



.login-brand {

    text-align: center;

    margin-bottom: 30px;

}

.login-brand h2 {

    font-size: 2.2rem;

    margin-bottom: 6px;

    background: linear-gradient(135deg, #fff 30%, var(--color-primary) 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}

.login-brand h2 span {

    color: var(--color-primary);

}

.login-brand p {

    font-size: 0.9rem;

    color: var(--color-text-muted);

}



.input-icon-wrapper {

    position: relative;

    width: 100%;

}

.input-icon-wrapper i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--color-text-muted);

}

.input-icon-wrapper input {

    padding-left: 46px !important;

}



.login-error {

    background: rgba(239, 68, 68, 0.1);

    border: 1px solid rgba(239, 68, 68, 0.2);

    color: var(--color-danger);

    padding: 10px 14px;

    border-radius: 8px;

    font-size: 0.85rem;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    gap: 8px;

}



/* Sub-navigation inside Panels (e.g. Estoque subtabs) */

.estoque-tabs-header {

    display: flex;

    gap: 12px;

    border-bottom: 1px solid var(--border-color);

    margin-bottom: 24px;

    padding-bottom: 1px;

}



.btn-tab-sub {

    background: none;

    border: none;

    border-bottom: 2px solid transparent;

    color: var(--color-text-muted);

    font-family: var(--font-heading);

    font-weight: 600;

    font-size: 0.9rem;

    padding: 10px 16px;

    cursor: pointer;

    transition: var(--transition-smooth);

}

.btn-tab-sub:hover,

.btn-tab-sub.active {

    color: var(--color-primary);

}

.btn-tab-sub.active {

    border-bottom-color: var(--color-primary);

}



/* Quantity alerts in Stock table */

.qty-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 4px 10px;

    border-radius: 6px;

    font-weight: 700;

    font-size: 0.85rem;

}

.qty-low {

    background: rgba(239, 68, 68, 0.12);

    color: var(--color-danger);

    border: 1px solid rgba(239, 68, 68, 0.2);

}

.qty-normal {

    background: rgba(16, 185, 129, 0.12);

    color: var(--color-success);

    border: 1px solid rgba(16, 185, 129, 0.2);

}



.price-col {

    text-align: right;

}



/* Transaction table styles */

.trans-type-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-weight: 700;

    font-size: 0.8rem;

    text-transform: uppercase;

}

.trans-entrada {

    color: var(--color-success);

}

.trans-saida {

    color: var(--color-warning);

}



/* Restricted view placeholder */

.restricted-view-overlay {

    text-align: center;

    padding: 60px 40px;

    background: rgba(255, 255, 255, 0.01);

    border: 1px dashed var(--border-color);

    border-radius: 16px;

    grid-column: span 3;

}

.restricted-view-overlay i {

    font-size: 3.5rem;

    color: var(--color-warning);

    margin-bottom: 20px;

}

.restricted-view-overlay h3 {

    margin-bottom: 8px;

    color: var(--color-text-main);

}

.restricted-view-overlay p {

    color: var(--color-text-muted);

}



/* Action button groupings */

.action-buttons-group {

    display: flex;

    gap: 12px;

}



/* ==========================================================================

   RESPONSIVE DESIGN (MEDIA QUERIES)

   ========================================================================== */



@media (max-width: 1024px) {

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;

    }

    .hero-content h1 {

        font-size: 3.2rem;

    }

    .hero-actions {

        justify-content: center;

    }

    .hero-badge-panel {

        max-width: 500px;

        margin: 0 auto;

    }

    

    .service-card {

        flex: 0 0 calc(50% - 12px); /* 2 items on tablet */

    }

    

    .kpi-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .erp-row {

        grid-template-columns: 1fr;

    }

    .techs-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 768px) {

    .main-header {

        background: #0a192f;

    }

    .mobile-toggle {

        display: block;

    }

    .nav-menu {

        position: fixed;

        top: var(--header-height);

        left: -100%;

        width: 100%;

        height: calc(100vh - var(--header-height));

        background-color: #0a192f;

        flex-direction: column;

        align-items: center;

        padding-top: 60px;

        transition: var(--transition-smooth);

        z-index: 99;

    }

    .nav-menu.mobile-active {

        left: 0;

    }

    

    .service-card {

        flex: 0 0 100%; /* 1 item on mobile */

    }

    .service-details-panel {

        padding: 30px;

    }

    .details-content {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    

    .segments-grid {

        grid-template-columns: 1fr;

    }

    

    .cta-container {

        flex-direction: column;

        text-align: center;

    }

    

    .contact-grid {

        grid-template-columns: 1fr;

    }

    

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    

    /* ERP Mobile responsivity */

    #erp-app {

        grid-template-columns: 1fr;

    }

    .erp-sidebar {

        display: none; /* simple toggle system or hide in mobile */

    }

    .erp-header {

        padding: 0 20px;

    }

    .erp-content-container {

        padding: 20px;

    }

    

    .kpi-grid {

        grid-template-columns: 1fr;

    }

    .techs-grid {

        grid-template-columns: 1fr;

    }

}



/* ==========================================================================

   PRINT STYLESHEET

   ========================================================================== */



@media print {

    /* Desabilitar animações apenas das seções principais (ScrollReveal) */

    section, header, footer, .container, .hero-content, .service-card, .info-card-dynamic, .project-card, .contact-container, h1, h2, h3, p, img {

        visibility: visible !important;

        opacity: 1 !important;

        transform: none !important;

        transition: none !important;

        /* animation: none !important; removido a pedido */

    }

    

    /* Ocultar elementos desnecessários e pop-ups na impressão */

    .nav-actions, .mobile-toggle, .btn-to-erp, #back-to-top, .floating-whatsapp, .modal-overlay, .project-modal-container, .erp-container {

        display: none !important;

    }



    /* Regras específicas apenas para quando for imprimir um orçamento do ERP */
body.printing-quote #erp-app,
body.printing-quote #erp-workspace,
body.printing-quote #erp-login-container,
body.printing-quote .cookie-banner {
    display: none !important;
}
body.printing-quote #public-site > *:not(#modal-quote-view) {
    display: none !important;
}

    

    body.printing-quote #modal-quote-view { display: block !important; position: relative !important; height: auto !important; overflow: visible !important; }
    body.printing-quote #modal-quote-view .modal-card { max-height: none !important; height: auto !important; overflow: visible !important; margin: 0 !important; box-shadow: none !important; border: none !important; }
    body.printing-quote #modal-quote-view,

    body.printing-quote #modal-quote-view *,

    body.printing-quote .quote-print-document,

    body.printing-quote .quote-print-document * {

        visibility: visible !important;

    }

    

    #modal-quote-view {

        position: absolute;

        left: 0;

        top: 0;

        width: 100%;

        background: #fff !important;

        backdrop-filter: none;

    }

    

    .no-print {

        display: none !important;

    }

    

    .print-modal {

        max-width: 100% !important;

        box-shadow: none !important;

        border: none !important;

    }

    

    .quote-print-document {

        padding: 0;

    }

}



/* ==========================================================================

   SERVICE MODAL

   ========================================================================== */

#service-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(3, 12, 27, 0.85);

    backdrop-filter: blur(8px);

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    pointer-events: none;

    transition: all 0.3s ease;

}



#service-modal.active {

    opacity: 1 !important;

    pointer-events: auto !important;

}



.modal-content {

    background: var(--color-bg-panel);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    width: 90%;

    max-width: 600px;

    padding: 40px;

    position: relative;

    transform: translateY(30px);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

}



#service-modal.active .modal-content {

    transform: translateY(0);

}



.modal-close {

    position: absolute;

    top: 20px;

    right: 20px;

    background: rgba(255, 255, 255, 0.1);

    border: none;

    color: var(--color-text-main);

    width: 40px;

    height: 40px;

    border-radius: 50%;

    font-size: 1.2rem;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

}



.modal-close:hover {

    background: var(--color-primary);

    color: #fff;

    transform: rotate(90deg);

}



.modal-header {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border-color);

}



.modal-icon {

    width: 50px;

    height: 50px;

    background: rgba(255, 215, 0, 0.1);

    color: var(--color-secondary);

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

}



.modal-header h3 {

    margin: 0;

    font-size: 1.5rem;

    color: #fff;

}



.modal-body {

    color: var(--color-text-muted);

    line-height: 1.8;

    margin-bottom: 30px;

    font-size: 1.05rem;

}



.modal-footer {

    display: flex;

    justify-content: flex-end;

}





@keyframes pulseEyeGlow {

    0% { opacity: 0; }

    100% { opacity: 1; }

}





@keyframes pulseLamp {

    0% { opacity: 0.6; filter: brightness(1) scale(0.9); }

    100% { opacity: 1; filter: brightness(1.5) scale(1.2); }

}





.force-hide-print { display: none !important; }


@page {
    margin: 0; /* Remove headers e rodaps padro do navegador (data, link localhost, etc) */
}
body.printing-quote {
    padding: 0 !important; /* Adiciona uma margem interna de volta ao documento para no cortar as bordas na impresso */
}


@media print {
    /* Safe margins */
    .quote-print-document {
        padding: 0.5cm 1cm !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    table.doc-items-table {
        width: 100% !important;
        table-layout: fixed !important;
        word-wrap: break-word !important;
    }
    
    table.doc-items-table th, table.doc-items-table td {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
}


@media print {
    /* Compactar um pouco a rea de assinaturas para caber na mesma pgina */
    .doc-signatures {
        margin-top: 20px !important;
        padding-bottom: 0px !important;
    }
    
    /* Evitar quebra de pgina no meio das assinaturas ou do sumrio se possvel */
    .doc-signatures, .doc-summary {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    /* Se tiver poucos itens, evitar que a pgina quebre depois da tabela */
    .doc-items-table {
        margin-bottom: 10px !important;
    }
}


/* ==========================================================================
   MOBILE FIXES (SMARTPHONES)
   ========================================================================== */
@media (max-width: 991px) {
    .container {
        width: 100% !important;
        padding: 0 15px !important;
        overflow-x: hidden !important;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 120px 0 60px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    .hero-content p {
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .stat-card {
        width: 100%;
    }
    .hero-mascot {
        position: relative;
        transform: scale(0.7);
        margin: -50px auto 0 auto;
        right: auto;
        bottom: auto;
        display: block;
    }
    .mascot-character {
        max-width: 250px;
    }

    /* Header e Nav */
    .navbar {
        padding: 15px !important;
    }
    .nav-links {
        display: none;
    }

    /* Sessões Genéricas */
    .section-header {
        width: 100% !important;
        max-width: 100% !important;
    }
    .section-header h2 {
        font-size: 2rem !important;
    }

    /* Grids */
    .services-grid, .portfolio-grid, .tech-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Modais */
    .modal-card, .modal-large, .modal-content, .project-modal-card {
        width: 95% !important;
        max-width: 95% !important;
        padding: 20px !important;
        margin: 10px auto;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    .project-modal-card {
        flex-direction: column;
    }
    .project-modal-image {
        width: 100%;
        height: 200px;
    }
    .project-modal-info {
        width: 100%;
    }

    /* Documento de Impressão e Formulário */
    .document-body {
        padding: 10px !important;
    }
    .quote-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .quote-header img {
        margin: 0 auto;
    }
    .doc-items-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Login */
    .login-card {
        width: 90% !important;
        padding: 30px 20px !important;
    }
    .login-glow {
        width: 200px !important;
        height: 200px !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    /* CTA */
    .cta-content h2 {
        width: 100% !important;
        font-size: 2rem !important;
    }
    .cta-content p {
        width: 100% !important;
    }
}


/* ==========================================================================
   AJUSTES FINAIS - HEADER E PORTFOLIO (MOBILE/TABLET)
   ========================================================================== */
@media (max-width: 991px) {
    /* Navbar / Header Fixes */
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .logo-m-title {
        font-size: 1.4rem !important;
    }
    .logo-m-sub {
        font-size: 0.6rem !important;
        letter-spacing: 2px !important;
    }
    .logo-icon-snow {
        font-size: 1.8rem !important;
    }
    .logo-icon-lightning {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    /* Botão ERP espremido */
    .btn-erp {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    .nav-actions {
        gap: 10px !important;
    }

    /* Portfolio (Obras) - Impedir que fiquem muito largas na tela deitada/desktop */
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    }
    .portfolio-item-card {
        max-width: 100% !important;
    }
    
    /* Hero stats - para não ficar lado a lado e cortar no celular em pé */
    .hero-stats {
        flex-direction: column !important;
    }
}

/* Telas muito pequenas (celular em pé) */
@media (max-width: 480px) {
    .btn-erp {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   AJUSTES FINAIS 2 - BOTOES, TEXTO E MASCOTE
   ========================================================================== */
@media (max-width: 991px) {
    /* Forçar quebra de linha nas métricas e botões que tinham CSS inline */
    .hero-badge-panel {
        flex-direction: column !important;
    }
    .badge-item {
        width: 100% !important;
    }
    
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    /* Evitar que o texto corte */
    .hero-content h1 {
        font-size: 2.1rem !important;
        word-wrap: break-word !important;
        hyphens: auto;
    }

    /* Puxar o mascote para cima e diminuir para não sobrar espaço morto */
    .hero-right-aárea {
        margin-top: -60px !important;
        flex: 1 1 100% !important;
        height: auto !important;
    }
    .mascot-container {
        max-width: 250px !important;
        margin-top: 0 !important;
    }
}


/* ==========================================================================
   AJUSTE DE ALINHAMENTO DO FORMULÁRIO DE CONTATO (DESKTOP)
   ========================================================================== */
.contact-grid {
    align-items: center;
}


/* ==========================================================================
   AJUSTES FINAIS 3 - ESPAÇAMENTOS MOBILE (HERO E MASCOTE)
   ========================================================================== */
@media (max-width: 991px) {
    /* Dar mais espaço no topo para o badge não encostar no cabeçalho */
    .hero {
        padding-top: 160px !important; 
    }
    
    /* Descer o mascote para uma posição mais natural */
    .hero-right-aárea {
        margin-top: 20px !important; 
    }
    .mascot-container {
        margin-top: 20px !important;
    }
}


/* ==========================================================================
   OTIMIZAÇÃO DE PERFORMANCE EXTREMA PARA CELULARES (REDUZIR TRAVAMENTOS)
   ========================================================================== */
@media (max-width: 991px) {
    /* 1. Desativar animação contínua e sombra complexa do mascote que fritam a placa de vídeo do celular */
    .mascot-container {
        /* animation: none !important; removido a pedido */
    }
    .mascot-container img {
        filter: none !important;
    }
    
    /* 2. Reduzir a qualidade do desfoque de vidro (glassmorphism) que causa lag ao rolar a página */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    .header, .servico-card, .contact-grid {
        backdrop-filter: blur(4px) !important; /* Desfoque mais leve */
        -webkit-backdrop-filter: blur(4px) !important;
    }
}


/* ==========================================================================
   AJUSTE FINAL DA ETIQUETA CLIMATIZACAO NO TOPO (ESPAÇAMENTO E TAMANHO)
   ========================================================================== */
@media (max-width: 991px) {
    .badge-tag {
        margin-top: 40px !important; /* Desgrudar da linha do cabeçalho */
        padding: 10px 18px !important; /* Deixar o card mais gordinho para o texto em 2 linhas não ficar estrangulado */
        text-align: center;
        line-height: 1.4;
    }
}


/* ==========================================================================
   AJUSTE DE MARGEM ESQUERDA IPHONE (AFASTAR LOGO E TEXTO DA BORDA)
   ========================================================================== */
@media (max-width: 991px) {
    .container, .header-container {
        padding-left: 25px !important; /* Empurra todos os itens da página inteira mais para a direita */
        padding-right: 25px !important;
    }
}


/* ==========================================================================
   MOBILE PERFORMANCE OPTIMIZATIONS (SCROLL JANK FIX)
   ========================================================================== */
@media (max-width: 768px) {
    /* Remove desfoque pesado de vidro (Glassmorphism) que trava o processador */
    .main-header, .hero-badge-panel, .portfolio-card-badge, .project-modal-backdrop, 
    .erp-header, .modal-overlay, .login-card, #service-modal, .header, .servico-card, .contact-grid {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Para manter a legibilidade, o cabeçalho fica sólido sem o blur */
    .main-header {
        background: rgba(0, 74, 173, 1) !important;
    }
    
    /* Desativa animações pesadas de brilho e rotação de SVG */
    .logo-icon-snow, .logo-icon-lightning i {
        filter: none !important;
        animation: none !important;
    }
    
    /* Remove rolagem suave nativa que causa sensação de lentidão no touch */
    html {
        scroll-behavior: auto !important;
    }
}


/* Ajuste de quebra de linha dos numeros do engenheiro no celular */
.engineer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.eng-phones {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.eng-phones span {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .eng-phones {
        flex-direction: column;
        gap: 4px;
    }
    .eng-phones .separator {
        display: none;
    }
}


/* === ADMIN CARD (MERIAM) === */
.admin-card {
    background: linear-gradient(145deg, #02142e, #002b66);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #ffd700);
}

.admin-logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
}

.admin-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(160, 210, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(10px);
}

.admin-logo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #003a8c, #00122e);
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 120, 255, 0.5);
}

.admin-logo i {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.9);
}

.admin-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-role {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 5px;
    font-weight: 400;
}

.admin-name {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
}

.admin-name::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
    box-shadow: 0 0 10px #007bff;
}

.admin-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #f0f0f0;
    margin-bottom: 15px;
    font-size: 1.15rem;
    justify-content: flex-start;
    width: 100%;
    max-width: 320px;
    padding: 5px 0;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-mail {
    background: #007bff;
}

.icon-wa {
    background: #25D366;
}

.icon-circle i {
    color: #fff;
    font-size: 1.1rem;
}

.admin-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.admin-wa-link:hover {
    color: #128C7E;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}


/* === FIX CENTERING ADMIN CARD MOBILE === */
.about-media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.admin-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .about-media {
        padding: 0;
        margin: 0 auto;
        justify-content: center;
    }
    .admin-card {
        margin: 20px auto !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* === AGGRESSIVE MOBILE CENTERING FOR ADMIN CARD === */
@media (max-width: 991px) {
    .about-media {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .admin-card {
        width: 95% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
}

/* === RESPONSIVE FIX FOR ADMIN CONTACT OVERFLOW === */
@media (max-width: 768px) {
    .admin-card {
        padding: 30px 20px !important;
        overflow: hidden !important;
    }
    .admin-contact {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
        flex-wrap: wrap;
        max-width: 100% !important;
    }
    .admin-name {
        font-size: 1.4rem !important;
    }
    .about-media {
        overflow: hidden !important;
        width: 100% !important;
    }
}
