/*
Theme Name: Odyssee Hawk Portfolio
Theme URI: https://odyssehawk.com.br
Author: Harley
Description: Tema customizado com motor V12, Aurora Background e Esteira de Sushi.
Version: 1.0
*/

/* Fonts agora self-hosted em assets/css/fonts.css (carregadas via functions.php)
   Remova a linha acima e coloque os arquivos woff2 em assets/fonts/ubuntu/
*/

/* ======================================================
   1. MOTOR DE TEMAS V12
   ====================================================== */
:root {
    --font-ubuntu: 'Ubuntu', sans-serif;
    --bg-page: #E9D5FF;
    --bg-card: #ffffff;
    --color-accent: #9E51FF;
    --color-title: #650CA4;
    --color-subtitle: #28123D;
    --color-text: #000000;
    --color-btn-bg: #ebebeb;
}

/* MODO CLARO */
body.color-blue { --bg-page: #D5E8FF; --color-accent: #5371E2; --color-title: #0A2E6F; --color-subtitle: #15263B; }
body.color-purple { --bg-page: #E9D5FF; --color-accent: #9E51FF; --color-title: #650CA4; --color-subtitle: #28123D; }
body.color-green { --bg-page: #A9CDB5; --color-accent: #1EB558; --color-title: #043A00; --color-subtitle: #0C1C0B; }
body.color-yellow { --bg-page: #DCD7BC; --color-accent: #E5A80C; --color-title: #5B3E00; --color-subtitle: #1A170C; }
body.color-red { --bg-page: #E5A6B1; --color-accent: #D6183A; --color-title: #77002D; --color-subtitle: #1C0B0B; }

/* MODO ESCURO */
body.theme-dark { --bg-card: #1E1E1E; --color-text: #FFFFFF; --color-subtitle: #FFFFFF; --color-btn-bg: #333333; }
body.theme-dark.color-blue { --bg-page: #1D283A; --color-accent: #373CB7; --color-title: #3979DC; }
body.theme-dark.color-purple { --bg-page: #221D3A; --color-accent: #7C3AED; --color-title: #C084FC; }
body.theme-dark.color-green { --bg-page: #162721; --color-accent: #216F24; --color-title: #41BC44; }
body.theme-dark.color-yellow { --bg-page: #272716; --color-accent: #948217; --color-title: #E7CF41; }
body.theme-dark.color-red { --bg-page: #3A1D2E; --color-accent: #B72E2E; --color-title: #E9675A; }

/* GLOW */
body.theme-dark h2, body.theme-dark h3, body.theme-dark .hero-slogan { text-shadow: 0 0 15px var(--color-accent); }

/* ======================================================
   ANIMAÇÕES GLOBAIS
   ====================================================== */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ======================================================
   2. ESTRUTURA GERAL E VISIBILIDADE
   ====================================================== */
html { height: 100%; scroll-behavior: smooth; }
body { 
    height: 100%; margin: 0; font-family: sans-serif; 
    background-color: var(--bg-page); color: var(--color-text); 
    transition: background-color 0.3s ease, color 0.3s ease; 
}

/* --- CONTROLE DE VISIBILIDADE --- */
/* Padrão (Site Visível, Onboarding Escondido) */
#onboarding-container { display: none; }
#site-principal { display: block; }

/* Modo Onboarding (Inverte tudo) */
body.modo-onboarding { display: flex; justify-content: center; align-items: center; overflow: hidden; }
body.modo-onboarding #onboarding-container { display: block; }
body.modo-onboarding #site-principal { display: none !important; }


/* ======================================================
   3. ESTILO DO ONBOARDING
   ====================================================== */
#onboarding-container {
    background-color: var(--bg-card); padding: 2rem 3rem; 
    border-radius: 10px; text-align: center; width: 90%; max-width: 800px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 2000;
}
.onboarding-title { font-size: 4rem; font-weight: 600; margin: 0; color: var(--color-title); }
.onboarding-subtitle { font-size: 1.4rem; font-weight: normal; color: var(--color-subtitle); margin-top: 0.5rem; margin-bottom: 2rem; }

.step-wrapper { position: relative; overflow: hidden; height: 350px; }
.onboarding-step { width: 100%; transition: transform 0.6s ease-in-out; position: absolute; top: 0; left: 0; padding: 1rem; box-sizing: border-box; }
#step-theme { transform: translateY(100%); }
#onboarding-container.show-theme #step-language { transform: translateY(-100%); }
#onboarding-container.show-theme #step-theme { transform: translateY(0%); }

/* Botões de Onboarding */
.button-group { display: flex; justify-content: center; gap: 1rem; }
.button-group button { font-size: 1.2rem; font-weight: bold; background-color: var(--color-btn-bg); color: var(--color-text); border: none; padding: 1.5rem 2rem; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.button-group button:hover { filter: brightness(0.9); }

.theme-picker button, .color-dot { cursor: pointer; border: none; }
.theme-picker button { font-size: 2rem; background: var(--color-btn-bg); border-radius: 50%; width: 60px; height: 60px; margin: 0 10px; color: var(--color-text); transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.theme-picker button:hover { filter: brightness(0.8); }
body.theme-dark .theme-picker button { color: #FFFFFF; }

/* Ensure SVG icons inside theme-picker buttons are visible */
.setting-group .theme-picker button .icon-svg { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; fill: currentColor; }
.setting-group .theme-picker button { color: var(--color-text) !important; }
.setting-group .theme-picker button .icon-svg path { fill: currentColor; }

/* Mobile FAQ and settings styling */
#mobile-menu-overlay .mobile-menu-footer .btn-mobile-faq,
#mobile-menu-overlay .mobile-menu-footer .btn-mobile-settings {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 2px solid rgba(148,130,23,0.12);
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
}

#mobile-menu-overlay .mobile-menu-footer .btn-mobile-faq .icon-svg,
#mobile-menu-overlay .mobile-menu-footer .btn-mobile-settings .icon-svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* Ensure secondary nav icons are vertically centered and spaced */
.secondary-nav { display: flex; align-items: center; gap: 12px; }
.secondary-nav .icon-svg { vertical-align: middle; display: inline-flex; }
.secondary-nav a, .secondary-nav button { margin-left: 8px; }

/* Force icons in theme-picker to be visible (contrast) */
.setting-group .theme-picker button svg,
.setting-group .theme-picker button .icon-svg,
.setting-group .theme-picker button .icon-svg path {
    fill: var(--color-text) !important;
    color: var(--color-text) !important;
}

/* Make FAQ anchor consistent and visible on mobile */
.btn-mobile-faq { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--color-accent); }

/* Small spacing/padding improvements for header buttons */
.btn-header-settings, .btn-header-icon { padding: 6px; border-radius: 6px; }
.btn-header-about { padding: 0.25rem; }

/* Ensure about icon is visible on small screens */
.btn-header-about .icon-svg { width: 1.6rem; height: 1.6rem; }
@media (max-width: 1024px) {
    .btn-header-about { padding: 0.25rem; }
    .btn-header-about .icon-svg { width: 1.6rem; height: 1.6rem; }
}
.color-picker { margin: 20px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.color-dot { width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--bg-card); outline: 2px solid var(--color-text); transition: 0.2s; background-size: cover; background-position: center; }
.color-dot:hover { transform: scale(1.1); }
.color-dot.blue { background-image: url('assets/images/blue.svg'); }
.color-dot.purple { background-image: url('assets/images/purple.svg'); }
.color-dot.red { background-image: url('assets/images/red.svg'); }
.color-dot.yellow { background-image: url('assets/images/yellow.svg'); }
.color-dot.green { background-image: url('assets/images/green.svg'); }

#btn-continuar { margin-top: 2rem; padding: 1rem 3rem; font-size: 1.2rem; font-weight: bold; background-color: var(--color-accent); color: #fff; border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; display: block; margin-left: auto; margin-right: auto; }
#btn-continuar:hover { transform: scale(1.05); box-shadow: 0 5px 15px var(--color-accent); }


/* ======================================================
   4. ESTILO DO SITE PRINCIPAL
   ====================================================== */

/* --- HEADER DINÂMICO --- */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; z-index: 1000; box-sizing: border-box;
    transition: all 0.3s ease;
}
.main-header.transparent { background-color: transparent; box-shadow: none; }
.main-header.scrolled { background-color: var(--bg-card); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.header-logo { height: 60px; width: auto; display: block; }
.main-nav a, .secondary-nav button, .secondary-nav a { text-decoration: none; color: var(--color-subtitle); margin: 0 10px; font-size: 0.9rem; background: none; border: none; cursor: pointer; transition: color 0.2s; }
.main-nav a:hover, .secondary-nav button:hover, .secondary-nav a:hover { color: var(--color-accent); }
.settings-icon { font-size: 1.2rem; }
.btn-header-icon { display: inline-flex; align-items: center; justify-content: center; }

/* --- HERO E AURORA --- */
.immersive-wrapper { position: relative; background-color: var(--bg-page); overflow: hidden; }
/* O Container das Bolas (Fica no fundo) */
.gradients-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    filter: blur(60px);
    z-index: 0; /* <--- MUDE AQUI (Era 0) */
    opacity: 0.6;
    pointer-events: none;
}
/* A MÁGICA DO DEGRADÊ (FADE OUT) */
.gradient-fade-bottom {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 400px; 
    background: linear-gradient(to bottom, transparent 0%, var(--bg-page) 90%);
    z-index: 1; /* <--- MUDE AQUI (Coloque 1) */
    pointer-events: none;
}

/* Hero Content */
.hero-section { 
    min-height: 100vh; /* Tela cheia */
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    position: relative; z-index: 2; 
}
.hero-content-centered { text-align: center; max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-symbol { width: 400px; filter: drop-shadow(0 0 20px rgba(158, 81, 255, 0.5)); animation: floatLogo 6s ease-in-out infinite; }
.hero-slogan { font-family: var(--font-ubuntu), 'Ubuntu', sans-serif; font-size: 3.5rem; font-weight: 700; color: var(--color-title); margin: 0; line-height: 1.1; }
.scroll-indicator { font-size: 2rem; color: var(--color-text); animation: bounceArrow 2s infinite; opacity: 0.7; }

/* Animações */
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes bounceArrow { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
@keyframes moveInCircle { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes moveVertical { 0% { transform: translateY(-50%); } 50% { transform: translateY(50%); } 100% { transform: translateY(-50%); } }
@keyframes moveHorizontal { 0% { transform: translateX(-50%) translateY(-10%); } 50% { transform: translateX(50%) translateY(10%); } 100% { transform: translateX(-50%) translateY(-10%); } }

/* Bolas do Aurora */
.g1 { position: absolute; background: radial-gradient(circle at center, var(--color-accent) 0, transparent 50%) no-repeat; width: 80%; height: 80%; top: calc(50% - 40%); left: calc(50% - 40%); animation: moveVertical 30s ease infinite; }
.g2 { position: absolute; background: radial-gradient(circle at center, var(--color-title) 0, transparent 50%) no-repeat; width: 80%; height: 80%; top: calc(50% - 40%); left: calc(50% - 40%); transform-origin: calc(50% - 400px); animation: moveInCircle 20s reverse infinite; opacity: 0.8; }
.g3 { position: absolute; background: radial-gradient(circle at center, var(--color-accent) 0, transparent 50%) no-repeat; width: 80%; height: 80%; top: calc(50% - 40% + 200px); left: calc(50% - 40% - 500px); transform-origin: calc(50% + 400px); animation: moveInCircle 40s linear infinite; opacity: 0.6; }
.g4 { position: absolute; background: radial-gradient(circle at center, var(--color-subtitle) 0, transparent 50%) no-repeat; width: 60%; height: 60%; top: calc(50% - 30%); left: calc(50% - 30%); transform-origin: calc(50% - 200px); animation: moveHorizontal 40s ease infinite; opacity: 0.4; }
.g5 { position: absolute; background: radial-gradient(circle at center, var(--bg-card) 0, transparent 50%) no-repeat; width: 150%; height: 150%; top: -25%; left: -25%; transform-origin: center; animation: moveInCircle 20s ease infinite; opacity: 0.3; mix-blend-mode: overlay; }

/* --- OUTRAS SEÇÕES --- */
/* Conteúdo (Hero e Recentes) fica no meio */
.hero-section,
.portfolio-section.transparent-bg {
    position: relative;
    z-index: 2; /* <--- MUDE AQUI (Coloque 2) */
    background-color: transparent !important;
}
.category-section:nth-child(even) { background-color: var(--bg-page); }
.section-title { font-size: 3rem; color: var(--color-title); text-align: center; margin-bottom: 4rem; }

/* Banner Ilustrativo de Categoria */
.category-banner {
    width: 100%;
    max-width: 1400px;
    height: auto;
    margin: 0 auto 3rem auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
    /* Fade nos 4 lados */
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
                        linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-composite: source-in;
}

.category-banner:hover {
    transform: scale(1.01);
}

/* Responsivo para banners */
@media (max-width: 768px) {
    .category-banner {
        margin-bottom: 2rem;
        border-radius: 8px;
    }
}

/* Roleta Full Width */
.portfolio-showcase .carousel-placeholder, .portfolio-section .carousel-placeholder { 
    margin-left: -2rem; margin-right: -2rem; width: auto; height: 300px; 
    background-color: rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; 
    color: var(--color-subtitle); font-size: 1.5rem; 
}

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

.service-card { 
    background-color: var(--bg-card); 
    border-radius: 12px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-top: 4px solid var(--color-accent); 
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover { transform: translateY(-5px); }

/* Cards de serviços individuais (com thumbnail) */
.service-card:has(.service-thumbnail) {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Cards de pacotes (estrutura antiga) */
.package-card {
    padding: 1.5rem;
}

.package-card h3 {
    color: var(--color-title);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
}

.package-card .package-items {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.package-card .package-items li {
    padding: 0.3rem 0;
    color: var(--color-text);
}

.package-card .package-items i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.package-card p {
    color: var(--color-title);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
}

.package-card button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.2s;
}

.package-card button:hover {
    filter: brightness(1.1);
}

/* Thumbnail do serviço */
.service-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--color-title), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 3s infinite;
}

.service-thumbnail i {
    font-size: 4rem;
    color: rgba(255,255,255,0.6);
    z-index: 1;
}

/* Imagem de thumbnail para cada card de serviço */
.service-thumbnail img.service-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    display: block;
}

/* Icone de pacote (pequena imagem inline) */
.package-card h3 .icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

/* Icone de pacote quando é uma tag <i> (FontAwesome) */
.package-card h3 i.package-icon-inline {
    font-size: 1.5rem;
    line-height: 1;
    vertical-align: middle;
    color: var(--color-accent);
    margin-right: 8px;
}

/* SVG icons fallback: visible even sem FontAwesome */
.icon-svg {
    width: 1.6rem;
    height: 1.6rem;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: currentColor;
    line-height: 1;
}
.icon-svg.small { width: 1rem; height: 1rem; }

/* Ajustes visuais para o fallback em pacotes */
.package-card h3 .icon {
    margin-right: 8px;
    color: var(--color-accent);
    display: inline-flex;
    vertical-align: middle;
}

/* Ensure header buttons are visible and accessible */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-title);
}

.btn-header-icon, .btn-mobile-faq, .btn-mobile-settings, .btn-header-about, .btn-header-settings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-title);
}

/* Make sure icons in secondary nav are vertically centered */
.secondary-nav .icon-svg { transform: translateY(0.05rem); }

/* Mobile menu footer styling */
#mobile-menu-overlay .mobile-menu-footer .btn-mobile-faq,
#mobile-menu-overlay .mobile-menu-footer .btn-mobile-settings {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid rgba(148,130,23,0.15);
}

#mobile-menu-overlay .mobile-menu-footer .btn-mobile-faq .icon-svg,
#mobile-menu-overlay .mobile-menu-footer .btn-mobile-settings .icon-svg {
    width: 1.2rem; height: 1.2rem;
}


/* Conteúdo do card */
.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 { 
    color: var(--color-title); 
    font-size: 1.1rem; 
    margin: 0 0 0.5rem 0;
}

.service-price {
    color: var(--color-title); 
    font-size: 1.5rem; 
    font-weight: bold; 
    margin: 0.5rem 0;
}

.service-desc { 
    font-size: 0.9rem; 
    color: var(--color-subtitle); 
    margin: 0.5rem 0 1rem 0; 
    display: block; 
    flex: 1;
}

/* Ações do card (botão + info) */
.service-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.service-actions a {
    flex: 1;
}

.service-actions button { 
    width: 100%;
    padding: 0.8rem; 
    background-color: var(--color-accent); 
    color: #fff; 
    border: none; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.2s; 
}

.service-actions button:hover { filter: brightness(1.1); }

/* Ícone de info com tooltip */
.info-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.info-icon:hover {
    transform: scale(1.1);
}

.info-tooltip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    right: 0;
    background-color: var(--bg-card);
    color: var(--color-text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    font-size: 0.85rem;
    line-height: 1.4;
    width: 250px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border: 2px solid var(--color-accent);
}

.info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    border: 8px solid transparent;
    border-top-color: var(--color-accent);
}

.info-icon-wrapper:hover .info-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.footer-section { padding: 5rem 2rem; text-align: center; background-color: var(--bg-card); margin-top: 4rem; }
.footer-section h2 { color: var(--color-title); }
.btn-primary { padding: 0.8rem 1.5rem; border-radius: 8px; font-weight: bold; cursor: pointer; border: none; background-color: var(--color-accent); color: #fff; }

/* Responsividade Mobile */
@media (max-width: 900px) {
    .hero-slogan { font-size: 2.5rem; }
    .main-header { background-color: var(--bg-card) !important; } /* Header sempre sólido no mobile */
    .main-header .main-nav { display: none; } /* Esconde menu no mobile por enquanto */
}

@media (max-width: 768px) {
    .hero-symbol { width: 150px; }
    .hero-slogan { font-size: 1.5rem; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
}

/* ======================================================
   MÓDULO 3: ESTILOS DA PÁGINA DE POSTS (BLOG)
   ====================================================== */

/* --- BARRA DE BUSCA E FILTROS --- */
.filter-section {
    padding: 4rem 5%;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--color-accent);
    text-align: center;
}

.filter-bar {
    max-width: 800px;
    margin: 0 auto;
}

#search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    background-color: var(--bg-page);
    border: 2px solid var(--color-accent);
    border-radius: 50px; /* Redondinho */
    color: var(--color-text);
    outline: none;
    transition: box-shadow 0.3s ease;
}

#search-input:focus {
    box-shadow: 0 0 15px var(--color-accent); /* Glow ao digitar */
}

/* --- TAGS (Pílulas) --- */
.suggested-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    align-items: center;
}

.suggested-tags span {
    font-weight: bold;
    color: var(--color-subtitle);
}

.tag-pill {
    padding: 0.5rem 1.2rem;
    background-color: var(--bg-page);
    color: var(--color-text);
    border: 1px solid var(--color-accent);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* --- GRADE DE POSTS --- */
.post-grid-container {
    padding: 4rem 5%;
    background-color: var(--bg-page);
    min-height: 60vh; /* Garante altura mínima se tiver poucos posts */
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsivo automático */
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- CARD DE POST INDIVIDUAL --- */
.post-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: var(--color-accent); /* Borda colorida no hover */
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 4px solid var(--color-accent);
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    align-self: flex-start;
    margin-right: 0.5rem;
}

.post-sub-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
    opacity: 0.7;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.post-title {
    font-size: 1.4rem;
    color: var(--color-title);
    margin: 0;
    line-height: 1.3;
}

/* Mobile: permitir scroll horizontal nas grids de serviços/pacotes e mostrar indicador de swipe */
@media (max-width: 900px) {
    /* Aplica a qualquer grid que termine com -services-grid ou -packages-grid */
    [id$="-services-grid"], [id$="-packages-grid"] {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.75rem; /* espaço para o hint */
        position: relative;
    }

    [id$="-services-grid"] > .service-card,
    [id$="-packages-grid"] > .service-card {
        flex: 0 0 auto;
        min-width: 240px;
        max-width: 320px;
        scroll-snap-align: start;
    }

    /* Remove barra de rolagem visual em WebKit, mantendo toque */
    [id$="-services-grid"]::-webkit-scrollbar,
    [id$="-packages-grid"]::-webkit-scrollbar {
        height: 8px;
    }
    [id$="-services-grid"]::-webkit-scrollbar-thumb,
    [id$="-packages-grid"]::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
    }

    /* Indicador de swipe (aparecerá via JS quando houver overflow) */
    .swipe-hint {
        position: absolute;
        right: 12px;
        bottom: 8px;
        background: linear-gradient(90deg, rgba(0,0,0,0.0), rgba(0,0,0,0.45));
        color: #fff;
        padding: 6px 10px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        pointer-events: none;
        opacity: 0.95;
        transition: opacity .3s ease;
        z-index: 10;
    }

    .swipe-hint .swipe-chevron {
        display: inline-block;
        transform: rotate(0deg);
        font-size: 1.1rem;
        opacity: 0.95;
    }

    /* Ajustes do onboarding no mobile para garantir botão visível */
    #onboarding-container { width: 95%; padding: 1.25rem; max-width: 640px; }
    .onboarding-title { font-size: 2.2rem; }
    .onboarding-subtitle { font-size: 1rem; margin-bottom: 1rem; }
    .step-wrapper { height: auto; position: relative; padding-bottom: 1.5rem; }
    .onboarding-step { position: relative; transform: none !important; top: auto; left: auto; padding: 0.5rem; }
    #btn-continuar { padding: 0.9rem 1.6rem; font-size: 1rem; }

    /* Tornar as grades de serviços scrolláveis no mobile por classe também
       e reduzir a largura mínima dos cartões para caber melhor em telas pequenas */
    .services-grid, .packages-grid {
        display: flex !important;
        gap: 0.75rem !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.75rem;
    }

    .services-grid > .service-card, .packages-grid > .service-card {
        flex: 0 0 auto !important;
        min-width: 200px !important;
        max-width: 260px !important;
        scroll-snap-align: start;
    }
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--color-subtitle);
    line-height: 1.6;
    margin: 0;
}

.post-tags {
    margin-top: auto; /* Empurra para o final do card */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.post-tags span {
    font-size: 0.8rem;
    color: var(--color-subtitle);
    opacity: 0.7;
    font-style: italic;
}

/* ======================================================
   MÓDULO 4: SETTINGS SIDEBAR (CSS)
   ====================================================== */

/* Fundo Escuro */
#settings-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1900;
    opacity: 0; pointer-events: none; /* Começa invisível */
    transition: opacity 0.3s ease;
}
#settings-backdrop.visible { opacity: 1; pointer-events: all; }

/* A Barra Lateral */
#settings-sidebar {
    position: fixed; top: 0; right: 0;
    width: 300px; height: 100%;
    background-color: var(--bg-card);
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 2000;
    padding: 2rem; box-sizing: border-box;
    
    /* Começa escondida na direita */
    transform: translateX(100%); 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
#settings-sidebar.open { transform: translateX(0); } /* Desliza para dentro */

/* Detalhes internos */
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.sidebar-header h3 { margin: 0; color: var(--color-title); }
#close-settings-btn { font-size: 2rem; background: none; border: none; color: var(--color-text); cursor: pointer; }
.setting-group h4 { color: var(--color-subtitle); margin-bottom: 1rem; }
.setting-group .color-picker { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.setting-group .theme-picker { display: flex; justify-content: center; gap: 1rem; }
.setting-group .theme-picker button { color: var(--color-text); }
body.theme-dark .setting-group .theme-picker button { color: #FFFFFF; }
body.theme-light .setting-group .theme-picker button { color: #000000; }

/* ======================================================
   MÓDULO 5: CARROSSEL (ROLETA)
   ====================================================== */

/* O Container que segura tudo (incluindo as cortinas) */
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden; /* Importante para cortar o que sai */
}

/* As Cortinas de Fade */
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px; /* Largura do fade */
    z-index: 2; /* Fica POR CIMA dos cards */
    pointer-events: none; /* Deixa clicar através */
    transition: opacity 0.3s;
}

/* Cortina Esquerda */
.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-page) 10%, transparent 100%);
}

