/* Folha da página inicial. Extraída do <style> embutido de index.html em 11/09/2026,
   quando /en/ e /es/ passaram a existir: três cópias do mesmo CSS divergiriam na
   primeira correção. As três homes carregam este arquivo.

   Os url() são RAIZ-ABSOLUTOS de propósito. Dentro de <style> eles resolviam contra o
   documento; aqui resolvem contra ESTE arquivo, então "./assets/x.jpg" viraria
   "/assets/assets/x.jpg" — cinco imagens de fundo sumiam sem erro visível no console.
   Raiz-absoluto também sobrevive a /en/ e /es/, que estão um nível abaixo. */

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

:root {
    --green-900: #063f2b;
    --green-800: #006a43;
    --green-700: #008456;
    --green-100: #e7f6ee;
    --green-50: #f4fbf7;
    --blue-800: #1456ad;
    --blue-100: #e7f0ff;
    --amber-700: #b76000;
    --amber-100: #fff2d9;
    --red-700: #c8232c;
    --red-100: #ffe7e9;
    --ink: #10231d;
    --muted: #60736b;
    --line: #dce7e1;
    --soft: #f7faf8;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(6, 63, 43, 0.16);
    --container: 1120px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 1000;
    background: var(--white);
    color: var(--green-900);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 1rem;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(16, 35, 29, 0.08);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.nav-inner {
    width: min(100% - 2rem, var(--container));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    font-weight: 800;
    color: var(--green-900);
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--green-800);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--green-900);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-toggle svg,
.btn svg,
.feature-icon svg,
.platform-icon svg,
.plan-name svg,
.step-marker svg,
.small-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.qgis-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.mobile-menu {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.78rem 1.05rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: var(--green-800);
    box-shadow: 0 12px 30px rgba(0, 106, 67, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--green-900);
}

.btn-secondary {
    color: var(--green-900);
    background: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.btn-outline {
    color: var(--green-900);
    background: var(--white);
    border-color: var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--green-800);
    box-shadow: 0 12px 30px rgba(6, 63, 43, 0.1);
}

.hero {
    position: relative;
    min-height: 78svh;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5, 39, 27, 0.95) 0%, rgba(5, 39, 27, 0.78) 44%, rgba(5, 39, 27, 0.25) 100%),
        url("/assets/screenshots/map-overview.jpg") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(7, 52, 36, 0.18);
}

.hero-inner {
    width: min(100% - 2rem, var(--container));
    margin: 0 auto;
    padding: 4.2rem 0 4.6rem;
    position: relative;
}

