/* Infoperito — Paleta: Dourado & Azul Metálico */

:root {
    --gold: #C9A227;
    --gold-light: #E8D48B;
    --gold-dark: #9A7B1A;
    --blue-dark: #0A1628;
    --blue-mid: #1A2F4F;
    --blue-metal: #2C5282;
    --blue-light: #4A6FA5;
    --blue-glow: rgba(74, 111, 165, 0.3);
    --white: #FFFFFF;
    --gray-100: #F4F6F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --text: #E8EDF5;
    --text-muted: #94A3B8;
    --gradient-gold: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    --gradient-blue: linear-gradient(135deg, var(--blue-dark), var(--blue-mid), var(--blue-metal));
    --gradient-hero: linear-gradient(160deg, #0A1628 0%, #1A2F4F 40%, #0D1F35 100%);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--blue-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Loader */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--blue-dark);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; letter-spacing: 0.3em;
}
.loader-bar {
    width: 120px; height: 2px; margin-top: 20px;
    background: var(--blue-mid); border-radius: 2px; overflow: hidden;
}
.loader-bar::after {
    content: ''; display: block; width: 40%; height: 100%;
    background: var(--gradient-gold);
    animation: loadBar 1.2s ease-in-out infinite;
}
@keyframes loadBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(10, 22, 40, 0.97);
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    color: var(--white); text-decoration: none;
}
.logo:hover { color: var(--white); }
.logo-icon { width: 40px; height: 40px; color: var(--gold); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong {
    font-family: var(--font-display);
    font-size: 1.25rem; letter-spacing: 0.15em;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-text small { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
    padding: 8px 14px; font-size: 0.85rem; font-weight: 500;
    color: var(--text-muted); border-radius: 8px;
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--gold-light);
    background: rgba(201, 162, 39, 0.08);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--gold); transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; font-size: 0.9rem; font-weight: 600;
    border-radius: var(--radius); border: none; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
    font-family: var(--font-body);
}
.btn-primary {
    background: var(--gradient-gold); color: var(--blue-dark);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201, 162, 39, 0.35); color: var(--blue-dark); }
.btn-outline {
    background: transparent; color: var(--gold);
    border: 1.5px solid rgba(201, 162, 39, 0.5);
}
.btn-outline:hover { background: rgba(201, 162, 39, 0.1); border-color: var(--gold); color: var(--gold-light); }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* Hero */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative; overflow: hidden;
    padding-top: 100px; padding-bottom: 40px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(44, 82, 130, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 15%, rgba(201, 162, 39, 0.10) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(74,111,165,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,111,165,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 40px; align-items: center;
    position: relative; z-index: 1; flex: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.25);
    font-size: 0.8rem; color: var(--gold-light);
    margin-bottom: 24px; letter-spacing: 0.05em;
}
.hero-badge::before {
    content: ''; width: 6px; height: 6px;
    background: var(--gold); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700; line-height: 1.15;
    margin-bottom: 20px;
}
.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem; color: var(--text-muted);
    margin-bottom: 36px; max-width: 520px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Emblema — imagem que representa a atuação */
.hero-emblem {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 460px;
}
.emblem-glow {
    position: absolute; z-index: 0;
    width: 520px; height: 520px; max-width: 100%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 50% 55%, rgba(44, 82, 130, 0.40) 0%, transparent 62%);
    filter: blur(8px);
    pointer-events: none;
    animation: emblemPulse 6s ease-in-out infinite;
}
@keyframes emblemPulse {
    0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}
.hero-emblem img {
    position: relative; z-index: 1;
    width: 100%; max-width: 460px; height: auto;
    border-radius: 24px;
    animation: emblemFloat 7s ease-in-out infinite;
}
@keyframes emblemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Barra de estatísticas simétrica */
.hero-stats-bar {
    position: relative; z-index: 1;
    display: flex; justify-content: center; align-items: center;
    gap: 0; margin: 24px auto 0;
    border-top: 1px solid rgba(201, 162, 39, 0.12);
    border-bottom: 1px solid rgba(201, 162, 39, 0.12);
    padding: 22px 0;
    max-width: 760px; width: 100%;
}
.hero-stat {
    flex: 1; text-align: center; padding: 0 24px;
    position: relative;
}
.hero-stat + .hero-stat::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 40px;
    background: linear-gradient(transparent, rgba(201,162,39,0.3), transparent);
}
.hero-stat strong {
    display: block; font-family: var(--font-display);
    font-size: 2rem; line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat span {
    display: block; margin-top: 6px;
    font-size: 0.72rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.12em;
}

/* Faixa rolante de especialidades */
.hero-marquee {
    position: relative; z-index: 1;
    margin-top: 32px; width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex; width: max-content;
    animation: marqueeScroll 38s linear infinite;
}
.marquee-item {
    display: inline-flex; align-items: center;
    padding: 0 28px; white-space: nowrap;
    font-size: 0.85rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-muted);
}
.marquee-item::after {
    content: '◆'; margin-left: 28px;
    color: var(--gold); font-size: 0.5rem;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }

