/* França Digital — estilos globais (site, contato, quiz, áreas de login)
   Identidade: vinho #710014 (principal), #390000 (segunda), preto e branco, com um
   mix de rosa (forte + delicado, leve efeito metalizado) em pontos pontuais —
   botão principal, painel do quiz, blob do hero e os números de estatística.
   Para ajustar as cores, edite apenas os tokens em :root. */

:root {
  --brand: #710014;
  --brand-deep: #390000;
  --brand-rose: #c9184a;
  --brand-pink: #f2b8c6;
  --brand-gradient: linear-gradient(135deg, #8c1230 0%, #710014 48%, #2a0006 100%);
  --brand-gradient-soft: linear-gradient(120deg, #710014 0%, #c9184a 40%, #d94268 55%, #c9184a 70%, #710014 100%);
    /* usado hoje só nas estrelinhas de avaliação dos depoimentos (.fb .stars) */
  --brand-gradient-text: linear-gradient(135deg, #000000 0%, #2a0006 18%, #710014 34%, #c9184a 52%, #8c1230 70%, #000000 86%, #4d000c 100%);
  /* mesma ideia, mas para uso sobre superfícies sempre escuras (menu lateral) — tons claros de rosa */
  --brand-gradient-on-dark: linear-gradient(100deg, #ff9fb0 0%, #e0597a 35%, #ff7a92 50%, #e0597a 65%, #ff9fb0 100%);
  --bg: #fbf8f7;
  --surface: #ffffff;
  --surface-2: #f5eded;
  --ink: #170a0c;
  --muted: #66565a;
  --line: #e8dddd;
  --accent: #710014;
  --accent-ink: #ffffff;
  --accent-text: #710014;
  --accent-soft: #f6e4e7;
  --ok: #1f7a4d;
  --warn: #a8690f;
  --danger: #c0290c;
  --focus: #1b4dff;
  --panel-bg: #390000;
  --panel-ink: #ffffff;
  --panel-muted: #dcc3c7;
  --panel-accent: #ff9fb0;

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(57, 0, 0, 0.04), 0 18px 40px -18px rgba(57, 0, 0, 0.28);
  --shadow-sm: 0 1px 2px rgba(57, 0, 0, 0.06), 0 6px 16px -8px rgba(57, 0, 0, 0.2);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c0506;
    --surface: #170a0c;
    --surface-2: #211014;
    --ink: #f8f1f1;
    --muted: #b9a7aa;
    --line: #37191e;
    --accent: #8f1430;
    --accent-ink: #ffffff;
    --accent-text: #ff9fb0;
    --accent-soft: #2c0c14;
    --ok: #4fc58a;
    --warn: #e0a441;
    --danger: #ff7a5c;
    --focus: #8fa8ff;
    --panel-bg: #2a0000;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px -18px rgba(0, 0, 0, 0.75);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px -8px rgba(0, 0, 0, 0.6);
    --brand-gradient-text: linear-gradient(135deg, #ff9fb0 0%, #ff5578 22%, #e0304f 40%, #ff7a92 58%, #c9184a 74%, #ff9fb0 92%, #ffd1db 100%);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0c0506;
  --surface: #170a0c;
  --surface-2: #211014;
  --ink: #f8f1f1;
  --muted: #b9a7aa;
  --line: #37191e;
  --accent: #8f1430;
  --accent-ink: #ffffff;
  --accent-text: #ff9fb0;
  --accent-soft: #2c0c14;
  --ok: #4fc58a;
  --warn: #e0a441;
  --danger: #ff7a5c;
  --focus: #8fa8ff;
  --panel-bg: #2a0000;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px -8px rgba(0, 0, 0, 0.6);
  --brand-gradient-text:linear-gradient(135deg, #ff9fb0 0%, #ff5578 22%, #e0304f 40%, #ff7a92 58%, #c9184a 74%, #ff9fb0 92%, #ffd1db 100%);
  color-scheme: dark;
}

/* ---------- barra de rolagem (fundo transparente, barra no vermelho da marca) ---------- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand) transparent;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--brand);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: var(--brand-deep);
}
*::-webkit-scrollbar-corner {
  background: transparent;
}

/* logo: versão vinho no claro, branca no escuro */
.logo-dark {
  display: none;
}
:root[data-theme='dark'] .logo-light {
  display: none;
}
:root[data-theme='dark'] .logo-dark {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo-light {
    display: none;
  }
  :root:not([data-theme='light']) .logo-dark {
    display: block;
  }
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  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: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 720px) {
  .container {
    padding-inline: 32px;
  }
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- botões ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 0.98rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-primary {
  --btn-bg: var(--brand-gradient-soft);
  --btn-fg: var(--accent-ink);
  --btn-bd: transparent;
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-bd: var(--line);
}
.btn-ghost:hover {
  --btn-bd: var(--ink);
}
.btn-light {
  --btn-bg: #ffffff;
  --btn-fg: #390000;
  --btn-bd: var(--panel-ink);
}
.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}
.btn .icon {
  transition: transform 0.18s ease;
}
.btn:hover .icon-arrow {
  transform: translateX(3px);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.icon-btn:hover {
  border-color: var(--ink);
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.brand .logo {
  height: 42px;
  width: auto;
}
.nav {
  display: none;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 4px;
  transition: color 0.15s ease;
}
[data-optional] {
  display: none !important;
}
.has-projects [data-optional] {
  display: revert !important;
}
.nav a.btn {
  padding: 0 24px;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta {
  display: none !important;
}
.menu-toggle {
  display: inline-grid;
}
.theme-toggle .i-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .i-sun {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .i-moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .i-sun {
    display: none;
  }
  :root:not([data-theme='light']) .theme-toggle .i-moon {
    display: block;
  }
}

/* menu móvel */
.nav.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  padding: 12px 20px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav.open a {
  padding: 14px 4px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.nav.open .nav-extra {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 0;
  justify-content: center;
  color: var(--btn-fg);
}
.nav.open .nav-extra.btn-primary {
  color: var(--accent-ink);
}
.nav-extra {
  display: none;
}

@media (min-width: 1180px) {
  .nav {
    display: flex;
    gap: 20px;
  }
  .menu-toggle {
    display: none;
  }
  .header-cta {
    display: inline-flex !important;
  }
  .nav.open {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav.open a {
    padding: 8px 4px;
    font-size: 0.95rem;
    border: 0;
  }
  .nav.open .nav-extra {
    display: none;
  }
}

/* ---------- seções ---------- */
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-top: 18px;
  letter-spacing: -0.028em;
}
.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent-text);
}
.hero-lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-note {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* composição visual do hero (100% CSS) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.95;
  min-height: 340px;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}
.hv-blob {
  position: absolute;
  inset: 8% 4% 4% 10%;
  background: linear-gradient(135deg, var(--brand-pink) 0%, var(--accent-soft) 100%);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
}
.hv-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.hv-cal {
  left: 0;
  top: 6%;
  width: 62%;
  padding: 18px;
  transform: rotate(-3deg);
}
.hv-cal header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hv-cal header span {
  color: var(--muted);
  font-weight: 600;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.cal-grid i {
  aspect-ratio: 1;
  border-radius: 7px;
  background: var(--surface-2);
}
.cal-grid i.on {
  background: var(--accent);
}
.cal-grid i.on2 {
  background: var(--ink);
}
.cal-grid i.line {
  background: transparent;
  border: 1.5px dashed var(--line);
}
.hv-post {
  right: 0;
  top: 20%;
  width: 56%;
  padding: 12px;
  transform: rotate(4deg);
}
.hv-post .art {
  aspect-ratio: 1 / 0.82;
  border-radius: 12px;
  background: linear-gradient(150deg, #710014 0%, #390000 100%);
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 6px;
  padding: 14px 14px 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}
.hv-post .art img {
  height: 100%;
  width: auto;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}
.hv-post .lines {
  display: grid;
  gap: 7px;
  margin: 12px 4px 4px;
}
.hv-post .lines i {
  height: 7px;
  border-radius: 6px;
  background: var(--surface-2);
}
.hv-post .lines i:last-child {
  width: 60%;
}
.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hv-chip .icon {
  width: 1.1em;
  height: 1.1em;
  color: #4fc58a;
}
.hv-chip.c1 {
  left: 4%;
  bottom: 26%;
}
.hv-chip.c2 {
  right: 2%;
  bottom: 2%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.hv-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hv-cal {
    animation: float 7s ease-in-out infinite;
  }
  .hv-post {
    animation: float 8s ease-in-out infinite reverse;
  }
  .hv-chip.c1 {
    animation: float 6s ease-in-out infinite;
  }
  @keyframes float {
    50% {
      translate: 0 -8px;
    }
  }
}

/* ---------- faixa ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.strip-track {
  display: flex;
  width: max-content;
  gap: 0;
}
.strip ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 18px 0;
  gap: 0;
}
.strip li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.strip li::after {
  content: '✦';
  color: var(--accent);
  margin-inline: 28px;
  font-size: 0.9rem;
}
@media (prefers-reduced-motion: no-preference) {
  .strip-track {
    animation: marquee 32s linear infinite;
  }
  @keyframes marquee {
    to {
      transform: translateX(-50%);
    }
  }
}

/* ---------- quem somos ---------- */
.about-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
}
.about-text p {
  font-size: 1.12rem;
  color: var(--muted);
}
.about-text p + p {
  margin-top: 16px;
}
.pillars {
  display: grid;
  gap: 14px;
}
.pillar {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pillar .n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 800;
}
.pillar h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.pillar p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- o brasil no instagram (estatísticas) ---------- */
.stats {
  background: var(--surface-2);
}
.stats-grid {
  display: grid;
  gap: 32px;
  padding-top: 8px;
}
@media (min-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .stat-item {
    padding-inline: 32px;
    border-left: 1px solid var(--line);
  }
  .stat-item:first-child {
    padding-left: 0;
    border-left: none;
  }
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-text);
}
.stat-num small {
  font-size: 0.42em;
  font-weight: 700;
  margin-left: 2px;
}
.stat-item p {
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.02rem;
}
.stats-note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 62ch;
}
.stats-source {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- serviços ---------- */
.services {
  background: var(--surface-2);
}
.services-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.service .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-text);
  letter-spacing: 0.04em;
}
.service h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.service p {
  color: var(--muted);
  font-size: 1rem;
}
.services-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.services-cta p {
  color: var(--muted);
}

/* ---------- tudo o que vem incluso ---------- */
.checklist {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .checklist {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
  }
}
@media (min-width: 1000px) {
  .checklist {
    grid-template-columns: repeat(3, 1fr);
  }
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
}
.checklist .icon {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  color: var(--ok);
}
.included-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* ---------- como trabalhamos ---------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
.step {
  position: relative;
  padding: 24px 0 24px 64px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
@media (min-width: 900px) {
  .step {
    padding: 56px 0 0;
    border-top: 2px solid var(--ink);
  }
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.026em;
  color: var(--accent-text);
}
@media (min-width: 900px) {
  .step::before {
    top: 14px;
  }
}
.step h3 {
  font-size: 1.25rem;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- painel do quiz (chamada) ---------- */
.panel {
  position: relative;
  overflow: hidden;
  background: var(--brand-gradient);
  color: var(--panel-ink);
  border-radius: 28px;
  padding: clamp(32px, 6vw, 72px);
  isolation: isolate;
}
.panel::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(242, 184, 198, 0.4), transparent 66%);
  z-index: -1;
}
.panel::after {
  content: '';
  position: absolute;
  right: clamp(16px, 6vw, 88px);
  bottom: 0;
  width: clamp(120px, 20vw, 240px);
  aspect-ratio: 405 / 640;
  background: url('/assets/brand/torre-branca.png') center bottom / contain no-repeat;
  opacity: 0.13;
  z-index: -1;
  pointer-events: none;
}
.panel h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 18ch;
  letter-spacing: -0.026em;
}
.panel p {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--panel-muted);
}
.panel .eyebrow {
  color: var(--panel-accent);
}
.panel .btn {
  margin-top: 32px;
}
.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--panel-muted);
}
.panel-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.panel-meta .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--panel-accent);
}

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  letter-spacing: -0.028em;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-final p {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 1.12rem;
  color: var(--muted);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 28px;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--surface);
}
.footer-top {
  display: grid;
  gap: 28px;
}
@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: start;
  }
}
.footer-brand {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.footer-brand .logo {
  height: 40px;
  width: auto;
}
.footer-brand p {
  max-width: 44ch;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.social-link span {
  color: var(--accent-text);
}
.social-link:hover {
  border-color: var(--accent-text);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.footer-links a {
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

/* ---------- páginas internas ---------- */
.page-hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  letter-spacing: -0.026em;
  margin-top: 14px;
  max-width: 18ch;
}
.page-hero p {
  margin-top: 18px;
  max-width: 580px;
  font-size: 1.12rem;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  gap: 32px;
  padding-bottom: clamp(64px, 9vw, 112px);
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: start;
  }
}
.aside-list {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.aside-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.aside-list .ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.aside-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.aside-list span {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- formulários ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .span-2 {
    grid-column: 1 / -1;
  }
}
.field {
  display: grid;
  gap: 7px;
}
.field label,
.field .label {
  font-weight: 700;
  font-size: 0.92rem;
}
.field .opt {
  font-weight: 500;
  color: var(--muted);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.textarea {
  min-height: 130px;
  resize: vertical;
}
.input::placeholder,
.textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: color-mix(in srgb, var(--ink) 40%, var(--line));
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  background: var(--surface);
}
.field[data-invalid='true'] .input,
.field[data-invalid='true'] .select,
.field[data-invalid='true'] .textarea {
  border-color: var(--danger);
}
.field-error {
  min-height: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--danger);
}
.field-error:empty {
  display: none;
}
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.field .check {
  font-weight: 500;
}
.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.check a {
  color: var(--ink);
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 22px;
}
.form-status {
  font-size: 0.95rem;
  font-weight: 600;
}
.form-status.error {
  color: var(--danger);
}
.success {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 8px 0;
}
.success .badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 18%, transparent);
  color: var(--ok);
}
.success .badge .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}
.success h2 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}
.success p {
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- quiz ---------- */
.quiz-wrap {
  padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 112px);
}
.quiz-shell {
  max-width: 780px;
  margin-inline: auto;
}
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.quiz-card:focus {
  outline: none;
}
.quiz-intro h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  letter-spacing: -0.028em;
  margin-top: 14px;
}
.quiz-intro p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}
.quiz-intro .btn {
  margin-top: 30px;
}
.quiz-intro .fine {
  margin-top: 16px;
  font-size: 0.9rem;
}
.progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.progress-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.q-dim {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.q-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.024em;
}
.q-title:focus {
  outline: none;
}
.q-hint {
  margin-top: 10px;
  color: var(--muted);
}
.options {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  border: 0;
}
.option {
  position: relative;
}
.option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.option label {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.option label::before {
  content: '';
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.option:hover label {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.option input:checked + label {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.option input:checked + label::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}
.option input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 10px 4px;
  font: 700 0.95rem/1 var(--font-body);
  color: var(--muted);
  cursor: pointer;
}
.link-btn:hover {
  color: var(--ink);
}
.link-btn[hidden] {
  display: none;
}
.capture h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.026em;
}
.capture > p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* relatório */
.report-top {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 640px) {
  .report-top {
    grid-template-columns: auto 1fr;
    gap: 36px;
  }
}
.gauge {
  position: relative;
  width: 168px;
  height: 168px;
  margin-inline: auto;
}
.gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gauge .track {
  stroke: var(--surface-2);
}
.gauge .fill {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gauge-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.gauge-num b {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.gauge-num span {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  max-width: 11ch;
  line-height: 1.2;
}
.report-top h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.026em;
  margin-top: 8px;
}
.report-top p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}
.notice {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 0.95rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice .icon {
  margin-top: 2px;
  color: var(--ok);
}
.notice.warn .icon {
  color: var(--warn);
}
.report h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 36px 0 6px;
}
.dims {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dim {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.dim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.dim-head strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  background: color-mix(in srgb, var(--tag) 14%, transparent);
  color: var(--tag);
}
.tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.tag.ok {
  --tag: var(--ok);
}
.tag.attention {
  --tag: var(--warn);
}
.tag.priority {
  --tag: var(--danger);
}
.dim-answer {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}
.dim-insight {
  margin-top: 8px;
}
.next-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: s;
}
.next-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}
.next-steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 800;
}
.report-cta {
  margin-top: 36px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 22px;
  background: var(--panel-bg);
  color: var(--panel-ink);
}
.report-cta h3 {
  margin: 0;
  font-size: 1.5rem;
}
.report-cta p {
  margin-top: 8px;
  color: var(--panel-muted);
}
.report-cta .btn {
  margin-top: 20px;
}
.loading {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 48px 0;
  color: var(--muted);
  font-weight: 600;
}
.spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- textos legais / admin ---------- */
.prose {
  max-width: 720px;
  padding-bottom: clamp(64px, 9vw, 112px);
}
.prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 36px 0 10px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  padding-left: 20px;
  margin: 10px 0;
}
.prose a {
  color: var(--accent-text);
  font-weight: 600;
}
.draft-note {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px dashed var(--warn);
  color: var(--ink);
  font-size: 0.95rem;
}
.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 110px);
  display: grid;
  place-items: center;
  padding-block: 40px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}
