* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* CJK + hangul + Bengali + Devanagari: Georgia/Segoe não cobrem estes scripts */
    font-family: system-ui, 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Yu Gothic UI', Meiryo, 'MS PGothic', 'Noto Sans JP', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans Bengali', 'Shonar Bangla', 'Kohinoor Bangla', 'Nirmala UI', 'Mangal', 'Noto Sans Devanagari', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f9fbfd;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho: gradiente no desktop; em celular (≤767px) só imagem em .site-top */
:root {
    --parlons-header-fallback: #2a3d52;
    --parlons-header-gradient-top: #3a5069;
    --parlons-header-gradient-bottom: #1e2c3c;
    --footer-accent: #76c84d;
    --footer-text: rgba(243, 245, 247, 0.9);
    --footer-muted: rgba(176, 190, 197, 0.72);
}

.site-top {
    position: sticky;
    top: 0;
    z-index: 200;
    background-color: var(--parlons-header-fallback);
    background-image: linear-gradient(180deg, var(--parlons-header-gradient-top) 0%, var(--parlons-header-gradient-bottom) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

/* Imagem antiga do topo (header.webp) — desligada; fundo = gradiente em .site-top */
.site-top__bg {
    display: none;
}

.site-top__bg > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
}

.site-header,
.menu-strip {
    position: relative;
    z-index: 1;
    background: transparent;
}

.site-header {
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

/* Garante que a imagem do cabeçalho se vê por trás do logótipo (PNG) */
.site-title,
.site-title a {
    background: transparent;
}

.site-title {
    margin: 0;
    flex-shrink: 0;
    line-height: 0;
}

/* Mesmo tamanho no cabeçalho e no rodapé (evita drift entre .site-title e flex do rodapé) */
.site-title img,
.site-footer__logo-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Index, Sobre, Histórias: logo do cabeçalho um pouco maior que o padrão global */
body.page-index .site-title img,
body.page-sobre .site-title img,
body.page-historias .site-title img {
    height: 48px;
    max-width: 200px;
}

/* — [ícone] Conectando pessoas — com brilho verde */
.header-tagline-block {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
}

.header-tagline-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 96vw);
    height: 72px;
    background: radial-gradient(ellipse 72% 70% at 50% 50%,
        rgba(129, 199, 132, 0.22) 0%,
        rgba(102, 187, 106, 0.1) 50%,
        transparent 72%);
    pointer-events: none;
    filter: blur(18px);
    animation: taglineGlowPulse 6.2s ease-in-out infinite;
}

.header-tagline-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(520px, 94vw);
    margin: 0 auto;
    gap: 0;
    flex-wrap: nowrap;
}

/* Linhas horizontais: fortes junto ao ícone/texto, somem nas bordas */
.header-tagline-line {
    flex: 1 1 0;
    min-width: 8px;
    height: 1px;
    align-self: center;
}

.header-tagline-line--left {
    margin-right: 14px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(236, 239, 234, 0.55) 85%,
        rgba(240, 244, 240, 0.92) 100%
    );
}

.header-tagline-line--right {
    margin-left: 14px;
    background: linear-gradient(
        90deg,
        rgba(240, 244, 240, 0.92) 0%,
        rgba(236, 239, 234, 0.55) 15%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 100%
    );
}

.header-tagline-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex-shrink: 0;
    /* Mesma cor do ícone e do texto do slogan */
    --tagline-chain-color: #66bb6a;
    animation: taglineCorePulse 6.2s ease-in-out infinite;
}

/* Corrente: verde médio saturado + halo suave */
.header-tagline-chain {
    flex-shrink: 0;
    color: var(--tagline-chain-color, #66bb6a);
    filter:
        drop-shadow(0 0 6px rgba(102, 187, 106, 0.95))
        drop-shadow(0 0 14px rgba(129, 199, 132, 0.55))
        drop-shadow(0 0 22px rgba(165, 214, 167, 0.3));
    animation: taglineChainPulse 6.2s ease-in-out infinite;
}

/* Texto: mesma cor das correntes + brilho verde coerente */
.header-tagline-text {
    font-size: clamp(1rem, 2.6vw, 1.55rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--tagline-chain-color, #66bb6a);
    text-shadow:
        0 0 12px rgba(102, 187, 106, 0.85),
        0 0 22px rgba(129, 199, 132, 0.5),
        0 0 34px rgba(165, 214, 167, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    animation: taglineTextGlow 6.2s ease-in-out infinite;
}

@keyframes taglineGlowPulse {
    0%, 100% {
        opacity: 0.66;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.78;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

@keyframes taglineTextGlow {
    0%, 100% {
        text-shadow:
            0 0 12px rgba(102, 187, 106, 0.85),
            0 0 22px rgba(129, 199, 132, 0.5),
            0 0 34px rgba(165, 214, 167, 0.25),
            0 1px 2px rgba(0, 0, 0, 0.4);
    }
    50% {
        text-shadow:
            0 0 13px rgba(102, 187, 106, 0.9),
            0 0 24px rgba(129, 199, 132, 0.55),
            0 0 36px rgba(165, 214, 167, 0.26),
            0 1px 2px rgba(0, 0, 0, 0.4);
    }
}

@keyframes taglineCorePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.015);
    }
}

@keyframes taglineChainPulse {
    0%, 100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 6px rgba(102, 187, 106, 0.95))
            drop-shadow(0 0 14px rgba(129, 199, 132, 0.55))
            drop-shadow(0 0 22px rgba(165, 214, 167, 0.3));
    }
    50% {
        transform: scale(1.03);
        filter:
            drop-shadow(0 0 7px rgba(102, 187, 106, 0.98))
            drop-shadow(0 0 17px rgba(129, 199, 132, 0.64))
            drop-shadow(0 0 25px rgba(165, 214, 167, 0.36));
    }
}

