/*
 * Acabamento editorial plano
 * Remove relevos artificiais e troca contornos pesados por separadores suaves.
 */

:root {
  --soft-line: rgba(20, 18, 15, 0.14);
  --soft-line-strong: rgba(20, 18, 15, 0.24);
  --soft-line-light: rgba(255, 255, 255, 0.28);
  --soft-surface: #fffdf8;
}

*,
*::before,
*::after {
  box-shadow: none !important;
}

.site-header {
  border-bottom-color: rgba(20, 18, 15, 0.09);
}

.button {
  border-width: 1px;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease,
    border-color 220ms ease;
}

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

.button-outline {
  border-color: var(--soft-line-strong);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.text-link {
  padding-bottom: 4px;
  border-bottom-width: 1px;
}

/* Hero: a fotografia e a assinatura continuam fortes, sem efeito de adesivo. */
.hero-photo-frame {
  border: 0;
}

.hero-photo-frame::after {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-message .hero-slogan .hero-slogan-intro {
  color: var(--white);
}

.hero-candidate-lockup {
  border: 0;
  border-radius: 8px;
  transform: none;
}

.hero-candidate-lockup::before {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 3px;
  content: "";
  background: var(--yellow);
  border-radius: 999px;
  opacity: 0.9;
}

.hero-candidate-star {
  border: 0;
}

/* Números da trajetória: blocos cromáticos limpos e um detalhe tipográfico. */
.fact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: transform 260ms ease, border-color 260ms ease;
}

.fact-card:hover {
  transform: translateY(-3px);
}

.fact-card::after {
  position: absolute;
  top: 27px;
  right: 25px;
  width: 38px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  opacity: 0.28;
}

.fact-card-yellow {
  border-color: var(--soft-line);
}

.fact-card strong {
  padding-bottom: 0;
  border: 0;
}

.fact-card-yellow strong {
  font-size: clamp(2.9rem, 4.1vw, 4.25rem);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

/* Cartões institucionais: superfície clara e ritmo, sem moldura preta. */
.proposal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  transition: transform 260ms ease, border-color 260ms ease;
}

.proposal-card::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 48px;
  height: 3px;
  content: "";
  background: var(--yellow);
  border-radius: 0 0 999px 999px;
}

.proposal-card:hover {
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-3px);
}

.campaign-callout {
  border: 1px solid rgba(20, 18, 15, 0.1);
  border-radius: 18px;
}

.news-panel,
.instagram-embed-shell {
  border: 1px solid var(--soft-line);
  border-radius: 22px;
}

/* Páginas internas e imagens principais. */
.page-hero-image {
  border: 1px solid var(--soft-line-strong);
}

.campaign-poster,
.share-message img {
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  transform: none;
}

.article-aside {
  border: 1px solid rgba(20, 18, 15, 0.11);
  border-radius: 16px;
}

/* Propostas: um filete curto de cor organiza cada eixo sem criar uma caixa dura. */
.proposal-detail {
  --proposal-accent: var(--yellow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  transition: transform 260ms ease, border-color 260ms ease,
    background-color 260ms ease;
}

.proposal-detail:nth-child(2),
.proposal-detail:nth-child(5) {
  --proposal-accent: var(--red);
}

.proposal-detail:nth-child(3) {
  --proposal-accent: var(--blue);
}

.proposal-detail:nth-child(4) {
  --proposal-accent: var(--green);
}

.proposal-detail::before {
  position: absolute;
  top: 0;
  left: clamp(30px, 5vw, 62px);
  width: 52px;
  height: 3px;
  content: "";
  background: var(--proposal-accent);
  border-radius: 0 0 999px 999px;
}

.proposal-detail:hover {
  background: var(--soft-surface);
  border-color: var(--soft-line-strong);
  transform: translateY(-2px);
}

.proposal-icon {
  border: 1px solid rgba(20, 18, 15, 0.1);
}

.proposal-icon::after {
  display: none;
}

.proposal-icon-red,
.proposal-icon-blue,
.proposal-icon-green {
  border-color: rgba(255, 255, 255, 0.3);
}

.participation-list {
  border-top: 1px solid var(--soft-line);
}

.participation-list article {
  border-bottom: 1px solid var(--soft-line);
}

/* O menu móvel vira uma lista editorial, sem botões contornados. */
@media (max-width: 980px) {
  .main-navigation a {
    border: 0;
    border-bottom: 1px solid rgba(20, 18, 15, 0.11);
    border-radius: 0;
  }

  .main-navigation li:last-child a {
    border-bottom: 0;
  }
}

@media (max-width: 590px) {
  .fact-card,
  .proposal-card,
  .proposal-detail,
  .campaign-callout,
  .news-panel,
  .instagram-embed-shell,
  .campaign-poster,
  .share-message img,
  .article-aside {
    border-radius: 14px;
  }

  .hero-photo-frame::after {
    border-width: 1px;
  }

  .hero-candidate-lockup {
    border-width: 0;
  }

  .proposal-card::before {
    left: 24px;
  }
}
