/* Authority Med - Design System (Refined & Premium) */

:root {
    /* Colors */
    --bg-primary: #070A0C;
    --bg-secondary: #001523;
    --gold-gradient: linear-gradient(91.09deg, #F9C361 4.69%, #E3A062 100.69%);
    --gold-accent: #F9C361;
    --text-pure: #FFFFFF;
    --text-muted: #CCCCCC;
    --border-gold: rgba(249, 195, 97, 0.2);
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-pure);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--text-pure);
    line-height: 1.1;
}

.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; }

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

#main-logo {
    height: 260px; /* Tamanho da logo ainda mais aumentado conforme pedido */
    width: auto;
    margin-bottom: -1.5rem; /* Reduzido para aproximar a informação da logo */
    display: block;
}

.logo-white {
    filter: brightness(0) invert(1);
    mix-blend-mode: screen;
}

/* Hero Section (Reference Match) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
    padding: 0 0 8rem 0; /* Topo zerado, base com respiro generoso antes do divisor */
}

.hero-content {
    max-width: 42vw; /* Ajustado para evitar sobreposição com o rosto da esquerda */
    z-index: 2;
    margin: 0;
    text-align: left;
    position: relative;
}

.hero-container {
    max-width: 1300px; /* Framing elegante que dá mais respiro às bordas laterais */
    width: 100%;
    position: relative;
    z-index: 2; /* Garante que fique acima da imagem de fundo */
}

@media (min-width: 1400px) {
    .hero-content {
        max-width: 600px; /* Ajustado para evitar sobreposição com o rosto da esquerda */
    }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.5;
}

/* Section Backgrounds Refined */
section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-accent), transparent);
    opacity: 0.3;
}

.section-abstract::before,
.section-leadership::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15; /* Lowered opacity for better readability */
    z-index: 0;
}

.section-abstract::before {
    background-image: url('images/bg_abstract.png');
}

.section-leadership::before {
    background-image: url('images/bg_leadership.png');
}

.container {
    position: relative;
    z-index: 1;
}


.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%; /* Expandido para garantir o cálculo perfeito de proporção na tela toda */
    background-image: url('images/banner3.png');
    background-size: auto 88%; /* Reduzida em 20% conforme pedido */
    background-repeat: no-repeat;
    background-position: right top; /* Alinhada ao topo da sessão */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 30%, black 60%); /* Fade super suave */
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 30%, black 60%);
    z-index: 1;
    opacity: 1;
    pointer-events: none; /* Impede que a imagem bloqueie os cliques no botão e texto */
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 12%, transparent 35%);
    pointer-events: none;
}

/* Cards & Premium Hover Effects */
.hollow-card {
    border: 1px solid var(--border-gold);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.hollow-card:hover {
    border-color: var(--gold-accent);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(249, 195, 97, 0.15);
}

/* Typography & Utilities */
.gradient-gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 5rem;
}

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

/* Animations (Reveal on Scroll) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Icons & Accents */
[data-lucide] {
    stroke-width: 1.5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(249, 195, 97, 0.4));
}

.hollow-card:hover [data-lucide] {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(249, 195, 97, 0.8));
}

.name-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    transition: 0.3s ease;
}

.name-item:hover {
    background: rgba(249, 195, 97, 0.1);
    border-color: var(--gold-accent);
}

.journey-list {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.journey-list::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-accent), transparent);
    opacity: 0.3;
}

.journey-item {
    position: relative;
    padding: 2rem 0;
}

.journey-number {
    font-size: 3rem;
    color: var(--gold-accent);
    opacity: 1;
    text-shadow: 0 0 15px rgba(249, 195, 97, 0.3);
    margin-right: 3rem;
    min-width: 80px;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Founders Grid Refined */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.founder-card {
    position: relative;
    overflow: hidden;
    height: 500px;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    background: #000;
}

.founder-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
    transition: 0.6s ease;
}

.founder-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(to top, #000 40%, transparent);
    text-align: center;
}

