/* ===================================
   Eletro Kal - Elétrica e Instrumentação Industrial
   Cores baseadas na identidade visual da logo
   =================================== */

:root {
    /* Cores da identidade visual */
    --primary-color: #2B1B5C;      /* Roxo escuro da logo */
    --secondary-color: #FDB714;     /* Amarelo da logo */
    --accent-color: #1a1040;        /* Roxo mais escuro */
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --gray-text: #666;
    --white: #ffffff;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #fdc740 100%);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Transições */
    --transition: all 0.3s ease;

    /* Tipografia */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* ===================================
   Reset e Base
   =================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   Layout
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    max-width: 100%;
}

.row.align-center {
    align-items: center;
}

.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8 {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

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

.bg-light {
    background-color: var(--light-bg);
}

/* ===================================
   Header e Navegação
   =================================== */

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-text);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    overflow: hidden;
    padding: 80px 0 60px;
    width: 100%;
    max-width: 100vw;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 27, 92, 0.95) 0%, rgba(26, 16, 64, 0.95) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 183, 20, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: pulse 4s ease-in-out infinite;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 183, 20, 0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-main {
    margin-bottom: 50px;
}

.hero-text {
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn i {
    margin-right: 8px;
}

/* Hero Feature Cards */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 183, 20, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-card p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box {
    text-align: center;
    position: relative;
}

.stat-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
}

.stat-box:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number::before {
    content: '+';
    font-size: 2rem;
    margin-right: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===================================
   Section Headers
   =================================== */

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 60px;
}

/* ===================================
   About Section
   =================================== */

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.checklist {
    margin: 30px 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.checklist i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===================================
   Services Section
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

/* Image Placeholders */
.service-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    position: relative;
}

.service-image-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.service-image-placeholder span {
    font-size: 0.875rem;
    opacity: 0.7;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(43, 27, 92, 0.1) 0%, rgba(26, 16, 64, 0.1) 100%);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary-color);
}

.image-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.image-placeholder small {
    font-size: 0.875rem;
    opacity: 0.6;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===================================
   Diferenciais
   =================================== */

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.differential-item {
    text-align: center;
}

.differential-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.differential-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.differential-item p {
    color: var(--gray-text);
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===================================
   WhatsApp Button
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--white);
}

/* ===================================
   Page Header
   =================================== */

.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===================================
   MVV Cards
   =================================== */

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mvv-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.mvv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mvv-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

.values-list {
    text-align: left;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-text);
}

.values-list i {
    color: var(--secondary-color);
}

/* ===================================
   Expertise Grid
   =================================== */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.expertise-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expertise-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.expertise-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   Certifications
   =================================== */

.certifications-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cert-badge {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cert-badge i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.cert-badge span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===================================
   Service Icon Large
   =================================== */

.service-icon-large {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.service-icon-large i {
    font-size: 4rem;
    color: var(--white);
}

/* ===================================
   Contact Section
   =================================== */

.contact-info {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info > p {
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    opacity: 0.95;
}

/* ===================================
   Forms
   =================================== */

.contact-form-wrapper,
.quote-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2,
.quote-form-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.quote-intro {
    text-align: center;
    margin-bottom: 40px;
}

.quote-intro i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--dark-text);
}

.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.form-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===================================
   Map Section
   =================================== */

.map-section {
    height: 400px;
    background: var(--light-bg);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ===================================
   Guarantees
   =================================== */

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guarantee-item {
    text-align: center;
    padding: 30px;
}

.guarantee-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.guarantee-item h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.guarantee-item p {
    color: var(--gray-text);
}

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

@media (min-width: 768px) {
    .col-md-5 {
        width: 41.666667%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-7 {
        width: 58.333333%;
    }

    .col-md-8 {
        width: 66.666667%;
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: 60vh;
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-box::after {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 20px 15px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .logo img {
        height: 40px;
    }

    .header-container {
        padding: 12px 15px;
    }

    .form-row,
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    * {
        max-width: 100%;
    }

    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .row {
        margin: 0 -10px;
    }

    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8 {
        padding: 0 10px;
    }

    .hero {
        min-height: auto;
        padding: 50px 0 40px;
        width: 100%;
    }

    .hero-overlay::before,
    .hero-overlay::after {
        display: none; /* Remover círculos decorativos no mobile */
    }

    .hero-title {
        font-size: 1.75rem;
        padding: 0 10px;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }

    .hero-stats {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .page-header {
        padding: 80px 15px 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .services-grid,
    .differentials-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .mvv-card {
        margin: 0 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }

    /* Corrigir tabelas e elementos que podem ultrapassar */
    table {
        width: 100% !important;
        display: block;
        overflow-x: auto;
    }

    /* Garantir que imagens não ultrapassem */
    img,
    .image-placeholder {
        max-width: 100%;
        width: 100%;
    }

    /* Ajustar formulários */
    .contact-form-wrapper,
    .quote-form-wrapper {
        padding: 20px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Ajustar footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo img {
        height: 40px;
    }
}

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

.img-fluid {
    max-width: 100%;
    height: auto;
}

.order-md-1 {
    order: 1;
}

.order-md-2 {
    order: 2;
}

@media (max-width: 767px) {
    .order-md-1,
    .order-md-2 {
        order: 0;
    }
}
