/* ═══════════════════════════════════════════════════════════════
   Home do Movimento ID (index.html): seções próprias da home.
   O restante (cores, botões, etiquetas, foto com moldura, rodapé) vem do
   css/site.css. Body: class="site home".
   ═══════════════════════════════════════════════════════════════ */

.h-photo img, .h-trio img, .h-post-img img, .h-cta-photo img, .h-sp-logo { height: auto; }

/* ── Hero ─────────────────────────────────────────────────────── */
.h-hero { padding: 8.5rem 0 5.5rem; }
.h-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 4.5rem;
    align-items: center;
}
.h-hero h1 {
    margin: 1.6rem 0 1.7rem;
    color: var(--h-blue);
    font-size: clamp(2.7rem, 6.1vw, 5.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.028em;
}

/* ── Números do site ──────────────────────────────────────────── */
.h-facts { border-top: 2px solid var(--h-blue); border-bottom: 2px solid var(--h-blue); }
.h-facts ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.h-facts li { position: relative; padding: 2rem 1.6rem 1.9rem; border-left: 2px solid var(--h-blue); }
.h-facts li:first-child { border-left: 0; padding-left: 0; }
.h-facts li::before { content: ''; position: absolute; top: 0; left: 0; width: 46px; height: 8px; background: var(--c); }
.h-facts li:first-child::before { left: 0; }
.h-facts li:not(:first-child)::before { left: 1.6rem; }
.h-facts b { display: block; margin-top: 0.4rem; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.h-facts span { display: block; margin-top: 0.7rem; max-width: 15rem; font-size: 0.92rem; line-height: 1.45; color: var(--h-muted); }

/* ── Quem somos ───────────────────────────────────────────────── */
.h-quem { background: var(--h-green); color: var(--h-paper); }
.h-quem-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.5rem;
    align-items: end;
    padding-top: 6rem;
}
.h-quem h2 {
    margin: 1.6rem 0 1.8rem;
    font-size: clamp(1.9rem, 3.7vw, 3.1rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.015em;
}
.h-quem-text { padding-bottom: 4.5rem; }
.h-quem-text p { max-width: 36rem; margin: 0 0 2rem; font-size: 1.12rem; line-height: 1.7; opacity: 0.95; }
.h-trio { margin: 0; justify-self: end; max-width: 520px; width: 100%; }
.h-trio img { display: block; width: 100%; }


/* ── Sujeito do processo ──────────────────────────────────────── */
.h-sujeito { position: relative; background: var(--h-blue); color: var(--h-paper); padding: 7.5rem 0 6.5rem; }
.h-sujeito::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--h-stripe); }
.h-sujeito h2 {
    margin: 1.8rem 0 3.4rem;
    font-size: clamp(2.9rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.h-sujeito em { font-style: normal; color: var(--h-yellow); }
.h-sujeito-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.h-sujeito p { margin: 0; max-width: 34rem; font-size: 1.2rem; line-height: 1.65; }
.h-sujeito .h-link { margin-top: 2rem; }

/* ── O que fazemos ────────────────────────────────────────────── */
.h-setores { padding: 7rem 0 6.5rem; }
.h-head { display: flex; justify-content: space-between; align-items: end; gap: 2.5rem; margin-bottom: 3.4rem; }
.h-head h2 { margin: 1.4rem 0 0; font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
.h-head p { max-width: 24rem; margin: 0; color: var(--h-muted); font-size: 1.05rem; line-height: 1.6; }

.h-setor {
    position: relative;
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 15.5rem) minmax(0, 1fr) 2.2rem;
    gap: 1.6rem 2.2rem;
    align-items: center;
    padding: 2.2rem 1.4rem 2.2rem 2.2rem;
    border-top: 2px solid var(--h-blue);
    color: var(--h-blue);
    text-decoration: none;
}
.h-setor:last-of-type { border-bottom: 2px solid var(--h-blue); }
.h-setor::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 8px; background: var(--c); transition: width 0.2s ease; }
.h-setor:hover::before, .h-setor:focus-visible::before { width: 22px; }
.h-setor .n { font-size: 1rem; font-weight: 800; letter-spacing: 0.1em; opacity: 0.85; }
.h-setor h3 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.15rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; }
.h-setor p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--h-muted); }
.h-setor .h-arr { width: 1.6rem; height: 1.6rem; transition: transform 0.2s ease; }
.h-setor:hover .h-arr, .h-setor:focus-visible .h-arr { transform: translateX(6px); }
.h-logos { display: flex; gap: 0.6rem; margin-top: 1rem; }
.h-logos img { width: 42px; height: 42px; border: 1px solid rgba(19, 79, 125, 0.25); }

