/* ==========================================================================
   CSS GLOBAL & SISTEMA DE DESIGN - ADVOCACIA PREMIUM SANDRA FERREIRA
   ========================================================================== */

/* Importação de Fontes Premium do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Variáveis do Sistema de Design (Tokens de Estilo) */
:root {
    /* Cores Principais */
    --color-petroleo: #0d2c3a;
    --color-verde: #0e3127;
    --color-dourado: #c5a880;
    --color-dourado-hover: #b89047;
    --color-grafite: #2d3748;
    --color-grafite-suave: #4a5568;
    
    /* Neutros */
    --color-offwhite: #f8fafc;
    --color-offwhite-deep: #f1f5f9;
    --color-white: #ffffff;
    --color-glass-bg: rgba(255, 255, 255, 0.85);
    --color-glass-border: rgba(197, 168, 128, 0.15);
    
    /* Tipografia */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 7rem;
    
    /* Efeitos */
    --shadow-subtle: 0 4px 20px rgba(13, 44, 58, 0.04);
    --shadow-medium: 0 10px 30px rgba(13, 44, 58, 0.08);
    --shadow-premium: 0 20px 50px rgba(13, 44, 58, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-offwhite);
    color: var(--color-grafite);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tipografia de Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-petroleo);
    font-weight: 600;
    line-height: 1.25;
}

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

p {
    color: var(--color-grafite-suave);
    font-weight: 400;
}

/* utilitários de contêiner */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xxl) 0;
}

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

/* ==========================================================================
   COMPONENTES GLOBAIS
   ========================================================================== */

/* Botões Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-primary:visited {
    background-color: var(--color-petroleo);
    color: var(--color-white) !important;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--color-verde);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    text-decoration: none !important;
}

.btn-secondary,
.btn-secondary:visited {
    background-color: transparent;
    color: var(--color-petroleo) !important;
    border: 1px solid var(--color-dourado);
    text-decoration: none !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--color-dourado);
    color: var(--color-white) !important;
    border-color: var(--color-dourado);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.btn-whatsapp,
.btn-whatsapp:visited {
    background-color: #25d366;
    color: var(--color-white) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
    background-color: #20ba5a;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none !important;
}

.btn-danger,
.btn-danger:visited {
    background-color: #e53e3e;
    color: var(--color-white) !important;
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
    text-decoration: none !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #c53030;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 62, 62, 0.4);
    text-decoration: none !important;
}

.whatsapp-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Botão de WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: transparent;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(37, 211, 102, 0.45));
}

.whatsapp-float-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #e53e3e;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(229, 62, 62, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

/* Títulos de Seção Premium */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl) auto;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dourado);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-dourado);
}

.section-description {
    font-size: 1.1rem;
}

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

/* ==========================================================================
   HEADER / MENU FIXO (GLASSMORPHISM)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 80px;
    background-color: var(--color-glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-subtle);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo elegante */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-petroleo);
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-dourado);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-top: 2px;
    transition: var(--transition-smooth);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-grafite);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-dourado);
    transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--color-petroleo);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

.header-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

/* Hamburger mobile button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-petroleo);
    margin-bottom: 6px;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle span:last-child {
    margin-bottom: 0;
}

/* Hamburger Ativo */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu responsivo mobile */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -10px 0 40px rgba(0,0,0,0.05);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: var(--spacing-xl);
        gap: var(--spacing-md);
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .header-cta {
        display: none; /* Em telas menores, o cta vai para o menu mobile ou flutuante */
    }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 130px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #eaf0f2 100%);
    position: relative;
    overflow: hidden;
}

/* Detalhe de Fundo Sutil */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 640px;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dourado);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 1px;
    background-color: var(--color-dourado);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-petroleo);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Espaço Reservado Premium para Foto */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 520px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background-color: var(--color-white);
    border: 1px solid var(--color-glass-border);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center;
    transition: var(--transition-smooth);
}

.hero-image-card:hover .hero-image {
    transform: scale(1.03);
}

/* Moldura Decorativa sutil dourada */
.hero-image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1px solid rgba(197, 168, 128, 0.4);
    pointer-events: none;
    z-index: 2;
}

