/* CMB Cannabis Medicinal Brasil
   Cores tiradas do logo oficial: petróleo #016c7e e ciano do anel #19cee9. */
:root {
  --petroleo: #016c7e;
  --petroleo-escuro: #014f5c;
  --profundo: #06323a;
  --ciano: #19cee9;
  --ciano-suave: #c9f1f8;
  --nevoa: #f1f7f7;
  --linha: #d3e4e6;
  --tinta: #10292e;
  --tinta-suave: #47626a;
  --branco: #fff;
  --erro: #b42318;
  --ok: #0b7a4b;

  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --larg: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --raio: 14px;
  --raio-g: 28px;
  --sombra: 0 1px 2px rgb(6 50 58 / .06), 0 12px 32px -12px rgb(6 50 58 / .18);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--nevoa); color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: 'ss01';
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--petroleo); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--petroleo-escuro); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--profundo); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.pular:focus { top: 1rem; }

.in { width: min(100% - 2 * var(--gutter), var(--larg)); margin-inline: auto; }
.estreito { max-width: 44rem; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primario { background: var(--petroleo); color: #fff; }
.btn--primario:hover { background: var(--petroleo-escuro); color: #fff; }
.btn--grande { min-height: 3.75rem; padding: 1rem 2rem; font-size: 1.125rem; }
.btn--contorno { border-color: currentColor; color: var(--petroleo); background: transparent; }
.btn--contorno:hover { background: var(--petroleo); border-color: var(--petroleo); color: #fff; }
.btn--claro { background: var(--ciano); color: var(--profundo); }
.btn--claro:hover { background: #fff; color: var(--profundo); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* Cabeçalho */
.cabecalho { position: sticky; top: 0; z-index: 50; background: rgb(241 247 247 / .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cabecalho.rolou { border-bottom-color: var(--linha); }
.cabecalho__in { width: min(100% - 2 * var(--gutter), var(--larg)); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.marca { flex: none; }
.marca__logo { width: 3.6rem; height: auto; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--tinta); text-decoration: none; font-weight: 500; font-size: .975rem; }
.menu a:hover { background: var(--branco); color: var(--petroleo); }
.menu a[aria-current] { color: var(--petroleo); background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha); }
.btn--menu { min-height: 2.75rem; padding: .6rem 1.15rem; font-size: .95rem; }
.menu-botao { display: none; }

@media (max-width: 68rem) {
  .menu a { padding: .5rem .55rem; font-size: .925rem; }
}
@media (max-width: 60rem) {
  .cabecalho__in { min-height: 4rem; }
  .marca__logo { width: 3rem; }
  .btn--menu { margin-left: auto; }
  .menu-botao { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: var(--branco); color: var(--tinta); cursor: pointer; box-shadow: inset 0 0 0 1px var(--linha); }
  .menu-botao__linhas, .menu-botao__linhas::before, .menu-botao__linhas::after { display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
  .menu-botao__linhas { position: relative; }
  .menu-botao__linhas::before, .menu-botao__linhas::after { content: ''; position: absolute; left: 0; }
  .menu-botao__linhas::before { top: -6px; } .menu-botao__linhas::after { top: 6px; }
  .menu-botao[aria-expanded=true] .menu-botao__linhas { background: transparent; }
  .menu-botao[aria-expanded=true] .menu-botao__linhas::before { transform: translateY(6px) rotate(45deg); }
  .menu-botao[aria-expanded=true] .menu-botao__linhas::after { transform: translateY(-6px) rotate(-45deg); }
  .menu { position: fixed; inset: 4rem 0 auto 0; margin: 0; background: var(--nevoa); border-bottom: 1px solid var(--linha); padding: .5rem var(--gutter) 1.25rem; display: none; }
  .menu.aberto { display: block; }
  .menu ul { flex-direction: column; }
  .menu a { font-size: 1.15rem; padding: .85rem .5rem; border-radius: 10px; }
}
@media (max-width: 26rem) { .btn--menu { padding: .55rem .9rem; font-size: .875rem; } .marca__logo { width: 2.6rem; } .cabecalho__in { gap: .6rem; } }

/* Hero */
.hero { position: relative; overflow: clip; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 6rem); }
.hero__grade { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.01; letter-spacing: -.035em; font-weight: 800; color: var(--profundo); margin-bottom: .4em; max-width: 13ch; }
.hero__texto { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--tinta-suave); max-width: 36rem; }
.hero__texto strong { color: var(--tinta); font-weight: 600; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__nota { margin-top: 1.25rem; font-size: .95rem; color: var(--tinta-suave); }
.infinito { position: relative; aspect-ratio: 1; width: 100%; max-width: 32rem; justify-self: center; }
.infinito svg { width: 100%; height: 100%; overflow: visible; }
.infinito__anel { fill: none; stroke: var(--ciano); stroke-width: 7; stroke-linecap: round; }
.infinito__laco { fill: none; stroke: var(--petroleo); stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .infinito__laco { stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenha 2.6s cubic-bezier(.65, 0, .35, 1) .25s forwards; }

  .infinito__anel { stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenha 1.6s cubic-bezier(.33, 1, .68, 1) 1.9s forwards; }
}
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes aparece { to { opacity: 1; } }
@media (max-width: 52rem) {
  .hero__grade { grid-template-columns: 1fr; }
  .infinito { order: -1; max-width: 8.5rem; justify-self: start; margin-bottom: -1rem; }
  .hero { padding-top: 1.5rem; }
  .hero__acoes { margin-top: 1.5rem; }
  .hero h1 { max-width: 14ch; }
}

/* Fotos */
.faixa-foto { position: relative; margin-bottom: clamp(3rem, 6vw, 5rem); }
.faixa-foto img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; border-radius: var(--raio-g); }
.faixa-foto__legenda { position: absolute; left: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); margin: 0; max-width: 24ch; padding: .9rem 1.2rem; border-radius: 16px; background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); font: italic 400 clamp(1.05rem, 1.8vw, 1.4rem)/1.3 var(--serif); color: var(--profundo); }
@media (max-width: 40rem) {
  .faixa-foto img { aspect-ratio: 4 / 3; }
  .faixa-foto__legenda { position: static; margin-top: .9rem; padding: 0; background: none; max-width: none; }
}
.topo-foto { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.topo-foto__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio-g); }
.pg-cannabis-medicinal .topo-foto__img { aspect-ratio: 1; }
.pg-apoie .topo-foto__img { aspect-ratio: 4 / 5; max-height: 34rem; }
@media (max-width: 52rem) {
  .topo-foto { grid-template-columns: 1fr; }
  .topo-foto__img, .pg-cannabis-medicinal .topo-foto__img, .pg-apoie .topo-foto__img { aspect-ratio: 16 / 10; }
}
.figura { margin: 2.2em 0; }
.figura img { width: 100%; height: auto; border-radius: var(--raio-g); }
.figura figcaption { font: 400 .95rem/1.5 var(--sans); color: var(--tinta-suave); margin-top: .75rem; }
.lado__foto { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio-g); margin-bottom: 1rem; }

/* Seções */
.secao { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.secao--branca { background: var(--branco); }
.secao--escura { background: var(--profundo); color: #dcecee; }
.secao--escura h2, .secao--escura h3 { color: #fff; }
.secao--escura a:not(.btn) { color: var(--ciano); }
.titulo { font-size: clamp(2rem, 3.8vw, 3.25rem); color: var(--profundo); max-width: 20ch; }
.secao--escura .titulo { color: #fff; }
.intro { font-size: 1.2rem; color: var(--tinta-suave); max-width: 40rem; }
.secao--escura .intro { color: #b7d3d7; }
.cabeca { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* Dois caminhos (A/B) */
.caminhos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.caminho {
  --p: clamp(1.75rem, 3.5vw, 2.75rem);
  position: relative; display: flex; flex-direction: column; gap: 1rem; padding: var(--p); overflow: hidden;
  border-radius: var(--raio-g); text-decoration: none; color: var(--tinta); background: var(--nevoa);
  border: 1px solid var(--linha); transition: border-color .2s, background-color .2s;
}
.caminho:hover { border-color: var(--petroleo); background: #fff; color: var(--tinta); }
.caminho--b { background: var(--petroleo); color: #e6f6f8; border-color: var(--petroleo); }
.caminho--b:hover { background: var(--petroleo-escuro); color: #fff; border-color: var(--petroleo-escuro); }
.caminho__foto { width: calc(100% + 2 * var(--p)); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; margin: calc(-1 * var(--p)) calc(-1 * var(--p)) .5rem; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.caminho:hover .caminho__foto { transform: scale(1.03); }
.caminho h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0; color: inherit; }
.caminho--a h3 { color: var(--profundo); }
.caminho p { margin: 0; font-size: 1.05rem; opacity: .92; }
.caminho__acao { margin-top: auto; padding-top: .75rem; font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.caminho__acao svg { width: 1.2rem; transition: transform .2s; }
.caminho:hover .caminho__acao svg { transform: translateX(4px); }
@media (max-width: 46rem) { .caminhos { grid-template-columns: 1fr; } }

/* História em destaque */
.citacao { font: 400 clamp(1.6rem, 3.4vw, 2.7rem)/1.25 var(--serif); letter-spacing: -.01em; color: #fff; max-width: 30ch; margin: 0 0 2rem; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 52rem) { .duas { grid-template-columns: 1fr; } }

/* Lista de frentes de atuação */
.frentes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; padding: 0; margin: 0; }
.frentes li { border-top: 2px solid var(--petroleo); padding-top: 1.25rem; }
.frentes svg { width: 2.4rem; height: 2.4rem; color: var(--petroleo); margin-bottom: 1rem; }
.frentes h3 { font-size: 1.35rem; color: var(--profundo); }
.frentes p { color: var(--tinta-suave); margin: 0; }
.frentes--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 52rem) { .frentes, .frentes--2 { grid-template-columns: 1fr; } }

/* Passos (sequência real do processo de associação) */
.passos { counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.passos li { counter-increment: p; position: relative; padding: 4.25rem 0 0; }
.passos li::before { content: counter(p); position: absolute; top: 0; left: 0; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--branco); color: var(--petroleo); font-weight: 800; font-size: 1.15rem; box-shadow: inset 0 0 0 2px var(--petroleo); }
.passos li:not(:last-child)::after { content: ''; position: absolute; top: 1.45rem; left: 3.6rem; right: .5rem; height: 2px; background: repeating-linear-gradient(90deg, var(--linha) 0 8px, transparent 8px 14px); }
.passos h3 { font-size: 1.15rem; color: var(--profundo); margin-bottom: .35em; }
.passos p { color: var(--tinta-suave); font-size: 1rem; margin: 0; }
@media (max-width: 60rem) {
  .passos { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .passos li:nth-child(2)::after { display: none; }
}
@media (max-width: 34rem) {
  .passos { grid-template-columns: 1fr; }
  .passos li { padding: 0 0 0 4rem; min-height: 3rem; }
  .passos li::after { display: none; }
}

/* Perguntas frequentes */
.faq { border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; font-weight: 600; font-size: 1.15rem; color: var(--profundo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; margin-top: .05rem; background: var(--nevoa) center/0.8rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23016c7e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 3rem 1.5rem 0; color: var(--tinta-suave); }
.faq details > div p:last-child { margin: 0; }

/* Chamada final */
.chamada { position: relative; overflow: hidden; border-radius: var(--raio-g); background: var(--petroleo); color: #e6f6f8; padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.chamada h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 18ch; margin-bottom: .35em; }
.chamada p { max-width: 36rem; margin: 0; font-size: 1.1rem; }
.chamada__fundo { position: absolute; right: -6rem; top: -5rem; width: 26rem; opacity: .14; pointer-events: none; }
.chamada > :not(.chamada__fundo) { position: relative; }
@media (max-width: 46rem) { .chamada { grid-template-columns: 1fr; } }

/* Páginas internas */
.pagina-topo { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.pagina-topo h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; color: var(--profundo); max-width: 18ch; }
.pagina-topo p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--tinta-suave); max-width: 40rem; }
.migalha { font-size: .9rem; margin-bottom: 1.25rem; color: var(--tinta-suave); }
.migalha a { color: inherit; }

.texto { font: 400 1.25rem/1.65 var(--serif); color: #1d3a40; max-width: 40rem; }
.texto h2 { font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.15 var(--sans); letter-spacing: -.02em; color: var(--profundo); margin: 2.2em 0 .6em; }
.texto h3 { font: 700 1.3rem/1.2 var(--sans); color: var(--profundo); margin: 1.8em 0 .5em; }
.texto ul, .texto ol { padding-left: 1.2em; }
.texto li { margin-bottom: .45em; }
.texto li::marker { color: var(--petroleo); }
.texto .abre::first-letter { float: left; font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--petroleo); font-weight: 600; }
.destaque { font: italic 400 clamp(1.5rem, 2.6vw, 2rem)/1.3 var(--serif); color: var(--petroleo); border-left: 3px solid var(--ciano); padding: .2em 0 .2em 1.1em; margin: 1.8em 0; }
.texto--sans { font: 400 1.0625rem/1.65 var(--sans); }

.lado { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lado__fixo { position: sticky; top: 6.5rem; }
@media (max-width: 60rem) { .lado { grid-template-columns: 1fr; } .lado__fixo { position: static; } }

.quadro { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-g); padding: 1.75rem; }
.quadro h2, .quadro h3 { font-size: 1.25rem; color: var(--profundo); }
.quadro p { color: var(--tinta-suave); font-size: 1rem; }
.quadro--petroleo { background: var(--petroleo); border-color: var(--petroleo); color: #e6f6f8; }
.quadro--petroleo h2, .quadro--petroleo h3 { color: #fff; }
.quadro--petroleo p { color: #d4eef2; }

/* Linha do tempo (datas reais) */
.tempo { list-style: none; margin: 0; padding: 0; position: relative; }
.tempo::before { content: ''; position: absolute; left: 5.4rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--linha); }
.tempo li { display: grid; grid-template-columns: 4.4rem 1fr; gap: 2rem; padding: 0 0 2.25rem; position: relative; }
.tempo li::before { content: ''; position: absolute; left: 4.95rem; top: .45rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--nevoa); border: 3px solid var(--petroleo); }
.tempo time { font-weight: 800; color: var(--petroleo); font-size: 1.15rem; }
.tempo h3 { font-size: 1.2rem; color: var(--profundo); margin-bottom: .3em; }
.tempo p { color: var(--tinta-suave); margin: 0; }
.secao--branca .tempo li::before { background: var(--branco); }

/* Valores */
.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
.valores li { padding: 1.75rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.valores h3 { font-size: 1.2rem; color: var(--profundo); margin-bottom: .35em; }
.valores p { color: var(--tinta-suave); margin: 0; font-size: 1rem; }
.secao--escura .valores, .secao--escura .valores li { border-color: rgb(255 255 255 / .14); }
.secao--escura .valores p { color: #b7d3d7; }

/* Notícias */
.noticias { display: grid; gap: 0; border-top: 1px solid var(--linha); }
.noticia { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--linha); }
.noticia time { color: var(--petroleo); font-weight: 700; }
.noticia h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: var(--profundo); }
.noticia p { color: var(--tinta-suave); max-width: 44rem; }
.etiqueta { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--petroleo); background: var(--ciano-suave); padding: .2rem .65rem; border-radius: 999px; margin-bottom: .75rem; }
@media (max-width: 40rem) { .noticia { grid-template-columns: 1fr; gap: .5rem; } }

/* Aviso */
.aviso { display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--raio); background: var(--ciano-suave); color: var(--profundo); font-size: .98rem; }
.aviso svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--petroleo); margin-top: .1rem; }
.aviso p { margin: 0; }
.aviso--erro { background: #fde8e6; color: #7a1a12; }
.aviso--erro svg { color: var(--erro); }

/* Rodapé */
.rodape { background: var(--profundo); color: #b7d3d7; padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; margin-top: 0; }
.rodape__in { width: min(100% - 2 * var(--gutter), var(--larg)); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.rodape__logo { width: 5.5rem; margin-bottom: 1.25rem; }
.rodape__logo path[fill="#016c7e"] { fill: #fff; }
.rodape__marca p { font: italic 400 1.3rem/1.35 var(--serif); color: #e6f6f8; max-width: 22rem; margin-bottom: 1.5rem; }
.rodape h2 { font-size: 1rem; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.rodape ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.rodape li { margin-bottom: .55rem; }
.rodape a:not(.btn) { color: #dcecee; text-decoration: none; }
.rodape a:not(.btn):hover { color: var(--ciano); text-decoration: underline; }
.rodape address { font-style: normal; line-height: 1.6; }
.rodape__base { width: min(100% - 2 * var(--gutter), var(--larg)); margin: 3.5rem auto 0; padding: 1.5rem 0 2rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.rodape__base p { margin: 0; }
@media (max-width: 52rem) { .rodape__in { grid-template-columns: 1fr; gap: 2rem; } }

/* Barra fixa de associação no celular */
.barra-associar { display: none; }
@media (max-width: 52rem) {
  .barra-associar { display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: rgb(241 247 247 / .94); backdrop-filter: blur(10px); border-top: 1px solid var(--linha); transform: translateY(110%); transition: transform .3s; }
  .barra-associar.visivel { transform: none; }
  .barra-associar .btn { width: 100%; }
  body:has(.barra-associar) .rodape__base { padding-bottom: 6rem; }
}

/* ====== Formulário de associação ====== */
.form-topo { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.form-topo h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; font-weight: 800; color: var(--profundo); margin-bottom: .3em; }
.form-topo p { color: var(--tinta-suave); font-size: 1.15rem; max-width: 38rem; }
.form-grade { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 5rem; }
@media (max-width: 60rem) { .form-grade { grid-template-columns: 1fr; } .form-grade aside { order: 2; } }

.progresso { display: flex; gap: .4rem; list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: e; }
.progresso li { flex: 1; counter-increment: e; font-size: .85rem; font-weight: 600; color: var(--tinta-suave); }
.progresso li::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--linha); margin-bottom: .55rem; transition: background-color .3s; }
.progresso li.feito::before, .progresso li[aria-current]::before { background: var(--petroleo); }
.progresso li[aria-current] { color: var(--profundo); }
@media (max-width: 40rem) { .progresso li span { display: none; } .progresso li[aria-current] span { display: inline; } }

.cartao-form { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-g); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--sombra); }
.etapa { border: 0; padding: 0; margin: 0; min-width: 0; }
.etapa[hidden] { display: none; }
.etapa legend { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; color: var(--profundo); padding: 0; margin-bottom: .35rem; }
.etapa__dica { color: var(--tinta-suave); margin-bottom: 1.75rem; }

.campos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem 1rem; }
.campo { grid-column: span 6; display: flex; flex-direction: column; gap: .4rem; }
.campo--3 { grid-column: span 3; } .campo--2 { grid-column: span 2; } .campo--4 { grid-column: span 4; }
@media (max-width: 40rem) { .campo--3, .campo--2, .campo--4 { grid-column: span 6; } .campo--metade-m { grid-column: span 3; } }
.campo label, .campo .rotulo { font-weight: 600; font-size: .98rem; color: var(--tinta); }
.campo .opcional { font-weight: 400; color: var(--tinta-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 3.2rem; padding: .75rem .95rem; border: 1.5px solid #b9cfd2; border-radius: 12px;
  background: #fff; color: var(--tinta); font: 400 1.05rem/1.3 var(--sans); transition: border-color .15s, box-shadow .15s;
}
.campo input:hover, .campo select:hover { border-color: var(--petroleo); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--petroleo); box-shadow: 0 0 0 4px rgb(25 206 233 / .28); }
.campo [aria-invalid=true] { border-color: var(--erro); }
.campo .erro { color: var(--erro); font-size: .92rem; font-weight: 500; min-height: 0; }
.campo .erro:empty { display: none; }
.campo .ajuda { color: var(--tinta-suave); font-size: .9rem; }

.escolhas { display: grid; gap: .9rem; }
.escolha { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem; border: 1.5px solid #b9cfd2; border-radius: 16px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.escolha:hover { border-color: var(--petroleo); }
.escolha input { position: absolute; opacity: 0; }
.escolha__marca { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid #9db8bc; margin-top: .15rem; display: grid; place-items: center; transition: border-color .15s; }
.escolha__marca::after { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: var(--petroleo); transform: scale(0); transition: transform .15s; }
.escolha:has(input:checked) { border-color: var(--petroleo); background: #f0fafb; box-shadow: inset 0 0 0 1px var(--petroleo); }
.escolha:has(input:checked) .escolha__marca { border-color: var(--petroleo); }
.escolha:has(input:checked) .escolha__marca::after { transform: scale(1); }
.escolha:has(input:focus-visible) { outline: 3px solid var(--ciano); outline-offset: 2px; }
.escolha strong { display: block; font-size: 1.1rem; color: var(--profundo); margin-bottom: .2rem; }
.escolha span { color: var(--tinta-suave); font-size: .98rem; }
.escolhas--linha { grid-template-columns: 1fr 1fr; }
.escolhas--linha .escolha { padding: .9rem 1.1rem; align-items: center; }

.marcar { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--linha); cursor: pointer; font-size: 1rem; }
.marcar input { flex: none; width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; accent-color: var(--petroleo); }

.envio { display: grid; gap: .9rem; }
.anexo { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1.5px dashed #9db8bc; border-radius: 16px; background: var(--nevoa); }
.anexo.tem { border-style: solid; border-color: var(--petroleo); background: #f0fafb; }
.anexo__icone { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--petroleo); box-shadow: inset 0 0 0 1px var(--linha); }
.anexo__icone svg { width: 1.3rem; }
.anexo strong { display: block; color: var(--profundo); }
.anexo small { color: var(--tinta-suave); font-size: .9rem; display: block; overflow-wrap: anywhere; }
.anexo input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.anexo label.btn { min-height: 2.6rem; padding: .5rem 1rem; font-size: .95rem; }
.anexo:has(input:focus-visible) label.btn { outline: 3px solid var(--ciano); outline-offset: 2px; }
@media (max-width: 34rem) { .anexo { grid-template-columns: auto 1fr; } .anexo label.btn { grid-column: 1 / -1; } }

.bloco-saude { margin-top: 1.75rem; padding: 1.5rem; border-radius: 18px; background: var(--nevoa); border: 1px solid var(--linha); }
.bloco-saude h3 { font-size: 1.15rem; color: var(--profundo); }

.revisao { display: grid; grid-template-columns: 11rem 1fr; gap: .55rem 1.25rem; margin: 0 0 1.5rem; font-size: 1rem; }
.revisao dt { color: var(--tinta-suave); }
.revisao dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 34rem) { .revisao { grid-template-columns: 1fr; gap: 0; } .revisao dd { margin-bottom: .6rem; } }

.assinatura { position: relative; border: 1.5px solid #b9cfd2; border-radius: 14px; background: #fff; touch-action: none; }
.assinatura canvas { display: block; width: 100%; height: 11rem; cursor: crosshair; }
.assinatura__linha { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 2.4rem; border-bottom: 1px dashed #9db8bc; pointer-events: none; }
.assinatura__limpar { position: absolute; top: .5rem; right: .5rem; border: 0; background: var(--nevoa); color: var(--petroleo); border-radius: 999px; padding: .35rem .8rem; font: 600 .85rem var(--sans); cursor: pointer; }

.navegacao { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); }
.navegacao .btn--primario { margin-left: auto; }
.mel { position: absolute; left: -9999px; }

.lateral { display: grid; gap: 1rem; position: sticky; top: 6.5rem; }
.lateral .quadro { padding: 1.5rem; }
.lateral ul { padding-left: 1.1em; margin: 0; color: var(--tinta-suave); font-size: .98rem; }
.lateral li { margin-bottom: .4rem; }
.cadeado { display: flex; gap: .75rem; align-items: flex-start; }
.cadeado svg { flex: none; width: 1.5rem; color: var(--petroleo); }

.sucesso { text-align: left; }
.sucesso__selo { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--ciano-suave); color: var(--petroleo); display: grid; place-items: center; margin-bottom: 1.5rem; }
.sucesso__selo svg { width: 2.2rem; }
.protocolo { display: inline-block; font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; color: var(--petroleo); background: var(--nevoa); border-radius: 12px; padding: .5rem 1rem; margin: .25rem 0 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .cabecalho, .rodape, .barra-associar { display: none !important; }
}
