/*
Theme Name: Interactive Map Theme
Theme URI: https://example.com
Description: Tema minimalista focado no mapa interativo.
Version: 1.0.0
Author: Dev
Text Domain: imap-theme
*/

/* ========== RESET & VARIABLES ========== */
:root {
    --theme-accent: #1b3e2a;
    --theme-accent-hover: #15311f;
    --theme-accent-light: rgba(27, 62, 42, 0.08);
    --theme-text: #1a1a1a;
    --theme-text-muted: #6b7280;
    --theme-border: #e5e7eb;
    --theme-bg: #f9fafb;
    --theme-white: #ffffff;
    --theme-radius: 10px;
    --theme-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    --theme-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--theme-text);
    background: var(--theme-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--theme-accent);
    text-decoration: none;
    transition: color var(--theme-transition);
}

a:hover {
    color: var(--theme-accent-hover);
}

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

/* ========== HEADER ========== */
.site-header {
    background: var(--theme-white);
    border-bottom: 1px solid var(--theme-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
}

.site-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--theme-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-logo-icon svg {
    display: block;
}

.site-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--theme-text);
    letter-spacing: -0.02em;
}

.site-logo:hover .site-title {
    color: var(--theme-accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav-link {
    padding: 7px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--theme-text-muted);
    border-radius: 8px;
    transition: all var(--theme-transition);
}

.header-nav-link:hover {
    color: var(--theme-accent);
    background: var(--theme-accent-light);
}

.header-nav-link--active {
    color: var(--theme-accent);
    background: var(--theme-accent-light);
    font-weight: 600;
}

/* ========== MAIN ========== */
.site-main {
    flex: 1;
    width: 100%;
}

/* ========== HERO ========== */
.hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px 0;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--theme-accent-light);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--theme-accent);
    border-radius: 50%;
    animation: hero-pulse 2s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--theme-text);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-title span {
    color: var(--theme-accent);
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--theme-text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* ========== MAP SECTION ========== */
.map-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.map-wrapper {
    background: var(--theme-white);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 24px;
    border: 1px solid var(--theme-border);
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--theme-white);
    border-top: 1px solid var(--theme-border);
    padding: 28px 24px;
    text-align: center;
}

.site-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-text {
    font-size: 13px;
    color: var(--theme-text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-link {
    font-size: 13px;
    color: var(--theme-text-muted);
    transition: color var(--theme-transition);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .hero {
        padding: 32px 16px 0;
    }

    .map-section {
        padding: 0 12px 40px;
    }

    .map-wrapper {
        padding: 14px;
        border-radius: 12px;
    }

    .site-header-inner {
        padding: 12px 16px;
    }

    .header-nav-link {
        padding: 6px 10px;
        font-size: 12.5px;
    }

    .site-footer-inner {
        flex-direction: column;
        gap: 10px;
    }
}
