/* Rodrigo Ferreira — paleta do briefing: cinza, azul e preto */
:root {
  --preto: #07090d;
  --grafite: #0f141c;
  --marinho: #142338;
  --azul: #2f5d8a;
  --azul-claro: #8fb6df;
  --cinza: #9aa4b0;
  --cinza-claro: #e3e8ee;
  --texto: #eef2f6;
  --texto-suave: rgba(238, 242, 246, .68);
  --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%, #1b2b42 0%, transparent 70%),
    linear-gradient(180deg, var(--grafite) 0%, var(--preto) 100%);
  background-color: var(--preto);
  -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(--cinza-claro);
  opacity: .92;
}
.mono svg, .rodape__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%;
  /* foto inteira (sem corte) para afastar o enquadramento do rosto */
  object-fit: contain;
  object-position: 50% 100%;
  /* dissolve o fundo cinza do estúdio no azul-escuro da página */
  -webkit-mask-image: radial-gradient(ellipse 38% 56% at 50% 44%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 38% 56% at 50% 44%, #000 58%, transparent 100%);
  filter: saturate(.95) contrast(1.05);
}

.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(--azul-claro);
}

.slogan {
  margin-top: 12px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.slogan::before, .slogan::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin: 0 8px;
  vertical-align: middle;
  background: var(--azul-claro);
  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(143, 182, 223, .22);
  background:
    linear-gradient(100deg, rgba(7, 9, 13, .94) 0%, rgba(20, 35, 56, .78) 60%, rgba(47, 93, 138, .45) 100%);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9), 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(1);
  opacity: .06;
  transform: rotate(-8deg);
}
.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 182, 223, .55);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .95);
}
.card:focus-visible { outline: 2px solid var(--azul-claro); outline-offset: 3px; }

.ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cinza-claro);
  color: var(--marinho);
  box-shadow: 0 0 0 4px rgba(227, 232, 238, .08);
}
.ico svg { width: 24px; height: 24px; }

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

.ir {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(238, 242, 246, .35);
  color: var(--texto);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.ir svg { width: 16px; height: 16px; }
.card:hover .ir { background: var(--azul-claro); border-color: var(--azul-claro); color: var(--preto); }

/* card de destaque: consultoria */
.card--consultoria {
  border-color: rgba(143, 182, 223, .5);
  background: linear-gradient(100deg, #4479ad 0%, var(--azul) 50%, #1d3f63 100%);
}
.card--consultoria::before { opacity: .1; }
.card--consultoria .ico { background: #fff; color: var(--azul); }
.card--consultoria .titulo, .card--consultoria .titulo em { color: #fff; }
.card--consultoria .ir { border-color: rgba(255, 255, 255, .55); color: #fff; }
.card--consultoria:hover .ir { background: #fff; border-color: #fff; color: var(--azul); }

/* ---------- Quem somos ---------- */
.sobre {
  position: relative;
  margin-top: 28px;
  padding: 30px 22px 26px;
  border-radius: var(--raio);
  background: linear-gradient(180deg, #f1f4f7 0%, #dfe5ec 100%);
  color: #1a2433;
  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(--marinho);
  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(--marinho);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  transition: background .25s ease, gap .25s ease;
}
.botao:hover { background: var(--azul); gap: 14px; }

/* ---------- Rodapé ---------- */
.rodape {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(143, 182, 223, .16);
  text-align: center;
}
.rodape__mono {
  width: 40px;
  margin: 0 auto;
  color: var(--cinza);
}
.rodape__frase {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--azul-claro);
}
.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(143, 182, 223, .4);
  color: var(--azul-claro);
  transition: background .25s ease, color .25s ease;
}
.sociais a:hover { background: var(--azul-claro); color: var(--preto); }
.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(238, 242, 246, .42);
}

/* ---------- Entrada suave ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero, .card, .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: .21s; }
  .card:nth-child(3) { animation-delay: .27s; }
  .card:nth-child(4) { animation-delay: .33s; }
  .card:nth-child(5) { animation-delay: .39s; }
  .card:nth-child(6) { animation-delay: .45s; }
  .sobre { animation-delay: .5s; }
  .rodape { animation-delay: .55s; }
}
@keyframes subir {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
