@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* =========================================
   Cognare Premium Clinical — Core Design System
   ========================================= */
:root {
    /* Brand Palette — Extracted from Logo */
    --primary-dark: #061424;
    --primary-dark-rgb: 6, 20, 36;
    --primary-medium: #0d2139;
    --accent-gold: #c89b5d;
    --accent-gold-light: #d9b278;
    --accent-gold-hover: #b3854b;
    --accent-gold-glow: rgba(200, 155, 93, 0.3);
    --accent-gold-subtle: rgba(200, 155, 93, 0.08);
    --sage-green: #8a9684;
    --dusty-mauve: #a07b98;

    /* Backgrounds */
    --bg-hero: #040d18;
    --bg-dark: #061424;
    --bg-light: #faf8f5;         /* Warm cream - main light bg */
    --bg-off-white: #f5f3ee;     /* Slightly darker cream for alternating sections */
    --bg-card: #ffffff;
    --bg-card-hover: #fffdf9;

    /* Text */
    --text-dark: #111827;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-light: #faf8f5;
    --text-light-muted: rgba(250, 248, 245, 0.65);

    /* Borders */
    --border-light: rgba(200, 155, 93, 0.12);
    --border-medium: rgba(200, 155, 93, 0.25);
    --border-hover: rgba(200, 155, 93, 0.45);
    --border-dark: rgba(255, 255, 255, 0.06);

    /* Spacing Scale */
    --section-padding: 60px 0;
    --section-padding-sm: 70px 0;

    /* Transitions */
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(6, 20, 36, 0.05), 0 1px 2px rgba(6, 20, 36, 0.06);
    --shadow-sm: 0 4px 16px rgba(6, 20, 36, 0.06);
    --shadow-md: 0 12px 40px rgba(6, 20, 36, 0.08), 0 4px 16px rgba(6, 20, 36, 0.04);
    --shadow-lg: 0 24px 60px rgba(6, 20, 36, 0.12);
    --shadow-gold: 0 12px 40px rgba(200, 155, 93, 0.18);
    --shadow-gold-lg: 0 20px 60px rgba(200, 155, 93, 0.25);
    --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 50px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(40px, 5vw, 58px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }

p { font-weight: 300; color: var(--text-body); }

/* =========================================
   Layout Container
   ========================================= */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================
   Section Headers — Uniform Style
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--accent-gold);
    margin-bottom: 18px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.5;
}
.section-tag::before { right: calc(100% + 12px); }
.section-tag::after  { left:  calc(100% + 12px); }

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 20px auto 0;
    font-weight: 300;
    line-height: 1.8;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition-premium);
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: var(--transition-fast);
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a8793b 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(200, 155, 93, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(200, 155, 93, 0.45);
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1.5px solid rgba(200, 155, 93, 0.45);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}

/* =========================================
   Floating WhatsApp
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 36px;
    right: 36px;
    z-index: 1000;
    background: linear-gradient(135deg, #25d366 0%, #1db954 100%);
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transition: var(--transition-premium);
    animation: whatsapp-pulse 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4); }
    50%       { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

/* =========================================
   Navigation / Header
   ========================================= */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 28px 0;
    transition: var(--transition-premium);
    /* Transparent on hero */
}

.header-nav.scrolled {
    background: rgba(6, 20, 36, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 40px rgba(0, 0, 0, 0.18);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 90px;
    transition: var(--transition-premium);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.header-nav.scrolled .nav-logo img {
    height: 52px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-link {
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gold);
    transition: var(--transition-premium);
}

.nav-link:hover {
    color: var(--accent-gold);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #030c18 0%, #061424 45%, #0a1d34 100%);
    color: white;
    overflow: hidden;
    padding: 140px 0 100px;
}

/* Decorative gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 155, 93, 0.07) 0%, transparent 65%);
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 123, 152, 0.06) 0%, transparent 65%);
    bottom: -100px;
    left: 10%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-content .section-tag {
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.hero-content .section-tag::before,
.hero-content .section-tag::after {
    background: var(--accent-gold);
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 60px);
    color: white;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-content h1 span {
    color: var(--accent-gold);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-content p {
    font-size: 17px;
    color: rgba(250, 248, 245, 0.72);
    margin-bottom: 50px;
    max-width: 540px;
    font-weight: 300;
    line-height: 1.85;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* Glowing Vector SVG Container */
.hero-vector-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-vector-wrapper::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 155, 93, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-svg-emblem {
    width: 100%;
    max-width: 440px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(200, 155, 93, 0.18));
    animation: float-slow 9s ease-in-out infinite;
}

.hero-svg-emblem path[fill="#c89b5d"] {
    animation: gold-pulse 5s ease-in-out infinite alternate;
}

.hero-svg-emblem path[fill="#a07b98"],
.hero-svg-emblem path[fill="#8a9684"] {
    animation: leaves-glow 6s ease-in-out infinite alternate;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-18px) rotate(0.8deg); }
}

