/*
 * Home de drfelipefontoura.com.br.
 * Só as quatro cores da marca:
 * marrom escuro #48220F, marrom claro #794A30, branco #FFFFFF, creme #FAE4C3.
 * Poppins 400 no texto e 700 nos títulos e botões.
 */

:root {
  --marrom: #48220f;
  --marrom-claro: #794a30;
  --branco: #ffffff;
  --creme: #fae4c3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fae4c3;
  color: #48220f;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
}

a { color: #48220f; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: #48220f;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 5;
}

.skip:focus { transform: none; }

.miolo {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff;
  border-bottom: 1px solid #794a30;
}

.topo-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.marca {
  display: block;
  margin-right: auto;
  background: #000000;
  border-radius: 12px;
  line-height: 0;
}

.marca img {
  display: block;
  height: 52px;
  width: auto;
}

.topo nav {
  display: none;
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 400;
}

.topo nav a { text-decoration: none; color: #48220f; }

@media (min-width: 760px) {
  .topo nav { display: flex; }
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #48220f;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.botao:hover { background: #794a30; color: #ffffff; }

.botao-pequeno { min-height: 40px; font-size: 0.92rem; }

.hero {
  background: #fae4c3;
  padding: 72px 0 80px;
}

.hero-grid { display: grid; gap: 36px; }

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; align-items: end; }
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #794a30;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #48220f;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; max-width: 14ch; }

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; max-width: 18ch; }

.lead {
  max-width: 38rem;
  color: #794a30;
  font-size: 1.05rem;
  line-height: 1.6;
}

.painel {
  background: #ffffff;
  color: #48220f;
  border: 1px solid #794a30;
  border-radius: 24px;
  padding: 28px;
}

.painel-titulo { margin: 0 0 12px; font-weight: 700; color: #48220f; }

.painel ol { margin: 0; padding-left: 18px; line-height: 1.6; color: #794a30; }

.faixa { padding: 80px 0; background: #ffffff; }

.contato { padding: 80px 0; background: #fae4c3; }

.cards {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.cards article {
  border: 1px solid #794a30;
  border-radius: 20px;
  padding: 22px;
  background: #fae4c3;
}

.cards span {
  font-weight: 700;
  color: #794a30;
}

.cards h3 { margin: 10px 0; font-size: 1.25rem; }

.cards p, footer p {
  margin: 0;
  color: #794a30;
  line-height: 1.55;
}

.contato-grid { display: grid; gap: 28px; }

@media (min-width: 880px) {
  .contato-grid { grid-template-columns: 0.8fr 1.2fr; }
}

form { display: grid; gap: 14px; }

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #48220f;
}

label span { font-weight: 400; color: #794a30; }

input, textarea {
  width: 100%;
  border: 1px solid #794a30;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #48220f;
  background: #ffffff;
}

input:focus, textarea:focus {
  outline: 2px solid #48220f;
  border-color: transparent;
}

.aviso { margin: 0; padding: 12px 14px; border-radius: 12px; }
.aviso.ok { background: #ffffff; color: #48220f; border: 1px solid #794a30; }
.aviso.erro { background: #ffffff; color: #48220f; border: 1px solid #48220f; }

footer {
  padding: 28px 0 40px;
  background: #48220f;
  color: #fae4c3;
}

footer strong { color: #ffffff; }

footer p { color: #fae4c3; }

footer .miolo {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
