/* ==========================================================================
   SISTEMA DE DESIGN E PROPRIEDADES PERSONALIZADAS (Editora Domina Nostra)
   ========================================================================== */

:root {
    /* Cores (Paleta Confessional Católica) */
    --primary-color: #051a27;       /* Azul Marinho Mariano */
    --primary-light: #0d2738;       /* Azul Marinho Médio */
    --primary-dark: #020c12;        /* Azul Marinho Profundo da Meia-Noite */
    --accent-color: #dca94a;        /* Ouro Litúrgico */
    --accent-hover: #c79435;        /* Ouro Escuro Rico */
    --accent-light: #fdf5e6;        /* Creme Claro/Ouro */
    --bg-cream: #fdfbf7;            /* Alabastro/Creme Quente */
    --bg-white: #ffffff;            /* Branco */
    --text-dark: #1e293b;           /* Slate 800 (Ardósia) */
    --text-medium: #475569;         /* Slate 600 (Ardósia) */
    --text-light: #94a3b8;          /* Slate 400 (Ardósia) */
    --text-white: #ffffff;
    --success-color: #10b981;       /* Esmeralda */
    --error-color: #ef4444;         /* Vermelho Rosa */
    
    /* Gradientes */
    --gold-gradient: linear-gradient(135deg, #dca94a 0%, #b28229 100%);
    --navy-gradient: linear-gradient(135deg, #051a27 0%, #0d2738 100%);
    --light-gradient: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
    --card-glow: radial-gradient(circle, rgba(220,169,74,0.15) 0%, rgba(255,255,255,0) 70%);

    /* Fontes */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Sombras */
    --shadow-sm: 0 0.25rem 0.5rem rgba(5, 26, 39, 0.04);
    --shadow-md: 0 0.5rem 1.5rem rgba(5, 26, 39, 0.08);
    --shadow-lg: 0 1rem 3rem rgba(5, 26, 39, 0.12);
    --shadow-gold: 0 0.5rem 1.5rem rgba(220, 169, 74, 0.25);
    
    /* Layout */
    --max-width: 75rem; /* 1200px */
    --header-height: 7.15rem; /* Aumentado em 30% (de 5.5rem para 7.15rem) */
    --border-radius-sm: 0.375rem; /* 6px */
    --border-radius-md: 0.75rem; /* 12px */
    --border-radius-lg: 1.5rem; /* 24px */
    
    /* Transições */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   ESTILOS DE RESET E BASE
   ========================================================================== */

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

html {
    font-size: 100%; /* 16px */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   TIPOGRAFIA E UTILITÁRIOS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.text-center { text-align: center; }
.gold-text { color: var(--accent-color); }
.font-white { color: var(--text-white); }
.max-width-center {
    margin-left: auto;
    margin-right: auto;
}

.divider-gold {
    width: 5rem;
    height: 0.1875rem; /* 3px */
    background: var(--gold-gradient);
    margin: 1rem auto 1.5rem;
    border-radius: 0.1rem;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.5rem;
    border: 0.125rem solid transparent;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: var(--accent-hover);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.75rem 2rem rgba(220, 169, 74, 0.4);
}

.btn-gold:active {
    transform: translateY(0);
}

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

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-gold);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   CABEÇALHO E NAVEGAÇÃO
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(-2rem);
    pointer-events: none;
}

.main-header.scrolled {
    background-color: rgba(5, 26, 39, 0.95);
    backdrop-filter: blur(1.25rem);
    height: 6.175rem; /* Aumentado em 30% (de 4.75rem para 6.175rem) */
    box-shadow: var(--shadow-md);
    border-bottom: 0.0625rem solid rgba(220, 169, 74, 0.2);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 5rem;
}

.nav-menu {
    margin-left: auto;
    margin-right: 2.5rem;
}

.header-logo {
    height: 5.5rem;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-logo {
    height: 4.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.625rem; /* Aumentado em 30% (de 1.25rem para 1.625rem) */
    font-weight: 900;
    color: var(--accent-color);
    letter-spacing: 0.0625rem;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.8125rem; /* Aumentado em 30% (de 0.625rem para 0.8125rem) */
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.125rem;
}

.main-header:not(.scrolled) .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li:not(:last-child)::after {
    content: '|';
    color: rgba(220, 169, 74, 0.3);
    margin: 0 0.8rem;
    font-size: 0.875rem;
    font-weight: 300;
    pointer-events: none;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.5rem 0;
}

.main-header:not(.scrolled) .nav-item {
    color: rgba(255, 255, 255, 0.9);
}

.nav-item:hover, .nav-item.active {
    color: var(--accent-color);
}

.btn-header {
    font-size: 1.15rem; /* Aumentado em 30% */
    padding: 0.8rem 1.8rem;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.75rem;
    height: 1.25rem;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 0.1875rem;
    background-color: var(--accent-color);
    border-radius: 0.125rem;
    transition: var(--transition-fast);
}

/* ==========================================================================
   MENU LATERAL MOBILE (DRAWER)
   ========================================================================== */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -18.75rem; /* Oculto */
    width: 18.75rem;
    height: 100%;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    transition: var(--transition-smooth);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.25rem);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.drawer-close {
    font-size: 2.5rem;
    color: var(--accent-color);
    cursor: pointer;
    line-height: 1;
}

.drawer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.drawer-item {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-white);
    display: block;
    padding: 0.5rem 0;
}

.drawer-item:hover, .drawer-item.active {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

/* ==========================================================================
   SEÇÃO INTRODUTÓRIA (TELA COMPLETA)
   ========================================================================== */

.intro-fullpage {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1005;
    background-color: var(--primary-color);
    background-image: var(--navy-gradient);
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
    color: var(--text-white);
    overflow: hidden;
}

.intro-fullpage.slid-up {
    transform: translateY(-100vh);
}

body.intro-active {
    overflow: hidden;
    height: 100vh;
}

.intro-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(220, 169, 74, 0.12) 0%, rgba(5, 26, 39, 0) 50%);
    pointer-events: none;
}

