/* ==========================================================================
   ELETROTÉCNICA FOGAÇA - PREMIUM CSS STYLING
   ========================================================================== */

/* --- Import Google Fonts --- */
/* Loaded via HTML link tag for better PageSpeed performance */

/* --- Reset & Root CSS Variables --- */
:root {
    /* Color Palette */
    --primary: #F57C00;
    /* Laranja Oficial do Logo */
    --primary-hover: #E06900;
    --primary-glow: rgba(245, 124, 0, 0.35);

    --bg-dark: #0B192C;
    /* Azul Escuro Industrial */
    --bg-deep: #060E1A;
    /* Fundo Quase Preto para Seções */
    --bg-light: #F8FAFC;
    /* Fundo Claro para Leitura */
    --bg-card-dark: rgba(20, 32, 51, 0.6);
    --bg-card-light: #FFFFFF;

    --text-white: #FFFFFF;
    --text-dark: #0B192C;
    --text-slate: #64748B;
    --text-gray-light: #94A3B8;

    --success: #10B981;

    /* Font Families */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Borders & Shadow */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: rgba(11, 25, 44, 0.08);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--primary-glow);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

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

button,
input,
select,
textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Reuseable Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
}

/* Titles System */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 124, 0, 0.1);
    border: 1px solid rgba(245, 124, 0, 0.2);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-gray-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 124, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    background: transparent;
}

.header-nav.scrolled {
    background: rgba(6, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 6px 0;
}

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

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-white);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        border-left: 1px solid var(--border-dark);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 28px;
        transition: var(--transition-smooth);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7px);
    }
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(245, 124, 0, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(15, 37, 68, 0.5) 0%, transparent 50%),
        var(--bg-deep);
    overflow: hidden;
}

/* Background grid overlay for engineering aesthetic */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 124, 0, 0.08);
    border: 1px solid rgba(245, 124, 0, 0.2);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 124, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 124, 0, 0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-buttons, .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px; /* Alinha com o texto */
}

.cta-buttons {
    margin: 0 auto; /* Centraliza na seção CTA */
}

.hero-buttons .btn, .cta-buttons .btn {
    flex: 1;
    min-width: 240px;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    background: var(--bg-dark);
}

.hero-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
}

/* Floating info badge */
.hero-floating-badge {
    position: absolute;
    top: 475px;
    left: -24px;
    background: rgba(6, 14, 26, 0.9);
    border: 1px solid var(--primary);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-glow);
}

.floating-icon {
    font-size: 1.2rem;
    color: var(--primary);
    background: rgba(245, 124, 0, 0.1);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
}

