/* ==========================================================================
   Clica Rede — folha de estilos principal
   Mobile-first · sem dependências · paleta derivada do logotipo oficial
   (azul #0086D8 e preto do arquivo "logo clica rede.jpg"; índigo #3E4095 do PNG).
   ========================================================================== */

/* ---------- Fontes (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Fallback com métricas aproximadas para reduzir deslocamento na troca de fonte */
@font-face {
  font-family: "Plex Fallback";
  src: local("Arial");
  size-adjust: 101%;
  ascent-override: 102%;
  descent-override: 27%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --c-azure-50: #eef7fd;
  --c-azure-100: #d8ecfa;
  --c-azure-300: #7cc4f2;
  --c-azure-400: #3aa6ec;
  --c-azure-500: #0086d8; /* cor oficial do logo */
  --c-azure-600: #0070b8; /* botões e links sobre fundo claro (AA) */
  --c-azure-700: #005c98;
  --c-indigo-500: #3e4095; /* cor oficial do logo (versão PNG) */

  /* Escuros (base: preto do logo) */
  --c-ink-950: #07080b;
  --c-ink-900: #0a0c10;
  --c-ink-850: #0f1217;
  --c-ink-800: #151922;
  --c-ink-700: #1f2430;

  /* Claros */
  --c-white: #ffffff;
  --c-paper: #f4f6f9;
  --c-line: #e1e6ed;
  --c-line-strong: #c9d1dc;
  --c-text: #0e1116;
  --c-text-2: #3a4250;
  --c-muted: #566070;

  /* Texto sobre escuro */
  --c-on-dark: #f2f4f7;
  --c-on-dark-2: #b4bcc8;
  --c-on-dark-muted: #8c95a3;
  --c-line-dark: rgba(255, 255, 255, 0.1);

  --c-wa: #25d366;
  --c-error: #b42318;

  --font-sans: "IBM Plex Sans", "Plex Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 68px;
  --section-y: clamp(4rem, 2.75rem + 5vw, 7.5rem);

  --shadow-md: 0 12px 32px -14px rgba(14, 17, 22, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(7, 8, 11, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 960px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 960px) {
  body { font-size: 1.0625rem; }
}
html.menu-open body { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; color: inherit; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }

a { color: var(--c-azure-600); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-azure-700); }

:focus-visible { outline: 2px solid var(--c-azure-600); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible,
.page-hero :focus-visible,
.section--dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible,
.card--featured :focus-visible { outline-color: var(--c-azure-300); }
main:focus { outline: none; }

::selection { background: var(--c-azure-100); color: var(--c-text); }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -200px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--c-white);
  color: var(--c-text);
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-azure-600);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}
.hero .eyebrow,
.page-hero .eyebrow,
.section--dark .eyebrow { color: var(--c-azure-400); }

.h2, .section h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--c-text-2);
}
.section--dark .lead { color: var(--c-on-dark-2); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-azure-600); color: var(--c-white); }
.btn--primary:hover { background: var(--c-azure-700); color: var(--c-white); }

.btn--ghost { color: var(--c-white); border-color: rgba(255, 255, 255, 0.26); background: transparent; }
.btn--ghost:hover { color: var(--c-white); border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.btn--ghost .icon { transition: transform 0.2s var(--ease); }
.btn--ghost:hover .icon { transform: translateX(3px); }

.btn--outline { color: var(--c-text); border-color: var(--c-line-strong); background: var(--c-white); }
.btn--outline:hover { color: var(--c-azure-700); border-color: var(--c-azure-600); }

.btn--light { background: var(--c-white); color: var(--c-ink-900); }
.btn--light:hover { background: var(--c-azure-50); color: var(--c-ink-900); }
.btn--light .icon-wa { color: #128c4b; }

.btn--lg { min-height: 54px; padding: 0.875rem 1.5rem; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 0.5rem 0.875rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--c-on-dark);
}
/* Fundo em pseudo-elemento (mantém o menu mobile fixo relativo à viewport) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Fundo opaco: garante que o preto do logo oficial se funda ao cabeçalho
     (backdrop-filter anularia o mix-blend-mode no Chrome). */
  background: var(--c-ink-900);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled::before { border-bottom-color: var(--c-line-dark); }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  margin-right: auto;
  border-radius: 4px;
}
.brand__logo,
.footer__logo img {
  width: auto;
  /* O arquivo oficial tem fundo preto: "screen" funde o preto com o fundo escuro do site
     sem alterar a arte da marca. */
  mix-blend-mode: screen;
}
.brand__logo { height: 50px; }
@media (min-width: 960px) {
  .brand__logo { height: 60px; }
}

