/* ==========================================================================
   Terreiro de Kimbanda — folha de estilo principal
   Identidade: preto ritual, vermelho de Exu, dourado do axé, tipografia serifada.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #0a0708;
  --bg-elev: #150e10;
  --bg-panel: rgba(139, 0, 0, 0.14);
  --bg-panel-alt: rgba(139, 69, 19, 0.14);

  --fg: #ece5da;
  --fg-strong: #fffaf3;
  --fg-muted: #b3a496;

  --accent: #ff3b30;
  --accent-deep: #a4121b;
  --accent-glow: rgba(255, 59, 48, 0.35);
  --gold: #c9a227;

  --border: rgba(255, 59, 48, 0.32);
  --border-soft: rgba(236, 229, 218, 0.12);

  --wa: #25d366;
  --wa-deep: #128c7e;
  --tg: #229ed9;
  --tg-deep: #12688f;

  --font-display: Georgia, "Times New Roman", "Playfair Display", serif;
  --font-body: Georgia, "Iowan Old Style", "Palatino Linotype", serif;

  --step--1: clamp(0.86rem, 0.83rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.6rem);
  --step-4: clamp(2.05rem, 1.65rem + 2vw, 3.4rem);

  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.35rem;
  --space-lg: 2.2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --wrap: 74rem;
  --measure: 42rem;

  --shadow-soft: 0 4px 22px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 26px rgba(164, 18, 27, 0.4);
}

/* --------------------------------------------------------------------------
   2. Reset e base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(164, 18, 27, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(139, 69, 19, 0.12), transparent 70%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ff6a61;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: var(--step-4);
  color: var(--accent);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

h2 {
  font-size: var(--step-3);
  color: var(--accent);
}

h3 {
  font-size: var(--step-1);
  color: var(--gold);
}

h4 {
  font-size: var(--step-0);
  color: var(--fg-strong);
}

p {
  margin: 0 0 var(--space-md);
  text-wrap: pretty;
}

strong {
  color: var(--fg-strong);
}

hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: var(--space-lg) 0;
}

blockquote {
  margin: var(--space-md) 0;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  border-left: 4px solid var(--accent);
  background: var(--bg-panel);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--fg);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Utilitários de layout
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2.5rem, 52rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-xl);
}

.section--tight {
  padding-block: var(--space-lg);
}

/* Ritmo vertical entre blocos de conteúdo dentro de uma seção. */
.section > h2 {
  margin-top: var(--space-xl);
}

.section > h3 {
  margin-top: var(--space-lg);
}

.section > .cards,
.section > .gallery,
.section > .steps,
.section > .faq,
.section > .table-wrap,
.section > .panel,
.section > .callout,
.section > .list-ritual,
.section > ul,
.section > ol {
  margin-bottom: var(--space-lg);
}

.section > .cta-band {
  margin-top: var(--space-xl);
}

/* Medida de leitura confortável para texto corrido; grades seguem largura total. */
.section > p,
.section > .list-ritual,
.section > ul,
.section > ol {
  max-width: 48rem;
}

