/* ===================================
   Templo de Umbanda Guardião da Luz
   Design Minimalista Espiritual
   =================================== */

/* CSS Custom Properties */
:root {
    /* Nova Paleta Minimalista */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-accent: #F8F5F0;
    --bg-dark: #1A1A2E;

    --text-primary: #1A1A2E;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-light: #FFFFFF;

    --accent-gold: #C9A227;
    --accent-gold-hover: #B8922A;
    --accent-gold-light: #F5EFE0;
    --accent-gold-border: #E8DCC4;

    --border-light: #E8E8E8;
    --border-medium: #D0D0D0;

    /* Cores dos Orixás (como acentos) */
    --orixa-oxala: #FFFFFF;
    --orixa-oxum: #D4AF37;
    --orixa-iemanja: #5B9BD5;
    --orixa-ogum: #1E3A5F;
    --orixa-oxossi: #2E7D32;
    --orixa-xango: #8B4513;
    --orixa-iansa: #C62828;
    --orixa-nana: #6A1B9A;
    --orixa-obaluae: #F5F5DC;
    --orixa-omolu: #212121;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing - Aumentado para mais respiro */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows - Ultra sutis */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Header */
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar - Discreto e Integrado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.3);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 39, 0.5);
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 39, 0.3) transparent;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: var(--space-sm);
}

h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn--primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn--primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

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

.btn--light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn--light:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn--outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn--outline:hover {
    background: #FFFFFF;
    color: var(--text-primary);
}

/* ===================================
   Page Header - Navegação entre páginas
   =================================== */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.page-header__container {
    display: flex;
    gap: 12px;
}

.page-header__btn {
    padding: 10px 24px;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.page-header__btn:hover {
    color: var(--accent-gold);
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.3);
}

.page-header__btn.active {
    background: rgba(201, 162, 39, 0.2);
    color: var(--accent-gold);
    border-color: rgba(201, 162, 39, 0.4);
}

/* Ajuste do body para compensar o page-header fixo */
body.has-page-header {
    padding-top: 56px;
}

/* Ajuste do sidebar e toggle quando page-header presente */
body.has-page-header .sidebar {
    top: 56px;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
}

body.has-page-header .sidebar__toggle {
    top: calc(56px + var(--space-md));
}

/* Responsivo para o page-header */
@media (max-width: 768px) {
    .page-header {
        padding: 8px 12px;
    }

    .page-header__btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    body.has-page-header {
        padding-top: 52px;
    }

    body.has-page-header .sidebar {
        top: 52px;
        height: calc(100vh - 52px);
        height: calc(100dvh - 52px);
    }

    body.has-page-header .sidebar__toggle {
        top: calc(52px + var(--space-sm));
    }
}

@media (max-width: 480px) {
    .page-header__container {
        gap: 8px;
    }

    .page-header__btn {
        padding: 6px 14px;
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    body.has-page-header {
        padding-top: 48px;
    }

    body.has-page-header .sidebar {
        top: 48px;
        height: calc(100vh - 48px);
        height: calc(100dvh - 48px);
    }

    body.has-page-header .sidebar__toggle {
        top: calc(48px + var(--space-xs));
    }
}

/* ===================================
   Sidebar Navigation
   =================================== */
:root {
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-dark);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform var(--transition-normal), width var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar__header {
    padding: var(--space-lg) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar__logo-img {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
}

.sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md) 0;
    /* Scrollbar no limite direito */
    direction: rtl;
}

/* Scrollbar do menu na borda direita */
.sidebar__nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar__nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar__nav::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.4);
    border-radius: 4px;
}

.sidebar__nav::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 39, 0.6);
}

.sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    direction: ltr;
}

.sidebar__item {
    margin: 2px 0;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 400;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    text-decoration: none;
    cursor: pointer;
    min-height: 44px;
}

.sidebar__link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-left-color: rgba(201, 162, 39, 0.5);
}

.sidebar__link.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

.sidebar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    pointer-events: none;
}

.sidebar__icon svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.sidebar__text {
    white-space: nowrap;
    pointer-events: none;
}

