:root {
    --bg-dark: #0f2418;
    --bg-light: #e9f5ea;
    --surface: #163a25;
    --surface-strong: #1f5a3d;
    --text: #f4f8f6;
    --text-muted: #c5d5c5;
    --accent: #76c161;
    --accent-strong: #64a24d;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 18px 50px rgba(13, 32, 22, 0.18);
    --radius: 24px;
    --font: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: linear-gradient(180deg, #091b12 0%, #10281b 100%);
    color: var(--text);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 29, 17, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-button {
    padding: 0.75rem 1.3rem;
    background: rgba(118, 193, 97, 0.16);
    border: 1px solid rgba(118, 193, 97, 0.35);
    border-radius: 999px;
    color: var(--text) !important;
}

/* ── HERO ── */
.hero {
    padding: 3.5rem 0 0.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    max-width: 680px;
    line-height: 1.05;
}

.hero-copy > p {
    max-width: 580px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.6rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), #91d66e);
    color: #07230f;
    box-shadow: 0 18px 40px rgba(118, 193, 97, 0.24);
}

#resetSimulator {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(118, 193, 97, 0.25);
    background: linear-gradient(135deg, rgba(81, 146, 47, 0.98), rgba(123, 195, 78, 1));
    color: #081d0f;
    box-shadow: 0 18px 42px rgba(46, 101, 38, 0.28);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background 0.35s ease;
}

#resetSimulator::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -50%;
    width: 60%;
    height: 220%;
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-100%) rotate(25deg);
    transition: transform 0.75s ease;
}

#resetSimulator:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 30px 50px rgba(62, 134, 58, 0.32),
                inset 0 0 0 1px rgba(160, 240, 130, 0.16);
    border-color: rgba(160, 240, 130, 0.45);
}

#resetSimulator:hover::before {
    transform: translateX(220%) rotate(25deg);
}

#resetSimulator:active {
    transform: translateY(0px) scale(0.97);
    box-shadow: 0 16px 28px rgba(33, 78, 28, 0.26);
}

#resetSimulator .reset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: transform 0.5s ease;
}

#resetSimulator:hover .reset-icon {
    transform: rotate(180deg);
}

#resetSimulator:active .reset-icon {
    transform: rotate(180deg) scale(0.92);
}

.button-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-cards span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-visual {
    display: grid;
    gap: 1rem;
}

.visual-card {
    background: linear-gradient(180deg, rgba(11, 24, 15, 0.95), rgba(23, 60, 35, 0.5));
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-info div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 1.15rem 1rem;
}

.hero-info strong {
    display: block;
    font-size: 1.9rem;
    color: var(--text);
    line-height: 1.1;
}