@keyframes gold-pulse {
    0%   { filter: drop-shadow(0 0 4px rgba(200, 155, 93, 0.2)); }
    100% { filter: drop-shadow(0 0 20px rgba(200, 155, 93, 0.65)); }
}

@keyframes leaves-glow {
    0%   { opacity: 0.8; }
    100% { opacity: 1; filter: brightness(1.12); }
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    position: relative;
    margin-top: -70px;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 38px 44px;
    border-right: 1px solid var(--border-light);
    transition: var(--transition-premium);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    transition: var(--transition-premium);
}

.stat-item:hover::before { width: 100%; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--accent-gold-subtle); }

.stat-icon {
    font-size: 24px;
    color: var(--accent-gold);
    background: var(--accent-gold-subtle);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    transition: var(--transition-premium);
}

.stat-item:hover .stat-icon {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: scale(1.06);
}

.stat-info h3 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.stat-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

/* =========================================
   NEUROPSICOPEDAGOGIA CAROUSEL
   ========================================= */
.neuro-carousel-section {
    padding: 25px 0 25px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.neuro-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.carousel-container {
    width: 100%;
    max-width: 1198px; /* 3 visible cards * 386px + gaps */
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 386px; /* Exact size */
    max-width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    transition: var(--transition-premium);
    position: relative;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(6, 20, 36, 0.05);
    pointer-events: none;
    border-radius: var(--radius-md);
}

.carousel-slide img {
    width: 386px;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.carousel-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold-hover);
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

/* Controls */
.carousel-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-medium);
    color: var(--primary-dark);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-control:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.carousel-control:active {
    transform: scale(0.95);
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    background: rgba(200, 155, 93, 0.25);
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.indicator.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .carousel-container {
        max-width: 792px; /* 2 visible slides * 386px + 20px gap */
    }
}

@media (max-width: 900px) {
    .carousel-container {
        max-width: 386px; /* 1 visible slide */
    }
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .neuro-carousel-wrapper {
        gap: 10px;
    }
    .carousel-container {
        max-width: calc(100vw - 120px);
    }
    .carousel-slide {
        flex: 0 0 100%;
    }
    .carousel-slide img {
        width: 100%;
    }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 90px;
    align-items: center;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-tag::before { display: none; }
.about-content .section-tag::after  { left: calc(100% + 12px); }

.about-content h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    margin-bottom: 32px;
    line-height: 1.15;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 22px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
}

.about-pillars {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 44px;
    border-top: 1px solid var(--border-light);
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.pillar-item i {
    color: var(--accent-gold);
    font-size: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--accent-gold-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.pillar-item h4 {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.pillar-item p {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.65;
}

/* About Image — Single Portrait */
.about-image-side {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
}

/* Gold accent frame — aligned correctly inside the wrapper */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 1.5px solid var(--accent-gold);
    top: 22px;
    right: -22px;
    border-radius: var(--radius-md);
    z-index: 0;
    opacity: 0.55;
    transition: var(--transition-premium);
    pointer-events: none;
}

.about-image-wrapper:hover::after {
    top: 14px;
    right: -14px;
    opacity: 0.8;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.about-image-frame img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-image-frame img {
    transform: scale(1.03);
}

.founder-signature {
    margin-top: 24px;
    padding-left: 20px;
    border-left: 2.5px solid var(--accent-gold);
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.founder-signature strong {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: var(--section-padding);
    background: var(--bg-off-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(138, 150, 132, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 60% 50% at 85% 50%, rgba(160, 123, 152, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 52px 40px 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
}

/* Subtle top-border accent */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--dusty-mauve));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-premium);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-gold-lg);
    border-color: var(--border-medium);
}

.service-icon {
    font-size: 28px;
    color: var(--accent-gold);
    background: var(--accent-gold-subtle);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: var(--transition-premium);
    border: 1px solid var(--border-light);
}

.service-card:hover .service-icon {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 8px 24px rgba(200, 155, 93, 0.35);
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 32px;
    line-height: 1.75;
}

.service-features {
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.service-features li {
    font-size: 13.5px;
    color: var(--text-body);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.service-features li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    margin-top: 6px;
}

/* =========================================
   ARTIGOS SECTION
   ========================================= */
.artigos {
    padding: var(--section-padding);
    background: var(--bg-light);
    border-top: 1px solid rgba(200, 155, 93, 0.06);
}

.artigo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.artigo-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-premium);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.artigo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.artigo-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--primary-dark);
}