/* Cortina Direita */
.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-page) 10%, transparent 100%);
}

/* Ajuste para seções com fundo diferente (ex: cards brancos) */
.category-section:nth-child(even) .carousel-wrapper::before {
    background: linear-gradient(to right, var(--bg-page) 10%, transparent 100%);
}
.category-section:nth-child(even) .carousel-wrapper::after {
    background: linear-gradient(to left, var(--bg-page) 10%, transparent 100%);
}

/* Ajuste para a seção transparente (Aurora) */
.linear-gradient .carousel-wrapper::before,
.linear-gradient .carousel-wrapper::after {
    /* Aqui o fade é mais difícil pq o fundo é dinâmico. 
       Vamos deixar sem fade ou usar um truque de opacidade se preferir.
       Por enquanto, removemos para não ficar uma barra sólida feia. */
    display: none; 
}


/* A Lista que Rola (Track) */
.carousel-track {
    display: flex;
    gap: 1.5rem;
    cursor: grab;
    width: max-content; /* O trilho tem o tamanho exato de todos os cards somados */
    will-change: transform; /* Avisa o navegador que vai mover muito (performance) */
    padding: 1rem 2rem; /* Espaço para a sombra não cortar */
    scroll-behavior: smooth;
    user-select: none; /* Impede seleção de texto durante o drag */
    -webkit-user-select: none;
    
    /* Esconde a barra de rolagem feia */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}
