/* =====================================
   TEMA: ORACULUS
   DESENVOLVIDO POR MAÍRA RODRIGUES
   VERSÃO: 2.0
===================================== */

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

:root {
    --titulo-tamanho: 48px;
    --titulo-alinhamento: center;
    --menu-tamanho: 18px;
    --menu-alinhamento: center;
    --footer-tamanho: 14px;
    --footer-fonte: 'Playfair Display', serif;
    
    /* Cores padrão */
    --cor-fundo-1: #6a0dad;
    --cor-fundo-2: #8e44ad;
    --cor-fundo-header: #6a0dad;
    --cor-fundo-rodape: rgba(0, 0, 0, 0.2);
    --cor-titulo: #f5d06f;
    --cor-menu: #f5d06f;
    --cor-menu-hover: #ffffff;
    --cor-linha-menu: #ffd700;
    --cor-borda-header: #ffd700;
    --cor-fundo-submenu: #6a0dad;
    --cor-texto-submenu: #f5d06f;
    --cor-hover-submenu: #ffffff;
    --cor-texto-rodape: #ffffff;
    --cor-titulo-rodape: #f5d06f;
    --cor-link-rodape-hover: #ffd700;
}

/* =====================================
   ESTRUTURA BASE
===================================== */

html, body {
    height: 100%;
}

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--cor-fundo-1), var(--cor-fundo-2));
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* CORREÇÃO: padding superior reduzido de 60px para 20px */
.site-main {
    flex: 1;
    padding: 3px 0 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================
   CABEÇALHO
===================================== */

.site-header {
    padding: 30px 0;
    border-bottom: 2px solid var(--cor-borda-header);
    background: var(--cor-fundo-header);
}

.header-inner {
    display: block !important;
    position: relative;
}

.site-title {
    width: 100%;
}

.site-title a {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: var(--titulo-tamanho);
    color: var(--cor-titulo);
    text-decoration: none;
    text-align: var(--titulo-alinhamento) !important;
}

/* =====================================
   MENU PRINCIPAL (DESKTOP)
===================================== */

.main-menu {
    width: 100%;
    margin-top: 20px;
    display: flex !important;
    justify-content: var(--menu-alinhamento) !important;
}

.main-menu ul {
    display: flex !important;
    gap: 30px;
    list-style: none;
}

.main-menu ul li {
    list-style: none;
    position: relative;
}

.main-menu ul li a {
    font-size: var(--menu-tamanho) !important;
    color: var(--cor-menu);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.main-menu ul li a:hover {
    color: var(--cor-menu-hover);
}

.main-menu ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--cor-linha-menu);
    transition: 0.3s;
}

.main-menu ul li a:hover::after {
    width: 100%;
}

/* =====================================
   SUBMENU (DROPDOWN)
===================================== */

.main-menu ul .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cor-fundo-submenu);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 999;
    list-style: none;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 0;
}

.main-menu ul .menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    z-index: 998;
}

.main-menu ul .sub-menu li {
    width: 100%;
}

.main-menu ul .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--cor-texto-submenu) !important;
    font-size: calc(var(--menu-tamanho) - 2px) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.main-menu ul .sub-menu li a:hover {
    background: rgba(255, 215, 0, 0.15);
    color: var(--cor-hover-submenu) !important;
    padding-left: 25px;
}

.main-menu ul .sub-menu li a::after {
    display: none;
}

.main-menu ul .menu-item-has-children:hover > .sub-menu {
    display: block !important;
}

/* =====================================
   MENU HAMBURGUER (MOBILE)
===================================== */

.menu-toggle {
    display: none;
    background: #6a0dad;
    border: 2px solid #f5d06f;
    border-radius: 8px;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    position: absolute;
    top: 20px;
    right: 20px;
}

.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background: #f5d06f;
    margin: 5px 0;
    border-radius: 3px;
}

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

.site-footer {
    padding: 30px 0;
    text-align: center;
    background: var(--cor-fundo-rodape);
    color: var(--cor-texto-rodape);
}

