/* =========================================================================
   ESTÚDIO CAMILO — Folha de estilo principal
   Paleta:  fundo #F4F2ED · texto #212721 · destaque #495956
   Tipografia: Inter (medidas calcadas na referência Das Studio @1440px)
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* cores */
  --bg:          #F4F2ED;
  --bg-2:        #EFECE4;
  --surface:     #E7E3DA;
  --card:        #FAF9F5;
  --ink:         #212721;
  --ink-2:       #3B433B;
  --ink-soft:    rgba(33, 39, 33, .68);
  --ink-3:       rgba(33, 39, 33, .55);
  --ink-4:       rgba(33, 39, 33, .38);
  --accent:      #495956;
  --accent-soft: rgba(73, 89, 86, .09);
  --line:        rgba(33, 39, 33, .13);
  --line-2:      rgba(33, 39, 33, .07);

  /* ---- Design System: contraste medido sobre o fundo #F4F2ED ----
       #2F3A39 → 10,5:1  pode escrever
       #B5A48B →  2,17:1 só superfície e borda
       #AC8E5C →  2,77:1 só fundo, foco e detalhe
     Taupe e ouro nunca aparecem como texto. */
  --verde-fundo: #2F3A39;
  --taupe:       #B5A48B;
  --ouro:        #AC8E5C;

  --painel:      #EDE8DF;   /* taupe a 20% */
  --painel-line: #CFC3AF;
  --campo-line:  #C4B7A2;
  --ouro-ring:   rgba(172, 142, 92, .28);
  --ouro-soft:   rgba(172, 142, 92, .12);

  /* Texto de apoio: era rgba(33,39,33,.38) = 2,17:1, abaixo do mínimo
     de 4,5:1 da WCAG. Agora 6,2:1. */
  --texto-apoio: #57605A;

  /* tipografia */
  --font: "Inter", "Inter Placeholder", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* escala medida na referência (valor máx. = 1440px) */
  --fs-display:   clamp(44px, 6.25vw, 90px);
  --fs-cta:       clamp(32px, 4.24vw, 61px);
  --fs-h2:        clamp(27px, 3.34vw, 48px);
  --fs-h3:        clamp(25px, 2.71vw, 39px);
  --fs-h4:        clamp(19px, 1.74vw, 25px);
  --fs-stat:      clamp(40px, 4.38vw, 63px);
  --fs-statement: clamp(19px, 1.81vw, 26px);
  --fs-body:      16px;
  --fs-label:     clamp(12.5px, .97vw, 14px);
  /* rótulo de formulário: menor que o texto digitado, para os dois não
     competirem. Antes rótulo e valor tinham o mesmo tamanho. */
  --fs-rotulo:    13px;

  /* layout */
  --shell:   1440px;
  --gutter:  clamp(20px, 3vw, 40px);
  --section: clamp(64px, 7.4vw, 106px);
  --radius:  10px;
  --radius-lg: 14px;
  --grid-gap: clamp(14px, 1.53vw, 22px);

  /* movimento */
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --dur:     .6s;

  --header-h: 76px;
}

/* -------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.4;
  letter-spacing: -.03em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, figure { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   3. TIPOGRAFIA
   ------------------------------------------------------------------------- */
.display, .h1-frase, .h2, .h3, .h4 {
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
}

.display  { font-size: var(--fs-display); line-height: .8;  letter-spacing: -.078em; }
/* título de frase longa: como na referência, 61px limitado a meia largura */
.h1-frase { font-size: var(--fs-cta); line-height: .9; letter-spacing: -.04em; max-width: 700px; }
.h2       { font-size: var(--fs-h2);      line-height: .9;  letter-spacing: -.031em; max-width: 700px; }
.h3       { font-size: var(--fs-h3);      line-height: 1;   letter-spacing: -.031em; }
.h4       { font-size: var(--fs-h4);      line-height: 1;   letter-spacing: -.031em; }

/* rótulos pequenos — Inter caixa alta, como na referência */
.label {
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--texto-apoio);
}
.label--ink { color: var(--verde-fundo); font-weight: 500; }
.label--acc { color: var(--accent); }