/* Navegação — base (sem JS: lista visível abaixo do logo) */
.nav { order: 3; width: 100%; padding-bottom: 0.75rem; }
.nav__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-on-dark-2);
  text-decoration: none;
  font-weight: 600;
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--c-white); }
.nav__sub { list-style: none; padding: 0; }
.nav__subtoggle { display: none; }
.nav__cta { display: none; }

.header__cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* Com JS: menu mobile em painel */
@media (max-width: 959.98px) {
  html:not(.js) .nav__sub { display: none; } /* sem JS: "Soluções" leva à seção da home */
  .js .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 49;
    width: auto;
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--c-ink-900);
    border-top: 1px solid var(--c-line-dark);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .js .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }
  .js .nav__list { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .js .nav__list > li { border-bottom: 1px solid var(--c-line-dark); }
  .js .nav__link { width: 100%; min-height: 56px; font-size: 1.125rem; color: var(--c-on-dark); }
  .js .nav__link[aria-current="page"] { color: var(--c-azure-300); }
  .js .nav__sub { display: grid; gap: 0.25rem; padding: 0 0 1rem; }
  .js .nav__cta { display: inline-flex; margin-top: auto; }

  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-right: -6px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--c-white);
    cursor: pointer;
  }
  .nav-toggle .icon { width: 26px; height: 26px; grid-area: 1 / 1; }
  .nav-toggle__close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
}

.nav__sublink {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--c-on-dark-2);
  text-decoration: none;
}
.nav__sublink .icon { width: 22px; height: 22px; margin-top: 0.125rem; color: var(--c-azure-400); }
.nav__sublink strong { display: block; color: var(--c-on-dark); font-size: 0.9375rem; }
.nav__sublink small { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--c-on-dark-muted); }
.nav__sublink:hover { background: rgba(255, 255, 255, 0.05); color: var(--c-on-dark); }
.nav__sublink[aria-current="page"] strong { color: var(--c-azure-300); }

/* CTA do cabeçalho: só ícone em telas muito estreitas */
@media (max-width: 379.98px) {
  .header__cta { width: 44px; padding: 0; }
  .header__cta-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; gap: 2rem; }
  .brand { margin-right: 0; }
  .nav, .js .nav {
    order: 0;
    width: auto;
    margin-left: auto;
    padding: 0;
  }
  .nav__list { flex-wrap: nowrap; align-items: center; gap: 0.25rem; }
  .nav__link {
    position: relative;
    padding: 0 0.75rem;
    font-size: 0.9375rem;
  }
  .nav__link[aria-current="page"]::after,
  .nav__item--sub.is-active > .nav__link::after {
    content: "";
    position: absolute;
    left: 0.75rem; right: 0.75rem; bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-azure-500);
  }
  .nav__item--sub.is-active > .nav__link { color: var(--c-white); }

  .nav__item--sub { position: relative; display: flex; align-items: center; }
  .nav__item--sub > .nav__link { padding-right: 0.25rem; }
  .nav__subtoggle {
    display: inline-grid;
    place-items: center;
    width: 28px; height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--c-on-dark-2);
    cursor: pointer;
  }
  .nav__subtoggle .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
  .nav__subtoggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__subtoggle:hover { color: var(--c-white); }

  .nav__sub {
    position: absolute;
    top: calc(100% + 12px);
    left: -0.5rem;
    z-index: 5;
    width: 340px;
    display: grid;
    gap: 0.125rem;
    padding: 0.5rem;
    background: var(--c-ink-850);
    border: 1px solid var(--c-line-dark);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }
  .nav__sub::before { /* ponte para o hover */
    content: "";
    position: absolute;
    left: 0; right: 0; top: -14px;
    height: 14px;
  }
  .nav__item--sub:hover > .nav__sub,
  .nav__item--sub.is-open > .nav__sub {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--c-paper); }