.carousel-track.active { cursor: grabbing; }

/* O Card dentro do Carrossel */
.carousel-card {
    min-width: 300px; /* Tamanho fixo do card */
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0; /* Impede que o card encolha */
    user-select: none;
}

.carousel-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: var(--color-accent);
}

.carousel-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--color-accent);
}

.carousel-info {
    padding: 1rem;
}

.carousel-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: var(--color-title);
}

.carousel-date {
    font-size: 0.8rem;
    color: var(--color-subtitle);
    opacity: 0.7;
}

/* Efeito de cursor para a roleta */
.carousel-track {
    cursor: grab; /* Mãozinha aberta */
}
.carousel-track.active {
    cursor: grabbing; /* Mãozinha fechada (segurando) */
}

/* --- NOVO GRUPO ESQUERDO DO HEADER --- */
.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Distância entre o logo e o botão */
}

/* Estilo do botãozinho "Sobre Mim" no header */
.btn-header-about {
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.2rem; /* Menor que o btn-primary normal */
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e o texto */
    transition: transform 0.2s ease, background-color 0.2s;
}

.btn-header-about:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Ajuste responsivo para não quebrar no mobile */
@media (max-width: 1024px) {
    .btn-header-about span {
        display: none; /* Esconde o texto "Sobre Mim" em telas médias, deixa só o ícone */
    }
    .btn-header-about {
        padding: 0.5rem; /* Botão redondinho só com ícone */
        border-radius: 10%;
    }
}