/* Sections */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--gold); margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700; margin-bottom: 16px;
}
.section-desc {
    color: var(--text-muted); max-width: 600px;
    margin: 0 auto; font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: rgba(26, 47, 79, 0.5);
    border: 1px solid rgba(74, 111, 165, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px; transition: all var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-gold); opacity: 0; transition: opacity var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.25);
    box-shadow: var(--shadow), var(--shadow-gold);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(201, 162, 39, 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--gold);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; margin-bottom: 10px;
}
.service-card p { color: var(--text-muted); font-size: 0.9rem; }

/* About Section */
.about-section { background: var(--blue-mid); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-image {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 2px solid rgba(201, 162, 39, 0.15);
    box-shadow: var(--shadow);
}
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.4rem; margin-bottom: 20px;
}
.about-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 28px;
}
.about-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem;
}
.about-feature svg { color: var(--gold); flex-shrink: 0; }

/* Certificates */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.cert-card {
    display: flex; align-items: center; gap: 16px;
    background: rgba(26, 47, 79, 0.4);
    border: 1px solid rgba(74, 111, 165, 0.12);
    border-radius: var(--radius);
    padding: 20px; transition: all var(--transition);
}
.cert-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    background: rgba(26, 47, 79, 0.6);
}
.cert-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.cert-card h4 { font-size: 0.9rem; font-weight: 500; line-height: 1.4; }
.cert-card a { font-size: 0.8rem; color: var(--gold); margin-top: 4px; display: inline-block; }

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.blog-card {
    background: rgba(26, 47, 79, 0.4);
    border: 1px solid rgba(74, 111, 165, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition);
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.2);
    box-shadow: var(--shadow);
}
.blog-card-image {
    height: 200px; background: var(--blue-mid);
    overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 0.75rem; color: var(--gold); margin-bottom: 8px; }
.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; margin-bottom: 10px;
}
.blog-card h3 a { color: var(--white); }
.blog-card h3 a:hover { color: var(--gold-light); }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; }
.read-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 0.85rem; font-weight: 600;
    color: var(--gold);
}

/* CTA */
.cta-section {
    background: var(--gradient-blue);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    text-align: center;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.4rem; margin-bottom: 16px;
}
.cta-section p { color: var(--text-muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Page Header */
.page-hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center; position: relative;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(44, 82, 130, 0.2) 0%, transparent 70%);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    position: relative;
}
.page-hero p { color: var(--text-muted); margin-top: 12px; position: relative; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 500;
    margin-bottom: 6px; color: var(--text-muted);
}
.form-control {
    width: 100%; padding: 12px 16px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(74, 111, 165, 0.2);
    border-radius: var(--radius);
    color: var(--white); font-family: var(--font-body);
    font-size: 0.95rem; transition: border-color var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-card {
    background: rgba(26, 47, 79, 0.5);
    border: 1px solid rgba(74, 111, 165, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px; max-width: 640px; margin: 0 auto;
}

/* Alerts */
.alert {
    padding: 14px 20px; border-radius: var(--radius);
    margin-bottom: 20px; font-size: 0.9rem;
}
.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #86EFAC; }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #FCA5A5; }
.alert-info { background: rgba(74, 111, 165, 0.15); border: 1px solid rgba(74, 111, 165, 0.3); color: var(--text); }

/* Contact */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
}
.contact-info-card {
    background: rgba(26, 47, 79, 0.4);
    border: 1px solid rgba(74, 111, 165, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-item {
    display: flex; gap: 16px; margin-bottom: 24px;
}
.contact-item-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.contact-item h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; }

/* Peritos / Rede */
.peritos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.perito-card {
    background: rgba(26, 47, 79, 0.4);
    border: 1px solid rgba(74, 111, 165, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px; text-align: center;
    transition: all var(--transition);
}
.perito-card:hover { border-color: rgba(201, 162, 39, 0.25); transform: translateY(-2px); }
.perito-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--blue-mid); margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.8rem;
    color: var(--gold); border: 2px solid rgba(201, 162, 39, 0.2);
    overflow: hidden;
}
.perito-avatar img { width: 100%; height: 100%; object-fit: cover; }
.perito-card h3 { font-family: var(--font-display); font-size: 1.2rem; }
.perito-specialty { color: var(--gold); font-size: 0.85rem; margin: 4px 0 8px; }
.perito-location { color: var(--text-muted); font-size: 0.8rem; }

/* Webmail */
.webmail-card {
    max-width: 480px; margin: 0 auto;
    background: rgba(26, 47, 79, 0.5);
    border: 1px solid rgba(74, 111, 165, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px; text-align: center;
}
.webmail-icon {
    width: 72px; height: 72px; margin: 0 auto 24px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.webmail-card h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; }
.webmail-card p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }

/* Blog Post */
.post-content {
    max-width: 760px; margin: 0 auto;
    font-size: 1.05rem; line-height: 1.9;
}
.post-content h2, .post-content h3 {
    font-family: var(--font-display);
    margin: 32px 0 16px; color: var(--gold-light);
}
.post-content p { margin-bottom: 16px; color: var(--text-muted); }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.post-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 32px; }