.artigo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 0.92;
}

.artigo-card:hover .artigo-image img {
    transform: scale(1.07);
    opacity: 1;
}

.artigo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 20, 36, 0.35) 0%, transparent 60%);
}

.artigo-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(6, 20, 36, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent-gold);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    border: 1px solid rgba(200, 155, 93, 0.2);
    z-index: 1;
}

.artigo-body {
    padding: 36px 32px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.artigo-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.artigo-meta i { color: var(--accent-gold); }

.artigo-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.artigo-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    flex-grow: 1;
    font-weight: 300;
    line-height: 1.75;
}

.artigo-link {
    font-weight: 700;
    font-size: 11.5px;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    align-self: flex-start;
    position: relative;
    padding-bottom: 2px;
}

.artigo-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.artigo-card:hover .artigo-link {
    color: var(--accent-gold-hover);
}

.artigo-card:hover .artigo-link::after {
    transform: translateX(6px);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(145deg, #030c18 0%, var(--primary-dark) 60%, #0d2139 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 155, 93, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 123, 152, 0.05) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

.contact .section-header {
    position: relative;
    z-index: 2;
}

.contact .section-tag { color: var(--accent-gold); }
.contact .section-title { color: white; }
.contact .section-desc { color: rgba(250, 248, 245, 0.6); }

.contact-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 70px 64px;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-title {
    font-size: 22px;
    color: white;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    font-size: 18px;
    color: var(--accent-gold);
    background: rgba(200, 155, 93, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 155, 93, 0.18);
    flex-shrink: 0;
    transition: var(--transition-premium);
}

.info-item:hover .info-icon {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: scale(1.08);
}

.info-text h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 600;
}

.info-text p {
    color: rgba(250, 248, 245, 0.65);
    font-size: 14px;
    font-weight: 300;
}

.info-text a {
    color: var(--accent-gold);
    transition: var(--transition-fast);
}

.info-text a:hover { color: var(--accent-gold-light); }

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 44px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 17px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition-premium);
}

.social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(200, 155, 93, 0.3);
}

/* Contact Form */
.contact-form-side h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.55);
    margin-bottom: 10px;
    letter-spacing: 0.12em;
}

.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    transition: var(--transition-premium);
}

.form-control::placeholder {
    color: rgba(250, 248, 245, 0.28);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(200, 155, 93, 0.06);
    box-shadow: 0 0 0 3px rgba(200, 155, 93, 0.1), 0 4px 20px rgba(200, 155, 93, 0.08);
}

textarea.form-control {
    resize: none;
    min-height: 130px;
}

.form-submit-row {
    margin-top: 28px;
}

.form-status {
    margin-top: 18px;
    font-size: 14px;
    display: none;
    font-weight: 400;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
}

.form-status.success {
    display: block;
    color: #25d366;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.18);
}

.form-status.error {
    display: block;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.18);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #020912;
    padding: 80px 0 36px;
    color: rgba(250, 248, 245, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 155, 93, 0.25), transparent);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 36px;
}

.footer-logo img {
    height: 60px;
    opacity: 0.88;
    transition: var(--transition-fast);
}

.footer-logo:hover img { opacity: 1; }

.footer-menu {
    display: flex;
    gap: 40px;
}

.footer-link {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(250, 248, 245, 0.55);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(250, 248, 245, 0.3);
}

/* =========================================
   SINGLE POST PAGE
   ========================================= */
.post-detail {
    padding: 180px 0 120px;
}

