/* ================= RESET E ANIMAÇÕES ================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= VARIÁVEIS DE TEMA (ESCURO PADRÃO) ================= */
:root {
    --bg-principal: #050d1a;
    --bg-secundario: #0b1b33;
    --bg-card: linear-gradient(145deg, rgba(11, 27, 51, 0.92), rgba(7, 20, 38, 0.98));
    --bg-input: #13294b;
    --bg-nav: rgba(5, 13, 26, 0.94);
    --bg-footer: #071426;
    --texto-principal: #ffffff;
    --texto-suave: rgba(255, 255, 255, 0.86);
    --texto-muted: rgba(255, 255, 255, 0.65);
    --dourado: #be9e0b;
    --dourado-claro: #ffd166;
    --borda-card: rgba(190, 158, 11, 0.25);
    --sombra-card: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ================= MODO CLARO (ACESSIBILIDADE) ================= */
body.modo-claro {
    --bg-principal: #f4f6fa;
    --bg-secundario: #ffffff;
    --bg-card: linear-gradient(145deg, #ffffff, #f8f9fc);
    --bg-input: #eef2f7;
    --bg-nav: rgba(255, 255, 255, 0.96);
    --bg-footer: #e8edf5;
    --texto-principal: #0b1b33;
    --texto-suave: #1e293b;
    --texto-muted: #475569;
    --dourado: #b48c00;
    --dourado-claro: #9a7400;
    --borda-card: rgba(11, 27, 51, 0.14);
    --sombra-card: 0 10px 26px rgba(11, 27, 51, 0.08);
}

/* ================= RESET E BASE ================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-principal);
    color: var(--texto-principal);
    font-family: "Poppins", Arial, sans-serif;
    overflow-x: hidden;
    transition: background-color 0.35s ease, color 0.35s ease;
}

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

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

/* ================= BARRA DE PROGRESSO DO SCROLL ================= */
#scroll-progress {
    position: fixed;
    top: 64px;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #be9e0b, #ffd166, #fff3b0);
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.85);
    z-index: 1001;
    transition: width 0.08s linear;
}

/* ================= ANIMAÇÕES ================= */
.revelar {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.revelar.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MENU FIXO ================= */
nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borda-card);
    transition: background-color 0.35s ease;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
    gap: 6px;
}

nav li {
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu,
.btn-carrinho-nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--texto-principal);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.menu:hover,
.btn-carrinho-nav:hover,
.menu.ativo-nav {
    background-color: #be9e0b;
    color: #050d1a;
}

.badge-carrinho {
    background: #be9e0b;
    color: #050d1a;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.btn-carrinho-nav:hover .badge-carrinho {
    background: #050d1a;
    color: #ffd166;
}

.foto-perfil {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--dourado);
}

/* ================= 1. APRESENTAÇÃO ================= */
.apre {
    max-width: 1160px;
    margin: 0 auto;
    padding: 124px 24px 70px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.tag {
    display: inline-block;
    font-family: "Orbitron", sans-serif;
    font-size: 11px;
    letter-spacing: 2.4px;
    color: var(--dourado-claro);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.texto h1 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.2;
    color: var(--texto-principal);
    margin-bottom: 18px;
}

.texto p {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--texto-suave);
    text-align: justify;
    margin-bottom: 26px;
}

.apre-acoes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primario,
.btn-secundario {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primario {
    background: linear-gradient(135deg, #be9e0b, #ffd166);
    color: #050d1a;
    box-shadow: 0 6px 18px rgba(190, 158, 11, 0.35);
}

.btn-primario:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 209, 102, 0.6);
}

.btn-secundario {
    border: 1.5px solid var(--dourado);
    color: var(--texto-principal);
}

.btn-secundario:hover {
    background: rgba(190, 158, 11, 0.16);
    transform: translateY(-2px);
}

.img-apre {
    width: 100%;
    height: 390px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--borda-card);
    box-shadow: var(--sombra-card);
}

.img-apre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-apre:hover img {
    transform: scale(1.06);
}

/* ================= 2. CARDS DE SERVIÇOS ================= */
.secao-servicos {
    padding: 20px 24px 80px;
}

.cabecalho-secao {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 44px;
}

.titulo-servicos {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--texto-principal);
    margin-bottom: 14px;
}

