:root {
    /* Cores Padrão (Dark Mode) */
    --bg-dark: #072C54;
    --text-light: #f0f4f8;
    --card-bg: #0d3b66;
    --card-border: #1a4c8b;
    --primary-color: #C1FF72;
    --primary-hover: #adff2f;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

/* --- Seção Sobre Mim (About Me) --- */
.about-me {
    text-align: center;
    padding: 0.1rem 0;
    margin-bottom: 2.5rem;
}

.about-intro h2 {
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Linha decorativa abaixo do nome */
.about-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

.about-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.about-summary {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 80ch; /* Limita a largura do parágrafo para melhor leitura */
    margin-bottom: 2.5rem;
}

/* Grid de Estatísticas */
.stats-grid {
    display: grid;
    /* Cria colunas responsivas: 4 em telas grandes, 2 em médias, 1 em pequenas */
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.stat-item .stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
}

/* Trajetória */
.trajectory h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trajectory ul {
    list-style: none;
    padding-left: 0;
}

.trajectory li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Marcador (bullet) personalizado */
.trajectory li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* --- Botão Flutuante do WhatsApp --- */
#whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;

    /* Estilo do botão */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    
    /* Alinhamento do ícone */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Animação */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2.5s infinite;
}

#whatsapp-fab i {
    font-size: 2.2rem; /* Tamanho do ícone */
}

/* Efeito ao passar o mouse */
#whatsapp-fab:hover {
    transform: scale(1.15);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    animation-play-state: paused; /* Pausa a animação de pulso */
}

/* A animação de pulso */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Estilo e posicionamento da "dica" (tooltip) */
.tooltip-fab {
    position: absolute;
    right: 75px; /* Posição à esquerda do botão */
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--card-bg);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 8px;
    white-space: nowrap; /* Impede que o texto quebre a linha */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    
    /* Escondido por padrão */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Mostra a dica no hover */
#whatsapp-fab:hover .tooltip-fab {
    opacity: 1;
    visibility: visible;
}

/* Esconde a dica em telas de celular */
@media (max-width: 768px) {
    .tooltip-fab {
        display: none;
    }
}

/* --- Efeito de Gradiente Animado para o Título Principal --- */
header h1 {
    /* Cria um fundo de gradiente com a nossa cor primária e tons complementares */
    background: linear-gradient(90deg, var(--primary-color), #fff, var(--primary-color));
    
    /* Define o tamanho do fundo como 200% para permitir a animação */
    background-size: 200% auto;
    
    /* "Corta" o fundo para que ele só apareça onde há texto */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Deixa a cor do texto transparente para revelar o fundo */
    -webkit-text-fill-color: transparent;
    
    /* Animação que move a posição do fundo */
    animation: textGradientAnimation 5s linear infinite;
}

/* Animação que move o gradiente da esquerda para a direita */
@keyframes textGradientAnimation {
    from {
        background-position: 200% center;
    }
    to {
        background-position: 0% center;
    }
}

/* Cores do Light Mode */
html[data-theme='light'] {
    --bg-dark: #f0f4f8; /* Fundo claro */
    --text-light: #072C54; /* Texto escuro */
    --card-bg: #ffffff; /* Cartões brancos */
    --card-border: #dbeaf5; /* Borda suave */
    --shadow-color: rgba(0, 0, 0, 0.1); /* Sombra mais clara */
}

/* Estilo do Botão Seletor (Versão Flutuante) */
.theme-toggle-btn {
    /* Posicionamento Fixo (Flutuante) */
    position: fixed;
    top: 25px; /* Distância da parte inferior */
    right: 25px;   /* Distância da esquerda */
    z-index: 999;  /* Garante que fique acima do conteúdo */

    /* Estilos Visuais */
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 50px; /* Um pouco maior para ser um bom alvo de clique */
    height: 50px;
    cursor: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem; /* Ícone um pouco maior */
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidade */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    margin: 0; /* Remove a margem antiga */
}
.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Sombra mais forte no hover */
}

.theme-toggle-btn .fa-sun { display: none; } /* Sol escondido por padrão (Dark Mode) */
html[data-theme='light'] .fa-sun { display: block; } /* Mostra sol no Light Mode */
html[data-theme='light'] .fa-moon { display: none; } /* Esconde lua no Light Mode */