.intro-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
}

.arch-left-intro {
    bottom: -15rem;
    left: -8rem;
    border: 0.125rem solid var(--accent-color);
    border-bottom: none;
    border-radius: 25rem 25rem 0 0;
    height: 55rem;
    width: 28rem;
    position: absolute;
}

.arch-right-intro {
    top: -15rem;
    right: -8rem;
    border: 0.125rem solid var(--accent-color);
    border-bottom: none;
    border-radius: 25rem 25rem 0 0;
    height: 55rem;
    width: 28rem;
    position: absolute;
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Lado Esquerdo: Logotipo */
.intro-logo-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-logo-wrapper {
    position: relative;
    width: 34rem; /* Aumentado em mais 30% */
    height: 34rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow-intro {
    position: absolute;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(220, 169, 74, 0.22) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
}

.intro-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1rem 2rem rgba(2, 12, 18, 0.4));
    animation: pulseLogo 4s ease-in-out infinite;
}

/* Lado Direito: Texto/Conteúdo */
.intro-info-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.intro-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.intro-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03125rem;
}

.intro-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.intro-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.intro-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Indicador de Rolagem */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.scroll-indicator:hover .scroll-text {
    color: var(--accent-color);
}

.mouse-icon {
    width: 1.5rem;
    height: 2.5rem;
    border: 0.125rem solid rgba(255, 255, 255, 0.6);
    border-radius: 1.25rem;
    position: relative;
    display: flex;
    justify-content: center;
    transition: var(--transition-fast);
}

.scroll-indicator:hover .mouse-icon {
    border-color: var(--accent-color);
}

.mouse-icon .wheel {
    width: 0.25rem;
    height: 0.5rem;
    background-color: var(--accent-color);
    border-radius: 0.125rem;
    position: absolute;
    top: 0.375rem;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

/* Animações */
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(0.75rem); opacity: 0; }
}

/* Ajustes de responsividade mobile para a intro */
@media (max-width: 62rem) {
    .intro-fullpage {
        height: auto;
        min-height: 100vh;
        padding-top: 5rem;
        padding-bottom: 6rem;
    }
    
    .intro-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .intro-logo-side {
        margin-top: 2rem;
    }
    
    .intro-logo-wrapper {
        width: 25rem; /* Aumentado em mais 30% */
        height: 25rem;
    }
    
    .intro-info-side {
        align-items: center;
    }
    
    .intro-actions {
        justify-content: center;
        width: 100%;
    }
    
    .intro-features {
        align-items: center;
    }
    
    .scroll-indicator {
        display: none; /* Ocultar em telas pequenas com rolagem */
    }
}

@media (max-width: 48rem) {
    .intro-title {
        font-size: 2.5rem;
    }
    .intro-subtitle {
        font-size: 1.25rem;
    }
    .intro-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .intro-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   SEÇÃO HERO
   ========================================================================== */

.hero-section {
    position: relative;
    background-color: var(--primary-color);
    background-image: var(--navy-gradient);
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(220, 169, 74, 0.15) 0%, rgba(5, 26, 39, 0) 60%);
    pointer-events: none;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
}

.gothic-arch {
    position: absolute;
    border: 0.1875rem solid var(--accent-color);
    border-bottom: none;
    border-radius: 20rem 20rem 0 0;
    height: 50rem;
    width: 25rem;
}

.arch-left {
    bottom: -10rem;
    left: -5rem;
}

