:root {
    --primary: #e65100; /* Tom canela/laranja moderno */
    --primary-dark: #b23c00;
    --primary-light: #ff833a;
    --secondary: #1a1a1a;
    --dark-gray: #2d2d2d;
    --light-gray: #f8f9fa;
    --border-color: #e5e7eb;
    --text-main: #333333;
    --text-muted: #6b7280;
    --white: #ffffff;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
}

h1, h2, h3, h4, .btn {
    font-family: var(--font-title);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================================
   Header & Navbar Totalmente Responsiva
   =================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo */
.logo {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

/* Links Desktop */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

/* Botão hamburguer escondido por padrão em telas grandes (Desktop) */
.menu-toggle {
    display: none !important;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

/* Exibir APENAS quando a tela for menor que 900px */
@media (max-width: 900px) {
    .menu-toggle {
        display: block !important;
    }
}

/* Compensação para o header fixo */
body {
    padding-top: 75px;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .logo {
        font-size: 1.05rem;
    }

    .nav-links {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        max-width: 310px;
        height: calc(100vh - 75px);
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 25px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        transition: right 0.35s ease-in-out;
        border-left: 1px solid #333333;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        padding-bottom: 8px;
        border-bottom: 1px solid #2b2b2b;
    }

    .nav-btn-wrapper {
        margin-top: 15px;
    }

    .nav-btn-wrapper .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

/* ===================================================
   Banner Hero com Imagem e Zoom Suave
   =================================================== */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
}

/* Imagem de fundo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/banner-hero1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: zoomHero 18s ease-in-out infinite alternate;
}

/* Camada escura */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.80) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Tipografia Hero */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.hero-content h1 span {
    color: var(--primary-light);
    display: inline;
    text-shadow: 0 2px 10px rgba(230, 81, 0, 0.4);
}

.hero-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto 30px auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@keyframes zoomHero {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}

/* --- Section Defaults --- */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* --- Services / Solutions Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(230, 81, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Portfolio / Projects --- */
.projects {
    background-color: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.portfolio-overlay span {
    font-size: 0.85rem;
    color: var(--primary-light);
}

/* --- Contact / Form Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.contact-info {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-info p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 30px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.info-list i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 3px;
}

.contact-form {
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-gray);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* --- Footer --- */
footer {
    background-color: #111111;
    color: #9ca3af;
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222222;
    font-size: 0.85rem;
}

/* ===================================================
   Botão Flutuante do WhatsApp (Com Efeito Radar)
   =================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: pulseWhatsApp 2.2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 10px 25px rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 58px;
        height: 58px;
        font-size: 32px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   Seção: Sobre Nós / Missão, Visão e Valores (MVV)
   =================================================== */

.bg-light {
    background-color: #f8fafc;
}

.py-5 {
    padding: 80px 0;
}

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

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

.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 100px 0 60px;
}

.page-hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mvv-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    border-top: 4px solid #f59e0b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.mvv-card.mvv-valores {
    grid-column: span 2;
}

.mvv-icon {
    width: 55px;
    height: 55px;
    background-color: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.mvv-card p {
    font-family: var(--font-body);
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.values-list li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    position: relative;
    padding-left: 28px;
}

.values-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
    font-size: 1.05rem;
}

.values-list li strong {
    color: #0f172a;
    display: inline;
}

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

    .mvv-card.mvv-valores {
        grid-column: span 1;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }
}