.hero-info p {
    color: var(--text-muted);
    margin-top: 0.35rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.hero-disclaimer,
.stats-disclaimer,
.parana-disclaimer {
    margin-top: 1.25rem;
    color: rgba(197, 213, 197, 0.6);
    font-size: 0.82rem;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── SECTIONS ── */
.section {
    padding: 4rem 0;
}

.section-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
    display: inline-block;
    font-size: 0.8rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.75;
}

.section-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

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

.content-block,
.visual-block {
    width: 100%;
    max-width: 720px;
}

.content-block {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.content-block h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.content-block p {
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── CARDS ── */
.section-theme .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 16px 40px rgba(1, 17, 10, 0.08);
    transition: transform 280ms cubic-bezier(.2,.9,.2,1), border-color 280ms ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(118, 193, 97, 0.2);
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

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

/* ── FEATURE GRID ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    background: rgba(118, 193, 97, 0.07);
    border-color: rgba(118, 193, 97, 0.2);
}

.feature-icon {
    font-size: 1.2rem;
}

/* ── IMAGES ── */
.section-sustainability .visual-block img,
.section-technology .visual-block img {
    border-radius: 32px;
    box-shadow: var(--shadow);
    object-fit: cover;
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* ── SEÇÃO PARANÁ ── */
.section-parana {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.parana-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.parana-header h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.parana-header p {
    color: var(--text-muted);
    line-height: 1.75;
}

.parana-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.parana-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 1.4rem;
    transition: transform 340ms cubic-bezier(.2,.9,.2,1), border-color 340ms ease, box-shadow 340ms ease;
    position: relative;
    overflow: hidden;
}

.parana-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(118, 193, 97, 0.62);
    box-shadow: 0 22px 50px rgba(6, 18, 10, 0.22), 0 0 30px rgba(118,193,97,0.06);
    z-index: 6;
}

.parana-card--highlight {
    border-color: rgba(118, 193, 97, 0.28);
    background: rgba(118, 193, 97, 0.06);
    grid-column: span 1;
}

.parana-card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.85rem;
}

.parana-card .parana-card-icon {
    display: inline-block;
    transition: transform 320ms ease, filter 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .parana-card:hover .parana-card-icon {
        transform: translateY(-6px) scale(1.12);
        filter: drop-shadow(0 6px 14px rgba(20,90,30,0.18));
    }
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
    .parana-card {
        transition: none;
    }
    .parana-card::after {
        display: none;
    }
}

.parana-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    color: var(--text);
}

.parana-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ── FUTURO ── */
.section-future-grid {
    display: grid;
    gap: 2rem;
}

.section-future-grid > div:first-child h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-future-grid > div:first-child p {
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.75;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.stat-card strong {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.65rem;
    color: var(--accent);
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ── SIMULADOR ── */
.simulator-header {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.simulator-header h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    margin-bottom: 1rem;
    line-height: 1.08;
}

.simulator-header p {
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 760px;
}

.simulator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.simulator-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.simulator-options > #resetSimulator {
    grid-column: span 2;
    justify-self: start;
    margin-top: 0.5rem;
}

.option-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    cursor: pointer;
    padding: 1.4rem 1.4rem;
    border-radius: 28px;
    background: rgba(12, 26, 16, 0.96);
    border: 1px solid rgba(118, 193, 97, 0.16);
    box-shadow: 0 20px 35px rgba(4, 12, 7, 0.16);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.option-card:hover,
.option-card:focus-within,
.option-card.selected {
    transform: translateY(-2px);
    border-color: rgba(118, 193, 97, 0.6);
    background: rgba(24, 56, 33, 0.96);
    box-shadow: 0 28px 48px rgba(4, 12, 7, 0.26);
}

.option-card input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.option-card .option-check {
    width: 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(118, 193, 97, 0.28);
    color: transparent;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.option-card input:checked ~ .option-check {
    background: rgba(118, 193, 97, 0.15);
    border-color: rgba(118, 193, 97, 0.86);
    color: #dbffe0;
    transform: scale(1.05);
}

.option-card input:checked ~ .option-check::before {
    content: "✓";
    font-size: 1rem;
    font-weight: 700;
}

.option-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text);
    line-height: 1.35;
}

.option-card p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--text-muted);
}

#calculate {
    padding: 1rem 1.8rem;
}

.simulator-result {
    display: grid;
    gap: 0.6rem;
    position: sticky;
    top: 5.25rem;
    align-self: start;
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: rgba(12, 28, 16, 0.98);
    border: 1px solid rgba(118, 193, 97, 0.14);
    box-shadow: 0 18px 36px rgba(4, 12, 7, 0.18);
    max-height: none;
    overflow: visible;
    z-index: 3;
}

.simulator-result::before {
    content: "Painel de resultados";
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
    display: block;
    padding: 0.2rem 0 0.45rem 0;
}

