/* Método Artismo — camada de design no padrão Astryx (tema Neutral: Figtree, raios, sombras, "folha" sobre o fundo),
   com o coral do site original como cor de destaque. Site sempre claro, cores explícitas. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Astryx Neutral (claro) */
  --c-body: #f0f0f0;
  --c-surface: #ffffff;
  --c-muted: #f5f5f5;
  --c-text: #121212;
  --c-text-2: #555555;
  --c-border: #e4e4e4;
  --c-border-strong: #d2d2d2;
  /* destaque: o coral do site original */
  --c-accent: #e5525f;
  --c-accent-hover: #d43f4d;
  --c-on-accent: #ffffff;
  --c-green: #358a3a;
  --c-green-hover: #2b7530;
  --c-ink: #261f1f;
  /* raios do Astryx */
  --radius-inner: 0.375rem;
  --radius-element: 0.625rem;
  --radius-container: 0.75rem;
  --radius-page: 1.75rem;
  --radius-full: 9999px;
  /* sombras do Astryx */
  --shadow-low: 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.10);
  --shadow-med: 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.10);
  --shadow-high: 0 4px 6px rgba(0, 0, 0, 0.10), 0 12px 24px rgba(0, 0, 0, 0.15);
  /* escala de tipo (base 16, razão 1.2, como a adaptação de toque do Neutral) */
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-h3: 1.25rem;
  --t-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.4rem);
  --t-display: clamp(2.3rem, 1.4rem + 3.4vw, 3.6rem);
  --sheet-gap: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-body); color: var(--c-text); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; letter-spacing: 0.003em; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -0.012em; }
h1 { font-size: var(--t-display); font-weight: 700; }
h2 { font-size: var(--t-h2); font-weight: 700; }
h3 { font-size: var(--t-h3); font-weight: 700; }
p { margin: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: var(--radius-inner); }

/* ---------- casco: topo no fundo, conteúdo numa folha ---------- */
.topo { padding: 14px max(20px, env(safe-area-inset-right, 0px)) 14px max(20px, env(safe-area-inset-left, 0px)); }
.topo-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.topo-logo img { height: 46px; width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu a { text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 9px 14px; border-radius: var(--radius-element); color: var(--c-text); }
.menu a:hover { background: rgba(0, 0, 0, 0.05); }
.menu a[aria-current="page"] { background: var(--c-surface); box-shadow: var(--shadow-low); }
.menu a.novo::after { content: "novo"; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-accent); margin-left: 6px; vertical-align: 2px; }
.menu-botao { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius-element); border: 1px solid var(--c-border-strong); background: var(--c-surface); align-items: center; justify-content: center; cursor: pointer; }
.menu-botao svg { width: 20px; height: 20px; }
.armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aviso-ok { background: #eaf6ec; border: 1px solid #b9dfbf; color: #1f5d27; border-radius: var(--radius-element); padding: 14px 16px; font-weight: 600; }
.aviso-erro { background: #fdecee; border: 1px solid #f5c2c8; color: #8a1f2b; border-radius: var(--radius-element); padding: 14px 16px; font-weight: 600; }

.folha { max-width: 1240px; margin: 0 auto; background: var(--c-surface); border-radius: var(--radius-page); box-shadow: var(--shadow-low); overflow: hidden; }
.casca { padding-left: max(var(--sheet-gap), env(safe-area-inset-left, 0px)); padding-right: max(var(--sheet-gap), env(safe-area-inset-right, 0px)); padding-bottom: var(--sheet-gap); }
.in { max-width: 1080px; margin: 0 auto; padding-inline: 40px; }
.secao { padding-block: 88px; position: relative; }
.secao.cinza { background: var(--c-muted); }
.secao + .secao.borda { border-top: 1px solid var(--c-border); }
.centro { text-align: center; }
.centro .lead { margin-inline: auto; }
.lead { font-size: 1.2rem; color: var(--c-text-2); max-width: 42em; }
.lead strong { color: var(--c-text); }
.texto { color: var(--c-text-2); }
.texto strong { color: var(--c-text); }
.pilha { display: flex; flex-direction: column; gap: 18px; }
.pilha-sm { display: flex; flex-direction: column; gap: 10px; }
.rotulo { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-accent); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- botões (forma do Button do Astryx) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-element); font: 600 1rem var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.125s ease, border-color 0.125s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primario { background: var(--c-accent); color: var(--c-on-accent); }
.btn-primario:hover { background: var(--c-accent-hover); }
.btn-verde { background: var(--c-green); color: #fff; }
.btn-verde:hover { background: var(--c-green-hover); }
.btn-secundario { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border-strong); }
.btn-secundario:hover { background: var(--c-muted); }
.btn-claro { background: rgba(255, 255, 255, 0.92); color: var(--c-text); }
.btn-claro:hover { background: #fff; }

/* ---------- abertura com mídia (Centered/Gallery Hero do Astryx) ---------- */
.hero { padding: var(--sheet-gap); }
.hero-quadro { position: relative; border-radius: calc(var(--radius-page) - 6px); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; background: #2a2a2a; }
.hero-quadro > img, .hero-quadro > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-quadro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.62) 100%); }
.hero-texto { position: relative; z-index: 1; padding: 56px; max-width: 760px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.hero-texto h1 { color: #fff; }
.hero-texto p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.92); max-width: 34em; }
.hero-texto .acoes { margin-top: 10px; }
.hero.compacto .hero-quadro { min-height: 440px; }
/* Centered Hero do Astryx: texto centralizado e uma foto larga embaixo */
.hero-centro { padding-top: 72px; }
.hero-centro .lead { max-width: 36em; }
.hero-centro-foto { padding: 48px var(--sheet-gap) var(--sheet-gap); }
.hero-centro-foto img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: calc(var(--radius-page) - 6px); }

