/* ==========================================================================
   Lumina Digital Apps — site institucional
   ========================================================================== */

:root {
    --bg: #fbfaf7;
    --surface: #ffffff;
    --surface-soft: #f3f1eb;
    --text: #111113;
    --text-soft: #5e5d62;
    --line: rgba(17, 17, 19, 0.12);
    --line-strong: rgba(17, 17, 19, 0.22);
    --brand: #ffc400;
    --brand-strong: #e8ad00;
    --brand-soft: #fff1ae;
    --dark: #0a0a0b;
    --dark-soft: #171719;
    --white: #ffffff;
    --success: #176b42;
    --success-bg: #e8f7ef;
    --danger: #9c2727;
    --danger-bg: #fff0f0;
    --shadow-sm: 0 8px 30px rgba(17, 17, 19, 0.06);
    --shadow-md: 0 24px 70px rgba(17, 17, 19, 0.10);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --container: 1180px;
    --header-height: 84px;
}

html[data-theme="dark"] {
    --bg: #0c0c0d;
    --surface: #151517;
    --surface-soft: #1c1c1f;
    --text: #f5f4ef;
    --text-soft: #b6b4ae;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --brand-soft: #3d3105;
    --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.32);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--brand);
    color: var(--dark);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--brand);
    color: var(--dark);
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-strong);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.35;
    text-transform: uppercase;
}

.section {
    padding: 104px 0;
}

.section--soft {
    background: var(--surface-soft);
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

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

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

.section-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: none;
    gap: 32px;
}

.section-heading h2,
.product-intro h2,
.founder__content h2,
.story-grid h2,
.cta-card h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.section-heading > p:last-child {
    max-width: 630px;
    margin: 20px auto 0;
    color: var(--text-soft);
    font-size: 1.08rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line-strong);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    border-color: var(--brand-strong);
}

