/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #ffd23f;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #004e89 0%, #0066cc 100%);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Prevenir overflow horizontal em todos os elementos */
section,
div,
header,
footer,
nav,
main,
article,
aside {
    max-width: 100%;
    box-sizing: border-box;
}

/* Garantir que imagens não causem overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
    font-weight: 600;
}

.header.scrolled .brand-text {
    color: var(--text-dark);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 90px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/casa_energia_solar.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 2rem 2rem;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.3s forwards;
}

@media (max-height: 800px) {
    .hero-badge {
        display: none;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    min-height: 2.3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1301px) and (max-height: 800px) {
    .hero-title {
        font-size: clamp(3rem, 8vw, 5.5rem);
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1500px) and (min-height: 900px) {
    .hero-title {
        font-size: clamp(3.5rem, 9vw, 6rem);
    }
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out forwards;
    visibility: hidden;
    min-height: 1.15em;
    width: 100%;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #ffd23f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mogi-text {
    display: block;
    white-space: nowrap;
}

.title-line:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-line:nth-child(2) .title-highlight:first-child {
    display: inline;
}

.title-line:nth-child(2) .mogi-text {
    display: block;
    margin-top: 0;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.6s forwards;
    font-weight: 300;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-height: 800px) {
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
}

@media (min-height: 900px) {
    .hero-subtitle {
        margin-bottom: 2.5rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.9s forwards;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (min-height: 800px) {
    .hero-buttons {
        gap: 1.5rem;
    }
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    margin-bottom: 0.5rem;
}

@media (min-height: 800px) {
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        min-width: 200px;
        margin-bottom: 1rem;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* Stats removidos - não são mais usados na hero */

/* Floating Elements */
.hero-floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-element {
    position: absolute;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInFloat 2s ease-out forwards;
}

.floating-element:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-element:nth-child(2) {
    bottom: 30%;
    left: 8%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 60%;
    right: 15%;
    animation-delay: 2.5s;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.floating-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    text-align: center;
}

/* Ocultar cards flutuantes em telas menores que 1400px */
@media (max-width: 1400px) {
    .hero-floating {
        display: none !important;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* History Section */
.history {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="history-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,107,53,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23history-pattern)"/></svg>');
    opacity: 0.6;
}

.history-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.history-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    max-width: 800px;
}

.history-text .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    align-self: center;
}

.history-text .section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.history-text .section-badge:hover::before {
    left: 100%;
}

.history-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin: 0;
}

.history-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Quem Somos Section */
.quem-somos-section {
    margin: 3rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.1);
    max-width: 1200px;
    width: 100%;
}

.quem-somos-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    text-align: center;
    position: relative;
}

.quem-somos-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.quem-somos-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.quem-somos-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quem-somos-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

.empresa-valores {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}

.valor-item {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff6b35;
}

.valor-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b35;
    margin: 0 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.valor-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1000px;
}

.timeline-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.timeline-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100%;
    padding: 2rem;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.timeline-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.timeline-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.timeline-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.timeline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.timeline-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.timeline-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.history-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.history-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.history-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.history-image:hover .history-img {
    transform: scale(1.05);
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-image:hover .history-overlay {
    opacity: 1;
}

.history-stats {
    display: flex;
    gap: 3rem;
    text-align: center;
    color: white;
}

.history-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.history-stat p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-content: start;
}

