/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2d3748;
    --accent-red: #e53e3e;
    --accent-orange: #dd6b20;
    --text-white: #ffffff;
    --text-light: #f7fafc;
    --text-dark: #2d3748;
    --text-gray: #718096;
    --card-bg: #ffffff;
    --border-light: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: #f8f9fa;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 15px;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 8px;
}

/* ===== HEADER ===== */
header {
    background-color: rgba(26, 54, 93, 0.95);
    color: var(--text-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

#logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    gap: 10px;
}

#logo img {
    height: 70px;
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: var(--text-white);
    padding: 8px 0;
    font-weight: 500;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

.header-whatsapp {
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.header-whatsapp:hover {
    background-color: #c53030;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--text-white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-align: left;
}

.highlight {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #cbd5e0;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: var(--accent-red);
    color: var(--text-white);
}

.cta-button.primary:hover {
    background-color: #c53030;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.cta-button.secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.feature i {
    color: var(--accent-red);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* ===== SERVIÇOS SECTION ===== */
.light-section {
    background-color: var(--text-light);
}

.servico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    padding: 20px 20px 0;
    text-align: center;
}

.card-icon i {
    font-size: 2.5rem;
    color: var(--accent-red);
}

.servico-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
}

.card-body p {
    color: var(--text-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.service-features i {
    color: var(--accent-red);
    font-size: 0.8rem;
}

.general-service {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--text-white);
}

.general-service .card-body h3,
.general-service .card-body p,
.general-service .service-features li {
    color: var(--text-white);
}

.general-service .card-icon i {
    color: var(--text-white);
}

/* ===== SOBRE SECTION ===== */
.white-section {
    background-color: var(--card-bg);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.sobre-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.sobre-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.7;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--text-light);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: var(--text-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== PROJETOS SECTION ===== */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.projeto-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.projeto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projeto-item:hover img {
    transform: scale(1.05);
}

.projeto-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--text-white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.projeto-item:hover .projeto-overlay {
    transform: translateY(0);
}

.projeto-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.projeto-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== CONTATO SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--text-white);
}

.contact-section h2 {
    color: var(--text-white);
}

.contact-section .section-subtitle {
    color: #e2e8f0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.15);
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.info-content a {
    color: var(--text-white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-red);
}

.contact-form-card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background-color: #c53030;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary-blue);
    color: var(--text-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-red);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-red);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-red);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #a0aec0;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-text h1 {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    header nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--primary-blue);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    header nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    header nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    header nav ul li:last-child {
        border-bottom: none;
    }
    
    header nav ul li a {
        display: block;
        padding: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .servico-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .header-whatsapp span {
        display: none;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-card {
        padding: 25px;
    }
}

----------

/* ===== MATERIAIS SECTION ===== */
.materiais-content {
    display: flex;
    justify-content: center;
}

.material-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.material-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-width: 350px;
    position: relative;
}

.material-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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

.material-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.material-card:hover .material-image img {
    transform: scale(1.05);
}

.material-info {
    flex: 2;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.material-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
}

.material-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    border-radius: 2px;
}

.material-info p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.material-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    padding: 8px 0;
}

.feature-item i {
    color: var(--accent-red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.material-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-red);
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    padding: 12px 24px;
    background-color: rgba(229, 62, 62, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.material-link:hover {
    color: #ffffff;
    background-color: var(--accent-red);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

/* Responsividade para Materiais Section */
@media (max-width: 992px) {
    .material-card {
        max-width: 900px;
    }
    
    .material-image {
        padding: 60px;
        min-width: 300px;
    }
    
    .material-image img {
        max-height: 180px;
    }
    
    .material-info {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .material-card {
        flex-direction: column;
        max-width: 600px;
    }
    
    .material-image {
        min-width: auto;
        padding: 60px;
    }
    
    .material-image img {
        max-height: 160px;
    }
    
    .material-info {
        padding: 35px 30px;
    }
    
    .material-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .material-image {
        padding: 30px;
    }
    
    .material-image img {
        max-height: 140px;
    }
    
    .material-info {
        padding: 30px 25px;
    }
    
    .material-info h3 {
        font-size: 1.5rem;
    }
    
    .feature-item {
        font-size: 0.95rem;
    }
    
    .material-link {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}