/* ==========================================================================
   MedSênior (medseniorconveniorj.com.br) - folha de estilo do site público
   Sem framework: o HTML é só semântico e este arquivo o estiliza pela
   estrutura (landmarks, seções com id, listas). Cores e medidas copiadas do
   tema anterior (sites-engine, tema "classico", operadora MedSênior).
   ========================================================================== */

/* ---------- Fontes (Poppins, só a faixa latina) ---------- */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-400.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: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500.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: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.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: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700.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: "Poppins Fallback"; src: local(Arial); ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; size-adjust: 112.16%; }

/* ---------- Cores e medidas ---------- */
:root {
  --verde: #00733d;
  --verde-escuro: #004522;
  --lima: #96ca4b;
  --lima-claro: #cce8a3;
  --verde-unidades: #1a5c2a;
  --amarelo: #c8d400;
  --fundo: #fff;
  --superficie: #f5f5f5;
  --texto: #171717;
  --texto-medio: #404040;
  --texto-suave: #525252;
  --texto-claro: #737373;
  --borda: #e5e5e5;
  --raio: .375rem;
  --raio-card: .75rem;
  --raio-foto: 1rem;
  --margem: 1.5rem;
  --largura: 72rem;
  --sombra-foto: 0 8px 24px -12px rgb(15 23 42 / .25);
  --transicao: .2s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
*, ::before, ::after, ::backdrop { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html {
  line-height: 1.5;
  font-family: Poppins, "Poppins Fallback", sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body { display: flex; flex-direction: column; min-height: 100vh; background: var(--fundo); color: var(--texto); }
main { flex: 1; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
picture { display: contents; }
source { display: none; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; border-radius: 0; }
small { font-size: 80%; }
[hidden] { display: none !important; }

/* Conteúdo centralizado sem div de "container": o respiro lateral da
   própria seção deixa o conteúdo em --largura, e o fundo vai de ponta a ponta. */
body > header, main > section, body > footer > * {
  padding-inline: calc(max(0px, (100% - var(--largura)) / 2) + var(--margem));
}

/* Botões */
.botao, #topo a, #para-idosos a, #linhas > p > a, #unidades a, #estados > p > a, #conteudo > header > a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: var(--raio); padding: .875rem 1.75rem;
  font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  transition: opacity var(--transicao);
}
@media (hover: hover) {
  #topo a:hover, #para-idosos a:hover, #linhas > p > a:hover, #unidades a:hover, #estados > p > a:hover, #conteudo > header > a:hover { opacity: .9; }
}

/* ---------- Cabeçalho ---------- */
body > header {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1.5rem;
  min-height: 5.5rem; background: var(--fundo); box-shadow: 0 1px 0 rgb(0 0 0 / .04);
}
body > header > a:first-of-type { display: block; flex-shrink: 0; width: 8rem; height: 2.75rem; margin-block: 1.375rem; }
body > header > a:first-of-type img { width: 100%; height: 100%; object-fit: contain; object-position: left; }

#menu { display: none; }
#menu > ul { display: flex; align-items: center; gap: 1.75rem; }
#menu a { font-size: .875rem; font-weight: 500; color: var(--texto-claro); transition: color var(--transicao); }
@media (hover: hover) { #menu a:hover { color: var(--verde-escuro); } }

body > header > a[href="/cotacao"] {
  display: none; align-items: center; gap: .5rem; flex-shrink: 0;
  border-radius: 9999px; padding: .625rem 1.25rem; background: var(--verde-escuro); color: #fff;
  font-size: .875rem; font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .05); transition: opacity var(--transicao);
}
body > header > a[href="/cotacao"] svg { width: 1rem; height: 1rem; }
@media (hover: hover) { body > header > a[href="/cotacao"]:hover { opacity: .9; } }

body > header > button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--verde-escuro); cursor: pointer; }
body > header > button svg { width: 1.5rem; height: 1.5rem; }
body > header > button[aria-expanded="false"] svg + svg,
body > header > button[aria-expanded="true"] svg:first-child { display: none; }

#menu-movel {
  flex-basis: calc(100% + 2 * var(--margem)); display: flex; flex-direction: column; gap: .25rem;
  margin-inline: calc(-1 * var(--margem)); border-top: 1px solid var(--borda); padding: .75rem 1rem 1rem;
}
#menu-movel a { display: block; border-radius: var(--raio); padding: .75rem .5rem; font-weight: 500; color: var(--texto-medio); }
#menu-movel > a { margin-top: .5rem; text-align: center; border-radius: 9999px; background: var(--verde-escuro); color: #fff; font-weight: 600; }

@media (min-width: 48rem) {
  #menu { display: block; }
  body > header > a[href="/cotacao"] { display: inline-flex; }
  body > header > button, #menu-movel { display: none; }
}