.hero-copy {
    max-width: 650px;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.hero h1 {
    margin: 0;
    font-size: 5.2rem;
    line-height: 0.96;
    letter-spacing: 0;
    font-weight: 900;
}

.hero-lede {
    margin: 1.35rem 0 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.22rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 700;
}

.meta-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-showcase {
    position: absolute;
    right: -0.4rem;
    bottom: -3.6rem;
    width: min(39vw, 470px);
    height: min(72vh, 610px);
    pointer-events: none;
}

.phone-shot {
    position: absolute;
    width: 54%;
    border-radius: 28px;
    border: 8px solid rgba(8, 31, 24, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    background: var(--ink);
}

.phone-shot.primary {
    right: 0;
    bottom: 0;
    z-index: 2;
}

.phone-shot.secondary {
    left: 0;
    bottom: 4.5rem;
    opacity: 0.96;
}

.section {
    padding: 5.5rem 0;
}

.section.tight {
    padding: 4rem 0;
}

.band-soft {
    background: var(--soft);
    border-block: 1px solid var(--line);
}

.band-green {
    background: var(--green-900);
    color: var(--white);
}

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

.section-heading {
    max-width: 760px;
    margin-bottom: 2.4rem;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-kicker {
    margin: 0 0 0.65rem;
    color: var(--green-800);
    font-weight: 900;
    font-size: 0.86rem;
}

.band-green .section-kicker {
    color: #91e7bf;
}

.section-heading h2 {
    margin: 0;
    font-size: 2.7rem;
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 900;
}

.section-heading p {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.band-green .section-heading p,
.band-green .muted {
    color: rgba(255, 255, 255, 0.72);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.proof-item {
    min-height: 136px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.proof-item strong {
    display: block;
    color: var(--green-900);
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 900;
}

.proof-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.proof-title .qgis-icon {
    width: 2rem;
    height: 2rem;
    color: var(--green-900);
}

.proof-item span {
    display: block;
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card {
    min-height: 238px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 106, 67, 0.28);
    box-shadow: 0 18px 40px rgba(6, 63, 43, 0.08);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green-900);
    background: var(--green-100);
    margin-bottom: 1rem;
}

.feature-card.blue .feature-icon {
    color: var(--blue-800);
    background: var(--blue-100);
}

.feature-card.amber .feature-icon {
    color: var(--amber-700);
    background: var(--amber-100);
}

.feature-card.red .feature-icon {
    color: var(--red-700);
    background: var(--red-100);
}

.feature-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.feature-card p {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

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

.screen-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
}

.screen-rail img,
.phone-frame img {
    width: 100%;
    aspect-ratio: 332 / 720;
    object-fit: cover;
    border-radius: 24px;
    border: 6px solid #0a211a;
    box-shadow: var(--shadow);
    background: #0a211a;
}

.screen-rail img:nth-child(2) {
    margin-top: 3rem;
}

.workflow {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.workflow-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    align-items: start;
}

.step-marker {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--green-100);
    color: var(--green-900);
}

.workflow-step h3 {
    margin: 0;
    font-size: 1rem;
}

.workflow-step p {
    margin: 0.28rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.showcase-list {
    display: grid;
    gap: 4.5rem;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-row:nth-child(even) .showcase-copy {
    order: 2;
}

.showcase-copy h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.15;
}

.showcase-copy p {
    color: var(--muted);
    font-size: 1rem;
    margin: 0.85rem 0 0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 0.65rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--ink);
    font-weight: 650;
    font-size: 0.95rem;
}

.check-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 0.16rem;
    border-radius: 999px;
    background: var(--green-800);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.2 4.9 12.55l1.4-1.42 3.25 3.25 8.15-8.15 1.4 1.42z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.2 4.9 12.55l1.4-1.42 3.25 3.25 8.15-8.15 1.4 1.42z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phone-frame {
    width: min(100%, 264px);
    margin-inline: auto;
}

.phone-frame.wide {
    width: min(100%, 312px);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.platform-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-height: 154px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.platform-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #91e7bf;
    flex: 0 0 auto;
}

.platform-icon .qgis-icon {
    width: 1.65rem;
    height: 1.65rem;
}

.platform-item h3 {
    margin: 0;
    font-size: 1rem;
}

.platform-item p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.plan-card {
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.plan-card.highlight {
    border-color: rgba(0, 106, 67, 0.34);
    box-shadow: 0 18px 40px rgba(6, 63, 43, 0.08);
}

.plan-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--green-900);
    font-weight: 900;
    font-size: 1.15rem;
}

.plan-card p {
    margin: 0.7rem 0 1rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.plan-card li {
    display: flex;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 0.92rem;
}

.plan-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 0.53rem;
    border-radius: 999px;
    background: var(--green-800);
    flex: 0 0 auto;
}

.plan-store-note {
    margin-top: 1.4rem;
    padding: 1.2rem;
    border: 1px solid rgba(0, 106, 67, 0.18);
    border-radius: 8px;
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.plan-store-note p {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 650;
}

.plan-store-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.footnote {
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.tutorial-card {
    position: relative;
    min-height: 260px;
    display: grid;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(5, 39, 27, 0.12) 0%, rgba(5, 39, 27, 0.78) 62%, rgba(5, 39, 27, 0.94) 100%),
        var(--green-900) center / cover no-repeat;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tutorial-card.tutorial-ps,
.tutorial-card.tutorial-exp,
.tutorial-card.tutorial-all {
    background: var(--green-900);
}

.tutorial-card.tutorial-ps::before,
.tutorial-card.tutorial-exp::before,
.tutorial-card.tutorial-all::before {
    content: '';
    position: absolute;
    inset: -6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
}

.tutorial-card.tutorial-ps::before {
    background-image: url("/assets/tutorials/primeiros-passos/01-expedicoes.jpg");
    background-position: center top;
}

.tutorial-card.tutorial-exp::before {
    background-image: url("/assets/tutorials/o-que-e-expedicao/02-mapa-expedicao.jpg");
}

.tutorial-card.tutorial-all::before {
    background-image: url("/assets/screenshots/map-overview.jpg");
}

.tutorial-card.tutorial-ps::after,
.tutorial-card.tutorial-exp::after,
.tutorial-card.tutorial-all::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 39, 27, 0.40) 0%, rgba(5, 39, 27, 0.88) 60%, rgba(5, 39, 27, 0.97) 100%);
}

.tutorial-card:hover,
.tutorial-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(0, 106, 67, 0.28);
    box-shadow: 0 18px 40px rgba(6, 63, 43, 0.12);
}

.tutorial-card-body {
    position: relative;
    z-index: 1;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
}

.tutorial-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    color: var(--green-900);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 900;
}

.tutorial-card h3 {
    margin: 0.75rem 0 0;
    color: var(--white);
    font-size: 1.2rem;
    line-height: 1.2;
}

.tutorial-card p {
    margin: auto 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.tutorial-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.tutorial-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.28rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.tutorial-card-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 900;
}

.tutorial-index-title {
    margin-top: 2.6rem;
}

