/* ==========================================================================
   REC — Rede de Empreendedoras Cristãs
   Design system + componentes. Mobile-first.
   Breakpoints: 600px (sm) · 900px (md) · 1100px (lg) · 1440px (xl)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    /* Cores da marca (rosa extraído da logo oficial) */
    --linho: #F8F2F0;          /* fundo principal */
    --linho-2: #F2E8E5;        /* superfícies alternadas */
    --bruma: #E7D8D4;          /* bordas, divisórias */
    --rosa: #D67685;           /* rosa REC — decorativo e textos grandes */
    --rosa-claro: #F4DCE0;
    --rosa-profundo: #A94A5E;  /* rosa acessível para textos pequenos */
    --vinho: #6E2240;          /* ação principal */
    --vinho-escuro: #531631;
    --ameixa: #26151E;         /* seções escuras e texto forte */
    --ameixa-2: #3A2430;
    --ardosia: #4A5468;        /* acento de autoridade */
    --texto: #2E1F26;
    --texto-suave: #6B5A61;
    --branco: #FFFFFF;
    --sucesso: #2F6B4F;
    --erro: #A4262C;

    /* Tipografia */
    --f-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --f-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --t-xs: 0.8125rem;
    --t-sm: 0.9375rem;
    --t-base: 1.0625rem;
    --t-md: 1.25rem;
    --t-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --t-xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
    --t-2xl: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
    --t-3xl: clamp(2.9rem, 1.4rem + 6.4vw, 6.4rem);

    /* Espaçamentos (escala de 4px) */
    --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
    --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
    --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
    --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
    --container: 76rem;

    /* Raios — hierarquia: arco (assinatura), cartão, controle */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-pill: 999px;
    --r-arch: 999px 999px var(--r-md) var(--r-md);

    /* Sombras tingidas de ameixa (nunca cinza puro) */
    --sh-1: 0 1px 2px rgb(38 21 30 / 0.06);
    --sh-2: 0 1px 2px rgb(38 21 30 / 0.05), 0 10px 30px -12px rgb(110 34 64 / 0.22);
    --sh-3: 0 2px 6px rgb(38 21 30 / 0.06), 0 28px 60px -24px rgb(110 34 64 / 0.35);

    /* Movimento */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --d-fast: 160ms;
    --d-base: 320ms;
    --d-slow: 800ms;

    --header-h: 76px;
    --focus: 0 0 0 3px var(--linho), 0 0 0 5px var(--vinho);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
body {
    margin: 0;
    background: var(--linho);
    color: var(--texto);
    font-family: var(--f-sans);
    font-size: var(--t-base);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--rosa-claro); color: var(--ameixa); }

h1, h2, h3 {
    font-family: var(--f-display);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-xs); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: var(--s-4); top: var(--s-4); z-index: 1000;
    padding: var(--s-3) var(--s-5); background: var(--ameixa); color: var(--linho);
    border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
    transform: translateY(-200%); transition: transform var(--d-fast) var(--ease);
}
.skip-link:focus-visible { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--flush-top { padding-top: 0; }
.section--tinted { background: var(--linho-2); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon--sm { width: 1.125rem; height: 1.125rem; }
.icon--lg { width: 2rem; height: 2rem; }

/* Tipografia de seção ------------------------------------------------------ */
.kicker {
    display: inline-flex; align-items: center; gap: var(--s-3);
    font-size: var(--t-sm); font-weight: 600; color: var(--rosa-profundo);
    margin-bottom: var(--s-5);
}
.kicker::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.title-xl { font-size: var(--t-2xl); }
.title-lg { font-size: var(--t-xl); }
.lead { font-size: var(--t-md); line-height: 1.6; color: var(--texto-suave); max-width: 38rem; }

/* 3. Botões ---------------------------------------------------------------- */
.btn {
    --btn-bg: var(--vinho); --btn-fg: var(--branco); --btn-bd: var(--vinho);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
    min-height: 3.25rem; padding: 0.85rem 1.6rem;
    border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 600; font-size: var(--t-sm); letter-spacing: 0.01em; line-height: 1.2;
    text-decoration: none; text-align: center; white-space: normal;
    transition: transform var(--d-fast) var(--ease), box-shadow var(--d-base) var(--ease),
                background-color var(--d-base) var(--ease), color var(--d-base) var(--ease);
}
.btn::after { /* brilho que atravessa o botão no hover */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.22) 50%, transparent 70%);
    transform: translateX(-120%);
}
.btn:hover { box-shadow: var(--sh-2); }
.btn:hover::after { transition: transform 700ms var(--ease); transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:focus-visible { box-shadow: var(--focus); border-radius: var(--r-pill); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn .icon { transition: transform var(--d-base) var(--ease); }
.btn:hover .icon--move { transform: translateX(3px); }

@media (min-width: 600px) { .btn { white-space: nowrap; } }
.btn--primary:hover { --btn-bg: var(--vinho-escuro); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ameixa); --btn-bd: color-mix(in srgb, var(--ameixa) 30%, transparent); }
.btn--ghost:hover { --btn-bg: var(--ameixa); --btn-fg: var(--linho); }
.btn--light { --btn-bg: var(--linho); --btn-fg: var(--vinho); --btn-bd: var(--linho); }
.btn--light:hover { --btn-bg: var(--branco); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--linho); --btn-bd: rgb(248 242 240 / 0.4); }
.btn--outline-light:hover { --btn-bg: var(--linho); --btn-fg: var(--ameixa); }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.15rem; }
.btn--block { width: 100%; }
.btn--lg { min-height: 3.75rem; padding-inline: clamp(1.4rem, 5vw, 2.2rem); font-size: var(--t-base); }

.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::before {
    content: ""; position: absolute; width: 1.25rem; height: 1.25rem; inset: 0; margin: auto;
    border: 2px solid rgb(255 255 255 / 0.35); border-top-color: var(--branco); border-radius: 50%;
    animation: spin 700ms linear infinite;
}