/* ---------- Home: topo (foto oficial em tela cheia + degradê verde da esquerda) ---------- */
#topo { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 34rem; background: var(--verde-escuro); color: #fff; padding-top: 4rem; padding-bottom: 4rem; }
#topo > picture { display: block; position: absolute; inset: 0; }
#topo > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
#topo > picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 52 26 / .94) 0%, rgb(0 52 26 / .82) 45%, rgb(0 52 26 / .35) 100%); }
#topo > div { position: relative; max-width: 38rem; }
#topo .selo { display: inline-block; border: 1px solid rgb(255 255 255 / .45); border-radius: 999px; padding: .375rem .875rem; background: rgb(255 255 255 / .1); font-size: .8125rem; font-weight: 500; }
#topo h1 { margin-top: 1.25rem; font-size: 2.125rem; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
#topo h1 span { color: var(--lima); }
#topo h1 + p { margin-top: 1.25rem; max-width: 33rem; font-size: 1.0625rem; line-height: 1.65; color: rgb(255 255 255 / .9); }
#topo .botoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
#topo .botoes a { margin: 0; background: var(--lima); color: var(--verde-escuro); border: 2px solid var(--lima); }
#topo .botoes a + a { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
@media (hover: hover) { #topo .botoes a + a:hover { background: rgb(255 255 255 / .12); opacity: 1; } }
@media (min-width: 48rem) {
  #topo { min-height: 37.5rem; }
  #topo > picture img { object-position: right center; }
  #topo > picture::after { background: linear-gradient(90deg, rgb(0 52 26 / .95) 0%, rgb(0 52 26 / .8) 38%, rgb(0 52 26 / 0) 68%); }
  #topo h1 { font-size: 3.25rem; }
  #topo h1 + p { font-size: 1.1875rem; }
}

/* ---------- Home: para idosos (foto + texto, fundo pontilhado) ---------- */
#para-idosos {
  position: relative; display: grid; gap: 3rem; align-items: center;
  padding-top: 4rem; padding-bottom: 4rem; overflow: hidden;
}
#para-idosos::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 66%; pointer-events: none; opacity: .4;
  background-image: radial-gradient(var(--lima) 1.5px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 100%);
  mask-image: linear-gradient(to top, #000 45%, transparent 100%);
}
#para-idosos > * { position: relative; }
#para-idosos > figure { width: 100%; max-width: 28rem; margin-inline: auto; }
#para-idosos > figure img { width: 100%; aspect-ratio: 1600 / 1319; object-fit: cover; border-radius: var(--raio-foto); box-shadow: var(--sombra-foto); }
#para-idosos > figure > span {
  position: absolute; left: -1.5rem; bottom: -1.5rem; display: grid; place-items: center;
  width: 5rem; height: 5rem; border-radius: 9999px; background: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1);
}
#para-idosos > figure > span svg { width: 2.75rem; height: 2.75rem; color: var(--verde-escuro); fill: var(--verde); stroke: var(--lima); }
#para-idosos h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; color: var(--texto); }
#para-idosos h2 + p { margin-top: 1rem; line-height: 1.625; color: var(--texto-medio); }
#para-idosos a { margin-top: 1.75rem; background: var(--verde); color: #fff; }
@media (min-width: 48rem) {
  #para-idosos { grid-template-columns: 1fr 1fr; padding-top: 5rem; padding-bottom: 5rem; }
  #para-idosos > figure { margin-inline: 0; }
  #para-idosos > figure > span { width: 6rem; height: 6rem; }
  #para-idosos h2 { font-size: 1.875rem; }
}