.body   { font-size: var(--fs-body); line-height: 1.4; color: var(--ink); }
.body-s { font-size: var(--fs-body); line-height: 1.5; color: var(--ink-2); }

.statement-text {
  font-size: var(--fs-statement);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 400;
  text-wrap: pretty;
}
.statement-text b { font-weight: 400; color: var(--accent); }

.accent { color: var(--accent); }

/* -------------------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 4.6vw, 66px); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: var(--grid-gap); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* cabeçalho de seção: título à esquerda, texto curto à direita */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(24px, 2.9vw, 42px);
}
.sec-head__title { display: flex; align-items: flex-start; gap: 12px; }
.sec-head__count { font-size: var(--fs-label); text-transform: uppercase; color: var(--ink); padding-top: .35em; }
.sec-head__text { color: var(--ink); }

@media (max-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head__text { max-width: 42ch; }
}

.label-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 2.9vw, 42px);
}

/* -------------------------------------------------------------------------
   5. LOGOTIPO (SVG vetorial pintado com a cor de destaque)
   ------------------------------------------------------------------------- */
.logo {
  display: block;
  aspect-ratio: 450 / 77;
  background-color: var(--accent);
  -webkit-mask: url("../assets/img/logo-camilo.svg") no-repeat center / contain;
          mask: url("../assets/img/logo-camilo.svg") no-repeat center / contain;
  transition: background-color .4s var(--ease);
}
.logo--ink   { background-color: var(--ink); }
.logo--light { background-color: var(--bg); }

.brand { display: block; }
.brand .logo { width: clamp(96px, 8vw, 118px); }
.brand:hover .logo { background-color: var(--ink); }

/* -------------------------------------------------------------------------
   6. BOTÕES
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: -.03em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  border-radius: inherit;
}
.btn:hover::after { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { color: var(--bg); border-color: var(--accent); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--bg); }
.btn--accent::after { background: var(--ink); }

.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); }
.btn--light::after { background: var(--accent); }
.btn--light:hover { color: var(--bg); }

.btn--sm { height: 38px; padding: 0 17px; }
.btn--lg { height: 52px; padding: 0 28px; }
.btn--block { display: flex; width: 100%; }

/* rolagem vertical do rótulo (o “texto duplicado” da referência).
   A altura precisa caber acento em cima e descida embaixo — 1em corta. */
.btn__roll {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.7em;
  line-height: 1.7em;
  /* folga à direita para a última letra não ser cortada pelo tracking negativo */
  padding-right: .16em;
  margin-right: -.16em;
}
.btn__roll span {
  display: block;
  height: 1.7em;
  line-height: 1.7em;
  transition: transform .5s var(--ease);
}
.btn__roll span + span { position: absolute; inset: 0; transform: translateY(100%); }
.btn:hover .btn__roll span { transform: translateY(-100%); }
.btn:hover .btn__roll span + span { transform: translateY(0); }

/* link com sublinhado animado */
.link-u {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 3px;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-u:hover::after { animation: link-wipe .55s var(--ease); }
@keyframes link-wipe {
  0%   { transform: scaleX(1); transform-origin: right; }
  49%  { transform: scaleX(0); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* -------------------------------------------------------------------------
   7. PLACEHOLDERS DE IMAGEM
   ------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }

.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  min-height: 130px;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(135deg, rgba(73, 89, 86, .07) 0 1px, transparent 1px 14px);
  border-radius: inherit;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(73, 89, 86, .26);
  border-radius: 6px;
  pointer-events: none;
}
.ph__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  padding: 18px;
}
.ph__icon { width: 24px; height: 24px; opacity: .5; color: var(--accent); }
.ph__txt  { font-size: 13px; letter-spacing: -.03em; text-transform: uppercase; color: var(--accent); opacity: .8; }
.ph__dim  { font-size: 12px; letter-spacing: -.02em; color: var(--texto-apoio); }

