/* ============================================================
   ARLS Juscelino Kubitschek nº 351 — Estilos da Página Pública (Landing)
   ============================================================ */

/* Importa fontes e tokens globais */
@import url('style.css');

/* ---------- Animações Customizadas ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goldPulse {
    0% { box-shadow: 0 0 15px rgba(201, 168, 76, 0.15); }
    50% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.35); }
    100% { box-shadow: 0 0 15px rgba(201, 168, 76, 0.15); }
}

@keyframes floatEmblem {
    0% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
    100% { transform: translateY(0) rotate(45deg); }
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* ---------- Estilos Gerais ---------- */
body.landing-page {
    background: 
        radial-gradient(circle at 10% 20%, rgba(20, 26, 40, 0.9) 0%, rgba(13, 16, 23, 0.98) 90%),
        radial-gradient(circle at 90% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
        var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- Cabeçalho (Navbar) ---------- */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(13, 16, 23, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.landing-header.scrolled {
    height: 70px;
    background: rgba(9, 11, 16, 0.9);
    border-bottom-color: rgba(201, 168, 76, 0.2);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    padding: 2px;
    background: var(--bg-surface);
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

.brand-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
}

/* Menu de Navegação */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header-cta {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: #0d1017;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-header-cta:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

/* Menu Mobile Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ---------- Seção Hero ---------- */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-container-centered {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.hero-container-centered .hero-title {
    margin-bottom: 8px;
    text-align: center;
}

.hero-container-centered .hero-emblem-container {
    margin: 20px 0;
}

.hero-container-centered .hero-subtitle {
    margin: 0 auto 24px auto;
    text-align: center;
    max-width: 760px;
}

.hero-container-centered .hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-content {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge-glesp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: #0d1017;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.88rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 4px 25px rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(19, 24, 34, 0.6);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.88rem;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    border-color: var(--gold-dim);
    background: rgba(201, 168, 76, 0.05);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Emblema Hero */
.hero-emblem-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1.2s ease out both;
}

.hero-emblem-bg {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    position: absolute;
    z-index: 0;
}

.hero-logo-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    padding: 6px;
    background: var(--bg-surface);
    object-fit: cover;
    z-index: 1;
    animation: floatLogo 6s ease-in-out infinite, goldPulse 4s infinite;
    box-shadow: var(--shadow), var(--shadow-gold);
}

/* ---------- Seção "Sobre Nós & História" ---------- */
.section-wrapper {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Grid de História */
.history-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.history-text-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.history-text-content p:first-of-type {
    color: var(--text-primary);
    font-size: 1.15rem;
}

.history-quote {
    background: rgba(19, 24, 34, 0.4);
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-primary);
}

.history-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Card Informativo */
.info-card-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-card-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
}

.info-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 24px;
    font-weight: 600;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-details h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-details p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ---------- Seção "Nossos Princípios" ---------- */
.principles-section {
    background: rgba(19, 24, 34, 0.4);
    border-y: 1px solid var(--border);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.principle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.principle-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow), 0 10px 30px rgba(201, 168, 76, 0.08);
}

.principle-card:hover::after {
    opacity: 0.4;
}

.principle-icon-wrap {
    width: 72px;
    height: 72px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--gold);
    transition: all 0.4s;
}

.principle-card:hover .principle-icon-wrap {
    background: var(--gold);
    color: #0d1017;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.principle-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.principle-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.principle-description {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- Seção "Área do Obreiro" CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, rgba(26, 33, 51, 0.8) 0%, rgba(15, 21, 32, 0.95) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    text-align: center;
    box-shadow: var(--shadow), var(--shadow-gold);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Seção Contato / Mapa ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-text h4 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Mapa Falso Maçônico (Estilos CSS) */
.map-canvas-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.map-canvas-mockup iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

.map-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(36, 45, 63, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 45, 63, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.map-location-pulse {
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--gold);
}

.map-location-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold);
    animation: goldPulse 2s infinite;
    z-index: -1;
}

.map-location-pulse svg {
    width: 12px;
    height: 12px;
    color: #0d1017;
}

.map-location-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(19, 24, 34, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-location-card-text h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.map-location-card-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-map-route {
    background: var(--gold-dim);
    color: #0d1017;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.btn-map-route:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

/* ---------- Rodapé ---------- */
.landing-footer {
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 480px;
    margin-bottom: 20px;
}

.footer-links-grid {
    display: flex;
    justify-content: flex-end;
    gap: 60px;
}

.footer-link-group h4 {
    font-size: 0.8rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-group a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-link-group a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social-link:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* ---------- Responsividade ---------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.0rem;
    }
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .principles-grid > *:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 20px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-emblem-container {
        order: -1;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid > *:last-child {
        grid-column: span 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links-grid {
        justify-content: flex-start;
        gap: 40px;
    }
}