/* ---------- cartões (Card do Astryx) ---------- */
.cartao { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-container); box-shadow: var(--shadow-low); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.cartao-corpo { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.cartao-corpo p { color: var(--c-text-2); }
.cartao-corpo p strong { color: var(--c-text); }
.cartao > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grade-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grade-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grade-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

/* ---------- texto + foto lado a lado ---------- */
.lado { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lado.foto-esq > .foto { order: -1; }
.foto img { width: 100%; height: auto; border-radius: var(--radius-container); box-shadow: var(--shadow-med); }
.foto.retrato img { max-height: 560px; width: auto; margin-inline: auto; }
.citacao { font-size: 1.35rem; font-style: italic; font-weight: 500; color: var(--c-text); }

/* ---------- método: 5 passos ---------- */
.passo { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-container); padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-low); border-top: 6px solid var(--cor); min-width: 0; }
.passo b { font-size: 2rem; font-weight: 700; line-height: 1; color: var(--cor); }
.passo h3 { font-size: 1.15rem; }
.passo p { font-size: 0.95rem; color: var(--c-text-2); }
.cor-1 { --cor: #e94b67; } .cor-2 { --cor: #f08c2e; } .cor-3 { --cor: #e0a800; } .cor-4 { --cor: #4fa83f; } .cor-5 { --cor: #1fa6cf; }

/* ---------- listas ---------- */
.lista { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; color: var(--c-text-2); }
.lista strong { color: var(--c-text); }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.numero { background: var(--c-muted); border-radius: var(--radius-container); padding: 22px; }
.numero b { display: block; font-size: 2.2rem; font-weight: 700; line-height: 1.1; color: var(--c-accent); }
.numero span { color: var(--c-text-2); font-size: var(--t-small); }

/* ---------- faixa escura com foto (Grupos de acompanhamento, ODS) ---------- */
.faixa-foto { position: relative; color: #fff; }
.faixa-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faixa-foto::before { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 16, 0.72); z-index: 1; }
.faixa-foto > .in { position: relative; z-index: 2; }
.faixa-foto h2, .faixa-foto h3 { color: #fff; }
.faixa-foto .texto, .faixa-foto .lista { color: rgba(255, 255, 255, 0.88); }
.faixa-foto .lista strong, .faixa-foto .texto strong { color: #fff; }

/* ---------- exemplo didático ---------- */
.exemplo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.exemplo div { border-radius: var(--radius-container); padding: 22px; border: 1px solid var(--c-border); }
.exemplo div:last-child { background: #fff1f2; border-color: #f7c6cb; }
.exemplo span { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-2); }
.exemplo b { display: block; font-size: 1.6rem; margin-top: 4px; }
.passos-num { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.passos-num li { counter-increment: n; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.passos-num li::before { content: counter(n); width: 40px; height: 40px; border-radius: var(--radius-element); background: var(--c-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.passos-num li p { color: var(--c-text-2); }

/* ---------- formulário (Field / FormLayout do Astryx) ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-weight: 600; font-size: 0.95rem; }
.campo input, .campo textarea { font: 400 1rem var(--font); color: var(--c-text); padding: 12px 14px; border-radius: var(--radius-element); border: 1px solid var(--c-border-strong); background: var(--c-surface); width: 100%; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(229, 82, 95, 0.2); }
.campo textarea { min-height: 140px; resize: vertical; }
.depoimento { display: flex; flex-direction: column; gap: 10px; }
.estrelas { color: #e0a800; letter-spacing: 2px; }

/* ---------- rodapé coral (como o site original) ---------- */
.rodape { max-width: 1240px; margin: var(--sheet-gap) auto 0; background: var(--c-accent); color: #fff; border-radius: var(--radius-page); }
.rodape-in { padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 48px; }
.rodape h3 { color: #fff; font-size: 1.4rem; }
.rodape p, .rodape a { color: rgba(255, 255, 255, 0.95); }
.rodape .rotulo { color: rgba(255, 255, 255, 0.8); }
.rodape .fim { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 18px; font-size: 0.88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- marcas do mockup (só na versão de aprovação) ---------- */
.mk { position: absolute; z-index: 20; top: 14px; left: 14px; width: 32px; height: 32px; border-radius: 50%; background: #ffd21f; color: #1d1d1d; font: 700 1rem var(--font); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0, 0, 0, 0.35); }
.rel { position: relative; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .menu { display: none; }
  .menu-botao { display: inline-flex; }
  .topo-in { position: relative; }
  .menu.aberto { display: flex; flex-direction: column; align-items: stretch; position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; left: 0; background: var(--c-surface); border-radius: var(--radius-container); box-shadow: var(--shadow-high); padding: 8px; }
  .menu.aberto a { padding: 12px 14px; }
  .in { padding-inline: 22px; }
  .secao { padding-block: 56px; }
  .lado { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lado.foto-esq > .foto { order: 0; }
  .grade-2, .grade-3, .exemplo { grid-template-columns: minmax(0, 1fr); }
  .grade-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grade-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numeros { grid-template-columns: minmax(0, 1fr); }
  .hero-quadro { min-height: 520px; }
  .hero-texto { padding: 28px 22px; }
  .hero-centro { padding-top: 44px; }
  .hero-centro-foto { padding-top: 32px; }
  .hero-centro-foto img { aspect-ratio: 4 / 3; }
  .rodape-in { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
}
@media (max-width: 520px) {
  :root { --sheet-gap: 8px; }
  .grade-4, .grade-5 { grid-template-columns: minmax(0, 1fr); }
  .topo-logo img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