.ratio-43  { aspect-ratio: 4 / 3; }
.ratio-11  { aspect-ratio: 1 / 1; }
.ratio-32  { aspect-ratio: 3 / 2; }
.ratio-75  { aspect-ratio: 669 / 474; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-45  { aspect-ratio: 4 / 5; }
.ratio-219 { aspect-ratio: 21 / 9; }

/* -------------------------------------------------------------------------
   8. LOADER DE ABERTURA
   ------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: transform 1s var(--ease);
}
.loader__logo {
  width: min(46vw, 320px);
  aspect-ratio: 450 / 77;
  background-color: var(--accent);
  -webkit-mask: url("../assets/img/logo-camilo.svg") no-repeat center / contain;
          mask: url("../assets/img/logo-camilo.svg") no-repeat center / contain;
  clip-path: inset(0 100% 0 0);
  animation: loader-wipe 1.05s var(--ease) forwards;
}
@keyframes loader-wipe { to { clip-path: inset(0 0 0 0); } }
.loader__bar {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 38px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.loader__pct { position: absolute; right: var(--gutter); bottom: 52px; font-size: var(--fs-label); color: var(--ink-soft); }
.loader__tag { position: absolute; left: var(--gutter); bottom: 52px; font-size: var(--fs-label); text-transform: uppercase; color: var(--ink-soft); }
.loader.is-done { transform: translateY(-101%); }

/* -------------------------------------------------------------------------
   9. CABEÇALHO
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform .55s var(--ease), background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(244, 242, 237, .8);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-bottom-color: var(--line-2);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 249, 245, .5);
}
.nav__link {
  position: relative;
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--fs-label);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .35s var(--ease);
}
.nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  transform: scale(.7);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.nav__link span { position: relative; z-index: 1; }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--bg); }
.nav__link.is-active::before { transform: scale(1); opacity: 1; }

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  flex: none;
}
.burger i {
  position: absolute;
  left: 12px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--ease);
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { bottom: 17px; }
.burger.is-open i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta .btn { display: none; }
}

/* menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + 30px) var(--gutter) 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: clamp(30px, 9vw, 54px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.05em;
  line-height: 1;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s ease;
}
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu__list a:nth-child(1) { transition-delay: .12s; }
.mobile-menu__list a:nth-child(2) { transition-delay: .18s; }
.mobile-menu__list a:nth-child(3) { transition-delay: .24s; }
.mobile-menu__list a:nth-child(4) { transition-delay: .30s; }
.mobile-menu__list a:nth-child(5) { transition-delay: .36s; }
.mobile-menu__list a small { font-size: var(--fs-label); color: var(--texto-apoio); }
.mobile-menu__list a.is-active { color: var(--accent); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 18px; }
.mobile-menu__social { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-menu__social a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-label);
  text-transform: uppercase;
  color: var(--ink-2);
  transition: all .3s var(--ease);
}
.mobile-menu__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* -------------------------------------------------------------------------
   10. FAIXA DISCRETA (marquee sutil)
   ------------------------------------------------------------------------- */
.strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 14px;
  -webkit-user-select: none; user-select: none;
}
.strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee var(--marq-dur, 46s) linear infinite;
  will-change: transform;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip--rev .strip__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: var(--fs-label);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.strip__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; }

/* -------------------------------------------------------------------------
   11. HERO
   ------------------------------------------------------------------------- */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 4.7vw, 68px)); }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(20px, 2.4vw, 34px);
}
.hero__eyebrow .label:last-child { margin-left: auto; }

/* logotipo gigante ocupando toda a largura do conteúdo */
.hero__logo {
  width: 100%;
  aspect-ratio: 450 / 77;
  max-height: 210px;
  background-color: var(--accent);
  -webkit-mask: url("../assets/img/logo-camilo.svg") no-repeat left center / contain;
          mask: url("../assets/img/logo-camilo.svg") no-repeat left center / contain;
  /* estado final é o visível: o logotipo nunca depende da animação para aparecer.
     O JS aplica .js-pre no <html> apenas para criar o ponto de partida da cortina. */
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease);
}
.js-pre .hero__logo { clip-path: inset(0 100% 0 0); transition: none; }

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-top: clamp(28px, 3.9vw, 56px);
}
.hero__left { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.9vw, 42px); }
.hero__tagline { max-width: 320px; color: var(--ink); }
.hero__actions { display: flex; gap: 9px; flex-wrap: wrap; }