.site-footer .container {
    font-family: var(--footer-fonte);
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer h3,
.site-footer .footer-info,
.site-footer .footer-info h3,
.site-footer .footer-links,
.site-footer .footer-links li,
.site-footer .footer-links li a,
.site-footer .footer-copyright,
.site-footer .footer-copyright p {
    font-size: var(--footer-tamanho) !important;
    font-weight: normal !important;
}

.site-footer .footer-info h3 {
    color: var(--cor-titulo-rodape);
    margin-bottom: 15px;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer .footer-links li {
    list-style: none;
}

.site-footer .footer-links li a {
    color: var(--cor-texto-rodape);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-links li a:hover {
    color: var(--cor-link-rodape-hover);
}

.site-footer .footer-copyright p {
    margin: 0;
    opacity: 0.8;
}

/* =====================================
   PÁGINA SOBRE - ESTILO PADRÃO
===================================== */

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sobre-hero {
    background: white;
    border-radius: 28px;
    margin-bottom: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(106, 13, 173, 0.25);
    overflow: hidden;
}

.sobre-hero-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 45px 40px;
}

.sobre-foto {
    flex-shrink: 0;
    width: 220px;
}

.sobre-foto img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 3px solid var(--cor-titulo);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sobre-titulo h1 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #4a0072;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f5d06f, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitulo {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    font-weight: 500;
}

.selos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selos span {
    background: #f8f5ff;
    padding: 6px 15px;
    border-radius: 9999px;
    font-size: 12px;
    color: #4a0072;
    border: 1px solid #d4b3ff;
}

.sobre-historia {
    background: white;
    border-radius: 28px;
    margin-bottom: 40px;
    padding: 45px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(106, 13, 173, 0.25);
}

.sobre-historia h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: #4a0072;
    font-size: 29px;
    margin-bottom: 25px;
}

.sobre-historia p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.sobre-cta {
    background: white;
    border-radius: 28px;
    padding: 45px 40px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(106, 13, 173, 0.25);
}

.sobre-cta h2 {
    font-family: 'Cinzel', serif;
    color: #4a0072;
    margin-bottom: 15px;
    font-size: 29px;
}

.sobre-cta p {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
}

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