.icon-btn {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
    border-radius: 50%; border: 1px solid var(--bruma); background: var(--branco); color: var(--vinho);
    text-decoration: none;
    transition: background-color var(--d-base) var(--ease), color var(--d-base) var(--ease), transform var(--d-fast) var(--ease), border-color var(--d-base);
}
.icon-btn:hover { background: var(--vinho); color: var(--branco); border-color: var(--vinho); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn:focus-visible { border-radius: 50%; }

.text-link {
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-weight: 600; color: var(--vinho); text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size var(--d-base) var(--ease);
}
.text-link:hover { background-size: 100% 1px; }

/* 4. Badges, chips, tags ---------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: var(--s-2);
    padding: 0.3rem 0.75rem; border-radius: var(--r-pill);
    background: var(--rosa-claro); color: var(--vinho-escuro);
    font-size: var(--t-xs); font-weight: 600; line-height: 1.3;
}
.badge--glass { background: rgb(255 255 255 / 0.86); backdrop-filter: blur(8px); color: var(--vinho); }
.badge--outline { background: transparent; border: 1px solid var(--bruma); color: var(--texto-suave); }
.tag { font-size: var(--t-xs); color: var(--texto-suave); padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--linho-2); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    transition: background-color var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease),
                transform 420ms var(--ease-out), height var(--d-base) var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.site-header.is-scrolled {
    --header-h: 64px;
    background: rgb(248 242 240 / 0.86);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--bruma);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--ameixa); position: relative; z-index: 2; }
.brand__mark { width: 52px; height: auto; transition: width var(--d-base) var(--ease); }
.is-scrolled .brand__mark { width: 44px; }
.brand__text { display: grid; line-height: 1; padding-left: var(--s-3); border-left: 1px solid var(--bruma); }
.brand__sigla { font-family: var(--f-display); font-size: 1.65rem; letter-spacing: 0.06em; }
.brand__nome { font-size: 0.6875rem; line-height: 1.25; color: var(--texto-suave); margin-top: 2px; }

.menu-toggle {
    position: relative; z-index: 2; display: grid; place-items: center;
    width: 3rem; height: 3rem; border: 1px solid var(--bruma); border-radius: 50%; background: var(--branco);
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    content: ""; display: block; width: 18px; height: 1.5px; background: var(--ameixa); border-radius: 2px;
    transition: transform var(--d-base) var(--ease-out), opacity var(--d-fast);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before { position: absolute; transform: translateY(-6px); }
.menu-toggle__bars::after { position: absolute; transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); }

/* Navegação mobile: painel em tela cheia */
.site-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; gap: var(--s-6);
    padding: calc(var(--header-h) + var(--s-6)) var(--gutter) var(--s-6);
    background: var(--linho);
    overflow-y: auto; overscroll-behavior: contain;
    clip-path: circle(0 at calc(100% - 3rem) 2.4rem);
    visibility: hidden;
    transition: clip-path 600ms var(--ease-out), visibility 0s linear 600ms;
}
.site-nav.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.4rem); visibility: visible; transition: clip-path 700ms var(--ease-out); }
.site-nav__list { display: grid; gap: var(--s-1); }
.site-nav__link {
    display: block; padding: var(--s-2) 0; text-decoration: none;
    font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.15; color: var(--ameixa);
}
.site-nav__link[aria-current="page"] { color: var(--rosa-profundo); }
.site-nav.is-open .site-nav__list li,
.site-nav.is-open .site-nav__cta,
.site-nav.is-open .site-nav__extra { animation: nav-in 600ms var(--ease-out) both; }
.site-nav.is-open .site-nav__list li:nth-child(2) { animation-delay: 50ms; }
.site-nav.is-open .site-nav__list li:nth-child(3) { animation-delay: 100ms; }
.site-nav.is-open .site-nav__list li:nth-child(4) { animation-delay: 150ms; }
.site-nav.is-open .site-nav__list li:nth-child(5) { animation-delay: 200ms; }
.site-nav.is-open .site-nav__list li:nth-child(6) { animation-delay: 250ms; }
.site-nav.is-open .site-nav__cta { animation-delay: 300ms; }
.site-nav.is-open .site-nav__extra { animation-delay: 350ms; }
.site-nav__cta { align-self: flex-start; }
.site-nav__extra { margin-top: auto; display: grid; gap: var(--s-2); color: var(--texto-suave); font-size: var(--t-sm); }
.site-nav__extra p { font-family: var(--f-display); font-size: var(--t-md); font-style: italic; color: var(--ameixa); }
.site-nav__extra a { display: inline-flex; gap: var(--s-2); align-items: center; text-decoration: none; }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
    .menu-toggle { display: none; }
    .site-nav {
        position: static; inset: auto; flex-direction: row; align-items: center; gap: var(--s-6);
        padding: 0; background: none; overflow: visible; clip-path: none; visibility: visible; transition: none;
    }
    .site-nav__list { display: flex; gap: var(--s-5); }
    .site-nav__link {
        font-family: var(--f-sans); font-size: var(--t-sm); font-weight: 500; padding: var(--s-2) 0;
        position: relative; color: var(--texto);
    }
    .site-nav__link::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--rosa-profundo);
        transform: scaleX(0); transform-origin: right; transition: transform var(--d-base) var(--ease);
    }
    .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
    .site-nav__extra { display: none; }
    .site-nav__cta { align-self: auto; }
}
@media (min-width: 1100px) and (max-width: 1240px) {
    .site-nav__list { gap: var(--s-4); }
    .brand__nome { display: none; }
}

