/* Editorial home: isolated from the shared public-page stylesheet. */
.home-page {
    --shell: 1240px;
    --header-height: 80px;
    --home-bg: #f7f9f8;
    --home-paper: #ffffff;
    --home-ink: #102c35;
    --home-muted: #52696d;
    --home-accent: #087f83;
    --home-border: #dce6e3;
    --home-tint: #e9f3ee;
    --focus: #087f83;
    background: var(--home-bg);
    color: var(--home-ink);
}

html[data-theme="dark"] .home-page {
    --home-bg: #0d222b;
    --home-paper: #15323b;
    --home-ink: #f4f9f7;
    --home-muted: #b6c9cb;
    --home-accent: #9de7d0;
    --home-border: #34515a;
    --home-tint: #193d43;
    --focus: #bdf3df;
}

.home-page .shell { width: min(calc(100% - 64px), var(--shell)); }
.home-page .section { padding-block: clamp(64px, 7vw, 104px); }
.home-page :is(h1, h2, h3) { text-wrap: balance; }
.home-page p { text-wrap: pretty; }
.home-page .section-heading { margin-bottom: 44px; }
.home-page .section-heading h2 { font-size: clamp(1.9rem, 3.5vw, 2.875rem); line-height: 1.17; letter-spacing: -0.045em; }
.home-page .section-heading p { font-size: 1rem; line-height: 1.75; }
.home-page :is(.section-kicker, .eyebrow) { font-size: .7rem; letter-spacing: .13em; }
.home-page .button { min-height: 48px; border-radius: 10px; font-size: .88rem; box-shadow: none; }
.home-page .button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #102c3512; }
.home-page .button-primary { background: #087f83; border-color: #087f83; color: #fff; }
.home-page .button-primary:hover { background: #06676b; border-color: #06676b; }
.home-page .button-large { min-height: 52px; padding: 14px 20px; }
.home-page .button-small { min-height: 44px; padding: 10px 16px; }
.home-page .button-ghost { border-color: var(--home-border); background: transparent; color: var(--home-ink); }
.home-page .text-link { font-size: .9rem; text-underline-offset: 5px; }
.home-page .text-link:hover { text-decoration: underline; }

.home-page .site-header,
html[data-theme="light"] .home-page .site-header,
.home-page .site-header.is-scrolled {
    --focus: var(--home-accent);
    height: var(--header-height);
    background: var(--home-bg);
    border-bottom: 1px solid var(--home-border);
    color: var(--home-ink);
    box-shadow: none;
}
.home-page .header-inner { gap: 24px; }
.home-page .brand { color: var(--home-ink); font-size: 1.35rem; gap: 8px; }
.home-page .brand > span > span { color: var(--home-accent); }
.home-page .brand img { width: 38px; height: 38px; }
.home-page .site-nav { gap: 22px; }
.home-page :is(.site-nav a, .header-login) { color: var(--home-muted); font-size: .79rem; }
.home-page .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.home-page .site-nav .nav-login-mobile { display: none; color: var(--home-accent) !important; }
.home-page .site-nav a::after { bottom: 3px; background: var(--home-accent); }
.home-page :is(.site-nav a:hover, .site-nav a.is-active, .header-login:hover) { color: var(--home-ink); }
.home-page .header-actions { gap: 16px; }
.home-page .theme-toggle,
.home-page .menu-toggle { width: 44px; height: 44px; background: transparent; border-color: var(--home-border); color: var(--home-ink); }
.home-page .theme-toggle { border-radius: 12px; }
.home-page .page-progress { height: 2px; background: #087f83; box-shadow: none; }

.home-page .hero,
html[data-theme="light"] .home-page .hero {
    --focus: var(--home-accent);
    padding: calc(var(--header-height) + 66px) 0 32px;
    background: var(--home-bg);
    color: var(--home-ink);
    overflow: clip;
}
.home-page .hero::before,
.home-page .hero-copy::before { content: none; }
.home-page .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.home-page .hero-copy { container-type: inline-size; max-width: none; text-align: left; }
.home-page .eyebrow { color: var(--home-accent); }
.home-page .eyebrow-dot { width: 7px; height: 7px; background: var(--home-accent); box-shadow: 0 0 0 5px var(--home-tint); }
.home-page .hero h1 {
    max-width: none;
    margin: 24px 0;
    font-size: clamp(2rem, 4vw, 3.625rem);
    font-size: clamp(2rem, 8.35cqi, 3.625rem);
    line-height: 1.16;
    letter-spacing: -.055em;
}
.home-page .hero h1 span { white-space: normal; }
.home-page .hero-title-base { color: var(--home-ink); }
.home-page .hero-title-accent,
html[data-theme="light"] .home-page .hero-title-accent { margin-top: .08em; color: var(--home-accent); }
.home-page .hero-lead,
html[data-theme="light"] .home-page .hero-lead { max-width: 540px; margin: 0; color: var(--home-muted); font-size: 1.03rem; line-height: 1.85; }
.home-page .hero-actions { justify-content: flex-start; margin-top: 30px; gap: 10px; }
.home-page .trust-list,
html[data-theme="light"] .home-page .trust-list {
    justify-content: flex-start;
    width: auto;
    margin: 22px 0 0;
    padding: 0;
    gap: 10px 18px;
    border: 0;
    background: none;
    color: var(--home-muted);
    font-size: .73rem;
    backdrop-filter: none;
}
.home-page .trust-list span { color: var(--home-accent); }

.home-page .hero-product {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--home-border);
    border-radius: 28px;
    background: var(--home-tint);
}
.home-page .preview-heading { display: flex; align-items: center; gap: 8px; color: var(--home-ink); font-size: .72rem; font-weight: 600; }
.home-page .preview-heading > span:last-child { margin-left: auto; color: var(--home-muted); font-weight: 400; }
.home-page .preview-status { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #087f83; }
.home-page .product-window { width: 100%; margin: 0; border: 1px solid #d5e2df; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px #143d3510; transform: none; }
.home-page .window-bar { height: 32px; padding-inline: 12px; background: #fff; border-color: #e5ede9; }
.home-page .window-bar > span { width: 6px; height: 6px; background: #c5d4ce; }
.home-page .window-address { color: #566e6b; background: #f4f7f5; font-size: .55rem; }
.home-page .product-screen { aspect-ratio: auto; overflow: visible; }
.home-page .hero-product .pframe { aspect-ratio: auto; min-height: 245px; }
.home-page .hero-product .pf-agenda-app { min-height: 245px; }
.home-page .hero-product .pf-agenda-grade { min-height: 170px; }
.home-page .hero-product .pf-agenda-ev { font-size: .53rem; }
.home-page .hero-product .pf-agenda-lembrete { white-space: normal; font-size: .44rem; }
.home-page .hero-product .pf-agenda-rodape { font-size: .5rem; }
.home-page .oria-card {
    position: static;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: var(--home-paper);
    color: var(--home-ink);
    box-shadow: 0 8px 24px #143d3508;
    backdrop-filter: none;
}
.home-page .oria-card-head strong { font-size: .78rem; }
.home-page .oria-card-head div > span { color: var(--home-muted); font-size: .64rem; }
.home-page .oria-avatar { width: 34px; height: 34px; background: var(--home-tint); }
.home-page .oria-avatar img { width: 24px; height: 24px; }
.home-page .oria-card > p { margin: 12px 0; color: var(--home-ink); font-size: .78rem; }
.home-page .oria-confirm { gap: 8px; padding: 10px; background: var(--home-tint); }
.home-page .oria-confirm > span:first-child { color: var(--home-accent); background: transparent; }
.home-page .oria-confirm small { color: var(--home-muted); font-size: .6rem; }
.home-page .oria-confirm .confirm-pill { background: #087f83; color: #fff; font-size: .63rem; }
.home-page .preview-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-page .product-proof { position: static; display: flex; min-width: 0; width: auto; padding: 0; gap: 8px; border: 0; background: none; box-shadow: none; color: var(--home-ink); backdrop-filter: none; }
.home-page .proof-icon { width: 27px; height: 27px; border: 1px solid var(--home-border); background: var(--home-paper); color: var(--home-accent); }
.home-page .product-proof strong { font-size: .62rem; }
.home-page .product-proof small { color: var(--home-muted); font-size: .53rem; line-height: 1.4; }
.home-page .preview-caption { margin: 0; text-align: center; color: var(--home-muted); font-size: .57rem; }
.home-page .audience-bar { margin-top: 50px; border: 0; border-top: 1px solid var(--home-border); border-radius: 0; background: none; gap: 40px; }
.home-page .audience-bar > div { padding: 26px 0 0; background: none; }
.home-page .audience-bar span { color: var(--home-accent); font-size: .64rem; }
.home-page .audience-bar strong { color: var(--home-muted); font-size: .86rem; line-height: 1.7; font-weight: 400; }

.home-page .product-story { --focus: #087f83; background: #fff; color: #102c35; border-top: 1px solid #e4ece8; }
.home-page .product-story .section-heading { max-width: 100%; }
.home-page #product-title { white-space: normal; }
.home-page .product-story .section-heading p { max-width: 74ch; margin-inline: auto; color: #52696d; }
.home-page .product-story .section-kicker { color: #087f83; }
.home-page .journey-line { display: none; }
.home-page .journey-grid { gap: 22px; }
.home-page .journey-card,
.home-page .journey-card-featured { display: block; padding: 16px 16px 24px; border: 1px solid #dce6e3; border-radius: 22px; background: #f7f9f8; box-shadow: none; transform: none; }
.home-page .journey-card:hover,
.home-page .journey-card-featured:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #102c3508; border-color: #93bcb0; }
.home-page .journey-image { aspect-ratio: auto; margin-bottom: 24px; overflow: hidden; border: 1px solid #dce6e3; border-radius: 12px; background: #fff; }
.home-page .journey-image .pframe { aspect-ratio: 4 / 3; box-shadow: none; border: 0; border-radius: 0; }
.home-page .journey-label { display: inline-flex; padding: 4px 9px; border-radius: 6px; background: #e3f1e9; color: #086d71; font-size: .62rem; letter-spacing: .08em; }
.home-page .journey-card h3 { margin: 14px 0 10px; font-size: clamp(1.13rem, 1.8vw, 1.35rem); line-height: 1.3; letter-spacing: -.035em; }
.home-page .journey-card p { font-size: .84rem; line-height: 1.8; color: #52696d; }
.home-page .journey-card ul { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dce6e3; }
.home-page .journey-card li { color: #345257; font-size: .78rem; }

@media (max-width: 1100px) {
    .home-page .header-inner { grid-template-columns: auto auto 1fr; gap: 16px; }
    .home-page .header-actions { justify-content: flex-end; }
    .home-page .menu-toggle { display: inline-flex; }
    .home-page .site-nav { background: var(--home-bg); border-color: var(--home-border); }
    .home-page .site-nav a { font-size: .95rem; }
    .home-page .site-nav .nav-login-mobile { display: inline-flex; }
    .home-page .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 800px; gap: 36px; }
    .home-page .hero-copy { text-align: center; }
    .home-page .hero h1 { font-size: clamp(2rem, 7.9cqi, 3.625rem); }
    .home-page .hero-lead { margin-inline: auto; max-width: 590px; }
    .home-page .hero-actions,
    .home-page .trust-list { justify-content: center; }
    .home-page .hero-product { grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; padding: 24px; }
    .home-page .preview-heading { grid-column: 1 / -1; }
    .home-page .product-window { grid-row: span 2; }
    .home-page .preview-caption { grid-column: 1 / -1; }
    .home-page .journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .home-page .journey-card { padding: 12px 12px 20px; }
}

@media (max-width: 900px) {
    .home-page .hero-product { display: grid; grid-template-columns: 1fr; max-width: 510px; margin-inline: auto; }
    .home-page .product-window { grid-row: auto; }
    .home-page .journey-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 24px; }
    .home-page .journey-card { padding: 20px; }
    .home-page .journey-card h3 { font-size: 1.32rem; }
    .home-page .journey-card p { font-size: .94rem; }
    .home-page .journey-card li { font-size: .88rem; }
    .home-page .journey-image .pframe { aspect-ratio: 16 / 10; }
}

@media (max-width: 680px) {
    .home-page { --header-height: 72px; }
    .home-page .shell { width: min(calc(100% - 40px), var(--shell)); }
    .home-page .header-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
    .home-page .brand { font-size: 1.2rem; gap: 5px; }
    .home-page .brand > span { display: inline; }
    .home-page .brand img { width: 32px; height: 32px; }
    .home-page .menu-toggle { order: 3; }
    .home-page .header-actions { gap: 0; }
    .home-page .header-actions .button { display: none; }
    .home-page .hero { padding-top: calc(var(--header-height) + 44px); }
    .home-page .hero h1 { margin-block: 22px; font-size: clamp(2rem, 8.35cqi, 3rem); line-height: 1.15; }
    .home-page .hero-lead { font-size: .96rem; line-height: 1.8; }
    .home-page .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 26px; }
    .home-page .hero-actions .button { width: 100%; min-height: 50px; }
    .home-page .trust-list { gap: 9px 14px; font-size: .7rem; }
    .home-page .hero-product { padding: 16px; border-radius: 22px; gap: 14px; }
    .home-page .preview-heading { font-size: .67rem; }
    .home-page .audience-bar { margin-top: 32px; grid-template-columns: 1fr; gap: 0; }
    .home-page .audience-bar > div { padding-top: 20px; }
    .home-page .audience-bar strong { font-size: .82rem; }
    .home-page .section-heading { margin-bottom: 32px; }
    .home-page .section-heading h2 { font-size: clamp(1.8rem, 6.4vw, 2.25rem); }
    .home-page .section-heading p { font-size: .95rem; }
    .home-page .journey-card { padding: 14px 14px 24px; }
}

@media (max-width: 390px) {
    .home-page .shell { width: calc(100% - 32px); }
    .home-page .header-inner { gap: 8px; }
    .home-page .hero-product { padding: 12px; }
    .home-page .preview-heading > span:last-child { display: none; }
    .home-page .oria-card { padding: 12px; }
    .home-page .oria-confirm { grid-template-columns: auto 1fr; }
    .home-page .oria-confirm .confirm-pill { grid-column: 2; justify-self: start; }
    .home-page .preview-benefits { gap: 6px; }
    .home-page .product-proof { gap: 5px; }
    .home-page .product-proof small { font-size: .51rem; }
}

@media (max-width: 340px) {
    .home-page .hero h1 { font-size: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