.linha-dourada {
    width: 84px;
    height: 3px;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #be9e0b, transparent);
}

.servi {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cards {
    background: var(--bg-card);
    border: 1px solid var(--borda-card);
    border-top: 3px solid var(--dourado);
    border-radius: 16px;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--sombra-card);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.cards:hover {
    transform: translateY(-10px);
    border-color: var(--dourado);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), 0 0 22px rgba(190, 158, 11, 0.22);
}

.icone-box {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(190, 158, 11, 0.14);
    border: 1px solid rgba(190, 158, 11, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cards img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.cards:hover img {
    transform: scale(1.15) rotate(4deg);
}

.cards h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    color: var(--texto-principal);
    margin-bottom: 12px;
}

.cards p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--texto-suave);
    flex: 1;
    margin-bottom: 18px;
}

.cta-card {
    font-size: 13px;
    font-weight: 600;
    color: var(--dourado-claro);
    letter-spacing: 0.4px;
}

/* ================= 3. FORMULÁRIO DE AGENDAMENTO ================= */
.form {
    padding: 20px 24px 90px;
}

.formulario {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    background: var(--bg-card);
    border: 1px solid var(--borda-card);
    border-left: 5px solid var(--dourado);
    border-radius: 20px;
    padding: 46px;
    box-shadow: var(--sombra-card);
}

.agenda h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--texto-principal);
    margin-bottom: 12px;
}

.agenda > p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--texto-suave);
    margin-bottom: 28px;
}

.agenda h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
    color: var(--dourado-claro);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.beneficio {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 12px;
    background: rgba(190, 158, 11, 0.08);
    border: 1px solid var(--borda-card);
}

.beneficio img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.beneficio-texto strong {
    display: block;
    font-size: 15px;
    color: var(--texto-principal);
    margin-bottom: 4px;
}

.beneficio-texto p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--texto-suave);
}

.selecao label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--texto-principal);
}

.selecao label:first-child {
    margin-top: 0;
}

.linha-dupla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.selecao select,
.selecao input,
.selecao textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--borda-card);
    background: var(--bg-input);
    color: var(--texto-principal);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.selecao select:focus,
.selecao input:focus,
.selecao textarea:focus {
    border-color: var(--dourado);
    box-shadow: 0 0 0 3px rgba(190, 158, 11, 0.35);
}

.btn-submit-agenda {
    margin-top: 20px;
    background: linear-gradient(135deg, #be9e0b, #ffd166) !important;
    color: #050d1a !important;
    border: none !important;
    font-weight: 700;
    font-size: 15.5px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit-agenda:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(190, 158, 11, 0.45);
}

.oculto { display: none !important; }

.confirmacao {
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: var(--texto-principal);
    font-size: 14px;
    text-align: center;
}

/* ================= 4. RODAPÉ ================= */
footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--borda-card);
    color: var(--texto-principal);
    padding: 48px 24px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.coluna-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 340px;
    max-width: 100%;
}

.coluna-links a {
    color: var(--texto-suave);
    font-size: 14.5px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.25s ease;
}

.coluna-links a:hover {
    background-color: rgba(190, 158, 11, 0.2);
    color: var(--dourado-claro);
    transform: translateX(8px);
}

.divisoria {
    width: 2px;
    height: 210px;
    background-color: var(--borda-card);
}

.coluna-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.coluna-logos h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--dourado-claro);
}

.rede-logos {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.logos1 {
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logos1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1.5px solid var(--dourado);
}

.logos1:hover {
    transform: scale(1.18) translateY(-4px);
}

/* ================= TOAST FLUTUANTE ================= */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0b1b33;
    color: #fff;
    border-left: 4px solid #be9e0b;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    font-size: 14px;
    z-index: 3000;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 1024px) {
    .servi {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .apre,
    .formulario {
        grid-template-columns: 1fr;
    }

    .formulario {
        padding: 28px 22px;
    }
}

@media (max-width: 600px) {
    nav ul {
        padding: 0 4px;
        gap: 2px;
    }

    .menu,
    .btn-carrinho-nav {
        font-size: 12.5px;
    }

    .servi,
    .linha-dupla {
        grid-template-columns: 1fr;
    }

    .img-apre {
        height: 260px;
    }

    .divisoria {
        width: 80%;
        height: 2px;
    }
}