/* indicadores em linhas rótulo/valor */
.facts { display: flex; flex-direction: column; }
.facts__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.facts__item:first-child { border-top: 1px solid var(--line); }
.facts__value { font-size: var(--fs-label); text-transform: uppercase; color: var(--ink); }

@media (max-width: 900px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr); }
}

/* hero das páginas internas */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 6.6vw, 95px)); padding-bottom: clamp(28px, 3.3vw, 48px); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-top: clamp(20px, 2.4vw, 34px);
}
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------------------------------
   12. BLOCO DE MANIFESTO
   ------------------------------------------------------------------------- */
.statement {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.statement__side { display: flex; align-items: baseline; gap: 12px; }
.statement__body { max-width: 68ch; }
@media (max-width: 900px) {
  .statement { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* -------------------------------------------------------------------------
   13. CLIENTES
   ------------------------------------------------------------------------- */
.clients {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.clients__cell {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background-color .4s var(--ease);
}
.clients__cell:hover { background: var(--accent-soft); }

/* logotipo enviado pelo painel */
.clients__logo {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.clients__cell:hover .clients__logo { filter: grayscale(0); opacity: 1; }

/* enquanto não há arquivo, mostra o nome dentro de uma moldura tracejada */
.clients__ph {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 56px;
  padding: 10px 8px;
  border: 1px dashed rgba(73, 89, 86, .3);
  border-radius: 6px;
  background-image: repeating-linear-gradient(135deg, rgba(73, 89, 86, .06) 0 1px, transparent 1px 12px);
  font-size: var(--fs-label);
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .8;
}
@media (max-width: 1024px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* -------------------------------------------------------------------------
   14. CARTÃO DE PROJETO
   ------------------------------------------------------------------------- */
.project { display: block; position: relative; }

.project__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 669 / 474;
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project:hover .project__media img { transform: scale(1.045); }

.project__badge,
.project__time-top {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(244, 242, 237, .88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-size: var(--fs-label);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.project__badge { left: 14px; }
.project__time-top { right: 14px; }

.project__view {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: var(--fs-label);
  letter-spacing: -.03em;
  text-transform: uppercase;
  opacity: 0;
  scale: .82;
  transition: opacity .45s var(--ease), scale .55s var(--ease);
  pointer-events: none;
}
.project:hover .project__view { opacity: 1; scale: 1; }

.project__foot { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.project__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }

.project__title {
  position: relative;
  overflow: hidden;
  height: 1.7em;
  line-height: 1.7em;
  padding-right: .12em;
  margin-right: -.12em;
}
.project__title span { display: block; height: 1.7em; line-height: 1.7em; transition: transform .55s var(--ease); }
.project__title span + span { position: absolute; inset: 0; transform: translateY(100%); color: var(--accent); }
.project:hover .project__title span { transform: translateY(-100%); }
.project:hover .project__title span + span { transform: translateY(0); }

/* -------------------------------------------------------------------------
   15. SERVIÇOS (acordeão)
   ------------------------------------------------------------------------- */
.services { border-top: 1px solid var(--line); }

.service { border-bottom: 1px solid var(--line); }
.service__head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: clamp(18px, 2.1vw, 30px) 0;
  text-align: left;
}
.service__num { font-size: var(--fs-label); color: var(--texto-apoio); }
.service__name { transition: transform .5s var(--ease), color .4s var(--ease); }
.service:hover .service__name { transform: translateX(8px); color: var(--accent); }

.service__toggle {
  position: relative;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: none;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.service__toggle::before, .service__toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--ink);
  translate: -50% -50%;
  transition: transform .45s var(--ease), background-color .4s var(--ease);
}
.service__toggle::after { transform: rotate(90deg); }
.service.is-open .service__toggle { background: var(--accent); border-color: var(--accent); }
.service.is-open .service__toggle::before,
.service.is-open .service__toggle::after { background: var(--bg); }
.service.is-open .service__toggle::after { transform: rotate(0); }
.service.is-open .service__name { color: var(--accent); }

.service__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__panel > div { overflow: hidden; }
.service__body {
  display: grid;
  grid-template-columns: 52px 330px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: clamp(22px, 2.4vw, 34px);
}
.service__tags { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.service__tags .label { color: var(--ink); }
.service__text { max-width: 62ch; }

@media (max-width: 900px) {
  .service__head { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .service__body { grid-template-columns: minmax(0, 1fr); }
  .service__tags { flex-direction: row; flex-wrap: wrap; gap: 7px 20px; }
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-label);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--card);
}

/* -------------------------------------------------------------------------
   16. PROCESSO
   ------------------------------------------------------------------------- */
.flow { border-top: 1px solid var(--line); }
.flow__row {
  display: grid;
  grid-template-columns: 52px 330px minmax(0, 1fr) 70px;
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding: clamp(20px, 2.3vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.flow__row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width 1.2s var(--ease);
}
.flow__row.is-in::before { width: var(--pct, 20%); }
.flow__pct { font-size: var(--fs-label); color: var(--accent); text-align: right; }
@media (max-width: 900px) {
  .flow__row { grid-template-columns: 38px minmax(0, 1fr); gap: 12px 16px; }
  .flow__text { grid-column: 2; }
  .flow__pct { grid-column: 2; text-align: left; }
}

/* -------------------------------------------------------------------------
   17. NÚMEROS
   ------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.stats__item {
  padding: clamp(26px, 3vw, 42px) clamp(20px, 2.2vw, 32px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.stats__item:last-child { border-right: 0; }
.stats__value {
  font-size: var(--fs-stat);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
  color: var(--accent);
}
@media (max-width: 760px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats__item:last-child { border-bottom: 0; }
}

/* -------------------------------------------------------------------------
   18. DEPOIMENTOS
   ------------------------------------------------------------------------- */
.testi__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(28px, 3.4vw, 48px);
}
.testi__viewport { overflow: hidden; }
.testi__track {
  display: flex;
  gap: var(--grid-gap);
  transition: transform .8s var(--ease);
  will-change: transform;
}
.testi__card {
  flex: 0 0 clamp(258px, 23vw, 330px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color .4s var(--ease);
}
.testi__card:hover { border-color: var(--accent); }
.testi__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.testi__stars { display: flex; gap: 3px; color: var(--accent); }
.testi__stars svg { width: 13px; height: 13px; }
.testi__num { font-size: var(--fs-label); color: var(--texto-apoio); }
.testi__quote { font-size: var(--fs-body); line-height: 1.45; color: var(--ink); }
.testi__who { margin-top: auto; display: flex; flex-direction: column; gap: 5px; }
.testi__name { font-size: var(--fs-label); text-transform: uppercase; color: var(--ink); }
.testi__role { font-size: var(--fs-label); color: var(--texto-apoio); }
.testi__nav { display: flex; align-items: center; gap: 10px; flex: none; }
@media (max-width: 620px) {
  .testi__card { flex-basis: 82vw; }
  .testi__head { flex-direction: column; }
}
.nav-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid; place-items: center;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.nav-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.nav-btn svg { width: 14px; height: 14px; }

/* -------------------------------------------------------------------------
   19. FAQ
   ------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: clamp(16px, 1.8vw, 24px) 0;
  text-align: left;
  font-size: var(--fs-body);
  letter-spacing: -.03em;
  transition: color .35s var(--ease);
}
.faq__head:hover { color: var(--accent); }
.faq__icon {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: none;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  transition: transform .45s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__item.is-open .faq__head { color: var(--accent); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__body { padding-bottom: clamp(18px, 2vw, 28px); max-width: 74ch; color: var(--ink-2); }

/* -------------------------------------------------------------------------
   20. FUNDADOR
   ------------------------------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.founder__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.founder__media img { width: 100%; height: 100%; object-fit: cover; }

.founder__text {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 22px);
  max-width: 62ch;
}

.founder__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 6px;
}
.founder__meta-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 1.8vw, 24px) 16px clamp(16px, 1.8vw, 24px) 0;
  border-right: 1px solid var(--line);
}
.founder__meta-item:not(:first-child) { padding-left: clamp(14px, 1.6vw, 24px); }
.founder__meta-item:last-child { border-right: 0; }
.founder__meta-value { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -.031em; text-transform: uppercase; }

@media (max-width: 900px) {
  .founder { grid-template-columns: minmax(0, 1fr); }
  .founder__media { max-width: 420px; }
}
@media (max-width: 560px) {
  .founder__meta { grid-template-columns: minmax(0, 1fr); }
  .founder__meta-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .founder__meta-item:last-child { border-bottom: 0; }
}

/* -------------------------------------------------------------------------
   21. BLOG
   ------------------------------------------------------------------------- */
.post-card__media { aspect-ratio: 669 / 474; border-radius: var(--radius); overflow: hidden; background: var(--surface); position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__foot { padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.post-card__title { transition: color .35s var(--ease); }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

/* -------------------------------------------------------------------------
   22. CONTEÚDO RICO
   ------------------------------------------------------------------------- */
.rich { display: flex; flex-direction: column; gap: clamp(26px, 3.4vw, 56px); }

.blk-text { max-width: 68ch; display: flex; flex-direction: column; gap: 12px; }
.blk-text p { font-size: var(--fs-body); line-height: 1.5; color: var(--ink); }
.blk-text h3 { margin-bottom: 2px; }

.blk-img figure { margin: 0; }
.blk-img figcaption, .blk-duo-wrap figcaption, .blk-gal-wrap figcaption {
  padding-top: 10px;
  font-size: var(--fs-label);
  text-transform: uppercase;
  color: var(--texto-apoio);
}
.blk-img--full { width: 100vw; margin-left: 50%; translate: -50% 0; }
.blk-img--full .media { border-radius: 0; }
.blk-img--narrow { max-width: 760px; }

.blk-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.blk-gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--grid-gap); }
@media (max-width: 640px) { .blk-duo { grid-template-columns: minmax(0, 1fr); } }

.blk-quote {
  max-width: min(22ch, 100%);
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -.031em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: clamp(18px, 2.2vw, 30px);
}
.blk-quote cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-label);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
  padding-top: 16px;
}

.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs__item { padding: clamp(16px, 2vw, 26px) 18px clamp(16px, 2vw, 26px) 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.specs__item:not(:first-child) { padding-left: clamp(14px, 2vw, 28px); }
.specs__item:last-child { border-right: 0; }
.specs__value { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -.031em; text-transform: uppercase; }
@media (max-width: 760px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs__item:nth-child(2n) { border-right: 0; }
  .specs__item:nth-child(odd) { padding-left: 0; }
  .specs__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* -------------------------------------------------------------------------
   23. FORMULÁRIO
   ------------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* rótulo: verde profundo (10,5:1) e 13px — menor que o texto digitado,
   para hierarquia. Antes era cinza a 68% e do mesmo tamanho do valor. */
.field label {
  font-size: var(--fs-rotulo);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--verde-fundo);
}

/* CAMPO COMO CAIXA: em vez de só um fio embaixo, um retângulo com
   preenchimento e borda. Fica evidente onde termina um campo e começa
   o seguinte. */
.field input, .field textarea, .field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--campo-line);
  border-radius: 8px;
  font-size: var(--fs-body);
  letter-spacing: -.03em;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--texto-apoio); opacity: .75; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--taupe); }

/* foco inequívoco: borda dourada + halo */
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: #FFFDF9;
  border-color: var(--ouro);
  box-shadow: 0 0 0 3px var(--ouro-ring);
}

.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

/* seta própria no select */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F3A39' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  cursor: pointer;
}

