/* Rô Resolve · rascunho · Cloudflare Pages
   Sem JavaScript e sem pedidos a terceiros. Fontes Cinzel e Montserrat (OFL) alojadas no site.
   Cores medidas nas artes do Instagram (content/instagram-notes.md, secção 5). */

@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --verde: #475226;
  --verde-logo: #39421d;
  --verde-texto: #4a4f35;
  --dourado: #d4ac6c;
  --dourado-escuro: #7d5a1e;
  --bege: #f4ecdc;
  --bege-medio: #ecdcc4;
  --creme: #fcf9f2;
  --titulos: "Cinzel", "Trajan Pro", Georgia, serif;
  --texto: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--texto); color: var(--verde-texto); background: var(--creme); }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; }
.ouro { stroke: var(--dourado); }
h1, h2, h3 { font-family: var(--titulos); color: var(--verde); line-height: 1.2; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 500; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; border-radius: 4px; }

.contentor { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.salto { position: absolute; left: -999px; }
.salto:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; padding: .6rem 1rem; }

/* Marcas do rascunho */
.confirmar { display: inline-block; font: 600 .72rem/1.35 var(--texto); letter-spacing: .02em; color: #5a3d00; background: #ffe9a8; border: 1px dashed #b98a1e; border-radius: 4px; padding: .1rem .4rem; }
.aviso-rascunho { text-align: center; font-size: .8rem; padding: .5rem 1rem; background: var(--bege-medio); color: var(--verde); }
.marcador { margin: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; text-align: center; min-height: 230px; padding: 1.5rem; border: 1.5px dashed var(--dourado); border-radius: 14px; background: rgba(255, 255, 255, .5); color: var(--verde-logo); font-size: .9rem; }
.marcador svg { width: 40px; height: 40px; }

/* Cabeçalho */
.cabecalho { position: sticky; top: 0; z-index: 10; background: var(--creme); border-bottom: 1px solid var(--bege-medio); }
.cabecalho .contentor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--verde); }
.marca img { border-radius: 50%; border: 1px solid var(--dourado); background: #fff; }
.marca b { display: block; font: 600 1.05rem/1.1 var(--titulos); white-space: nowrap; }
.marca small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; font-weight: 500; }
nav a:not(.botao) { display: none; text-decoration: none; padding: .5rem 0; }
nav a:not(.botao):hover { color: var(--dourado-escuro); }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; min-height: 52px; padding: .7rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--verde); background: var(--verde); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.botao svg { width: 22px; height: 22px; stroke-width: 2; }
.botao:hover { background: var(--verde-logo); }
.botao.contorno { background: transparent; color: var(--verde); }
.botao.contorno:hover { background: var(--verde); color: #fff; }
.botao.inativo { cursor: not-allowed; }
.botao.inativo:hover { background: var(--verde); }
.botao.pequeno { min-height: 44px; padding: .4rem 1.2rem; font-size: .9rem; }
.acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.6rem; }

