/* =========================================
   1. CONFIGURAÇÕES GERAIS E CORES
   ========================================= */
:root {
    --primary-color: #0056B3;
    --primary-dark: #003a7a;
    --accent-color: #d97706;

    --text-color: #333333;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border-light: #e2e8f0;

    --nav-height: 90px;
    --radius-md: 16px;
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(0, 86, 179, 0.15);
}

[data-theme="blue-dark"] {
    --primary-color: #4dabf7;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --white: #1e293b;
    --light-bg: #0f172a;
    --border-light: #334155;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-pad {
    padding: 120px 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-light-dots {
    background-color: #fcfdfe;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

[data-theme="blue-dark"] .bg-light-dots {
    background-image: radial-gradient(#334155 1.5px, transparent 1.5px);
    background-color: var(--light-bg);
}

.bg-clean-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border-top: 1px solid var(--border-light);
}

[data-theme="blue-dark"] .bg-clean-gradient {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

.pre-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 86, 179, 0.05);
    border-radius: 4px;
}

[data-theme="blue-dark"] .pre-title {
    background: rgba(77, 171, 247, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #0f172a;
    letter-spacing: -1px;
}

[data-theme="blue-dark"] .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-outline-blue {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
}

.btn-outline-blue:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: height 0.3s;
}

[data-theme="blue-dark"] .navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: height 0.3s;
}

[data-theme="blue-dark"] .logo-img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-quote-nav {
    background: var(--accent-color);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.btn-quote-nav:hover {
    background: #b45309;
    transform: translateY(-2px);
}

.btn-quote-nav::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    transition: 0.3s;
}

.theme-btn:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

.sun-icon {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    min-height: 95vh;
    background: radial-gradient(circle at 100% 0%, rgba(0, 86, 179, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
}

[data-theme="blue-dark"] .hero {
    background: var(--light-bg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Estilo do título com Typewriter */
.typewriter-h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    min-height: 140px;
    display: block;
}

/* Cursor Piscando */
.cursor-blink::after {
    content: '|';
    display: inline-block;
    color: var(--primary-color);
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-text .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 520px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Galeria Mosaico (Agora Estática) */
.hero-visual {
    position: relative;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Areas */
.item-main {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.item-top {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.item-bottom-1 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    display: block;
}

.item-bottom-2 {
    display: none;
}

/* Missão Visão Valores */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.mvv-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: 0.4s;
    border: 1px solid var(--border-light);
    position: relative;
    top: 0;
}

.mvv-card:hover {
    top: -10px;
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.mvv-icon-circle {
    width: 64px;
    height: 64px;
    background: #eef6ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

[data-theme="blue-dark"] .mvv-icon-circle {
    background: rgba(58, 134, 255, 0.15);
}

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

[data-theme="blue-dark"] .mvv-card h3 {
    color: #fff;
}

.mvv-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.mvv-list {
    padding-left: 20px;
    list-style-type: disc;
    color: var(--text-light);
    margin-top: 15px;
}

.mvv-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-header-img {
    position: relative;
    height: 240px;
}

.card-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover .card-header-img img {
    transform: scale(1.1);
}

.card-icon-float {
    position: absolute;
    bottom: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    border: 4px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

[data-theme="blue-dark"] .card-icon-float {
    border-color: var(--white);
}

.card-body {
    padding: 50px 30px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

[data-theme="blue-dark"] .card-body h3 {
    color: #fff;
}

.card-body p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 25px;
    flex: 1;
}

.card-divider {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 25px;
    width: 100%;
}

.card-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.card-check-list li i {
    width: 20px;
    height: 20px;
    color: #1e293b;
    stroke-width: 2.5;
}

[data-theme="blue-dark"] .card-check-list li i {
    color: #fff;
}

/* Diferenciais */
.diferenciais-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.diferenciais-text p {
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.diferenciais-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    overflow: hidden;
    transition: 0.3s;
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
}

[data-theme="blue-dark"] .accordion-header {
    color: #fff;
}

.acc-icon {
    width: 32px;
    height: 32px;
    background: #eef6ff;
    color: var(--primary-color);
    border-radius: 50%;
    padding: 6px;
    transition: 0.3s;
}

.accordion-item.active .acc-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: #fff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    padding-bottom: 25px;
}

.accordion-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Cotação */
.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.dark-text {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.dark-text-light {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

[data-theme="blue-dark"] .dark-text {
    color: #fff;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.method:hover .method-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.method span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.method strong {
    color: var(--text-color);
    font-size: 1.2rem;
}

.quote-box {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
}

.stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-dot.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.step-dot.completed {
    background: #10b981;
    color: #fff;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 15px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #1e293b;
}

[data-theme="blue-dark"] .input-group label {
    color: #fff;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    background: #f8fafc;
    color: #333;
    font-size: 1rem;
    transition: 0.3s;
}

[data-theme="blue-dark"] .input-group input,
[data-theme="blue-dark"] .input-group select,
[data-theme="blue-dark"] .input-group textarea {
    background: #1e293b;
    color: #fff;
    border-color: #334155;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
    background: #fff;
}

.send-options {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.send-opt {
    flex: 1;
    border: 1px solid #cbd5e1;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.2s;
    color: var(--text-color);
    font-weight: 600;
}

.send-opt:hover,
.send-opt.selected {
    border-color: var(--primary-color);
    background: #f0f9ff;
    color: var(--primary-color);
}

[data-theme="blue-dark"] .send-opt:hover,
[data-theme="blue-dark"] .send-opt.selected {
    background: rgba(0, 86, 179, 0.3);
}

.btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-img {
    height: 45px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #94a3b8;
    font-size: 1rem;
}

.footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-contact i {
    width: 20px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    :root {
        --nav-height: 80px;
    }

    .section-pad {
        padding: 80px 0;
    }

    .hero-container,
    .diferenciais-layout,
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        text-align: center;
        padding-top: 140px;
    }

    .hero-text .lead {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .gallery-mosaic {
        display: none;
    }

    .services-grid,
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
        min-height: auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .dark-text {
        font-size: 2.2rem;
    }

    .section-pad {
        padding: 60px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 85%;
        height: calc(100vh - var(--nav-height));
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        border-left: 1px solid var(--border-light);
    }

    [data-theme="blue-dark"] .nav-links {
        background: #1e293b;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 15px;
        font-size: 1.1rem;
    }

    .btn-quote-nav {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    .services-grid,
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quote-box {
        padding: 30px 20px;
    }

    .send-options {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .method {
        flex-direction: column;
        text-align: center;
    }
}