/* ==========================================================================
   Design System – Cuidativa Dark Modern Theme
   ========================================================================== */
:root {
    /* Paleta Dark Elegante */
    --color-bg-deep: #070b14;
    --color-bg: #0c1220;
    --color-bg-card: rgba(255, 255, 255, 0.04);
    --color-bg-card-hover: rgba(255, 255, 255, 0.08);
    --color-surface: rgba(255, 255, 255, 0.06);

    /* Acentos Vibrantes */
    --color-primary: #34d399;       /* Emerald */
    --color-primary-light: #6ee7b7;
    --color-secondary: #22d3ee;     /* Cyan */
    --color-accent: #a78bfa;        /* Violet */

    /* Texto */
    --color-text-main: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-white: #ffffff;

    /* Tipografia */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;

    /* Sombras & Glows */
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.3);
    --glow-primary: 0 0 25px rgba(52, 211, 153, 0.25);
    --glow-secondary: 0 0 25px rgba(34, 211, 238, 0.2);
    --glow-accent: 0 0 25px rgba(167, 139, 250, 0.2);

    /* Borders */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
    --border-glow: 1px solid rgba(52, 211, 153, 0.2);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated mesh background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(52, 211, 153, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 60% 80%, rgba(167, 139, 250, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: meshFloat 25s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, 20px); }
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Buttons – Gradient Shimmer
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0s ease, box-shadow 0s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-bg-deep);
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 35px rgba(52, 211, 153, 0.45);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    70% { box-shadow: 0 0 0 18px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Outline button variant */
.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    padding: 0.9rem 2rem;
    transition: all 0s ease;
}

.btn-outline:hover {
    background: rgba(52, 211, 153, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Header – Glass Fixed
   ========================================================================== */
.header {
    background: rgba(12, 18, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    padding: 1.2rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
    transform: scale(1.6);
    transform-origin: left center;
}

.logo:hover img {
    transform: scale(1.65);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0s ease;
    border-radius: 1px;
}

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

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

/* =========================================
   DROPDOWN MENU
   ========================================= */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown > .nav-link {
    cursor: default;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 200;
    list-style: none;
}

/* Bridge gap so mouse can move from header to dropdown */
.nav-item.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 0.7rem 1.4rem;
    font-size: 0.92rem;
    white-space: nowrap;
    border-radius: 0;
}

.dropdown-menu .nav-link::after {
    display: none;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    padding-left: 1.8rem;
    transition: padding-left 0.2s ease;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    position: relative;
    border-radius: 3px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    left: 0;
    border-radius: 3px;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* ==========================================================================
   Hero Section – Dark Dramatic
   ========================================================================== */
.hero {
    padding-top: 180px;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    min-height: 160px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease-in-out infinite;
    min-height: 3em;
    display: block;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

/* Multiple floating shapes */
.hero-shape {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 1;
    animation: floatShape 20s ease-in-out infinite alternate;
}

.hero-shape-2 {
    position: absolute;
    left: -15%;
    bottom: -20%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    z-index: 1;
    animation: floatShape2 18s ease-in-out infinite alternate;
}

.hero-shape-3 {
    position: absolute;
    right: 20%;
    top: 10%;
    width: 20vw;
    height: 20vw;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: floatShape 15s ease-in-out 3s infinite alternate;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatShape {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translateY(-50%) rotate(0deg); }
    100% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translateY(-45%) rotate(8deg); }
}

@keyframes floatShape2 {
    0% { border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(-6deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Scroll Reveal System
   ========================================================================== */
.reveal {
    opacity: 0;
    translate: 0 40px;
    scale: 1;
    transition: opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
                translate 3s cubic-bezier(0.16, 1, 0.3, 1),
                scale 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left { translate: -60px 0; }
.reveal.reveal-right { translate: 60px 0; }
.reveal.reveal-scale { scale: 0.9; }

.reveal.revealed {
    opacity: 1;
    translate: 0 0;
    scale: 1;
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================================================
   Section Utilities
   ========================================================================== */
.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.02);
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.badge {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(34, 211, 238, 0.15));
    color: var(--color-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

/* ==========================================================================
   Horizontal Feed / Destaques (Homepage)
   ========================================================================== */
.feed-section {
    padding: 5rem 0;
    overflow: hidden;
}

.feed-section .section-header h2 {
    font-size: 2.2rem;
}

.feed-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    cursor: grab;
}

.feed-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.feed-scroll-container.dragging {
    cursor: grabbing;
    scroll-behavior: auto; /* disable smooth scroll during drag */
}

/* Enhanced Feed Navigation Buttons */
.feed-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--color-bg-deep);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease;
}

.feed-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg-deep);
    box-shadow: var(--glow-primary);
    transform: translateY(-50%) scale(1.05);
}

.feed-btn-left {
    left: -20px;
}

.feed-btn-right {
    right: -20px;
}

.feed-card {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    background: var(--color-bg-card);
    border: var(--border-subtle);
    border-radius: 1.2rem;
    padding: 2rem 1.8rem;
    position: relative;
    overflow: hidden;
    user-select: none; /* Previne seleção de texto ao arrastar */
}

.feed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0s ease;
}

.feed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
    border-color: rgba(52, 211, 153, 0.2);
}

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

.feed-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feed-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-weight: 600;
}