/* 6. Fotografias e arcos ---------------------------------------------------- */
.photo { width: 100%; height: 100%; object-fit: cover; background: var(--linho-2); }
.photo--placeholder {
    position: relative; overflow: hidden;
    background:
        radial-gradient(120% 80% at 20% 10%, rgb(255 255 255 / 0.65), transparent 60%),
        radial-gradient(90% 70% at 85% 90%, rgb(214 118 133 / 0.38), transparent 70%),
        linear-gradient(160deg, #EBDCD8, #D9BFC1 55%, #B98C95);
}
.photo--placeholder::before { /* trama discreta de pontos: identifica que é provisório sem ruído */
    content: ""; position: absolute; inset: 0; opacity: 0.35;
    background-image: radial-gradient(rgb(110 34 64 / 0.35) 1px, transparent 1px);
    background-size: 14px 14px;
    mask-image: linear-gradient(to bottom, transparent, #000 60%);
}
.photo__tag {
    position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
    max-width: calc(100% - 1.5rem); padding: 0.25rem 0.7rem; border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.82); color: var(--vinho-escuro);
    font-size: 0.6875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.arch { border-radius: var(--r-arch); overflow: hidden; box-shadow: var(--sh-3); background: var(--linho-2); }
.arch .photo { border-radius: inherit; }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
    position: relative; overflow: hidden;
    padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
    padding-bottom: clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(60% 50% at 85% 20%, rgb(214 118 133 / 0.18), transparent 70%),
        var(--linho);
}
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero__title { font-size: var(--t-3xl); color: var(--ameixa); max-width: 13ch; }
.hero__sub {
    margin-top: var(--s-5); font-family: var(--f-display); font-style: italic;
    font-size: var(--t-lg); line-height: 1.25; color: var(--vinho); max-width: 26ch;
}
.hero__text { margin-top: var(--s-5); color: var(--texto-suave); max-width: 34rem; font-size: var(--t-md); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__trust {
    display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-6);
    padding-top: var(--s-5); border-top: 1px solid var(--bruma);
    font-size: var(--t-sm); color: var(--texto-suave);
}
.hero__trust li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__trust .icon { color: var(--rosa-profundo); }

.hero__art { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 600 / 640; }
.hero__arch { position: absolute; }
.hero__arch--a { left: 6%; top: 4%; width: 48%; height: 62%; }
.hero__arch--b { left: 58%; top: 26%; width: 36%; height: 46%; }
.hero__arch--c { left: 22%; top: 70%; width: 22%; height: 20.6%; border-radius: 50%; }
.hero__arch--c .photo__tag { font-size: 0.5625rem; bottom: 0.6rem; padding-inline: 0.45rem; }
.hero__network { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.net-flight { fill: none; stroke: var(--rosa); stroke-width: 1; stroke-dasharray: 2 7; opacity: 0.7; }
.net-lines path { fill: none; stroke: var(--rosa-profundo); stroke-width: 1.1; opacity: 0.55; }
.net-nodes circle { fill: var(--linho); stroke: var(--rosa-profundo); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.net-nodes circle.is-key { fill: var(--rosa); stroke: var(--linho); stroke-width: 2; }
.hero__note {
    position: absolute; right: 2%; bottom: 3%; width: min(56%, 260px);
    display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: center;
    padding: var(--s-4); border-radius: var(--r-md);
    background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px); box-shadow: var(--sh-2);
}
.hero__note img { width: 44px; }
.hero__note p { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; color: var(--ameixa); }
.hero__note cite { display: block; font-family: var(--f-sans); font-style: normal; font-size: var(--t-xs); color: var(--texto-suave); margin-top: 2px; }

.scroll-cue {
    display: none; align-items: center; gap: var(--s-3); margin-top: var(--s-7);
    font-size: var(--t-xs); color: var(--texto-suave); text-decoration: none;
}
.scroll-cue__line { position: relative; width: 1px; height: 44px; background: var(--bruma); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; width: 1px; height: 40%; background: var(--vinho); animation: cue 2.4s var(--ease) infinite; }

@media (min-width: 900px) {
    .hero { min-height: min(100svh, 980px); display: grid; align-items: center; }
    .hero__grid { grid-template-columns: 1.08fr 1fr; }
    .scroll-cue { display: inline-flex; }
}

/* Sequência de entrada do hero: o único momento orquestrado da página */
.js .hero [data-hero-in] { opacity: 0; transform: translateY(18px); }
.js .hero.is-ready [data-hero-in] { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js .hero .hero__arch { opacity: 0; transform: translateY(24px) scale(0.98); }
.js .hero.is-ready .hero__arch { opacity: 1; transform: none; transition: opacity 1100ms var(--ease-out), transform 1300ms var(--ease-out); transition-delay: calc(200ms + var(--i, 0) * 160ms); }
.js .hero .net-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero.is-ready .net-lines path { stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--ease) calc(700ms + var(--d, 0) * 120ms); }
.js .hero .net-nodes circle { opacity: 0; transform: scale(0.2); }
.js .hero.is-ready .net-nodes circle { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 700ms var(--ease-out); transition-delay: calc(900ms + var(--d, 0) * 120ms); }
.hero.is-ready .net-nodes circle.is-key { animation: node-breathe 5s ease-in-out 3s infinite; }
.hero.is-ready .net-flight { animation: flight 40s linear infinite; }

/* 8. Revelação ao rolar (sutil, só com JS ativo) --------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }

/* 9. Sobre ----------------------------------------------------------------- */
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.about__title { font-size: var(--t-2xl); color: var(--ameixa); max-width: 14ch; }
.about__lead { margin-top: var(--s-6); font-size: var(--t-md); line-height: 1.7; max-width: 36rem; }
.about__lead + p { margin-top: var(--s-4); color: var(--texto-suave); max-width: 36rem; }
.about__quote {
    margin-top: var(--s-7); padding-left: var(--s-5); border-left: 2px solid var(--rosa);
    font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.25; color: var(--vinho); max-width: 30ch;
}
.about__visual { position: relative; }
.about__photo { width: min(100%, 420px); aspect-ratio: 4 / 5; margin-left: auto; }
.pillars { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.pillar {
    display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start;
    padding: var(--s-5); background: var(--branco); border: 1px solid var(--bruma); border-radius: var(--r-md);
}
.pillar__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--rosa-claro); color: var(--vinho); }
.pillar h3 { font-size: 1.5rem; color: var(--ameixa); }
.pillar p { margin-top: var(--s-1); font-size: var(--t-sm); color: var(--texto-suave); }
@media (min-width: 900px) {
    .about__grid { grid-template-columns: 1.15fr 1fr; align-items: start; }
    .pillars { margin-top: calc(var(--s-8) * -1); margin-right: 20%; position: relative; }
    .pillar { box-shadow: var(--sh-2); }
}

.stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--bruma);
}
.stat { padding: var(--s-6) var(--s-5) 0 0; }
.stat dd { margin: 0; }
.stat__value { font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1; color: var(--vinho); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: var(--s-2); color: var(--texto-suave); font-size: var(--t-sm); max-width: 20ch; }

