* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* HEADER */
.header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 80px;
}

/* LOGO */
.logo a {
    text-decoration: none;
    color: #f8fafc;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo a:hover {
    color: #06b6d4;
}

/* MENU */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #06b6d4;
}

/* CTA */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;
    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    color: #fff;

    background: linear-gradient(
        135deg,
        #2563eb,
        #06b6d4
    );

    transition: all .3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6,182,212,.3);
}

/* MENU HAMBURGUER */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

/* HERO SECTION */
.hero {
    background: radial-gradient(circle at top left, #111827, #0f172a 60%);
    color: #f8fafc;
    padding: 100px 0;
    overflow: hidden;
}

/* CONTAINER */
.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* TEXTO */
.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* BOTÕES */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6,182,212,0.25);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: #f8fafc;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    border-color: #06b6d4;
    color: #06b6d4;
}

/* IMAGEM */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

:root {
    --bg-dark: #0f172a;
    --bg-card: #111827;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --primary: #06b6d4;
    --secondary: #2563eb;
}

/* =========================
   SECTION BASE
========================= */
.authority {
    background: var(--bg-dark);
    color: var(--text);
    padding: 100px 0;
}

.authority-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.authority-header {
    text-align: center;
    margin-bottom: 60px;
}

.authority-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.authority-header p {
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================
   NUMBERS
========================= */
.authority-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.number-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s ease;
}

.number-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.number-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.number-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

/* CARD GOOGLE DESTACADO */
.google-card {
    text-decoration: none;
    display: block;
}

/* =========================
   REVIEWS
========================= */
.authority-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 25px;
    transition: 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.review-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-card strong {
    color: var(--text);
    display: block;
    margin-bottom: 15px;
}

/* BOTÃO GOOGLE */
.btn-google {
    display: inline-block;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s;
}

.btn-google:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =========================
   ABOUT
========================= */
.about {
    background: #0b1220;
    color: var(--text);
    padding: 100px 0;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-text h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-differentials {
    margin-top: 25px;
    display: grid;
    gap: 10px;
    color: var(--text);
}

.about-differentials div {
    background: rgba(255,255,255,0.03);
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
}

:root {
    --bg-dark: #0f172a;
    --card-bg: #111827;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --primary: #06b6d4;
    --secondary: #2563eb;
}

/* =========================
   SECTION BASE
========================= */
.services {
    background: var(--bg-dark);
    color: var(--text);
    padding: 100px 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================
   GRID
========================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* =========================
   CARD
========================= */
.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 30px 25px;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6,182,212,0.08);
}

/* TITULO */
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: var(--text);
}

/* LISTA */
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
}

.service-card ul li:last-child {
    border-bottom: none;
}

:root {
    --bg-dark: #0f172a;
    --card-bg: #111827;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --primary: #06b6d4;
}

/* =========================
   SECTION
========================= */
.portfolio {
    background: var(--bg-dark);
    color: var(--text);
    padding: 100px 0;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    
}
/* empurra o botão para o final do card */
.btn-portfolio {
    margin-top: auto;
}
.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* HEADER */
.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.portfolio-header p {
    color: var(--muted);
}

/* =========================
   GRID DESKTOP
========================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.portfolio-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

/* IMAGE */
.portfolio-image img {
    width: 100%;
    display: block;
    transition: 0.4s;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

/* CONTENT */
.portfolio-content {
    padding: 20px;
}

.portfolio-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.portfolio-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* BUTTON */
.btn-portfolio {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text);
    transition: 0.3s;
    font-size: 0.9rem;
}

.btn-portfolio:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =========================
   MODAL GALERIA
========================= */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}

.gallery-content {
    position: relative;
    max-width: 900px;
    margin: 80px auto;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
}

.gallery-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* CARROSSEL INTERNO */
.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
}

.gallery-track img {
    width: auto;
    height: 75vh;

    max-width: 100%;
    object-fit: contain;

    border-radius: 10px;

    flex-shrink: 0;
}

.gallery-track img {
    width: auto;
    height: 75vh;

    max-width: 100%;
    object-fit: contain;

    border-radius: 10px;

    flex-shrink: 0;
    scroll-snap-align: center;
}

/* BOTÕES CARROSSEL */
.gallery-prev,
.gallery-next {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
}

:root {
    --bg-dark: #0f172a;
    --bg-darker: #0b1220;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --primary: #06b6d4;
    --secondary: #2563eb;
}

/* =========================
   CTA FINAL
========================= */
.cta-final {
    background: radial-gradient(circle at top, #111827, #0f172a);
    color: var(--text);
    padding: 100px 20px;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-final p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* BOTÃO CTA */
.cta-botoes {
    display: flex;
    justify-content: center;
}

.btn-cta.secundario {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;

    color: #fff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));

    transition: 0.3s ease;
}

.btn-cta.secundario:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6,182,212,0.25);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--bg-darker);
    color: var(--text);
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* GRID FOOTER */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* COLUNAS */
.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-col p {
    color: var(--muted);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    color: var(--muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}







/* RESPONSIVO MENU*/
@media (max-width: 992px) {

    .nav,
    .cta-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .container {
        height: 70px;
    }
}
@media (max-width: 992px) {

    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0f172a;
        display: none;
        flex-direction: column;
        padding: 20px 0;
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
/* RESPONSIVO HERO */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        display: none;
    }
}
/* =========================
   RESPONSIVO avaliaçoes
========================= */
@media (max-width: 992px) {

    .authority-numbers {
        grid-template-columns: repeat(2, 1fr);
    }

    .authority-reviews {
        grid-template-columns: 1fr;
    }

    .authority-header h2 {
        font-size: 2rem;
    }
    .hero{
        padding-bottom: 30px;
    }
     .authority {
        padding-top: 30px; /* reduz espaço superior da seção de avaliações */
    }
}

@media (max-width: 600px) {

    .authority-numbers {
        grid-template-columns: 1fr;
    }
}
/* =========================
   RESPONSIVO serviços
========================= */
@media (max-width: 992px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header h2 {
        font-size: 2rem;
    }
}

/* =========================
   RESPONSIVO MOBILE PORTFOLIO
========================= */
@media (max-width: 992px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-header h2 {
        font-size: 2rem;
    }

    /* CARROSSEL MOBILE */
    .portfolio-card .portfolio-image {
        overflow-x: auto;
        display: flex;
        scroll-snap-type: x mandatory;
        gap: 10px;
    }

    .portfolio-card .portfolio-image img {
        min-width: 100%;
        flex-shrink: 0;
        scroll-snap-align: center;
        border-radius: 10px;
    }
}
/* =========================
   RESPONSIVO footer
========================= */
@media (max-width: 992px) {

    .cta-final h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.hero,
.authority,
.services,
.portfolio,
.about,
.cta-final {
    padding-top: 70px;
    padding-bottom: 70px;
}

@media (max-width: 992px) {
    .hero,
    .authority,
    .services,
    .portfolio,
    .about,
    .cta-final {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}



.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    width: 55px;
    height: 55px;

    background: #25D366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    transition: 0.3s ease;
}

.whatsapp-fab img {
    width: 28px;
    height: 28px;
    filter: invert(1);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* MOBILE */
@media (max-width: 992px) {
    .whatsapp-fab {
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-fab img {
        width: 30px;
        height: 30px;
    }
}


.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* garante que o conteúdo cresça e empurre o botão */
.portfolio-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* empurra o botão para o final do card */
.btn-portfolio {
    margin-top: auto;
}