/* ==========================================================================
   LUCAS AQUINO DA SILVA — PORTFÓLIO PROFISSIONAL
   Estrutura & Layout: Padrão VVerde Gestão (vverdegestao.com)
   Identidade de Cores: Carteira de Investimentos (Midnight Petrol & Soft Mint)
   ========================================================================== */

/* -------------------
 * VARIÁVEIS GLOBAIS
 * ------------------- */
:root {
    --primary-color: #000E1C;          /* Obsidian Navy */
    --secondary-color: #89ECB1;        /* Soft Mint Green */
    --accent-color: #98F8F7;           /* Soft Aqua */
    --bg-petrol: #011729;              /* Midnight Petrol */
    --bg-slate: #001B22;               /* Marine Slate */
    
    --card-bg: #011E30;                /* Fundo dos cartões */
    --card-surface: #00253D;           /* Superfície de destaque */
    --card-elevated: #062C47;          /* Superfície elevada */
    --card-border: #0A3554;            /* Borda padrão */
    --card-border-light: rgba(137, 236, 177, 0.25);

    --light-gray: #f8f9fa;
    --dark-gray: #1E293B;
    --text-color: #CBD5E1;             /* Texto de leitura confortável */
    --text-muted: #94A3B8;             /* Texto secundário/legendas */
    --text-white: #FFFFFF;

    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* -------------------
 * ESTILOS DE BASE
 * ------------------- */
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-white);
}

p {
    color: var(--text-color);
    font-family: var(--font-body);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--text-white);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-color);
    font-family: var(--font-body);
}

/* -------------------
 * NAVBAR (ESTILO VVERDE)
 * ------------------- */
.navbar {
    background-color: rgba(0, 14, 28, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid rgba(10, 53, 84, 0.6);
    padding: 14px 0;
}

.navbar.scrolled {
    background-color: #000E1C;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
}

.navbar-brand .brand-logo-box {
    width: 42px;
    height: 42px;
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.1rem;
    margin-right: 12px;
}

.navbar-brand .logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.navbar .nav-link {
    color: #FFFFFF;
    font-weight: 500;
    margin: 0 0.35rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.95rem;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--secondary-color);
}

.btn-nav-contact {
    border: 2px solid var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    padding: 0.4rem 1.25rem !important;
    font-weight: 600 !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-nav-contact:hover {
    background-color: var(--secondary-color) !important;
    color: #000E1C !important;
}

/* -------------------
 * SEÇÃO HERO (BANNER PRINCIPAL)
 * ------------------- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #000E1C 0%, #011729 50%, #001B22 100%);
    padding: 120px 0 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(137, 236, 177, 0.08) 0%, rgba(0, 14, 28, 0.85) 70%);
    pointer-events: none;
}

.hero-section h1 {
    color: #FFFFFF;
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-section .hero-highlight {
    color: var(--secondary-color);
}

.hero-section .lead {
    color: var(--text-color);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #001B22;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #001B22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 236, 177, 0.3);
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background-color: #FFFFFF;
    color: #000E1C;
    transform: translateY(-2px);
}

.animate-title, .animate-description {
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------
 * SEÇÃO SOBRE & PILARES (ESTILO VVERDE)
 * ------------------- */
.card-pillar {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--card-border-light);
    background: var(--card-surface);
}

/* Card de Experiência Profissional (Altura automática, sem esticar) */
.experience-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: auto !important;
    min-height: auto !important;
    display: block !important;
}

.experience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: var(--card-border-light);
    background: var(--card-surface);
}

.card-pillar .card-icon {
    font-size: 2.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.card-pillar.pillar-ds .card-icon {
    color: var(--accent-color);
}

.card-pillar .card-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.card-pillar .card-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* -------------------
 * SEÇÃO SERVIÇOS / PROJETOS (COM ABAS ESTILO VVERDE)
 * ------------------- */
.nav-pills .nav-link {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    font-weight: 600;
    margin: 0 6px;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-pills .nav-link:hover {
    color: #FFFFFF;
    background: var(--card-surface);
}

.nav-pills .nav-link.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000E1C;
    font-weight: 700;
}

.tab-content-wrapper {
    padding: 35px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Card de Projeto Individual (Grid) */
.project-card-custom {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-custom:hover {
    border-color: var(--card-border-light);
    transform: translateY(-5px);
    background: var(--card-surface);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.project-card-custom .project-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.project-card-custom .project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.6rem;
}

.project-card-custom .project-desc {
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-card-custom .project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1.25rem;
}

.badge-tag {
    background: rgba(137, 236, 177, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(137, 236, 177, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-tag-aqua {
    background: rgba(152, 248, 247, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(152, 248, 247, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-solo-pill {
    background: rgba(137, 236, 177, 0.15);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-team-pill {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    border: 1px solid #38BDF8;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

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

.service-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-list i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.15rem;
    margin-top: 3px;
}

.service-category-title {
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
    color: var(--text-white);
    font-size: 1.2rem;
}

/* -------------------
 * SEÇÃO CONTATO (ESTILO VVERDE SPLIT)
 * ------------------- */
.contact-info-wrapper {
    background-color: var(--bg-petrol);
    border: 1px solid var(--card-border);
    color: #fff;
    padding: 35px;
    border-radius: 10px;
    height: 100%;
}

.contact-info-wrapper h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-right: 15px;
    width: 24px;
}

.contact-item a {
    color: #FFFFFF;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #FFFFFF;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    color: #FFFFFF;
}

.form-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-control-custom {
    background-color: var(--card-surface);
    border: 1px solid var(--card-border);
    color: #FFFFFF;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.95rem;
}

.form-control-custom:focus {
    background-color: var(--card-elevated);
    border-color: var(--secondary-color);
    color: #FFFFFF;
    box-shadow: 0 0 0 0.25rem rgba(137, 236, 177, 0.2);
}

.form-control-custom::placeholder {
    color: var(--text-muted);
}

form button.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    color: #000E1C;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

form button.btn-primary:hover {
    background-color: var(--accent-color);
    color: #000E1C;
    transform: translateY(-2px);
}

/* -------------------
 * WHATSAPP FLUTUANTE
 * ------------------- */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* -------------------
 * FOOTER (ESTILO VVERDE)
 * ------------------- */
.footer-section {
    background-color: #000913;
    border-top: 1px solid var(--card-border);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-heading {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
}

.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    color: #fff;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

/* -------------------
 * MODAL
 * ------------------- */
.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 14, 28, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-backdrop-custom.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-custom {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.modal-close-btn:hover {
    color: #FFFFFF;
    border-color: var(--secondary-color);
}

/* -------------------
 * RESPONSIVIDADE
 * ------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1.25rem;
        border-radius: 10px;
        margin-top: 12px;
        border: 1px solid var(--card-border);
    }

    .hero-section h1 {
        font-size: 2.6rem;
    }

    .hero-section {
        height: auto;
        padding: 140px 0 70px;
    }

    .nav-pills {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 2.1rem;
    }
    .footer-section {
        text-align: center;
    }
}