/* 10. Propósito: missão, visão e valores (seção escura) -------------------- */
.purpose { background: var(--ameixa); color: var(--linho); overflow: hidden; }
.purpose::before { /* luz suave vinda do alto */
    content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1;
    background: radial-gradient(closest-side, rgb(214 118 133 / 0.22), transparent); pointer-events: none;
}
.purpose .kicker { color: var(--rosa); }
.purpose__title { font-size: var(--t-2xl); max-width: 16ch; }
.purpose__statements { display: grid; gap: var(--s-7); margin-top: clamp(3rem, 6vw, 5rem); }
.statement { border-top: 1px solid rgb(248 242 240 / 0.18); padding-top: var(--s-5); }
.statement h3 { font-family: var(--f-sans); font-size: var(--t-sm); font-weight: 600; color: var(--rosa); letter-spacing: 0.02em; }
.statement p { margin-top: var(--s-4); font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.3; color: var(--linho); max-width: 32ch; }
@media (min-width: 900px) { .purpose__statements { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.values { margin-top: clamp(4rem, 8vw, 7rem); display: grid; gap: var(--s-6); }
.values__head h3 { font-size: var(--t-xl); }
.values__head p { margin-top: var(--s-3); color: rgb(248 242 240 / 0.72); max-width: 28rem; }
.values__list { position: relative; counter-reset: none; }
.values__list::before { /* linha vertical que conecta os valores */
    content: ""; position: absolute; left: 7px; top: 1.6rem; bottom: 1.6rem; width: 1px; background: rgb(248 242 240 / 0.16);
}
.value { position: relative; display: grid; grid-template-columns: 15px 1fr; gap: var(--s-5); align-items: baseline; padding: var(--s-4) 0; }
.value__node {
    width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgb(248 242 240 / 0.4); background: var(--ameixa);
    transform: translateY(0.15em); transition: background-color var(--d-slow) var(--ease), border-color var(--d-slow) var(--ease), box-shadow var(--d-slow);
}
.value.is-lit .value__node { background: var(--rosa); border-color: var(--rosa); box-shadow: 0 0 0 6px rgb(214 118 133 / 0.16); }
.value__text { font-family: var(--f-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; }
.value__text span { font-style: italic; color: rgb(248 242 240 / 0.6); }
@media (min-width: 900px) { .values { grid-template-columns: 1fr 1.6fr; align-items: start; } .values__head { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* 11. Benefícios ------------------------------------------------------------ */
.benefits { background: var(--linho-2); }
.benefits__layout { display: grid; gap: var(--s-7); }
.benefits__intro .lead { margin-top: var(--s-5); }
.benefits__intro .btn { margin-top: var(--s-6); }
.benefit-grid { display: grid; gap: var(--s-4); }
.benefit {
    --mx: 50%; --my: 50%;
    position: relative; overflow: hidden; isolation: isolate;
    padding: var(--s-6) var(--s-5); border-radius: var(--r-md);
    background: var(--branco); border: 1px solid var(--bruma);
    transition: transform var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease), border-color var(--d-base);
}
.benefit::before { /* luz que acompanha o cursor */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
    background: radial-gradient(280px circle at var(--mx) var(--my), rgb(214 118 133 / 0.16), transparent 70%);
    transition: opacity var(--d-base) var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: rgb(214 118 133 / 0.45); }
.benefit:hover::before { opacity: 1; }
.benefit__icon { color: var(--vinho); width: 2.25rem; height: 2.25rem; transition: transform var(--d-slow) var(--ease-out); }
.benefit:hover .benefit__icon { transform: rotate(-6deg) scale(1.08); }
.benefit h3 { margin-top: var(--s-5); font-size: 1.6rem; color: var(--ameixa); }
.benefit p { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--texto-suave); }
@media (min-width: 600px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
    .benefits__layout { grid-template-columns: 0.85fr 1.5fr; gap: var(--s-8); align-items: start; }
    .benefits__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
    /* Deslocamento editorial via margem (não conflita com o transform do reveal/hover) */
    .benefit-grid { align-items: start; }
    .benefit:nth-child(even) { margin-top: var(--s-7); margin-bottom: calc(var(--s-7) * -1); }
    .benefit-grid { padding-bottom: var(--s-7); }
}

/* 12. Segmentos (faixa em movimento, pausável) ----------------------------- */
.segments { overflow: hidden; }
.segments__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); }
.segments__head h2 { font-size: var(--t-2xl); color: var(--ameixa); max-width: 18ch; }
.marquee { flex: 1 0 100%; margin-inline: calc(50% - 50vw); margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: var(--s-4); }
.marquee__row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--s-4); width: max-content; }
.marquee__track ul { display: flex; gap: var(--s-4); }
.segment-pill {
    display: inline-flex; align-items: center; gap: var(--s-3); white-space: nowrap;
    padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4); border-radius: var(--r-pill);
    background: var(--branco); border: 1px solid var(--bruma); color: var(--ameixa);
    font-size: var(--t-base); font-weight: 500;
    transition: background-color var(--d-base) var(--ease), color var(--d-base) var(--ease), border-color var(--d-base);
}
.segment-pill__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--rosa-claro); color: var(--vinho); transition: background-color var(--d-base), color var(--d-base); }
.segment-pill:hover { background: var(--ameixa); color: var(--linho); border-color: var(--ameixa); }
.segment-pill:hover .segment-pill__icon { background: var(--rosa); color: var(--ameixa); }
.marquee-toggle {
    display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4);
    border-radius: var(--r-pill); border: 1px solid var(--bruma); background: transparent; font-size: var(--t-sm); color: var(--texto-suave);
}
.marquee-toggle:hover { color: var(--ameixa); border-color: var(--ameixa); }
.segments__foot { margin-top: var(--s-6); }

@media (prefers-reduced-motion: no-preference) {
    .js .marquee__track { animation: marquee var(--marquee-speed, 60s) linear infinite; }
    .js .marquee__row--reverse .marquee__track { animation-direction: reverse; }
    .marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee__row { mask-image: none; }
    .marquee__track, .marquee__track ul { width: auto; flex-wrap: wrap; }
    .marquee__track ul[aria-hidden="true"], .marquee-toggle { display: none; }
}

/* 13. Cartões de parceiras -------------------------------------------------- */
.partner-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.partner-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--branco); border: 1px solid var(--bruma); border-radius: var(--r-lg);
    transition: transform var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease);
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.partner-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--linho-2); }
.partner-card__cover > * { transition: transform 1200ms var(--ease-out); }
.partner-card:hover .partner-card__cover > * { transform: scale(1.05); }
.partner-card__media .badge { position: absolute; z-index: 1; left: var(--s-4); top: var(--s-4); }
.partner-card__logo {
    position: absolute; right: var(--s-4); bottom: calc(-1 * 2rem); z-index: 1;
    width: 4rem; height: 4rem; border-radius: 50%; overflow: hidden; border: 3px solid var(--branco);
    background: var(--linho-2); box-shadow: var(--sh-2);
}
.partner-card__cover { position: absolute; inset: 0; overflow: hidden; }
.partner-card__cover > .media-stack { width: 100%; height: 100%; }