.section--dark { background: var(--c-ink-900); color: var(--c-on-dark); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }

.section__header { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__header > h2 + .lead { margin-top: 1rem; }
.section__header--center { margin-inline: auto; text-align: center; }
.section__header--center .lead { text-wrap: balance; }
.section__header--split { max-width: none; display: grid; gap: 1rem 4rem; }
@media (min-width: 960px) {
  .section__header--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; }
}

/* Textura de "planta técnica": grade de pontos sutil */
.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 60%, transparent 100%);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.25rem, 1.5rem + 4vw, 5.5rem) 0 clamp(3.5rem, 2.5rem + 5vw, 7rem);
  background: var(--c-ink-900);
  color: var(--c-on-dark);
}
.hero__grid { display: grid; gap: 2.75rem; }
.hero__content { min-width: 0; }
.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.875rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hero__title-muted { color: var(--c-on-dark-muted); }
.hero__lead {
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--c-on-dark-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.proofs {
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  display: grid;
  border-top: 1px solid var(--c-line-dark);
}
.proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--c-line-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-on-dark);
}
.proof .icon { width: 20px; height: 20px; color: var(--c-azure-400); }

.hero__media { position: relative; min-width: 0; }
.hero__picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line-dark);
}
.hero__card {
  position: relative;
  margin: -2.5rem 0.75rem 0;
  padding: 1.25rem 1.25rem 1.125rem;
  background: rgba(15, 18, 23, 0.94);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero__card { background: rgba(15, 18, 23, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.hero__card-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
}
.hero__card ul { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.hero__card li { display: flex; gap: 0.75rem; font-size: 0.9375rem; line-height: 1.45; color: var(--c-on-dark-2); }
.hero__card li .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--c-azure-400); }
.hero__card li strong { display: block; color: var(--c-on-dark); }

@media (min-width: 640px) {
  .proofs { grid-template-columns: repeat(3, auto); justify-content: start; border-bottom: 1px solid var(--c-line-dark); }
  .proof { border-bottom: 0; padding-right: 1.5rem; margin-right: 1.5rem; border-right: 1px solid var(--c-line-dark); }
  .proof:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 4.5rem; align-items: center; }
  .hero__picture img { aspect-ratio: 4 / 5; }
  .hero__card {
    position: absolute;
    left: -3rem;
    bottom: 2rem;
    width: min(300px, 85%);
    margin: 0;
  }
}
@media (max-width: 479.98px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- Hero interno ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(3rem, 2.25rem + 4vw, 6rem);
  background: var(--c-ink-900);
  color: var(--c-on-dark);
}
.page-hero__grid { display: grid; gap: 2.5rem; }
.page-hero__content { min-width: 0; max-width: 44rem; }
.page-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.page-hero__lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem); color: var(--c-on-dark-2); max-width: 38rem; }
.page-hero .hero__actions { margin-top: 1.75rem; }
.page-hero__media { min-width: 0; }
.page-hero__picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line-dark);
}
@media (min-width: 960px) {
  .page-hero { padding-top: 2.5rem; }
  .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; align-items: center; }
}
.page-hero--compact .page-hero__content { max-width: 48rem; }
.page-hero--compact::after {
  /* topologia decorativa em telas largas */
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px; top: 50%;
  width: 560px; height: 420px;
  transform: translateY(-50%);
  background: url("../images/topologia.svg") no-repeat center / contain;
  opacity: 0.55;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) {
  .page-hero--compact::after { display: block; }
}

.breadcrumb { margin-bottom: 1.75rem; }
.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: var(--c-on-dark-muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--c-on-dark-muted); opacity: 0.6; }
.breadcrumb a { color: var(--c-on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-on-dark); }