/* Map placeholder */
.map-container {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(74, 111, 165, 0.15);
    height: 300px; background: var(--blue-mid);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: #060E1A; border-top: 1px solid rgba(201, 162, 39, 0.08); }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer-grid h4 {
    font-family: var(--font-display);
    font-size: 1.1rem; color: var(--gold);
    margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; color: var(--text-muted); font-size: 0.9rem; }
.footer-contact li { margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(74, 111, 165, 0.1);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex; justify-content: space-between;
    font-size: 0.8rem; color: var(--text-muted);
}

.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); color: #fff; }

/* Admin styles */
.admin-body { background: #0D1B2E; min-height: 100vh; }
.admin-header {
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    padding: 16px 0;
}
.admin-header .container { display: flex; justify-content: space-between; align-items: center; }
.admin-nav { display: flex; gap: 8px; }
.admin-nav a {
    padding: 8px 16px; font-size: 0.85rem;
    color: var(--text-muted); border-radius: 8px;
}
.admin-nav a:hover, .admin-nav a.active { color: var(--gold); background: rgba(201, 162, 39, 0.08); }
.admin-content { padding: 40px 0; }
.admin-card {
    background: rgba(26, 47, 79, 0.4);
    border: 1px solid rgba(74, 111, 165, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px; margin-bottom: 24px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid rgba(74, 111, 165, 0.1);
    font-size: 0.9rem;
}
.admin-table th { color: var(--gold); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.badge {
    display: inline-block; padding: 3px 10px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.badge-published { background: rgba(34, 197, 94, 0.15); color: #86EFAC; }
.badge-draft { background: rgba(148, 163, 184, 0.15); color: #CBD5E1; }
.badge-pending { background: rgba(234, 179, 8, 0.15); color: #FDE68A; }
.badge-approved { background: rgba(34, 197, 94, 0.15); color: #86EFAC; }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: #FCA5A5; }
.admin-actions { display: flex; gap: 8px; }
.btn-danger { background: rgba(239, 68, 68, 0.15); color: #FCA5A5; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-danger:hover { background: rgba(239, 68, 68, 0.25); }
.btn-success { background: rgba(34, 197, 94, 0.15); color: #86EFAC; border: 1px solid rgba(34, 197, 94, 0.3); }
.btn-success:hover { background: rgba(34, 197, 94, 0.25); }
.login-container {
    min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
}
.login-card {
    width: 100%; max-width: 420px;
    background: rgba(26, 47, 79, 0.5);
    border: 1px solid rgba(74, 111, 165, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px;
}
.login-card h1 {
    font-family: var(--font-display);
    text-align: center; margin-bottom: 8px;
}
.login-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 0.9rem; }

/* Empty state */
.empty-state {
    text-align: center; padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 16px; color: var(--blue-light); opacity: 0.5; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; min-height: auto; }
    .hero-content { order: 2; }
    .hero-emblem { order: 1; min-height: 320px; margin-bottom: 8px; }
    .hero-emblem img { max-width: 320px; }
    .emblem-glow { width: 360px; height: 360px; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed; top: 80px; left: 0; right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column; padding: 20px;
        border-bottom: 1px solid rgba(201, 162, 39, 0.1);
        transform: translateY(-120%); opacity: 0;
        transition: all var(--transition);
    }
    .main-nav.open { transform: translateY(0); opacity: 1; }
    .menu-toggle { display: flex; }
    .hero-emblem img { max-width: 260px; }
    .emblem-glow { width: 280px; height: 280px; }
    .hero-stat strong { font-size: 1.5rem; }
    .hero-stat { padding: 0 12px; }
    .marquee-item { font-size: 0.75rem; padding: 0 18px; }
    .about-features { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
    section { padding: 60px 0; }
}

/* Animations */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