.partner-card__body { display: flex; flex-direction: column; gap: var(--s-2); flex: 1; padding: var(--s-6) var(--s-5) var(--s-5); }
.partner-card__name { font-size: 1.75rem; color: var(--ameixa); padding-right: 4rem; }
.partner-card__owner { font-size: var(--t-sm); color: var(--texto-suave); }
.partner-card__meta { display: flex; align-items: center; gap: var(--s-1); font-size: var(--t-xs); color: var(--texto-suave); }
.partner-card__desc { font-size: var(--t-sm); color: var(--texto); margin-top: var(--s-2); }
.partner-card__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.partner-card__actions { display: flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-5); }
.partner-card__actions .btn { flex: 1; }

/* Pilha de mídia: monograma por baixo, foto por cima (some se o arquivo faltar) */
.media-stack { position: relative; display: block; width: 100%; height: 100%; }
.media-stack > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-stack > img { opacity: 0; transition: opacity 600ms var(--ease); }
.media-stack > img.is-loaded { opacity: 1; }

/* Capa/monograma gerados quando não há imagem */
.cover-fallback {
    width: 100%; height: 100%; display: grid; place-items: center;
    background:
        radial-gradient(80% 90% at 15% 20%, rgb(255 255 255 / 0.6), transparent 60%),
        linear-gradient(135deg, hsl(var(--hue, 350) 45% 86%), hsl(calc(var(--hue, 350) + 20) 40% 70%));
    color: var(--vinho-escuro); font-family: var(--f-display); font-size: 3.5rem; line-height: 1;
}
.partner-card__logo .cover-fallback { font-size: 1.4rem; }
.profile__logo .cover-fallback { font-size: 2rem; }

.skeleton { position: relative; overflow: hidden; background: var(--linho-2); border-radius: var(--r-lg); min-height: 30rem; }
.skeleton::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.6), transparent);
    animation: shimmer 1.6s infinite;
}

/* Cartão-convite (quando há poucas parceiras em destaque) */
.invite-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4);
    padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); background: var(--ameixa); color: var(--linho);
    animation: card-in 600ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.invite-card::after { /* arco da identidade, ao fundo */
    content: ""; position: absolute; right: -18%; bottom: -30%; width: 70%; aspect-ratio: 3 / 4;
    border-radius: 999px 999px 0 0; border: 1px solid rgb(214 118 133 / 0.35); pointer-events: none;
}
.invite-card__icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: rgb(214 118 133 / 0.18); color: var(--rosa); }
.invite-card h3 { font-size: var(--t-lg); max-width: 14ch; }
.invite-card p { color: rgb(248 242 240 / 0.78); font-size: var(--t-sm); max-width: 30ch; }
.invite-card .btn { margin-top: auto; }

/* 14. Destaques na home ---------------------------------------------------- */
.featured__head { display: grid; gap: var(--s-5); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.featured__head h2 { font-size: var(--t-2xl); color: var(--ameixa); max-width: 16ch; }
.featured__foot { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.featured__note { font-size: var(--t-sm); color: var(--texto-suave); }
@media (min-width: 900px) { .featured__head { grid-template-columns: 1fr auto; align-items: end; } }

/* 15. Fé ------------------------------------------------------------------- */
.faith { text-align: center; overflow: hidden; }
.faith__mark { width: clamp(80px, 12vw, 120px); margin: 0 auto var(--s-6); }
.faith__quote p { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.18; color: var(--ameixa); max-width: 24ch; margin-inline: auto; }
.faith__quote cite { display: block; margin-top: var(--s-5); font-style: normal; font-size: var(--t-sm); color: var(--rosa-profundo); font-weight: 600; }
.faith__card {
    display: grid; gap: var(--s-4); justify-items: center; margin: clamp(3rem, 6vw, 5rem) auto 0; max-width: 40rem;
    padding: var(--s-6); border-radius: var(--r-lg); background: var(--branco); border: 1px solid var(--bruma);
}
.faith__card h3 { font-size: 1.6rem; color: var(--ameixa); }
.faith__card p { color: var(--texto-suave); }
@media (min-width: 600px) { .faith__card { grid-template-columns: 1fr auto; text-align: left; justify-items: start; } }

/* 16. Faixa de conversão ---------------------------------------------------- */
.cta-band {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--vinho); color: var(--linho); border-radius: var(--r-lg);
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
}
.cta-band__net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0.5; }
.cta-band__net path { fill: none; stroke: var(--rosa); stroke-width: 1; }
.cta-band__net circle { fill: var(--rosa); }
.cta-band h2 { font-size: var(--t-2xl); max-width: 14ch; }
.cta-band p { margin-top: var(--s-5); font-size: var(--t-md); max-width: 34rem; color: rgb(248 242 240 / 0.86); }
.cta-band .btn { margin-top: var(--s-6); }
.js .cta-band__net path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .cta-band.is-visible .cta-band__net path { stroke-dashoffset: 0; transition: stroke-dashoffset 2400ms var(--ease) calc(var(--d, 0) * 160ms); }

/* 17. Contato -------------------------------------------------------------- */
.contact__grid { display: grid; gap: var(--s-7); }
.contact h2 { font-size: var(--t-2xl); color: var(--ameixa); max-width: 14ch; }
.contact .lead { margin-top: var(--s-5); }
.contact-list { display: grid; gap: var(--s-3); }
.contact-item {
    display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center;
    padding: var(--s-5); border-radius: var(--r-md); background: var(--branco); border: 1px solid var(--bruma);
    text-decoration: none; transition: border-color var(--d-base), box-shadow var(--d-base), transform var(--d-base) var(--ease);
}
a.contact-item:hover { border-color: var(--rosa); box-shadow: var(--sh-2); transform: translateX(4px); }
.contact-item__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--rosa-claro); color: var(--vinho); }
.contact-item__label { display: block; font-size: var(--t-xs); color: var(--texto-suave); }
.contact-item__value { display: block; font-weight: 600; color: var(--ameixa); overflow-wrap: anywhere; }
.contact-item__arrow { color: var(--rosa-profundo); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* 18. Rodapé --------------------------------------------------------------- */
.site-footer { background: var(--ameixa); color: rgb(248 242 240 / 0.78); padding-top: var(--s-9); font-size: var(--t-sm); }
.site-footer a, .prose a { overflow-wrap: anywhere; }
.site-footer a { text-decoration: none; transition: color var(--d-fast); }
.site-footer a:hover { color: var(--branco); }
.site-footer__grid { display: grid; gap: var(--s-7); }
.site-footer__logo { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--linho); }
.site-footer__logo img { width: 58px; }
.site-footer__name { margin-top: var(--s-4); font-family: var(--f-display); font-size: 1.5rem; color: var(--linho); }
.site-footer__about { margin-top: var(--s-2); max-width: 26rem; }
.site-footer__title { font-family: var(--f-sans); font-size: var(--t-sm); font-weight: 600; color: var(--rosa); margin-bottom: var(--s-4); }
.site-footer__col ul { display: grid; gap: var(--s-3); }
.site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; gap: var(--s-2); min-width: 0; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
    margin-top: var(--s-8); padding-block: var(--s-6) calc(var(--s-6) + env(safe-area-inset-bottom));
    border-top: 1px solid rgb(248 242 240 / 0.12); font-size: var(--t-xs);
}
.site-footer__verse { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--linho); }
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* 19. Elementos flutuantes -------------------------------------------------- */
.floating-actions {
    position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 90; display: grid; gap: var(--s-3); justify-items: end;
}
.wa-float {
    display: inline-flex; align-items: center; gap: var(--s-2); height: 3.5rem; padding: 0 1.1rem;
    border-radius: var(--r-pill); background: #1F7A4D; color: var(--branco); text-decoration: none; font-weight: 600; font-size: var(--t-sm);
    box-shadow: 0 10px 30px -8px rgb(31 122 77 / 0.55);
    transition: transform var(--d-base) var(--ease), box-shadow var(--d-base);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgb(31 122 77 / 0.6); }
