/* =============================================
   LAYOUT — Header, Hero, Seções, Footer
   ============================================= */

/* ---------- Header ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.55rem 0;
    background: rgba(58, 14, 29, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(58, 14, 29, 0.35);
    border-bottom: 1px solid rgba(216, 167, 180, 0.25);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.brand-text { line-height: 1.15; }

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-name span { color: var(--gold-400); }

.brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.7rem;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    transition: width 0.35s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-300);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    background: var(--gradient-gold);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(91, 26, 46, 0.5);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(91, 26, 46, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-300);
    font-size: 1.25rem;
    transition: var(--transition);
}

.menu-toggle:hover { background: rgba(91, 26, 46, 0.15); }

/* ---------- Hero ---------- */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 48px) 0 96px;
    background: var(--gradient-navy);
    overflow: hidden;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(216, 167, 180, 0.18), transparent 55%),
        radial-gradient(ellipse at 80% 75%, rgba(56, 80, 136, 0.5), transparent 60%),
        var(--gradient-navy);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(58, 14, 29, 0.55) 0%, rgba(58, 14, 29, 0.25) 45%, rgba(58, 14, 29, 0.92) 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.hero-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -100px;
    background: rgba(216, 167, 180, 0.18);
    animation: orb-float 12s ease-in-out infinite alternate;
}

.hero-orb-2 {
    width: 340px;
    height: 340px;
    bottom: -80px;
    left: -110px;
    background: rgba(56, 80, 136, 0.45);
    animation: orb-float 16s ease-in-out infinite alternate-reverse;
}

@keyframes orb-float {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(40px, 30px) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-full);
    background: rgba(216, 167, 180, 0.12);
    border: 1px solid rgba(216, 167, 180, 0.45);
    color: var(--gold-300);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(6px);
}

.hero-badge i { color: var(--gold-400); }

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.4rem;
}

.hero-title .hero-accent {
    font-style: italic;
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 680px;
    margin: 0 auto 2.4rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-subtitle i { color: var(--gold-400); margin-right: 0.4rem; }

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.2rem;
}

.hero-media {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 0 auto 3.2rem;
}

.hero-banner {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 4px solid rgba(216, 167, 180, 0.35);
    box-shadow: 0 30px 80px rgba(58, 14, 29, 0.55);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.6rem 1.8rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--gold-300);
    line-height: 1.1;
}

.hero-stat-label {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-scroll:hover { color: var(--gold-300); }

.hero-scroll .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.hero-scroll .mouse span {
    width: 4px;
    height: 9px;
    border-radius: var(--radius-full);
    background: var(--gold-400);
    animation: mouse-wheel 1.6s ease infinite;
}

@keyframes mouse-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- Sobre ---------- */

.sobre { background: var(--gradient-cream); }

.sobre-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.sobre-text .lead {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--navy-700);
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

.sobre-text .lead em { color: var(--gold-600); }

.sobre-text p.body {
    color: var(--gray-500);
    margin-bottom: 1.4rem;
}

.objetivo-box {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top: 1.8rem;
    padding: 1.6rem 1.8rem;
    background: linear-gradient(135deg, rgba(91, 26, 46, 0.12), rgba(244, 228, 232, 0.4));
    border: 1px solid rgba(91, 26, 46, 0.35);
    border-left: 5px solid var(--gold-500);
    border-radius: var(--radius-md);
}

.objetivo-box i {
    font-size: 1.8rem;
    color: var(--gold-600);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.objetivo-box h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 0.3rem;
}

.objetivo-box p {
    color: var(--gray-700);
    font-size: 0.94rem;
}

.sobre-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    perspective: 1200px;
}

/* ---------- Palestrantes ---------- */

.palestrantes {
    background: var(--white);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
    perspective: 1400px;
}

/* ---------- Programação ---------- */

.programacao { overflow: hidden; }

.programacao .section-head { margin-bottom: 3rem; }

/* ---------- FAQ ---------- */

.faq { background: var(--gradient-cream); }

.faq-note {
    text-align: center;
    margin-top: 2.4rem;
    color: var(--gray-500);
    font-size: 0.95rem;
}

.faq-note a {
    color: var(--gold-600);
    font-weight: 700;
    border-bottom: 1px solid rgba(91, 26, 46, 0.4);
    transition: var(--transition);
}

.faq-note a:hover { color: var(--gold-500); }

/* ---------- Contato ---------- */

.contato { background: var(--white); }

.contato-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    perspective: 1400px;
}

.contato-card {
    padding: 2.4rem 1.8rem;
    text-align: center;
}

.contato-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.contato-card:hover .card-icon { transform: translateZ(30px) rotate(-6deg) scale(1.08); }

.contato-card h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 0.5rem;
}

.contato-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.contato-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-600);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
}

.contato-link:hover { gap: 0.9rem; color: var(--gold-500); }

/* ---------- Footer ---------- */

.footer {
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 4.5rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 2.4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
    margin-bottom: 1.2rem;
}

.footer-brand .brand-logo { height: 64px; }

.footer-brand .brand-name { font-size: 1.15rem; }

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-links a i { font-size: 0.6rem; color: var(--gold-500); }

.footer-links a:hover {
    color: var(--gold-300);
    transform: translateX(5px);
}

.footer-event-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.event-info-item i {
    color: var(--gold-500);
    margin-top: 0.25rem;
    width: 18px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(91, 26, 46, 0.3);
    color: var(--gold-300);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-gold);
    color: var(--white);
    transform: translateY(-4px) rotate(6deg);
    box-shadow: var(--shadow-gold);
}

.footer-sponsor {
    display: flex;
    justify-content: center;
    padding: 2.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sponsor-content { text-align: center; }

.sponsor-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1.2rem;
}

.amacentrosul-logo {
    height: 120px;
    width: auto;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid var(--gold-400);
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.amacentrosul-logo:hover { transform: scale(1.06); }

.sponsor-name {
    margin-top: 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-bottom {
    padding: 1.6rem 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.dev-credit { display: inline-flex; align-items: center; gap: 0.35rem; }

.dev-credit a {
    color: var(--gold-400);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.dev-credit a:hover {
    color: var(--gold-300);
    text-decoration: underline;
}