.floating-text p {
    font-size: 0.8rem;
    color: var(--text-gray-light);
    margin: 0;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

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

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image-frame img {
        height: 380px;
    }

    .hero-floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -45px;
        top: auto;
        right: auto;
        width: max-content;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 12px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   2. AUTORIDADE / PROVAS
   ========================================================================== */
.stats {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 60px 0;
}

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

.stat-item {
    text-align: center;
    position: relative;
    padding: 10px 0;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray-light);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

/* ==========================================================================
   3. SERVIÇOS
   ========================================================================== */
.services {
    background: var(--bg-deep);
}

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

.service-card {
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary);
    background: rgba(245, 124, 0, 0.08);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    border: 1px solid rgba(245, 124, 0, 0.15);
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.service-link span {
    transition: transform 0.3s;
}

/* Hover States */
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 124, 0, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.service-card:hover .service-link span {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   4. DIFERENCIAIS
   ========================================================================== */
.diferenciais {
    background: var(--bg-dark);
    position: relative;
}

.diff-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

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

.diff-card {
    background: rgba(6, 14, 26, 0.4);
    border: 1px solid var(--border-dark);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.diff-card:hover {
    border-color: rgba(245, 124, 0, 0.2);
    background: rgba(245, 124, 0, 0.02);
    transform: translateY(-4px);
}

.diff-card-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.diff-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.diff-card p {
    font-size: 0.85rem;
    color: var(--text-gray-light);
    line-height: 1.5;
}

.diff-left h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.diff-left h2 span {
    color: var(--primary);
}

.diff-left p {
    color: var(--text-gray-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .diff-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   5. PORTFÓLIO
   ========================================================================== */
.portfolio {
    background: var(--bg-deep);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    color: var(--text-white);
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(6, 14, 26, 0.95));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.portfolio-category {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
}

.portfolio-desc {
    font-size: 0.85rem;
    color: var(--text-gray-light);
}

/* Portfolio Hover states */
.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Load More Buttons Styling */
.load-more-btn {
    background: #F57C00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 5px;
}

.load-more-btn:hover {
    background: #E65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.view-all-btn {
    background: transparent;
    color: #F57C00;
    border: 2px solid #F57C00;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 5px;
}

.view-all-btn:hover {
    background: #F57C00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

/* ==========================================================================
   6. SOBRE A EMPRESA
   ========================================================================== */
.sobre {
    background: var(--bg-dark);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.sobre-image-wrapper {
    position: relative;
}

.sobre-image-wrapper img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.sobre-image-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    top: 20px;
    left: -20px;
    z-index: -1;
}

.sobre-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.sobre-content h2 span {
    color: var(--primary);
}

.sobre-content p {
    color: var(--text-gray-light);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.sobre-mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.mvv-box {
    background: rgba(6, 14, 26, 0.4);
    border: 1px solid var(--border-dark);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.mvv-box i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.mvv-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mvv-box p {
    font-size: 0.78rem;
    color: var(--text-gray-light);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sobre-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sobre-mvv {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   7. DEPOIMENTOS
   ========================================================================== */
.depoimentos {
    background: var(--bg-deep);
}

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

.depoimento-card {
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #FBBF24;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.depoimento-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-gray-light);
    margin: 0;
    font-style: normal;
}

@media (max-width: 992px) {
    .depoimentos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   8. CTA FORTE
   ========================================================================== */
.cta-section {
    background: var(--bg-deep);
    padding-bottom: 100px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(15, 37, 68, 0.9) 100%);
    border: 1px solid rgba(245, 124, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 124, 0, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.cta-banner h2 span {
    color: var(--primary);
}

.cta-banner p {
    color: var(--text-gray-light);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

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

@media (max-width: 768px) {
    .cta-banner {
        padding: 50px 30px;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.faq {
    background: var(--bg-dark);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(6, 14, 26, 0.4);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    gap: 16px;
}

.faq-trigger span {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(6, 14, 26, 0.2);
}

.faq-content p {
    padding: 0 30px 24px 30px;
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    border-color: rgba(245, 124, 0, 0.25);
    background: rgba(245, 124, 0, 0.01);
}

.faq-item.active .faq-trigger span {
    transform: rotate(45deg);
}

/* ==========================================================================
   10. ÁREA DE ATENDIMENTO
   ========================================================================== */
.atendimento {
    background: var(--bg-deep);
}

.atendimento-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.atendimento-map {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    height: 380px;
    background: var(--bg-dark);
}

.atendimento-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.cities-list-header {
    margin-bottom: 24px;
}

.cities-list-header h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cities-list-header p {
    color: var(--text-gray-light);
}

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

.city-tag {
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.city-tag i {
    color: var(--primary);
    font-size: 0.85rem;
}

.city-tag:hover {
    border-color: var(--primary);
    background: rgba(245, 124, 0, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .atendimento-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   11. CONTATO
   ========================================================================== */
.contato {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
}

.contato-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contato-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contato-info>p {
    color: var(--text-gray-light);
    margin-bottom: 40px;
}

.contato-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(245, 124, 0, 0.08);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 124, 0, 0.15);
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 4px;
}

.method-details p {
    font-size: 1.05rem;
    font-weight: 600;
}

.contato-form-wrapper {
    background: rgba(6, 14, 26, 0.4);
    border: 1px solid var(--border-dark);
    padding: 50px 40px;
    border-radius: var(--radius-md);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray-light);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: var(--bg-deep);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(245, 124, 0, 0.1);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

@media (max-width: 992px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contato-form-wrapper {
        padding: 40px 24px;
    }
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-deep);
    padding: 80px 0 40px 0;
}

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

.footer-logo img {
    height: 52px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-gray-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-slate);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-slate);
}

.footer-legal-links a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

/* ==========================================================================
   LIGHTBOX MODAL FOR PORTFOLIO
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 14, 26, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   SEÇÃO: GRANDES OBRAS / CLIENTES MARQUEE
   ========================================================================== */

.clientes-marquee {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 24px 0 16px;
    overflow: hidden;
}

.clientes-header {
    text-align: center;
    margin-bottom: 20px;
}

.clientes-header p {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-slate);
}

.clientes-header p strong {
    color: var(--primary);
}

.marquee-wrapper {
    position: relative;
    overflow: hidden;
    /* Fade mask on edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

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

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 36px;
    border-right: 1px solid var(--border-dark);
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.marquee-item:hover {
    background: rgba(245, 124, 0, 0.06);
}

.client-sector {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.7;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-gray-light);
    text-transform: uppercase;
}

.clientes-disclaimer {
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-slate);
    margin-top: 14px;
    font-style: italic;
    opacity: 0.7;
    padding: 0 20px;
}

/* --- Footer Dev Credit --- */
.footer-dev-credit {
    text-align: center;
    padding: 10px 0 80px;
    border-top: 1px solid var(--border-dark);
    margin-top: 8px;
}

.footer-dev-credit p {
    font-size: 0.72rem;
    color: var(--text-slate);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-dev-credit p:hover {
    opacity: 1;
}

.footer-dev-credit strong {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    width: 46px;
    height: 46px;
    background: rgba(6, 14, 26, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    pointer-events: auto;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    background: rgba(245, 124, 0, 0.8);
    border-color: rgba(245, 124, 0, 0.5);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.4);
    color: var(--text-white);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        width: 42px;
        height: 42px;
    }
}