/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --whatsapp-color: #25D366;
    --email-color: #3498db;
    --contact-color: #9b59b6;
    --text-color: #2c3e50;
    --bg-color: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

/* Watermark (logo de fundo suave) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    /* Marca d'água: apenas o símbolo (SP) */
    background-image: url('assets/sp_mark.png');
    background-repeat: no-repeat;
    background-position: center;
    /* Tamanho grande e centralizado (ajustado para ficar similar ao círculo de referência) */
    background-size: min(980px, 92vmin);
    opacity: 0.055;
    filter: grayscale(1);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}


.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 28px;
}

.logo {
    width: 100%;
    max-width: 520px;
    /* Larger logo (cropped asset) to reduce excessive whitespace on mobile */
    height: auto;
    /* Igualar o espaçamento do logo -> "Clube de Investimento" com o bloco "nome" -> "Fundador • Gestor" */
    margin-bottom: 8px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Profile */
.profile {
    margin-bottom: 28px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 400;
}

/* Buttons */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

.icon {
    width: 24px;
    height: 24px;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
}

.btn-contact {
    background-color: var(--contact-color);
}

.btn-contact:hover {
    background-color: #8e44ad;
}

.btn-email {
    background-color: var(--email-color);
}

.btn-email:hover {
    background-color: #2980b9;
}

.btn-email-club {
    background-color: var(--secondary-color);
}

.btn-email-club:hover {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

footer p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Responsividade */
@media (max-width: 480px) {
    /* Sobe a marca d'agua no mobile para nao ficar "coberta" pelos botoes */
    body::before {
        top: 38%;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 14px 20px;
    }

    .logo {
        max-width: 340px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logo {
        max-width: 350px;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (opcional) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --primary-color: #ffffff;
        --secondary-color: #b0b0b0;
    }

    body {
        background-color: var(--bg-color);
    }

    body::before {
        opacity: 0.08;
        filter: invert(1) grayscale(1);
    }

    footer {
        border-top-color: #333;
    }
}
