/* Rodrigo Ferreira (pai) — paleta da identidade: carmesim #7f1713 + dourado #eab932 */
:root {
  --vinho-900: #1f0605;
  --vinho-800: #2e0907;
  --vinho-700: #4a0e0b;
  --carmesim: #7f1713;
  --dourado: #eab932;
  --dourado-suave: #d9b25a;
  --creme: #f5ecdc;
  --creme-2: #e9dcc4;
  --texto: #f5ecdc;
  --texto-suave: rgba(245, 236, 220, .72);
  --serif: "PT Serif", Georgia, serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --raio: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--texto);
  background:
    radial-gradient(120% 60% at 50% 0%, var(--vinho-700) 0%, transparent 70%),
    linear-gradient(180deg, var(--vinho-800) 0%, var(--vinho-900) 100%);
  background-color: var(--vinho-900);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.pagina {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 16px 32px;
  overflow: hidden;
}

/* ---------- Ícones (traço) ---------- */
.ico svg, .ir svg, .sociais svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Topo ---------- */
.hero {
  position: relative;
  text-align: center;
  padding-top: 22px;
}

.mono {
  position: relative;
  z-index: 2;
  width: 46px;
  margin: 0 auto;
  color: var(--creme);
  opacity: .92;
}
.mono svg { display: block; width: 100%; height: auto; }

.foto {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 430px;
  margin: -6px auto 0;
}
.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  /* dissolve o fundo cinza do estúdio no vinho da página */
  -webkit-mask-image: radial-gradient(ellipse 50% 54% at 50% 44%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 54% at 50% 44%, #000 55%, transparent 100%);
  filter: saturate(.92) contrast(1.04) sepia(.12);
}

.identidade {
  position: relative;
  z-index: 2;
  margin-top: -78px;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 10vw, 2.9rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
h1 em {
  display: block;
  font-style: normal;
  color: var(--dourado);
}

.slogan {
  margin-top: 12px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.slogan::before, .slogan::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 10px;
  vertical-align: middle;
  background: var(--dourado);
  opacity: .6;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px 14px 14px;
  border-radius: var(--raio);
  border: 1px solid rgba(234, 185, 50, .28);
  background:
    linear-gradient(100deg, rgba(31, 6, 5, .92) 0%, rgba(74, 14, 11, .7) 60%, rgba(127, 23, 19, .55) 100%);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card::before {
  /* pilastra da identidade como textura no fundo do card */
  content: "";
  position: absolute;
  z-index: -1;
  right: 34px;
  top: -18px;
  width: 120px;
  height: 140px;
  background: url("img/pilastra.svg") center / contain no-repeat;
  filter: invert(79%) sepia(42%) saturate(820%) hue-rotate(358deg) brightness(96%);
  opacity: .1;
  transform: rotate(-8deg);
}
.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(234, 185, 50, .6);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .9);
}
.card:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }

.ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--creme);
  color: var(--carmesim);
  box-shadow: 0 0 0 4px rgba(245, 236, 220, .1);
}
.ico svg { width: 24px; height: 24px; }

.titulo {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--creme);
}
.titulo em { color: var(--dourado); }

.ir {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(245, 236, 220, .4);
  color: var(--creme);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.ir svg { width: 16px; height: 16px; }
.card:hover .ir { background: var(--dourado); border-color: var(--dourado); color: var(--vinho-900); }

/* card de destaque: consultoria */
.card--consultoria {
  border-color: transparent;
  background: linear-gradient(100deg, #f0c84d 0%, var(--dourado) 45%, #c99a24 100%);
}
.card--consultoria::before { filter: none; opacity: .09; }
.card--consultoria .ico { background: var(--carmesim); color: var(--creme); box-shadow: 0 0 0 4px rgba(127, 23, 19, .15); }
.card--consultoria .titulo, .card--consultoria .titulo em { color: var(--vinho-900); }
.card--consultoria .ir { border-color: rgba(31, 6, 5, .45); color: var(--vinho-900); }
.card--consultoria:hover .ir { background: var(--carmesim); border-color: var(--carmesim); color: var(--creme); }

/* ---------- Números ---------- */
.numeros {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  padding: 18px 4px;
  border-top: 1px solid rgba(234, 185, 50, .22);
  border-bottom: 1px solid rgba(234, 185, 50, .22);
  text-align: center;
}
.numeros li + li { border-left: 1px solid rgba(234, 185, 50, .22); }
.numeros strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--dourado);
  line-height: 1.1;
}
.numeros span {
  display: block;
  margin-top: 4px;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

/* ---------- Quem somos ---------- */
.sobre {
  position: relative;
  margin-top: 28px;
  padding: 30px 22px 26px;
  border-radius: var(--raio);
  background: linear-gradient(180deg, var(--creme) 0%, var(--creme-2) 100%);
  color: #3a1512;
  overflow: hidden;
  isolation: isolate;
}
.sobre__pilastra {
  position: absolute;
  z-index: -1;
  right: -40px;
  bottom: -30px;
  width: 210px;
  opacity: .06;
}
.sobre h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--carmesim);
  margin-bottom: 14px;
}
.sobre p {
  font-size: .92rem;
  line-height: 1.7;
}
.sobre p + p { margin-top: 12px; }

.botao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--carmesim);
  color: var(--creme);
  font-size: .88rem;
  font-weight: 500;
  transition: background .25s ease, gap .25s ease;
}
.botao:hover { background: var(--vinho-700); gap: 14px; }

/* ---------- Rodapé ---------- */
.rodape {
  margin-top: 34px;
  text-align: center;
}
.rodape__selo {
  width: 74px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5));
}
.rodape__frase {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--dourado-suave);
}
.sociais {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.sociais a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(234, 185, 50, .4);
  color: var(--dourado);
  transition: background .25s ease, color .25s ease;
}
.sociais a:hover { background: var(--dourado); color: var(--vinho-900); }
.sociais svg { width: 19px; height: 19px; }

address {
  margin-top: 18px;
  font-style: normal;
  font-size: .76rem;
  line-height: 1.6;
  color: var(--texto-suave);
}
.copy {
  margin-top: 6px;
  font-size: .7rem;
  letter-spacing: .06em;
  color: rgba(245, 236, 220, .45);
}

/* ---------- Entrada suave ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero, .card, .numeros, .sobre, .rodape {
    animation: subir .7s cubic-bezier(.2, .7, .2, 1) both;
  }
  .card:nth-child(1) { animation-delay: .15s; }
  .card:nth-child(2) { animation-delay: .22s; }
  .card:nth-child(3) { animation-delay: .29s; }
  .card:nth-child(4) { animation-delay: .36s; }
  .card:nth-child(5) { animation-delay: .43s; }
  .numeros { animation-delay: .5s; }
  .sobre { animation-delay: .55s; }
  .rodape { animation-delay: .6s; }
}
@keyframes subir {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