/* Selo Flutuante de Credibilidade */
.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--color-white);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    border-left: 4px solid var(--color-dourado);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.hero-badge-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-petroleo);
    font-weight: 700;
    line-height: 1;
}

.hero-badge-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-grafite-suave);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 140px;
        padding-bottom: var(--spacing-xl);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-tag {
        justify-content: center;
    }
    .hero-tag::before {
        display: none;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-card {
        height: 460px;
        margin: 0 auto;
    }
    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 80%;
        text-align: center;
    }
}

/* ==========================================================================
   SEÇÕES DA HOME
   ========================================================================== */

/* Cards de Áreas de Atuação */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.area-card {
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(13, 44, 58, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-glass-border);
}

.area-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--color-petroleo);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-smooth);
}

.area-card:hover .area-icon-container {
    background-color: var(--color-petroleo);
    color: var(--color-white);
}

.area-card-title {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
}

.area-card-desc {
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

/* Lista de Serviços nos cards */
.area-services-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    margin-top: auto;
}

.area-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-grafite);
    border-bottom: 1px solid var(--color-offwhite-deep);
}

.area-service-item:last-child {
    border-bottom: none;
}

.area-service-item svg {
    color: var(--color-dourado);
    flex-shrink: 0;
}

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

/* Bloco de Autoridade (Sobre) */
.authority-bg {
    background-color: var(--color-white);
    position: relative;
}

.authority-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.authority-image-container {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-medium);
}

.authority-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authority-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dourado);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.authority-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.authority-desc {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
}

/* Grid de Pilares de Diferencial */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.pillar-item {
    display: flex;
    gap: 1rem;
}

.pillar-icon {
    color: var(--color-dourado);
    flex-shrink: 0;
    margin-top: 4px;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--color-petroleo);
}

.pillar-desc {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }
    .authority-image-container {
        height: 380px;
    }
}

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

/* Seção Como Funciona (Fluxo Visual) */
.flow-bg {
    background-color: var(--color-offwhite-deep);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    position: relative;
}

/* Conectores lineares entre etapas */
.flow-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: rgba(197, 168, 128, 0.3);
    z-index: 1;
}

.flow-item {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(197, 168, 128, 0.05);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.flow-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-glass-border);
}

.flow-number {
    width: 54px;
    height: 54px;
    background-color: var(--color-petroleo);
    color: var(--color-dourado);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md) auto;
    border: 2px solid var(--color-dourado);
}

.flow-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.flow-desc {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    .flow-grid::before {
        display: none;
    }
}

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

/* Seção FAQ (Accordions) */
.faq-container {
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(13, 44, 58, 0.02);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(197, 168, 128, 0.25);
}

.faq-question-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-petroleo);
    font-weight: 600;
}

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

/* Estado ativo do Accordion */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    font-size: 0.95rem;
    color: var(--color-grafite-suave);
    border-top: 1px solid var(--color-offwhite-deep);
    padding-top: var(--spacing-sm);
}

/* Call to Action Final */
.cta-banner {
    background: linear-gradient(135deg, var(--color-petroleo) 0%, var(--color-verde) 100%);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.05) 0%, rgba(0,0,0,0) 75%);
    z-index: 1;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.cta-banner-title {
    font-size: 2.75rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cta-banner-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .cta-banner-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */

/* Header da Página Interna */

/* Correção de Legibilidade do Header em Páginas Internas (Fundo Escuro da page-header) */
body:has(.page-header) .header:not(.scrolled) .logo-main {
    color: var(--color-white);
}

body:has(.page-header) .header:not(.scrolled) .logo-sub {
    color: rgba(255, 255, 255, 0.75);
}

body:has(.page-header) .header:not(.scrolled) .mobile-nav-toggle:not(.active) span {
    background-color: var(--color-white);
}

@media (min-width: 992px) {
    body:has(.page-header) .header:not(.scrolled) .nav-link {
        color: rgba(255, 255, 255, 0.9);
    }
    body:has(.page-header) .header:not(.scrolled) .nav-link:hover,
    body:has(.page-header) .header:not(.scrolled) .nav-link.active {
        color: var(--color-white);
    }
}

.page-header {
    background: linear-gradient(135deg, var(--color-petroleo) 0%, var(--color-verde) 100%);
    color: var(--color-white);
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.07) 0%, rgba(255,255,255,0) 80%);
    pointer-events: none;
}