/* Header ------------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    height: 62px;
}

.brand__logo {
    width: 168px;
    height: 62px;
    object-fit: contain;
    object-position: left center;
}

.brand__logo--dark {
    display: none;
}

html[data-theme="dark"] .brand__logo--light {
    display: none;
}

html[data-theme="dark"] .brand__logo--dark {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav > a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 0.94rem;
    font-weight: 750;
    text-decoration: none;
    transition: color 150ms ease, background 150ms ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.main-nav > a.is-active {
    background: var(--surface-soft);
    color: var(--text);
}

.theme-toggle,
.menu-toggle {
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.theme-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
}

.theme-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.theme-toggle__moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle__moon {
    display: block;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: currentColor;
}

/* Buttons ----------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button--primary {
    background: var(--brand);
    color: var(--dark);
    box-shadow: 0 12px 32px rgba(255, 196, 0, 0.22);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: #ffd02d;
    box-shadow: 0 16px 38px rgba(255, 196, 0, 0.28);
}

.button--ghost {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--text);
}

.button--outline {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--text);
}

.button--dark {
    background: var(--dark);
    color: var(--white);
}

.button--small {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 0.88rem;
}

.button--full {
    width: 100%;
}

/* Hero -------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    overflow: hidden;
    display: grid;
    align-items: center;
    padding: 80px 0 90px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: 70px;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.5rem, 7.6vw, 7.4rem);
    letter-spacing: -0.075em;
    line-height: 0.87;
}

.hero h1 span {
    color: var(--brand-strong);
}

.hero__lead {
    max-width: 650px;
    margin: 34px 0 0;
    color: var(--text-soft);
    font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero__visual {
    display: grid;
    place-items: center;
    min-height: 540px;
}

.light-orbit {
    position: relative;
    width: min(470px, 100%);
    aspect-ratio: 1;
}

.orbit {
    position: absolute;
    inset: 50%;
    border: 1px solid var(--line);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit--one {
    width: 92%;
    height: 92%;
}

.orbit--two {
    width: 67%;
    height: 67%;
    border-style: dashed;
    animation: orbit-spin 28s linear infinite;
}

.orbit--three {
    width: 42%;
    height: 42%;
}

.light-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
    background: var(--brand);
    box-shadow: 0 0 0 18px color-mix(in srgb, var(--brand) 18%, transparent), 0 30px 80px rgba(255, 196, 0, 0.32);
    transform: translate(-50%, -50%) rotate(45deg);
}

.light-core::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: -10px;
    width: 50px;
    height: 26px;
    border-radius: 7px;
    background: var(--text);
    box-shadow: 0 11px 0 -3px var(--text);
}

.light-core__line {
    position: absolute;
    top: -62px;
    left: 50%;
    width: 3px;
    height: 38px;
    border-radius: 3px;
    background: var(--brand);
    transform-origin: 50% 137px;
}

.light-core__line:nth-child(1) {
    transform: translateX(-50%) rotate(-45deg);
}

.light-core__line:nth-child(2) {
    transform: translateX(-50%) rotate(0deg);
}

.light-core__line:nth-child(3) {
    transform: translateX(-50%) rotate(45deg);
}

.purpose-tag {
    position: absolute;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.purpose-tag--faith {
    top: 9%;
    left: 10%;
}

.purpose-tag--family {
    top: 20%;
    right: 0;
}

.purpose-tag--care {
    right: 5%;
    bottom: 16%;
}

.purpose-tag--order {
    bottom: 5%;
    left: 12%;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero__glow--one {
    top: 8%;
    right: -10%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255, 196, 0, 0.16), transparent 68%);
}

.hero__glow--two {
    bottom: -25%;
    left: -15%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 196, 0, 0.08), transparent 66%);
}

@keyframes orbit-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Principles -------------------------------------------------------------- */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.principle {
    min-height: 240px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.principle__number {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--brand-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.principle h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.principle p {
    margin: 0;
    color: var(--text-soft);
}

/* App cards --------------------------------------------------------------- */

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.apps-grid--single {
    grid-template-columns: minmax(0, 760px);
}

.app-card {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.app-card__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.app-mark {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 18px;
    background: var(--dark);
    color: var(--brand);
    font-size: 0.95rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.app-logo {
    display: grid;
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: var(--surface-soft);
    box-shadow: 0 12px 30px rgba(17, 17, 19, 0.10);
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-logo--ave {
    padding: 7px;
    background: #f3f8ff;
}

.app-logo--examen {
    padding: 0;
    background: #111111;
}

.app-logo--examen img,
.app-logo--natus img {
    object-fit: cover;
}

.app-logo--zeni {
    padding: 8px;
    background: #ecfaf2;
}

.app-logo--natus {
    padding: 0;
    background: #faf1eb;
}

.app-logo--vigiprazo {
    width: 102px;
    height: 102px;
    margin: -7px 0 -7px -7px;
    padding: 0;
    background: #eef8fb;
}

.app-logo--vigiprazo img {
    width: 126%;
    height: 126%;
    max-width: none;
    object-fit: contain;
    transform: none;
}

html[data-theme="dark"] .app-logo--ave {
    background: #eaf3ff;
}

html[data-theme="dark"] .app-logo--zeni {
    background: #e8f8ef;
}

html[data-theme="dark"] .app-logo--natus {
    background: #faf1eb;
}

html[data-theme="dark"] .app-logo--vigiprazo {
    background: #e8f5f9;
}

.status {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status--published {
    background: #e8f7ef;
    color: #176b42;
}

.status--development {
    background: var(--brand-soft);
    color: #715500;
}

.status--platform {
    background: #e9efff;
    color: #3659a5;
}

html[data-theme="dark"] .status--published {
    background: #173c2b;
    color: #9be2bc;
}

html[data-theme="dark"] .status--platform {
    background: #1e2b4c;
    color: #afc4ff;
}

.app-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.app-card > p:not(.eyebrow) {
    margin: 0;
    color: var(--text-soft);
}

.app-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 32px;
}

.store-button {
    display: inline-flex;
    min-width: 158px;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 7px 13px;
    border-radius: 12px;
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    transition: transform 150ms ease, background 150ms ease;
}

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

.store-button svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: currentColor;
}

.store-button span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.store-button small {
    font-size: 0.58rem;
}

.store-button strong {
    margin-top: 3px;
    font-size: 0.9rem;
    font-weight: 850;
}

.availability-note {
    align-self: center;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Founder ----------------------------------------------------------------- */

.founder__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 80px;
}

.founder__portrait {
    position: relative;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    box-shadow: var(--shadow-md);
}

.founder__portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 58%, rgba(10, 10, 11, 0.20)),
        linear-gradient(135deg, rgba(255, 196, 0, 0.06), transparent 48%);
}

.founder__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

.founder__content {
    max-width: 690px;
}

.founder__content p:not(.eyebrow) {
    color: var(--text-soft);
    font-size: 1.06rem;
}

.founder__content .button {
    margin-top: 16px;
}

.founder__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.founder__actions .button {
    margin-top: 0;
}

.button--linkedin {
    gap: 9px;
    border-color: #0a66c2;
    background: #0a66c2;
    color: #ffffff;
}

.button--linkedin:hover,
.button--linkedin:focus-visible {
    background: #084f96;
    box-shadow: 0 12px 28px rgba(10, 102, 194, 0.22);
}

.button--linkedin svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.button--linkedin-light {
    border-color: rgba(10, 10, 11, 0.35);
    background: transparent;
    color: var(--dark);
}

.button--linkedin-light:hover,
.button--linkedin-light:focus-visible {
    border-color: var(--dark);
    background: rgba(255, 255, 255, 0.24);
}

.cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* CTA --------------------------------------------------------------------- */

.cta-section {
    padding: 40px 0 104px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 52px;
    border-radius: var(--radius-lg);
    background: var(--brand);
    color: var(--dark);
    box-shadow: 0 28px 80px rgba(255, 196, 0, 0.18);
}

.cta-card .eyebrow {
    color: rgba(10, 10, 11, 0.62);
}

.cta-card p:last-child {
    margin-bottom: 0;
    color: rgba(10, 10, 11, 0.72);
}

/* Page hero --------------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 116px 0 100px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 196, 0, 0.16), transparent 31%),
        var(--surface-soft);
}

.page-hero--compact {
    padding-block: 92px 76px;
}

.page-hero__content {
    max-width: 850px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.2rem);
    letter-spacing: -0.07em;
    line-height: 0.95;
}

.page-hero p:last-child {
    max-width: 700px;
    margin: 26px 0 0;
    color: var(--text-soft);
    font-size: 1.15rem;
}

.product-intro {
    margin-bottom: 38px;
}

.product-intro h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

/* About ------------------------------------------------------------------- */

.story-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 90px;
}

.prose {
    color: var(--text-soft);
    font-size: 1.04rem;
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose h2 {
    margin: 48px 0 12px;
    color: var(--text);
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

.prose a {
    color: var(--text);
    font-weight: 800;
    text-decoration-color: var(--brand-strong);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.quote-block {
    max-width: 930px;
    padding-block: 28px;
}

.quote-mark {
    display: block;
    height: 62px;
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 0.9;
}

.quote-block blockquote {
    margin: 20px 0;
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 850;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.quote-block > p {
    color: rgba(255, 255, 255, 0.66);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.values-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.values-list article > span {
    color: var(--brand-strong);
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.values-list h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.values-list p {
    margin: 0;
    color: var(--text-soft);
}

/* Support ----------------------------------------------------------------- */

.support-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 70px;
}

.support-info {
    position: sticky;
    top: calc(var(--header-height) + 34px);
}

.support-info h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
}

.support-info > p {
    color: var(--text-soft);
}

.check-list {
    padding: 0;
    margin: 22px 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 8px 0 8px 28px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-strong);
    font-weight: 950;
}

.support-note {
    margin-top: 34px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
}

.support-note p {
    margin: 7px 0 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.form-card {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.9rem;
    font-weight: 850;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: none;
    background: var(--bg);
    color: var(--text);
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field input,
.field select {
    height: 50px;
    padding: 0 14px;
}

.field textarea {
    min-height: 165px;
    padding: 13px 14px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--brand-strong);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 24%, transparent);
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--text-soft);
}

.checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    margin: 8px 0 24px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand-strong);
}

.checkbox a {
    color: var(--text);
    font-weight: 750;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 12px;
}

.alert p,
.alert ul {
    margin: 7px 0 0;
}

.alert--success {
    border: 1px solid rgba(23, 107, 66, 0.24);
    background: var(--success-bg);
    color: var(--success);
}

.alert--error {
    border: 1px solid rgba(156, 39, 39, 0.24);
    background: var(--danger-bg);
    color: var(--danger);
}

.noscript-note {
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

/* Legal ------------------------------------------------------------------- */

.legal-layout {
    display: grid;
    grid-template-columns: minmax(230px, 0.56fr) minmax(0, 1.44fr);
    align-items: start;
    gap: 70px;
}

.legal-summary {
    position: sticky;
    top: calc(var(--header-height) + 34px);
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.legal-summary strong {
    font-size: 1.1rem;
}

.legal-summary p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.legal-content {
    max-width: 780px;
}

/* Error ------------------------------------------------------------------- */

.error-page {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    place-items: center;
    padding: 80px 0;
}

.error-page__content {
    max-width: 760px;
    text-align: center;
}

.error-code {
    display: block;
    color: var(--brand);
    font-size: clamp(7rem, 20vw, 15rem);
    font-weight: 950;
    letter-spacing: -0.1em;
    line-height: 0.75;
}

.error-page h1 {
    margin: 18px 0;
    font-size: clamp(2.4rem, 6vw, 5rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.error-page p:not(.eyebrow) {
    color: var(--text-soft);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
    padding: 72px 0 24px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1fr;
    gap: 64px;
    padding-bottom: 54px;
}

.footer-brand img {
    width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.58);
}

.footer-grid h2 {
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 9px;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

/* Focus ------------------------------------------------------------------- */

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: 820px;
    }

    .hero__visual {
        min-height: 430px;
    }

    .light-orbit {
        width: min(420px, 92%);
    }

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

    .founder__grid,
    .story-grid,
    .support-grid,
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .founder__portrait {
        max-width: 520px;
    }

    .support-info,
    .legal-summary {
        position: static;
    }

    .legal-summary {
        max-width: 620px;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 78px 0;
    }

    .brand,
    .brand__logo {
        height: 52px;
    }

    .brand__logo {
        width: 144px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        max-height: calc(100svh - var(--header-height));
        overflow: auto;
        padding: 22px 20px 32px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: var(--bg);
        box-shadow: var(--shadow-md);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a {
        padding: 14px;
        border-radius: 12px;
        font-size: 1.04rem;
    }

    .theme-toggle {
        margin: 12px 0 0;
    }

    .hero {
        min-height: auto;
        padding: 66px 0 72px;
    }

    .hero__grid {
        gap: 28px;
    }

    .hero h1 {
        font-size: clamp(3.25rem, 17vw, 5.8rem);
    }

    .hero__visual {
        min-height: 360px;
    }

    .light-core {
        width: 116px;
        height: 116px;
    }

    .light-orbit {
        width: min(350px, 96%);
    }

    .purpose-tag {
        font-size: 0.73rem;
    }

    .section-heading--split {
        align-items: start;
        flex-direction: column;
    }

    .principles-grid,
    .apps-grid,
    .values-list,
    .form-row {
        grid-template-columns: 1fr;
    }

    .app-card {
        min-height: 330px;
        padding: 26px;
    }

    .app-logo {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }

    .app-logo--vigiprazo {
        width: 92px;
        height: 92px;
        margin: -7px 0 -7px -7px;
    }

    .founder__grid {
        gap: 42px;
    }

    .founder__actions,
    .cta-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .founder__actions .button,
    .cta-card__actions .button {
        width: 100%;
    }

    .founder__portrait {
        max-width: none;
    }

    .cta-section {
        padding: 26px 0 78px;
    }

    .cta-card {
        align-items: start;
        flex-direction: column;
        padding: 34px 26px;
    }

    .page-hero {
        padding: 84px 0 72px;
    }

    .page-hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .form-card {
        padding: 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hero__actions,
    .app-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .button,
    .app-card__actions .button,
    .store-button {
        width: 100%;
    }

    .purpose-tag--family {
        right: -2%;
    }

    .purpose-tag--care {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