/* ======================================================
   MÓDULO MOBILE (AJUSTES E MENU)
   ====================================================== */

/* 1. Botão Hambúrguer */
.mobile-menu-toggle {
    display: none; /* Escondido no Desktop */
    background: none; border: none;
    color: var(--color-text);
    font-size: 1.8rem;
    cursor: pointer;
}

/* 2. Esconder coisas de Desktop no Mobile */
@media (max-width: 1024px) {
    .desktop-only { display: none !important; }
    .mobile-menu-toggle { display: block; }
    
    /* CORREÇÃO DA TRANSPARÊNCIA (PONTO 1) */
    /* Removemos a regra antiga que forçava cor sólida e permitimos transparência */
    .main-header.transparent { background-color: transparent !important; box-shadow: none !important; }
    .main-header.scrolled { background-color: var(--bg-card) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important; }
}

/* 3. Menu Mobile (Gaveta) */
#mobile-menu-overlay {
    position: fixed; top: 0; right: 0; width: 100%; height: 100%;
    background-color: var(--bg-page);
    z-index: 2100; /* Acima de tudo */
    transform: translateX(100%); /* Escondido na direita */
    transition: transform 0.3s ease;
    display: flex; flex-direction: column;
    padding: 2rem;
    box-sizing: border-box;
}