/* Início */
.hero { position: relative; overflow: hidden; text-align: center; padding: 2.4rem 0 0; background: linear-gradient(160deg, #fbf6ea 0%, var(--bege) 45%, var(--bege-medio) 100%); }
.hero::before { content: ""; position: absolute; inset: 14px 14px 40px; border: 1px solid rgba(212, 172, 108, .55); pointer-events: none; }
.hero .contentor { position: relative; }
.folhas { position: absolute; width: clamp(150px, 26vw, 300px); height: clamp(150px, 26vw, 300px); color: var(--verde-logo); stroke: none; opacity: .16; }
.f1 { top: -10px; right: -20px; }
.f2 { bottom: 90px; left: -30px; transform: rotate(180deg); opacity: .1; }
.emblema { width: clamp(124px, 12vw, 150px); height: auto; aspect-ratio: 1; margin: 0 auto 1.1rem; border-radius: 50%; border: 2px solid var(--dourado); background: #fff; box-shadow: 0 10px 30px rgba(71, 82, 38, .18); }
.sobretitulo { font-size: .8rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--verde-logo); }
h1 { font-size: clamp(2.6rem, 11vw, 5rem); font-weight: 500; margin: .4rem 0 .6rem; }
.filete { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--dourado); }
.filete::before, .filete::after { content: ""; height: 1px; width: min(130px, 24vw); background: var(--dourado); }
.filete svg { width: 22px; height: 22px; }
.chamada { max-width: 30ch; margin: 1.2rem auto 0; font: 500 clamp(1.2rem, 4.2vw, 1.6rem)/1.4 var(--texto); color: var(--verde); text-wrap: balance; }
.apoio { max-width: 46ch; margin: .9rem auto 0; text-wrap: balance; }
.pilares { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 560px; margin: 2.8rem auto 1.5rem; }
.pilares li { display: grid; justify-items: center; gap: .6rem; padding: 0 .3rem; font: 500 clamp(.64rem, 2.7vw, .85rem)/1.3 var(--texto); letter-spacing: .06em; text-transform: uppercase; color: var(--verde); }
.pilares li + li { border-left: 1px solid var(--dourado); }
.pilares svg { width: 40px; height: 40px; }
.onda { position: relative; width: 100%; height: clamp(60px, 9vw, 120px); margin-bottom: -1px; }

.faixa-verde { background: var(--verde); color: var(--bege); text-align: center; padding: .5rem 0 0; }
.faixa-verde p:first-child { letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }
.assinatura { font: 500 1.8rem/1.4 var(--titulos); color: var(--dourado); }

/* Secções */
.seccao { padding: clamp(3.5rem, 9vw, 5.5rem) 0; }
.seccao.bege { background: var(--bege); }
.seccao.verde { background: var(--verde); color: var(--bege); }
.seccao.verde h2 { color: var(--dourado); }
.seccao.verde .cartoes li { background: rgba(255, 255, 255, .05); border-color: rgba(212, 172, 108, .45); border-top-color: var(--dourado); }
.seccao.verde .cartoes h3, .seccao.verde .cartoes svg { color: #fff; }
.seccao.verde .cartoes .lista { color: var(--bege-medio); }
.seccao > .contentor > h2, .intro { text-align: center; }
.intro { max-width: 60ch; margin: .9rem auto 0; text-wrap: balance; }
.nota { max-width: 70ch; margin: 2rem auto 0; font-size: .88rem; text-align: center; }

.cartoes { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.cartoes li { background: #fff; border: 1px solid var(--bege-medio); border-top: 3px solid var(--dourado); border-radius: 14px; padding: 1.6rem; }
.cartoes svg { width: 40px; height: 40px; color: var(--verde); margin-bottom: .9rem; }
.cartoes h3 { margin-bottom: .5rem; }
.cartoes .lista { margin-top: .7rem; font-size: .88rem; font-weight: 500; color: var(--verde); }

.duas { display: grid; gap: 2rem; align-items: center; }
.duas h2 { margin: .5rem 0 1rem; }
.retrato { min-height: 320px; border-radius: 200px 200px 14px 14px; }
.destaque { margin-top: 1.2rem; padding-left: 1rem; border-left: 3px solid var(--dourado); font-weight: 600; color: var(--verde); }

.passos { counter-reset: passo; display: grid; gap: 1.6rem; margin-top: 2.5rem; }
.passos li { counter-increment: passo; text-align: center; }
.passos li::before { content: counter(passo); display: grid; place-content: center; width: 54px; height: 54px; margin: 0 auto .9rem; border: 1.5px solid var(--dourado); border-radius: 50%; font: 600 1.3rem/1 var(--titulos); color: var(--verde); background: var(--bege); }
.passos p { max-width: 34ch; margin: .4rem auto 0; }

.galeria { display: grid; gap: 1.1rem; margin-top: 2.5rem; }

.testemunhos { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.testemunhos li { border: 1px solid rgba(212, 172, 108, .5); border-radius: 14px; padding: 1.6rem; }
blockquote { margin: 0; font-size: 1.05rem; }
blockquote::before { content: "“"; display: block; height: 1.6rem; font: 600 3rem/1 var(--titulos); color: var(--dourado); }
.fonte { margin-top: 1.8rem; text-align: center; font-size: .85rem; }

.dados { display: grid; gap: 1.1rem; margin-top: 3rem; }
.dados > div { background: #fff; border: 1px solid var(--bege-medio); border-radius: 14px; padding: 1.6rem; }
.dados svg { width: 34px; height: 34px; color: var(--verde); margin-bottom: .7rem; }
.dados h3 { margin-bottom: .6rem; }
dl { margin: 0 0 .8rem; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--bege-medio); }
dd { margin: 0; font-weight: 600; color: var(--verde); white-space: nowrap; }

.rodape { background: var(--verde); color: var(--bege); text-align: center; padding: 2.8rem 0; font-size: .92rem; }
.rodape img { margin: 0 auto .6rem; border-radius: 50%; background: #fff; border: 1px solid var(--dourado); }
.rodape a { display: inline-block; padding: .6rem .3rem; }

@media (min-width: 640px) {
  .cartoes, .dados { grid-template-columns: 1fr 1fr; }
  .galeria, .testemunhos, .passos { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 820px) {
  nav a:not(.botao) { display: inline-block; }
  .duas { grid-template-columns: 340px 1fr; gap: 3.5rem; }
}
@media (min-width: 960px) {
  .cartoes { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao { transition: none; }
}

/* O logótipo inteiro dentro do círculo, sem cortar as pontas do «R». */
.marca img, .emblema, .rodape img { background: #fdfdfd; }
.marca img { padding: 4px; }
.emblema { padding: 12px; }
.rodape img { padding: 6px; }

@media (max-width: 379px) {
  .marca { gap: .5rem; }
  .marca img { width: 42px; height: 42px; }
  .marca b { font-size: .95rem; }
  .marca small { font-size: .56rem; letter-spacing: .06em; }
  .botao.pequeno { padding-inline: 1rem; }
}