.history-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.stat-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Engineering Section */
.engineering {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    transition: all 0.4s ease;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    opacity: 0.2;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.about-card:hover .card-icon::before {
    transform: scale(1);
}

.about-card:hover .card-icon {
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.card-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.card-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.about-stats {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

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

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.stat-card:hover .stat-number {
    color: white;
}

.stat-card:hover .stat-description {
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-description {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Engineering Section */
.engineering {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.engineering::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="engineering-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,107,53,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23engineering-pattern)"/></svg>');
    opacity: 0.7;
}

.engineering-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.engineering-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.engineering-text .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.engineering-text .section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.engineering-text .section-badge:hover::before {
    left: 100%;
}

.engineering-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin: 0;
}

.engineering-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.engineering-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.engineering-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.engineering-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.engineering-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.engineering-image:hover .engineering-img {
    transform: scale(1.05);
}

.engineering-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.engineering-image:hover .engineering-overlay {
    opacity: 1;
}

.overlay-stats {
    display: flex;
    gap: 3rem;
    text-align: center;
    color: white;
}

.overlay-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.overlay-stat p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

.engineering-certifications {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.engineering-certifications h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-2px);
}

.cert-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cert-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,10 25,20 15,25 5,20 5,10" fill="none" stroke="rgba(255,107,53,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.6;
}

.services-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
}

.services-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.services-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .carousel-track .project-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .carousel-controls {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-track .project-card {
        flex: 0 0 100%;
    }
    
    .carousel-track {
        gap: 1rem;
    }
}

/* Carrossel - Ocultar em telas pequenas */
@media (max-width: 768px) {
    .projects-carousel {
        display: none;
    }
}

/* Projetos Realizados - Ocultar em telas pequenas */
@media (max-width: 768px) {
    .projects {
        display: none;
    }
}


.service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 180px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 5vw, 4rem);
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .service-image {
        height: 200px;
    }
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

.service-content {
    padding: 1.5rem;
}

@media (min-width: 1200px) {
    .service-content {
        padding: 2rem;
    }
}

.service-content h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(255, 107, 53, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-price {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-description {
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-service {
    flex: 1;
    min-width: 140px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-service-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.btn-service-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-service-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #004e89 0%, #0066cc 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="40" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q10,0 20,10 T40,10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.3;
}

.benefits-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefits-text {
    padding-right: 2rem;
}

.benefits-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.benefits-intro {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.benefit-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.benefit-content p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
}

.benefits-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 10rem;
}

.benefits-chart {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
}

.chart-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffd23f;
}

.chart-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.chart-item:last-child {
    margin-bottom: 0;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.chart-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #ffd23f 100%);
    width: 0;
    border-radius: 6px;
    animation: fillBar 2s ease-out forwards;
}

.chart-item:nth-child(1) .chart-bar::after { animation-delay: 0.2s; width: 95%; }
.chart-item:nth-child(2) .chart-bar::after { animation-delay: 0.4s; width: 80%; }
.chart-item:nth-child(3) .chart-bar::after { animation-delay: 0.6s; width: 15%; }
.chart-item:nth-child(4) .chart-bar::after { animation-delay: 0.8s; width: 25%; }

.chart-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd23f;
}

.benefits-stats {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.benefit-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd23f;
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Projects Section */
.projects-carousel {
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.carousel-track .project-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 0;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: rgba(255, 107, 53, 0.6);
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    height: 250px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="80" height="80" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><rect x="20" y="20" width="60" height="60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-stats i {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="question-marks" width="30" height="30" patternUnits="userSpaceOnUse"><text x="15" y="20" font-family="Arial" font-size="12" fill="rgba(255,107,53,0.05)" text-anchor="middle">?</text></pattern></defs><rect width="100" height="100" fill="url(%23question-marks)"/></svg>');
    opacity: 0.3;
}

.faq-content {
    position: relative;
    z-index: 1;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.faq-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-color);
}

.faq-question {
    padding: 2rem;
    background: white;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--primary-color);
}