.page-header-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.breadcrumbs {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
    color: var(--color-dourado);
}

.breadcrumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .page-header {
        padding: 130px 0 60px 0;
    }
    .page-header-title {
        font-size: 2.25rem;
    }
}

/* Estilo para Página Sobre (sobre.html) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.about-content h3:first-of-type {
    margin-top: 0;
}

.about-portrait-card {
    position: relative;
    height: 560px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-glass-border);
}

.about-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center;
}

.about-philosophies {
    margin-top: var(--spacing-xl);
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.philosophy-card svg {
    color: var(--color-dourado);
    margin-bottom: var(--spacing-sm);
}

.philosophy-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.philosophy-card-desc {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-portrait-card {
        height: 450px;
    }
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilo para Detalhe de Áreas de Atuação (previdenciario.html & saude.html) */
.services-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--spacing-xl);
}

.services-main-content h3 {
    font-size: 1.75rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.services-main-content h3:first-of-type {
    margin-top: 0;
}

.services-main-content p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

/* Bloco Informativo de Destaque */
.info-highlight-box {
    background-color: rgba(197, 168, 128, 0.08);
    border-left: 4px solid var(--color-dourado);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-highlight-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-petroleo);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.info-highlight-desc {
    font-size: 0.95rem;
    margin-bottom: 0 !important;
}

/* Sidebar de Serviços */
.services-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-card {
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(13, 44, 58, 0.03);
}

.sidebar-title {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--color-dourado);
}

.sidebar-links {
    list-style: none;
}

.sidebar-link-item {
    border-bottom: 1px solid var(--color-offwhite-deep);
}

.sidebar-link-item:last-child {
    border-bottom: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    font-size: 0.95rem;
    color: var(--color-grafite-suave);
    font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--color-dourado);
    padding-left: 5px;
}

.sidebar-cta-card {
    background: linear-gradient(135deg, var(--color-petroleo) 0%, var(--color-verde) 100%);
    color: var(--color-white);
    text-align: center;
}

.sidebar-cta-card .sidebar-title {
    color: var(--color-white);
}

.sidebar-cta-card .sidebar-title::after {
    background-color: var(--color-dourado);
}

.sidebar-cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 991px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    .services-sidebar {
        position: static;
    }
}

/* ==========================================================================
   BLOG JURÍDICO (blog.html)
   ========================================================================== */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.blog-cat-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-offwhite-deep);
    color: var(--color-grafite-suave);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
    background-color: var(--color-petroleo);
    border-color: var(--color-petroleo);
    color: var(--color-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(13, 44, 58, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-glass-border);
}

.blog-card-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-white);
    color: var(--color-dourado);
    padding: 0.35rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
}

.blog-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--color-dourado);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.blog-card-title {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-card-title a:hover,
.blog-card:hover .blog-card-title a {
    color: var(--color-dourado);
}

.blog-card-desc {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.blog-card-more {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-petroleo);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.blog-card-more svg {
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-more svg {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   PÁGINA CONTATO (contato.html)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--spacing-xl);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info-block {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
    border-left: 4px solid var(--color-dourado);
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: var(--spacing-sm);
}

.contact-details {
    list-style: none;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

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

.contact-detail-icon {
    color: var(--color-dourado);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-detail-text {
    font-size: 0.95rem;
}

.contact-detail-text strong {
    color: var(--color-petroleo);
    display: block;
}

/* Formulário de Contato Premium */
.contact-form-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-glass-border);
}

.contact-form-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.contact-form-desc {
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-petroleo);
    margin-bottom: 6px;
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--color-offwhite-deep);
    background-color: var(--color-offwhite);
    border-radius: var(--radius-sm);
    color: var(--color-grafite);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-dourado);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Feedback do Formulário */
.form-feedback {
    display: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background-color: rgba(37, 211, 102, 0.1);
    color: #1e7e34;
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.form-feedback.error {
    display: block;
    background-color: rgba(229, 62, 62, 0.1);
    color: #c53030;
    border: 1px solid rgba(229, 62, 62, 0.25);
}

/* Mapa simulado premium */
.map-container {
    width: 100%;
    height: 350px;
    background-color: #e2e8f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.map-placeholder-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
    background-image: radial-gradient(#cbd5e1 20%, transparent 20%), radial-gradient(#cbd5e1 20%, transparent 20%);
    background-size: 15px 15px;
    background-position: 0 0, 7.5px 7.5px;
}

.map-card {
    background-color: var(--color-white);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-glass-border);
    max-width: 320px;
}

.map-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-petroleo);
    margin-bottom: 4px;
}

