/* Custom properties - Clean/Flame Aesthetic */
:root {
    --bg: #FDFCF8;
    --ink: #2C2A26;
    --accent: #E26D23; /* Chama orange/gold */
    --soft-gray: #E8E6E1;
    --serif: 'Georgia', serif;
    --sans: 'Helvetica Neue', Arial, sans-serif;
    
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.8s ease-in-out;
}

body.cosmic-mode {
    --bg: #0A0A0C; /* Deep space */
    --ink: #FDFCF8; /* Starlight */
    --soft-gray: #1E1E24;
    --accent: #B08D57; /* Dourado */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    line-height: 1.6;
    background-color: var(--bg);
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
}

p {
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--ink); }
.text-gold { color: var(--accent); }
.text-dark { color: var(--ink); }
.font-bold { font-weight: 600; }
.text-large { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* Layout utilities */
.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 40px;
}

.max-w-m { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--soft-gray);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.img-tall {
    height: 500px;
}

.bg-image-section {
    position: relative;
    background-image: url('https://vossoisdeuses.com.br/imagens/fundo-site-vos-sois-deuses.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 0;
    border-bottom: none;
}

.bg-image-section .section-title {
    color: #ffffff;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(44, 42, 38, 0.88); /* Matches ink but translucent */
}

.content-relative {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 32px;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    color: var(--ink);
}

.bg-dark { background-color: var(--bg); color: var(--ink); }
.bg-light { background-color: #F4F2EE; }
.bg-gold { background-color: var(--bg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #c45b1d;
}

.btn-outline {
    background-color: transparent;
    color: inherit;
    border: none;
    border-bottom: 1px solid currentColor;
    padding: 5px 0;
    margin: 10px 35px;
}

.btn-whatsapp {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    margin: 10px;
}

.btn-whatsapp:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(226, 109, 35, 0.4);
}

.btn-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-dark {
    background-color: var(--ink);
    color: white;
    border: none;
}

.btn-dark:hover {
    background-color: var(--accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background-color: var(--bg);
    border-bottom: 1px solid var(--soft-gray);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: transform var(--transition-normal);
}

.header.scrolled .logo img { 
    transform: scale(0.9);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--ink);
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-menu a:hover {
    color: var(--accent);
}

.social-nav {
    display: flex;
    gap: 15px;
}

.social-nav a {
    color: var(--ink);
    font-size: 16px;
}

.social-nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background-image: url('https://vossoisdeuses.com.br/imagens/fundo-site-vos-sois-deuses.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(20, 15, 10, 0.7);
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 64px);
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 20px;
    letter-spacing: normal;
}

.hero-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Purpose Cards */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.purpose-card {
    background-color: var(--bg);
    border: none;
    padding: 0;
    border-radius: 0;
    text-align: left;
    transition: transform var(--transition-normal);
}

.purpose-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.purpose-icon {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.purpose-card h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: var(--sans);
}

.purpose-card p {
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    line-height: 1.4;
    color: var(--ink);
}

/* Philosophy */
.quote {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink);
    font-style: italic;
    margin: 40px 0;
    padding: 0;
    position: relative;
    text-align: center;
}

/* Hosts */
.hosts-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    border-top: 1px solid var(--soft-gray);
    padding-top: 40px;
}

.host-card {
    text-align: center;
    font-size: 13px;
}

.host-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border: 3px solid var(--accent); /* subtle golden touch to frame the larger image */
    border-radius: 50%;
    display: block;
    object-fit: cover;
    object-position: center 15%; /* perfectly centers faces slightly below top edge */
    filter: sepia(0.2) grayscale(0.2); /* reduced grayscale so the larger faces feel alive */
    transition: filter var(--transition-normal), transform var(--transition-normal);
}

.host-img:hover {
    filter: sepia(0) grayscale(0);
    transform: scale(1.05);
}

.host-card h3 {
    font-size: 13px;
    margin-bottom: 5px;
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.host-nickname {
    color: #888;
    font-family: var(--sans);
    font-size: 11px;
}

/* Footer */
.footer {
    background-color: var(--bg);
    color: #888;
    padding: 40px 0;
    border-top: 1px solid var(--soft-gray);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0;
}

.footer-logo h2 {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #888;
    font-size: 16px;
}

.footer-social a:hover {
    color: var(--ink);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--soft-gray);
    font-size: 11px;
    display: block;
    width: 100%;
    margin-top: 20px;
    line-height: 1.8;
}

.footer-bottom a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        padding: 1.5rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-normal);
        border-bottom: 1px solid var(--soft-gray);
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-nav {
        display: none; 
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hosts-grid {
        gap: 2rem;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   INTERACTIVE FEATURES (Cosmic Mode, Spark Canvas, Oracle, Animations)
   ========================================================================= */

/* Nav button resets */
.nav-icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--ink);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-icon-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Canvas overlay */
#spark-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Crucial so it doesn't block clicks */
    z-index: 9999;
}

/* Breathing Button Animation */
@keyframes breathe {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(226, 109, 35, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 15px 5px rgba(226, 109, 35, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(226, 109, 35, 0); }
}

.breathe-btn {
    animation: breathe 4s infinite ease-in-out;
}

/* Fade In Sections on Scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Float Oracle Button */
.floating-oracle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg);
    border: 1px solid var(--accent);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.floating-oracle-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.floating-oracle-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(226, 109, 35, 0.2);
}

/* Oracle Modal */
.oracle-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    background: rgba(253, 252, 248, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--soft-gray);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 25px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

body.cosmic-mode .oracle-modal {
    background: rgba(10, 10, 12, 0.85);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.oracle-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.oracle-content {
    position: relative;
}

.oracle-close {
    position: absolute;
    top: -15px;
    right: -10px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.oracle-close:hover {
    color: var(--accent);
}

.oracle-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
}

.oracle-quote {
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
}