.tutorial-index {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.tutorial-index li {
    padding: 0.9rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.tutorial-index a {
    color: var(--green-800);
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
}

.tutorial-index a:hover,
.tutorial-index a:focus-visible {
    text-decoration: underline;
}

.tutorial-index span {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(6, 63, 43, 0.96), rgba(0, 106, 67, 0.84)),
        url("/assets/screenshots/emergency.jpg") center / cover no-repeat;
    color: var(--white);
    padding: 5rem 0;
}

.cta-inner {
    width: min(100% - 2rem, 860px);
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    margin: 0;
    font-size: 2.7rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.cta p {
    margin: 1rem auto 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.site-footer {
    padding: 2.5rem 0;
    background: #071b15;
    color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
    width: min(100% - 2rem, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 900;
}

.footer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.footer-note {
    margin: 0.6rem 0 0;
    max-width: 560px;
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--white);
}

@media (max-width: 1040px) {
    .hero h1 {
        font-size: 4.2rem;
    }

    .hero-showcase {
        opacity: 0.62;
        right: -3rem;
    }

    .proof-grid,
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .showcase-row {
        grid-template-columns: 1fr;
    }

    .tutorial-overview,
    .tutorial-index {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-row:nth-child(even) .showcase-copy {
        order: 0;
    }
}

@media (max-width: 760px) {
    .site-nav {
        height: 66px;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        position: fixed;
        inset: 66px 0 auto;
        z-index: 90;
        display: none;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 60px rgba(6, 63, 43, 0.14);
    }

    .mobile-menu.open {
        display: grid;
        gap: 0.65rem;
    }

    .mobile-menu a {
        padding: 0.9rem 1rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        text-decoration: none;
        font-weight: 800;
        color: var(--green-900);
        background: var(--white);
    }

    .hero {
        min-height: 80svh;
        background-position: center;
    }

    .hero-inner {
        padding: 4rem 0 3.4rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-lede {
        font-size: 1.03rem;
    }

    .hero-showcase {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .section-heading h2,
    .cta h2 {
        font-size: 2.05rem;
    }

    .proof-grid,
    .feature-grid,
    .platform-grid,
    .plans-grid,
    .tutorial-overview,
    .tutorial-index {
        grid-template-columns: 1fr;
    }

    .plan-store-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .plan-store-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .screen-rail {
        grid-template-columns: repeat(3, 74%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.8rem;
    }

    .screen-rail img {
        scroll-snap-align: start;
    }

    .screen-rail img:nth-child(2) {
        margin-top: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .brand span {
        font-size: 0.98rem;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .tutorial-actions .btn,
    .plan-store-actions .btn {
        width: 100%;
    }

    .proof-item,
    .feature-card,
    .plan-card,
    .platform-item {
        padding: 1rem;
    }
}

/* Alternador de idioma: globo + nome do idioma por extenso, na barra, ao lado de
   "Abrir Web". Por extenso porque é o que o estrangeiro reconhece — "Español" sim,
   "ES" nem sempre — e é o que o qgis.org faz, que é de onde vem esse público.
   Sem bandeira: bandeira é país, não idioma, e a da Espanha excluiria a América Latina.

   É um <details> nativo: a lista não precisa de biblioteca. Não leva classe `.btn`,
   então NÃO some abaixo de 760px junto com o "Abrir Web" — ali o nome é que vira
   sigla, porque sobram ~140px entre a marca e o hambúrguer. */
.lang-switch {
    position: relative;
}

.lang-switch > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;          /* alvo de toque */
    padding: 0 0.7rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.lang-switch > summary::-webkit-details-marker {
    display: none;
}

.lang-switch > summary:hover {
    background: var(--green-50);
}

.lang-switch > summary:focus-visible {
    outline: 2px solid var(--green-700);
    outline-offset: 2px;
}

.lang-switch[open] > summary {
    background: var(--green-50);
    border-color: var(--line);
}

.lang-switch .globo {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
}

.lang-switch .seta {
    width: 0.7rem;
    height: 0.7rem;
    opacity: 0.55;
    transition: transform 0.18s ease;
}

.lang-switch[open] .seta {
    transform: rotate(180deg);
}

.lang-sigla {
    display: none;
}

.lang-pop {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 200;
    min-width: 196px;
    padding: 0.35rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(6, 63, 43, 0.16);
    display: grid;
    gap: 2px;
}

.lang-pop a,
.lang-pop .atual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 40px;
    padding: 0 0.7rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

.lang-pop a:hover,
.lang-pop a:focus-visible {
    background: var(--green-50);
    color: var(--green-800);
}

.lang-pop .atual {
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 800;
}

.lang-pop em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.lang-pop .atual em {
    color: var(--green-700);
}

@media (max-width: 760px) {
    .lang-nome {
        display: none;
    }

    .lang-sigla {
        display: inline;
    }

    .lang-switch > summary {
        padding: 0 0.5rem;
    }
}
