/* =========================================
   I. MARTINS CONSULTORIA - STYLE.CSS
   Glassmorphism Theme
   ========================================= */

/* === VARIÁVEIS === */
:root {
    --azul-logo: #1e2a3a;
    --azul-escuro: #0f172a;
    --branco: #ffffff;
    --verde-whatsapp: #25D366;
    --fonte-principal: 'Inter', sans-serif;
    --fonte-logo: 'BankGothic Md BT', sans-serif;
    --glass-bg: rgba(15, 23, 42, 0.55);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 18px;
}

/* === RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* === BODY - Fundo com Paisagem + Overlay Azulado === */
body {
    font-family: var(--fonte-principal);
    color: var(--branco);
    min-height: 100vh;
    line-height: 1.8;
    position: relative;
    background: var(--azul-escuro);
}

/* Imagem de fundo fixa */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Paisagem.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Overlay azulado translúcido sobre a imagem */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.75) 30%,
        rgba(15, 23, 42, 0.80) 70%,
        rgba(15, 23, 42, 0.90) 100%
    );
    z-index: -1;
}

/* Grade blueprint sutil */
body > .blueprint-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

/* === CONTAINER === */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* === CABEÇALHO (Header) === */
.header {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-top {
    height: 110px;
    display: block;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.logo-top:hover {
    opacity: 0.85;
}

/* === TIPOGRAFIA === */
h1, h2 {
    font-family: var(--fonte-logo);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-weight: 800;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 60px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 1.6rem;
}

/* === MAIN === */
main {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

/* === TEXTO PRINCIPAL === */
.main-text {
    font-size: 1.31rem;
    text-align: justify;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.9;
}

.main-text p {
    margin-bottom: 16px;
}

.main-text strong {
    color: var(--branco);
    font-weight: 700;
}

.main-text ul {
    padding-left: 24px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.main-text li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.88);
}

.main-text li::marker {
    color: rgba(255, 255, 255, 0.5);
}

/* === GLASSMORPHISM PANEL === */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 35px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    margin-bottom: 40px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* === GRID 2 COLUNAS === */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.grid-2-col ul {
    padding-left: 20px;
}

.grid-2-col li {
    margin-bottom: 10px;
}

/* === CALL TO ACTION === */
.contact-call {
    text-align: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 50px 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* === GRUPO DE BOTÕES === */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* === BOTÃO BASE === */
.btn {
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--fonte-principal);
    border: none;
    letter-spacing: 0.5px;
}

/* Botão Solicitar Proposta (outline) */
.btn-proposta {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--branco);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-proposta:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    border-color: var(--branco);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Botão WhatsApp */
.btn-whatsapp {
    background: var(--verde-whatsapp);
    border: 2px solid var(--verde-whatsapp);
    color: var(--branco);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

/* Botão Acesso Cliente (nav) */
.btn-client-nav {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--branco);
    padding: 10px 22px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-client-nav:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    border-color: var(--branco);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

/* === FORMULÁRIO === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--branco);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Botão submit dentro do formulário */
.glass-panel .btn-proposta,
.glass-panel button[type="submit"] {
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--branco);
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--fonte-principal);
    letter-spacing: 0.5px;
}

.glass-panel .btn-proposta:hover,
.glass-panel button[type="submit"]:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    border-color: var(--branco);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* === FOOTER === */
footer {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

footer a {
    color: var(--branco);
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        margin-top: 40px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .glass-panel {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .container {
        padding: 0 15px;
    }

    .main-text {
        font-size: 1.19rem;
        text-align: left;
    }

    .contact-call {
        font-size: 1.1rem;
    }

    .header-inner {
        padding: 0 15px;
    }

    .logo-top {
        height: 90px;
    }

    .btn-client-nav {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .glass-panel {
        padding: 20px 15px;
    }
}

/* === ANIMAÇÕES SUTIS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > h1 {
    animation: fadeInUp 0.6s ease-out;
}

.container > .main-text {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.container > .contact-call {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.container > .btn-group {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.container > .glass-panel {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* === SCROLLBAR CUSTOMIZADA === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* === SELEÇÃO DE TEXTO === */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--branco);
}