/* ---------- Problemas (home) ---------- */
.problems__grid { display: grid; gap: 2.5rem; }
.problems__intro { min-width: 0; }
.problems__intro .lead { margin-top: 1rem; }
.problems__answer {
  margin: 2rem 0;
  padding-left: 1.125rem;
  border-left: 3px solid var(--c-azure-500);
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text);
}
.problems__list { list-style: none; padding: 0; border-top: 1px solid var(--c-line); }
.problem {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-line);
}
.problem__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-azure-600);
}
.problem h3 { font-size: 1.125rem; margin: 0.125rem 0 0.25rem; }
.problem p { margin: 0; color: var(--c-muted); }
@media (min-width: 720px) and (max-width: 1023.98px) {
  .problems__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 0; }
  .problem { border-top: 1px solid var(--c-line); border-bottom: 0; }
}
@media (min-width: 1024px) {
  .problems__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4.5rem; align-items: start; }
  .problems__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Cards / Bento ---------- */
.bento { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .card--featured { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .bento .card--featured { grid-column: 1; grid-row: 1 / span 2; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: no-preference) {
  .card:has(.card__link):hover { transform: translateY(-3px); }
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-azure-50);
  color: var(--c-azure-600);
}
.card__icon .icon { width: 24px; height: 24px; }
.card__title { font-size: 1.25rem; line-height: 1.25; margin-top: 0.5rem; }
.card p { color: var(--c-muted); margin: 0; }
.card__link { color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 2px solid var(--c-azure-600); outline-offset: 3px; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-azure-600);
  text-decoration: none;
}
.card__more .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(3px); }
.card__tag {
  align-self: flex-start;
  margin: 0;
  padding: 0.25rem 0.625rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.card--muted { background: var(--c-paper); }
.card--muted .card__icon { background: var(--c-white); border: 1px solid var(--c-line); }
.card--muted .card__more { position: relative; z-index: 1; }
.card--muted .card__more:hover { color: var(--c-azure-700); }

.card--featured {
  padding: 0;
  overflow: hidden;
  background: var(--c-ink-900);
  border-color: var(--c-ink-900);
  color: var(--c-on-dark);
}
.card--featured:hover { border-color: var(--c-ink-700); }
.card--featured .card__media { position: relative; }
.card--featured .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0) 40%, rgba(10, 12, 16, 0.9) 100%);
}
.card--featured .card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card--featured .card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  padding: 0 clamp(1.5rem, 1.25rem + 1vw, 2.25rem) clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  margin-top: -1.5rem;
  position: relative;
}
.card--featured .card__icon { background: var(--c-azure-600); color: var(--c-white); }
.card--featured .card__title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.card--featured .card__lead { color: var(--c-on-dark); font-size: 1.0625rem; line-height: 1.5; }
.card--featured .card__tag { color: var(--c-azure-300); }
.card--featured .card__more { color: var(--c-azure-300); }
.card--featured .card__link:focus-visible::after { outline-color: var(--c-azure-300); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.checklist { list-style: none; padding: 0; display: grid; gap: 0.625rem; }
.checklist li { display: flex; gap: 0.625rem; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; margin-top: 0.15em; color: var(--c-azure-500); }
.card--featured .checklist { color: var(--c-on-dark-2); margin: 0.25rem 0 0.5rem; }
.card--featured .checklist .icon { color: var(--c-azure-400); }

/* ---------- Processo (4 etapas conectadas) ---------- */
.steps { list-style: none; padding: 0; display: grid; }
.step { position: relative; min-width: 0; padding: 0 0 2.5rem 3rem; }
.step:last-child { padding-bottom: 0; }
.step::before { /* conexão */
  content: "";
  position: absolute;
  left: 11px; top: 30px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-azure-500), rgba(0, 134, 216, 0.15));
}
.step:last-child::before { display: none; }
.step__node {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 23px; height: 23px;
  border-radius: 50%;
  border: 1px solid var(--c-azure-500);
  background: var(--c-ink-900);
}
.step__node::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c-azure-500); }
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-azure-400);
}
.step h3 { margin: 0.375rem 0 0.625rem; font-size: 1.25rem; line-height: 1.3; color: var(--c-white); }
.step p { margin: 0; color: var(--c-on-dark-2); }
.section:not(.section--dark) .step__node { background: var(--c-white); }
.section:not(.section--dark) .step h3 { color: var(--c-text); }
.section:not(.section--dark) .step p { color: var(--c-muted); }
.section:not(.section--dark) .step__num { color: var(--c-azure-600); }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { padding: 3rem 0 0; }
  .step::before {
    left: 30px; right: -2.5rem; top: 11px; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, var(--c-azure-500), rgba(0, 134, 216, 0.25));
  }
}