.result-card {
    padding: 0.95rem 1rem;
    background: rgba(18, 44, 24, 0.96);
    border: 1px solid rgba(118, 193, 97, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(5, 15, 8, 0.12);
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.result-card.animate {
    animation: pulseHighlight 0.8s ease;
}

@keyframes pulseHighlight {
    0% { transform: translateY(0); box-shadow: 0 24px 50px rgba(5, 15, 8, 0.18); }
    50% { transform: translateY(-2px); box-shadow: 0 28px 60px rgba(5, 15, 8, 0.28); }
    100% { transform: translateY(0); box-shadow: 0 24px 50px rgba(5, 15, 8, 0.18); }
}

.result-card:hover,
.result-card:focus-within,
.result-card.active-tooltip {
    transform: translateY(-2px);
    z-index: 30;
    border-color: rgba(118, 193, 97, 0.45);
    box-shadow: 0 28px 62px rgba(5, 15, 8, 0.25);
}

.result-card::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.85rem);
    top: auto;
    transform: translateX(-50%);
    width: min(340px, calc(100vw - 2rem));
    max-width: 340px;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    background: rgba(4, 18, 8, 0.98);
    color: #eef7ed;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    font-size: 0.92rem;
    line-height: 1.7;
    z-index: 50;
    white-space: normal;
    word-break: break-word;
}

.result-card:hover::after,
.result-card:focus-within::after,
.result-card.active-tooltip::after,
.result-card:active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
    pointer-events: auto;
    z-index: 60;
}

.result-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.2rem;
}

.result-card h3 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(120, 195, 95, 0.16);
    color: #eef7ed;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 200ms ease, background 200ms ease;
}

.info-icon::before {
    content: "i";
    font-size: 0.95rem;
    font-weight: 700;
}

.info-icon:hover,
.info-icon:focus-visible {
    background: rgba(120, 195, 95, 0.28);
    transform: translateY(-1px);
}

.result-card span {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--text);
}

.profile-summary {
    padding: 0.85rem 1rem;
    background: rgba(9, 22, 14, 0.95);
    border: 1px solid rgba(118, 193, 97, 0.12);
    border-radius: 16px;
}

.profile-summary h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--text);
}

.profile-summary p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.92rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    height: 12px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #76c161, #b1df95);
    transition: width 0.45s cubic-bezier(.2,.9,.2,1);
    border-radius: 999px;
}

.result-note {
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.simulator-disclaimer {
    margin-top: 1.75rem;
    color: rgba(197, 213, 197, 0.64);
    font-size: 0.9rem;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
    }
}

/* ── FOOTER ── */
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(9, 23, 15, 0.9);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.footer-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── RESPONSIVIDADE ── */
@media (max-width: 1024px) {
    .parana-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .section-grid,
    .simulator-grid,
    .stats-grid,
    .card-grid,
    .feature-grid,
    .parana-grid {
        grid-template-columns: 1fr;
    }

    .simulator-grid {
        gap: 1.5rem;
    }

    .simulator-options {
        grid-template-columns: 1fr;
    }

    .simulator-options > #calculate {
        grid-column: span 1;
    }

    .simulator-result {
        position: static;
        max-height: none;
        overflow: visible;
        top: auto;
    }

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

    .hero-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 3rem 0;
    }

    .content-block,
    .visual-block {
        max-width: 100%;
    }

    .parana-card--highlight {
        grid-column: span 1;
    }
}