.section__head {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__head p {
  color: var(--fg-muted);
  max-width: var(--measure);
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.lead {
  font-size: var(--step-1);
  color: var(--fg);
  line-height: 1.6;
}

.text-muted {
  color: var(--fg-muted);
}

.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  /* --accent (#ff3b30) com texto branco dá só 3,55:1. --accent-deep dá 7,8:1.
     É o primeiro elemento que quem navega por teclado encontra. */
  background: var(--accent-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Cabeçalho e navegação
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 7, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--fg-strong);
}

.brand img {
  width: 46px;
  height: 46px;
  flex: none;
  filter: brightness(1.55) saturate(1.1) drop-shadow(0 0 8px var(--accent-glow));
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand__tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(255, 59, 48, 0.12);
  color: var(--fg-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(255, 59, 48, 0.1);
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--accent-deep), #6d0d14);
  border: 1px solid var(--border);
  color: var(--fg-strong);
  font-weight: bold;
}

.site-nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-bottom: 0.75rem;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .site-header__inner {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  text-align: center;
  padding-block: var(--space-xl) var(--space-lg);
}

.hero__seal {
  width: clamp(130px, 22vw, 190px);
  height: auto;
  margin-inline: auto;
  margin-bottom: var(--space-md);
  /* O selo é vermelho escuro sobre transparente: sem realce, some no fundo preto. */
  filter: brightness(1.5) saturate(1.15) drop-shadow(0 0 22px var(--accent-glow));
}

.hero__title {
  margin-bottom: var(--space-sm);
}

.hero__sub {
  font-size: var(--step-1);
  color: var(--fg);
  max-width: 46rem;
  margin-inline: auto;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: var(--space-md) 0 var(--space-lg);
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(164, 18, 27, 0.14);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   6. Botões
   -------------------------------------------------------------------------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.actions--cta {
  margin-top: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn img,
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn--wa {
  /* Ponta escura clareada de #128c7e para #1aa87a: com o verde original o texto
     escuro ficava em 4,53:1, tangenciando o mínimo AA. Agora fica em ~6,3:1. */
  background: linear-gradient(135deg, var(--wa), #1aa87a);
  color: #02120a;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
}

.btn--wa:hover {
  color: #02120a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}

.btn--tg {
  /* Ponta clara escurecida de #229ed9 para #1a77a3: com o azul original o texto
     claro ficava em 2,88:1, abaixo do mínimo AA. Agora fica em ~4,75:1. */
  background: linear-gradient(135deg, #1a77a3, var(--tg-deep));
  color: #f2fbff;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.28);
}

.btn--tg:hover {
  color: #fff;
  box-shadow: 0 8px 26px rgba(34, 158, 217, 0.45);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}

.btn--ghost:hover {
  background: rgba(255, 59, 48, 0.12);
  color: var(--fg-strong);
}

/* --------------------------------------------------------------------------
   7. Painéis e blocos de conteúdo
   -------------------------------------------------------------------------- */
.panel {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.16), rgba(139, 0, 0, 0.18));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-glow);
}

.callout {
  background: var(--bg-panel);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--gold {
  border-left-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.callout--seal {
  text-align: center;
  border-left: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Listas com marcador de tridente */
.list-ritual {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-ritual li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
}

.list-ritual li::before {
  content: "\2020";
  position: absolute;
  left: 0.35rem;
  top: 0;
  color: var(--accent);
  font-size: 1.05em;
  line-height: 1.7;
}

.list-ritual li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. Grade de cartões
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-md);
  padding: 0;
  margin: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.card:focus-within {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-size: var(--step-1);
}

.card p {
  margin-bottom: 0;
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.card a {
  text-decoration: none;
}

.card a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card__link {
  position: relative;
}

.card__more {
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   9. Galeria
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  /* 26rem mantém duas colunas em desktop: as quatro fotos formam 2x2 sem sobra. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}

.gallery figure {
  margin: 0;
  background: rgba(139, 69, 19, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 12px rgba(164, 18, 27, 0.35));
  transition: transform 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  padding: 0.7rem 0.4rem 0.2rem;
  font-size: var(--step--1);
  color: var(--fg-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   10. Passo a passo
   -------------------------------------------------------------------------- */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.6rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(164, 18, 27, 0.2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: bold;
}

.steps h3 {
  margin-bottom: 0.25rem;
  color: var(--fg-strong);
  font-size: var(--step-0);
}

.steps p {
  margin-bottom: 0;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.7rem;
}

.faq__item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--border);
}

.faq__item summary {
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--fg-strong);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  flex: none;
}

.faq__item[open] summary::after {
  content: "\2013";
}

.faq__item summary:hover {
  background: rgba(255, 59, 48, 0.08);
}

.faq__answer {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--fg-muted);
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. Faixa de conversão
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(164, 18, 27, 0.35), transparent 70%),
    var(--bg-elev);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.cta-band h2 {
  margin-bottom: var(--space-xs);
}

.cta-band p {
  color: var(--fg-muted);
  max-width: 40rem;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   13. Trilha de navegação
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-block: var(--space-sm) 0;
  font-size: var(--step--1);
  color: var(--fg-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "\203A";
  margin-right: 0.4rem;
  color: var(--accent);
}

.breadcrumbs a {
  color: var(--fg-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   14. Conteúdo longo (artigos)
   -------------------------------------------------------------------------- */
.prose {
  max-width: var(--measure);
}

.prose h2 {
  margin-top: var(--space-lg);
  font-size: var(--step-2);
}

.prose h3 {
  margin-top: var(--space-md);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.4rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose ::marker {
  color: var(--accent);
}

.article-meta {
  font-size: var(--step--1);
  color: var(--fg-muted);
  margin-bottom: var(--space-md);
}

.toc {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.toc h2 {
  font-size: var(--step-0);
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc a {
  color: var(--fg);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   14b. Tabelas
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 var(--space-md);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

caption {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

th,
td {
  padding: 0.75rem var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

thead th {
  color: var(--accent);
  font-family: var(--font-display);
  background: rgba(164, 18, 27, 0.14);
  white-space: nowrap;
}

tbody th {
  color: var(--fg-strong);
  font-weight: bold;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. Rodapé
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.45);
  padding-block: var(--space-lg) var(--space-md);
  font-size: 0.95rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.site-footer h2 {
  font-size: var(--step-0);
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--fg-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer__legal {
  border-top: 1px solid var(--border-soft);
  padding-top: var(--space-md);
  color: var(--fg-muted);
  font-size: var(--step--1);
  text-align: center;
}

.site-footer__legal p {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   16. Botões flutuantes de contato
   -------------------------------------------------------------------------- */
.contact-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem 0.7rem 0.7rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
}

.float-btn img,
.float-btn svg {
  width: 30px;
  height: 30px;
  flex: none;
  filter: brightness(0) invert(1);
}

.float-btn--wa {
  /* Mesmo ajuste de .btn--wa: com texto branco este botão ficava em 1,98:1 sobre
     #25d366 e 4,13:1 sobre #128c7e, reprovando o mínimo AA de 4,5:1 — 0,95rem em
     negrito (15,2px) não conta como "texto grande". Com texto escuro sobre a ponta
     clareada fica em ~9,7:1 e ~6,3:1. É o CTA presente nas 28 páginas. */
  background: linear-gradient(135deg, var(--wa), #1aa87a);
  color: #02120a;
}

/* O ícone acompanha o texto escuro: no mobile o rótulo some e sobra só ele,
   que precisa dos 3:1 de contraste não textual. Escopado ao --wa para não
   afetar o ícone branco do Telegram. */
.float-btn--wa img,
.float-btn--wa svg {
  filter: brightness(0);
}

.float-btn--wa:hover {
  color: #02120a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.float-btn--tg {
  /* Ponta clara escurecida pelo mesmo motivo de .btn--tg: com #229ed9 o texto
     branco ficava em 3,02:1, abaixo do mínimo AA de 4,5:1. */
  background: linear-gradient(135deg, #1a77a3, var(--tg-deep));
  color: #fff;
}

.float-btn--tg:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.5);
}

@media (max-width: 560px) {
  .float-btn__text {
    display: none;
  }

  .float-btn {
    padding: 0.75rem;
    border-radius: 50%;
  }
}

/* --------------------------------------------------------------------------
   17. Preferências do usuário
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .contact-float,
  .cta-band,
  .site-footer__grid {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
