/* =========================================
   VARIABLES Y RESET
========================================= */
:root {
    --primary-blue: #051e57;
    --dark-blue: #021a3f;
    --light-blue: #f0f4f8;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --font-main: 'Inter', sans-serif;
    --transition: 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Tipografía Básica */
h1, h2, h3, h4 {
    color: var(--dark-blue);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* =========================================
   BOTONES
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition), transform var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--dark-blue);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* =========================================
   HEADER
========================================= */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-color);
}

.main-nav a:hover {
    color: var(--primary-blue);
}

/* Ajuste del tamaño del logo */
.logo img {
    height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    background: linear-gradient(to right, rgba(2, 26, 63, 1) 0%, rgba(2, 26, 63, 0.85) 60%, rgba(2, 26, 63, 0) 80%), url('../assets/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.texto-sombreado {
    color: var(--white);
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* =========================================
   BARRA DE BENEFICIOS
========================================= */
.benefits-bar {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid #e1e8ed;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-benefit {
    font-size: 2rem;
    color: var(--primary-blue);
}

.benefit-item strong {
    display: block;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.benefit-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   ANIMACIÓN DE SCROLL
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   QUEM SOMOS
========================================= */
.quem-somos {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
}

.quem-somos .section-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.quem-somos-subtitle {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.quem-somos-text {
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

.quem-somos-text p {
    margin-bottom: 20px;
}

.image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.quem-somos-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* =========================================
   SERVICIOS (ÁREAS DE ATUAÇÃO)
========================================= */
.services {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.15);
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 600;
}

/* =========================================
   SECCIÓN DE CONTACTO Y FORMULARIO
========================================= */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-details i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-top: 4px;
}

.contact-form-wrapper {
    background-color: var(--light-blue);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--white);
}

.footer-social h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* =========================================
   BOTÓN WHATSAPP FLOTANTE
========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .benefits-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
}
/* =========================================
   MODAL ORÇAMENTO
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--dark-blue);
}

.modal-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.modal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 15px;
    background-color: var(--light-blue);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-option-btn i {
    font-size: 2.2rem;
}

.modal-option-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(5, 30, 87, 0.2);
}

/* Scroll suave para navegación con anclas (#contato) */
html {
    scroll-behavior: smooth;
}
/* =========================================
   MINI CAROUSEL EN TARJETAS DE SERVICIOS
========================================= */
.mini-slider {
    position: relative;
    cursor: pointer;
}

.slider-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slides .service-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.6s ease;
}

.slider-slides .service-img.active {
    opacity: 1;
    position: relative;
}

/* Botones del mini carousel */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 26, 63, 0.7);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    opacity: 0.8;
}

.slider-btn:hover {
    background: var(--primary-blue);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Badge de ampliar */
.zoom-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 4;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   MODAL LIGHTBOX (GALERÍA FULLSCREEN)
========================================= */
.gallery-modal-overlay {
    z-index: 10001;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    object-fit: contain;
}

.gallery-close {
    color: var(--white);
    top: -40px;
    right: 0;
    font-size: 2.5rem;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.gallery-nav-btn:hover {
    background: var(--primary-blue);
}

.prev-gallery-btn { left: -60px; }
.next-gallery-btn { right: -60px; }

@media (max-width: 768px) {
    .prev-gallery-btn { left: 10px; }
    .next-gallery-btn { right: 10px; }
    .gallery-close { top: -45px; right: 10px; }
}

/* =========================================
   ESTILOS DE LA PÁGINA QUEM SOMOS (HISTORIA)
========================================= */
.active-link {
    color: var(--primary-blue) !important;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 4px;
}

.story-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 80px 0 60px;
}

.story-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.story-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 15px;
}

.story-hero p {
    color: #e0e6ed;
    font-size: 1.15rem;
}

.story-section {
    padding: 80px 0;
    background-color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
}

.story-grid.reverse {
    grid-template-columns: 1fr 400px;
}

.founder-card {
    background: var(--light-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 3px solid var(--primary-blue);
    text-align: center;
}

.founder-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.founder-info {
    padding: 15px;
    background: var(--dark-blue);
    color: var(--white);
}

.founder-info h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 3px;
}

.founder-info span {
    color: #ccc;
    font-size: 0.85rem;
}

.story-text-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.story-text-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 18px;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.timeline-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-8px);
}

.timeline-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.timeline-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    padding: 20px;
}

.timeline-step {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Consolidação */
.story-consolidation {
    padding: 80px 0;
    background-color: var(--white);
}

.consolidation-img-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.consolidation-img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Filosofia */
.story-philosophy {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: var(--white);
}

.max-800 {
    max-width: 850px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
    margin-bottom: 15px;
}

.story-philosophy h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.story-philosophy p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e6ed;
    margin-bottom: 20px;
}

.story-philosophy .lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.story-cta-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .story-grid, .story-grid.reverse {
        grid-template-columns: 1fr;
    }
    .founder-card-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
    }
}
/* Layout da página de Contato */
.contact-page {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-col h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.contact-info-col p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    background-color: var(--white);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.info-item strong {
    display: block;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.info-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-col {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.social-icon {
    color: var(--dark-blue);
}
.social-icon:hover {
    color: white;
}
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}