.wa-float:focus-visible { border-radius: var(--r-pill); }
.wa-float__label { display: none; }
@media (min-width: 600px) { .wa-float__label { display: inline; } }
.to-top {
    display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
    border: 1px solid var(--bruma); background: rgb(255 255 255 / 0.92); backdrop-filter: blur(8px); color: var(--ameixa);
    box-shadow: var(--sh-2); opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:focus-visible { border-radius: 50%; }

/* 20. Toast ---------------------------------------------------------------- */
.toast-region { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 300; display: grid; gap: var(--s-2); width: min(92vw, 28rem); pointer-events: none; }
.toast {
    display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5);
    border-radius: var(--r-md); background: var(--ameixa); color: var(--linho); box-shadow: var(--sh-3);
    font-size: var(--t-sm); animation: toast-in 420ms var(--ease-out) both; pointer-events: auto;
}
.toast--success .icon { color: #8FD3AE; }
.toast--error .icon { color: #F4A3A8; }
.toast.is-leaving { animation: toast-out 300ms var(--ease) both; }

/* 21. Cabeçalho de páginas internas ---------------------------------------- */
.page-hero {
    padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem);
    background: radial-gradient(60% 80% at 100% 0%, rgb(214 118 133 / 0.16), transparent 70%), var(--linho);
    position: relative; overflow: hidden;
}
.page-hero h1 { font-size: var(--t-3xl); color: var(--ameixa); max-width: 14ch; }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero__deco { position: absolute; right: -4rem; top: 30%; width: min(42vw, 460px); opacity: 0.6; pointer-events: none; display: none; }
.page-hero__deco path { fill: none; stroke: var(--rosa); stroke-width: 1; }
.page-hero__deco circle { fill: var(--linho); stroke: var(--rosa-profundo); stroke-width: 1.5; }
@media (min-width: 900px) { .page-hero__deco { display: block; } }

/* 22. Diretório de parceiras ----------------------------------------------- */
.directory { padding-bottom: var(--section-y); }
.toolbar {
    position: sticky; top: calc(var(--header-h) - 1px); z-index: 20;
    padding-block: var(--s-4); margin-bottom: var(--s-6);
    background: rgb(248 242 240 / 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bruma);
}
.toolbar__inner { display: grid; gap: var(--s-4); }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--texto-suave); pointer-events: none; }
.search-field input {
    width: 100%; min-height: 3.5rem; padding: 0.9rem 3.25rem; border-radius: var(--r-pill);
    border: 1px solid var(--bruma); background: var(--branco); font-size: 1rem;
    transition: border-color var(--d-base), box-shadow var(--d-base);
}
.search-field input:hover { border-color: color-mix(in srgb, var(--vinho) 35%, var(--bruma)); }
.search-field input:focus-visible { border-color: var(--vinho); box-shadow: 0 0 0 4px rgb(110 34 64 / 0.12); outline: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-clear {
    position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--linho-2); color: var(--ameixa);
}
.search-clear[hidden] { display: none; }
.chips { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: none; scroll-snap-align: start; min-height: 2.75rem; padding: 0.5rem 1.1rem; border-radius: var(--r-pill);
    border: 1px solid var(--bruma); background: var(--branco); font-size: var(--t-sm); font-weight: 500; color: var(--texto);
    transition: background-color var(--d-base) var(--ease), color var(--d-base) var(--ease), border-color var(--d-base);
}
.chip:hover { border-color: var(--vinho); }
.chip[aria-pressed="true"] { background: var(--ameixa); color: var(--linho); border-color: var(--ameixa); }
.chip:focus-visible { border-radius: var(--r-pill); }
.chip__count { opacity: 0.65; margin-left: 0.3em; font-variant-numeric: tabular-nums; }
.directory__grid { margin-top: var(--s-5); }
.directory__updated { margin-top: var(--s-6); }
.results-meta { font-size: var(--t-sm); color: var(--texto-suave); }
.results-meta strong { color: var(--ameixa); }
@media (min-width: 900px) { .toolbar__inner { grid-template-columns: minmax(18rem, 34rem) 1fr; align-items: center; } }

.state-card {
    display: grid; justify-items: center; gap: var(--s-4); text-align: center;
    padding: clamp(3rem, 8vw, 5rem) var(--s-5); border-radius: var(--r-lg); border: 1px dashed var(--bruma); background: var(--branco);
}
.state-card__icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--rosa-claro); color: var(--vinho); }
.state-card h2, .state-card h3 { font-size: var(--t-lg); color: var(--ameixa); max-width: 26ch; }
.state-card p { color: var(--texto-suave); max-width: 32rem; }
.state-card[hidden] { display: none; }

.join-strip { margin-top: var(--s-9); display: grid; gap: var(--s-5); align-items: center; padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); background: var(--ameixa); color: var(--linho); }
.join-strip h2 { font-size: var(--t-xl); max-width: 18ch; }
.join-strip p { color: rgb(248 242 240 / 0.78); margin-top: var(--s-3); }
@media (min-width: 900px) { .join-strip { grid-template-columns: 1fr auto; padding: var(--s-8); } }