.feed-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.feed-card .feed-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0s ease;
}

.feed-card:hover .feed-link {
    gap: 0.8rem;
}

/* ==========================================================================
   About / Relatório
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--color-secondary);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--color-text-main);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(52, 211, 153, 0.15);
}

.stat-card {
    padding: 1rem;
    border-radius: 0.8rem;
    background: var(--color-bg-card);
    border: var(--border-subtle);
}

.stat-card:hover {
    box-shadow: var(--glow-primary);
    border-color: rgba(52, 211, 153, 0.15);
}

.stat-card h4 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.stat-card p {
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.stat-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.rounded-image {
    border-radius: 1.2rem;
    overflow: hidden;
}

.shadow-image {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Cards Grid (Nossa Abordagem)
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--color-bg-card);
    padding: 2.5rem 2rem;
    border-radius: 1.2rem;
    border: var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(52, 211, 153, 0.15), var(--glow-primary);
    border-color: rgba(52, 211, 153, 0.2);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Image Hover Zoom + Overlay
   ========================================================================== */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 1.2rem;
    position: relative;
}

.img-hover-zoom img {
    transition: transform 0s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.06);
}

.img-hover-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 11, 20, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0s ease;
    pointer-events: none;
    border-radius: inherit;
}

.img-hover-zoom:hover::after {
    opacity: 1;
}

/* ==========================================================================
   Glassmorphism Utility
   ========================================================================== */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    border: var(--border-subtle);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(52, 211, 153, 0.15);
}

.faq-item.active {
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: var(--glow-primary);
}

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

.faq-question:hover {
    background-color: rgba(52, 211, 153, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.15s ease;
}

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

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Vitória Histórica Section
   ========================================================================== */
.historic-victory {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(34, 211, 238, 0.05) 100%) !important;
    color: var(--color-text-main) !important;
    border-top: 1px solid rgba(52, 211, 153, 0.1);
    border-bottom: 1px solid rgba(52, 211, 153, 0.1);
}

/* ==========================================================================
   Footer – Dark Gradient
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 100%);
    color: var(--color-white);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(52, 211, 153, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--color-primary);
    font-weight: 500;
    transition: color 0s ease;
}

.social-links a:hover {
    color: var(--color-secondary);
}

.footer-contact h4 {
    color: var(--color-text-main);
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Page Header (Sub-pages)
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--color-bg-deep) 0%, rgba(52, 211, 153, 0.12) 50%, rgba(34, 211, 238, 0.08) 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease-in-out infinite;
    color: var(--color-white);
    padding: 10rem 0 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(52, 211, 153, 0.1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Content Blocks (Sub-page content)
   ========================================================================== */
.content-block {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.content-block h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.content-block p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Data Cards (Stats Gallery)
   ========================================================================== */
.stats-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.data-card {
    background: var(--color-bg-card);
    border-radius: 1.2rem;
    padding: 2rem;
    border: var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0.6;
}

.data-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(52, 211, 153, 0.12), var(--glow-primary);
    border-color: rgba(52, 211, 153, 0.2);
}