@media (max-width: 620px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        gap: 0.5rem;
    }

    .main-nav a {
        font-size: 0.88rem;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .hero-info {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .option-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .simulator-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .simulator-result {
        position: static;
        top: auto;
        padding: 1.25rem;
    }

    .result-card::after {
        top: calc(100% + 0.75rem);
        bottom: auto;
        left: 50%;
        width: calc(100vw - 2rem);
    }

    .footer-links {
        flex-direction: column;
        width: 100%;
    }

    .footer-links .button {
        text-align: center;
    }

    .section-future-grid {
        gap: 1.5rem;
    }
}

/* ── INTERACTIVE HOVER EFFECTS (DESKTOP ONLY) ── */
@media (hover: hover) and (pointer: fine) {
    /* Smooth max-height transitions for the right panel when JS adjusts it */
    .simulator-result {
        transition: max-height 360ms cubic-bezier(.2,.9,.2,1);
    }

    /* Base transition for all card-like elements */
    .card,
    .feature-card,
    .parana-card,
    .stat-card,
    .hero-card,
    .visual-card,
    .option-card,
    .result-card,
    .quiz-card {
        transition: transform 260ms cubic-bezier(.2,.9,.2,1),
                    box-shadow 260ms ease,
                    border-color 260ms ease;
        will-change: transform, box-shadow;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    /* Hover highlight (premium) */
    .card:hover,
    .feature-card:hover,
    .parana-card:hover,
    .stat-card:hover,
    .hero-card:hover,
    .visual-card:hover,
    .option-card:hover,
    .result-card:hover,
    .quiz-card:hover {
        transform: translateY(-6px) scale(1.03);
        border-color: rgba(118, 193, 97, 0.62) !important;
        box-shadow: 0 28px 56px rgba(6, 20, 10, 0.22), 0 0 24px rgba(118,193,97,0.06);
        z-index: 8;
    }

    /* Slight icon/title lift inside the card */
    .card:hover h3,
    .feature-card:hover h3,
    .parana-card:hover h3,
    .stat-card:hover h3,
    .option-card:hover h3,
    .result-card:hover h3 {
        transform: translateY(-4px);
        transition: transform 280ms ease;
        display: inline-block;
    }

    /* For option cards, keep the small check indicator responsive but lifted */
    .option-card:hover .option-check {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 6px 14px rgba(8,30,12,0.18);
    }

    /* Ensure the hover doesn't push layout (use transforms only) - no extra rules required */
}

/* On touch devices or small screens keep effects minimal */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
    .card,
    .feature-card,
    .parana-card,
    .stat-card,
    .hero-card,
    .visual-card,
    .option-card,
    .result-card,
    .quiz-card {
        transition: none;
    }
}



/* ── Acessibilidade, temas e acabamento final ── */
.a11y-panel {
    position: fixed;
    right: 1.25rem;
    bottom: 5.25rem;
    z-index: 300;
    width: min(270px, calc(100vw - 2rem));
    padding: 1.15rem;
    border-radius: 24px;
    background: rgba(8, 28, 15, 0.96);
    border: 1px solid rgba(118, 193, 97, 0.45);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 28px rgba(118, 193, 97, 0.12);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.96);
    transition: opacity .24s ease, transform .24s ease, box-shadow .24s ease;
}

.a11y-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.a11y-panel-header,
.a11y-row,
.a11y-toggle-btn {
    display: flex;
    align-items: center;
}

.a11y-panel-header {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.a11y-panel-title,
.a11y-group-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}

.a11y-panel-title {
    font-size: .9rem;
}

.a11y-group {
    margin-top: .85rem;
}

.a11y-group-label {
    margin-bottom: .5rem;
    font-size: .72rem;
    color: var(--text-muted);
}

.a11y-row {
    gap: .45rem;
}