.faq-icon {
    width: 35px;
    height: 35px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: transparent;
    color: var(--primary-color);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-item.active .faq-answer {
    padding: 2rem;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.faq-cta {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.faq-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-contact-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 107, 53, 0.3);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #ffd23f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-brand-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35 0%, #ffd23f 100%);
    border-radius: 1px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column li {
    margin: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-column a:hover::before {
    width: 0.3rem;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    border-color: transparent;
}


/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeInFloat {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
/* Menu hambúrguer para telas médias (900px-1024px) */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 1.5rem;
        transition: var(--transition);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        font-weight: 600;
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu .nav-link:hover {
        background: rgba(255, 107, 53, 0.1);
        color: var(--primary-color);
    }

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

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.8rem 1rem;
    }

    .logo {
        width: 60px;
        height: 50px;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding-top: 1.5rem;
    }

    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

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

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

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

/* Menu - Telas pequenas (600px-768px) */
@media (max-width: 600px) {
    .nav {
        padding: 0.7rem 0.8rem;
    }

    .logo {
        width: 55px;
        height: 45px;
    }

    .nav-menu {
        top: 55px;
        height: calc(100vh - 55px);
        padding-top: 1.2rem;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 0.9rem 0;
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
    }
}

/* Header responsivo para telas pequenas (480px) */
@media (max-width: 480px) {
    .nav {
        padding: 0.6rem 0.8rem;
    }

    .logo {
        width: 50px;
        height: 40px;
    }

    .nav-menu {
        top: 50px;
        height: calc(100vh - 50px);
        padding-top: 1rem;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* Header responsivo para telas muito pequenas (360px) */
@media (max-width: 360px) {
    .nav {
        padding: 0.5rem 0.6rem;
    }

    .logo {
        width: 45px;
        height: 35px;
    }

    .nav-menu {
        top: 45px;
        height: calc(100vh - 45px);
        padding-top: 0.8rem;
    }

    .nav-menu .nav-link {
        font-size: 0.95rem;
        padding: 0.7rem 0;
    }

    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* Correções gerais para prevenir overflow horizontal */
@media (max-width: 1200px) {
    .container {
        padding: 0 10px;
    }
    
    .nav {
        padding: 1rem 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    
    .nav {
        padding: 0.8rem 1rem;
    }
    
    /* Garantir que elementos não saiam da tela */
    .hero-content,
    .section-header,
    .services-grid,
    .projects-carousel,
    .contact-form,
    .faq-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Hero - Telas médias (900px-1300px) */
@media (max-width: 1300px) and (min-width: 900px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-title {
        font-size: clamp(3rem, 7vw, 3.5rem);
        margin-bottom: 0rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        gap: 1.2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-floating {
        display: none !important;
    }
}

/* Hero - Telas médias (768px-1024px) */
@media (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-content {
        padding: 0 2rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
        margin-bottom: 1.2rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        min-width: 160px;
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-floating {
        display: none !important;
    }
}

/* Media query para 768px - ajustes gerais */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 2rem 0 3rem 0;
    }

    .hero-content {
        padding: 0 1.5rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        min-width: 150px;
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }

    .hero-floating {
        display: none;
    }
}

/* Hero - Telas muito pequenas (360px-480px) */
@media (max-width: 360px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 1.5rem 0 2rem 0;
    }

    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .btn {
        min-width: 120px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }

    .hero-floating {
        display: none;
    }
}

/* Hero - Telas extremamente pequenas (320px-360px) */
@media (max-width: 320px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 1rem 0 1.5rem 0;
    }

    .hero-content {
        padding: 0 0.8rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }

    .hero-buttons {
        gap: 0.6rem;
        margin-bottom: 0;
    }

    .btn {
        min-width: 100px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        max-width: 180px;
    }

    .hero-floating {
        display: none;
    }
}

/* Media query para 768px - ajustes gerais */
@media (max-width: 768px) {
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-text {
        padding-right: 0;
    }

    .benefits-text h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .benefits-intro {
        font-size: 1.1rem;
    }

    .benefit-item {
        padding: 1.5rem;
        gap: 1rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .benefit-content h4 {
        font-size: 1.2rem;
    }

    .benefits-chart {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .chart-title {
        font-size: 1.3rem;
    }

    .benefits-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .benefit-stat {
        padding: 1.5rem 1rem;
    }

    .benefit-stat-number {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-brand-text {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
    }

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

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Hero - Telas pequenas (480px-768px) */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 2rem 0 2.5rem 0;
    }

    .hero-content {
        padding: 0 1.2rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        min-width: 140px;
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 220px;
    }

    .hero-floating {
        display: none;
    }

    .history-content {
        gap: 3rem;
    }

    .timeline-container {
        padding: 1.5rem;
    }

    .timeline-item {
        padding: 1.5rem;
    }

    .timeline-year {
        font-size: 1.3rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }

    .timeline-controls {
        gap: 1rem;
    }

    .timeline-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .timeline-dots {
        gap: 0.75rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .history-visual {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .history-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .history-image {
        height: 250px;
    }

    .history-stats {
        gap: 2rem;
    }

    .history-stat h3 {
        font-size: 1.8rem;
    }

    .history-stat p {
        font-size: 0.9rem;
    }

    .quem-somos-section {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .quem-somos-title {
        font-size: 1.5rem;
    }

    .quem-somos-content {
        gap: 2rem;
    }

    .quem-somos-text p {
        font-size: 0.95rem;
        text-align: left;
    }

    .empresa-valores {
        gap: 1rem;
        margin-top: 0.5rem;
        padding-top: 1.5rem;
    }

    .valor-item {
        padding: 1rem;
    }

    .valor-item h4 {
        font-size: 1rem;
    }

    .valor-item p {
        font-size: 0.9rem;
    }

    .engineering-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .engineering-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .overlay-stats {
        gap: 2rem;
    }

    .overlay-stat h3 {
        font-size: 2rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Correções específicas para telas muito pequenas */
@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }
    
    .nav {
        padding: 0.6rem 0.8rem;
    }
    
    /* Garantir que todos os elementos respeitem a largura da tela */
    * {
        max-width: 100%;
    }
    
    /* Ajustar elementos específicos que podem causar overflow */
    .hero-title,
    .section-title,
    .about-title,
    .engineering-title,
    .other-services-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Garantir que grids não causem overflow */
    .services-grid,
    .projects-grid,
    .other-services-grid,
    .engineering-features,
    .benefits-stats {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ajustar padding de cards para não sair da tela */
    .service-card,
    .project-card,
    .other-service-card,
    .about-card,
    .benefit-item {
        margin: 0;
        padding: 1rem;
        box-sizing: border-box;
    }
}

/* História - Telas pequenas (480px-768px) */
@media (max-width: 480px) {
    .history-image {
        height: 200px;
    }

    .history-stats {
        gap: 1.5rem;
    }

    .history-stat h3 {
        font-size: 1.5rem;
    }

    .history-stat p {
        font-size: 0.8rem;
    }
}

/* História - Telas muito pequenas (360px-480px) */
@media (max-width: 360px) {
    .history-image {
        height: 180px;
    }

    .history-stats {
        gap: 1rem;
        flex-direction: column;
    }

    .history-stat h3 {
        font-size: 1.3rem;
    }

    .history-stat p {
        font-size: 0.75rem;
    }
}

/* Engenharia - Telas médias (900px-1024px) */
@media (max-width: 1024px) {
    .engineering-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .engineering-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .feature-item {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    .engineering-image {
        height: 250px;
    }

    .overlay-stats {
        gap: 2rem;
    }

    .overlay-stat h3 {
        font-size: 1.8rem;
    }

    .overlay-stat p {
        font-size: 0.9rem;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* Engenharia - Telas pequenas (768px-900px) */
@media (max-width: 900px) {
    .engineering {
        padding: 4rem 0;
    }

    .engineering-content {
        gap: 2rem;
    }

    .engineering-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        padding: 1rem;
        gap: 0.8rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feature-content h3 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }

    .engineering-image {
        height: 200px;
    }

    .overlay-stats {
        gap: 1.5rem;
    }

    .overlay-stat h3 {
        font-size: 1.5rem;
    }

    .overlay-stat p {
        font-size: 0.8rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .cert-item {
        padding: 0.8rem;
    }

    .cert-item span {
        font-size: 0.85rem;
    }
}

/* Engenharia - Telas muito pequenas (480px-768px) */
@media (max-width: 480px) {
    .engineering {
        padding: 3rem 0;
    }

    .engineering-content {
        gap: 1.5rem;
    }

    .engineering-text {
        gap: 1.5rem;
    }

    .engineering-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .engineering-subtitle {
        font-size: 1rem;
    }

    .engineering-features {
        gap: 0.8rem;
    }

    .feature-item {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .feature-content h3 {
        font-size: 0.95rem;
    }

    .feature-content p {
        font-size: 0.8rem;
    }

    .engineering-image {
        height: 180px;
    }

    .overlay-stats {
        gap: 1rem;
        flex-direction: column;
    }

    .overlay-stat h3 {
        font-size: 1.3rem;
    }

    .overlay-stat p {
        font-size: 0.75rem;
    }

    .engineering-certifications {
        padding: 1.5rem;
    }

    .engineering-certifications h3 {
        font-size: 1.1rem;
    }

    .cert-grid {
        gap: 0.5rem;
    }

    .cert-item {
        padding: 0.6rem;
    }

    .cert-item span {
        font-size: 0.8rem;
    }
}

/* Engenharia - Telas extremamente pequenas (360px-480px) */
@media (max-width: 360px) {
    .engineering {
        padding: 2.5rem 0;
    }

    .engineering-content {
        gap: 1rem;
    }

    .engineering-text {
        gap: 1rem;
    }

    .engineering-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .engineering-subtitle {
        font-size: 0.9rem;
    }

    .engineering-features {
        gap: 0.6rem;
    }

    .feature-item {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .feature-content h3 {
        font-size: 0.9rem;
    }

    .feature-content p {
        font-size: 0.75rem;
    }

    .engineering-image {
        height: 150px;
    }

    .overlay-stats {
        gap: 0.8rem;
    }

    .overlay-stat h3 {
        font-size: 1.1rem;
    }

    .overlay-stat p {
        font-size: 0.7rem;
    }

    .engineering-certifications {
        padding: 1rem;
    }

    .engineering-certifications h3 {
        font-size: 1rem;
    }

    .cert-grid {
        gap: 0.4rem;
    }

    .cert-item {
        padding: 0.5rem;
    }

    .cert-item span {
        font-size: 0.75rem;
    }
}

/* Other Services Section */
.other-services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.other-services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.other-services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.other-services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other-services-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.other-service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.other-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.other-service-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    align-self: center;
}

.other-service-image i {
    font-size: 2.5rem;
    color: white;
}

.other-service-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    text-align: center;
}

.other-service-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.other-service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.other-service-features li {
    padding: 0.6rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
}

.other-service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.1rem;
}

.other-service-cta {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.btn-service {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    max-width: 250px;
}

/* Responsive Design for Other Services */
@media (max-width: 1024px) {
    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
    
    .other-service-card {
        padding: 1.8rem;
    }
}

@media (max-width: 900px) {
    .other-services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .other-service-card {
        padding: 1.6rem;
    }
}

@media (max-width: 768px) {
    .other-services {
        padding: 4rem 0;
    }
    
    .other-services-content {
        padding: 0 1rem;
    }
    
    .services-content,
    .engineering-content,
    .benefits-content,
    .contact-content {
        padding: 0 1rem;
    }
    
    .other-services-title {
        font-size: 2rem;
    }
    
    .other-services-subtitle {
        font-size: 1.1rem;
    }
    
    .other-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .other-service-card {
        padding: 1.5rem;
    }
}

/* Outros Serviços - Telas pequenas (480px) */
@media (max-width: 480px) {
    .other-services {
        padding: 3rem 0;
    }
    
    .other-services-content {
        padding: 0 0.8rem;
    }
    
    .services-content,
    .engineering-content,
    .benefits-content,
    .contact-content {
        padding: 0 0.8rem;
    }
    
    .other-services-header {
        margin-bottom: 2rem;
    }
    
    .other-services-title {
        font-size: 1.8rem;
    }
    
    .other-services-subtitle {
        font-size: 1rem;
    }
    
    .other-services-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .services-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .other-service-card {
        padding: 1.2rem;
    }
    
    .other-service-image {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .other-service-image i {
        font-size: 1.5rem;
    }
    
    .other-service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .other-service-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .other-service-features {
        margin-bottom: 1.5rem;
    }
    
    .other-service-features li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .btn-service {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Outros Serviços - Telas muito pequenas (360px) */
@media (max-width: 360px) {
    .other-services {
        padding: 2.5rem 0;
    }
    
    .other-services-content {
        padding: 0 0.6rem;
    }
    
    .services-content,
    .engineering-content,
    .benefits-content,
    .contact-content {
        padding: 0 0.6rem;
    }
    
    .other-services-header {
        margin-bottom: 1.5rem;
    }
    
    .other-services-title {
        font-size: 1.6rem;
    }
    
    .other-services-subtitle {
        font-size: 0.9rem;
    }
    
    .other-services-grid {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .services-grid {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .other-service-card {
        padding: 1rem;
    }
    
    .other-service-image {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .other-service-image i {
        font-size: 1.3rem;
    }
    
    .other-service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .other-service-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .other-service-features {
        margin-bottom: 1.2rem;
    }
    
    .other-service-features li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .btn-service {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* Projects CTA */
.projects-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.projects-cta .btn-secondary {
    background: white;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.projects-cta .btn-secondary:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