.data-card img {
    width: 100%;
    border-radius: 0.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.data-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-main);
}

.data-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Lists inside data cards */
.data-card ul {
    padding-left: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-top: 1rem;
}

.data-card li {
    margin-bottom: 0.5rem;
}

.data-card strong {
    color: var(--color-primary);
}

/* ==========================================================================
   Team / Comissão Executiva
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--color-bg-card);
    border-radius: 1.2rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: var(--border-subtle);
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(52, 211, 153, 0.12), var(--glow-primary);
    border-color: rgba(52, 211, 153, 0.2);
}

.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 3px solid rgba(52, 211, 153, 0.3);
    background-color: var(--color-bg);
}

.team-card:hover img {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}

/* Wrapper especial para foto do Dr. Samir (zoom personalizado) */
.samir-photo-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(52, 211, 153, 0.3);
    background-color: var(--color-bg);
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    position: relative;
    transition: border-color 0s ease, box-shadow 0s ease;
}

.team-card:hover .samir-photo-wrapper {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.team-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Guide Steps (Guia de Apoio)
   ========================================================================== */
.guide-step {
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-primary);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 1rem 1rem 0;
    border-top: var(--border-subtle);
    border-right: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

.guide-step:hover {
    transform: translateX(8px);
    box-shadow: var(--glow-primary);
    border-left-color: var(--color-secondary);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.7;
}

.step-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.guide-content ul {
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.guide-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive – Mobile & Tablets
   ========================================================================== */
@media (max-width: 850px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(12, 18, 32, 0.97);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        gap: 1rem;
        border-bottom: 1px solid rgba(52, 211, 153, 0.1);
    }
    .nav-list.active { display: flex; }
    .nav-toggle { display: block; }

    .about-container,
    .cards-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .team-grid { grid-template-columns: 1fr 1fr; }

    .hero { min-height: 70vh; padding-top: 150px; }
    .hero h1 { font-size: 2.5rem; min-height: 200px; }
    .hero p { font-size: 1.1rem; }
    .hero-shape { right: -30%; width: 80vw; height: 80vw; }

    .feed-card { min-width: 280px; max-width: 280px; }

    .page-header h1 { font-size: 2.5rem; }

    @media (max-width: 500px) {
        .team-grid { grid-template-columns: 1fr; }
        .stats-grid { grid-template-columns: 1fr; }
    }
}


/* ==========================================================================
   Global Search Bar
   ========================================================================== */
.search-btn {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-right: -1rem; /* Aproximar do menu hamburguer no mobile, se houver */
}

@media (min-width: 851px) {
    .search-btn {
        margin-left: 2rem;
        margin-right: 0;
    }
}

.search-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.search-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.search-close:hover { color: var(--color-primary); }

.search-input-container {
    width: 90%;
    max-width: 700px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-input-container {
    transform: translateY(0);
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 2.5rem;
    padding: 1rem 0;
    font-family: var(--font-heading);
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--color-primary);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-results {
    width: 90%;
    max-width: 700px;
    margin-top: 2rem;
    list-style: none;
    max-height: 50vh;
    overflow-y: auto;
    padding-bottom: 2rem;
}

/* Custom scrollbar for results */
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb { background: rgba(52, 211, 153, 0.3); border-radius: 3px; }

.search-result-item {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUpResult 0.3s forwards ease;
}

@keyframes fadeUpResult {
    to { opacity: 1; transform: translateY(0); }
}

.search-result-link {
    display: block;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.search-result-link:hover {
    background: rgba(52, 211, 153, 0.08);
    border-left-color: var(--color-primary);
    transform: translateX(5px);
}

.search-result-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
}

.search-result-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Fix mobile nav menu alignment with search icon */
@media (max-width: 850px) {
    .header-container { gap: 1rem; }
    .nav-toggle { margin-left: auto; }
}


/* Font Awesome Icons Theme Coloring */
i.fa-solid, i.fa-regular, i.fa-brands {
    color: var(--color-primary);
}

/* Maintain inherited text color for icons inside primary buttons */
.btn-primary i.fa-solid, 
.btn-primary i.fa-regular, 
.btn-primary i.fa-brands {
    color: inherit;
}