.header-idioma {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
    justify-content: flex-end;
}

.header-idioma-flag {
    width: 32px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.header-idioma-select {
    background: rgba(255,255,255,0.9);
    color: #333;
    border: 1px solid rgba(46,125,50,0.3);
    height: 24px;
    padding: 0 0.45rem;
    line-height: 22px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
}

.header-idioma-select:hover,
.header-idioma-select:focus {
    border-color: #2e7d32;
    outline: none;
}

/* Faixa de menus (fundo = .site-top; sombra no wrapper) */
.menu-strip {
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    padding: 0.75rem 1rem;
}

.menu-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
}

.menu-pages-lead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
}

.menu-pages-trail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 0.35rem 0.9rem;
    min-width: 0;
    flex: 1 1 auto;
}

.menu-pages a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.menu-pages a:hover {
    color: #c8e6c9;
    border-bottom-color: rgba(129, 199, 132, 0.45);
}

.menu-pages a.is-active,
.menu-pages a[aria-current="page"] {
    color: #81f7a0;
    border-bottom-color: rgba(129, 247, 160, 0.95);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.32);
}

.menu-home-btn {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    font-size: 0.95rem;
    font-weight: 500;
}

.menu-home-btn:empty::before {
    content: attr(title);
}

.menu-home-btn svg {
    display: none !important;
    width: 22px;
    height: 22px;
}

.menu-pages .menu-sep {
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0.5rem;
}

.menu-sobre-contato {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    margin-right: auto;
    justify-content: flex-start;
}

.menu-sobre-contato .menu-sep {
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding: 0;
    margin: 0;
}

.menu-pages-trail .menu-list--auth {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.menu-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
}

.menu-list a:hover {
    color: #c8e6c9;
    background: rgba(255, 255, 255, 0.1);
}

/* Entrar: contorno claro + ícone à esquerda */
.menu-list .menu-link-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(8, 15, 35, 0.35);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.menu-list .menu-link-login__icon {
    flex-shrink: 0;
    width: 1.08em;
    height: 1.08em;
    margin-inline-end: -0.02em;
    opacity: 0.98;
}

.menu-list .menu-link-login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

/* Cadastrar no menu: estilo neon verde (inalterado em relação ao original) */
.menu-list .menu-item-signup a {
    color: #b9ffc0;
    font-weight: 600;
    border: 1px solid rgba(57, 255, 20, 0.9);
    border-radius: 999px;
    padding: 0.36rem 0.95rem;
    background: rgba(57, 255, 20, 0.08);
    box-shadow:
        0 0 0 1px rgba(57, 255, 20, 0.18) inset,
        0 0 10px rgba(57, 255, 20, 0.45),
        0 0 18px rgba(57, 255, 20, 0.22);
    text-decoration: none;
}

.menu-list .menu-item-signup a:hover {
    color: #effff1;
    background: rgba(57, 255, 20, 0.16);
    border-color: rgba(130, 255, 112, 0.98);
    box-shadow:
        0 0 0 1px rgba(130, 255, 112, 0.28) inset,
        0 0 14px rgba(57, 255, 20, 0.62),
        0 0 24px rgba(57, 255, 20, 0.34);
    text-decoration: none;
}

.menu-list .menu-link-login:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.menu-list .menu-item-signup a:focus-visible {
    outline: 2px solid rgba(129, 247, 160, 0.95);
    outline-offset: 2px;
}

/* Histórias: sem slogan no header — alinhar logo e idioma */
body.page-historias .header-idioma {
    margin-left: auto;
}
@media (max-width: 991px) {
    body.page-historias .site-header {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        min-height: 3.55rem;
        padding: calc(env(safe-area-inset-top, 0px) + 0.34rem) 0.82rem 0.34rem 0.82rem;
    }
    body.page-historias .header-idioma {
        grid-area: auto;
        width: auto;
        max-width: none;
        margin: 0;
        margin-left: auto;
        padding: 0;
    }
}

/* Conteúdo principal */
.site-main {
    flex: 1;
    padding: 40px 1rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Index: imagem em largura total, proporção natural (sem cover/fit que amplia) */
.site-main--index {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem 0;
    min-height: 0;
}

/*
 * Index: cor só no body; a foto vai no .index-hero-wrap (≥768 index.webp, celular index_cell)
 * para não pintar por detrás do cabeçalho — igual ao comportamento já usado no mobile.
 */
/*
 * Fundo desce até a mesma tonalidade do topo do rodapé (--parlons-header-gradient-top),
 * para não aparecer faixa entre main e footer.
 */
body.page-index {
    background-color: var(--parlons-header-gradient-bottom);
    background-image: linear-gradient(
        180deg,
        #1b303f 0%,
        #1b303f 52%,
        #2d4156 82%,
        var(--parlons-header-gradient-top) 100%
    );
}

/* Sobre + Histórias: mesmo degradê escuro que a Início (Histórias sem imagem por cima) */
body.page-sobre,
body.page-historias {
    background-color: var(--parlons-header-gradient-bottom);
    background-image: linear-gradient(
        180deg,
        #1b303f 0%,
        #1b303f 52%,
        #2d4156 82%,
        var(--parlons-header-gradient-top) 100%
    );
}

body.page-sobre main,
body.page-historias main {
    position: relative;
    z-index: 1;
}

body.page-sobre .site-footer,
body.page-historias .site-footer {
    position: relative;
    z-index: 1;
}

body.page-historias .historias-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: transparent;
}