/* ---------- Home: modalidades (texto + sanfona, foto) ---------- */
#planos { display: grid; gap: 3.5rem; align-items: center; padding-top: 6rem; padding-bottom: 6rem; }
#planos h2, #linhas h2, #estados h2, #conteudo h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 800; color: var(--verde-escuro); }
#planos h2 ~ p { margin-top: 1rem; line-height: 1.625; color: var(--texto-suave); }
#planos h2 + p { margin-top: 1.5rem; }
#planos details { margin-top: .75rem; }
#planos h2 ~ p + details { margin-top: 2rem; }
#planos summary {
  display: flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none;
  border-radius: var(--raio); padding: .875rem 1.25rem; background: var(--lima); color: var(--verde-escuro);
  font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em;
}
#planos summary::-webkit-details-marker { display: none; }
#planos summary::before { content: "+"; font-size: 1rem; line-height: 1; }
#planos details[open] summary::before { content: "−"; }
#planos details p { margin: .75rem .25rem .25rem; font-size: .875rem; line-height: 1.625; color: var(--texto-suave); }
#planos details a { font-weight: 600; color: var(--verde-escuro); }
@media (hover: hover) { #planos details a:hover { text-decoration: underline; } }
#planos > figure img { width: 100%; aspect-ratio: 1600 / 1127; object-fit: cover; border-radius: var(--raio-foto); box-shadow: var(--sombra-foto); }
@media (min-width: 48rem) {
  #planos { grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 7rem; padding-bottom: 7rem; }
  #planos h2, #linhas h2, #estados h2, #conteudo h2 { font-size: 1.875rem; }
}

/* ---------- Home: linhas de plano (cartões 2x2 + faixa de diferenciais) ---------- */
#linhas { padding-top: 6rem; padding-bottom: 6rem; }
#linhas > header { max-width: 42rem; margin-bottom: 3.5rem; }
#linhas > header p, #estados > header p { margin-top: 1rem; line-height: 1.625; color: var(--texto-suave); }
#linhas > ul:first-of-type { display: grid; gap: 1.5rem; }
#linhas > ul:first-of-type a, #estados li a {
  position: relative; display: block; height: 100%; overflow: hidden;
  border: 1px solid var(--borda); border-radius: var(--raio-card); background: #fff; padding: 1.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05); transition: background-color var(--transicao), box-shadow var(--transicao);
}
#linhas > ul:first-of-type svg { width: 1.75rem; height: 1.75rem; margin-bottom: 1rem; color: var(--lima); }
#linhas h3 { font-weight: 700; color: var(--verde-escuro); transition: color var(--transicao); }
#linhas h3 + p { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--texto-suave); transition: color var(--transicao); }
@media (hover: hover) {
  #linhas > ul:first-of-type a:hover, #estados li a:hover { background: var(--verde-escuro); box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1); }
  #linhas > ul:first-of-type a:hover h3, #estados li a:hover strong { color: #fff; }
  #linhas > ul:first-of-type a:hover p, #estados li a:hover span { color: rgb(255 255 255 / .85); }
}
#linhas > ul + ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem;
  margin-top: 3.5rem; border-radius: var(--raio-foto); padding: 2rem; background: var(--verde-escuro); color: #fff;
}
#linhas > ul + ul li { display: flex; align-items: center; gap: .625rem; font-size: .875rem; font-weight: 600; }
#linhas > ul + ul svg { width: 1.25rem; height: 1.25rem; color: var(--lima); }
#linhas > p { margin-top: 3rem; text-align: center; }
#linhas > p > a { background: var(--lima); color: var(--verde-escuro); border: 2px solid var(--lima); }
@media (min-width: 40rem) { #linhas > ul:first-of-type { grid-template-columns: 1fr 1fr; } }
@media (min-width: 48rem) { #linhas { padding-top: 7rem; padding-bottom: 7rem; } #linhas > ul:first-of-type { gap: 2rem; } }

/* ---------- Home: unidades (mosaico de fotos + bloco verde) ---------- */
#unidades { display: grid; gap: 2.5rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; background: var(--superficie); }
#unidades > ul {
  position: relative; z-index: 2; display: grid; gap: 1rem; height: 30rem;
  grid-template-columns: 1.35fr 1fr; grid-template-rows: 1.3fr 1fr;
}
#unidades > ul li { overflow: hidden; border-radius: var(--raio-card); box-shadow: 0 0 0 4px #fff, 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); }
#unidades > ul li:nth-child(2) { transform: translateY(.25rem); }
#unidades > ul li:nth-child(4) { transform: translateY(-.25rem); }
#unidades > ul img { width: 100%; height: 100%; object-fit: cover; }
#unidades > div { position: relative; z-index: 1; border-radius: var(--raio-foto); padding: 2rem; background: var(--verde-unidades); color: #fff; }
#unidades h2 { font-size: 1.75rem; line-height: 1.2; font-weight: 700; }
#unidades h2 + p { margin-top: 1.25rem; font-size: .9375rem; line-height: 1.625; color: rgb(255 255 255 / .8); }
#unidades a { margin-top: 2rem; border-radius: .25rem; background: var(--amarelo); color: #1a1a1a; font-size: .875rem; letter-spacing: .025em; }
@media (min-width: 48rem) {
  #unidades { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding-top: 6rem; padding-bottom: 6rem; }
  #unidades > ul { height: 35rem; }
  #unidades > div { border-radius: 0 var(--raio-foto) var(--raio-foto) 0; padding: 3rem; }
  /* faixa verde que entra ~100px por trás do mosaico */
  #unidades > div::before {
    content: ""; position: absolute; inset: 0 100% 0 auto; width: calc(3.5rem + 100px);
    border-radius: var(--raio-foto) 0 0 var(--raio-foto); background: var(--verde-unidades); z-index: -1;
  }
}

