/* =====================================================
   RESET & BASE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

section {
    padding: 90px 20px;
}

.no-scroll {
    overflow: hidden;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

/* Container padrão */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------------- NAV DESKTOP ---------------- */

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #2563eb;
}

/* ---------------- CTA HEADER ---------------- */

.cta-desktop {
    margin-left: 30px;
}

.btn-cta,
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-cta {
    padding: 12px 26px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45);
}

.btn-primary {
    padding: 14px 28px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #2563eb;
    color: #fff;
}

/* ---------------- MENU TOGGLE ---------------- */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* ---------------- WHATSAPP FLOAT ---------------- */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    font-size: 24px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 999;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.hero-container,
.authority-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}


/* =====================================================
   AUTHORITY
===================================================== */

.authority {
    padding: 100px 20px;
    background: #ffffff;
}

.authority-header {
    text-align: center;
    margin-bottom: 70px;
}

.authority-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.authority-header p {
    color: #475569;
    font-size: 18px;
    max-width: 600px;
    margin: auto;
}

.authority-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.number-card {
    background: #f8fafc;
    padding: 35px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.number-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.number-card h3 {
    font-size: 32px;
    color: #2563eb;
    margin-bottom: 10px;
}

.number-card span {
    color: #475569;
    font-weight: 500;
}

.authority-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.review-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-card strong {
    display: block;
    margin-top: 15px;
    color: #0f172a;
    font-weight: 600;
}

.google-link {
    text-align: center;
    margin-top: 50px;
}

.btn-google {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-google:hover {
    background: #2563eb;
    color: #fff;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    padding: 100px 20px;
    background: #f8fafc;
}

.about-container {
    max-width: 900px;
    margin: auto;
}

.about-text h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-differentials {
    margin-top: 30px;
    display: grid;
    gap: 15px;
    font-weight: 500;
    color: #1e293b;
}


/* =====================================================
   SERVICES
===================================================== */

.services {
    background: #ffffff;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
}

.services-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    margin: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0f172a;
}

.service-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-card ul li {
    margin-bottom: 12px;
    color: #475569;
}

.btn-service {
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.btn-service:hover {
    background: #2563eb;
    color: #fff;
}


/* =====================================================
   PORTFOLIO
===================================================== */

.portfolio {
    background: #f8fafc;
}

.portfolio-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 70px;
}

.portfolio-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.portfolio-header p {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    margin: auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    display: block;
    margin-bottom: 10px;
}

.portfolio-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0f172a;
}

.portfolio-content p {
    color: #475569;
    margin-bottom: 20px;
}

.btn-portfolio {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-portfolio:hover {
    background: #2563eb;
    color: #fff;
}

/* ===== MODAL GALERIA ===== */

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.gallery-modal.active {
    display: flex;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
}

.gallery-content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 16px;
    padding: 30px;
    z-index: 2;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #0f172a;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

.gallery-track img {
    flex: 0 0 100%;
    width: 100%;
    max-height: 75vp;
    object-fit: contain;
}

.gallery-prev,
.gallery-next {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #2563eb;
}


/* =====================================================
   NICHOS
===================================================== */

.nichos {
    background: #ffffff;
    padding: 100px 0;
}

.nichos-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.nichos-header {
    text-align: center;
    margin-bottom: 70px;
}

.nichos-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.nichos-header p {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    margin: auto;
}

.nichos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.nicho-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nicho-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.nicho-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #0f172a;
}

.nicho-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.nicho-card ul li {
    margin-bottom: 12px;
    color: #475569;
}

.btn-nicho {
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.btn-nicho:hover {
    background: #2563eb;
    color: #fff;
}


/* =====================================================
   PROCESSO
===================================================== */

.processo {
    background: #ffffff;
    padding: 100px 20px;
}

.processo-container {
    max-width: 1100px;
    margin: auto;
}

.processo-header {
    text-align: center;
    margin-bottom: 60px;
}

.processo-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.processo-header p {
    font-size: 18px;
    color: #475569;
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.processo-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.processo-card:hover {
    transform: translateY(-5px);
}

.numero {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.processo-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
}

.processo-card p {
    color: #475569;
    font-size: 15px;
}


/* =====================================================
   CTA FINAL
===================================================== */

.cta-final {
    background: #0f172a;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
}

.cta-container {
    max-width: 900px;
    margin: auto;
}

.cta-final h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.cta-botoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botões CTA final */

.btn-cta.principal {
    background: #2563eb;
    color: #fff;
}

.btn-cta.principal:hover {
    background: #1d4ed8;
}

.btn-cta.secundario {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-cta.secundario:hover {
    background: #ffffff;
    color: #0f172a;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 20px 40px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #2563eb;
}


/* =====================================================
   RESPONSIVIDADE
===================================================== */

/* ---------- 992px ---------- */

@media (max-width: 992px) {

    .nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 75px);
        background: #0b1f3a;
        padding: 40px 30px;
        transition: 0.4s ease;
        display: flex;
        flex-direction: column;
        z-index: 2000;
    }


    .nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 28px;
    }

    .nav-links li a {
        color: #ffffff;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .nav-links li a:hover {
        color: #38bdf8;
    }

    .cta-desktop {
        display: none;
    }

    .btn-cta-mobile {
        display: block;
        text-align: center;
        padding: 14px;
        background: linear-gradient(135deg, #2563eb, #1e40af);
        border-radius: 8px;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 100;
        pointer-events: none;
    }

    .overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

    .hero {
        position: relative;
        overflow: hidden;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        margin: auto;
        margin-bottom: 30px;
    }

    .hero-image {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        pointer-events: none;
    }

    .hero-image img {
        width: 120%;
        max-width: none;
        opacity: 0.06;
        filter: blur(2px);
        animation: none;
    }

    .authority-reviews {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }

    .authority-reviews::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nichos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

    .nichos {
    padding: 60px 20px;
}

    .processo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-toggle {
        display: flex;
        z-index: 2100;
    }
}

/* ---------- 768px ---------- */

@media (max-width: 768px) {
    .whatsapp-float {
        display: flex;
    }
}

/* ---------- 600px ---------- */

@media (max-width: 600px) {

    .processo-grid {
        grid-template-columns: 1fr;
    }

    .cta-final h2 {
        font-size: 26px;
    }

    .cta-final p {
        font-size: 16px;
    }

    .cta-botoes {
        flex-direction: column;
        gap: 15px;
    }

    .btn-cta {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ---------- 576px ---------- */

@media (max-width: 576px) {

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .authority-numbers {
        grid-template-columns: 1fr;
    }

    .authority-header h2 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 15px;
    }
}
/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media (max-width: 600px) {
  .nichos {
    padding: 60px 20px;
  }

  .nichos-grid {
    grid-template-columns: 1fr;
  }

  .nichos-header h2 {
    font-size: 1.8rem;
  }
}