/* =========================================================
   CN MONTAGENS - STYLE.CSS
   Compatível com o index.html atual
   ========================================================= */

:root {
    --azul: #0757a8;
    --azul-claro: #0d78e8;
    --azul-escuro: #063b73;
    --verde: #25d366;
    --verde-escuro: #19b957;
    --preto: #111;
    --branco: #fff;
    --cinza: #f5f7fa;
    --cinza2: #666;
    --borda: #e7e7e7;
    --amarelo: #ffb400;
    --sombra: 0 10px 30px rgba(0,0,0,.08);
    --sombra-hover: 0 18px 45px rgba(0,0,0,.14);
    --raio: 14px;
}

/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #252525;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--azul);
    color: #fff;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: min(1150px, calc(100% - 40px));
    margin: 0 auto;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--borda);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-content {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--verde-escuro);
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: color .2s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--verde);
    transition: width .25s ease;
}

nav a:hover {
    color: var(--azul);
}

nav a:hover::after {
    width: 100%;
}

.header-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    border-radius: 8px;
    background: var(--verde);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(37,211,102,.22);
    transition: .25s ease;
}

.header-btn:hover {
    transform: translateY(-2px);
    background: var(--verde-escuro);
}

/* =========================
   HERO / BANNER
========================= */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88),
            rgba(0,0,0,.65),
            rgba(0,0,0,.35)
        ),
        url("imagens/banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(37,211,102,.16),
            transparent 30%
        );
    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    padding: 80px 0;
    animation: entrada .8s ease both;
}

.tag {
    display: inline-block;
    padding: 7px 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50px;
    background: rgba(255,255,255,.06);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.hero h1 {
    margin-bottom: 25px;
    font-size: clamp(38px,6vw,68px);
    line-height: 1.05;
    letter-spacing: -3px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--verde);
}

.hero p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #eee;
    font-size: 19px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: var(--verde);
    color: #fff;
    box-shadow: 0 8px 22px rgba(37,211,102,.25);
}

.btn-whatsapp:hover {
    background: var(--verde-escuro);
    box-shadow: 0 12px 30px rgba(37,211,102,.32);
}

.btn-dark {
    background: rgba(17,17,17,.92);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
}

/* =========================
   SEÇÕES
========================= */

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title small {
    display: block;
    margin-bottom: 8px;
    color: var(--verde-escuro);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    display: block;
    margin: 0 auto;
    font-size: clamp(30px,5vw,45px);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--preto);
}

.section-title p {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--cinza2);
}

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

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

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

.service-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    box-shadow: 0 5px 20px rgba(0,0,0,.03);
    transition: .3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--azul),
        var(--verde)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--sombra-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #e9fff1;
    border-radius: 12px;
    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card p {
    color: var(--cinza2);
    font-size: 15px;
}

/* =========================
   DIFERENCIAIS
========================= */

.features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.feature {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--borda);
    border-radius: 10px;
    background: #fff;
    transition: .25s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra);
}

.check {
    flex-shrink: 0;
    color: var(--verde-escuro);
    font-size: 20px;
    font-weight: 900;
}

.feature strong {
    display: block;
    margin-bottom: 4px;
}

.feature p {
    color: var(--cinza2);
    font-size: 14px;
}

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

.cta {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(37,211,102,.16),
            transparent 30%
        ),
        var(--preto);
    color: #fff;
    text-align: center;
}

.cta h2 {
    margin-bottom: 15px;
    font-size: clamp(30px,5vw,48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #ccc;
}

/* =========================
   GALERIA
========================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    background: #eee;
    transition: .3s ease;
}

.gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1.04);
    box-shadow: var(--sombra);
}

/* =========================
   AVALIAÇÕES
========================= */

.avaliacoes {
    background: linear-gradient(
        180deg,
        #f8fbff 0%,
        #fff 100%
    );
    text-align: center;
}

.avaliacoes .subtitulo {
    max-width: 750px;
    margin: 0 auto 40px;
    color: var(--cinza2);
    font-size: 17px;
}

.avaliacoes-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    max-width: 1050px;
    margin: 40px auto;
}