.btn-primario {
    background: linear-gradient(135deg, #f5d06f, #ffd700);
    color: #4a0072;
    padding: 12px 30px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-secundario {
    background: transparent;
    color: #9b4dff;
    padding: 12px 30px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #d4b3ff;
    transition: 0.3s;
    display: inline-block;
}

.btn-secundario:hover {
    background: #f8f5ff;
    color: #4a0072;
    border-color: #9b4dff;
}

/* =====================================
   TÍTULOS GERAIS DAS PÁGINAS
===================================== */

.page-title {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #f5d06f, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}

.entry-title {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #f5d06f, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}

/* =====================================
   CONTEÚDO DAS PÁGINAS
===================================== */

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.page-content h2 {
    font-family: 'Cinzel', serif;
    color: #4a0072;
    font-size: 28px;
    margin: 30px 0 15px;
}

.page-content h3 {
    font-family: 'Cinzel', serif;
    color: #4a0072;
    font-size: 24px;
    margin: 25px 0 10px;
}

.page-content ul, 
.page-content ol {
    margin: 15px 0 15px 30px;
    color: #444;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* =====================================
   RESPONSIVO (MOBILE)
===================================== */

@media (max-width: 768px) {
    
    .site-header {
        padding: 15px 0;
    }
    
    .site-title a {
        font-size: 28px !important;
    }
    
    .site-main {
        padding: 15px 0 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Menu Hamburguer */
    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100%;
        background: #6a0dad;
        z-index: 1000;
        padding: 80px 20px 30px;
        transition: 0.3s;
        margin-top: 0;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }
    
    .main-menu.open {
        right: 0;
    }
    
    .main-menu ul {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    
    .main-menu ul li a {
        color: #f5d06f !important;
        font-size: 18px !important;
    }
    
    .menu-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .main-menu ul .menu-item-has-children::after {
        display: none;
    }
    
    .main-menu ul .sub-menu {
        position: relative;
        top: 8px;
        left: 0;
        transform: none;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        background: rgba(106, 13, 173, 0.8);
        opacity: 1;
        margin-top: 10px;
    }
    
    .main-menu ul .sub-menu li a {
        white-space: normal;
        text-align: left;
        font-size: 16px !important;
        padding: 8px 15px;
    }
    
    .main-menu ul .sub-menu li a:hover {
        padding-left: 20px;
    }
    
    .main-menu ul .menu-item-has-children:hover > .sub-menu {
        display: none !important;
    }
    
    /* Página Sobre - Mobile */
    .sobre-hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        gap: 25px;
    }
    
    .sobre-foto {
        width: 160px;
    }
    
    .sobre-titulo h1 {
        font-size: 28px;
    }
    
    .subtitulo {
        font-size: 16px;
    }
    
    .selos {
        justify-content: center;
    }
    
    .sobre-historia {
        padding: 30px 25px;
    }
    
    .sobre-historia h2 {
        font-size: 24px;
    }
    
    .sobre-historia p {
        font-size: 14px;
    }
    
    .sobre-cta {
        padding: 30px 25px;
    }
    
    .sobre-cta h2 {
        font-size: 24px;
    }
    
    .sobre-cta p {
        font-size: 14px;
    }
    
    .btn-primario,
    .btn-secundario {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .entry-title,
    .page-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    /* Rodapé Mobile */
    .site-footer {
        padding: 20px 0;
    }
    
    .site-footer .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .site-footer .footer-info h3 {
        margin-bottom: 10px;
        font-size: 14px !important;
    }
}

/* =====================================
   RESPONSIVO (CELULARES PEQUENOS)
===================================== */

@media (max-width: 480px) {
    .entry-title,
    .page-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .site-main {
        padding: 10px 0 30px 0;
    }
    
    .sobre-hero-inner {
        padding: 20px 15px;
    }
    
    .sobre-foto {
        width: 130px;
    }
    
    .sobre-titulo h1 {
        font-size: 24px;
    }
    
    .sobre-historia {
        padding: 20px 15px;
    }
    
    .sobre-historia h2 {
        font-size: 20px;
    }
    
    .sobre-cta {
        padding: 20px 15px;
    }
    
    .sobre-cta h2 {
        font-size: 20px;
    }
}

/* =====================================
   FORMULÁRIOS (CONTATO)
===================================== */

@media (max-width: 768px) {
    .oraculus-form-wrapper,
    .oraculus-cadastro-wrapper {
        margin: 20px 0 !important;
        padding: 25px 18px !important;
        border-radius: 20px !important;
    }
    
    .oraculus-form-wrapper h2,
    .oraculus-cadastro-wrapper h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .oraculus-form-wrapper > p:first-of-type,
    .oraculus-cadastro-wrapper > p:first-of-type {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .form-group {
        margin-bottom: 18px !important;
    }
    
    .form-group label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }
    
    .oraculus-form-wrapper input,
    .oraculus-cadastro-wrapper input,
    .oraculus-form-wrapper select,
    .oraculus-cadastro-wrapper select {
        padding: 12px 16px !important;
        font-size: 15px !important;
    }
    
    .oraculus-form-wrapper textarea,
    .oraculus-cadastro-wrapper textarea {
        padding: 12px 16px !important;
        font-size: 15px !important;
        min-height: 100px !important;
    }
    
    .btn-primary {
        padding: 12px !important;
        font-size: 16px !important;
        margin-top: 10px !important;
    }
    
    .oraculus-form-wrapper p:last-child,
    .oraculus-cadastro-wrapper p:last-child {
        margin-top: 25px !important;
        font-size: 13px !important;
    }
}

/* =====================================
   POSTS DO BLOG - CAIXA COM BORDAS
===================================== */

.single-post .entry-content,
.post .entry-content {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin: 30px auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .single-post .entry-content,
    .post .entry-content {
        padding: 25px 20px;
        margin: 20px 15px;
        border-radius: 20px;
    }
}

/* =====================================
   FIM DO CSS
===================================== */