/* Sidebar Overlay */
.sidebar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.sidebar__overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Toggle Button */
.sidebar__toggle {
    position: fixed;
    top: var(--space-md);
    left: var(--space-md);
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.sidebar__toggle:hover {
    background: rgba(26, 26, 46, 0.9);
    border-color: rgba(201, 162, 39, 0.4);
}

.sidebar__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(201, 162, 39, 0.7);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.sidebar__toggle:hover span {
    background: var(--accent-gold);
}

.sidebar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop: Sidebar com controle manual */
@media (min-width: 1100px) {
    .sidebar {
        transform: translateX(0);
        width: var(--sidebar-collapsed-width);
    }

    .sidebar.expanded {
        width: var(--sidebar-width);
    }

    /* Logo sempre centralizada e com tamanho fixo */
    .sidebar__header {
        padding: var(--space-md);
    }

    .sidebar__logo-img {
        width: 55px;
        height: 55px;
    }

    .sidebar__text {
        opacity: 0;
        width: 0;
        overflow: hidden;
        transition: opacity var(--transition-fast), width var(--transition-fast);
    }

    .sidebar.expanded .sidebar__text {
        opacity: 1;
        width: auto;
    }

    /* Menu comprimido - ícones centralizados */
    .sidebar__link {
        padding: 12px;
        justify-content: center;
        border-left: none;
        border-radius: var(--radius-md);
        margin: 4px 8px;
        min-width: 44px;
        min-height: 44px;
    }

    .sidebar__link:hover {
        border-left: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar__link.active {
        border-left: none;
        background: rgba(201, 162, 39, 0.25);
        box-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
    }

    /* Menu expandido - estilo original */
    .sidebar.expanded .sidebar__link {
        justify-content: flex-start;
        padding: var(--space-sm) var(--space-lg);
        border-radius: 0;
        margin: 2px 0;
        border-left: 3px solid transparent;
    }

    .sidebar.expanded .sidebar__link:hover {
        border-left-color: rgba(201, 162, 39, 0.5);
        background: rgba(255, 255, 255, 0.05);
    }

    .sidebar.expanded .sidebar__link.active {
        border-left-color: var(--accent-gold);
        background: rgba(201, 162, 39, 0.1);
        box-shadow: none;
    }

    /* Botão toggle visível no desktop */
    .sidebar__toggle {
        display: flex;
        top: var(--space-md);
        left: calc(var(--sidebar-collapsed-width) + var(--space-xs));
        width: 32px;
        height: 32px;
        border-radius: var(--radius-sm);
        transition: left var(--transition-normal), transform var(--transition-normal), background var(--transition-normal);
    }

    .sidebar__toggle span {
        width: 14px;
    }

    .sidebar__toggle.expanded {
        left: calc(var(--sidebar-width) + var(--space-sm));
    }

    .sidebar__overlay {
        display: none;
    }

    /* Ajustar o conteúdo para não ficar atrás do sidebar */
    body {
        padding-left: var(--sidebar-collapsed-width);
        transition: padding-left var(--transition-normal);
    }

    body.sidebar-expanded {
        padding-left: var(--sidebar-width);
    }
}

/* Tablet e Mobile */
@media (max-width: 1099px) {
    .sidebar__toggle {
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(10px);
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 50%, #1A1A2E 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(201, 162, 39, 0.05) 0%, transparent 40%);
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--space-3xl) 0;
    max-width: 700px;
}

.hero__logo {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto var(--space-xl);
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.2);
}

.hero__title {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__title span {
    color: var(--accent-gold);
    display: block;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.1em;
    font-weight: 400;
}

.hero__description {
    max-width: 550px;
    margin: 0 auto var(--space-xl);
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero strong {
    color: var(--accent-gold);
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Pontos Riscados Animados - Efeito Estrelas Piscando */
.hero__pontos {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.ponto {
    position: absolute;
    opacity: 0;
    animation: brilhoPonto 4s ease-in-out infinite;
}

/* Símbolos dos Pontos - Usando borders para criar formas */
.ponto::before,
.ponto::after {
    content: '';
    position: absolute;
    background: var(--accent-gold);
}

/* Ponto 1 - Cruz */
.ponto--1 {
    width: 40px;
    height: 40px;
    top: 8%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 5s;
}
.ponto--1::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.ponto--1::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

/* Ponto 2 - Estrela (triângulo duplo) */
.ponto--2 {
    width: 35px;
    height: 35px;
    top: 25%;
    left: 80%;
    animation-delay: 1.5s;
    animation-duration: 6s;
}
.ponto--2::before {
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-bottom: 28px solid var(--accent-gold);
    background: transparent;
    top: 0;
    left: 0;
}
.ponto--2::after {
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 28px solid var(--accent-gold);
    background: transparent;
    bottom: 0;
    left: 0;
}

/* Ponto 3 - Círculo com cruz */
.ponto--3 {
    width: 45px;
    height: 45px;
    top: 60%;
    left: 10%;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation-delay: 3s;
    animation-duration: 7s;
}
.ponto--3::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.ponto--3::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

/* Ponto 4 - Seta para cima */
.ponto--4 {
    width: 30px;
    height: 45px;
    top: 75%;
    left: 85%;
    animation-delay: 0.8s;
    animation-duration: 5.5s;
}
.ponto--4::before {
    width: 2px;
    height: 30px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.ponto--4::after {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 18px solid var(--accent-gold);
    background: transparent;
    top: 0;
    left: 0;
}

/* Ponto 5 - Tridente */
.ponto--5 {
    width: 35px;
    height: 50px;
    top: 15%;
    left: 50%;
    animation-delay: 2.2s;
    animation-duration: 6.5s;
}
.ponto--5::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.ponto--5::after {
    width: 35px;
    height: 2px;
    top: 0;
}

/* Ponto 6 - Losango */
.ponto--6 {
    width: 30px;
    height: 30px;
    top: 45%;
    left: 90%;
    border: 2px solid var(--accent-gold);
    transform: rotate(45deg);
    animation-delay: 4s;
    animation-duration: 5s;
}
.ponto--6::before,
.ponto--6::after {
    display: none;
}

/* Ponto 7 - Cruz com círculo */
.ponto--7 {
    width: 38px;
    height: 38px;
    top: 85%;
    left: 25%;
    animation-delay: 1s;
    animation-duration: 7.5s;
}
.ponto--7::before {
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    background: transparent;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ponto--7::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Ponto 8 - Estrela de 4 pontas */
.ponto--8 {
    width: 42px;
    height: 42px;
    top: 35%;
    left: 5%;
    animation-delay: 2.8s;
    animation-duration: 6s;
}
.ponto--8::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.ponto--8::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

/* Animação de piscar como estrelas */
@keyframes brilhoPonto {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    15% {
        opacity: 0.12;
        transform: scale(1);
    }
    30% {
        opacity: 0.06;
        transform: scale(0.95);
    }
    45% {
        opacity: 0.15;
        transform: scale(1.05);
    }
    60% {
        opacity: 0.08;
        transform: scale(1);
    }
    75% {
        opacity: 0.1;
        transform: scale(0.98);
    }
    90% {
        opacity: 0.05;
        transform: scale(0.9);
    }
}

/* Pontos menores em mobile */
@media (max-width: 768px) {
    .ponto {
        transform: scale(0.6);
    }
    .ponto--5,
    .ponto--6,
    .ponto--7,
    .ponto--8 {
        display: none;
    }
}

/* Reduzir animações em dispositivos com preferência */
@media (prefers-reduced-motion: reduce) {
    .ponto {
        animation: none;
        opacity: 0.04;
    }
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: var(--space-3xl) 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section--accent {
    background: var(--bg-accent);
}

.section--dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section--dark .section__title {
    color: var(--text-light);
}

.section--dark .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section--dark strong {
    color: var(--accent-gold);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section__title {
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
    margin: var(--space-md) auto 0;
}

.section__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: var(--space-sm);
}

.section__intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

/* ===================================
   Cards - Estilo Minimalista
   =================================== */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--accent-gold-border);
    box-shadow: var(--shadow-md);
}

.card--featured {
    border-color: var(--accent-gold);
    background: var(--accent-gold-light);
}

.card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--accent-gold);
}

.card__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.card__title {
    margin-bottom: var(--space-sm);
}

.card__text {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ===================================
   Sobre Section
   =================================== */
.sobre__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.sobre__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.sobre__card:hover {
    border-color: var(--accent-gold-border);
    transform: translateY(-4px);
}

.sobre__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    color: var(--accent-gold);
}

.sobre__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.sobre__card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.sobre__card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.sobre__estrutura {
    background: var(--bg-dark);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    color: var(--text-light);
}

.sobre__estrutura h3 {
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.sobre__estrutura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.estrutura__item {
    text-align: center;
}

.estrutura__label {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
}

.estrutura__item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Mensagem sobre a Casa */
.sobre__mensagem {
    display: flex;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0.02) 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.mensagem__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mensagem__icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent-gold);
}

.mensagem__content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
}

.mensagem__content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.mensagem__doacoes {
    background: rgba(255, 255, 255, 0.5);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-gold);
}

.mensagem__doacoes h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.mensagem__doacoes p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .sobre__mensagem {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }

    .mensagem__icon {
        margin: 0 auto var(--space-md);
    }

    .mensagem__doacoes {
        border-left: none;
        border-top: 3px solid var(--accent-gold);
        text-align: left;
    }
}