/* ---------- Home: estados ---------- */
#estados { padding-top: 6rem; padding-bottom: 6rem; }
#estados > header { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
#estados > ul { display: grid; gap: 1.5rem; }
#estados li a { text-align: center; }
#estados li svg { width: 1.5rem; height: 1.5rem; margin: 0 auto .75rem; color: var(--lima); }
#estados strong { display: block; font-weight: 700; color: var(--verde-escuro); transition: color var(--transicao); }
#estados li span { display: block; margin-top: .25rem; font-size: .75rem; color: var(--texto-claro); transition: color var(--transicao); }
#estados > p { margin-top: 3.5rem; text-align: center; }
#estados > p > a { background: var(--verde-escuro); color: #fff; }
@media (min-width: 40rem) { #estados > ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48rem) { #estados { padding-top: 7rem; padding-bottom: 7rem; } #estados > ul { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- Home: conteúdo (últimos artigos) ---------- */
#conteudo { padding-top: 5rem; padding-bottom: 5rem; background: var(--superficie); }
#conteudo > header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
#conteudo > header p { margin-top: .5rem; font-weight: 500; color: var(--lima); }
#conteudo > header > a { background: var(--verde-escuro); color: #fff; }
#conteudo > ul { display: grid; gap: 1.75rem; }
#conteudo article > a {
  display: block; height: 100%; overflow: hidden; border-radius: var(--raio-foto); background: #fff;
  box-shadow: 0 0 0 1px rgb(23 23 23 / .06), 0 1px 2px rgb(0 0 0 / .05); transition: box-shadow var(--transicao), transform var(--transicao);
}
#conteudo article img { width: 100%; height: 11rem; object-fit: cover; transition: transform .3s; }
#conteudo article div { padding: 1.5rem; }
#conteudo article span {
  display: inline-block; margin-bottom: .75rem; border-radius: 9999px; padding: .25rem .625rem;
  background: color-mix(in oklab, var(--lima) 19%, transparent); color: var(--verde-escuro);
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em;
}
#conteudo h3 { font-weight: 700; line-height: 1.375; color: var(--verde-escuro); }
#conteudo time { display: block; margin-top: 1rem; font-size: .75rem; color: #a3a3a3; }
@media (hover: hover) {
  #conteudo article > a:hover { transform: translateY(-.25rem); box-shadow: 0 0 0 1px rgb(23 23 23 / .06), 0 10px 15px -3px rgb(0 0 0 / .1); }
  #conteudo article > a:hover img { transform: scale(1.05); }
}
@media (min-width: 40rem) { #conteudo > ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48rem) { #conteudo { padding-top: 6rem; padding-bottom: 6rem; } #conteudo > ul { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Rodapé ---------- */
body > footer { background: var(--verde-escuro); color: rgb(255 255 255 / .85); font-size: .875rem; }
#rodape-topo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / .1);
}
#rodape-topo > a { display: block; width: 7.25rem; height: 2.5rem; }
#rodape-topo > a img { width: 100%; height: 100%; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
#rodape-topo > ul { display: flex; gap: .5rem; }
#rodape-topo li {
  display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; padding: .375rem .75rem;
  background: rgb(255 255 255 / .1); font-size: .75rem; font-weight: 600; color: #fff;
}
#rodape-topo li svg { width: .875rem; height: .875rem; }
#rodape-colunas { display: grid; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
#rodape-colunas > * > p:first-child { margin-bottom: 1rem; font-weight: 600; color: #fff; }
#rodape-colunas li + li { margin-top: .5rem; }
#rodape-colunas a, #rodape-colunas button { color: rgb(255 255 255 / .85); cursor: pointer; transition: color var(--transicao); }
@media (hover: hover) { #rodape-colunas a:hover, #rodape-colunas button:hover { color: #fff; } }
#rodape-aviso > p:first-child { color: var(--lima) !important; }
#rodape-aviso > p + p { font-size: .75rem; line-height: 1.6; color: rgb(255 255 255 / .7); }
body > footer > p:last-child {
  padding-top: 1.25rem; padding-bottom: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1);
  text-align: center; font-size: .75rem; color: rgb(255 255 255 / .6);
}
body > footer > p:last-child small { font-size: inherit; margin-right: .5rem; }
body > footer > p:last-child a { margin-inline: .25rem; }
@media (hover: hover) { body > footer > p:last-child a:hover { color: #fff; } }
@media (min-width: 40rem) { #rodape-colunas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { #rodape-colunas { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Aviso de cookies ---------- */
#aviso-cookies {
  position: fixed; z-index: 50; inset: auto .75rem .75rem .75rem;
  width: auto; height: auto; max-width: 48rem; margin: 0 auto;
  border: 1px solid var(--borda); border-radius: var(--raio-card);
  background: var(--fundo); color: var(--texto); padding: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
}
#aviso-cookies[open] { display: flex; flex-wrap: wrap; column-gap: .5rem; }
#aviso-cookies > svg { display: none; }
#aviso-cookies > p { flex-basis: 100%; font-size: .875rem; line-height: 1.5rem; }
#aviso-cookies > p > a { font-weight: 500; color: var(--verde); text-decoration-line: underline; text-underline-offset: 2px; }
#aviso-cookies > button {
  flex: 1; margin-top: .75rem; border-radius: 9999px; padding: .5rem 1rem; cursor: pointer;
  font-size: .875rem; font-weight: 600; transition: background-color var(--transicao), border-color var(--transicao);
}
#aviso-cookies > button[value="essential"] { border: 1px solid var(--borda); }
#aviso-cookies > button[value="all"] { padding-block: calc(.5rem + 1px); background: var(--verde-escuro); color: #fff; }
@media (hover: hover) {
  #aviso-cookies > button[value="essential"]:hover { border-color: var(--verde); }
  #aviso-cookies > button[value="all"]:hover { background: var(--verde); }
}
@media (min-width: 40rem) {
  #aviso-cookies[open] { flex-wrap: nowrap; align-items: center; gap: 1.25rem; padding: 1.25rem; }
  #aviso-cookies > p { flex-basis: auto; }
  #aviso-cookies > svg {
    display: block; flex-shrink: 0; width: 2.5rem; height: 2.5rem; padding: .625rem;
    border-radius: 9999px; color: var(--verde); background: color-mix(in oklab, var(--verde) 10%, transparent);
  }
  #aviso-cookies > button { flex: none; margin-top: 0; }
  #aviso-cookies > button + button { margin-left: -.75rem; }
}


/* Páginas internas do medseniorconveniorj.com.br (unidades, estados, planos,
   idosos, blog, post, conheça, cotação, 404). Refeito em 19/11/2026 olhando o
   site antigo (sites-engine, tema "classico"): o CSS original destas páginas
   se perdeu junto com a VPSCMS. Usa as variáveis do site.css. */

main > article, main > div { padding-inline: calc(max(0px, (100% - var(--largura)) / 2) + var(--margem)); }

/* ---------- Migalhas ---------- */
nav[aria-label="Você está em"] ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: .75rem; }
nav[aria-label="Você está em"] li + li::before { content: "›"; margin-right: .5rem; opacity: .7; }
nav[aria-label="Você está em"] a { opacity: .85; }
@media (hover: hover) { nav[aria-label="Você está em"] a:hover { opacity: 1; text-decoration: underline; } }
nav[aria-label="Você está em"] [aria-current] { opacity: 1; }