/* ---------- Por que Clica Rede ---------- */
.why__grid { display: grid; gap: 3rem; }
.why__aside { min-width: 0; }
.why__lead { margin-top: 1rem; }
.why__figure { display: flex; align-items: flex-end; gap: 1rem; margin: 2rem 0; }
.why__number {
  font-size: clamp(5.5rem, 3.5rem + 8vw, 9.5rem);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--c-azure-500);
}
.why__unit { max-width: 14rem; padding-bottom: 0.25rem; font-size: 1.0625rem; line-height: 1.4; color: var(--c-text-2); }
.why__unit strong { display: block; color: var(--c-text); font-size: 1.25rem; }
.why__picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }

.reasons { list-style: none; padding: 0; border-top: 1px solid var(--c-line); }
.reason {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--c-line);
}
.reason__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-azure-50);
  color: var(--c-azure-600);
}
.reason__icon .icon { width: 24px; height: 24px; }
.reason h3 { margin: 0.25rem 0 0.375rem; font-size: 1.1875rem; }
.reason p { margin: 0; color: var(--c-muted); }
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 5rem; align-items: start; }
}

/* ---------- Clientes (logos) ---------- */
.clients {
  --clients-gap: 0.75rem;
  --clients-cols: 2;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* última linha incompleta fica centralizada */
  gap: var(--clients-gap);
}
.client {
  flex: 0 0 calc((100% - (var(--clients-cols) - 1) * var(--clients-gap)) / var(--clients-cols));
  min-width: 0;
}
.client__card {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 1rem;
  background: var(--c-white); /* mesmo fundo branco das logos */
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.client__card img { max-width: 100%; height: auto; }
a.client__card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: no-preference) {
  a.client__card:hover { transform: translateY(-2px); }
}
@media (min-width: 640px) {
  .clients { --clients-cols: 3; --clients-gap: 1rem; }
  .client__card { height: 128px; padding: 1.25rem; }
}
@media (min-width: 1024px) {
  .clients { --clients-cols: 4; --clients-gap: 1.25rem; }
  .client__card { height: 140px; }
}

/* ---------- Faixa de CTA ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  background: var(--c-azure-600);
  color: var(--c-white);
}
.cta-band::before { background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.2px); }
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px; top: 50%;
  width: 620px; height: 460px;
  transform: translateY(-50%);
  background: url("../images/topologia-clara.svg") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
}
.cta-band__inner { display: grid; gap: 2rem; }
.cta-band h2 {
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cta-band p { max-width: 38rem; margin-top: 1rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem); color: rgba(255, 255, 255, 0.9); }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; }
.cta-band__note { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.9); }
.cta-band__note a { color: var(--c-white); font-weight: 600; }
.cta-band__note a:hover { color: var(--c-white); }
@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 4rem; }
  .cta-band__actions { align-items: flex-end; text-align: right; }
  .cta-band__note { justify-content: flex-end; }
}
@media (max-width: 479.98px) {
  .cta-band__actions .btn { width: 100%; }
}

/* ==========================================================================
   Páginas de serviço
   ========================================================================== */
.split { display: grid; gap: 2.5rem; }
.split > * { min-width: 0; }
.split__intro .lead { margin-top: 1rem; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; }
}

.pain-list { list-style: none; padding: 0; border-top: 1px solid var(--c-line); }
.pain-list li {
  position: relative;
  padding: 1.125rem 0 1.125rem 2.25rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.0625rem;
  color: var(--c-text);
}
.pain-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem; top: 1.5rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--c-azure-500);
}