/* ===================================
   Fundamentos Section
   =================================== */
.fundamentos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: var(--space-lg);
}

.fundamento__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-normal);
}

.fundamento__card:hover {
    border-color: var(--accent-gold-border);
}

.fundamento__card--destaque {
    grid-column: 1 / -1;
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--text-light);
}

.fundamento__card--destaque h3 {
    color: var(--accent-gold);
}

.fundamento__card--destaque p {
    color: rgba(255, 255, 255, 0.85);
}

.fundamento__card--destaque strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.fundamento__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent-gold-border);
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    opacity: 0.5;
}

.fundamento__card--destaque .fundamento__number {
    color: var(--accent-gold);
    opacity: 0.3;
}

.fundamento__card h3 {
    margin-bottom: var(--space-sm);
    padding-right: 50px;
}

.fundamento__card p {
    margin-bottom: 0;
}

/* Guias Básicas */
.guias-basicas {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.guia-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.guia-cor {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.guia-info {
    display: flex;
    flex-direction: column;
}

.guia-info strong {
    font-size: 0.9rem;
}

.guia-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===================================
   Tronos Section
   =================================== */
.tronos__intro {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
    font-size: 1.05rem;
    line-height: 2;
}

.tronos__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.trono__card {
    flex: 0 1 320px;
    max-width: 400px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.trono__card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.trono__header {
    background: var(--bg-accent);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.trono__numero {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: var(--bg-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-gold-border);
}

.trono__nome {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

.trono__content {
    padding: var(--space-lg);
}

.trono__descricao {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.trono__orixas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.trono__orixa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.orixa__genero {
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.orixa__nome {
    color: var(--text-primary);
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
}

.orixa__cor {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    margin-top: 4px;
    border: 1px solid var(--border-light);
}

.trono__atributos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.atributo {
    background: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    padding: 4px var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===================================
   Orixás Section
   =================================== */
.orixas__filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter__btn {
    padding: var(--space-xs) var(--space-lg);
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter__btn:hover,
.filter__btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

.orixas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: var(--space-lg);
}

.orixa__card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.orixa__card:hover {
    border-color: var(--accent-gold-border);
    box-shadow: var(--shadow-md);
}

.orixa__card.hidden {
    display: none;
}

.orixa__header {
    padding: var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.orixa__trono {
    display: inline-block;
    background: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    padding: 4px var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
}

.orixa__header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.orixa__titulo {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.orixa__body {
    padding: var(--space-lg);
}

.orixa__descricao {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.orixa__info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.orixa__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info__label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info__cores {
    display: flex;
    gap: 6px;
}

.cor {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
}

.info__vela {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.vela {
    width: 10px;
    height: 26px;
    border-radius: 2px 2px 0 0;
    position: relative;
    border: 1px solid var(--border-light);
}

.vela::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: linear-gradient(to top, #ff6b00, #ffcc00);
    border-radius: 50% 50% 20% 20%;
}

.info__valor {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.orixa__dominios {
    margin-bottom: var(--space-md);
}

.dominios__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    border: 1px solid var(--border-light);
}

.orixa__saudacao {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.orixa__saudacao strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-gold);
    letter-spacing: 0.02em;
}

/* ===================================
   Linhas de Trabalho
   =================================== */
.guias__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.linha__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.linha__card:hover {
    border-color: var(--accent-gold-border);
    transform: translateY(-4px);
}

.linha__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.linha__icon svg {
    width: 100%;
    height: 100%;
}

.linha__icon.esquerda {
    background: linear-gradient(135deg, #2D2D44, #1A1A2E);
    color: #C62828;
}

.linha__icon.pretos-velhos {
    background: linear-gradient(135deg, #F5F5F5, #E0E0E0);
    color: #5D4037;
}

.linha__icon.caboclos {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
}

.linha__icon.criancas {
    background: linear-gradient(135deg, #F48FB1, #EC407A);
    color: white;
}

.linha__icon.baianos {
    background: linear-gradient(135deg, #FFD54F, #FFA000);
    color: #5D4037;
}

.linha__icon.marinheiros {
    background: linear-gradient(135deg, #42A5F5, #1565C0);
    color: white;
}

.linha__icon.ciganos {
    background: linear-gradient(135deg, #7B1FA2, #4A148C);
    color: #FFD700;
}

.linha__icon.boiadeiros {
    background: linear-gradient(135deg, #8D6E63, #5D4037);
    color: white;
}

.linha__card h3 {
    margin-bottom: var(--space-sm);
}

.linha__card p {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.linha__info {
    background: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--border-light);
}

.linha__info .info__label {
    display: block;
    margin-bottom: 4px;
}

.linha__gira {
    background: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===================================
   Funcionamento Section
   =================================== */
.funcionamento__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.dia__card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dia__card--destaque {
    border: 2px solid var(--accent-gold);
}

.dia__header {
    background: var(--bg-dark);
    padding: var(--space-lg);
    text-align: center;
}

.dia__nome {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.dia__titulo {
    display: block;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
}

.dia__body {
    padding: var(--space-xl);
}

.dia__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--space-md);
    color: var(--accent-gold);
}

.dia__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.dia__descricao {
    text-align: center;
    margin-bottom: var(--space-md);
}

.dia__horarios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-gold-border);
}

.horario__item {
    text-align: center;
}

.horario__label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.horario__valor {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.dia__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.info__item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.info__item .info__valor.destacado {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 600;
}

.giras__calendario {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.gira__item {
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-gold);
}

.gira__periodo {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gira__tipo {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.gira__item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.funcionamento__aviso {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--accent-gold-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-gold-border);
}

.aviso__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--accent-gold);
}

.aviso__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.aviso__content h4 {
    color: var(--accent-gold-hover);
    margin-bottom: var(--space-xs);
}

.aviso__content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===================================
   Sacerdotes Section
   =================================== */
.sacerdotes__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .sacerdotes__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.sacerdotes__foto {
    position: relative;
}

.sacerdotes__foto img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--accent-gold);
}

@media (max-width: 768px) {
    .sacerdotes__foto img {
        margin: 0 auto;
    }
}

.sacerdotes__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.sacerdote__item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.sacerdote__item:hover {
    border-color: var(--accent-gold-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sacerdotes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.sacerdote__card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.sacerdote__card:hover {
    border-color: var(--accent-gold-border);
}

.sacerdote__avatar {
    margin-bottom: var(--space-md);
}

.avatar__placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--accent-gold-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    border: 2px solid var(--accent-gold-border);
}

.avatar__placeholder svg {
    width: 100%;
    height: 100%;
    color: var(--accent-gold);
    stroke-width: 1.5;
}

.sacerdote__nome {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.sacerdote__titulo {
    display: inline-block;
    background: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    padding: 4px var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.sacerdote__descricao {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: var(--accent-gold-light);
    text-align: center;
    padding: var(--space-2xl) 0;
}

.cta h2 {
    margin-bottom: var(--space-sm);
}

.cta p {
    max-width: 550px;
    margin: 0 auto var(--space-lg);
    font-size: 1.05rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__brand {
    text-align: center;
}

.footer__logo {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
    border: 2px solid var(--accent-gold);
}

.footer__brand h3 {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer__lema {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent-gold);
    letter-spacing: 0.02em;
    margin-top: var(--space-xs);
}

.footer__links h4,
.footer__info h4 {
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.footer strong {
    color: var(--accent-gold);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--accent-gold);
}

.footer__info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
}

.footer__sarava {
    color: var(--accent-gold) !important;
    font-family: var(--font-heading);
    font-size: 0.95rem !important;
}

/* ===================================
   Nova Seção: História
   =================================== */
.historia__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.historia__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent-gold-border);
}

.timeline__item {
    position: relative;
    padding: var(--space-lg);
    width: 50%;
}

.timeline__item:nth-child(odd) {
    margin-left: 50%;
    padding-left: var(--space-xl);
}

.timeline__item:nth-child(even) {
    text-align: right;
    padding-right: var(--space-xl);
}

.timeline__item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 50%;
    top: var(--space-lg);
}

.timeline__item:nth-child(odd)::before {
    left: -8px;
}

.timeline__item:nth-child(even)::before {
    right: -8px;
}

.timeline__date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-xs);
}

.timeline__title {
    margin-bottom: var(--space-xs);
}

.timeline__text {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   Nova Seção: Hierarquia
   =================================== */
.hierarquia__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.hierarquia__card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.hierarquia__card:hover {
    border-color: var(--accent-gold-border);
}

.hierarquia__nivel {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.hierarquia__titulo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-xs);
}

.hierarquia__nome {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.hierarquia__descricao {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   Nova Seção: Elementos Rituais
   =================================== */
.elementos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.elemento__card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.elemento__card:hover {
    border-color: var(--accent-gold-border);
}

.elemento__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.elemento__icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gold-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.elemento__nome {
    margin: 0;
}

.elemento__descricao {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.elemento__uso {
    background: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-gold);
}

.elemento__uso strong {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-gold-hover);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.elemento__uso p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   Nova Seção: Glossário
   =================================== */
.glossario__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.glossario__item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    transition: all var(--transition-normal);
}

.glossario__item:hover {
    border-color: var(--accent-gold-border);
}

.glossario__termo {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.glossario__definicao {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
    .timeline__item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: var(--space-xl) !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .historia__timeline::before {
        left: 0;
    }

    .timeline__item::before {
        left: -8px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    /* Hero mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero__content {
        padding: var(--space-xl) var(--space-md);
    }

    .hero__logo {
        width: 100px;
        height: 100px;
        margin-bottom: var(--space-lg);
    }

    .hero__title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--space-sm);
    }

    .hero__subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }

    .hero__description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: var(--space-lg);
        padding: 0 var(--space-sm);
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: var(--space-sm) var(--space-lg);
    }

    .fundamentos__grid {
        grid-template-columns: 1fr;
    }

    .fundamento__card--destaque {
        grid-column: 1;
    }

    .funcionamento__grid {
        grid-template-columns: 1fr;
    }

    .dia__info {
        grid-template-columns: 1fr;
    }

    .funcionamento__aviso {
        flex-direction: column;
        text-align: center;
    }

    .aviso__icon {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    /* Grids intermediários */
    .grid--2 {
        grid-template-columns: 1fr;
    }

    /* Estrutura espiritual */
    .estrutura__grid {
        grid-template-columns: 1fr;
    }

    /* Cards menores */
    .fundamento__card,
    .teologia__card,
    .ritual__card,
    .etica__card {
        padding: var(--space-lg);
    }

    /* Sacerdotes content */
    .sacerdotes__content {
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    /* Hero pequeno */
    .hero__content {
        padding: var(--space-lg) var(--space-sm);
    }

    .hero__logo {
        width: 85px;
        height: 85px;
        margin-bottom: var(--space-md);
        border-width: 3px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__title span {
        font-size: 1.35rem;
    }

    .hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: var(--space-xs);
    }

    .hero__description {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0;
    }

    .hero__buttons {
        width: 100%;
        padding: 0 var(--space-sm);
    }

    .btn {
        font-size: 0.9rem;
        padding: var(--space-sm) var(--space-md);
    }

    .trono__orixas {
        grid-template-columns: 1fr;
    }

    .orixa__info-grid {
        grid-template-columns: 1fr;
    }

    /* Grids fixos */
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    /* Horários em coluna única */
    .dia__horarios {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Títulos menores */
    .section__title {
        font-size: 1.35rem;
    }

    .section__subtitle {
        font-size: 0.9rem;
    }

    /* Principios grid */
    .principios__grid {
        grid-template-columns: 1fr;
    }

    .principio-card {
        flex-direction: column;
        text-align: center;
    }

    .principio-card__icon {
        margin: 0 auto var(--space-md);
    }
}

@media (max-width: 360px) {
    .hero__logo {
        width: 75px;
        height: 75px;
    }

    .hero__title {
        font-size: 1.35rem;
    }

    .hero__title span {
        font-size: 1.2rem;
    }

    .hero__subtitle {
        font-size: 0.8rem;
    }

    .hero__description {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.85rem;
        max-width: 100%;
    }
}

/* ===================================
   Teologia Section
   =================================== */
.teologia__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--space-lg);
}

.teologia__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.teologia__card--destaque {
    grid-column: span 2;
    background: var(--bg-accent);
    border-color: var(--accent-gold-light);
}

@media (max-width: 768px) {
    .teologia__card--destaque {
        grid-column: span 1;
    }
}

.teologia__card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.teologia__subtitulo {
    display: block;
    font-size: 0.875rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
}

/* Princípios Fundamentais - Design Moderno */
.principios-section {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.02) 0%, rgba(212, 175, 55, 0.04) 100%);
    border-radius: var(--radius-lg);
}

.principios__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.principios__subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.principios__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.principio__card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.principio__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.principio__icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principio__icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.principio__content {
    flex: 1;
}

.principio__numero {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-bottom: var(--space-xs);
}

.principio__nome {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin: var(--space-xs) 0;
    font-weight: 600;
}

.principio__descricao {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   Linha dos Ciganos Section
   =================================== */
.ciganos {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF5F5 50%, #F5F0FF 100%);
}

/* Santa Sara Kali */
.ciganos__santa-sara {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--border-light);
}

.santa-sara__header {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: var(--text-light);
    padding: var(--space-xl);
    text-align: center;
}

.santa-sara__nome {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0 0 var(--space-xs);
    color: #FFD700;
}

.santa-sara__titulo {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-xs);
}

.santa-sara__data {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-top: var(--space-sm);
}

.santa-sara__content {
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: var(--space-xl);
}

.santa-sara__historia h4,
.santa-sara__culto h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #8B0000;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid #DC143C33;
}

.santa-sara__historia p,
.santa-sara__culto p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    text-align: justify;
}

/* Ciganos na Umbanda */
.ciganos__linha {
    margin-bottom: var(--space-2xl);
}

.linha__titulo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.linha__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-lg);
}

.linha__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.linha__card:hover {
    border-color: #DC143C;
    box-shadow: var(--shadow-md);
}

.linha__card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #8B0000;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid #DC143C22;
}

.linha__card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.linha__lista {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
}

.linha__lista li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.linha__lista li:last-child {
    border-bottom: none;
}

.linha__lista strong {
    color: #8B0000;
}

/* Cores dos Ciganos */
.ciganos__cores {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.cores__titulo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-md);
}

.cores__intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.cores__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: var(--space-md);
}

.cor__card {
    background: var(--bg-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.cor__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cor__amostra {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--cor-cigana);
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cor__amostra--sete {
    background: linear-gradient(135deg,
        #DC143C 0%,
        #FF8C00 16%,
        #FFD700 32%,
        #228B22 48%,
        #4169E1 64%,
        #FF69B4 80%,
        #FFFFFF 100%);
}

.cor__card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.cor__card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cores__alerta {
    margin-top: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: #FFF3CD;
    border: 1px solid #FFCC00;
    border-radius: var(--radius-md);
    text-align: center;
    color: #856404;
}

.cores__alerta strong {
    color: #664d03;
}

/* Responsivo Ciganos */
@media (max-width: 768px) {
    .santa-sara__nome {
        font-size: 1.5rem;
    }

    .santa-sara__content {
        padding: var(--space-lg);
    }

    .santa-sara__historia p,
    .santa-sara__culto p {
        text-align: left;
    }

    .linha__titulo,
    .cores__titulo {
        font-size: 1.5rem;
    }

    .cores__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cores__grid {
        grid-template-columns: 1fr;
    }

    .santa-sara__header {
        padding: var(--space-lg);
    }
}

/* ===================================
   Cronologia das Giras Section
   =================================== */
.cronologia {
    background: var(--bg-secondary);
}

/* Chegada ao Terreiro */
.cronologia__chegada {
    background: linear-gradient(135deg, #F8F5F0 0%, #FFFFFF 100%);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.chegada__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chegada__icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.chegada__content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.chegada__intro {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
}

.chegada__passos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--space-md);
}

.chegada__passo {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.chegada__passo:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-sm);
}

.passo__numero {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--accent-gold);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.passo__content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.passo__content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Seletor de Giras */
.cronologia__seletor {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.gira__btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: 2px solid var(--border-light);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gira__btn:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.gira__btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}

.gira__btn[data-gira="esquerda"].active {
    background: #8B0000;
    border-color: #8B0000;
}

.gira__btn-icon {
    font-size: 1.3rem;
}

/* Container das Giras */
.gira__container {
    display: none;
}

.gira__container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Header da Gira */
.gira__header {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.gira__header--direita {
    background: linear-gradient(135deg, #C9A227 0%, #D4AF37 50%, #E8C547 100%);
    color: #1a1a2e;
}

.gira__header--esquerda {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #8B0000 100%);
    color: #FFFFFF;
}

.gira__header--esquerda h3,
.gira__header--esquerda p {
    color: #FFFFFF;
}

.gira__header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.gira__header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Intro Esquerda */
.gira__intro-esquerda {
    background: rgba(139, 0, 0, 0.05);
    border-left: 4px solid #8B0000;
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.gira__intro-esquerda p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Timeline */
.gira__timeline {
    position: relative;
    padding-left: 60px;
}

.gira__timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--accent-gold-light));
    border-radius: 3px;
}

.gira__timeline--esquerda::before {
    background: linear-gradient(to bottom, #8B0000, #DC143C);
}

.timeline__item {
    position: relative;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.timeline__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline__marker--esquerda {
    border-color: #8B0000;
}

.timeline__marker--final {
    background: var(--accent-gold);
}

.timeline__marker--esquerda.timeline__marker--final {
    background: #8B0000;
    border-color: #8B0000;
}

.marker__numero {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.timeline__marker--final .marker__numero {
    color: white;
}

.timeline__marker--esquerda .marker__numero {
    color: #8B0000;
}

.timeline__marker--esquerda.timeline__marker--final .marker__numero {
    color: white;
}

.timeline__content {
    background: var(--bg-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.timeline__content:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.gira__timeline--esquerda .timeline__content:hover {
    border-color: #DC143C;
}

.timeline__content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.timeline__content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.timeline__content p:last-child {
    margin-bottom: 0;
}

.timeline__detalhe {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline__detalhe--destaque {
    background: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    font-weight: 500;
}

.timeline__detalhe--esquerda {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
}

.timeline__detalhe--orixa {
    background: var(--orixa-cor);
    color: var(--orixa-texto);
    border: 1px solid var(--border-light);
}

.detalhe__icon {
    font-size: 1rem;
}

/* Letra do Ponto */
.timeline__letra {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

.timeline__letra p {
    color: #FFD700;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

/* Observações */
.gira__observacao {
    background: rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
}

.gira__observacao h4 {
    font-family: var(--font-heading);
    color: #8B0000;
    margin-bottom: var(--space-md);
}

.gira__observacao ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gira__observacao li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
    padding-left: var(--space-lg);
    position: relative;
}

.gira__observacao li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Botão Voltar Gira */
.gira__voltar {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.btn--voltar {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-accent);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn--voltar:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    transform: translateX(-4px);
}

.btn--voltar svg {
    transition: transform var(--transition-fast);
}

.btn--voltar:hover svg {
    transform: translateX(-3px);
}

/* Esquerda style */
.gira--esquerda .gira__voltar {
    border-top-color: rgba(139, 0, 0, 0.2);
}

.gira--esquerda .btn--voltar {
    background: rgba(139, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.3);
    color: #8B0000;
}

.gira--esquerda .btn--voltar:hover {
    background: #8B0000;
    color: #FFFFFF;
    border-color: #8B0000;
}

/* Animation for highlight when returning */
@keyframes pulseHighlight {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0);
    }
}

/* Responsivo Cronologia */
@media (max-width: 768px) {
    .cronologia__chegada {
        flex-direction: column;
        text-align: center;
    }

    .chegada__icon {
        margin: 0 auto;
    }

    .cronologia__seletor {
        flex-direction: column;
        align-items: center;
    }

    .gira__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .gira__timeline {
        padding-left: 50px;
    }

    .gira__timeline::before {
        left: 18px;
    }

    .timeline__marker {
        left: -50px;
        width: 40px;
        height: 40px;
    }

    .marker__numero {
        font-size: 0.9rem;
    }

    .gira__header h3 {
        font-size: 1.4rem;
    }

    .gira__voltar {
        margin-top: var(--space-lg);
        padding-top: var(--space-md);
    }

    .btn--voltar {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: var(--space-md) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .gira__timeline {
        padding-left: 40px;
    }

    .gira__timeline::before {
        left: 14px;
    }

    .timeline__marker {
        left: -40px;
        width: 32px;
        height: 32px;
    }

    .marker__numero {
        font-size: 0.8rem;
    }

    .timeline__content {
        padding: var(--space-md);
    }

    .timeline__content h4 {
        font-size: 1rem;
    }

    .timeline__detalhe {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
}

/* ===================================
   Rituais Section
   =================================== */
.rituais__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-lg);
}

.ritual__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.ritual__card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent-gold-light);
}

.ritual__lista {
    list-style: none;
    padding: 0;
    margin-top: var(--space-md);
}

.ritual__lista li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.ritual__lista li:last-child {
    border-bottom: none;
}

.ritual__lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* ===================================
   Pontos Riscados Section
   =================================== */
.pontos__content {
    max-width: 1000px;
    margin: 0 auto;
}

.pontos__intro {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-md);
}

.pontos__intro h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.pontos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.ponto__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.ponto__card h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
}

.ponto__card ul {
    list-style: none;
    padding: 0;
}

.ponto__card li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-md);
    position: relative;
    font-size: 0.9375rem;
}

.ponto__card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.pontos__nota {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: #FFF8E1;
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ===================================
   Etica Section
   =================================== */
.etica__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--space-lg);
}

.etica__card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.etica__card--destaque {
    grid-column: span 2;
    background: var(--bg-accent);
    border-color: var(--accent-gold-light);
}

@media (max-width: 768px) {
    .etica__card--destaque {
        grid-column: span 1;
    }
}

.etica__card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.etica__lista {
    list-style: none;
    padding: 0;
}

.etica__lista li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.etica__lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.etica__lema {
    margin-top: var(--space-3xl);
    text-align: center;
}

.etica__lema blockquote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   Localizacao Section
   =================================== */
.localizacao__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 992px) {
    .localizacao__content {
        grid-template-columns: 1fr;
    }
}

.localizacao__info {
    background: var(--bg-accent);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.localizacao__info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
}

.localizacao__info .horarios {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.localizacao__mapa {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.localizacao__mapa iframe {
    display: block;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   Cookie Banner (LGPD)
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: var(--space-lg);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-banner__text h4 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.cookie-banner__text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner__text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-btn--accept {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.cookie-btn--accept:hover {
    background: var(--accent-gold-hover);
}

.cookie-btn--decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn--decline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* ===================================
   Privacy Modal
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.modal__close:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.modal__content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-lg);
    padding-right: var(--space-xl);
}

.modal__body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.modal__body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.modal__body ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.modal__body li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-xs);
}

.modal__body strong {
    color: var(--text-primary);
}

/* Footer Legal Links */
.footer__links-legal {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
}

.footer__links-legal a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer__links-legal a:hover {
    color: var(--accent-gold);
}

/* ===================================
   Mobile Enhancements
   =================================== */

/* Mobile Variables */
@media (max-width: 768px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
        --space-2xl: 3.5rem;
        --space-3xl: 5rem;
    }
}

/* Sidebar Mobile Improvements */
@media (max-width: 1099px) {
    .sidebar {
        width: 85%;
        max-width: 320px;
    }

    .sidebar__header {
        padding: var(--space-lg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sidebar__logo-img {
        width: 60px;
        height: 60px;
    }

    .sidebar__nav {
        padding: var(--space-sm) 0;
    }

    .sidebar__link {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
        min-height: 48px;
    }

    .sidebar__icon {
        width: 28px;
        height: 28px;
    }

    .sidebar__icon svg {
        width: 22px;
        height: 22px;
    }

    .sidebar__toggle {
        width: 44px;
        height: 44px;
        top: var(--space-sm);
        left: var(--space-sm);
    }

    .sidebar__toggle span {
        width: 20px;
        height: 2px;
    }
}

/* Hero Mobile Enhancements */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }

    .hero__content {
        padding: var(--space-lg);
        max-width: 100%;
    }

    .hero__logo {
        width: 110px;
        height: 110px;
        margin-bottom: var(--space-md);
        box-shadow: 0 0 30px rgba(201, 162, 39, 0.25);
    }

    .hero__title {
        font-size: 1.6rem;
        letter-spacing: 0.02em;
    }

    .hero__title span {
        font-size: 1.5rem;
        margin-top: 0.25rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
        margin-bottom: var(--space-xs);
    }

    .hero__description {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: var(--space-md);
        opacity: 0.9;
    }

    .hero__buttons {
        gap: var(--space-sm);
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero__buttons .btn {
        width: 100%;
        padding: 0.9rem var(--space-md);
        font-size: 0.95rem;
    }
}

/* Section Titles Mobile */
@media (max-width: 768px) {
    .section__title {
        font-size: 1.5rem;
        margin-bottom: var(--space-xs);
        line-height: 1.25;
    }

    .section__subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: var(--space-lg);
    }
}

/* Cards Mobile Improvements */
@media (max-width: 768px) {
    .teologia__card,
    .fundamento__card,
    .ritual__card,
    .etica__card {
        padding: var(--space-lg);
    }

    .teologia__card--destaque {
        grid-column: 1;
    }

    .teologia__card h3,
    .fundamento__card h3 {
        font-size: 1.1rem;
        margin-bottom: var(--space-sm);
        padding-right: 0;
    }

    .teologia__card p,
    .fundamento__card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    /* Números dos fundamentos - mobile */
    .fundamento__number {
        position: relative;
        top: auto;
        right: auto;
        font-size: 1.5rem;
        opacity: 0.4;
        margin-bottom: var(--space-xs);
        display: block;
    }

    .fundamento__card {
        padding: var(--space-lg);
    }
}

/* Orixás Mobile */
@media (max-width: 768px) {
    .orixas__filter {
        flex-wrap: wrap;
        gap: var(--space-xs);
        padding: var(--space-sm);
    }

    .filter__btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        flex: 1 1 auto;
        min-width: calc(50% - var(--space-xs));
        text-align: center;
    }

    .orixas__grid {
        gap: var(--space-md);
    }

    .orixa__card {
        padding: var(--space-md);
    }

    .orixa__header h3 {
        font-size: 1.15rem;
    }

    .orixa__info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .orixa__info {
        padding: var(--space-sm);
    }

    .orixa__saudacao {
        font-size: 0.95rem;
        padding: var(--space-sm);
    }
}

/* Funcionamento Mobile */
@media (max-width: 768px) {
    .dia__card {
        padding: var(--space-md);
    }

    .dia__header {
        padding: var(--space-md);
        margin: calc(-1 * var(--space-md));
        margin-bottom: var(--space-md);
    }

    .dia__nome {
        font-size: 0.85rem;
    }

    .dia__titulo {
        font-size: 1.1rem;
    }

    .dia__descricao {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .horario__item {
        padding: var(--space-sm);
    }

    .giras__calendario {
        gap: var(--space-xs);
    }

    .gira__item {
        padding: var(--space-sm);
    }

    .funcionamento__aviso {
        padding: var(--space-md);
        font-size: 0.9rem;
    }
}

/* Cronologia Mobile */
@media (max-width: 768px) {
    .cronologia__chegada {
        padding: var(--space-md);
    }

    .chegada__icon {
        width: 50px;
        height: 50px;
    }

    .chegada__passo {
        gap: var(--space-sm);
    }

    .passo__numero {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .passo__content strong {
        font-size: 0.95rem;
    }

    .passo__content p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .cronologia__seletor {
        gap: var(--space-sm);
    }

    .gira__btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.95rem;
    }

    .gira__header {
        padding: var(--space-md);
    }

    .gira__header h3 {
        font-size: 1.2rem;
    }

    .gira__header p {
        font-size: 0.88rem;
    }

    .timeline__content {
        padding: var(--space-md);
    }

    .timeline__content h4 {
        font-size: 1rem;
    }

    .timeline__content p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .timeline__detalhe {
        font-size: 0.82rem;
        padding: var(--space-sm);
    }
}

/* Linhas/Guias Mobile */
@media (max-width: 768px) {
    .guias__grid,
    .ciganos__grid {
        gap: var(--space-md);
    }

    .guia__card,
    .cigano__card {
        padding: var(--space-md);
    }

    .guia__card h3,
    .cigano__card h3 {
        font-size: 1.1rem;
    }

    .guia__card p,
    .cigano__card p {
        font-size: 0.9rem;
    }
}

/* Glossário Mobile */
@media (max-width: 768px) {
    .glossario__grid {
        gap: var(--space-sm);
    }

    .glossario__item {
        padding: var(--space-md);
    }

    .glossario__termo {
        font-size: 0.95rem;
    }

    .glossario__definicao {
        font-size: 0.88rem;
    }
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .footer__content {
        gap: var(--space-lg);
    }

    .footer__brand h3 {
        font-size: 1.1rem;
    }

    .footer__lema {
        font-size: 0.9rem;
    }

    .footer__logo {
        width: 55px;
        height: 55px;
    }

    .footer__info h4 {
        font-size: 0.95rem;
    }

    .footer__info p {
        font-size: 0.88rem;
    }

    .footer__bottom {
        padding-top: var(--space-md);
        font-size: 0.85rem;
    }

    .footer__sarava {
        font-size: 0.9rem;
    }
}

/* Localizacao Mobile */
@media (max-width: 768px) {
    .localizacao__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .localizacao__info {
        text-align: center;
    }

    .localizacao__mapa iframe {
        height: 280px;
        border-radius: var(--radius-md);
    }

    .endereco h3,
    .horarios h3 {
        font-size: 1rem;
    }

    .endereco p,
    .horarios p {
        font-size: 0.9rem;
    }
}

/* CTA Mobile */
@media (max-width: 768px) {
    .cta {
        padding: var(--space-xl) 0;
    }

    .cta__content h2 {
        font-size: 1.4rem;
    }

    .cta__content p {
        font-size: 0.92rem;
        margin-bottom: var(--space-md);
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .cta__buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Cookie Banner Mobile */
@media (max-width: 576px) {
    .cookie-banner {
        padding: var(--space-md);
    }

    .cookie-banner__text h4 {
        font-size: 1rem;
    }

    .cookie-banner__text p {
        font-size: 0.85rem;
    }

    .cookie-banner__actions {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .cookie-btn {
        max-width: 100%;
        width: 100%;
    }
}

/* Modal Mobile */
@media (max-width: 576px) {
    .modal {
        padding: var(--space-sm);
    }

    .modal__content {
        padding: var(--space-lg);
        max-height: 90vh;
    }

    .modal__content h2 {
        font-size: 1.3rem;
        padding-right: var(--space-xl);
    }

    .modal__content h3 {
        font-size: 1rem;
    }

    .modal__content p,
    .modal__content li {
        font-size: 0.88rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        max-width: 100%;
    }

    .hero__logo {
        width: 90px;
        height: 90px;
    }

    .hero__title {
        font-size: 1.4rem;
    }

    .hero__title span {
        font-size: 1.3rem;
    }

    .section__title {
        font-size: 1.3rem;
    }

    .dia__card,
    .orixa__card,
    .teologia__card,
    .fundamento__card {
        padding: var(--space-sm) var(--space-md);
    }

    .timeline__marker {
        width: 30px;
        height: 30px;
    }

    .marker__numero {
        font-size: 0.75rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .filter__btn,
    .gira__btn,
    .sidebar__link {
        min-height: 44px;
    }

    .orixa__card:hover,
    .teologia__card:hover,
    .fundamento__card:hover {
        transform: none;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .hero__logo {
        width: 70px;
        height: 70px;
    }

    .hero__content {
        padding: var(--space-md);
    }

    .hero__buttons {
        flex-direction: row;
        max-width: 100%;
    }

    .hero__buttons .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .sidebar {
        padding-left: max(var(--space-sm), env(safe-area-inset-left));
        padding-right: max(var(--space-sm), env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
    }

    .cookie-banner {
        padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
    }
}

/* Print */
@media print {
    .sidebar, .sidebar__toggle, .sidebar__overlay, .cta, .footer, .cookie-banner, .modal {
        display: none;
    }

    body {
        padding-left: 0;
    }
    .section {
        padding: var(--space-md) 0;
        break-inside: avoid;
    }
}