.field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .field--row { grid-template-columns: minmax(0, 1fr); } }
.form__note { font-size: var(--fs-label); line-height: 1.5; color: var(--texto-apoio); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* o input fica invisível mas preso ao próprio chip — solto, ele herdava
   width:100% dos campos do formulário e esticava a página */
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--campo-line);
  border-radius: 999px;
  font-size: var(--fs-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: all .35s var(--ease);
  color: var(--ink-2);
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* dois painéis: dados à esquerda, formulário à direita (como na referência) */
.contact-panels {
  display: grid;
  grid-template-columns: minmax(0, .44fr) minmax(0, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}
/* coluna da esquerda: dados em cima, passos colados no fim —
   assim a base alinha com o fim do painel do formulário */
.contact-col { display: flex; flex-direction: column; gap: var(--grid-gap); }
.panel--steps { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* empilhado: dados, formulário e só então os passos —
   falar do "depois" antes do formulário não faz sentido na leitura vertical.
   Precisa vir depois das regras acima para sobrescrevê-las. */
@media (max-width: 900px) {
  .contact-panels { display: flex; flex-direction: column; }
  .contact-col { display: contents; }
  .contact-col > .panel:first-child { order: 1; }
  .contact-panels > .panel:last-child { order: 2; }
  .panel--steps { order: 3; margin-top: 0; }
}

.steps { display: flex; flex-direction: column; }
.steps__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.steps__item:first-child { border-top: 0; padding-top: 2px; }
.steps__item:last-child { padding-bottom: 0; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.3vw, 34px);
}
.panel__title {
  font-size: clamp(25px, 2.9vw, 42px);
  line-height: .95;
  letter-spacing: -.042em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: clamp(22px, 2.6vw, 36px);
}

/* ---- estado de carregamento do botão (spinner) ---- */
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]::after { transform: translateY(101%); }
.btn__spinner {
  width: 15px; height: 15px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-girar .7s linear infinite;
  display: none;
  flex: none;
}
.btn.esta-enviando .btn__spinner { display: block; }
@keyframes btn-girar { to { transform: rotate(360deg); } }

/* ---- aviso de erro no envio de formulário ---- */
.form__alerta {
  display: none;
  gap: 10px;
  padding: 13px 15px;
  border-radius: var(--radius);
  background: var(--erro-soft, rgba(166, 70, 47, .08));
  border: 1px solid rgba(166, 70, 47, .4);
  font-size: var(--fs-label);
  line-height: 1.5;
  color: #A6462F;
}
.form__alerta.esta-visivel { display: flex; }

/* ---- estado de sucesso, no lugar do formulário ---- */
.envio-sucesso {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: clamp(24px, 5vw, 40px) clamp(10px, 3vw, 20px);
}
.envio-sucesso.esta-visivel { display: flex; }
/* selo em texto, no lugar de um ícone gráfico — confirma o recebimento
   sem depender de SVG (mais simples e não tem como aparecer "gigante") */
.envio-sucesso__selo {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ouro-soft, var(--accent-soft));
  border: 1px solid var(--ouro, var(--accent));
}
.envio-sucesso__titulo { max-width: 24ch; }
.envio-sucesso__texto { max-width: 46ch; color: var(--ink-2); }
.envio-sucesso__acoes { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
@media (min-width: 520px) {
  .envio-sucesso__acoes { flex-direction: row; width: auto; max-width: none; }
}

.info-list { display: flex; flex-direction: column; }
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}
.info-row:first-child { padding-top: 0; }
.info-row__value {
  /* 16px contra o rótulo de 14px: o dado é o que importa na linha */
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--verde-fundo);
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
  overflow-wrap: anywhere;
}
a.info-row:hover .info-row__value { color: var(--accent); text-decoration-color: var(--accent); }
.info-row--plain .info-row__value { text-decoration: none; }