.arch-right {
    top: -10rem;
    right: -5rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 40rem;
}

.badge-liturgical {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(220, 169, 74, 0.15);
    border: 0.0625rem solid rgba(220, 169, 74, 0.4);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.highlight-gold {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.hero-feat-item i {
    color: var(--accent-color);
}

/* Visual Hero / Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    max-width: 25rem;
    width: 100%;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(220,169,74,0.18) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 0.125rem solid rgba(220, 169, 74, 0.3);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: rgba(5, 26, 39, 0.85);
    backdrop-filter: blur(0.75rem);
    border: 0.0625rem solid rgba(220, 169, 74, 0.3);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float-delayed 6s ease-in-out infinite;
}

.floating-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.125rem;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-text strong {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--accent-color);
}

.floating-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.75rem); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.75rem); }
}

/* ==========================================================================
   ESTILOS GERAIS DE SEÇÃO
   ========================================================================== */

section {
    padding: 7rem 0;
    position: relative;
}

.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-color);
}

.section-description-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    font-weight: 400;
}

.section-description-text.max-width-center {
    max-width: 45rem;
}

/* ==========================================================================
   SEÇÃO FILOSOFIA
   ========================================================================== */

.filosofia-section {
    background-color: var(--bg-cream);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.phil-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 0.0625rem solid rgba(5, 26, 39, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.phil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition-fast);
}

.phil-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 169, 74, 0.2);
}

.phil-card:hover::before {
    opacity: 1;
}