#mobile-menu-overlay.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1rem;
}
.mobile-menu-title { font-size: 1.5rem; font-weight: bold; color: var(--color-title); }
#close-mobile-menu { background: none; border: none; font-size: 2.5rem; color: var(--color-text); }

.mobile-nav-links {
    display: flex; flex-direction: column; gap: 1.5rem;
    flex-grow: 1; /* Empurra o rodapé para baixo */
    overflow-y: auto;
}
.mobile-link {
    font-size: 1.2rem; color: var(--color-text); text-decoration: none; font-weight: 500;
}

.mobile-menu-footer {
    margin-top: auto; /* Fica no fundo */
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.btn-mobile-settings {
    width: 100%; padding: 1rem;
    background-color: var(--bg-card);
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    border-radius: 10px;
    font-size: 1.1rem; font-weight: bold;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* 4. Remover Fade do Carrossel no Mobile (PONTO 4) */
@media (max-width: 768px) {
    .carousel-wrapper::before,
    .carousel-wrapper::after {
        display: none !important;
    }
    
    /* Ajuste extra para aproveitar a tela */
    .carousel-track { padding: 0; } 
    .carousel-card { min-width: 85vw; } /* Card quase tela cheia no celular */
}

/* Estilos para os cards de Pacote */
.package-items {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    color: var(--color-text);
    font-size: 0.9rem;
    flex-grow: 1; /* Empurra o preço para baixo */
}
.package-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}
.package-items li i {
    color: var(--color-accent); /* Ícone de check */
}

.service-discount {
    color: #2ECC71; /* Verde desconto */
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: -1rem; /* Puxa para perto do preço */
    margin-bottom: 1rem;
}

/* ======================================================
   PÁGINA DE POST INDIVIDUAL
   ====================================================== */
.single-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.single-post-content {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.single-post-header {
    margin-bottom: 2rem;
}

.single-post-title {
    font-size: 3rem;
    color: var(--color-title);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.single-post-meta {
    display: flex;
    gap: 2rem;
    color: var(--color-subtitle);
    font-size: 0.95rem;
    opacity: 0.8;
}

.single-post-featured-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 2rem 0;
}

.single-post-body h2,
.single-post-body h3,
.single-post-body h4 {
    color: var(--color-title);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-body p {
    margin-bottom: 1.5rem;
}

.single-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.single-post-body ul,
.single-post-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.single-post-body li {
    margin-bottom: 0.5rem;
}

.single-post-footer {
    border-top: 1px solid var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px var(--color-accent);
}

/* ======================================================
   SEÇÃO DE COMENTÁRIOS
   ====================================================== */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-accent);
}

.comments-title {
    font-size: 1.8rem;
    color: var(--color-title);
    margin-bottom: 2rem;
}

#comments {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

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

.comment {
    background-color: transparent;
    border: none;
    padding: 0.5rem 0;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: 0;
    border-radius: 0;
    position: relative;
}

.comment:hover {
    background-color: transparent;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.comment-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.comment-author-info {
    flex: 1;
}

.comment-author b {
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.comment-meta {
    font-size: 0.8rem;
    color: var(--color-subtitle);
    opacity: 0.6;
    margin-top: 0.2rem;
    display: inline;
}

.comment-content {
    color: var(--color-text);
    line-height: 1.5;
    margin: 0.8rem 0 1rem 0;
    font-size: 0.95rem;
}

.comment-content p {
    margin: 0 0 0.5rem 0;
}

.reply {
    margin-left: 0;
    margin-top: 1rem;
    padding-left: 0;
    border-left: none;
    opacity: 1;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background-color: transparent;
    color: var(--color-subtitle);
    text-decoration: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.reply a:hover {
    color: var(--color-accent);
    transform: none;
    box-shadow: none;
}

.edit-link {
    margin-left: 0;
}

.edit-link a {
    background-color: transparent;
    color: var(--color-subtitle);
    opacity: 1;
}

.edit-link a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.comment-form-wrapper {
    background-color: rgba(0, 0, 0, 0.02);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.comment-form-wrapper h3 {
    color: var(--color-title);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.comment-form-wrapper .required {
    color: var(--color-accent);
}

.comment-form-wrapper p {
    margin-bottom: 1.5rem;
}

.comment-form-wrapper label {
    display: block;
    color: var(--color-title);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.comment-form-wrapper input[type="text"],
.comment-form-wrapper input[type="email"],
.comment-form-wrapper input[type="url"],
.comment-form-wrapper textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    background-color: var(--bg-card);
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.comment-form-wrapper input[type="text"]:focus,
.comment-form-wrapper input[type="email"]:focus,
.comment-form-wrapper input[type="url"]:focus,
.comment-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(158, 81, 255, 0.3);
    background-color: var(--bg-card);
}

.comment-form-wrapper textarea {
    resize: vertical;
    min-height: 150px;
}

.comment-form-wrapper .form-submit {
    margin-top: 1.5rem;
}

.comment-form-wrapper button[type="submit"] {
    background-color: var(--color-accent);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form-wrapper button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--color-accent);
}

.comment-notes {
    font-size: 0.85rem;
    color: var(--color-subtitle);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.comment-awaiting-moderation {
    background-color: var(--color-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Comentários aninhados (replies) */
.comment .comment {
    margin-left: 2.5rem;
    margin-top: 0.5rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
}

body.theme-dark .comment .comment {
    border-left-color: rgba(255, 255, 255, 0.1);
}

.comment .comment:hover {
    border-left-color: var(--color-accent);
}

.reply-btn {
    display: inline-block;
}

.reply-btn a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 2rem 1rem;
    }

    .single-post-content {
        padding: 1.5rem;
    }

    .single-post-title {
        font-size: 1.8rem;
    }

    .single-post-body {
        font-size: 1rem;
    }

    .single-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ======================================================
   PÁGINA SOBRE MIM / CURRÍCULO
   ====================================================== */

.sobre-mim-page {
    min-height: 100vh;
    background-color: var(--bg-page);
}

.hero-about {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-title) 100%);
    color: white;
}

.hero-about .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

.cv-section {
    padding: 4rem 2rem;
}

.cv-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.cv-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.cv-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Mostra currículo dark apenas no dark mode */
body.theme-dark .cv-dark {
    display: block;
}

body.theme-dark .cv-light {
    display: none;
}

/* Mostra currículo light apenas no light mode */
body:not(.theme-dark) .cv-dark {
    display: none;
}

body:not(.theme-dark) .cv-light {
    display: block;
}

.cv-download {
    text-align: center;
    margin-top: 3rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    background-color: var(--color-title);
}

.btn-download i {
    font-size: 1.2rem;
}

/* Responsivo */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cv-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-about {
        padding: 6rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cv-section {
        padding: 2rem 1rem;
    }

    .cv-container {
        padding: 1rem;
    }

    .btn-download {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}
/* ======================================================
   PÁGINA CV WEB
   ====================================================== */
.cv-page {
    padding-top: 80px;
    background-color: var(--bg-page);
    color: var(--color-text);
}

/* Hero Section */
.cv-hero {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-title) 100%);
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.cv-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.cv-profile-image {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    background: var(--bg-card);
}

.cv-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-hero-text {
    color: white;
}

.cv-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cv-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cv-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cv-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cv-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.cv-contact-item:hover {
    transform: translateY(-2px);
}

.cv-contact-item i {
    font-size: 1.2rem;
}

/* Sections */
.cv-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.cv-section-title {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Timeline */
.cv-timeline {
    position: relative;
    padding-left: 150px;
}

.cv-timeline::before {
    content: '';
    position: absolute;
    left: 70px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
}

.cv-timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.cv-year {
    position: absolute;
    left: -150px;
    top: 0;
    width: 120px;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.cv-year::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 4px solid var(--bg-page);
}

.cv-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cv-content h3 {
    color: var(--color-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.cv-content li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.6;
}

.cv-content li::before {
    /* Usamos uma bolinha via pseudo-elemento para evitar problemas de encoding */
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}

/* Portfolio */
.cv-portfolio-text {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cv-portfolio-link {
    text-align: center;
    margin: 2rem 0;
}

.cv-portfolio-link a {
    font-size: 1.3rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cv-portfolio-link a:hover {
    color: var(--color-title);
    text-decoration: underline;
}

/* Education Grid */
.cv-education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.cv-education-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cv-education-item .cv-year {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}

.cv-education-item h3 {
    color: var(--color-title);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.cv-education-item ul {
    list-style: none;
    padding: 0;
}

.cv-education-item li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.cv-education-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Skills */
.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cv-skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cv-skill-category h3 {
    color: var(--color-title);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cv-skill-category ul {
    list-style: none;
    padding: 0;
}

.cv-skill-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.1);
}

.cv-skill-text {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cv-skill-text h3 {
    color: var(--color-title);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.cv-skill-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cv-software-title {
    font-size: 2rem;
    color: var(--color-accent);
    margin: 3rem 0 2rem;
}

.cv-software-section {
    margin-bottom: 3rem;
}

.cv-software-section h4 {
    color: var(--color-title);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.cv-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.cv-software-item {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cv-software-item:hover {
    transform: translateY(-3px);
}

.software-icon {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.cv-os-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 2.5rem;
}

.cv-os-icon {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cv-os-icon:hover {
    transform: scale(1.2);
}

/* Download Section */
.cv-download-section {
    text-align: center;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-download-cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--color-accent);
    filter: brightness(1.1);
}

.btn-download-cv i {
    font-size: 1.5rem;
}

/* Quote */
.cv-quote {
    text-align: center;
    padding: 3rem 2rem;
    font-style: italic;
    opacity: 0.8;
}

.cv-quote p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cv-quote span {
    font-size: 1rem;
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 900px) {
    .cv-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cv-profile-image {
        margin: 0 auto;
    }

    .cv-contact {
        justify-content: center;
    }

    .cv-timeline {
        padding-left: 100px;
    }

    .cv-year {
        left: -100px;
        width: 80px;
        font-size: 0.8rem;
    }

    .cv-education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cv-name {
        font-size: 2rem;
    }

    .cv-title {
        font-size: 1rem;
    }

    .cv-section-title {
        font-size: 2rem;
    }

    .cv-timeline {
        padding-left: 0;
    }

    .cv-timeline::before {
        left: 10px;
    }

    .cv-year {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .cv-year::after {
        display: none;
    }

    .cv-software-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Estilos para logos de software */
.cv-software-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.cv-software-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cv-os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 2rem;
}

.cv-os-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.cv-os-item:hover {
    transform: translateY(-3px);
}

.cv-os-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0.9);
}

/* Dark mode: inverter logos pretos */
body.theme-dark .cv-os-item img[alt="macOS"],
body.theme-dark .cv-software-item img[alt="LibreOffice"],
body.theme-dark .cv-software-item img[alt="Impress"] {
    filter: invert(1) brightness(0.9);
}

/* ======================================================
   FAQ PAGE STYLES
   ====================================================== */

.faq-page {
    background-color: var(--bg-page);
    min-height: 100vh;
    padding-top: 80px;
}

.faq-hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-title) 100%);
    color: white;
}

.faq-main-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
}

.faq-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    color: white;
}

.faq-content {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-title);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-accent);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
}

.faq-answer-content p {
    margin: 0 0 1rem 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.faq-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.faq-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.nota-fiscal-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.quote-box {
    background-color: rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-accent);
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--color-subtitle);
}

body.theme-dark .quote-box {
    background-color: rgba(255,255,255,0.05);
}

/* Responsivo FAQ */
@media (max-width: 768px) {
    .faq-main-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 2rem 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-links {
        flex-direction: column;
    }
    
    .faq-link {
        text-align: center;
    }
}

/* ======================================================
   MÓDULO: PÁGINA DE SERVIÇOS
   ====================================================== */

.services-page-wrapper {
    background-color: var(--bg-page);
    min-height: 100vh;
}

/* Hero Section da Página de Serviços */
.services-hero-section {
    background: linear-gradient(135deg, var(--color-title), var(--color-accent));
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.services-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 300;
}

/* Seções de Categoria de Serviços */
.service-category-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-category-section:nth-child(even) {
    background-color: rgba(0,0,0,0.02);
}

body.theme-dark .service-category-section:nth-child(even) {
    background-color: rgba(255,255,255,0.02);
}

.service-category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-category-header .section-title {
    font-size: 2.5rem;
    color: var(--color-title);
    margin-bottom: 1rem;
}

/* Responsivo para Página de Serviços */
@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.2rem;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .service-category-header .section-title {
        font-size: 2rem;
    }
    
    /* Tooltip em mobile aparece acima */
    .info-tooltip {
        width: 220px;
        font-size: 0.8rem;
    }
}

/* Placeholder de Imagem para Front Page */
.category-image-placeholder {
    width: auto;
    max-width: 280px;
    height: auto;
    margin: 2rem auto 5rem auto;
    background: linear-gradient(135deg, var(--color-title), var(--color-accent));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-image-placeholder:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.category-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 4s infinite;
}

.category-image-placeholder i {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    z-index: 1;
    margin-bottom: 0;
}

.category-image-placeholder .placeholder-text {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

@media (max-width: 768px) {
    .category-image-placeholder {
        max-width: 240px;
        padding: 0.85rem 1.75rem;
        margin: 1.5rem auto 4rem auto;
        border-radius: 40px;
    }
    
    .category-image-placeholder i {
        font-size: 1.25rem;
    }
    
    .category-image-placeholder .placeholder-text {
        font-size: 0.9rem;
    }
}