/* ---------- Topo verde das páginas internas ---------- */
#topo-interno { position: relative; overflow: hidden; background: var(--verde); color: #fff; padding-top: 4rem; padding-bottom: 7rem; }
#topo-interno.topo-escuro { background: var(--verde-escuro); }
#topo-interno > div { position: relative; z-index: 1; }
#topo-interno nav[aria-label="Você está em"] { margin-bottom: 1rem; color: rgb(255 255 255 / .9); }
#topo-interno h1 { font-size: 2rem; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
#topo-interno h1 + p { margin-top: 1rem; max-width: 34rem; line-height: 1.6; color: rgb(255 255 255 / .9); }
#topo-interno > div > a { display: inline-flex; margin-top: 1.75rem; border-radius: var(--raio); padding: .875rem 1.75rem; background: var(--lima); color: var(--verde-escuro); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
#topo-interno > figure { position: relative; z-index: 1; margin-top: 2rem; }
#topo-interno > figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio-foto); box-shadow: 0 20px 40px -16px rgb(0 0 0 / .45); }
#topo-interno > svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 5rem; }
#topo-interno > svg path:first-child { fill: var(--verde-escuro); }
#topo-interno > svg path:last-child { fill: var(--lima); }
#topo-interno.topo-escuro > svg path:first-child { fill: #00351a; }
#topo-interno.topo-centro { text-align: center; }
#topo-interno.topo-centro nav ol { justify-content: center; }
#topo-interno.topo-centro h1 + p { margin-inline: auto; }
@media (min-width: 48rem) {
  #topo-interno { padding-top: 5rem; padding-bottom: 9rem; }
  #topo-interno.topo-foto { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  #topo-interno.topo-foto > figure { margin-top: 0; }
  #topo-interno h1 { font-size: 2.5rem; }
}