/* ── FreeMind ─────────────────────────────────────────────────── */
.h-free { padding: 1rem 0 7.5rem; }
.h-free-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 5.5rem; align-items: center; }
.h-free .h-frame::before { background: var(--h-green); }
.h-free h2 { margin: 1.6rem 0 1.5rem; font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.h-free p { max-width: 38rem; margin: 0 0 1.6rem; font-size: 1.15rem; line-height: 1.7; color: var(--h-muted); }
.h-quote { max-width: 36rem; margin: 2.2rem 0 2.6rem; padding-left: 1.4rem; border-left: 6px solid var(--h-orange); font-size: 1.3rem; font-weight: 600; line-height: 1.45; }
.h-quote cite { display: block; margin-top: 0.7rem; font-size: 0.82rem; font-style: normal; font-weight: 600; letter-spacing: 0.06em; color: var(--h-muted); }

/* ── Saúde Pura (marca própria, tinta e lima) ─────────────────── */
.h-sp { position: relative; background: #072A2F; color: #F2FAFA; padding: 5.5rem 0; }
.h-sp::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: #4BBFC7; }
.h-sp-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4.5rem; align-items: center; }
.h-sp-logo { display: block; width: min(100%, 400px); }
.h-sp-by { margin: 1.6rem 0 0; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8FD9DE; }
.h-sp h2 { margin: 0 0 1.3rem; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.h-sp p { max-width: 36rem; margin: 0 0 2.3rem; font-size: 1.12rem; line-height: 1.7; opacity: 0.92; }

/* ── Blog ─────────────────────────────────────────────────────── */
.h-blog { padding: 7rem 0 6.5rem; }

/* ── Participe ────────────────────────────────────────────────── */
.h-cta { padding-bottom: 6.5rem; }
.h-cta-photo { position: relative; }
.h-cta-photo img { display: block; width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.h-cta-box {
    position: relative;
    max-width: 680px;
    margin: -8rem 0 0;
    padding: 3rem 3rem 3.2rem;
    background: var(--h-blue);
    color: var(--h-paper);
    box-shadow: 12px 12px 0 var(--h-orange);
}
.h-cta-box h2 { margin: 1.4rem 0 1.6rem; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.h-cta-box ul { margin: 0 0 2.4rem; padding: 0; list-style: none; }
.h-cta-box li { display: flex; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid rgba(253, 251, 247, 0.35); font-size: 1.05rem; line-height: 1.5; }
.h-cta-box li:last-child { border-bottom: 1px solid rgba(253, 251, 247, 0.35); }
.h-cta-box li b { flex: none; width: 1.8rem; font-weight: 800; color: var(--h-yellow); }


@media (prefers-reduced-motion: reduce) {
    .h-setor::before, .h-setor .h-arr, .h-post-img img { transition: none; }
}

/* ── Telas médias e celulares ─────────────────────────────────── */
@media (max-width: 1023px) {
    .h-hero { padding-top: 7.5rem; }
    .h-hero-grid, .h-quem-top, .h-free-grid, .h-sp-grid, .h-sujeito-grid { grid-template-columns: 1fr; gap: 3rem; }
    .h-quem-top { padding-top: 4.5rem; gap: 0; }
    .h-quem-text { padding-bottom: 3rem; }
    .h-trio { justify-self: center; max-width: 460px; }
    .h-facts ul { grid-template-columns: 1fr 1fr; }
    .h-facts li, .h-facts li:first-child { padding: 1.8rem 1.2rem 1.6rem; border-left: 0; border-top: 2px solid var(--h-blue); }
    .h-facts li:nth-child(-n+2) { border-top: 0; }
    .h-facts li:nth-child(even) { border-left: 2px solid var(--h-blue); padding-left: 1.4rem; }
    .h-facts li:first-child, .h-facts li:nth-child(3) { padding-left: 0; }
    .h-facts li::before, .h-facts li:first-child::before, .h-facts li:not(:first-child)::before { left: 0; }
    .h-facts li:nth-child(even)::before { left: 1.4rem; }
    .h-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .h-setor { grid-template-columns: 3rem minmax(0, 1fr) 2rem; gap: 0.9rem 1rem; padding: 1.8rem 0.4rem 1.9rem 1.7rem; }
    .h-setor > p, .h-setor > div { grid-column: 1 / -1; }
    .h-setor .h-arr { grid-row: 1; grid-column: 3; }
    .h-cta-box { margin: -4rem 0 0 0; padding: 2.2rem 1.6rem 2.4rem; box-shadow: 8px 8px 0 var(--h-orange); }
    .h-sp-logo { width: min(100%, 320px); }
}
@media (max-width: 560px) {
    .h-hero { padding-bottom: 4rem; }
    .h-hero h1 { font-size: 2.55rem; }
    .h-cta-photo img { aspect-ratio: 4 / 3; }
    .h-sujeito { padding: 5.5rem 0 4.5rem; }
}