/* Animação dos cartões ao filtrar */
.partner-grid > .partner-card { animation: card-in 600ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* 23. Perfil (dialog) ------------------------------------------------------ */
.profile {
    width: min(100% - 2rem, 52rem); max-height: min(92vh, 60rem); padding: 0; border: 0; border-radius: var(--r-lg);
    background: var(--linho); color: var(--texto); box-shadow: var(--sh-3); overflow: hidden;
}
.profile::backdrop { background: rgb(38 21 30 / 0.55); backdrop-filter: blur(4px); }
.profile[open] { animation: dialog-in 520ms var(--ease-out); }
.profile[open]::backdrop { animation: fade-in 400ms var(--ease); }
.profile.is-closing { animation: dialog-out 260ms var(--ease) forwards; }
.profile.is-closing::backdrop { animation: fade-out 260ms var(--ease) forwards; }
.profile__scroll { max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.profile__cover { position: relative; aspect-ratio: 21 / 9; background: var(--linho-2); }
.profile__cover > .media-stack { position: absolute; inset: 0; }
.profile__close {
    position: absolute; right: var(--s-4); top: var(--s-4); z-index: 2;
    display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0;
    background: rgb(255 255 255 / 0.92); color: var(--ameixa); box-shadow: var(--sh-2);
}
.profile__close:focus-visible { border-radius: 50%; }
.profile__logo {
    position: absolute; left: var(--s-6); bottom: -2.75rem; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden;
    border: 4px solid var(--linho); background: var(--linho-2); box-shadow: var(--sh-2);
}

.profile__body { padding: calc(2.75rem + var(--s-5)) var(--s-6) var(--s-6); display: grid; gap: var(--s-5); }
.profile__title { font-size: var(--t-xl); color: var(--ameixa); }
.profile__owner { margin-top: var(--s-1); color: var(--texto-suave); }
.profile__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.profile__desc { font-size: var(--t-base); line-height: 1.75; max-width: 62ch; }
.profile__section-title { font-family: var(--f-sans); font-size: var(--t-sm); font-weight: 600; color: var(--rosa-profundo); margin-bottom: var(--s-3); }
.profile__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--bruma); }
@media (max-width: 599px) {
    .profile { width: 100%; max-width: 100%; max-height: 94vh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
    .profile[open] { animation-name: sheet-in; }
    .profile.is-closing { animation-name: sheet-out; }
    .profile__body { padding-inline: var(--s-5); }
    .profile__actions .btn { flex: 1 1 100%; }
}

/* 24. Página de oração: ritmo mais lento ----------------------------------- */
.page-oracao {
    --d-slow: 1400ms;
    background: linear-gradient(180deg, #F8F2F0 0%, #F5ECEF 40%, #F1EAF0 75%, #F8F2F0 100%);
}
.page-oracao .site-header.is-scrolled { background: rgb(246 238 241 / 0.86); }
.js .page-oracao [data-reveal]:not(.is-visible) { transform: translateY(10px); }
.js .page-oracao [data-reveal].is-visible { transition-duration: 1600ms; }

.prayer-hero { position: relative; min-height: min(92svh, 900px); display: grid; align-items: center; text-align: center; overflow: hidden; padding-block: calc(var(--header-h) + 3rem) var(--s-9); }
.breath-light {
    position: absolute; left: 50%; top: 46%; width: min(120vw, 900px); aspect-ratio: 1; translate: -50% -50%; z-index: -1;
    background: radial-gradient(closest-side, rgb(255 255 255 / 0.95), rgb(244 220 224 / 0.6) 45%, transparent 75%);
}
@media (prefers-reduced-motion: no-preference) { .breath-light { animation: breathe 9s ease-in-out infinite; } }
.prayer-hero__mark { width: 72px; margin: 0 auto var(--s-6); opacity: 0.9; }
.prayer-hero h1 { font-size: var(--t-3xl); color: var(--ameixa); max-width: 12ch; margin-inline: auto; line-height: 1.02; }
.prayer-hero .lead { margin: var(--s-6) auto 0; text-align: center; max-width: 30rem; }
.prayer-hero .btn { margin-top: var(--s-7); }
.prayer-hero__verse { margin: var(--s-8) auto 0; max-width: 34rem; font-family: var(--f-display); font-size: var(--t-md); line-height: 1.45; color: var(--texto-suave); font-style: italic; }
.prayer-hero__verse cite { display: block; margin-top: var(--s-2); font-family: var(--f-sans); font-style: normal; font-size: var(--t-xs); font-weight: 600; color: var(--rosa-profundo); }

.assurances { display: grid; gap: var(--s-5); }
.assurance { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: rgb(255 255 255 / 0.62); border: 1px solid rgb(231 216 212 / 0.8); }
.assurance .icon { color: var(--vinho); }
.assurance h3 { font-size: 1.6rem; color: var(--ameixa); }
.assurance p { font-size: var(--t-sm); color: var(--texto-suave); }
.assurance__value { font-family: var(--f-display); font-size: var(--t-xl); color: var(--vinho); line-height: 1; }
@media (min-width: 900px) { .assurances { grid-template-columns: repeat(3, 1fr); } }

.steps { counter-reset: step; display: grid; gap: var(--s-5); margin-top: var(--s-7); }
.step { position: relative; padding-left: 3.75rem; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    border: 1px solid var(--rosa); font-family: var(--f-display); font-size: 1.35rem; color: var(--vinho);
}
.step h3 { font-size: 1.5rem; color: var(--ameixa); }
.step p { margin-top: var(--s-1); color: var(--texto-suave); font-size: var(--t-sm); max-width: 30rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.verse-block { text-align: center; padding-block: var(--section-y); }
.verse-block__label { font-family: var(--f-sans); line-height: 1.4; font-size: var(--t-sm); font-weight: 600; color: var(--rosa-profundo); }
.verse-block blockquote { margin-top: var(--s-6); min-height: 9rem; display: grid; align-content: center; transition: opacity 700ms var(--ease), filter 700ms var(--ease); }
.verse-block blockquote.is-changing { opacity: 0; filter: blur(4px); }
.verse-block blockquote p { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.22; color: var(--ameixa); max-width: 26ch; margin-inline: auto; }
.verse-block cite { display: block; margin-top: var(--s-5); font-style: normal; font-weight: 600; font-size: var(--t-sm); color: var(--vinho); }
.verse-block__next { margin-top: var(--s-6); }
.verse-block__version { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--texto-suave); }

/* 25. Formulários ---------------------------------------------------------- */
.form-shell { display: grid; gap: var(--s-7); }
.form-shell__intro h2 { font-size: var(--t-xl); color: var(--ameixa); max-width: 16ch; }
.form-shell__intro .lead { margin-top: var(--s-4); }
@media (min-width: 1100px) { .form-shell { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-9); align-items: start; } .form-shell__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }

.form-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--branco); border: 1px solid var(--bruma); box-shadow: var(--sh-2); }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 600px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field__label { font-weight: 600; font-size: var(--t-sm); color: var(--ameixa); }
.field__optional { font-weight: 400; color: var(--texto-suave); }
.field__help { font-size: var(--t-xs); color: var(--texto-suave); line-height: 1.5; }
.field__error { display: none; align-items: center; gap: var(--s-2); font-size: var(--t-xs); font-weight: 600; color: var(--erro); }
.field.has-error .field__error { display: flex; }
.input, .select, .textarea {
    width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem; border-radius: var(--r-sm);
    border: 1px solid var(--bruma); background: var(--linho); font-size: 1rem; line-height: 1.5;
    transition: border-color var(--d-base), box-shadow var(--d-base), background-color var(--d-base);
}
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--vinho) 30%, var(--bruma)); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--vinho); background: var(--branco); box-shadow: 0 0 0 4px rgb(110 34 64 / 0.12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--erro); background: #FDF5F5; }
.field.is-valid .input, .field.is-valid .textarea { border-color: color-mix(in srgb, var(--sucesso) 55%, var(--bruma)); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ameixa) 50%), linear-gradient(135deg, var(--ameixa) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.textarea { min-height: 11rem; resize: vertical; }
.field__counter { justify-self: end; font-size: var(--t-xs); color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.field__counter.is-near { color: var(--erro); }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; cursor: pointer; font-size: var(--t-sm); }
.check input { appearance: none; margin: 0.1rem 0 0; width: 1.4rem; height: 1.4rem; border-radius: 6px; border: 1.5px solid var(--texto-suave); background: var(--branco); display: grid; place-items: center; transition: background-color var(--d-fast), border-color var(--d-fast); cursor: pointer; }
.check input::after { content: ""; width: 0.45rem; height: 0.8rem; border: solid var(--branco); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform var(--d-fast) var(--ease-out); margin-top: -2px; }
.check input:checked { background: var(--vinho); border-color: var(--vinho); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible { box-shadow: var(--focus); }
.field.has-error .check input { border-color: var(--erro); }

.privacy-note { padding: var(--s-5); border-radius: var(--r-md); background: var(--linho); border: 1px solid var(--bruma); font-size: var(--t-sm); }
.privacy-note__title { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--ameixa); }
.privacy-note ul { margin-top: var(--s-3); padding-left: 1.2rem; color: var(--texto-suave); display: grid; gap: var(--s-1); }
.privacy-note__more { margin-top: var(--s-3); }
.privacy-note a { color: var(--vinho); font-weight: 600; }

.form-summary { padding: var(--s-4); border-radius: var(--r-sm); background: #FDF1F1; color: var(--erro); font-size: var(--t-sm); font-weight: 600; display: flex; gap: var(--s-2); align-items: center; }
.form-summary[hidden] { display: none; }

.form-success { text-align: center; display: grid; justify-items: center; gap: var(--s-4); padding: var(--s-6) 0; }
.form-success[hidden] { display: none; }
.form-success__icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #E3F1E9; color: var(--sucesso); animation: pop 700ms var(--ease-out) both; }
.form-success h3 { font-size: var(--t-lg); color: var(--ameixa); }
.form-success p { color: var(--texto-suave); max-width: 30rem; }
.form-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-2); }