.map-card-address {
    font-size: 0.85rem;
    color: var(--color-grafite-suave);
    margin-bottom: var(--spacing-sm);
}

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

@media (max-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FOOTER (RODAPÉ PREMIUM)
   ========================================================================== */
.footer {
    background-color: #0b1a22;
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--spacing-xxl);
    border-top: 1px solid rgba(197, 168, 128, 0.1);
}

.footer-top {
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: var(--spacing-xl);
}

.footer-brand .logo-main {
    color: var(--color-white);
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    max-width: 280px;
}

.footer-social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-link:hover {
    background-color: var(--color-dourado);
    color: var(--color-white);
    border-color: var(--color-dourado);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-dourado);
}

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

.footer-link-item {
    margin-bottom: 0.75rem;
}

.footer-link-item a:hover {
    color: var(--color-dourado);
    padding-left: 3px;
}

.footer-contact-details {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    color: var(--color-dourado);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Rodapé Bottom e Direitos */
.footer-bottom {
    padding: var(--spacing-md) 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

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

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   ANIMAÇÕES E TRANSIÇÕES GLOBAIS (SCROLL REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   MELHORIAS DE USABILIDADE E LINKS DE NAVEGAÇÃO
   ========================================================================== */
.footer-phone-link {
    color: var(--color-light, #f8f9fa);
    text-decoration: none;
    transition: color var(--transition-fast, 0.2s) ease;
}

.footer-phone-link:hover {
    color: var(--color-dourado);
}

.footer-navigation-apps {
    display: flex;
    gap: 0.75rem;
    margin-left: calc(18px + 0.75rem);
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.footer-nav-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 4px;
    background-color: rgba(212, 175, 55, 0.04);
    transition: all 0.2s ease;
}

.footer-nav-app-link svg {
    color: var(--color-dourado) !important;
    margin-top: 0 !important;
}

.footer-nav-app-link:hover {
    color: #ffffff;
    border-color: var(--color-dourado);
    background-color: rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   ÁREA DE GESTÃO DO BLOG & PORTAL CMS (ADMIN PANEL)
   ========================================================================== */

.admin-body {
    background-color: var(--color-offwhite-deep);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 1. Tela de Login */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: radial-gradient(circle at 10% 20%, rgba(13, 44, 58, 0.95) 0%, rgba(14, 49, 39, 0.98) 90%);
}

.admin-login-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 460px;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.admin-login-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.admin-logo-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-petroleo);
    line-height: 1.1;
}

.admin-logo-sub {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-dourado);
    margin-top: 0.25rem;
    margin-bottom: var(--spacing-sm);
}

.admin-login-title {
    font-size: 1.4rem;
    color: var(--color-petroleo);
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
}

.admin-login-subtitle {
    font-size: 0.85rem;
    color: var(--color-grafite-suave);
    max-width: 320px;
    margin: 0 auto;
}

.admin-login-form {
    margin-bottom: var(--spacing-md);
}

.admin-login-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    padding: 0.75rem var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
    animation: shake-anim 0.4s ease;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 3rem !important;
}

.toggle-password-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-grafite-suave);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.toggle-password-btn:hover {
    color: var(--color-dourado);
}

.btn-full-width {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.admin-login-footer {
    text-align: center;
    margin-top: var(--spacing-sm);
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-grafite-suave);
    font-weight: 600;
}

.admin-back-link:hover {
    color: var(--color-dourado);
    transform: translateX(-3px);
}

