/* ==========================================================================
   oguilherme.com
   Light mode. Highlight em gradiente verde azulado para ciano.
   Headlines: Inter 400 com eixo óptico. Eyebrows: Hanuman, 20% de tracking.
   Sem réguas horizontais: a separação é respiro e tom.
   ========================================================================== */

:root {
  /* papel */
  --paper:        #f7f8f7;
  --paper-raised: #ffffff;
  --paper-sunk:   #edf0ef;

  /* tinta */
  --ink:    #0f1a18;
  --ink-2:  #4c5956;
  --ink-3:  #808c89;

  /* traço fino, só em campo de formulário e botão */
  --hair:        rgba(15, 26, 24, .14);
  --hair-strong: rgba(15, 26, 24, .28);

  /* acento */
  --accent:      #3e8e5a;   /* destaque em texto */
  --accent-deep: #2f6e45;   /* mesma família, para texto pequeno */
  --grad:        linear-gradient(100deg, #3e8e5a 0%, #66ae5f 100%);
  --grad-wash:   linear-gradient(140deg, rgba(62,142,90,.10) 0%, rgba(102,174,95,.05) 55%, rgba(102,174,95,0) 100%);

  /* logo */
  --logo-size: 17px;

  --maxw: 1180px;
  --gutter: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv05";
}

a { color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0; }
::selection { background: rgba(62, 142, 90, .18); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------- tipografia */

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.55rem, 5.9vw, 4.3rem);
  line-height: 1.045;
}

h2 {
  font-size: clamp(1.85rem, 3.7vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.32;
  letter-spacing: -0.022em;
}

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.18rem);
  color: var(--ink-2);
  max-width: 48ch;
}

.body { color: var(--ink-2); max-width: 62ch; }
.body + .body { margin-top: 1.1em; }

/* trecho em destaque */
.hl { color: var(--accent); }

/* eyebrow: Hanuman com 20% de espaçamento entre caracteres */
.eyebrow {
  font-family: "Hanuman", Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 247, .82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}

/* logo: Hanuman em caixa alta. Abre inteiro e recolhe no "G" depois de 2s. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  font-family: "Hanuman", Georgia, serif;
  font-size: var(--logo-size);
  line-height: 1.6;
  text-transform: uppercase;
}
.brand__name { font-weight: 700; color: #000; }
.brand__role { font-weight: 400; color: #767981; }
.brand__dot {
  width: 3.2px;
  height: 3.2px;
  border-radius: 999px;
  background: #767981;
  flex: 0 0 auto;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: calc(var(--logo-size) * 1.09);
  height: calc(var(--logo-size) * 1.16);
  border-radius: calc(var(--logo-size) * 0.36);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--logo-size);
  line-height: 1;
  padding-top: .12em;
}

/* estado recolhido: só o G e o cargo */
.brand--sign .brand__name,
.brand--sign .brand__dot { display: none; }

/* a marca da nav faz a transição uma vez, no carregamento */
.nav .brand__mark,
.nav .brand__name,
.nav .brand__dot { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .nav .brand__mark {
    width: 0;
    opacity: 0;
    margin-right: -10px;
    animation: markIn .45s cubic-bezier(.22,.68,.36,1) 2s forwards;
  }
  .nav .brand__name {
    max-width: 16em;
    animation: nameOut .45s cubic-bezier(.5,0,.6,1) 2s forwards;
  }
  .nav .brand__dot { animation: dotOut .25s linear 2s forwards; }
}

@media (prefers-reduced-motion: reduce) {
  .nav .brand__name, .nav .brand__dot { display: none; }
}

@keyframes markIn {
  to { width: calc(var(--logo-size) * 1.09); opacity: 1; margin-right: 0; }
}
@keyframes nameOut {
  to { max-width: 0; opacity: 0; margin-right: -10px; }
}
@keyframes dotOut {
  to { width: 0; opacity: 0; margin-right: -10px; }
}

.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.008em;
  text-decoration: none;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
  background: var(--grad);
  transition: filter .18s ease, transform .18s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { filter: grayscale(.35) brightness(1.1); cursor: default; }

.nav .btn { padding: 11px 20px; font-size: 14px; }

/* CTA secundário: texto com sublinhado em gradiente */
.btn-text {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 3px;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1.5px;
  transition: background-size .2s ease;
}
.btn-text:hover { background-size: 100% 2.5px; }

.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.link {
  text-decoration: none;
  background-image: linear-gradient(var(--hair-strong), var(--hair-strong));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition: background-image .18s ease, color .18s ease;
}
.link:hover { background-image: var(--grad); color: var(--accent-deep); }

/* --------------------------------------------------------------- seções */

.section { padding: clamp(76px, 9vw, 124px) 0; }
.section--tight { padding: clamp(52px, 7vw, 88px) 0; }

/* o eyebrow fica acima do título e o conteúdo usa a largura da página */
.editorial { display: block; }
.editorial__aside { margin-bottom: 22px; }

/* duas colunas iguais */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

/* painel afundado, com canto, no lugar de régua */
.panel {
  background: var(--paper-sunk);
  border-radius: 26px;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 64px);
}
.panel .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); }
.panel h2 { max-width: 14ch; }

/* ----------------------------------------------------------------- hero */

.hero { padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 72px); }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 { max-width: 21ch; }
.hero .lead { margin-top: 30px; }
.hero .actions { margin-top: 40px; }

