/* ============================================================
   DESIGN SYSTEM — GABRIEL ANDRADE DIGITAL
   Todas as cores e medidas estão centralizadas aqui.
   Edite apenas as variáveis em :root para mudar o design.
   ============================================================ */

:root {
    /* ---- CORES ---- */
    --color-bg: #0A0A0A;                 /* fundo principal */
    --color-surface: #1A1A1A;            /* cards / seções */
    --color-surface-alt: #121212;        /* superfícies secundárias */
    --color-border: rgba(255, 255, 255, 0.08);

    --brand-1: #667EEA;                  /* índigo */
    --brand-2: #764BA2;                  /* roxo */
    --deep-1: #1E3C72;                   /* azul profundo */
    --deep-2: #2A5298;                   /* azul profundo 2 */

    --accent-1: #10B981;                 /* verde esmeralda (CTA) */
    --accent-2: #059669;                 /* verde esmeralda escuro */

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);

    /* ---- GRADIENTES ---- */
    --gradient-brand: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    --gradient-hero: linear-gradient(135deg, var(--deep-1) 0%, var(--deep-2) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);

    /* ---- TIPOGRAFIA ---- */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ---- MEDIDAS ---- */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-circle: 50%;

    --container-max: 650px;
    --space-section: 28px;
    --shadow-card: 0 12px 24px rgba(102, 126, 234, 0.3);
}

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    text-align: center;
    padding: 50px 30px;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* --- Avatar (foto) --- */
.avatar-wrapper {
    position: relative;
    display: inline-block;
    padding: 4px;                              /* espessura do anel gradiente */
    background: var(--gradient-brand);
    border-radius: var(--radius-circle);
    margin-bottom: 24px;
    z-index: 1;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-circle);
    border: 3px solid var(--color-bg);         /* separa a foto do anel */
    object-fit: cover;                         /* preenche o círculo sem distorcer */
    object-position: center;                   /* centraliza a foto */
    background: var(--color-surface);
}

.badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--accent-1);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    border: 3px solid var(--color-bg);
    z-index: 2;
}

.name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.title {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* --- Estatísticas --- */
.stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-1);
}

.stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
.section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-section);
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
}

/* --- Benefícios --- */
.benefit-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: var(--accent-1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: #fff;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.9;
}

/* --- Processo --- */
.process-steps {
    display: grid;
    gap: 16px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.portfolio-grid {
    display: grid;
    gap: 16px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    padding: 20px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.portfolio-type {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-url {
    font-size: 13px;
    opacity: 0.8;
    word-break: break-all;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}

.cta-button {
    display: block;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.03);
}

.cta-button--whatsapp {
    background: #fff;
    color: var(--accent-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button--instagram {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
    text-align: center;
    padding: 24px;
    opacity: 0.6;
    font-size: 13px;
}

/* ============================================================
   ANIMAÇÃO DE REVELAÇÃO (ativada via JS)
   ============================================================ */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
    }

    .name {
        font-size: 26px;
    }

    .stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 24px;
    }

    .section {
        padding: 20px;
    }

    .cta-title {
        font-size: 20px;
    }
}