/* 2. Dashboard Header */
.admin-dash-header {
    background-color: var(--color-petroleo);
    border-bottom: 2px solid var(--color-dourado);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-dash-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-dash-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-dash-brand .logo-main {
    color: var(--color-white) !important;
    font-size: 1.4rem;
}

.admin-dash-brand .logo-sub {
    color: var(--color-dourado);
    font-size: 0.65rem;
}

.admin-dash-indicator {
    background-color: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--color-dourado);
    color: var(--color-dourado);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* 3. Dashboard Main Layout */
.admin-dash-main {
    flex: 1;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    flex-direction: column;
    align-items: stretch;
}

.admin-dash-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.admin-dash-welcome h2 {
    font-size: 1.8rem;
    color: var(--color-petroleo);
    margin-bottom: 0.25rem;
}

.admin-dash-welcome p {
    font-size: 0.95rem;
    color: var(--color-grafite-suave);
}

/* 4. Tabela Administrativa */
.admin-table-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    border: 1px solid rgba(13, 44, 58, 0.05);
}

.admin-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.admin-table th {
    background-color: rgba(13, 44, 58, 0.02);
    color: var(--color-petroleo);
    font-weight: 700;
    padding: 1.1rem 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(13, 44, 58, 0.08);
}

.admin-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(13, 44, 58, 0.05);
    vertical-align: middle;
    font-size: 0.9rem;
    color: var(--color-grafite);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: rgba(197, 168, 128, 0.015);
}

/* Celular de Tabela com Imagem */
.admin-table-image-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-table-image-cell img {
    width: 70px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(13, 44, 58, 0.05);
}

.admin-table-post-title {
    display: block;
    font-weight: 700;
    color: var(--color-petroleo);
    font-size: 0.95rem;
    line-height: 1.3;
}

.admin-table-post-slug {
    display: block;
    font-size: 0.75rem;
    color: var(--color-grafite-suave);
    font-family: monospace;
    margin-top: 0.15rem;
}

/* Badges Administrativas */
.admin-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

.admin-badge.badge-prev {
    background-color: rgba(13, 44, 58, 0.08);
    color: var(--color-petroleo);
}

.admin-badge.badge-saude {
    background-color: rgba(14, 49, 39, 0.08);
    color: var(--color-verde);
}

.admin-badge.badge-static {
    background-color: rgba(197, 168, 128, 0.15);
    color: #a47e4b;
    border: 1px dashed rgba(197, 168, 128, 0.5);
}

.admin-badge.badge-custom {
    background-color: rgba(0, 123, 255, 0.08);
    color: #007bff;
}

/* Ações da Tabela */
.admin-table-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-action-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.edit-btn {
    background-color: var(--color-offwhite-deep);
    color: var(--color-petroleo);
    border-color: rgba(13, 44, 58, 0.1);
}

.edit-btn:hover {
    background-color: var(--color-petroleo);
    color: var(--color-white);
}

.delete-btn {
    background-color: rgba(220, 53, 69, 0.05);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.1);
}

.delete-btn:hover:not(:disabled) {
    background-color: #dc3545;
    color: var(--color-white);
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #f1f5f9 !important;
    color: var(--color-grafite-suave) !important;
    border-color: #e2e8f0 !important;
}

/* 5. Estilização do Modal de Cadastro/Edição */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 44, 58, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--spacing-md);
}

.admin-modal-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-dourado);
    display: flex;
    flex-direction: column;
}

.admin-modal-header {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid rgba(13, 44, 58, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 44, 58, 0.01);
}

.admin-modal-header h2 {
    font-size: 1.5rem;
    color: var(--color-petroleo);
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-grafite-suave);
    line-height: 1;
    transition: var(--transition-smooth);
}

.admin-modal-close:hover {
    color: var(--color-dourado);
}

.admin-modal-form {
    padding: var(--spacing-lg);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-petroleo);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.form-group label .required {
    color: #dc3545;
}

.label-hint {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--color-grafite-suave);
}

.form-label-desc {
    font-size: 0.8rem;
    color: var(--color-grafite-suave);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(13, 44, 58, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--color-offwhite);
    color: var(--color-grafite);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-dourado);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.input-error {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.02) !important;
}