/* 26. Depoimentos ---------------------------------------------------------- */
.testimonials__head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.testimonials__head h2 { font-size: var(--t-xl); color: var(--ameixa); }
.testimonials__notice { margin-top: var(--s-4); display: inline-flex; }
.testimonial-list { display: grid; gap: var(--s-5); }
.testimonial { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-6); border-radius: var(--r-lg); background: rgb(255 255 255 / 0.7); border: 1px solid var(--bruma); }
.testimonial .icon { color: var(--rosa); }
.testimonial p { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.3; color: var(--ameixa); }
.testimonial footer { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; font-size: var(--t-xs); color: var(--texto-suave); }
@media (min-width: 900px) { .testimonial-list { grid-template-columns: repeat(3, 1fr); } .testimonial:nth-child(2) { margin-top: var(--s-7); } }

.prayer-final { text-align: center; }
.prayer-final h2 { font-size: var(--t-xl); color: var(--ameixa); max-width: 22ch; margin-inline: auto; }
.prayer-final p { margin: var(--s-5) auto 0; max-width: 32rem; color: var(--texto-suave); }
.prayer-final .btn { margin-top: var(--s-6); }

/* 27. Páginas legais ------------------------------------------------------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--t-lg); color: var(--ameixa); margin-top: var(--s-7); margin-bottom: var(--s-3); }
.prose p, .prose li { color: var(--texto); }
.prose p + p { margin-top: var(--s-4); }
.prose ul { margin-top: var(--s-3); padding-left: 1.3rem; display: grid; gap: var(--s-2); }
.prose a { color: var(--vinho); font-weight: 600; }
.prose__updated { font-size: var(--t-sm); color: var(--texto-suave); }

/* 28. Barra de progresso de leitura (navegadores com scroll-timeline) ------ */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 101; background: var(--rosa); transform-origin: left; transform: scaleX(0); display: none; }
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .progress { display: block; animation: progress linear both; animation-timeline: scroll(root); }
    }
}

/* 29. Keyframes ------------------------------------------------------------ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@keyframes node-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes flight { to { stroke-dashoffset: -400; } }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--s-4) / 2)); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.85; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes progress { to { transform: scaleX(1); } }

/* 30. Movimento reduzido: remove deslocamentos não essenciais -------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js .hero [data-hero-in], .js .hero .hero__arch, .js .hero .net-nodes circle { opacity: 1; transform: none; }
    .js .hero .net-lines path, .js .cta-band__net path { stroke-dashoffset: 0; }
    .scroll-cue__line::after, .skeleton::after { display: none; }
}

/* 31. Impressão ------------------------------------------------------------ */
@media print {
    .site-header, .floating-actions, .toast-region, .progress, .site-nav { display: none !important; }
    body { background: #fff; }
}