.panel__socials { display: flex; flex-wrap: wrap; gap: 8px; padding-top: clamp(18px, 2vw, 26px); }
.panel__socials a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-label);
  text-transform: uppercase;
  color: var(--ink-2);
  transition: all .3s var(--ease);
}
.panel__socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.panel__media {
  margin-top: clamp(18px, 2vw, 26px);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.panel__media img { width: 100%; height: 100%; object-fit: cover; }

.form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.contact-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color .45s var(--ease), transform .5s var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-card__value { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -.031em; text-transform: uppercase; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------------------------------
   24. CTA FINAL
   ------------------------------------------------------------------------- */
.cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(38px, 5.3vw, 80px) clamp(24px, 3.5vw, 56px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(16px, 2vw, 26px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: -40%;
  width: 120%; aspect-ratio: 1;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(73, 89, 86, .5) 0%, transparent 62%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta__title { font-size: var(--fs-cta); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; font-weight: 500; color: var(--bg); max-width: 16ch; }
.cta .label { color: rgba(244, 242, 237, .6); }
.cta p { color: rgba(244, 242, 237, .72); max-width: 50ch; }
.cta__pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 32px; padding: 0 14px;
  border: 1px solid rgba(244, 242, 237, .22);
  border-radius: 999px;
}
.cta__pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7FCB9B;
  box-shadow: 0 0 0 0 rgba(127, 203, 155, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(127, 203, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 203, 155, 0); }
}

/* -------------------------------------------------------------------------
   25. RODAPÉ
   ------------------------------------------------------------------------- */
.site-footer { padding-top: clamp(44px, 5vw, 72px); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .7fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(36px, 4.4vw, 64px);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { margin-bottom: 4px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: var(--fs-body); color: var(--ink-2); transition: color .3s ease, transform .4s var(--ease); width: fit-content; }
.footer__links a:hover { color: var(--accent); transform: translateX(4px); }
.footer__brand { max-width: 38ch; gap: 16px; }
.footer__brand .logo { width: 150px; }
.footer__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.footer__wordmark { overflow: hidden; padding-top: clamp(10px, 1.6vw, 22px); }
.footer__wordmark .logo { width: 100%; opacity: .16; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------------------------------
   26. ANIMAÇÕES DE ENTRADA
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform 1.05s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"]  { transform: none; }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.97); }
[data-reveal="scale"].is-in { transform: none; }

/* revelação por palavra — as linhas precisam ser inline para o texto fluir.
   O respiro em cima e embaixo evita cortar acentos (Ú, Ê, Á) e descidas (ç, j, g);
   as margens negativas devolvem esse espaço para o entrelinhas não mudar. */
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* Respiro nos quatro lados: em cima cabe o acento (Ú, Ê, Á), embaixo a
     cedilha e as descidas, e à direita a última letra — que o espaçamento
     negativo entre letras deixaria para fora da caixa. As margens negativas
     devolvem esse espaço, então o entrelinhas e o alinhamento não mudam. */
  padding: .4em .18em .32em .06em;
  margin: -.4em -.18em -.32em -.06em;
}
.split-word {
  display: inline-block;
  transform: translateY(150%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 34ms);
}
.split.is-in .split-word { transform: translateY(0); }

.reveal-media { overflow: hidden; }
.reveal-media > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease);
  transform: scale(1.05);
}
.reveal-media.is-in > * { clip-path: inset(0 0 0 0); transform: scale(1); }

/* -------------------------------------------------------------------------
   27. CURSOR PERSONALIZADO
   ------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  pointer-events: none;
  mix-blend-mode: multiply;
  translate: -50% -50%;
  transition: width .35s var(--ease), height .35s var(--ease), opacity .3s ease, background-color .3s ease;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 54px; height: 54px; background: var(--accent-soft); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* -------------------------------------------------------------------------
   28. TRANSIÇÃO DE PÁGINA
   ------------------------------------------------------------------------- */
.page-fade {
  position: fixed; inset: 0; z-index: 950;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.page-fade.is-on { opacity: 1; }

/* -------------------------------------------------------------------------
   29. UTILITÁRIOS
   ------------------------------------------------------------------------- */
.stack { display: flex; flex-direction: column; min-width: 0; }
.gap-6 { gap: 6px; } .gap-10 { gap: 10px; } .gap-14 { gap: 14px; }
.gap-18 { gap: 18px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.mt-auto { margin-top: auto; }
.text-right { text-align: right; }
.max-42 { max-width: 42ch; }
.max-56 { max-width: 56ch; }

.empty-state {
  padding: clamp(36px, 5vw, 70px) 24px;
  border: 1px dashed rgba(73, 89, 86, .3);
  border-radius: var(--radius);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--accent-soft);
}

/* -------------------------------------------------------------------------
   30. MOVIMENTO REDUZIDO
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .split-word { transform: none !important; }
  .reveal-media > * { clip-path: none !important; transform: none !important; }
  .strip__track { animation: none !important; }
  .hero__logo { animation: none !important; clip-path: none !important; }
  .cursor { display: none !important; }
}