.a11y-btn,
.a11y-toggle-btn,
.a11y-close {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.a11y-btn {
    flex: 1;
    min-height: 42px;
    border-radius: 12px;
    font-weight: 800;
}

.a11y-btn--lg {
    font-size: 1.15rem;
}

.a11y-toggle-btn {
    width: 100%;
    justify-content: flex-start;
    gap: .65rem;
    min-height: 44px;
    margin-bottom: .45rem;
    padding: .65rem .8rem;
    border-radius: 14px;
    font-weight: 700;
}

.a11y-close {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.a11y-btn:hover,
.a11y-toggle-btn:hover,
.a11y-close:hover,
.a11y-toggle-btn.active {
    transform: translateY(-1px);
    border-color: rgba(118, 193, 97, 0.65);
    background: rgba(118, 193, 97, 0.14);
    box-shadow: 0 12px 30px rgba(118, 193, 97, 0.12);
}

.a11y-fab {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 301;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    border: 1px solid rgba(118, 193, 97, 0.55);
    background: rgba(9, 31, 16, 0.94);
    color: var(--accent);
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 22px rgba(118, 193, 97, 0.12);
    backdrop-filter: blur(12px);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.a11y-fab:hover,
.a11y-fab:focus-visible {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32), 0 0 32px rgba(118, 193, 97, 0.26);
    background: rgba(27, 66, 33, 0.98);
}

@media (hover: hover) and (pointer: fine) {
    .card,
    .feature-card,
    .parana-card,
    .stat-card,
    .hero-info div,
    .hero-card,
    .visual-card,
    .option-card,
    .result-card {
        will-change: transform;
    }

    .card:hover,
    .feature-card:hover,
    .parana-card:hover,
    .stat-card:hover,
    .hero-info div:hover,
    .hero-card:hover,
    .visual-card:hover,
    .option-card:hover,
    .result-card:hover {
        transform: translateY(-6px) scale(1.015);
        border-color: rgba(135, 220, 105, 0.72) !important;
        box-shadow:
            0 24px 58px rgba(3, 16, 8, 0.24),
            0 0 0 1px rgba(135, 220, 105, 0.18),
            0 0 30px rgba(118, 193, 97, 0.16);
        z-index: 8;
    }

    .card:hover .card-icon,
    .feature-card:hover .feature-icon,
    .parana-card:hover .parana-card-icon {
        transform: translateY(-3px) scale(1.12);
        filter: drop-shadow(0 0 10px rgba(135, 220, 105, 0.42));
    }
}

.card-icon,
.feature-icon,
.parana-card-icon {
    transition: transform .28s ease, filter .28s ease;
}

html[data-theme="light"] body {
    background: linear-gradient(180deg, #f2f8ef 0%, #e4f0df 100%);
    color: #102016;
}

html[data-theme="light"] {
    --text: #102016;
    --text-muted: #446047;
    --accent: #2f8f37;
    --border: rgba(44, 120, 55, 0.16);
    --shadow: 0 18px 45px rgba(50, 100, 55, 0.12);
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-footer {
    background: rgba(240, 248, 236, 0.92);
    border-color: rgba(44, 120, 55, 0.16);
}

html[data-theme="light"] .card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .parana-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .hero-info div,
html[data-theme="light"] .option-card,
html[data-theme="light"] .result-card,
html[data-theme="light"] .profile-summary,
html[data-theme="light"] .simulator-result,
html[data-theme="light"] .quiz-card,
html[data-theme="light"] .history-cards .card,
html[data-theme="light"] .summary-grid article {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(44, 120, 55, 0.18);
    color: #102016;
}

html[data-theme="light"] p,
html[data-theme="light"] .content-block p,
html[data-theme="light"] .section-header p,
html[data-theme="light"] .parana-header p,
html[data-theme="light"] .result-note,
html[data-theme="light"] .simulator-disclaimer,
html[data-theme="light"] .hero-disclaimer,
html[data-theme="light"] .stats-disclaimer,
html[data-theme="light"] .parana-disclaimer {
    color: #446047;
}

html[data-theme="light"] .a11y-panel,
html[data-theme="light"] .a11y-fab {
    background: rgba(246, 252, 243, 0.96);
    color: #102016;
}

html[data-contrast="high"] body {
    background: #000 !important;
    color: #fff !important;
}

html[data-contrast="high"] .site-header,
html[data-contrast="high"] .site-footer,
html[data-contrast="high"] .card,
html[data-contrast="high"] .feature-card,
html[data-contrast="high"] .parana-card,
html[data-contrast="high"] .stat-card,
html[data-contrast="high"] .option-card,
html[data-contrast="high"] .result-card,
html[data-contrast="high"] .simulator-result,
html[data-contrast="high"] .profile-summary,
html[data-contrast="high"] .quiz-card {
    background: #050505 !important;
    border-color: #ffff66 !important;
    color: #fff !important;
}

html[data-contrast="high"] p,
html[data-contrast="high"] a,
html[data-contrast="high"] h1,
html[data-contrast="high"] h2,
html[data-contrast="high"] h3,
html[data-contrast="high"] span {
    color: #fff !important;
}

html[data-contrast="high"] .section-label,
html[data-contrast="high"] .eyebrow {
    color: #00ff66 !important;
}

@media (max-width: 900px) {
    .simulator-result {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .a11y-panel {
        right: 1rem;
        bottom: 4.8rem;
    }

    .a11y-fab {
        right: 1rem;
        bottom: 1rem;
    }
}
