/* ======================= */
/* CORE STYLE SOLUTION     */
/* ======================= */
:root {
    --bg: #050816;
    --card: #0a0f1f;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #22c55e;
    --primary-dark: #16a34a;
}

/* RESET */
body, h1, h2, h3, p, button, input {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}
body {
    background: var(--bg);
    color: var(--text);
}

/* ======================= */
/* TOPO COM 3 BOTÕES       */
/* ======================= */

.topo {
    padding: 25px;
    background: linear-gradient(180deg, #050816, #0a0f1f 70%);
    display: flex;
    gap: 15px;
    justify-content: center;
}

.topo button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.topo button:hover {
    background: var(--primary-dark);
}

/* ======================= */
/* HERO                     */
/* ======================= */

.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.hero p {
    margin-top: 15px;
    font-size: 18px;
    color: var(--muted);
}

/* ======================= */
/* GALERIA DE FOTOS         */
/* ======================= */

.gallery {
    background: #fff;
    color: #000;
    padding: 60px 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.gallery-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.gallery-images img {
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 0 15px #0003;
    transition: 0.3s;
}

.gallery-images img:hover {
    transform: scale(1.05);
}

/* ============================= */
/* VÍDEOS LADO A LADO            */
/* ============================= */

.videos-section {
    padding: 60px 20px;
    background: var(--card);
    color: #fff;
    text-align: center;
}

.videos-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.videos-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.video-box {
    background: #0d1222;
    padding: 20px;
    border-radius: 12px;
    width: 45%;
    min-width: 300px;
    box-shadow: 0 0 15px #0006;
}

.video-box h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.video-box video {
    width: auto;
    height: 520px; /* altura padrão vertical */
    aspect-ratio: 9 / 16;
    object-fit: cover; /* evita distorção */
    border-radius: 12px;
}

@media (max-width: 600px) {
    .video-box video {
        height: 420px;
    }
}


/* ============================= */
/* STORIES - ESTILO INSTAGRAM    */
/* ============================= */

.stories-container {
    background: #fff;
    padding: 50px 20px 60px;
    text-align: center;
    color: #000;
}

.stories-title {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
}

.stories-track {
    width: 100%;
    max-width: 520px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

.stories-wrapper {
    display: flex;
    gap: 18px;
    animation: storiesMove 10s linear infinite;
}

.story {
    min-width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--primary);
    box-shadow: 0 0 10px #0003;
    transition: 0.3s;
    cursor: pointer;
}

.story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story:hover {
    transform: scale(1.08);
}

/* ANIMAÇÃO */
@keyframes storiesMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-168px); }
}

/* ======================= */
/* TEXTO PROMOCIONAL       */
/* ======================= */

.info {
    background: #fff;
    color: #000;
    padding: 60px 20px;
}

.info h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
}

.info p {
    margin: 12px auto;
    max-width: 800px;
    font-size: 18px;
    line-height: 1.6;
}

/* ======================= */
/* DEPOIMENTOS (DINÂMICO)  */
/* ======================= */

.depoimentos {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
    color: #000;
}

.depoimentos h2 {
    font-size: 30px;
    margin-bottom: 30px;
}

.carrossel {
    max-width: 300px;
    text-align: center;
    min-height: 220px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.carrossel img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #22c55e66;
    margin-bottom: 15px;
}

.carrossel p {
    font-size: 18px;
    font-style: italic;
    min-height: 70px;
}

/* ======================= */
/* RODAPÉ + FORMULÁRIO      */
/* ======================= */

.footer {
    background: var(--card);
    padding: 40px 20px;
    text-align: center;
}

.footer form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
}

.footer button {
    background: var(--primary);
    padding: 14px;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.footer p {
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
}

.whatsapp {
    font-size: 22px;
    margin-bottom: 20px;
}

/* ============================ */
/* RESPONSIVIDADE MOBILE        */
/* ============================ */

@media (max-width: 600px) {

    .gallery-images img {
        width: 95%;
    }

    .stories-track {
        max-width: 100%;
        padding: 0 15px;
    }

    .story {
        width: 120px;
        height: 120px;
    }

    .videos-wrapper {
        flex-direction: column;
    }

    .video-box {
        width: 100%;
    }

    .hero h1 { font-size: 32px; }
    .hero p  { font-size: 16px; }
}

/* ============================================= */
/* PREMIUM EFFECTS – SOLUTION EXPERIENCE ULTRA   */
/* ============================================= */

/* ❄️ 1. TOPO COM BLUR TRANSPARENTE */
.topo {
    backdrop-filter: blur(10px);
    background: rgba(10, 15, 30, 0.65);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ✨ 2. HERO COM PARALLAX SUAVE */
.hero {
    background: url('img/bg_solution.jpg') center/cover no-repeat fixed;
    padding: 100px 20px;
    color: #fff;
    text-shadow: 0 0 8px #000;
    border-bottom: 3px solid var(--primary);
}

.hero h1 {
    animation: fadeDown 1.2s ease forwards;
    opacity: 0;
}

.hero p {
    animation: fadeUp 1.2s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 🌟 3. GALERIA – ZOOM PREMIUM */
.gallery-images img {
    transition: 0.35s ease;
    outline: 3px solid transparent;
}

.gallery-images img:hover {
    transform: scale(1.07);
    outline: 3px solid #22c55e;
    box-shadow: 0 0 25px #22c55e44;
}

/* 🎥 4. VÍDEOS – REALCE COM GLOW */
.video-box {
    transition: 0.3s ease;
}

.video-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px #22c55e33;
}

/* 🟣 5. STORIES – EFEITO 3D */
.story {
    transition: 0.3s ease;
}

.story:hover {
    transform: scale(1.12) rotateZ(2deg);
    box-shadow: 0px 8px 25px #22c55e55;
}

/* 🌫️ Fade quando aparece */
.fade-item {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.6s ease;
}

.fade-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* 🟢 6. BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background: #25d366;
    color: #fff;
    padding: 16px 18px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px #25d36699;
    cursor: pointer;
    transition: 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px #25d366cc;
}
#particles {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:0;
}
.topo {
    position: sticky;
    top: 0;
    z-index: 999;
    overflow: hidden;
}