.features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.feature {
  min-width: 0;
  padding: 1.75rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.feature .card__icon { margin-bottom: 1.25rem; }
.feature h3 { margin: 0 0 0.5rem; font-size: 1.1875rem; line-height: 1.3; }
.feature p { margin: 0; color: var(--c-muted); }

.benefits { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.benefits li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.0625rem;
}
.benefits .icon { width: 22px; height: 22px; margin-top: 0.1em; color: var(--c-azure-500); }
@media (min-width: 720px) {
  .benefits { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

.apps { display: grid; gap: 1rem; }
@media (min-width: 640px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .apps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.app {
  min-width: 0;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
}
.app .icon { width: 28px; height: 28px; color: var(--c-azure-600); margin-bottom: 1rem; }
.app h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; line-height: 1.35; }
.app p { margin: 0; font-size: 0.9375rem; color: var(--c-muted); }

.diffs { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--c-line-dark); }
.diff { min-width: 0; padding: 1.75rem 0; border-bottom: 1px solid var(--c-line-dark); }
.diff .icon { width: 28px; height: 28px; color: var(--c-azure-400); margin-bottom: 1rem; }
.diff h3 { margin: 0 0 0.5rem; font-size: 1.1875rem; color: var(--c-white); }
.diff p { margin: 0; color: var(--c-on-dark-2); }
@media (min-width: 640px) {
  .diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .diffs { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; border-top: 0; }
  .diff { padding: 2rem 0 0; border-bottom: 0; border-top: 1px solid var(--c-line-dark); }
}

/* FAQ */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; }
}
.faq__list { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1.125rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; color: var(--c-azure-600); transition: transform 0.2s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--c-azure-700); }
.faq__answer { padding: 0 2.5rem 1.5rem 0; color: var(--c-text-2); }

/* Soluções relacionadas */
.related { display: grid; gap: 1rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

/* ==========================================================================
   Sobre
   ========================================================================== */
.prose-lg p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--c-text-2); }
.prose-lg p + p { margin-top: 1.25rem; }

.solution-list { list-style: none; padding: 0; border-top: 1px solid var(--c-line); }
.solution-list li { border-bottom: 1px solid var(--c-line); }
.solution-list a,
.solution-list .solution-list__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.125rem 0;
  color: var(--c-text);
  text-decoration: none;
}
.solution-list a:hover { color: var(--c-azure-700); }
.solution-list .icon { width: 24px; height: 24px; color: var(--c-azure-600); }
.solution-list strong { display: block; font-size: 1.0625rem; }
.solution-list small { display: block; color: var(--c-muted); font-size: 0.9375rem; }
.solution-list .icon-arrow { width: 20px; height: 20px; color: var(--c-muted); transition: transform 0.2s var(--ease); }
.solution-list a:hover .icon-arrow { transform: translateX(3px); color: var(--c-azure-600); }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact-grid { display: grid; gap: 2rem; }
.contact-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
}
.contact-card {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  background: var(--c-ink-900);
  color: var(--c-on-dark);
  border-radius: var(--radius-lg);
}
.contact-card__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
}
.contact-card__label .icon { width: 18px; height: 18px; color: var(--c-wa); }
.contact-card__number {
  text-decoration: none;
  display: block;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-white);
}
.contact-card__number:hover { color: var(--c-white); text-decoration: underline; }
.contact-card p { color: var(--c-on-dark-2); }
.contact-card .btn { margin-top: 1.25rem; }

.info-list { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.info-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--c-line);
}
.info-list .icon { width: 22px; height: 22px; color: var(--c-azure-600); margin-top: 0.125rem; }
.info-list strong { display: block; }
.info-list span { color: var(--c-muted); }

.form-card {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.form-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.form-card > p { color: var(--c-muted); margin-top: 0.5rem; }
.form { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; min-width: 0; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field label .req { color: var(--c-error); }
.field label .opt { font-weight: 400; color: var(--c-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 1rem; /* evita zoom no iOS */
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 18px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-azure-600);
  box-shadow: 0 0 0 3px rgba(0, 112, 184, 0.2);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--c-error); }
.field__error { margin: 0; font-size: 0.875rem; color: var(--c-error); font-weight: 600; }
.form__note { margin: 0; font-size: 0.875rem; color: var(--c-muted); }
.form__status { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--c-text-2); }
.form__status:empty { display: none; }