.sub-label {
    font-weight: 600 !important;
    color: var(--color-grafite-suave) !important;
    font-size: 0.8rem !important;
    margin-top: 0.35rem;
}

/* 6. Visual Image Picker Premium */
.visual-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: 0.5rem;
}

@media (max-width: 580px) {
    .visual-picker-grid {
        grid-template-columns: 1fr;
    }
}

.picker-tile {
    border: 2px solid rgba(13, 44, 58, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    background-color: var(--color-offwhite);
    text-align: center;
    position: relative;
}

.picker-tile-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Aspect ratio 5:3 */
    overflow: hidden;
    border-bottom: 1px solid rgba(13, 44, 58, 0.05);
}

.picker-tile-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.picker-tile-title {
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-petroleo);
}

.picker-tile:hover {
    border-color: rgba(197, 168, 128, 0.5);
    transform: translateY(-2px);
}

.picker-tile:hover img {
    transform: scale(1.05);
}

.picker-tile.selected {
    border-color: var(--color-dourado);
    background-color: rgba(197, 168, 128, 0.05);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

.picker-tile.selected .picker-tile-title {
    color: var(--color-dourado-hover);
}

.picker-tile.selected::after {
    content: "✓";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--color-dourado);
    color: var(--color-white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 6.1. Custom Media Upload Zone (Premium Style) */
.form-custom-upload-group {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.upload-zone {
    border: 2px dashed rgba(197, 168, 128, 0.4);
    background-color: rgba(13, 44, 58, 0.02);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.upload-zone:hover {
    border-color: var(--color-dourado);
    background-color: rgba(197, 168, 128, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.1);
}

.upload-icon {
    color: var(--color-dourado);
    transition: transform 0.3s ease;
}

.upload-zone:hover .upload-icon {
    transform: translateY(-3px);
}

.upload-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-petroleo);
}

/* Upload Preview Box */
.upload-preview-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 168px; /* Mantém proporção próxima de 5:3 */
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 0.5rem;
    border: 2px solid var(--color-dourado);
    box-shadow: var(--shadow-medium);
}

.upload-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(220, 53, 69, 0.9);
    color: var(--color-white);
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    line-height: 1;
    transition: all 0.2s ease;
    padding: 0;
}

.upload-preview-remove:hover {
    background-color: #dc3545;
    transform: scale(1.1);
}

.form-custom-url-group {
    background-color: rgba(13, 44, 58, 0.02);
    border: 1px dashed rgba(13, 44, 58, 0.1);
    padding: 0.75rem var(--spacing-sm);
    border-radius: var(--radius-md);
    margin-top: 0.25rem;
}

.admin-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(13, 44, 58, 0.08);
}

/* 7. Toasts Administrativos Premium */
.admin-toast {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-petroleo);
    color: var(--color-white);
    padding: 0.9rem 2.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
    border: 1px solid var(--color-dourado);
}

.admin-toast.active {
    bottom: 30px;
}

.admin-toast.success {
    background: linear-gradient(135deg, var(--color-petroleo) 0%, var(--color-verde) 100%);
}

