/* ========================================
   RESET E VARIÁVEIS
   ======================================== */

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

:root {
    --azul-escuro: #081748;
    --azul: #007aff;
    --preto: #000000;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
    --cinza-medio: #e0e0e0;
    --cinza-texto: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--preto);
    background-color: var(--branco);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   CONTAINER E LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--azul-escuro);
    color: var(--branco);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--azul-escuro);
    text-align: center;
}

.section-dark .section-title {
    color: var(--branco);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--cinza-texto);
    text-align: center;
    margin-bottom: 50px;
}

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

/* ========================================
   HEADER
   ======================================== */

.header {
    background-color: var(--branco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 160px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--azul-escuro);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    background-color: var(--azul);
    color: var(--branco);
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: var(--branco);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-header i {
    font-size: 1.2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--azul-escuro);
    cursor: pointer;
}

/* ========================================
   HERO SLIDER
   ======================================== */

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul) 100%);
}

.hero-slider .slide {
    background-size: cover;
    background-position: center;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    background-size: 150% auto;
    background-position: right center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(8, 23, 72, 0.8) 0%, 
        rgba(8, 23, 72, 0.6) 30%, 
        rgba(0, 122, 255, 0.4) 60%, 
        rgba(0, 122, 255, 0.2) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 30px;
    max-width: 900px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--branco);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.dot.active {
    background-color: var(--branco);
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background-color: var(--azul-escuro);
    color: var(--branco);
}

.btn-secondary:hover {
    background-color: #0a1f5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 23, 72, 0.3);
}

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

.btn-whatsapp:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn i {
    margin-right: 8px;
}

/* ========================================
   SERVIÇOS PREVIEW
   ======================================== */

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

.service-card {
    background-color: var(--branco);
    padding: 0;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.service-card > div:not(.service-image) {
    padding: 30px;
}

.service-icon {
    display: none;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-escuro);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--cinza-texto);
    line-height: 1.6;
}

/* ========================================
   SOBRE A EMPRESA
   ======================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 20px;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
    color: var(--branco);
}

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

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--branco);
}

/* ========================================
   CONTATO PREVIEW
   ======================================== */

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

.contact-info-item {
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    color: var(--azul);
    margin-bottom: 20px;
}

.contact-info-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

.contact-info-item p {
    font-size: 1.1rem;
}

.contact-info-item a {
    color: var(--azul);
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* ========================================
   PÁGINA HEADER
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul) 100%);
    color: var(--branco);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========================================
   PÁGINA SOBRE
   ======================================== */

.about-full {
    background-color: var(--cinza-claro);
}

.about-text {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--preto);
}

.differentials h2 {
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-bottom: 40px;
    text-align: center;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.differential-item {
    background-color: var(--branco);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.differential-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

.differential-icon {
    font-size: 2.5rem;
    color: var(--azul);
    margin-bottom: 20px;
}

.differential-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

.differential-item p {
    color: var(--cinza-texto);
    line-height: 1.6;
}

/* ========================================
   PÁGINA SERVIÇOS
   ======================================== */

.services-full {
    background-color: var(--cinza-claro);
}

.services-full .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-detail {
    background-color: var(--branco);
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

.service-detail-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

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

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

.service-detail-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Responsividade */
@media (max-width: 1024px) {
    .services-full .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-full .container {
        grid-template-columns: 1fr;
    }
}

.service-detail-icon {
    display: none;
}

.service-detail p {
    font-size: 0.95rem;
    color: var(--cinza-escuro);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-detail h2 {
    font-size: 1.3rem;
    color: var(--azul-escuro);
    margin-bottom: 15px;
}

.service-detail .btn-whatsapp {
    margin-top: auto;
    font-size: 0.9rem;
    padding: 10px 15px;
}

/* ========================================
   PÁGINA CONTATO
   ======================================== */

.contact-full {
    background-color: var(--cinza-claro);
}

.contact-info-full {
    margin-bottom: 60px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--branco);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--azul-escuro);
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--azul-escuro);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cinza-medio);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    display: block;
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-success {
    text-align: center;
    padding: 30px;
    background-color: #e8f5e9;
    border-radius: 8px;
    margin-top: 20px;
}

.form-success i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.form-success p {
    font-size: 1.1rem;
    color: #2e7d32;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.8;
}

.footer-nav ul {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--branco);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-middle {
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo-sc {
    height: 60px;
    width: auto;
}

.footer-logo-sm {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo-item a:hover .footer-logo-sm {
    opacity: 0.8;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ========================================
   GALERIA DE FOTOS
   ======================================== */

.gallery-section {
    background-color: var(--cinza-claro);
}

.gallery-title {
    color: var(--azul);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 23, 72, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--azul);
    border-radius: 50%;
    color: var(--branco);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background-color: var(--azul-escuro);
    transform: scale(1.1);
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--azul);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--branco);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--azul);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--branco);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1001;
}

/* ========================================
   RESPONSIVO
   ======================================== */

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .btn-whatsapp-header {
        padding: 10px 15px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .btn-whatsapp-header i {
        font-size: 1rem;
    }

    .btn-whatsapp-header span {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: var(--branco);
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--cinza-medio);
    }

    .nav-list a {
        display: block;
        padding: 20px 0;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        justify-content: center;
    }

    .service-detail {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ========================================
   BOTAO WHATSAPP FLUTUANTE
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