.post-header {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

.post-category {
    display: inline-block;
    background: var(--accent-gold-subtle);
    border: 1px solid var(--border-medium);
    color: var(--accent-gold);
    padding: 8px 22px;
    border-radius: var(--radius-sm);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
}

.post-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.post-meta-detail {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.post-featured-image {
    max-width: 980px;
    margin: 0 auto 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.post-content-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.9;
}

.post-content-body p { margin-bottom: 28px; }

.post-content-body h2 {
    font-size: 28px;
    margin: 52px 0 24px;
    color: var(--text-dark);
}

.post-content-body h3 {
    font-size: 22px;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.post-footer-back {
    text-align: center;
    margin-top: 80px;
}

/* =========================================
   ADMIN / LOGIN PAGES (via admin/)
   ========================================= */
.admin-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-off-white);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-content .section-tag::before { display: none; }
    .hero-content .section-tag::after { display: none; }

    .hero-cta { justify-content: center; }

    .hero-content p { margin-left: auto; margin-right: auto; }

    .hero-vector-wrapper {
        order: 1;
    }

    .hero-svg-emblem { max-width: 300px; }

    .about-content .section-tag::after { display: none; }

    .about-image-wrapper::after { display: none; }

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

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 26px 36px;
    }

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

    .contact-box {
        grid-template-columns: 1fr;
        gap: 56px;
        padding: 56px 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    .container { padding: 0 24px; }

    .nav-menu,
    .nav-actions .btn { display: none; }

    .mobile-menu-btn { display: block; }

    .services-grid,
    .artigo-grid {
        grid-template-columns: 1fr;
    }

    .section-title { font-size: 28px; }
    .section-header { margin-bottom: 48px; }

    .contact-box { padding: 40px 24px; }

    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .about-image-frame img { height: 380px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 34px; }
    .hero-cta { flex-direction: column; }
    .btn { padding: 14px 28px; font-size: 11px; }
    .contact-box { padding: 32px 20px; }
}

/* =========================================
   ADMIN PANEL — Complete Design System
   ========================================= */

/* Admin Body Layout */
.admin-body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f2f5;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Override hero/landing styles that would break admin layout */
.admin-body .hero,
.admin-body .stats-bar,
.admin-body .about,
.admin-body .services,
.admin-body .artigos,
.admin-body .contact {
    all: unset;
}

/* Admin Top Navigation Bar */
.admin-nav {
    background: linear-gradient(135deg, #061424 0%, #0d2139 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(200, 155, 93, 0.15);
}

.admin-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
    height: 64px;
}

.admin-nav h1 {
    font-size: 17px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.admin-nav h1 i {
    color: var(--accent-gold);
    font-size: 20px;
}

.admin-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-nav-link {
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-nav-link.active,
.admin-nav-link[style*="accent-gold"] {
    color: var(--accent-gold) !important;
    background: rgba(200, 155, 93, 0.1);
    border-color: rgba(200, 155, 93, 0.2);
}

/* Admin Main Container */
.admin-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 28px;
    flex: 1;
    width: 100%;
}

/* Admin Metric Cards */
.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.admin-metric-card {
    background: white;
    border-radius: 10px;
    padding: 24px 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e9ecef;
    transition: var(--transition-fast);
}

.admin-metric-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.admin-metric-card h4 {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-metric-card p {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.admin-metric-icon {
    font-size: 32px;
    opacity: 0.7;
}

/* Admin Section Cards */
.admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    margin-bottom: 28px;
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.admin-card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

/* Admin Data Tables */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.admin-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.admin-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-body);
    vertical-align: middle;
}

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

.admin-table tbody tr {
    transition: var(--transition-fast);
}

.admin-table tbody tr:hover {
    background: #fafbff;
}

/* Admin Action Buttons */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    white-space: nowrap;
}

.admin-btn-edit {
    background: rgba(200, 155, 93, 0.1);
    color: var(--accent-gold-hover);
    border-color: rgba(200, 155, 93, 0.2);
}

.admin-btn-edit:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 155, 93, 0.3);
}

.admin-btn-delete {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.15);
}

.admin-btn-delete:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-new {
    background: rgba(200, 155, 93, 0.12);
    color: var(--accent-gold-hover);
    border: 1px solid rgba(200, 155, 93, 0.25);
}

.badge-read {
    background: #f3f4f6;
    color: var(--text-muted);
    border: 1px solid #e5e7eb;
}

/* Admin Forms */
.admin-form-group {
    margin-bottom: 22px;
}

.admin-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.admin-form-control {
    width: 100%;
    background: #fafafa;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 13px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    appearance: none;
}

.admin-form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(200, 155, 93, 0.12);
}

.admin-form-control::placeholder {
    color: #b0b7c3;
}

textarea.admin-form-control {
    resize: vertical;
    min-height: 180px;
    line-height: 1.65;
}

/* Admin Login Page — Full Center Layout */
.admin-login-body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(145deg, #030c18 0%, #061424 60%, #0a1d34 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.05);
    padding: 48px 44px;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--dusty-mauve));
    border-radius: 16px 16px 0 0;
}

.login-logo {
    text-align: center;
    margin-bottom: 36px;
}

.login-logo img {
    max-height: 72px;
    margin: 0 auto 16px;
}

.login-logo h2 {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.login-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.18);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Admin Footer */
.admin-footer {
    background: #e9ecef;
    border-top: 1px solid #dee2e6;
    padding: 18px 28px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
}

/* Admin Back Link */
.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    transition: var(--transition-fast);
}