/* --- Estilo do Formulário de Contato --- */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--bg-dark); /* Fundo sutil */
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}
#contact-form input::placeholder, #contact-form textarea::placeholder {
    color: var(--text-light);
    opacity: 0.5;
}
#contact-form button {
    border: none;
    cursor: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--card-border);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* --- Cursor Personalizado --- */
.cursor {
    width: 25px;
    height: 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}
.cursor.hover-effect {
    width: 60px;
    height: 60px;
    background-color: rgba(193, 255, 114, 0.2);
    border-color: rgba(193, 255, 114, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
    
}

.container {
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

header { margin-bottom: 0px; }

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 5px rgba(193, 255, 114, 0.2);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}
.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.content-section { margin-top: 1rem; }

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #072C54;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px var(--shadow-color);
    margin-bottom: 3rem;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}
@media (min-width: 600px) { .links-grid { grid-template-columns: 1fr 1fr; } }

.link-card {
    position: relative; /* Adicionado para posicionar o brilho */
    overflow: hidden;   /* Adicionado para conter o brilho */
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    box-shadow: 0 6px 15px var(--shadow-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: none; /* Usa o cursor customizado */
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* --- Efeito de Brilho "Aurora" nos Cards --- */
.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* O gradiente que cria o efeito aurora */
    background: radial-gradient(
        circle at center, 
        rgba(193, 255, 114, 0.5), /* Cor primária mais forte no centro */
        rgba(193, 255, 114, 0) 70%  /* Transparente nas bordas */
    );
    
    /* Começa invisível e centralizado */
    opacity: 0;
    transform: scale(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Quando o mouse passa por cima do card, o efeito aparece */
.link-card:hover::before {
    opacity: 1;
    transform: scale(2.5); /* Expande o brilho para criar o efeito */
}

.link-card .icon {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.link-card:hover {
    transform: translateY(-5px) perspective(1000px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* --- Seção de Depoimentos --- */
.testimonial-section {
    max-width: 650px;
    margin: 0.1rem auto 0;
    padding: 2rem;
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    text-align: left;
}
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}
.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}
.social-icons a {
    color: var(--text-light);
    font-size: 1.9rem;
    margin: 0 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.7;
}
.social-icons a:hover {
    transform: scale(1.2);
    opacity: 1;
    color: var(--primary-color);
}

/* --- Modal de Serviços --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 44, 84, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8888;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    max-width: 500px;
    width: 90%;
    text-align: left;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.modal-close-btn:hover { opacity: 1; }
.modal-content h2 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 1rem; }
.modal-content p { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.modal-content ul { list-style: none; padding-left: 0; margin-bottom: 2rem; }
.modal-content ul li { padding-left: 1.5rem; position: relative; margin-bottom: 0.8rem; }
.modal-content ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}
.modal-content #modal-cta { margin: 0; }

/* --- Otimizações de Acessibilidade: Respeito ao Movimento Reduzido --- */
@media (prefers-reduced-motion: reduce) {
    /* Desativa transições e animações suaves */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Remove animações específicas */
    .theme-toggle-btn:hover,
    .btn-primary:hover,
    .link-card:hover {
        transform: none; /* Remove efeitos de escala/movimento */
    }
    #whatsapp-fab, 
    .spinner,
    header h1 {
        animation: none; /* Remove pulso, giro e gradiente */
    }
    
    /* Desativa o ScrollReveal via JS (necessário ajuste no script) */
    /* Vamos adicionar a lógica no JS para isso */
}

/* --- Estilos da Página de Obrigado --- */
.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Centraliza verticalmente */
    text-align: center;
}

.thank-you-container h1 {
    font-size: 2.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.thank-you-container p {
    font-size: 1.1rem;
    max-width: 450px;
    opacity: 0.8;
    line-height: 1.6;
}

.redirect-message {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animação do Checkmark de Sucesso */
.success-animation {
    margin: 0 auto;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: var(--primary-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--primary-color);
    animation: scale .8s ease-in-out .8s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: var(--primary-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 1.5s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

