:root {
  --red: rgb(200, 16, 46);
  --red-dark: #9e0c24;
  --black: #111111;
  --white: #ffffff;
  --paper: #f7f5f3;
  --muted: #5a5a5a;
  --line: rgba(17, 17, 17, 0.12);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  gap: 1rem;
}
.brand {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
nav { display: flex; gap: 1.15rem; }
nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
nav a:hover, nav a:focus-visible { color: var(--red); }

.hero {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.kicker {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }
h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 9vw, 5.4rem);
  line-height: 0.98;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  font-size: 1.2rem;
  color: #2a2a2a;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover, .btn-red:focus-visible { background: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--red); color: var(--red); }

.temas, .explica, .contato { padding: 4.5rem 0; }
.section-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
h2 { margin: 0 0 1.75rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { margin: 0 0 0.45rem; font-size: 1.35rem; }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.grid li {
  border: 1px solid var(--line);
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--white);
}
.grid li:hover { border-color: var(--red); }
.num {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}
.grid p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.explica {
  background: var(--black);
  color: var(--white);
}
.explica .section-label { color: #ff8a9a; }
.explica h2 { max-width: 16ch; }
.explica p {
  max-width: 36rem;
  margin: 0 0 2rem;
  color: #e8e8e8;
  font-size: 1.15rem;
}
.ig {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  width: fit-content;
}
.ig-at {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.ig-go {
  font-size: 0.95rem;
  color: #ff8a9a;
  font-weight: 600;
}
.ig:hover .ig-at, .ig:focus-visible .ig-at { color: #ffd4da; }

.contato { background: var(--paper); }
.mail { margin: 1.5rem 0 0; }
.mail a {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--red);
  word-break: break-word;
}
.mail a:hover, .mail a:focus-visible { text-decoration: underline; }

.foot {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot p { margin: 0; }
.foot a { text-decoration: none; font-weight: 600; color: var(--black); }
.foot a:hover, .foot a:focus-visible { color: var(--red); }

@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 6.5rem 0 6.75rem; }
  .wrap { width: min(1080px, calc(100% - 4rem)); }
}

@media (max-width: 540px) {
  nav a:last-child { display: none; }
  .hero { padding: 3.2rem 0 3.6rem; }
  .temas, .explica, .contato { padding: 3.2rem 0; }
}
