/* ======================================================================
   PORTAL LOURENÇO - FOLHA DE ESTILOS PRINCIPAL
   PALETA: Ouro Realista Metálico, Azul Petróleo, Noturno e Cobalto Real
   ====================================================================== */

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA771C;
    --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA771C 100%);
    --gold-gradient-hover: linear-gradient(135deg, #FFF0C2 0%, #E5C158 50%, #BD892D 100%);
    --gold-border: 1px solid rgba(212, 175, 55, 0.35);
    --gold-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);

    --blue-bg-darkest: #020C1B;
    --blue-bg-card: #0A192F;
    --blue-bg-elevated: #112240;
    --blue-cobalt: #1E3A8A;
    --blue-accent: #2563EB;
    --blue-light: #60A5FA;

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-gold: #F3E5AB;
    --border-subtle: #1E293B;

    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-max: 1240px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--blue-bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ----------------------------------------------------------------------
   CABEÇALHO & NAVEGAÇÃO
   ---------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.brand-logo .logo-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gold-gradient);
    color: var(--blue-bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow: var(--gold-shadow);
}

.brand-logo .logo-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-cta-btn {
    padding: 10px 22px;
    background: var(--gold-gradient);
    color: var(--blue-bg-darkest) !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: var(--gold-shadow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ----------------------------------------------------------------------
   CARROSSEL DE 12 BANNERS E PARTÍCULAS SOBREPOSTAS (Z-INDEX)
   ---------------------------------------------------------------------- */
.hero-carousel-container {
    position: relative;
    width: 100%;
    min-height: 580px;
    background: var(--blue-bg-darkest);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* O Canvas fica sobre o fundo e sobre os slides */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Sobre os banners */
    pointer-events: none; /* Permite cliques nos botões */
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 580px;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 12, 27, 0.92) 0%, rgba(10, 25, 47, 0.75) 55%, rgba(30, 58, 138, 0.45) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 4; /* Acima das partículas */
    max-width: 780px;
    padding: 60px 0;
}

.slide-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.slide-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    background: rgba(10, 25, 47, 0.8);
    border: var(--gold-border);
    color: var(--gold-primary);
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
    background: var(--gold-primary);
    color: var(--blue-bg-darkest);
    box-shadow: var(--gold-shadow);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid var(--gold-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator-dot.active {
    width: 32px;
    border-radius: 10px;
    background: var(--gold-gradient);
}

/* ----------------------------------------------------------------------
   BOTÕES E COMPONENTES COMUNS
   ---------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--blue-bg-darkest);
    box-shadow: var(--gold-shadow);
}

.btn-gold:hover {
    background: var(--gold-gradient-hover);
    color: var(--blue-bg-darkest);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-light);
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #FFFFFF;
    border-color: var(--gold-light);
}

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

/* ----------------------------------------------------------------------
   CARDS DE PRODUTOS, ASSINATURAS & PORTFÓLIO
   ---------------------------------------------------------------------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: var(--blue-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
}

.card-pricing {
    background: var(--blue-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-pricing.featured {
    border: 2px solid var(--gold-primary);
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, var(--blue-bg-card) 100%);
    box-shadow: var(--gold-shadow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--blue-bg-darkest);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--gold-light);
    margin: 18px 0;
}

.price-value small {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.feature-list {
    list-style: none;
    margin: 20px 0 30px;
    flex: 1;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li::before {
    content: "✓";
    color: var(--gold-primary);
    font-weight: 900;
}

/* ----------------------------------------------------------------------
   RODAPÉ CORPORATIVO
   ---------------------------------------------------------------------- */
.site-footer {
    background: var(--blue-bg-darkest);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding-top: 70px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    color: var(--gold-light);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-bottom {
    background: #01060F;
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ----------------------------------------------------------------------
   RESPONSIVIDADE (SMARTPHONES E TABLETS)
   ---------------------------------------------------------------------- */
@media (max-width: 992px) {
    .navbar { height: 70px; }
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--blue-bg-card);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-menu.active { left: 0; }
    .slide-title { font-size: 2.1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .slide-title { font-size: 1.65rem; }
    .slide-description { font-size: 0.95rem; }
    .hero-carousel-container { min-height: 480px; }
    .carousel-track { min-height: 480px; }
    .carousel-nav-btn { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
}