.topo::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    left: -150px;
    background: linear-gradient(
        90deg,
        transparent,
        #22c55e55,
        transparent
    );
    animation: runner 3s linear infinite;
}

@keyframes runner {
    0%   { left: -150px; }
    100% { left: 110%; }
}
.story {
    transform-style: preserve-3d;
    transition: 0.2s ease;
}

.story:hover {
    transform: rotateY(12deg) rotateX(6deg) scale(1.15);
}
.gallery-images img {
    position: relative;
    overflow: hidden;
}

.gallery-images img:hover {
    transform: scale(1.05);
}

.gallery-images img:active {
    animation: ripple 0.5s linear;
}

@keyframes ripple {
    0% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}
.video-box {
    border: 2px solid #22c55e33;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%,100% { box-shadow: 0 0 15px #22c55e33; }
    50%     { box-shadow: 0 0 35px #22c55eaa; }
}
.carrossel img,
.carrossel p {
    transition: opacity 0.5s ease;
}
.fade-item {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: 0.7s ease;
}

.fade-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.glass {
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.1);
}

#matrix {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    opacity: 0.35; /* deixa discreto e elegante */
}
/* BOTÃO LATERAL */
.btn-contratar-lateral {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: #22c55e;
    color: #fff;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px 0 0 50px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(34,197,94,0.5);
}

.btn-contratar-lateral:hover {
    background: #16a34a;
    padding-right: 28px;
}

/* MODAL */
.modal-contratar {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-contratar-box {
    background: #0a0f1f;
    padding: 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: #e5e7eb;
    border: 1px solid #22c55e33;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

.modal-contratar-close {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* BOTÕES DO MODAL */
.modal-btn {
    width: 100%;
    border: none;
    padding: 14px;
    margin-top: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.modal-btn.azul {
    background: #2563eb;
    color: #fff;
}

.modal-btn.azul:hover {
    background: #1d4ed8;
}

.modal-btn.verde {
    background: #22c55e;
    color: #fff;
}

.modal-btn.verde:hover {
    background: #16a34a;
}

/* BOTÃO X ALINHADO PERTO DO TÍTULO */
.btn-contratar-lateral {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: #0a0f1f;
    color: #e5e7eb;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px 0 0 50px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #1e293b;
    box-shadow: 0 0 15px rgba(0,0,0,0.35);
    transition: 0.3s;
}

.btn-contratar-lateral:hover {
    background: #1e2538;
}


.topo button {
    background: #0a0f1f;
    color: #e5e7eb;
    border: 1px solid #1e293b;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

.topo button:hover {
    background: #1e2538;
    border-color: #334155;
}
/* ANIMAÇÃO DE ENTRADA DO BOTÃO LATERAL */
@keyframes slideInHorizontal {
    0% {
        transform: translate(150%, -50%); /* vem de fora da tela */
        opacity: 0;
    }
    60% {
        transform: translate(0%, -50%);   /* passa um pouco da posição */
        opacity: 1;
    }
    80% {
        transform: translate(20px, -50%);
    }
    100% {
        transform: translateY(-50%);
    }
}

.slide-in {
    animation: slideInHorizontal 1.4s ease-out forwards;
}


/* FUNDO ESCURO AO ABRIR IMAGEM */
.img-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* IMAGEM AMPLIADA */
.img-overlay img {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.3);
    opacity: 0;
    transition: 0.25s ease;
    border-radius: 12px;
    box-shadow: 0 0 35px rgba(0,0,0,0.55);
}

/* QUANDO ATIVAR */
.img-overlay.show img {
    transform: scale(1);
    opacity: 1;
}
.fade-soft {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease;
}

.fade-soft.show {
    opacity: 1;
    transform: translateY(0);
}
.hero {
    position: relative;
    overflow: hidden;
}

.hero h1, .hero p {
    transition: transform .3s ease-out;
}
.gallery-images img {
    transition: transform .25s ease;
}

.gallery-images img:hover {
    transform: scale(1.04) rotate(0.5deg);
}
.topo button {
    transition: all .25s ease;
}

.topo button:hover {
    box-shadow: 0 0 10px rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
@keyframes pulseBtn {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
    100% { transform: translateY(-50%) scale(1); }
}

.btn-contratar-lateral.pulse {
    animation: pulseBtn 5s infinite ease-in-out;
}
.story img {
    transition: transform .3s ease;
}

.story:hover img {
    transform: scale(1.08);
}
/* Aumenta nitidez e deixa mais crisp */

@media (max-width: 799px) {

    .gallery-images img,
    .zoom-img,
    .story img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        backface-visibility: hidden;
        transform: translateZ(0);
        filter: contrast(105%) saturate(110%);
    }

    .img-overlay img {
        filter: contrast(108%) saturate(110%);
    }

}
.info p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    font-size: 18px;
}
.hero {
    position: relative;
    text-align: center;
}

/* Medalha em marca d’água */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('ico/25anos.png') no-repeat center;
    background-size: 220px;
    opacity: 0.08; /* deixa bem clarinho */
    pointer-events: none; /* não atrapalha cliques */
    z-index: 1;
}

/* Garantir que o texto fique acima */
.hero h1,
.hero p,
.hero img,
.hero * {
    position: relative;
    z-index: 2;
}


/* Animação suave */
@keyframes fadeBadge {
    from { transform: translateY(15px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}