.card-icon-container {
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-md);
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.phil-card:hover .card-icon-container {
    background: var(--gold-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

.phil-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.phil-card .card-description {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO COLEÇÕES
   ========================================================================== */

.colecoes-section {
    background-color: var(--bg-white);
}

.tab-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 0.0625rem solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--accent-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.0625rem;
    left: 0;
    width: 100%;
    height: 0.1875rem;
    background: var(--gold-gradient);
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.collection-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.collection-image-side {
    display: flex;
    justify-content: center;
}

.book-mockup {
    position: relative;
    max-width: 20rem;
    width: 100%;
    transform: perspective(60rem) rotateY(-5deg);
    box-shadow: 1.25rem 1.25rem 2.5rem rgba(5, 26, 39, 0.15);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.book-mockup:hover {
    transform: perspective(60rem) rotateY(0deg) scale(1.02);
    box-shadow: 1.5rem 1.5rem 3rem rgba(5, 26, 39, 0.22);
}

.book-cover-img {
    width: 100%;
    border-radius: var(--border-radius-md);
    border: 0.0625rem solid rgba(5, 26, 39, 0.1);
}

.age-badge {
    position: absolute;
    top: 1rem;
    right: -1rem;
    background: var(--gold-gradient);
    color: var(--text-white);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.collection-info-side {
    max-width: 38rem;
}

.collection-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: block;
}

.collection-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.collection-desc {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.features-list li i {
    margin-top: 0.25rem;
    font-size: 1rem;
}

.collection-actions {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   SEÇÃO METODOLOGIA (LINHA DO TEMPO)
   ========================================================================== */

.metodologia-section {
    background-color: var(--bg-cream);
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 46.875rem; /* 750px */
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 0.125rem;
    height: 100%;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 1rem;
    top: 0;
    transform: translateX(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 0.1875rem solid var(--accent-color);
    color: var(--text-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-color);
    border-color: var(--primary-color);
    transform: translateX(-50%) scale(1.15);
    box-shadow: var(--shadow-gold);
}

.timeline-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 0.0625rem solid rgba(5, 26, 39, 0.05);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-md);
    transform: translateX(0.25rem);
    border-color: rgba(220, 169, 74, 0.15);
}

.timeline-step {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

/* ==========================================================================
   SEÇÃO DE PRÉ-VISUALIZAÇÃO (SLIDER)
   ========================================================================== */

.preview-section {
    background-color: var(--bg-white);
}

.preview-slider-container {
    position: relative;
    max-width: 50rem;
    margin: 4rem auto 0;
    overflow: hidden;
    padding: 1rem 0;
}

.preview-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%; /* Since there are 2 slides */
}

.preview-slide {
    width: 50%; /* Each slide takes exactly 50% of the total container width (which is 100% of display) */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.preview-slide.active {
    opacity: 1;
}

.slide-badge {
    background-color: var(--accent-light);
    color: var(--accent-hover);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.slide-image-container {
    width: 100%;
    max-width: 40rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 0.1875rem solid rgba(220, 169, 74, 0.25);
    background-color: var(--bg-white);
    padding: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.preview-page-img {
    width: 100%;
    border-radius: var(--border-radius-sm);
}

.slide-info {
    text-align: center;
    max-width: 32rem;
}

.slide-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.slide-info p {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

/* Botões do slider */
.slider-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 0.0625rem solid rgba(220, 169, 74, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.slider-nav:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.slider-dots .dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--accent-color);
    width: 1.5rem;
    border-radius: 0.3125rem; /* 5px */
}

/* ==========================================================================
   SEÇÃO DEPOIMENTOS
   ========================================================================== */

.depoimentos-section {
    background-color: var(--bg-cream);
    background-image: radial-gradient(circle at 10% 80%, rgba(220, 169, 74, 0.08) 0%, rgba(255,255,255,0) 50%);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dep-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 0.0625rem solid rgba(5, 26, 39, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.dep-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 169, 74, 0.15);
}

.dep-rating {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

.dep-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
}

.dep-text::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(220, 169, 74, 0.1);
    position: absolute;
    top: -2rem;
    left: -0.75rem;
    line-height: 1;
}

.dep-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 0.0625rem solid var(--border-color);
    padding-top: 1.25rem;
}

.dep-user-info {
    display: flex;
    flex-direction: column;
}

.dep-user-name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    color: var(--primary-color);
    font-weight: 700;
}

.dep-user-role {
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-top: 0.125rem;
}

/* ==========================================================================
   SEÇÃO CONTATO (FORMULÁRIO E DETALHES)
   ========================================================================== */

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

.contato-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: flex-start;
}

.contato-info-column {
    max-width: 32rem;
}

.info-subtitle {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.info-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.info-desc {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--border-radius-sm);
    background-color: rgba(5, 26, 39, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.contact-detail-item:hover .info-icon {
    background-color: var(--accent-light);
    color: var(--accent-hover);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text strong {
    font-size: 0.9375rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.detail-text span {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.quote-box {
    border-left: 0.1875rem solid var(--accent-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.latin-quote {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.quote-author {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.0625rem;
}

/* Estilos do Formulário */
.contato-form-column {
    background-color: var(--bg-cream);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 0.0625rem solid rgba(5, 26, 39, 0.03);
}

.form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-wrapper p {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-white);
    border: 0.0625rem solid var(--border-color);
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius-sm);
    outline: none;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.1875rem rgba(220, 169, 74, 0.15);
}

/* Estados de Erro */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
    background-color: rgba(239, 68, 68, 0.02);
}

.error-message {
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 600;
}

.form-group.error .error-message {
    display: block;
}

.btn-submit {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-submit .spinner {
    display: none;
    position: absolute;
    font-size: 1.25rem;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .spinner {
    display: block;
}

/* ==========================================================================
   MODAL DE SUCESSO
   ========================================================================== */

.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: calc(100% - 2rem);
    max-width: 28rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
    z-index: 1200;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.success-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 26, 39, 0.75);
    backdrop-filter: blur(0.25rem);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.success-modal h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-modal p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.modal-subtext {
    font-family: var(--font-heading);
    color: var(--accent-hover) !important;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 2rem !important;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */

.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
    border-top: 0.1875rem solid var(--accent-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-link {
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border: 0.0625rem solid rgba(220, 169, 74, 0.1);
}

.footer-socials a:hover {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-0.125rem);
}

.footer-links h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 0.125rem;
    background-color: var(--accent-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a, .footer-links span {
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 0.25rem;
}

.footer-credo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.credo-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.latin-credo {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-white);
    line-height: 1.5;
}

.credo-sub {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: -0.5rem;
}

/* Parte Inferior do Rodapé */
.footer-bottom {
    background-color: rgba(2, 12, 18, 0.9);
    padding: 1.5rem 0;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
}

.ad-maioremdg {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.0625rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Ponto de parada para Tablet (Telas Grandes/Notebooks) */
@media (max-width: 75rem) {
    :root {
        --max-width: 60rem;
    }
    .hero-title {
        font-size: 3rem;
    }
}

/* Telas Médias (Tablets - 992px) */
@media (max-width: 62rem) {
    :root {
        --header-height: 5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-floating-card {
        left: 0;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collection-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .collection-info-side {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .features-list {
        align-items: flex-start;
        text-align: left;
    }
    
    .contato-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contato-info-column {
        max-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Ponto de parada Mobile (Celulares - 768px) */
@media (max-width: 48rem) {
    .nav-menu, .btn-header {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .collection-actions .btn {
        width: 100%;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-dot {
        left: 0.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .slider-nav {
        width: 2.5rem;
        height: 2.5rem;
        top: auto;
        bottom: -3.5rem;
        transform: none;
    }
    
    .prev-btn { left: 30%; }
    .next-btn { right: 30%; }
    
    .preview-slider-container {
        padding-bottom: 4rem;
    }
    
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-form-column {
        padding: 2rem 1.5rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