.avaliacao {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: .3s ease;
}

.avaliacao::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--azul),
        var(--verde)
    );
}

.avaliacao:hover {
    transform: translateY(-7px);
    box-shadow: var(--sombra-hover);
}

.avaliacao-topo {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
}

.avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--azul),
        var(--azul-claro)
    );
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.avaliacao-topo h3 {
    margin: 0;
    color: var(--azul);
    font-size: 17px;
}

.avaliacao-topo span {
    display: block;
    margin-top: 2px;
    color: #888;
    font-size: 13px;
}

.estrelas {
    margin-bottom: 12px;
    color: var(--amarelo);
    font-size: 20px;
    letter-spacing: 2px;
}

.avaliacao p {
    margin-bottom: 18px;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

.avaliacao-fonte {
    color: #777;
    font-size: 13px;
    font-weight: 600;
}

.btn-avaliacoes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 2px solid var(--azul);
    border-radius: 50px;
    background: #fff;
    color: var(--azul);
    font-weight: 700;
    transition: .25s ease;
}

.btn-avaliacoes:hover {
    background: var(--azul);
    color: #fff;
    transform: translateY(-3px);
}

/* =========================
   FAQ
========================= */

.faq {
    max-width: 800px;
    margin: auto;
}

details {
    border-bottom: 1px solid var(--borda);
    padding: 20px 0;
}

summary {
    position: relative;
    padding-right: 35px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 17px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--azul);
    font-size: 25px;
    font-weight: 400;
    transition: .25s ease;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

details p {
    margin-top: 12px;
    color: var(--cinza2);
}

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

.contact-box {
    padding: 45px;
    background: linear-gradient(
        135deg,
        #f5f7fa,
        #edf7ff
    );
    border: 1px solid #e4edf5;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--sombra);
}

.contact-box h2 {
    margin-bottom: 10px;
    font-size: 35px;
}

.contact-box p {
    margin-bottom: 25px;
    color: var(--cinza2);
}

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

footer {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37,211,102,.12),
            transparent 30%
        ),
        #090909;
    color: #fff;
    padding: 45px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

footer h3 {
    margin-bottom: 15px;
}

footer p,
footer a {
    color: #aaa;
    font-size: 14px;
}

footer a:hover {
    color: var(--verde);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid #292929;
    text-align: center;
    color: #777;
    font-size: 13px;
}

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

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--verde);
    color: #fff;
    border-radius: 50%;
    font-size: 30px;

    box-shadow: 0 8px 25px rgba(0,0,0,.2);

    transition: .25s ease;
    animation: pulsar 2.2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* =========================
   ANIMAÇÕES
========================= */

@keyframes entrada {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulsar {
    0% {
        box-shadow:
            0 0 0 0 rgba(37,211,102,.45),
            0 8px 25px rgba(0,0,0,.2);
    }

    70% {
        box-shadow:
            0 0 0 15px rgba(37,211,102,0),
            0 8px 25px rgba(0,0,0,.2);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37,211,102,0),
            0 8px 25px rgba(0,0,0,.2);
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .gallery {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2,1fr);
    }
}

/* =========================
   CELULAR
========================= */

@media (max-width: 768px) {

    .container {
        width: min(100% - 30px, 1150px);
    }

    .header-content {
        min-height: 68px;
        gap: 12px;
    }

    .logo {
        font-size: 22px;
    }

    .header-btn {
        padding: 9px 13px;
        font-size: 13px;
    }

    .hero {
        min-height: 600px;
        background-position: 60% center;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: clamp(36px,10vw,52px);
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    section {
        padding: 65px 0;
    }

    .services-grid,
    .features,
    .avaliacoes-container {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2,1fr);
    }

    .gallery img {
        height: 240px;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .contact-box h2 {
        font-size: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* =========================
   CELULARES PEQUENOS
========================= */

@media (max-width: 500px) {

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

    .gallery img {
        height: 250px;
    }

    .tag {
        font-size: 12px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 15px;
        bottom: 15px;
        font-size: 27px;
    }
}

@media (max-width: 380px) {

    .header-content {
        padding: 8px 0;
    }

    .header-btn {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }
}