.auth-card h1 {
  font-size: 2rem;
  letter-spacing: -0.026em;
}
.auth-card > p {
  margin: 10px 0 22px;
  color: var(--muted);
}

/* ---------- negrito e títulos de login (fora do admin/cliente) — cor sólida, sem degradê ---------- */
body:not(.app) strong,
body:not(.app) b {
     font-weight: 800;
     color: var(--accent-text);
}
.auth-card h1 {
     letter-spacing: -0.026em;
     color: var(--accent-text);
}

/* ---------- revelar ao rolar ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
  }
}

/* ---------- vitrine: projetos e feedbacks ---------- */
.projects-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.project {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.project-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, #710014, #390000);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project h3 {
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}
.project .handle {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.project-desc {
  color: var(--muted);
  font-size: 0.97rem;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.thumbs img,
.thumbs .ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-2);
}
.project-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
}
.project-link:hover {
  text-decoration: underline;
}
.feedback-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .feedback-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.fb {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fb .stars {
  color: #96123a;
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  line-height: 1;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .fb .stars {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.fb blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.fb blockquote::before {
  content: '“';
  color: var(--accent-text);
}
.fb blockquote::after {
  content: '”';
  color: var(--accent-text);
}
.fb figcaption {
  margin-top: auto;
  display: grid;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- últimos posts do Instagram ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) {
  .ig-grid {
    gap: 16px;
  }
}
.ig-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ig-item:hover img {
  transform: scale(1.06);
}
.ig-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--brand-deep) 55%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ig-item .ig-open {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 1.4em;
  height: 1.4em;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.25s ease;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.ig-item:hover::after,
.ig-item:hover .ig-open {
  opacity: 1;
}
.ig-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.fine {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}
.field .fine {
  margin-top: 4px;
}

/* ---------- login: campo de senha com botão mostrar/ocultar ---------- */
.pass-wrap {
  position: relative;
}
.pass-wrap .input {
  padding-right: 92px;
}
.pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--accent-text);
  font: 700 0.85rem/1 var(--font-body);
  cursor: pointer;
}
.pass-toggle:hover {
  background: var(--accent-soft);
}

/* atributo hidden sempre esconde, mesmo em componentes com display próprio */
[hidden] {
  display: none !important;
}

/* cabeçalho: nada quebra em duas linhas; o botão Admin vira só o cadeado no desktop */
.nav a,
.header-cta,
.nav-extra {
  white-space: nowrap;
}
.header-icon {
  padding: 0 !important;
  width: 40px;
  justify-content: center;
}
@media (min-width: 1180px) {
  .nav {
    gap: 16px;
  }
}
/* vitrine: 1 ou 2 miniaturas ocupam a largura toda, em vez de ficarem pequenas */
.thumbs[data-n='1'] {
  grid-template-columns: minmax(0, 1fr);
}
.thumbs[data-n='1'] img {
  aspect-ratio: 4 / 3;
}
.thumbs[data-n='2'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- página escondida "Meus Links" (bio do Instagram) ---------- */
.linkbio-wrap {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding: clamp(40px, 9vh, 88px) 18px 48px;
  background: var(--brand-gradient);
  color: var(--panel-ink);
}
.linkbio-wrap::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(242, 184, 198, 0.35), transparent 68%);
  z-index: -1;
}
.linkbio-wrap::after {
  content: '';
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(201, 24, 74, 0.35), transparent 68%);
  z-index: -1;
}
.linkbio-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.linkbio-avatar {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}
.linkbio-avatar img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.linkbio-name {
  margin: 20px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
}
.linkbio-handle {
  margin: 4px 0 0;
  color: var(--panel-muted);
  font-size: 0.95rem;
}
.linkbio-links {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.linkbio-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--panel-ink);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.linkbio-link:hover,
.linkbio-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}
.linkbio-link:active {
  transform: translateY(0);
}
.linkbio-link .linkbio-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.linkbio-link .linkbio-icon .icon {
  width: 19px;
  height: 19px;
}
.linkbio-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--panel-muted);
  font-size: 0.85rem;
}
.linkbio-footer img {
  height: 16px;
  width: auto;
  opacity: 0.9;
}
.linkbio-footer a {
  color: var(--panel-ink);
  font-weight: 700;
  text-decoration: none;
}
.linkbio-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 380px) {
  .linkbio-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .linkbio-avatar {
    width: 80px;
    height: 80px;
  }
  .linkbio-avatar img {
    width: 42px;
    height: 42px;
  }
  .linkbio-name {
    font-size: 1.3rem;
  }
  .linkbio-link {
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .linkbio-link .linkbio-icon {
    width: 32px;
    height: 32px;
  }
  .linkbio-link .linkbio-icon .icon {
    width: 16px;
    height: 16px;
  }
}
@media (min-width: 560px) {
  .linkbio-card {
    max-width: 440px;
  }
}