.admin-back-link:hover {
    color: var(--accent-gold);
}

/* Admin Table Code Tag */
.admin-table code {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    color: var(--primary-dark);
    font-family: 'Courier New', monospace;
}

/* Admin Responsive */
@media (max-width: 768px) {
    .admin-nav-container {
        padding: 0 16px;
    }

    .admin-container {
        padding: 20px 16px;
    }

    .admin-metrics-grid {
        grid-template-columns: 1fr;
    }

    .admin-nav-link span { display: none; }

    .admin-card-header {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
}

/* =========================================
   AOS (Animate on Scroll)
   ========================================= */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    backface-visibility: hidden;
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Scroll Indicator
   ========================================= */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease, visibility 0.4s;
    will-change: opacity, visibility;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--text-light);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq {
    padding: var(--section-padding);
    background: var(--bg-off-white);
    position: relative;
    border-top: 1px solid rgba(200, 155, 93, 0.08);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-premium);
}

.faq-item:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 20px;
}

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

.faq-question i {
    color: var(--accent-gold);
    font-size: 14px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* high value to allow expansion */
    opacity: 1;
    padding: 0 32px 28px;
}

.faq-answer p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-body);
}

/* =========================================
   Cookie Consent Banner (LGPD)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 680px;
    background: rgba(6, 20, 36, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    padding: 20px 24px;
    z-index: 1000;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    bottom: 24px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cookie-text i {
    font-size: 20px;
    color: var(--accent-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

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

.cookie-text p a:hover {
    color: var(--accent-gold-light);
}

.cookie-actions {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .cookie-actions {
        text-align: right;
    }
}

/* =========================================
   Botão Voltar ao Topo (Back to Top)
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 36px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a8793b 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-2px);
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    box-shadow: 0 8px 24px rgba(200, 155, 93, 0.4);
}

.back-to-top:active {
    transform: scale(0.95);
}

/* =========================================
   Reading Progress Bar
   ========================================= */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    transition: width 0.1s ease-out;
}

/* =========================================
   Mobile Menu Transition Styles
   ========================================= */
@media (max-width: 768px) {
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(6, 20, 36, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 0;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease, visibility 0.4s;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.active {
        max-height: 450px;
        opacity: 1;
        visibility: visible;
        padding: 24px 30px;
        gap: 18px;
    }
}

/* =========================================
   ARTIGOS LISTING PAGE & PAGINATION
   ========================================= */

.artigos-hero {
    background: linear-gradient(135deg, #040d18 0%, #061424 100%);
    padding: 140px 0 70px;
    text-align: center;
    border-bottom: 1px solid rgba(200, 155, 93, 0.15);
    position: relative;
    overflow: hidden;
}

.artigos-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 155, 93, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.artigos-hero h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.artigos-hero p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0;
}

/* Featured Article Section */
.featured-section {
    padding: 80px 0 45px;
    background: var(--bg-light);
}

.featured-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    transition: var(--transition-premium);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 155, 93, 0.3);
}

.featured-img-wrapper {
    width: 52%;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 0.9;
}

.featured-card:hover .featured-img-wrapper img {
    transform: scale(1.04);
    opacity: 1;
}

.featured-content {
    width: 48%;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    align-self: flex-start;
    background: rgba(200, 155, 93, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(200, 155, 93, 0.25);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.featured-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.019em;
}

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

.featured-content h2 a:hover {
    color: var(--accent-gold);
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 28px;
    font-weight: 300;
}

.featured-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-meta i {
    color: var(--accent-gold);
}

.featured-link {
    font-weight: 700;
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    align-self: flex-start;
    transition: var(--transition-fast);
}

.featured-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.featured-card:hover .featured-link {
    color: var(--accent-gold-hover);
}

.featured-card:hover .featured-link::after {
    transform: translateX(6px);
}

/* Regular Grid Section */
.artigos-list-section {
    padding: 45px 0 100px;
    background: var(--bg-light);
}

.section-subtitle-premium {
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
}

.section-subtitle-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* Pagination container */
.pagination-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-premium);
}

.page-btn:hover {
    background: var(--bg-light);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(200, 155, 93, 0.3);
}

.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .featured-card {
        flex-direction: column;
    }
    .featured-img-wrapper, .featured-content {
        width: 100%;
    }
    .featured-img-wrapper {
        aspect-ratio: 16 / 9;
    }
    .featured-content {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .artigos-hero {
        padding: 100px 0 50px;
    }
    .artigos-hero h1 {
        font-size: 32px;
    }
    .featured-content h2 {
        font-size: 22px;
    }
}
