/* ===========================
   RESET & VARIÁVEIS GLOBAIS
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #050d18;
    --bg-mid: #071426;
    --bg-card: #0a1f35;
    --bg-card-2: #0d2848;
    --accent-blue: #4fc3f7;
    --accent-purple: #ce93d8;
    --accent-teal: #4db6ac;
    --accent-orange: #ffb74d;
    --accent-green: #81c784;
    --accent-red: #ef5350;
    --text-primary: #e8f4fd;
    --text-secondary: #8fb3d0;
    --text-muted: #4a7a9b;
    --border-color: rgba(79, 195, 247, 0.15);
    --glow-blue: rgba(79, 195, 247, 0.2);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 4px; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 13, 24, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-blue);
    text-decoration: none;
}

.nav-logo i { font-size: 1.4rem; }

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-blue);
    background: var(--glow-blue);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding: 6rem 4rem 4rem;
    background: radial-gradient(ellipse at 20% 50%, rgba(13, 71, 161, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 77, 64, 0.2) 0%, transparent 50%),
                var(--bg-dark);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    animation: fadeInLeft 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid var(--border-color);
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #4fc3f7, #81d4fa, #b2ebf2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #0288d1, #0097a7);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(2, 136, 209, 0.3);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 136, 209, 0.5);
}

.hero-btn i {
    animation: bounce 2s infinite;
}

/* EARTH VISUAL */
.hero-visual {
    z-index: 2;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

.earth-container {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earth-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.15), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.earth-globe {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atmosphere-layer {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(79, 195, 247, 0.2);
    animation: rotateLayer 20s linear infinite;
}

.layer-1 { width: 260px; height: 260px; border-color: rgba(79, 195, 247, 0.08); animation-duration: 60s; }
.layer-2 { width: 230px; height: 230px; border-color: rgba(79, 195, 247, 0.12); animation-duration: 45s; animation-direction: reverse; }
.layer-3 { width: 205px; height: 205px; border-color: rgba(79, 195, 247, 0.16); animation-duration: 35s; }
.layer-4 { width: 185px; height: 185px; border-color: rgba(79, 195, 247, 0.22); animation-duration: 25s; animation-direction: reverse; }
.layer-5 { width: 165px; height: 165px; border-color: rgba(79, 195, 247, 0.30); border-width: 2px; animation-duration: 15s; }

.earth-core {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #1565c0, #0a237e, #050d18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    box-shadow: 0 0 40px rgba(21, 101, 192, 0.5), inset 0 0 40px rgba(0, 0, 0, 0.5);
    animation: rotateEarth 10s linear infinite;
    z-index: 2;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 26px;
    height: 44px;
    border: 2px solid var(--border-color);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: var(--accent-blue);
    border-radius: 2px;
    animation: scrollAnim 2s ease infinite;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--bg-mid);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid var(--border-color);
    color: var(--accent-blue);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   CARDS GRID
   =========================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-blue::before { background: linear-gradient(to right, #0288d1, #4fc3f7); }
.card-purple::before { background: linear-gradient(to right, #7b1fa2, #ce93d8); }
.card-teal::before { background: linear-gradient(to right, #00796b, #4db6ac); }
.card-orange::before { background: linear-gradient(to right, #e65100, #ffb74d); }

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(79, 195, 247, 0.3);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.card-blue .card-icon { background: rgba(2, 136, 209, 0.15); color: #4fc3f7; }
.card-purple .card-icon { background: rgba(123, 31, 162, 0.15); color: #ce93d8; }
.card-teal .card-icon { background: rgba(0, 121, 107, 0.15); color: #4db6ac; }
.card-orange .card-icon { background: rgba(230, 81, 0, 0.15); color: #ffb74d; }

.card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Formula Box */
.formula-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.formula {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.3rem;
}

.formula-box small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Units List */
.units-list { margin-top: 1rem; }
.unit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.88rem;
}
.unit-name { color: var(--accent-purple); font-weight: 600; }
.unit-val { color: var(--text-secondary); }

/* Info List */
.info-list { list-style: none; margin-top: 1rem; }
.info-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 0.3rem 0;
}
.info-list li i { color: var(--accent-teal); font-size: 0.75rem; }

/* Timeline Mini */
.timeline-mini { margin-top: 1rem; }
.tl-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.4rem 0;
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.tl-year {
    background: rgba(255, 183, 77, 0.1);
    color: var(--accent-orange);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ===========================
   BARÔMETRO INTERATIVO
   =========================== */
.barometer-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.barometer-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.barometer-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.altitude-control label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.altitude-control label span {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(to right, var(--accent-blue), var(--bg-card-2));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
    border: 3px solid white;
}

.pressure-display {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.pressure-gauge {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-blue);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 130px;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.15);
}

.gauge-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.gauge-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 0.3rem 0;
}

.info-row i { color: var(--accent-blue); width: 14px; }
.info-row span { color: var(--accent-blue); font-weight: 600; }

.barometer-visual {
    position: relative;
}

/* ===========================
   CAMADAS DA ATMOSFERA
   =========================== */
.atmosphere-diagram {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.diagram-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.layers-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.layer-bar {
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.layer-color {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.layer-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e8f4fd;
}

.layer-range {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-family: monospace;
}

.layer-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.layer-bar.active .layer-info {
    padding: 1rem 1.5rem;
    max-height: 100px;
}

.layer-bar:hover .layer-color {
    filter: brightness(1.2);
}

/* ===========================
   CLIMATE SECTION
   =========================== */
.climate-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.climate-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.climate-card:hover {
    border-color: rgba(79, 195, 247, 0.3);
    transform: translateY(-3px);
}

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

.climate-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.climate-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.3rem 0;
    line-height: 1.5;
}

.feature-list li i { color: var(--accent-blue); margin-top: 3px; font-size: 0.7rem; }

.pressure-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.press-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    flex: 1;
    min-width: 80px;
    text-align: center;
}

.press-box.high {
    background: rgba(2, 136, 209, 0.15);
    border: 1px solid rgba(2, 136, 209, 0.3);
}

.press-box.low {
    background: rgba(198, 40, 40, 0.15);
    border: 1px solid rgba(198, 40, 40, 0.3);
}

.press-symbol {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.press-box.high .press-symbol { color: #4fc3f7; }
.press-box.low .press-symbol { color: #ef5350; }

.press-box span { font-size: 0.8rem; font-weight: 600; }
.press-box small { font-size: 0.75rem; color: var(--text-muted); }
.press-arrow { color: var(--text-muted); font-size: 0.85rem; text-align: center; }

/* ===========================
   CHART SECTION
   =========================== */
.chart-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.chart-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.chart-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: center;
}

.chart-container {
    position: relative;
}

.gas-legend {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.gas-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.gas-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 3px;
}

.gas-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.gas-info strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gas-info span {
    font-size: 0.82rem;
    color: var(--accent-blue);
}

.gas-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===========================
   CORPO HUMANO
   =========================== */
.body-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.body-visual {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
}

.human-body {
    position: relative;
    width: 200px;
}

.body-svg {
    width: 200px;
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.2));
}

.body-hotspot {
    position: absolute;
    z-index: 5;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.hotspot-dot {
    width: 14px;
    height: 14px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.8);
    animation: hotspotPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hotspot-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(5, 13, 24, 0.9);
    border: 1px solid var(--border-color);
    color: var(--accent-blue);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.body-hotspot:hover .hotspot-label,
.body-hotspot.active .hotspot-label {
    opacity: 1;
}

.body-hotspot.active .hotspot-dot {
    background: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.8);
}

.body-info-panel {
    position: relative;
}

.body-info {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.body-info.active {
    display: block;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.info-header i { font-size: 2rem; }

.info-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.body-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.breath-cycle {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cycle-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    flex: 1;
    text-align: center;
}

.cycle-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.cycle-step strong { display: block; color: var(--text-primary); margin-bottom: 0.3rem; }
.cycle-step small { color: var(--text-muted); font-size: 0.8rem; }

.fact-box {
    background: rgba(79, 195, 247, 0.05);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-left: 3px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.fact-box i { color: var(--accent-blue); margin-top: 2px; flex-shrink: 0; }

.blood-pressure {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bp-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.bp-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.bp-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bp-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===========================
   ALTITUDE TIMELINE
   =========================== */
.altitude-timeline {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 4rem;
}

.alt-marker {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 0;
    transition: var(--transition);
}

.alt-marker:hover {
    border-color: rgba(79, 195, 247, 0.3);
    transform: translateX(5px);
}

.alt-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.alt-content {
    flex: 1;
}

.alt-content h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
}

.alt-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.alt-stats span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.alt-stats i { font-size: 0.75rem; }

.alt-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.alt-connector {
    width: 3px;
    height: 24px;
    background: var(--border-color);
    margin-left: 2rem;
    position: relative;
}

.alert-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

.alert-tag.yellow { background: rgba(255, 238, 88, 0.1); color: #fdd835; border: 1px solid rgba(253, 216, 53, 0.3); }
.alert-tag.orange { background: rgba(255, 152, 0, 0.1); color: #ff9800; border: 1px solid rgba(255, 152, 0, 0.3); }
.alert-tag.red { background: rgba(239, 83, 80, 0.1); color: #ef5350; border: 1px solid rgba(239, 83, 80, 0.3); }

/* DISEASE SECTION */
.disease-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.disease-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.disease-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.disease-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 195, 247, 0.3);
}

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

.disease-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.disease-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.severity {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity.low { background: rgba(76, 175, 80, 0.1); color: #66bb6a; border: 1px solid rgba(76, 175, 80, 0.3); }
.severity.med { background: rgba(255, 152, 0, 0.1); color: #ffa726; border: 1px solid rgba(255, 152, 0, 0.3); }
.severity.high { background: rgba(239, 83, 80, 0.1); color: #ef5350; border: 1px solid rgba(239, 83, 80, 0.3); }

/* ===========================
   CURIOSIDADES
   =========================== */
.curiosities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.curiosity-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.curiosity-card.big {
    grid-column: span 2;
}

.curiosity-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 195, 247, 0.3);
    box-shadow: var(--shadow);
}

.cur-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.curiosity-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
}

.curiosity-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===========================
   QUIZ
   =========================== */
.quiz-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.quiz-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quiz-section h3 i { color: var(--accent-blue); }

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

#quiz-counter {
    color: var(--text-muted);
    font-size: 0.88rem;
    white-space: nowrap;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-teal));
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 20%;
}

#question-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.option-btn {
    background: var(--bg-card-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: var(--font-main);
    line-height: 1.4;
}

.option-btn:hover:not(:disabled) {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    background: rgba(79, 195, 247, 0.05);
}

.option-btn.correct {
    background: rgba(76, 175, 80, 0.15);
    border-color: #66bb6a;
    color: #66bb6a;
}

.option-btn.wrong {
    background: rgba(239, 83, 80, 0.15);
    border-color: #ef5350;
    color: #ef5350;
}

.quiz-result {
    text-align: center;
    padding: 2rem;
}

.quiz-result.hidden { display: none; }

.result-emoji { font-size: 4rem; margin-bottom: 1rem; }
.quiz-result h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}
.quiz-result p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-quiz-restart {
    background: linear-gradient(135deg, #0288d1, #0097a7);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-quiz-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 136, 209, 0.3);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-mid);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-links h4,
.footer-facts h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-blue); }

.footer-facts p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===========================
   ANIMAÇÕES
   =========================== */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes rotateLayer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateEarth {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes scrollAnim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

@keyframes hotspotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(79, 195, 247, 0); }
}

@keyframes particleFly {
    from { transform: translateY(0) translateX(0); opacity: 1; }
    to { transform: translateY(-200px) translateX(var(--dx)); opacity: 0; }
}

/* AOS (Animate on scroll) simulated */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }

/* ===========================
   RESPONSIVIDADE
   =========================== */
@media (max-width: 1024px) {
    .hero { padding: 6rem 2rem 4rem; gap: 2rem; }
    .hero-visual { display: none; }
    .barometer-section { grid-template-columns: 1fr; }
    .chart-wrapper { grid-template-columns: 1fr; }
    .body-section { grid-template-columns: 1fr; }
    .body-visual { position: relative; top: auto; }
    .curiosities-grid { grid-template-columns: 1fr 1fr; }
    .curiosity-card.big { grid-column: span 2; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5, 13, 24, 0.98); border-bottom: 1px solid var(--border-color); padding: 1rem; gap: 0.3rem; }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .hero { flex-direction: column; text-align: center; }
    .hero-stats { justify-content: center; }
    .stat-divider { display: none; }
    .cards-grid { grid-template-columns: 1fr; }
    .curiosities-grid { grid-template-columns: 1fr; }
    .curiosity-card.big { grid-column: span 1; }
    .options-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .body-section { grid-template-columns: 1fr; }
    .human-body { margin: 0 auto; }
    .alt-marker { flex-direction: column; }
    .climate-section { grid-template-columns: 1fr; }
    .breath-cycle { flex-direction: column; }
}

@media (max-width: 480px) {
    .section { padding: 4rem 0; }
    .hero-title { font-size: 2.5rem; }
    .barometer-section { padding: 1.5rem; }
    .quiz-section { padding: 1.5rem; }
}