.founder-card:hover img {
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1);
}

.founder-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 1px solid transparent;
    transition: 0.4s;
    pointer-events: none;
}

.founder-card:hover::after {
    border-color: var(--gold-accent);
}

/* Speaker Gallery Section Refined */
.speaker-card {
    position: relative;
    height: 650px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: #000;
}

.speaker-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.85);
    transition: all 0.8s ease;
}

.speaker-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 2;
    opacity: 0.8;
}

.speaker-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--gold-accent);
    box-shadow: 0 30px 60px rgba(249, 195, 97, 0.2);
}

.speaker-card:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.08);
}

.speaker-badge {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(249, 195, 97, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.4s ease;
}

.speaker-card:hover .speaker-badge {
    opacity: 1;
    bottom: 2.5rem;
}

.speaker-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(249, 195, 97, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.speaker-card:hover::after {
    opacity: 1;
}

/* Methodology Letters */
.mentor-letter {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-serif);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    display: block;
    margin-bottom: 1rem;
    pointer-events: none;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 2rem; }
    .hero-image { width: 70%; right: -5%; }
}

@media (max-width: 992px) {
    .hero-image { position: relative; width: 100%; height: 500px; right: 0; mask-image: none; -webkit-mask-image: none; margin-top: 4rem; opacity: 1; background-image: url('images/heromobile.png'); background-size: contain; }
    .hero { flex-direction: column; padding: 40px 0 60px; text-align: center; }
    .hero-content { max-width: 100%; text-align: center; }
    #main-logo { margin-left: auto; margin-right: auto; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .speaker-card { height: 500px; }
    
    /* Manifesto Mobile */
    .manifesto-wrapper { grid-template-columns: 1fr !important; }
    .manifesto-image-container { min-height: 400px !important; }
    .manifesto-overlay { width: 100% !important; height: 30% !important; top: auto !important; bottom: 0; background: linear-gradient(to top, #000, transparent) !important; }
    .manifesto-content-container { padding: 4rem 2rem !important; }
    .manifesto-content-container h3 { font-size: 2rem !important; }
}

/* CTA Button Styles */
.btn-premium {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    margin-top: 2rem;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 195, 97, 0.3);
}

.btn-premium:hover::before {
    left: 100%;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(7, 10, 12, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gold);
}

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

.header-logo {
    height: 40px;
    width: auto;
    transition: 0.3s;
}

.btn-premium-small {
    padding: 0.8rem 1.8rem;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

.btn-premium-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 195, 97, 0.3);
}

/* Modules Section Refined */
.modules-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.phase-header {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin: 4rem 0 2rem;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 1rem;
    display: block;
}

.module-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.module-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
}

.module-header:hover {
    background: rgba(249, 195, 97, 0.1);
}

.module-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-right: 2rem;
    opacity: 0.7;
}

.module-header h4 {
    font-size: 1.4rem;
    flex-grow: 1;
}

.module-icon {
    color: var(--gold-accent);
    transition: 0.4s;
}

.module-content {
    padding: 0 2rem 2rem;
    display: none; /* Controlled by JS toggle */
    border-top: 1px solid rgba(249, 195, 97, 0.1);
    padding-top: 2rem;
}

.module-card.active .module-content {
    display: block;
}

.module-card.active .module-icon {
    transform: rotate(180deg);
}

.module-objective {
    font-size: 1.1rem;
    color: var(--text-pure);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold-accent);
}

.module-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.module-inner-grid h5 {
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.module-inner-grid ul {
    list-style: none;
}

.module-inner-grid ul li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
}

.module-inner-grid ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
}

.module-results {
    background: rgba(249, 195, 97, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--gold-accent);
    border: 1px dashed var(--border-gold);
}

@media (max-width: 768px) {
    .module-inner-grid { grid-template-columns: 1fr; gap: 2rem; }
    .phase-header { font-size: 1.8rem; }
    .module-header h4 { font-size: 1.2rem; }
}

/* Responsive */