/* ----------------------------------------------- prova: três frases, sem grade */

/* alinha com a coluna de conteúdo das seções editoriais */
.indent { margin-left: 0; }

.statement {
  font-size: clamp(1.42rem, 2.5vw, 2rem);
  line-height: 1.38;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 19em;
  text-wrap: pretty;
}

/* -------------------------------------------------------------- ofertas */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.offer + .offer { margin-top: clamp(56px, 7vw, 96px); }
.offer__text h3 { margin-bottom: 14px; font-size: 1.3rem; }
.offer__text p { color: var(--ink-2); max-width: 46ch; }

/* -------------------------------------------------------------- serviços */

#servicos h2 { max-width: 26ch; }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 80px);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: 24px 0 clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--hair-strong);
}

.service h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: var(--c, var(--accent));
}

.service p {
  color: var(--ink-2);
  font-size: .97rem;
  line-height: 1.55;
  max-width: 34ch;
}


/* -------------------------------------------------------------- processo */

.steps { display: grid; gap: 0; }
.step {
  position: relative;
  padding: 0 0 clamp(40px, 5vw, 56px) clamp(52px, 6vw, 76px);
}
.step:last-child { padding-bottom: 0; }
/* fio vertical em gradiente: marca a sequência, não separa seções */
.step::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(62,142,90,.55), rgba(102,174,95,.14));
}
.step:last-child::before { display: none; }
.step__n {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 52ch; }

/* ---------------------------------------------------------------- listas */

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; max-width: 56ch; }
.list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.5;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--grad);
}

/* ----------------------------------------------- placeholder de imagem */

.ph {
  margin: 0;
  position: relative;
  border-radius: 14px;
  background: var(--grad-wash), var(--paper-sunk);
  aspect-ratio: var(--ratio, 4 / 3);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.ph__label {
  font-size: 13px;
  line-height: 1.45;
  color: #6c7a77;
  max-width: 40ch;
}
.ph--wide { --ratio: 21 / 9; border-radius: 20px; }
.ph--panorama { --ratio: 16 / 7; border-radius: 20px; }

.caption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 52ch;
}

/* -------------------------------------------------------------- contato */

.form { display: grid; gap: 26px; max-width: 460px; }

.field { position: relative; }

label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.opt { color: var(--ink-3); font-weight: 400; }

input, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair-strong);
  border-radius: 0;
  padding: 10px 0;
  resize: vertical;
  transition: border-color .18s ease;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus { outline: none; border-bottom-color: transparent; }
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.field:focus-within::after { transform: scaleX(1); }
.field:has(.field__error.is-visible)::after { transform: scaleX(1); background: #b4432f; }

.field__error {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: #b4432f;
}
.field__error.is-visible { display: block; }

.form .btn { justify-self: start; margin-top: 4px; }
.form__status { font-size: 13.5px; color: var(--ink-2); min-height: 18px; }
.form__status.is-ok { color: var(--accent-deep); }
.form__status.is-err { color: #b4432f; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- rodapé */

footer { padding: clamp(64px, 8vw, 104px) 0 48px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.footer__brand .brand { font-size: 15px; }
.footer__col { font-size: 14px; color: var(--ink-2); }
.footer__col p + p { margin-top: 10px; }
.footer__social { display: flex; gap: 22px; }
.footer__social a { text-decoration: none; color: var(--ink-2); transition: color .18s ease; }
.footer__social a:hover { color: var(--accent-deep); }
.footer__note { margin-top: clamp(48px, 6vw, 72px); font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------ páginas de estado */

.state { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; }
.state h1 { max-width: 18ch; }
.state p { margin-top: 24px; color: var(--ink-2); font-size: 1.08rem; max-width: 44ch; }
.state .actions { margin-top: 36px; }

/* ----------------------------------------------------------- bloco de case */

.case { padding: clamp(72px, 9vw, 120px) 0; }
.case__meta { margin-bottom: 20px; }
.case h2 { margin-bottom: 44px; max-width: 18ch; }
.case h3 {
  margin: 52px 0 16px;
  font-family: "Hanuman", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.case p { color: var(--ink-2); max-width: 64ch; }
.case p + p { margin-top: 16px; }
.case .ph { margin-top: 44px; }
.case .actions { margin-top: 60px; }

/* --------------------------------------------------- entrada orquestrada */

@media (prefers-reduced-motion: no-preference) {
  .reveal > * {
    opacity: 0;
    transform: translateY(14px);
    animation: rise .7s cubic-bezier(.22,.68,.36,1) forwards;
  }
  .reveal > *:nth-child(1) { animation-delay: .04s; }
  .reveal > *:nth-child(2) { animation-delay: .14s; }
  .reveal > *:nth-child(3) { animation-delay: .26s; }
  .reveal > *:nth-child(4) { animation-delay: .38s; }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- foco visível */

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------- responsivo */

@media (max-width: 900px) {
  .editorial__aside { padding-top: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .services { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 12px; padding-bottom: 30px; }
  .offer { grid-template-columns: 1fr; gap: 24px; }
  .offer__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  /* no mobile, só o CTA fica visível na barra */
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; gap: 14px; }
  :root { --logo-size: 15.5px; }
  .nav .btn { margin-left: auto; }
  .actions { gap: 22px; }
  .panel { border-radius: 20px; }
}

/* telas estreitas: na barra fica só a marca, para o CTA caber inteiro */
@media (max-width: 520px) {
  .nav .brand__role { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