.admin-toast.error {
    background: #dc3545;
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-toast.info {
    background: var(--color-grafite);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Animações e Transições Auxiliares */
@keyframes shake-anim {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.shake-anim {
    animation: shake-anim 0.4s ease;
}

.fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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


/* ==========================================================================
   PÁGINA DEDICADA DO LEITOR DE ARTIGO (ARTIGO.HTML)
   ========================================================================== */

.article-reader-body {
    background-color: var(--color-offwhite);
}

.article-nav-sec {
    padding-top: var(--spacing-xxl);
    padding-bottom: 0.5rem;
    background-color: var(--color-offwhite);
}

.article-main-container {
    padding-bottom: var(--spacing-xxl);
}

@media (max-width: 768px) {
    .article-nav-sec {
        padding-top: var(--spacing-xl);
    }
    .article-main-container {
        padding-bottom: var(--spacing-xl);
    }
}

/* Container de Estados (Loading, Erros) */
.article-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    gap: var(--spacing-md);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(197, 168, 128, 0.15);
    border-top-color: var(--color-dourado);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.article-error-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    max-width: 580px;
    margin: var(--spacing-lg) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.article-error-card svg {
    color: var(--color-dourado);
}

.article-error-card h2 {
    font-size: 1.8rem;
    color: var(--color-petroleo);
}

.article-error-card p {
    font-size: 0.95rem;
    color: var(--color-grafite-suave);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

/* Leitor do Conteúdo Principal */
.article-reader-content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(13, 44, 58, 0.03);
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    overflow: hidden;
    margin-top: var(--spacing-sm);
}

@media (max-width: 768px) {
    .article-reader-content {
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
        border-radius: var(--radius-md);
    }
}

.article-reader-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto var(--spacing-lg);
}

.article-category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.article-reader-title {
    font-size: 2.5rem;
    color: var(--color-petroleo);
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .article-reader-title {
        font-size: 1.85rem;
    }
}

.article-meta-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    border-top: 1px solid rgba(13, 44, 58, 0.05);
    border-bottom: 1px solid rgba(13, 44, 58, 0.05);
    padding: var(--spacing-sm) 0;
    margin-top: var(--spacing-md);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.meta-author img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-dourado);
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-petroleo);
    line-height: 1.2;
}

.author-subtitle {
    display: block;
    font-size: 0.7rem;
    color: var(--color-grafite-suave);
}

.meta-date-read {
    font-size: 0.8rem;
    color: var(--color-grafite-suave);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-separator {
    color: var(--color-dourado);
}

/* Banner de Leitura */
.article-reader-banner {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(13, 44, 58, 0.04);
}

.article-reader-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Corpo do Artigo Otimizado para Leitura (UX Premium) */
.article-body-content {
    max-width: 720px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.125rem; /* Tamanho confortável para leitura contínua (18px) */
    line-height: 1.85; /* Entrelinha relaxante */
    color: var(--color-grafite);
}

.article-body-content p {
    margin-bottom: var(--spacing-md);
    color: var(--color-grafite);
}

.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
    color: var(--color-petroleo);
    margin-top: var(--spacing-lg);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.article-body-content h3 {
    font-size: 1.5rem;
    border-left: 3px solid var(--color-dourado);
    padding-left: 0.75rem;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-body-content li {
    font-size: 1.05rem;
}

.article-body-content li strong {
    color: var(--color-petroleo);
}

/* Bloco Quote de Destaque */
.premium-quote {
    background-color: rgba(197, 168, 128, 0.04);
    border-left: 4px solid var(--color-dourado);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-petroleo);
}

.premium-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dourado-hover);
    margin-top: 0.75rem;
    font-style: normal;
}

/* Rodapé de Conversão */
.article-reader-footer {
    border-top: 1px solid rgba(13, 44, 58, 0.08);
    padding-top: var(--spacing-lg);
    max-width: 720px;
    margin: 0 auto;
}

.article-cta-box {
    background: radial-gradient(circle at top left, rgba(13, 44, 58, 0.02) 0%, rgba(197, 168, 128, 0.05) 100%);
    border: 1px solid var(--color-glass-border);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-subtle);
    margin-bottom: var(--spacing-lg);
}

.article-cta-title {
    font-size: 1.45rem;
    color: var(--color-petroleo);
    margin-bottom: 0.5rem;
}

.article-cta-desc {
    font-size: 0.95rem;
    color: var(--color-grafite-suave);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto var(--spacing-md);
}

/* Card do Autor */
.article-author-bio-card {
    background-color: var(--color-offwhite);
    border: 1px solid rgba(13, 44, 58, 0.04);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 640px) {
    .article-author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }
}

.bio-author-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-dourado);
    box-shadow: var(--shadow-subtle);
    flex-shrink: 0;
}

.bio-author-content h4 {
    font-size: 1.15rem;
    color: var(--color-petroleo);
    margin-bottom: 0.15rem;
}

.bio-author-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dourado-hover);
    display: block;
    margin-bottom: 0.5rem;
}

.bio-author-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-grafite-suave);
}

.article-back-to-blog-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ==========================================
   PLAYER DE ÁUDIO PREMIUM (TTS ACCESSIBILITY)
   ========================================== */