/*
 * Index: fundo index.webp (.index-mid-bg) é IRMÃO ANTES do <main>.
 * z-index: mid-bg (1) < main (2) < footer (3) — cards ficam sempre por cima do fundo fixo.
 */
body.page-index .site-main--index {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    position: relative;
    z-index: 2;
}

body.page-index .index-mid-bg {
    position: fixed;
    left: 50%;
    top: calc(env(safe-area-inset-top, 0px) + clamp(4.75rem, 12.5vw, 6.35rem));
    transform: translate(-50%, 0);
    width: min(1180px, 94vw);
    height: min(72vh, 700px);
    max-height: min(
        86vh,
        calc(100vh - env(safe-area-inset-top, 0px) - clamp(4.35rem, 10vw, 5.85rem))
    );
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

body.page-index .index-hero-wrap {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: calc(100svh - clamp(6.75rem, 17vh, 9.75rem));
    min-height: calc(100vh - clamp(6.75rem, 17vh, 9.75rem));
    background-color: #1b303f;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    padding-bottom: clamp(3.75rem, 9vw, 5.25rem);
}

body.page-index .index-hero-wrap > picture {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body.page-index .index-hero-wrap .index-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

body.page-index .home-hero-text.home-hero-text--index {
    z-index: 5;
}

/* Galeria sobre a zona da arte / index.webp (centro-baixo do hero), não mais por baixo do bloco */
body.page-index .index-picts.index-picts--overlay {
    position: absolute;
    left: 50%;
    bottom: clamp(10.75rem, 29vw, 17.75rem);
    transform: translate(-50%, 150px);
    width: min(calc(100vw - 2rem), 1180px);
    max-width: calc(100% - 1.5rem);
    padding: 0;
    margin: 0;
    z-index: 4;
    pointer-events: none;
    line-height: normal;
    background-color: transparent;
}

body.page-index .index-picts.index-picts--overlay .index-picts__row {
    pointer-events: auto;
}

@media (max-width: 767px) {
    body.page-index .index-mid-bg {
        top: calc(env(safe-area-inset-top, 0px) + clamp(4.15rem, 11vw, 5.65rem));
        max-height: min(
            78vh,
            calc(100vh - env(safe-area-inset-top, 0px) - clamp(3.85rem, 9.5vw, 5.25rem))
        );
        width: min(640px, 96vw);
        height: min(52vh, 420px);
        opacity: 0.34;
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(19.5rem, 94vw);
        margin-left: auto;
        margin-right: auto;
        gap: 0;
        grid-template-columns: none;
        justify-items: unset;
        row-gap: 0;
        position: relative;
        z-index: 1;
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card {
        width: clamp(4.15rem, 24vw, 5.85rem);
        max-width: none;
        flex-shrink: 0;
        align-self: center;
        margin-left: 0;
        margin-right: 0;
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:not(:first-child) {
        margin-top: clamp(-0.45rem, -2vw, -0.22rem);
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:nth-child(1) {
        transform: translateX(clamp(0.65rem, 5vw, 1.35rem));
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:nth-child(2) {
        transform: translateX(clamp(1.45rem, 12vw, 2.85rem));
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:nth-child(3) {
        transform: translateX(clamp(-0.55rem, -4.5vw, -1.25rem));
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:nth-child(4) {
        transform: translateX(clamp(-1.95rem, -15vw, -3.15rem));
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:nth-child(5) {
        transform: translateX(clamp(1rem, 8vw, 2.05rem));
    }

    body.page-index .index-picts.index-picts--overlay .index-picts__card:nth-child(6) {
        transform: translateX(clamp(-0.35rem, -2.8vw, -0.95rem));
    }

}

/* Index: linha de fotos (assets/index/picts/f1.webp … f6.webp) — disco + brilho conico girando */
.index-picts {
    width: 100%;
    max-width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(1.35rem, 4vw, 2.35rem) 1rem clamp(1.65rem, 4.5vw, 2.65rem);
    box-sizing: border-box;
}

body.page-index .index-picts.index-picts--overlay {
    padding-top: 0;
    padding-bottom: 0;
}

.index-picts__row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.55rem, 1.8vw, 1.05rem);
    align-items: center;
    justify-items: center;
}

.index-picts__card {
    position: relative;
    width: min(100%, 148px);
    aspect-ratio: 1;
}

.index-picts__spin {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    z-index: 0;
    background: conic-gradient(
        from 0deg,
        rgba(124, 58, 237, 0) 0deg,
        rgba(192, 132, 252, 0.98) 62deg,
        rgba(236, 72, 153, 0.92) 142deg,
        rgba(251, 113, 133, 0.65) 210deg,
        rgba(129, 199, 132, 0.72) 285deg,
        rgba(124, 58, 237, 0) 360deg
    );
    animation: parlons-picts-ring-spin 5s linear infinite;
    animation-delay: calc(var(--pict-i, 0) * -0.72s);
    will-change: transform;
}

.index-picts__photo {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    background: #0c1320;
    box-shadow:
        0 2px 14px rgba(0, 0, 0, 0.38),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.index-picts__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@keyframes parlons-picts-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .index-picts__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: clamp(0.85rem, 3vw, 1.25rem);
    }

    .index-picts__card {
        width: min(100%, 132px);
    }
}

@media (max-width: 520px) {
    .index-picts__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .index-picts__card {
        width: min(100%, 148px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .index-picts__spin {
        animation: none;
        opacity: 0.5;
    }
}

/* Index: rodapé — layout comum; degradê só ≥768 (≤767 igual ao cabeçalho: header.webp) */
body.page-index .site-footer {
    position: relative;
    z-index: 3;
    margin-top: 0;
    box-shadow: none;
}

@media (min-width: 768px) {
    body.page-index .site-footer {
        background-color: var(--parlons-header-fallback);
        background-image: linear-gradient(
            180deg,
            var(--parlons-header-gradient-top) 0%,
            var(--parlons-header-gradient-bottom) 100%
        );
        background-repeat: no-repeat;
    }
}

body.page-index .index-hero-img {
    opacity: 0;
}

/* CTA no mapa do hero: posição absoluta dentro de .index-hero-wrap (scrolla com a imagem; não fixed) */
body.page-index .index-hero-cta {
    position: absolute;
    left: 50%;
    bottom: clamp(1.85rem, 13.5vw, 4.5rem);
    transform: translate(-50%, 150px);
    z-index: 6;
    box-sizing: border-box;
    width: 100%;
    max-width: min(calc(100% - 2rem), 26rem);
    padding: 0 1rem;
    margin: 0;
    pointer-events: none;
    line-height: normal;
}

body.page-index .index-hero-cta__inner {
    display: flex;
    justify-content: center;
    pointer-events: none;
}

body.page-index .index-hero-cta__signup {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: clamp(1.12rem, 3.7vw, 1.38rem);
    padding: 0.86rem clamp(1.8rem, 5.6vw, 2.55rem);
    border-radius: 999px;
    border: none;
    background: linear-gradient(165deg, #fb7185 0%, #ec4899 42%, #db2777 100%);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.28) inset,
        0 -2px 0 rgba(0, 0, 0, 0.12) inset,
        0 6px 26px rgba(236, 72, 153, 0.48),
        0 4px 16px rgba(0, 0, 0, 0.32);
}

body.page-index .index-hero-cta__icon {
    flex-shrink: 0;
    width: 1.28em;
    height: 1.28em;
    opacity: 0.98;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

body.page-index .index-hero-cta__label {
    white-space: nowrap;
}

body.page-index .index-hero-cta__signup:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.32) inset,
        0 -2px 0 rgba(0, 0, 0, 0.1) inset,
        0 8px 30px rgba(236, 72, 153, 0.55),
        0 6px 20px rgba(0, 0, 0, 0.34);
}

body.page-index .index-hero-cta__signup:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body.page-index .index-hero-cta__signup:hover {
        filter: none;
    }
}

@media (min-width: 768px) {
    body.page-index .index-hero-cta {
        bottom: clamp(3.35rem, 18vw, 8.25rem);
    }

    body.page-index .index-picts.index-picts--overlay {
        bottom: clamp(12.75rem, 33vw, 21rem);
        transform: translate(-50%, 150px);
    }

    body.page-index .index-hero-wrap {
        min-height: calc(100svh - clamp(7.25rem, 16vh, 10.25rem));
        min-height: calc(100vh - clamp(7.25rem, 16vh, 10.25rem));
        padding-bottom: clamp(4rem, 10vw, 5.75rem);
    }
}

@media (min-width: 1200px) {
    body.page-index .index-hero-cta {
        bottom: clamp(6.25rem, 21vw, 13rem);
    }
}

/* Hero: caixa full-bleed; imagem visível via fundo em .index-hero-wrap (index) */
.index-hero-wrap {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: transparent;
    line-height: 0;
    overflow: hidden;
}

.index-hero-img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
}

/* Camada escura com azul-marinho + reflexos (mensagens centralizadas à frente) — na index fica desligada (ver media + body.page-index) */
.index-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.94;
    background:
        radial-gradient(ellipse 70% 45% at 12% 88%, rgba(124, 58, 237, 0.22), transparent 52%),
        radial-gradient(ellipse 65% 42% at 88% 90%, rgba(219, 39, 119, 0.16), transparent 50%),
        radial-gradient(ellipse 120% 80% at 50% 40%, rgba(255, 255, 255, 0.06), transparent 62%),
        linear-gradient(180deg, #070f1c 0%, #0c1f36 48%, #081424 100%);
}

/* Index: nunca mostrar o scrim (evita “camada” escura sobre a foto / zona do rodapé) */
body.page-index .index-hero-scrim {
    display: none !important;
}

/* Eixo principal horizontal — não usar só .home-hero-text (define column mais abaixo e recentraliza no meio) */
.home-hero-text.home-hero-text--index {
    position: absolute;
    inset: 0;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(env(safe-area-inset-top, 0px) + clamp(0.7rem, 2.4vw, 1.35rem));
    padding-right: 1rem;
    padding-bottom: clamp(1rem, 3vw, 2.25rem);
    padding-left: 1rem;
    pointer-events: none;
    line-height: normal;
}

.index-hero-message {
    pointer-events: auto;
    width: 100%;
    max-width: min(36rem, 100%);
}

.index-hero-message__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.index-hero-title {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    font-family: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.65rem, 5.2vw, 2.85rem);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.02em;
    line-height: 1.18;
    color: #fff;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.55),
        0 4px 24px rgba(0, 0, 0, 0.35);
}

.index-hero-title__line {
    display: block;
}

.index-hero-title__line--second {
    margin-top: 0.12em;
}

.index-hero-title__plain {
    color: #fff;
}

/* Destaque da linha 1 (ex.: «conexão»): roxo-lavanda → rosa (gradiente horizontal, estilo ref.)
   filter + background-clip:text no mesmo nó → Chrome pinta o texto a preto; evitar. */
.index-hero-title .index-hero-title__grad {
    display: inline-block;
    padding: 0 0.02em;
    margin: 0 -0.02em;
    color: #e879f9;
    text-shadow: none;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .index-hero-title .index-hero-title__grad {
        background-image: linear-gradient(
            to right,
            #c084fc 0%,
            #e879f9 48%,
            #db2777 100%
        );
        background-size: 100% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.index-hero-title__fallback {
    display: block;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
}

.index-hero-subtitle {
    margin: 1.15rem 0 0;
    padding: 0 0.25rem;
    width: 100%;
    max-width: 28rem;
    min-height: 3.1em;
    text-align: center;
    font-family: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(0.95rem, 2.9vw, 1.28rem);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    transition: opacity 0.22s ease;
}

.index-hero-subtitle--rotating.is-changing {
    opacity: 0.35;
}

.index-hero-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.35rem;
    padding: 0 0.5rem;
}

.index-hero-ornament__line {
    flex: 1;
    min-width: 2rem;
    max-width: 5.5rem;
    height: 2px;
    border-radius: 2px;
}

.index-hero-ornament__line--left {
    background: linear-gradient(90deg, transparent, #db2777);
}

.index-hero-ornament__line--right {
    background: linear-gradient(270deg, transparent, #db2777);
}

.index-hero-ornament__heart {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #ec4899;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.45));
}

/* Desktop/tablet largos: mensagem na margem superior (horizontal centrada); sem scrim */
@media (min-width: 768px) {
    /* Foto só na zona do hero — não sobe por detrás do .site-top */
    body.page-index .index-hero-wrap {
        background-image: url('../assets/index/index.webp');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-color: #1b303f;
    }

    .index-hero-scrim {
        display: none;
    }

    .home-hero-text.home-hero-text--index {
        justify-content: center;
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        left: 0;
        right: 0;
        padding-top: calc(env(safe-area-inset-top, 0px) + clamp(0.5rem, 1.6vw, 1rem));
        padding-bottom: clamp(0.85rem, 2.5vw, 1.75rem);
    }

    .index-hero-message {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: min(40rem, calc(100% - 2rem));
    }

    /* Contraste sem o scrim: sombra um pouco mais forte no texto */
    .index-hero-title {
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.85),
            0 2px 16px rgba(0, 0, 0, 0.55),
            0 0 20px rgba(0, 0, 0, 0.35);
    }

    .index-hero-subtitle {
        text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.8),
            0 2px 12px rgba(0, 0, 0, 0.45);
    }
}

/* Cabeçalho e faixa de menu: layout estreito (grid / index / sobre / histórias) até 991px */
@media (max-width: 991px) {
    .site-header {
        padding: 0.62rem 0.62rem;
    }

    .site-title {
        font-size: 1.12rem;
    }

    .site-title img,
    .site-footer__logo-img {
        height: clamp(36px, 7vw + 6px, 50px);
        max-width: clamp(112px, 28vw, 170px);
    }

    body.page-index .site-title img,
    body.page-sobre .site-title img,
    body.page-historias .site-title img {
        height: clamp(40px, 7.6vw + 8px, 56px);
        max-width: clamp(122px, 30vw, 188px);
    }

    .header-idioma-flag {
        width: clamp(24px, 5.2vw, 32px);
        height: clamp(18px, 4vw, 24px);
    }

    .header-idioma-select {
        font-size: clamp(0.68rem, 0.9vw + 0.5rem, 0.8rem);
        height: auto;
        min-height: clamp(22px, 5.5vw, 24px);
        line-height: 1.25;
        padding: 0.2rem clamp(0.25rem, 1.2vw, 0.4rem);
        max-width: min(9.5rem, 42vw);
    }

    .menu-strip {
        padding: 0.95rem 0.82rem;
        min-height: 3.45rem;
    }

    /* Celular: mesma linha — Sobre|Contato (esq. do bloco) · Entrar|Cadastrar (direita) */
    .menu-pages {
        align-items: center;
    }

    .menu-pages-lead {
        align-items: center;
    }

    .menu-pages-trail {
        flex: 1 0 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        align-content: flex-start;
        align-self: stretch;
        gap: 0.35rem 0.5rem;
        margin-left: 0;
    }

    .menu-sobre-contato {
        flex: 0 1 auto;
        min-width: 0;
    }

    .menu-list--auth {
        gap: 0.25rem 0.45rem;
        width: auto;
        max-width: none;
        box-sizing: border-box;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .menu-list a {
        font-size: 0.875rem;
    }

    .home-hero-titulo {
        font-size: 1.95rem;
    }

    .site-header {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "logo slogan"
            "logo idioma";
        column-gap: 0.4rem;
        row-gap: 0.32rem;
        align-items: center;
        padding: calc(env(safe-area-inset-top, 0px) + 0.34rem) 0.82rem 0.34rem 0.82rem;
        min-height: 3.62rem;
    }

    .site-title {
        grid-area: logo;
        align-self: center;
    }

    .header-tagline-block {
        grid-area: slogan;
        flex: none;
        width: 100%;
        min-width: 0;
        min-height: auto;
        padding-bottom: 0;
        justify-content: center;
    }

    .header-idioma {
        grid-area: idioma;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        max-width: min(520px, 94vw);
        margin-left: auto;
        margin-right: auto;
        padding-left: 0.75rem;
        padding-right: 1.15rem;
        box-sizing: border-box;
        min-width: 0;
    }

    .header-tagline-row {
        max-width: min(520px, 94vw);
        width: 100%;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0.75rem;
        padding-right: 1.15rem;
        box-sizing: border-box;
    }

    .header-tagline-core {
        justify-content: center;
    }

    .header-tagline-text {
        font-size: clamp(0.72rem, 3.1vw, 0.95rem);
    }

    /* index: só logo + seletor — flex para centralizar no eixo vertical */
    body.page-index .site-header {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        column-gap: clamp(0.35rem, 1.4vw, 0.5rem);
        min-height: 3.55rem;
        /* Mesmo recuo horizontal que a faixa do menu (.menu-strip) para o logo alinhar com «Início» */
        padding: calc(env(safe-area-inset-top, 0px) + 0.34rem) 0.82rem 0.34rem 0.82rem;
    }

    body.page-index .header-tagline-block {
        display: none !important;
    }

    body.page-index .site-title {
        flex: 0 0 auto;
        align-self: center;
    }

    body.page-index .header-idioma {
        grid-area: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        align-items: center;
        gap: clamp(0.28rem, 1vw, 0.5rem);
        width: auto;
        max-width: none;
        margin: 0;
        margin-left: auto;
        padding: 0;
        min-width: 0;
    }

    /* Sobre: mesmo cabeçalho compacto que a home (slogan desativado no sobre.css) */
    body.page-sobre .site-header {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        column-gap: 0.5rem;
        min-height: 3.55rem;
        padding: calc(env(safe-area-inset-top, 0px) + 0.34rem) 0.82rem 0.34rem 0.82rem;
    }

    body.page-sobre .header-tagline-block {
        display: none !important;
    }

    body.page-sobre .site-title {
        flex: 0 0 auto;
        align-self: center;
    }

    body.page-sobre .header-idioma {
        flex: 0 0 auto;
        justify-content: flex-end;
        width: auto;
        max-width: none;
        margin: 0;
        margin-left: auto;
        padding: 0;
    }
}

@media (max-width: 767px) {

    /* Evita “margem” à direita e pan horizontal (100vw inclui largura da barra de scroll em vários browsers) */
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .site-top {
        background-color: transparent;
        background-image: url('../assets/index/header.webp');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }

    /* Index: largura = caixa do body (evita 100vw + scroll lateral) */
    body.page-index .site-main--index {
        padding: 0;
        margin-top: 0;
        padding-top: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        box-sizing: border-box;
        background-color: transparent;
        position: relative;
        z-index: 2;
    }

    .site-main--index {
        padding: 0;
        width: 100%;
        max-width: none;
        align-self: stretch;
        box-sizing: border-box;
    }

    /* Mobile: altura natural evita "saltos" ao mostrar/ocultar barras do navegador */
    .index-hero-wrap {
        position: relative;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: 0;
        height: auto;
        overflow: hidden;
        margin-top: 0;
        z-index: 1;
    }

    /* Hero acima do .index-mid-bg (index.webp); cards .index-picts com z-index maior */
    body.page-index .index-hero-wrap {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        box-sizing: border-box;
        background-color: transparent;
        background-image: none;
        overflow-x: hidden;
        overflow-y: visible;
        min-height: calc(100svh - clamp(6.35rem, 15vh, 8.85rem));
        min-height: calc(100vh - clamp(6.35rem, 15vh, 8.85rem));
        padding-bottom: clamp(3.6rem, 9vw, 5.1rem);
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    body.page-index .home-hero-text.home-hero-text--index {
        position: relative;
        inset: auto;
        width: 100%;
        flex-shrink: 0;
        align-items: flex-start;
        justify-content: center;
        flex-direction: row;
        padding-top: calc(env(safe-area-inset-top, 0px) + clamp(0.75rem, 3.4vw, 1.3rem));
        padding-right: clamp(0.35rem, 1.8vw, 0.75rem);
        padding-bottom: clamp(0.35rem, 2vw, 0.65rem);
        padding-left: clamp(0.35rem, 1.8vw, 0.75rem);
        z-index: 5;
    }

    body.page-index .index-picts.index-picts--overlay {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: clamp(0.35rem, 2vw, 0.85rem);
        width: calc(100% - 1rem);
        max-width: none;
        z-index: 4;
        background-image: none;
        background-color: transparent;
        border-radius: 0;
        padding: clamp(0.35rem, 2vw, 0.55rem) 0;
        box-sizing: border-box;
        overflow: visible;
    }

    body.page-index .index-hero-wrap > picture {
        display: none !important;
    }

    body.page-index .index-hero-cta {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: clamp(0.85rem, 3.5vw, 1.35rem);
        margin-bottom: 0;
        flex-shrink: 0;
        z-index: 6;
    }

    /* Sem overlay escuro no mobile (igual desktop); mensagem no topo do hero, não ao centro da tela */
    .index-hero-scrim {
        display: none;
    }

    .index-hero-title {
        font-size: clamp(1.28rem, 5vw + 0.25rem, 1.85rem);
        line-height: 1.2;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.88),
            0 2px 14px rgba(0, 0, 0, 0.55),
            0 0 18px rgba(0, 0, 0, 0.35);
    }

    .index-hero-subtitle {
        margin-top: clamp(0.65rem, 2.5vw, 1rem);
        font-size: clamp(0.82rem, 2.6vw + 0.2rem, 1.05rem);
        line-height: 1.45;
        text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.82),
            0 2px 10px rgba(0, 0, 0, 0.45);
    }

    .index-hero-ornament {
        margin-top: clamp(0.85rem, 3vw, 1.15rem);
        gap: 0.45rem;
    }

    .index-hero-ornament__heart {
        width: 18px;
        height: 18px;
    }

    /* Rodapé acima do hero quando há sobreposição: ordem natural do DOM (sem z-index global no index) */
    .site-footer {
        position: relative;
        z-index: 3;
    }

    /* Fundo mapa: pseudo fixed à viewport; cover enche o ecrã (mapa grande até ao topo/cabeçalho) */
    body.page-index {
        overflow-x: hidden;
        max-width: 100%;
        background-color: #1b303f;
        background-image: none;
        position: relative;
    }

    body.page-index::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-color: transparent;
        background-image: url('../assets/index/index_cell.webp');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

    body.page-index .index-hero-img {
        opacity: 0;
    }

    /* Sobre + Histórias: body escuro no mobile (Sobre: imagem em sobre.css); degradê igual ao desktop em Histórias */
    body.page-sobre,
    body.page-historias {
        overflow-x: hidden;
        max-width: 100%;
        position: relative;
    }

    body.page-sobre {
        background-color: #1b303f;
        background-image: none;
    }

    body.page-historias {
        background-color: var(--parlons-header-gradient-bottom);
        background-image: linear-gradient(
            180deg,
            #1b303f 0%,
            #1b303f 52%,
            #2d4156 82%,
            var(--parlons-header-gradient-top) 100%
        );
    }

    body.page-sobre footer.site-footer > .site-footer__inner,
    body.page-historias footer.site-footer > .site-footer__inner {
        padding-top: 1.25rem !important;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        padding-bottom: 0.75rem !important;
    }

    body.page-sobre .site-footer__brand-row .site-footer__logo-link,
    body.page-historias .site-footer__brand-row .site-footer__logo-link {
        margin-bottom: 0.25rem !important;
    }
}

/* Index usa .home-hero-text.home-hero-text--index — não aplicar column aqui senão justify-content centra no eixo vertical */
.home-hero-text:not(.home-hero-text--index) {
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.home-hero-titulo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 200px;
    padding: 1rem;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    background: transparent;
}

.home-hero-subtitulo {
    font-size: 1.15rem;
    color: #2e7d32;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 200px;
    padding: 1rem;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    background: transparent;
}

@media (max-width: 767px) {
    .home-hero-titulo,
    .home-hero-subtitulo {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

.hero {
    text-align: center;
    padding: 2rem 1rem;
}

.hero-text {
    font-size: 1.15rem;
    color: #555;
}

/* Rodapé — azul mais claro (alinhado ao cabeçalho) + degradê suave */
.site-footer {
    background-color: #172a38;
    background-image:
        radial-gradient(ellipse 120% 72% at 50% -12%, rgba(255, 255, 255, 0.085), transparent 58%),
        linear-gradient(
            168deg,
            #1b303f 0%,
            #263c4c 38%,
            #314a5a 72%,
            rgba(165, 195, 220, 0.085) 100%
        );
    color: var(--footer-text);
    text-align: left;
    padding: 0;
    margin-top: auto;
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.75rem 1.25rem 1.65rem;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
}

.site-footer__brand {
    position: relative;
    min-width: 0;
}

.site-footer__brand::before {
    content: '';
    position: absolute;
    inset: -10% -6% -6%;
    opacity: 0.13;
    background-image: radial-gradient(circle at center, var(--footer-accent) 1px, transparent 1px);
    background-size: 15px 15px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 90% 80% at 38% 42%, #000 12%, transparent 68%);
}

.site-footer__brand-inner {
    position: relative;
    z-index: 1;
}

.site-footer__brand-row {
    display: block;
}

.site-footer__brand-text {
    min-width: 0;
}

.site-footer__logo-link {
    display: inline-block;
    line-height: 0;
    margin-bottom: 1rem;
}

.site-footer__brand-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.65rem;
    line-height: 1.25;
}

.site-footer__brand-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(243, 245, 247, 0.82);
    margin: 0;
    max-width: 22rem;
}

.site-footer__accordion {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.site-footer__accordion-summary {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__accordion-summary::-webkit-details-marker,
.site-footer__accordion-summary::marker {
    display: none;
}

.site-footer__accordion-summary-lead {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.site-footer__accordion-summary-lead .site-footer__section-title {
    margin: 0;
}

.site-footer__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--footer-accent);
    color: var(--footer-accent);
    flex-shrink: 0;
}

.site-footer__section-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.site-footer__section-title::after {
    content: '';
    display: block;
    width: 2.65rem;
    height: 4px;
    background: var(--footer-accent);
    margin-top: 0.38rem;
    border-radius: 2px;
}

.site-footer__link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__link-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__link-list li:last-child {
    border-bottom: none;
}

.site-footer__link {
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 0.62rem 0;
    color: rgba(243, 245, 247, 0.88);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.site-footer__chev {
    color: var(--footer-accent);
    font-weight: 700;
    margin-right: 0.45rem;
    flex-shrink: 0;
}

.site-footer__link:hover {
    color: var(--footer-accent);
}

.site-footer__highlights {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.site-footer__feat {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.site-footer__feat-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--footer-accent);
    background: rgba(118, 200, 77, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-accent);
}

.site-footer__feat-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 0.28rem;
    line-height: 1.25;
}

.site-footer__feat-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(243, 245, 247, 0.75);
    margin: 0;
}

.site-footer__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.5rem;
    padding-top: 1.35rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    font-size: 0.8125rem;
    margin: 0;
    color: var(--footer-muted);
}

.site-footer__bar-links {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--footer-muted);
}

.site-footer__bar-links a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.site-footer__bar-sep {
    margin: 0 0.45rem;
    opacity: 0.55;
}

@media (min-width: 992px) {
    .site-footer__inner {
        padding-top: 1.5rem;
    }

    .site-footer__grid {
        grid-template-columns: 1.15fr 0.92fr 0.92fr 1.15fr;
        gap: 2rem 2.35rem;
        align-items: start;
    }

    .site-footer__col--rule {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 1.85rem;
        margin-left: 0;
    }

    .site-footer__accordion-summary {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin-bottom: 0.85rem;
        cursor: default;
        pointer-events: none;
    }

    .site-footer__accordion-chevron {
        display: none !important;
    }

    .site-footer__accordion-body {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .site-footer {
        --footer-accent: #8cc63f;
        background-color: #203848;
        background-image:
            radial-gradient(ellipse 110% 65% at 50% -10%, rgba(255, 255, 255, 0.085), transparent 56%),
            linear-gradient(
                180deg,
                #223c50 0%,
                #304a5e 52%,
                #3d586c 82%,
                rgba(200, 220, 240, 0.09) 100%
            );
    }

    .site-footer__col--rule {
        border-left: none;
        padding-left: 0;
    }

    /* Logo, depois «Conectando pessoas» e descrição (coluna única, também no celular) */
    .site-footer__brand-row {
        display: block;
    }

    .site-footer__brand-row .site-footer__logo-link {
        margin-bottom: 1rem;
    }

    .site-footer__brand-text {
        min-width: 0;
    }

    .site-footer__brand-heading {
        margin-top: 0;
    }

    .site-footer__brand-desc {
        max-width: none;
    }

    /* Navegação + Informações: mesmo tom que o degradê do rodapé (≤991px) */
    .site-footer__accordion {
        border: 1px solid rgba(140, 198, 63, 0.38);
        border-radius: 12px;
        background: rgba(34, 60, 80, 0.82);
        overflow: hidden;
    }

    .site-footer__accordion + .site-footer__accordion {
        margin-top: 0.65rem;
    }

    .site-footer__accordion-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.95rem 1rem;
        cursor: pointer;
        pointer-events: auto;
    }

    .site-footer__accordion .site-footer__section-title::after {
        display: none;
    }

    .site-footer__accordion-chevron {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: var(--footer-accent);
        opacity: 0.95;
        transition: transform 0.22s ease;
    }

    .site-footer__accordion[open] .site-footer__accordion-chevron {
        transform: rotate(180deg);
    }

    .site-footer__accordion-body {
        padding: 0 1rem 1.05rem;
    }

    .site-footer__accordion-body .site-footer__link-list li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .site-footer__highlights {
        margin-top: 0.35rem;
        border: 2px solid rgba(140, 198, 63, 0.42);
        border-radius: 14px;
        padding: 1.15rem 1rem;
        gap: 0;
        background: rgba(140, 198, 63, 0.06);
    }

    .site-footer__feat {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-footer__feat:first-child {
        padding-top: 0;
    }

    .site-footer__feat:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .site-footer__bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.65rem;
    }

    .footer-copy,
    .site-footer__bar-links {
        text-align: center;
        width: 100%;
    }
}

/* Tablet (768–991): padding do rodapé — não misturar com celular (991 vinha depois e anulava ≤767px) */
@media (min-width: 768px) and (max-width: 991px) {
    .site-footer__inner {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    body.page-index footer.site-footer > .site-footer__inner {
        padding-top: 1.25rem !important;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        padding-bottom: 0.75rem !important;
    }
}

/*
 * Celular (≤767): mesmo fundo que .site-top (header.webp).
 * Esta regra fica depois do bloco ≤991 para ganhar ao degradê genérico do rodapé.
 */
@media (max-width: 767px) {
    footer.site-footer {
        background-color: transparent;
        background-image: url('../assets/index/header.webp');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        box-shadow: none;
    }

    body.page-index footer.site-footer > .site-footer__inner {
        padding-top: 1.25rem !important;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        padding-bottom: 0.75rem !important;
    }

    body:not(.page-index):not(.page-historias) .site-footer__inner {
        padding-top: 1rem;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
        padding-bottom: 1rem;
    }

    .site-footer__brand-row .site-footer__logo-link {
        margin-bottom: 0.5rem;
    }

    body.page-index .site-footer__brand-row .site-footer__logo-link {
        margin-bottom: 0.25rem !important;
    }
}

/* Responsivo */


/* <500px: grid fixa slogan na 1ª linha (coluna direita) e idioma na 2ª — logo ocupa as duas linhas */

/* bengali (bn-bd): Noto Sans Bengali carregado do Google em index/sobre/historias + html.parlons-lang-bn-bd */
html.parlons-lang-bn-bd,
html.parlons-lang-bn-bd .header-tagline-text,
html.parlons-lang-bn-bd .menu-pages,
html.parlons-lang-bn-bd .menu-pages-lead,
html.parlons-lang-bn-bd .menu-pages-trail,
html.parlons-lang-bn-bd .menu-sobre-contato,
html.parlons-lang-bn-bd .menu-list,
html.parlons-lang-bn-bd .header-idioma-select,
html.parlons-lang-bn-bd .index-hero-title,
html.parlons-lang-bn-bd .index-hero-subtitle,
html.parlons-lang-bn-bd .site-footer {
    font-family: "Noto Sans Bengali", "Kohinoor Bangla", "Nirmala UI", "Shonar Bangla", system-ui, sans-serif;
}

/* chinês tradicional (zh-tw): Noto Sans TC + html.parlons-lang-zh-tw */
html.parlons-lang-zh-tw,
html.parlons-lang-zh-tw .header-tagline-text,
html.parlons-lang-zh-tw .menu-pages,
html.parlons-lang-zh-tw .menu-pages-lead,
html.parlons-lang-zh-tw .menu-pages-trail,
html.parlons-lang-zh-tw .menu-sobre-contato,
html.parlons-lang-zh-tw .menu-list,
html.parlons-lang-zh-tw .header-idioma-select,
html.parlons-lang-zh-tw .index-hero-title,
html.parlons-lang-zh-tw .index-hero-subtitle,
html.parlons-lang-zh-tw .site-footer {
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Heiti TC", system-ui, sans-serif;
}