/* ==========================================================================
   Texto longo (política)
   ========================================================================== */
.prose { max-width: 46rem; color: var(--c-text-2); }
.prose h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  line-height: 1.25;
  color: var(--c-text);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 0.75rem; font-size: 1.125rem; color: var(--c-text); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.prose li::marker { color: var(--c-azure-500); }
.prose strong { color: var(--c-text); }
.prose-meta { font-size: 0.9375rem; color: var(--c-muted); margin-bottom: 2rem; }
.toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-paper);
  border-radius: var(--radius);
}
.toc p { margin: 0 0 0.75rem; font-weight: 600; color: var(--c-text); }
.toc ol { padding-left: 1.25rem; display: grid; gap: 0.375rem; }
mark.todo {
  padding: 0.05em 0.35em;
  border: 1px dashed #c98a00;
  border-radius: 4px;
  background: #fff6db;
  color: #6b4400;
  font-family: var(--font-mono);
  font-size: 0.875em;
}

/* 404 */
.notfound-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer {
  padding: clamp(3.5rem, 3rem + 2vw, 5rem) 0 calc(6rem + env(safe-area-inset-bottom));
  background: var(--c-ink-950);
  color: var(--c-on-dark-2);
  font-size: 0.9375rem;
}
@media (min-width: 640px) {
  .site-footer { padding-bottom: 2rem; }
}
.footer__top { display: grid; gap: 2.5rem; }
.footer__top > * { min-width: 0; }
@media (min-width: 640px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .footer__brand { grid-column: auto; }
}
.footer__logo { display: inline-block; border-radius: 4px; }
.footer__logo img { height: 96px; }
.footer__brand p { max-width: 22rem; margin-top: 1.25rem; }
.footer__title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.25rem; }
.site-footer a { color: var(--c-on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer__col a { display: inline-block; padding: 0.3rem 0; }
.footer__contact li { display: flex; gap: 0.625rem; align-items: center; min-height: 34px; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--c-azure-400); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-dark);
  font-size: 0.875rem;
  color: var(--c-on-dark-muted);
}
.footer__bottom p { margin: 0; }
.footer__copy { display: grid; gap: 0.375rem; }
.footer__credit a {
  color: var(--c-on-dark-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.footer__credit a:hover { color: var(--c-white); text-decoration-color: currentColor; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__legal a { color: var(--c-on-dark-muted); }
.footer__consent {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-on-dark-muted);
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer__consent:hover { color: var(--c-white); }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--c-ink-900);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.55);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0s, background-color 0.15s ease;
}
.wa-float .icon { width: 26px; height: 26px; color: var(--c-wa); }
.wa-float:hover { background: var(--c-ink-700); color: var(--c-white); }
.wa-float__label { display: none; }
@media (min-width: 640px) {
  .wa-float { width: auto; height: 52px; padding: 0 1.125rem 0 0.875rem; }
  .wa-float__label { display: inline; }
}
.js .wa-float:not(.is-visible) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
html.menu-open .wa-float { visibility: hidden; opacity: 0; }

/* ==========================================================================
   Consentimento (só aparece quando algum ID de analytics é configurado)
   ========================================================================== */
.consent {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 34rem;
  padding: 1.25rem 1.25rem 1.125rem;
  background: var(--c-white);
  color: var(--c-text);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
}
.consent h2 { font-size: 1.0625rem; margin: 0 0 0.375rem; }
.consent p { margin: 0; color: var(--c-text-2); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.consent__actions .btn { flex: 1 1 auto; }

/* ==========================================================================
   Animações de entrada (somente com JS e sem "reduzir movimento")
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal-pending {
    opacity: 0;
    transform: translateY(18px);
  }
  .reveal-ready .reveal-pending.is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .cta-band, .consent, .nav-toggle { display: none !important; }
  .hero, .page-hero, .section--dark { background: none !important; color: #000 !important; }
  a { color: #000; }
}