/* Seções internas: respiro padrão e título verde */
main > section:not(#topo-interno):not(#topo):not(#para-idosos):not(#planos):not(#linhas):not(#unidades):not(#estados):not(#conteudo) { padding-block: 4rem; }
main > section h2 { color: var(--verde-escuro); font-size: 1.75rem; line-height: 1.2; font-weight: 700; }
main > section > h2 + p, main > section > header > h2 + p { margin-top: .5rem; color: var(--texto-claro); }

/* ---------- Página da unidade ---------- */
#unidade { display: grid; gap: 2.5rem; background-image: radial-gradient(rgb(0 0 0 / .06) 1px, transparent 1px); background-size: 16px 16px; }
.carrossel { position: relative; align-self: start; }
.carrossel ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--raio-foto); }
.carrossel ul::-webkit-scrollbar { display: none; }
.carrossel li { flex: 0 0 100%; scroll-snap-align: start; }
.carrossel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carrossel button { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; color: var(--verde); border: 2px solid var(--verde); cursor: pointer; }
.carrossel button svg { width: 1.125rem; height: 1.125rem; }
.carrossel button[data-carrossel="-1"] { left: .75rem; }
.carrossel button[data-carrossel="-1"] svg { rotate: 180deg; }
.carrossel button[data-carrossel="1"] { right: .75rem; }
#unidade h2 { font-size: 1.875rem; }
#unidade h2 + p { margin-top: .75rem; font-size: 1.0625rem; line-height: 1.6; color: var(--texto-medio); }
#unidade > div:not(.carrossel) > ul { display: grid; gap: .625rem 1.5rem; margin-top: 1.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--verde); }
#unidade > div:not(.carrossel) > ul li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9375rem; color: var(--texto-medio); }
#unidade > div:not(.carrossel) > ul svg, #unidade address svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin-top: .15rem; color: var(--verde); }
#unidade address { display: grid; gap: .75rem; margin-top: 1.5rem; font-style: normal; }
#unidade address p { display: flex; gap: .75rem; align-items: flex-start; color: var(--texto-medio); }
#unidade address a { font-weight: 700; color: var(--texto); }
#unidade iframe { width: 100%; height: 18rem; margin-top: 1.5rem; border: 0; border-radius: var(--raio-card); }
#unidade iframe + p { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem; }
#unidade iframe + p a:first-child { display: inline-flex; align-items: center; gap: .375rem; color: var(--verde); font-weight: 500; }
#unidade iframe + p a:first-child svg { width: .875rem; height: .875rem; }
#unidade iframe + p a:last-child { border-radius: var(--raio); padding: .875rem 1.5rem; background: var(--verde-escuro); color: #fff; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
@media (min-width: 40rem) { #unidade > div:not(.carrossel) > ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { #unidade { grid-template-columns: 1fr 1fr; gap: 3rem; } }

#outras-unidades ul { display: grid; gap: 1rem; margin-top: 1.75rem; }
#outras-unidades li a { display: block; border: 1px solid var(--borda); border-radius: var(--raio-card); padding: 1rem; transition: border-color var(--transicao), box-shadow var(--transicao); }
#outras-unidades li strong { display: block; font-weight: 600; }
#outras-unidades li span { font-size: .875rem; color: var(--texto-claro); }
#outras-unidades > p { margin-top: 1.5rem; }
#outras-unidades > p a { color: var(--verde); font-weight: 600; }
@media (hover: hover) { #outras-unidades li a:hover { border-color: var(--verde); box-shadow: var(--sombra-foto); } }
@media (min-width: 40rem) { #outras-unidades ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { #outras-unidades ul { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Perguntas frequentes ---------- */
.faq { background: var(--superficie); }
.faq > header { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.faq > header h2 { font-size: 2rem; }
.faq > header p { margin-top: .75rem; color: var(--texto-claro); }
.faq details { max-width: 48rem; margin: 0 auto 1rem; border-radius: var(--raio-card); background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--lima); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.5rem 1.25rem; line-height: 1.65; color: var(--texto-medio); }

/* ---------- Cartões de unidade (estados, índice /unidades, planos) ---------- */
.cartoes-unidade { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 40rem) { .cartoes-unidade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48rem) { .cartoes-unidade { grid-template-columns: repeat(3, 1fr); } }
.cartao-unidade a { display: block; overflow: hidden; border-radius: var(--raio-card); background: #fff; box-shadow: var(--sombra-foto); transition: translate var(--transicao), box-shadow var(--transicao); }
.cartao-unidade img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cartao-unidade a > div { position: relative; padding: 1rem 3rem 1rem 1.25rem; background: var(--verde-unidades); color: #fff; }
.cartao-unidade h2, .cartao-unidade h3, .cartao-unidade h4 { font-size: 1.0625rem; font-weight: 600; color: #fff; }
.cartao-unidade p { font-size: .875rem; color: rgb(255 255 255 / .85); }
.cartao-unidade a > div > svg { position: absolute; right: 1.25rem; top: 50%; translate: 0 -50%; width: 1.25rem; height: 1.25rem; }
@media (hover: hover) { .cartao-unidade a:hover { translate: 0 -4px; box-shadow: 0 16px 32px -16px rgb(15 23 42 / .4); } }

#unidades-lista.por-estado > header { max-width: 44rem; }
#unidades-lista.por-estado > header p { margin-top: .75rem; line-height: 1.6; color: var(--texto-medio); }
#unidades-lista.por-estado > section { margin-top: 3rem; }
#unidades-lista.por-estado > section > a { display: inline-flex; align-items: center; gap: .5rem; color: var(--verde-escuro); }
#unidades-lista.por-estado > section > a h3 { font-size: 1.375rem; font-weight: 700; }
#unidades-lista.por-estado > section > a h3 span { font-weight: 400; color: var(--texto-claro); }
#unidades-lista.por-estado > section > a > svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Planos ---------- */
#diferenciais > ul { display: grid; gap: 1.5rem; margin-top: 2rem; }
#diferenciais li { border-radius: var(--raio-card); padding: 1.75rem; background: var(--superficie); }
#diferenciais li > svg { width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 50%; background: var(--lima-claro); color: var(--verde-escuro); }
#diferenciais h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; color: var(--verde-escuro); }
#diferenciais p { margin-top: .5rem; line-height: 1.6; color: var(--texto-medio); }
@media (min-width: 48rem) { #diferenciais > ul { grid-template-columns: repeat(3, 1fr); } }

#coberturas { background: var(--superficie); }
#coberturas > p { margin-top: .75rem; max-width: 44rem; line-height: 1.6; color: var(--texto-medio); }
#coberturas > ul { display: grid; gap: .75rem 2rem; margin-top: 1.75rem; }
#coberturas li { display: flex; gap: .5rem; color: var(--texto-medio); }
#coberturas li svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin-top: .2rem; color: var(--verde); }
@media (min-width: 40rem) { #coberturas > ul { grid-template-columns: 1fr 1fr; } }

#comparativo figure { margin-top: 2rem; overflow-x: auto; }
#comparativo table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .9375rem; }
#comparativo caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#comparativo th, #comparativo td { border-bottom: 1px solid var(--borda); padding: .875rem 1rem; text-align: left; vertical-align: top; }
#comparativo thead th { background: var(--verde-escuro); color: #fff; font-weight: 600; }
#comparativo thead th small { display: block; font-weight: 400; opacity: .85; }
#comparativo tbody th { font-weight: 600; color: var(--texto); }
#comparativo td { color: var(--texto-medio); }
#comparativo .atual { background: rgb(150 202 75 / .15); }
#comparativo thead th.atual { background: var(--verde); }

#chamada { background: var(--verde-escuro); color: #fff; text-align: center; }
main > section#chamada h2 { color: #fff; }
#chamada > p { margin-top: .75rem; color: rgb(255 255 255 / .85); }
#chamada > a { display: inline-flex; margin-top: 1.75rem; border-radius: var(--raio); padding: .875rem 1.75rem; background: var(--lima); color: var(--verde-escuro); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

#planos-indice h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 700; color: var(--verde-escuro); }
#planos-indice h1 + p { margin-top: .75rem; max-width: 40rem; line-height: 1.6; color: var(--texto-medio); }
#planos-indice h1 + p + p { margin-top: 1rem; color: var(--texto-medio); }
#planos-indice h1 + p + p a { color: var(--verde); font-weight: 600; text-decoration: underline; }
#planos-indice nav[aria-label="Você está em"] { color: var(--texto-claro); }
@media (min-width: 48rem) { #planos-indice .cartoes-unidade { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Plano para idosos ---------- */
#topo-interno .subtitulo { margin-top: .5rem; font-size: 1.25rem; font-weight: 300; color: rgb(255 255 255 / .85); }
.texto-foto { display: grid; gap: 2.5rem; align-items: center; }
.texto-foto > div > p, .texto-foto > div > h2 + p { margin-top: 1rem; line-height: 1.7; color: var(--texto-medio); }
.texto-foto > div > p a, #coberturas-idosos p a { color: var(--verde); font-weight: 600; text-decoration: underline; }
.texto-foto figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio-foto); box-shadow: var(--sombra-foto); }
.texto-foto > ul { grid-column: 1 / -1; display: grid; gap: 1.25rem; }
.texto-foto > ul li { border-radius: var(--raio-card); padding: 1.5rem; background: var(--superficie); }
.texto-foto > ul li svg { width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 50%; background: var(--lima-claro); color: var(--verde-escuro); }
.texto-foto > ul h3 { margin-top: .875rem; font-weight: 600; color: var(--verde-escuro); }
.texto-foto > ul p { margin-top: .5rem; font-size: .9375rem; line-height: 1.6; color: var(--texto-medio); }
.texto-foto > p { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; }
.texto-foto > p a { border-radius: var(--raio); padding: .875rem 1.5rem; background: var(--verde-escuro); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.texto-foto > p a + a { background: transparent; color: var(--verde-escuro); border: 2px solid var(--verde-escuro); }
@media (min-width: 48rem) {
  .texto-foto { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .texto-foto > ul { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) { .texto-foto > ul { grid-template-columns: repeat(4, 1fr); } }
#coberturas-idosos > ul:first-of-type { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
#coberturas-idosos > ul strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--verde); }

#perfil > ul, #estados-idosos > ul, #numeros > ul { display: grid; gap: 1.25rem; margin-top: 2rem; }
#perfil article { height: 100%; border: 1px solid var(--borda); border-radius: var(--raio-card); padding: 1.5rem; }
#perfil h3 { font-size: 1.125rem; font-weight: 600; color: var(--verde-escuro); }
#perfil article p { margin-top: .5rem; line-height: 1.6; color: var(--texto-medio); }
#perfil article a { display: inline-flex; align-items: center; gap: .375rem; margin-top: 1rem; color: var(--verde); font-weight: 600; }
#perfil article a svg { width: 1rem; height: 1rem; }
#estados-idosos { background: var(--superficie); }
#estados-idosos li a { display: block; height: 100%; border-radius: var(--raio-card); padding: 1.25rem; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
#estados-idosos li svg { width: 1.5rem; height: 1.5rem; color: var(--verde); }
#estados-idosos h3 { margin-top: .5rem; font-weight: 600; color: var(--verde-escuro); }
#estados-idosos li p { font-size: .875rem; color: var(--texto-claro); }
#estados-idosos > p { margin-top: 1.5rem; }
#estados-idosos > p a { display: inline-flex; align-items: center; gap: .375rem; color: var(--verde); font-weight: 600; }
#estados-idosos > p a svg { width: 1rem; height: 1rem; }
#numeros { background: var(--verde-escuro); color: #fff; }
main > section#numeros h2 { color: #fff; }
#numeros > p { color: rgb(255 255 255 / .8) !important; }
#numeros li strong { display: block; font-size: 2.25rem; font-weight: 800; color: var(--lima); }
#numeros h3 { font-weight: 600; }
#numeros li p { margin-top: .25rem; font-size: .9375rem; color: rgb(255 255 255 / .8); }
@media (min-width: 40rem) { #perfil > ul, #estados-idosos > ul, #numeros > ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { #perfil > ul, #estados-idosos > ul, #numeros > ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Blog (lista) ---------- */
#blog h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 700; color: var(--verde-escuro); }
#blog nav[aria-label="Você está em"] { color: var(--texto-claro); }
#blog > ul { display: grid; gap: 1.5rem; margin-top: 2rem; }
#blog article a { display: block; height: 100%; overflow: hidden; border: 1px solid var(--borda); border-radius: var(--raio-card); background: #fff; transition: box-shadow var(--transicao); }
#blog article img, #blog .sem-capa { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#blog .sem-capa { display: grid; place-items: center; background: var(--verde-escuro); color: #fff; font-weight: 700; }
#blog article h2 { padding: 1rem 1.25rem 1.25rem; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; color: var(--texto); }
@media (hover: hover) { #blog article a:hover { box-shadow: var(--sombra-foto); } }
@media (min-width: 40rem) { #blog > ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { #blog > ul { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Post e páginas de texto ---------- */
#post, #texto { max-width: calc(48rem + 2 * var(--margem)); margin-inline: auto; padding-block: 3rem 4rem; padding-inline: var(--margem); }
#post > header nav, #texto > header nav { color: var(--texto-claro); }
#post h1, #texto h1 { margin-top: 1.25rem; font-size: 2rem; line-height: 1.2; font-weight: 700; color: var(--verde-escuro); }
#post > header p { margin-top: .75rem; font-size: .875rem; color: var(--texto-claro); }
#post > figure { margin-top: 2rem; }
#post > figure img { width: 100%; border-radius: var(--raio-foto); }
.texto-post { margin-top: 2rem; font-size: 1.0625rem; line-height: 1.75; color: var(--texto-medio); }
.texto-post > * + * { margin-top: 1.25rem; }
.texto-post h2 { margin-top: 2.5rem; font-size: 1.5rem; line-height: 1.3; font-weight: 700; color: var(--verde-escuro); }
.texto-post h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 600; color: var(--verde-escuro); }
.texto-post ul { list-style: disc; padding-left: 1.5rem; }
.texto-post ol { list-style: decimal; padding-left: 1.5rem; }
.texto-post li + li { margin-top: .5rem; }
.texto-post strong { color: var(--texto); }
.texto-post a { color: var(--verde); text-decoration: underline; }
.texto-post figure { overflow-x: auto; }
.texto-post table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.texto-post th, .texto-post td { border: 1px solid var(--borda); padding: .625rem .75rem; text-align: left; }
.texto-post th { background: var(--superficie); }
@media (min-width: 48rem) { #post h1, #texto h1 { font-size: 2.5rem; } }

/* ---------- Cotação ---------- */
#cotacao { display: grid; gap: 2.5rem; align-items: start; }
#cotacao nav[aria-label="Você está em"] { color: var(--texto-claro); margin-bottom: 1rem; }
#cotacao h1 { font-size: 2.25rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--verde-escuro); }
#cotacao h1 + p { margin-top: 1rem; max-width: 28rem; line-height: 1.65; color: var(--texto-suave); }
#cotacao > div:first-child ul { display: grid; gap: 1.25rem; margin-top: 2rem; }
#cotacao > div:first-child li { display: flex; align-items: center; gap: .875rem; font-size: .9375rem; font-weight: 500; color: var(--texto-medio); }
#cotacao > div:first-child li span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--lima-claro); color: var(--verde-escuro); }
#cotacao > div:first-child li svg { width: 1.25rem; height: 1.25rem; }
#formulario-cotacao { border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.875rem; background: #fff; box-shadow: 0 10px 25px rgb(0 0 0 / .05); }
#formulario-cotacao h2 { text-align: center; font-size: 1.5rem; color: #005222; }
#formulario-cotacao h2 + p { margin: .5rem 0 1.5rem; text-align: center; font-size: .9375rem; color: #64748b; }
#formulario-cotacao form > p { margin-bottom: .9375rem; }
#formulario-cotacao label { display: block; margin-bottom: .375rem; font-size: .875rem; font-weight: 600; color: #334155; }
#formulario-cotacao input, #formulario-cotacao select { width: 100%; padding: .75rem .9375rem; border: 1.5px solid #e2e8f0; border-radius: .5rem; font-size: .9375rem; background: #fff; }
#formulario-cotacao input:focus, #formulario-cotacao select:focus { outline: none; border-color: #005222; }
#formulario-cotacao button { width: 100%; margin-top: .625rem; padding: .875rem; border-radius: .5rem; background: #005222; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
#formulario-cotacao button:disabled { opacity: .7; cursor: wait; }
#formulario-cotacao .erro-envio { margin-bottom: .5rem; font-size: .875rem; color: #b91c1c; text-align: center; }
#formulario-cotacao [role="status"] { padding: 2rem 0; text-align: center; color: var(--texto-medio); }
#formulario-cotacao [role="status"] strong { font-size: 1.125rem; color: var(--texto); }
@media (min-width: 48rem) { #cotacao { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- 404 ---------- */
#nao-encontrada { padding-block: 6rem; text-align: center; }
#nao-encontrada h1 { font-size: 2.25rem; font-weight: 700; color: var(--verde-escuro); }
#nao-encontrada p { margin-top: 1rem; color: var(--texto-medio); }
#nao-encontrada a { color: var(--verde); font-weight: 600; text-decoration: underline; }

/* ---------- Home RJ (19/11/2026) ---------- */
#comparativo > p > a, #unidades-rj > p > a, #contratar > p > a {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--raio); padding: .875rem 1.75rem; background: var(--verde); color: #fff;
  font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  transition: opacity var(--transicao);
}
@media (hover: hover) { #comparativo > p > a:hover, #unidades-rj > p > a:hover, #contratar > p > a:hover { opacity: .9; } }
#comparativo > p:last-child, #unidades-rj > p:last-child, #contratar > p:last-child { margin-top: 2rem; text-align: center; }
#comparativo > figure + p { margin-top: 1rem; font-size: .9375rem; color: var(--texto-suave); }
#comparativo td a { font-weight: 600; color: var(--verde); white-space: nowrap; }
@media (hover: hover) { #comparativo td a:hover { text-decoration: underline; } }

#resumo > ul { display: grid; gap: 1.25rem; margin-top: 2rem; }
#resumo li { border: 1px solid var(--borda); border-radius: var(--raio-card); padding: 1.5rem; background: #fff; }
#resumo li > span { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgb(150 202 75 / .2); color: var(--verde); }
#resumo li > span svg { width: 1.5rem; height: 1.5rem; }
#resumo h3 { margin-top: 1rem; font-size: 1.0625rem; font-weight: 700; color: var(--verde-escuro); }
#resumo li p { margin-top: .375rem; font-size: .9375rem; line-height: 1.6; color: var(--texto-medio); }
@media (min-width: 40rem) { #resumo > ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { #resumo > ul { grid-template-columns: repeat(4, 1fr); } }

#unidades-rj { background: var(--superficie); }

#contratar > ol { display: grid; gap: 1.25rem; margin-top: 2rem; counter-reset: passo; }
#contratar li { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.5rem; border-radius: var(--raio-card); background: var(--superficie); counter-increment: passo; }
#contratar li::before { content: counter(passo); position: absolute; left: 1.25rem; top: 1.25rem; display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--verde); color: #fff; font-weight: 700; }
#contratar h3 { font-weight: 700; color: var(--verde-escuro); }
#contratar li p { margin-top: .25rem; font-size: .9375rem; line-height: 1.6; color: var(--texto-medio); }
@media (min-width: 48rem) { #contratar > ol { grid-template-columns: repeat(2, 1fr); } }

#outros-estados > ul { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
#outros-estados a { display: inline-flex; align-items: center; gap: .375rem; border: 1px solid var(--borda); border-radius: 999px; padding: .5rem 1rem; font-size: .9375rem; font-weight: 500; color: var(--verde-escuro); }
#outros-estados a svg { width: 1rem; height: 1rem; color: var(--verde); }
@media (hover: hover) { #outros-estados a:hover { border-color: var(--verde); } }