.article-audio-player {
    background: rgba(13, 44, 58, 0.03);
    border: 1px solid rgba(13, 44, 58, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 2rem 0;
    transition: var(--transition-smooth);
}

.article-audio-player:hover {
    background: rgba(13, 44, 58, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.player-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-petroleo);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.player-btn:hover:not(:disabled) {
    background-color: var(--color-petroleo-suave);
    transform: scale(1.05);
}

.player-btn:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.player-btn.btn-stop {
    background-color: var(--color-white);
    color: var(--color-petroleo);
    border: 1px solid rgba(13, 44, 58, 0.15);
}

.player-btn.btn-stop:hover:not(:disabled) {
    background-color: #f8fafc;
    color: #ef4444;
    border-color: #ef4444;
}

.player-info {
    flex-grow: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.player-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-petroleo);
    font-family: var(--font-heading);
}

.player-progress-bar-container {
    height: 6px;
    background-color: rgba(13, 44, 58, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.player-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-petroleo), var(--color-dourado));
    border-radius: 3px;
    transition: width 0.1s linear;
}

.player-speed {
    display: flex;
    align-items: center;
}

.speed-select {
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(13, 44, 58, 0.15);
    background-color: var(--color-white);
    color: var(--color-petroleo);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.speed-select:hover {
    border-color: var(--color-dourado);
    background-color: rgba(212, 175, 55, 0.02);
}

.speed-select:focus {
    border-color: var(--color-petroleo);
}

@media (max-width: 576px) {
    .player-controls {
        gap: 0.75rem;
    }
    .player-info {
        width: 100%;
        order: 3;
    }
    .player-speed {
        margin-left: auto;
    }
}

/* ==========================================
   SKELETON LOADERS (EXPERIÊNCIA PREMIUM DE CARREGAMENTO)
   ========================================== */
.skeleton-card {
    pointer-events: none;
    background: var(--color-white);
    border: 1px solid rgba(13, 44, 58, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-subtle);
}

.skeleton-image {
    height: 220px;
    background: linear-gradient(90deg, rgba(13, 44, 58, 0.03) 25%, rgba(13, 44, 58, 0.08) 50%, rgba(13, 44, 58, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.6s infinite ease-in-out;
}

.skeleton-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, rgba(13, 44, 58, 0.03) 25%, rgba(13, 44, 58, 0.08) 50%, rgba(13, 44, 58, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.6s infinite ease-in-out;
    border-radius: var(--radius-sm);
}

.skeleton-title {
    height: 22px;
    width: 85%;
    margin-bottom: 0.5rem;
}

.skeleton-desc-1 { width: 100%; }
.skeleton-desc-2 { width: 92%; }
.skeleton-desc-3 { width: 45%; margin-bottom: 1rem; }

.skeleton-button {
    height: 16px;
    width: 80px;
    margin-top: auto;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================
   BARRA DE PESQUISA PREMIUM (BLOG)
   ========================================== */
.blog-search-wrapper {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    padding: 0 var(--spacing-sm);
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 1px solid rgba(13, 44, 58, 0.12);
    border-radius: 50px;
    padding: 0.25rem 0.5rem 0.25rem 1.5rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.blog-search-box:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 18px rgba(13, 44, 58, 0.05);
}

.blog-search-box:focus-within {
    border-color: var(--color-dourado);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.blog-search-icon {
    color: var(--color-petroleo);
    opacity: 0.6;
    margin-right: 0.75rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.blog-search-box:focus-within .blog-search-icon {
    color: var(--color-dourado);
    opacity: 1;
    transform: scale(1.05);
}

.blog-search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-petroleo);
}

.blog-search-box input::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.blog-search-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.blog-search-clear:hover {
    background-color: rgba(13, 44, 58, 0.05);
    color: #ef4444;
    transform: scale(1.1);
}

.blog-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(13, 44, 58, 0.02);
    border: 1px dashed rgba(13, 44, 58, 0.1);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.blog-no-results-icon {
    color: var(--color-dourado);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.blog-no-results h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-petroleo);
    margin: 0;
}

.blog-no-results p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-grafite-suave);
    max-width: 400px;
    margin: 0;
    line-height: 1.6;
}

.blog-no-results-btn {
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

