/* Estúdio Hiru: estilos do tema.
   Valores medidos no site público (Elementor) em 1515px de largura útil.
   Tokens vêm do kit do Elementor ("Hiru: ..."). Fonte: Manrope. */

:root {
  --ink: #0A0C0F;          /* header, hero, seções escuras */
  --surface: #F4F6F8;      /* fundo do conteúdo (main) */
  --white: #FFFFFF;
  --ink-2: #454B53;        /* texto de leitura */
  --ink-3: #5B626B;        /* texto secundário em claro */
  --line: #D2D7DD;         /* linhas em claro */
  --on-dark: #F4F6F8;
  --on-dark-2: #C1C7CE;    /* texto secundário em escuro */
  --on-dark-3: #B3BAC2;    /* rótulos em escuro */
  --line-dark: #30353B;    /* linhas em escuro */

  --primary: #6EC1E4;      /* primário do kit (uso a confirmar) */
  --accent: #61CE70;       /* realce do kit (uso a confirmar) */

  --pad-x: 5.5%;           /* margem lateral das seções (83px em 1515px) */
  --pad-y: 88px;           /* respiro vertical das seções */
  --header-h: 111px;
  --sticky-top: var(--header-h);
  --font: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
main { background: var(--surface); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
strong, b { font-weight: 500; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 8px 12px; z-index: 30; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1800px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 0.875rem; font-weight: 400; line-height: 1.5; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 23px;
}
.eyebrow--dark { color: var(--on-dark-3); }

h1 { font-size: clamp(2.6rem, 6.25vw, 5.625rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.04em; }
h2 { font-size: 2.7rem; font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0; }
.h2--lg { font-size: clamp(2rem, 3.5vw, 3.3rem); }
.h2--md { font-size: clamp(1.9rem, 2.85vw, 2.7rem); }
.h2--sm { font-size: clamp(1.7rem, 2.65vw, 2.5rem); }
.h2--faq { font-size: clamp(1.8rem, 2.95vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
p { font-size: 0.95rem; }
.lead { font-size: 0.95rem; color: var(--ink-2); max-width: 640px; }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px;
  color: var(--ink); background: transparent; border: 1px solid var(--ink);
  text-decoration: none; font: 500 14px/1 var(--font); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--ink); color: var(--on-dark); }
.hero .btn, .section--dark .btn, .site-header .btn { color: var(--on-dark); border-color: var(--on-dark); }
.hero .btn:hover, .section--dark .btn:hover, .site-header .btn:hover { background: var(--on-dark); color: var(--ink); }
.btn--header { height: 44px; font-size: 0.875rem; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  min-height: var(--header-h); padding: 24px var(--pad-x);
  background: var(--ink); color: var(--on-dark);
}
/* esconde ao rolar para baixo e volta ao rolar para cima */
@property --sticky-top { syntax: '<length>'; inherits: true; initial-value: 111px; }
:root { transition: --sticky-top 0.35s ease; }
html.header-hidden { --sticky-top: 0px; }
.site-header { transition: transform 0.35s ease; will-change: transform; }
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header, :root { transition: none; } }
.brand { justify-self: start; }
.brand img, .footer__grid > div:first-child > img { width: 79px; height: auto; }
.site-nav { display: flex; gap: 24px; justify-self: center; }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { text-decoration: underline; }
.lang { display: flex; gap: 8px; font-size: 0.875rem; }
.lang a { text-decoration: none; opacity: 0.6; }
.lang a[aria-current="page"] { opacity: 1; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; }

.menu-movel {
  position: sticky; top: var(--sticky-top); z-index: 19;
  display: flex; flex-direction: column; gap: 16px; padding: 24px var(--pad-x);
  background: var(--ink); color: var(--on-dark);
}
.menu-movel[hidden] { display: none; }
.menu-movel a { text-decoration: none; font-size: 1.25rem; }

/* ---------- Seções ---------- */
.section { padding: var(--pad-y) 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .lead, .section--dark p { color: var(--on-dark-2); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--white { background: var(--white); }
.section--surface { background: var(--white); }

/* ---------- Hero ---------- */
.hero {
  display: flex; align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: 25px 4.04%;
  background: var(--ink) radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.05) 0%, var(--ink) 50%);
  color: var(--on-dark);
}
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; width: 100%; }
.hero__label { margin: 0; }
.hero h1 { color: var(--on-dark); }

/* ---------- Projeto em destaque ---------- */
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.featured__card { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--on-dark); aspect-ratio: 658 / 494; background: var(--ink); }
.featured__card img { width: 100%; height: 100%; object-fit: cover; }
.featured__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}
.featured__cap { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.featured__cap strong { font-size: 1.75rem; font-weight: 500; line-height: 1.4; }
.featured__cap .eyebrow { margin: 0; color: var(--on-dark-2); }
.featured__more { margin-top: 39px; text-align: center; }

/* ---------- O que fazemos ---------- */
.services-block__grid { display: grid; grid-template-columns: 1.333fr 1fr 1.333fr; gap: 24px; align-items: start; }
.services-block__lead { max-width: 260px; margin-top: 45px; }
.services-block__grid > div:first-child { padding-top: 22px; }
.services { border-top: 1px solid var(--line-dark); }
.service { border-bottom: 1px solid var(--line-dark); }
.service summary, .faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  list-style: none; cursor: pointer;
}
.service summary { padding: 14.5px 0; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; color: var(--on-dark); }
.service summary::-webkit-details-marker, .faq__list summary::-webkit-details-marker { display: none; }
.service p { padding: 0 0 20px; max-width: 420px; color: var(--on-dark-2); }
.plus { font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform 0.2s; }
details[open] > summary .plus { transform: rotate(45deg); }

/* ---------- Metodologia (home) ---------- */
.section--method { padding: 56px 0 var(--pad-y); }
.steps {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 48px 24px;
}
.step { display: flex; flex-direction: column; gap: 12px; min-height: 160px; padding-top: 20px; border-top: 1px solid var(--line); }
.step__n { font-size: 0.875rem; letter-spacing: 0.15em; color: var(--ink-3); }
.step h3 { margin: 0; }
.step p { color: var(--ink-2); }
.section--dark .step { border-top-color: var(--line-dark); }
.section--dark .step__n { color: var(--on-dark-3); }
.section--dark .step p { color: var(--on-dark-2); }

/* ---------- Sobre ---------- */
.sobre { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); min-height: clamp(560px, 52vw, 800px); }
.sobre__foto { position: relative; }
.sobre__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.sobre__texto { display: flex; flex-direction: column; justify-content: center; padding: 48px 90px; max-width: 756px; }
.sobre__texto .eyebrow { margin-bottom: 24px; }
.sobre__texto h2 { margin-bottom: 24px; }
.sobre__texto p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 24px; max-width: 459px; }
.sobre__texto p:last-child { margin-bottom: 0; }

/* ---------- Clientes ---------- */
.clients { padding: 48px 0; }
.clients__head { display: grid; grid-template-columns: 681fr 619fr; gap: 16px 48px; align-items: start; }
.clients__head .eyebrow { margin-bottom: 23px; }
.clients__head h2 { font-size: clamp(1.8rem, 2.5vw, 2.35rem); }
.clients__head .lead { margin-top: 39px; }
.logos { overflow: hidden; margin-top: 32px; }
.logos__track { display: flex; align-items: center; width: max-content; animation: logos 60s linear infinite; }
.logos__track { gap: 96px; padding: 21px 96px 21px 0; }
.logos__track img { flex: none; max-width: none; object-fit: contain; filter: brightness(0) invert(1); }
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } }

/* ---------- Carrossel (depoimentos e artigos) ---------- */
.carousel { min-width: 0; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { display: flex; gap: 8px; margin-top: 24px; }
.carousel__nav button {
  width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 16px/1 var(--font); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.carousel__nav button:hover { background: var(--ink); color: var(--on-dark); }

/* ---------- Depoimentos ---------- */
.depo-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.depo-block__head .lead { margin-top: 24px; }
.depo-block__head .eyebrow { margin-bottom: 24px; }
.depo-block__head h2 { margin-bottom: 0; }
.depo { flex: 0 0 100%; scroll-snap-align: start; text-align: center; }
.depo p { font-size: 1.05rem; line-height: 1.6; color: var(--ink); margin: 0 auto 28px; max-width: 640px; }
.depo footer { display: flex; align-items: center; justify-content: center; gap: 16px; }
.depo img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.depo cite { font-style: normal; font-size: 0.875rem; color: var(--ink-3); display: flex; flex-direction: column; text-align: left; gap: 2px; }
.depo cite strong { color: var(--ink); font-weight: 400; font-size: 1rem; }

/* Carrossel de depoimentos: linha no topo e setas nas laterais */
.carousel--quotes { position: relative; border-top: 1px solid var(--line); padding: 28px 60px 0; }
.carousel--quotes.is-flowing .carousel__track { scroll-snap-type: none; }
.carousel--quotes .carousel__nav { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
.carousel--quotes .carousel__nav button {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0;
  border: 0; background: transparent; color: var(--ink-3); font-size: 2rem; line-height: 1; pointer-events: auto;
}
.carousel--quotes .carousel__nav button:hover { background: transparent; color: var(--ink); }
.carousel--quotes .carousel__nav [data-prev] { left: 0; }
.carousel--quotes .carousel__nav [data-next] { right: 0; }

/* ---------- Artigos (home) ---------- */
.articles-block { display: grid; grid-template-columns: minmax(0, 347fr) minmax(0, 961fr); gap: 40px; align-items: start; }
.articles-block__head { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cards--grid { grid-template-columns: repeat(3, 1fr); }
.carousel .card { flex: 0 0 min(400px, 85%); scroll-snap-align: start; }
.card { background: transparent; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.card .tag { font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.card h3 { font-size: 1.05rem; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p:not(.tag) { color: var(--ink-2); font-size: 0.875rem; }
.carousel .card p:not(.tag) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.articles-block__head .carousel__nav { margin-top: 0; }

/* ---------- FAQ ---------- */
.section--faq { background: var(--surface); padding-bottom: 96px; }
.faq { display: grid; grid-template-columns: 497fr 771fr; gap: 80px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--sticky-top) + 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq__intro .eyebrow, .faq__intro h2, .faq__intro p { margin: 0; }
.faq__intro p:not(.eyebrow) { color: var(--ink-3); max-width: 260px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { padding: 23px 0; font-size: 1rem; line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; }
.faq__list p { padding: 0 0 24px; color: var(--ink-2); max-width: 680px; }

/* ---------- CTA final ---------- */
.cta-final { padding: 136px 0; }
.cta-final__grid { display: grid; grid-template-columns: 815fr 509fr; gap: 24px; align-items: center; }
.cta-final h2 { max-width: 612px; }
.cta-final__side { display: flex; flex-direction: column; gap: 24px; }
.cta-final__side p { color: var(--on-dark-2); font-size: 1rem; max-width: 361px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px var(--pad-x) 24px; }
.site-footer .wrap { padding-left: 0; padding-right: 0; }
.footer__grid {
  display: grid; grid-template-columns: 397fr 248fr 248fr 310fr; gap: 48px;
  padding-top: 60px; border-top: 1px solid var(--line-dark);
}
.footer__grid p { color: var(--on-dark-2); margin-top: 16px; font-size: 0.95rem; }
.footer__grid p.footer__tag { margin-top: 2px; }
.footer__tag { color: var(--on-dark-3) !important; }
.footer__grid h4, .footer__grid p.footer__h { line-height: 18px; font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 16px; font-weight: 400; }
.footer__grid nav, .footer__grid > div:not(:first-child) { display: flex; flex-direction: column; }
.footer__grid nav a, .footer__grid > div:not(:first-child) a { padding: 8px 0; line-height: 20px; }
.footer__grid a { text-decoration: none; color: var(--on-dark-2); }
.footer__grid a:hover { color: var(--on-dark); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; font-size: 0.875rem; color: var(--on-dark-3); }
.footer__legal p { font-size: 0.875rem; min-height: 44px; display: flex; align-items: center; gap: 0.5em; }
.footer__legal a { color: var(--on-dark-3); display: inline-block; padding: 12px 0; }

/* ---------- Páginas internas ---------- */
.page-head { padding: 96px 0 56px; }
.page-head .wrap > * + * { margin-top: 24px; }
.page-head .eyebrow { margin-bottom: 0; }
.page-head h1 { font-size: clamp(2.4rem, 4.1vw, 3.7rem); }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.two-col h2 { margin-bottom: 0; }
.prose p { color: var(--ink-2); margin-bottom: 20px; max-width: 640px; }
.prose a, .form a { color: var(--ink); }
.section--dark .prose p { color: var(--on-dark-2); }
.cta__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: end; }
.cta__grid .lead { margin-bottom: 24px; }

.case { display: block; text-decoration: none; }
.case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.case__cap { display: block; padding: 20px 0 0; }
.case__cap strong { display: block; font-size: 2rem; font-weight: 500; }

.case-hero { padding: 80px 0 0; }
.case-hero h1 { font-size: clamp(2.2rem, 2.9vw, 2.6rem); margin: 16px 0 16px; }
.case-hero__img { width: 100%; height: auto; margin-top: 56px; aspect-ratio: 16 / 9; object-fit: cover; }
.case-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.case-meta p:not(.eyebrow) { font-size: 1.125rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.pillar { padding: 32px; background: var(--surface); }
.pillar p { color: var(--ink-2); font-size: 0.95rem; }
.steps--six { grid-template-columns: repeat(3, 1fr); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.feature--single { grid-template-columns: 1fr; }
.feature--single img { aspect-ratio: 16 / 9; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 24px; }
.gallery img { width: 100%; height: auto; }

.article { padding: 80px var(--pad-x) 100px; max-width: 840px; }
.article h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 16px 0 40px; }
.article__body p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 20px; }
.article__body h2 { font-size: 1.6rem; margin: 48px 0 16px; letter-spacing: -0.01em; }

.form { display: grid; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; font-weight: 500; }
.form label.inline { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="number"], .form input[type="tel"],
.form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.form legend { font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.form button { justify-self: start; }
.form__ok { padding: 16px; margin-bottom: 24px; background: var(--white); color: var(--ink); border: 1px solid var(--line); font-size: 0.95rem; }
.quote .form__ok { background: transparent; color: var(--on-dark); border-color: var(--on-dark-3); }

/* ---------- Páginas internas: estrutura medida no site público ---------- */
.h2--xl { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.h2--acro { font-size: clamp(2rem, 3.15vw, 3rem); }

.page-hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: calc(100svh - var(--header-h)); background: var(--ink); color: var(--on-dark);
}
.page-hero__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 48px 4.04%; }
.page-hero__text .eyebrow { margin: 0; }
.page-hero__text h1 { font-size: clamp(2.4rem, 3.9vw, 3.7rem); color: var(--on-dark); }
.page-hero__text .lead { color: var(--on-dark-2); max-width: 520px; }
.page-hero .btn { color: var(--on-dark); border-color: var(--on-dark); }
.page-hero .btn:hover { background: var(--on-dark); color: var(--ink); }
.page-hero__img { position: relative; min-height: 320px; }
.page-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.section--roomy { padding: 128px 0; }
.section--deep { padding: 112px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.split > h2 { max-width: 600px; }
.split .prose p { font-size: 1rem; }
.section--roomy .split > h2 { max-width: 410px; }
.split--sticky > h2 { position: sticky; top: calc(var(--sticky-top) + 40px); }

.disciplines { display: flex; flex-direction: column; gap: 56px; }
.discipline { padding-top: 41px; border-top: 1px solid var(--line-dark); }
.discipline h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 24px; }
.discipline p { color: var(--on-dark-2); font-size: 17px; line-height: 1.7; margin-bottom: 0; max-width: 674px; }
.discipline p + p { margin-top: 28.9px; }

.acro { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.acro__img img { width: 100%; height: 631px; object-fit: cover; }
.acro__text { padding: 80px var(--pad-x) 80px 75px; }
.acro__text h2 { margin-bottom: 48px; }
.acro__list { margin: 0; display: flex; flex-direction: column; gap: 40px; }
.acro__list dt { display: inline; font-weight: 500; font-size: 1rem; }
.acro__list dt::after { content: ":"; margin-right: 0.35em; }
.acro__list dd { display: inline; }
.acro__list dd { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 468px; }
.acro__note { margin-top: 32px; color: var(--ink-3); max-width: 606px; }

.stages { display: grid; grid-template-columns: 705fr 643fr; gap: 0; align-items: start; }
.stages__list { list-style: none; margin: 0; padding: 0; }
.stages__list li { display: flex; flex-direction: column; gap: 12px; padding: 40px 0; border-top: 1px solid var(--line); min-height: 250px; }
.stages__list li:first-child { border-top: 0; padding-top: 0; }
.stages__list h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 400; margin: 0; }
.stages__list p { color: var(--ink-2); max-width: 600px; }
.stages__intro { position: sticky; top: calc(var(--sticky-top) + 40px); padding-left: 80px; display: flex; flex-direction: column; gap: 24px; }
.stages__intro p { color: var(--ink-2); max-width: 420px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 400px)); justify-content: center; gap: 48px 44px; }
.post-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.post-card .tag { font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.post-card h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p:not(.tag) { color: var(--ink-2); font-size: 0.9rem; }

.cta-page__grid { display: grid; grid-template-columns: 815fr 509fr; gap: 24px; align-items: center; min-height: 349px; }
.cta-page--compact .cta-page__grid { min-height: 0; }
.cta-page--case .cta-page__grid { min-height: 138px; }
.cta-page h2 { font-size: clamp(2.4rem, 4.75vw, 4.5rem); line-height: 1.05; max-width: 760px; }
.cta-page--compact h2 { font-size: clamp(2.2rem, 3.9vw, 3.7rem); max-width: 460px; }
.cta-page--case h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
.cta-page__side { display: flex; flex-direction: column; gap: 24px; }
.cta-page__side p { max-width: 380px; font-size: 1rem; }

.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 4.04%; padding: 120px 4.04%; background: var(--ink); color: var(--on-dark); }
.quote .form { gap: 18px; }
.quote { align-items: start; }
.quote__intro { position: sticky; top: calc(var(--sticky-top) + 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.quote__intro h1 { font-size: clamp(2.4rem, 3.9vw, 3.7rem); color: var(--on-dark); }
.quote .prose p { color: var(--on-dark-2); }
.quote .prose a, .quote .form a { color: var(--on-dark); }
.quote .btn { color: var(--on-dark); border-color: var(--on-dark); }
.quote .btn:hover { background: var(--on-dark); color: var(--ink); }
.quote .form label, .quote .form legend { color: var(--on-dark-2); }
.quote .form input[type="text"], .quote .form input[type="email"], .quote .form input[type="number"], .quote .form input[type="tel"],
.quote .form select, .quote .form textarea { height: 47px; background: transparent; color: var(--on-dark); border-color: #81837C; }
.quote .form textarea { height: auto; }
.quote .form select option { color: var(--ink); }

.case-top { padding: 96px 0 100px; }
.case-top__grid { display: grid; grid-template-columns: 624fr 725fr; gap: 0; align-items: start; }
.case-top__title h1 { font-size: clamp(2rem, 2.75vw, 2.6rem); margin-bottom: 16px; }
.case-top__title .lead { margin-bottom: 32px; max-width: 420px; }
.case-top__meta { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.case-top__meta dt { margin-bottom: 6px; }
.case-top__meta dd { margin: 0; font-size: 0.95rem; max-width: 420px; }
.case-top__text { display: flex; flex-direction: column; gap: 40px; }
.case-top__text h2 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; margin-bottom: 12px; }
.case-top__text p { color: var(--ink-2); }
.case-gallery .gallery { gap: 26px; }
.case-gallery .gallery img { width: 100%; height: auto; aspect-ratio: 1348 / 758; object-fit: cover; }
.case-gallery__back { padding: 0 0 88px; margin-top: 40px; font-size: 0.9rem; }
.case-gallery__back a { text-decoration: none; }

/* ---------- Artigo: topo escuro com título, resumo, categoria e imagem ---------- */
.post-hero { background: var(--ink); color: var(--on-dark); padding: 32px 2.9% 0; }
.post-hero__back { display: inline-block; font-size: 0.875rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; margin-bottom: 28px; }
.post-hero h1 { font-size: clamp(2.2rem, 3.8vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; max-width: 42vw; color: var(--on-dark); margin: 0 0 28px; }
.post-hero__lead { font-size: 0.95rem; line-height: 1.55; color: var(--on-dark-2); max-width: 470px; margin: 0 0 22px; }
.post-hero__tag { font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 24px; }
.post-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 86vh; object-fit: cover; }
.post-body { padding-top: 72px; padding-bottom: 100px; }
.post-body .article__body { max-width: 760px; margin: 0 auto; }

/* ---------- Botão flutuante do WhatsApp (igual ao site antigo) ---------- */
.wa-float {
  position: fixed; right: 50px; bottom: 20px; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; color: #fff; text-decoration: none;
  background: #1FA855; transition: background-color 0.3s ease;
}
.wa-float:hover { background: #198F48; }
.wa-float:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ---------- Página de agradecimento ---------- */
.hero--thanks h1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); }
.hero__text { max-width: 520px; font-size: 1rem; color: var(--on-dark-2); margin: 0; }

/* ---------- Mensagem de erro do formulário ---------- */
.form__erro a { color: inherit; }

/* ---------- Menus do WordPress no rodapé e no menu móvel ---------- */
.footer__grid nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer__grid nav li { margin: 0; }
.menu-movel .lang { margin-top: 8px; font-size: 1rem; }
.menu-movel .lang a { font-size: 1rem; }

/* ---------- Artigo: "Continue lendo" ---------- */
.related { padding: 88px 0 100px; }
.related__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.related__head .eyebrow { margin-bottom: 23px; }

/* ---------- Efeitos: entrada das imagens, hover dos projetos, galeria ampliada ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px) scale(1.02); transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: opacity, transform; }
html.js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }

.featured__card { border-radius: 0; transition: border-radius 0.5s ease; }
.featured__card img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.featured__card::after { transition: background 0.5s ease; }
.featured__cap { transition: transform 0.5s ease; }
.featured__card:hover, .featured__card:focus-visible { border-radius: 12px; }
.featured__card:hover img, .featured__card:focus-visible img { transform: scale(1.06); }
.featured__card:hover::after, .featured__card:focus-visible::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%); }
.featured__card:hover .featured__cap, .featured__card:focus-visible .featured__cap { transform: translateY(-6px); }
.card img, .post-card img { transition: border-radius 0.5s ease; }
.card:hover img, .post-card:hover img { border-radius: 12px; }

.gallery img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(10, 12, 15, 0.94); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; cursor: zoom-out; }
.lightbox button { position: absolute; border: 0; background: transparent; color: #fff; font: inherit; font-size: 2rem; line-height: 1; padding: 16px; cursor: pointer; opacity: 0.8; }
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox__close { top: 8px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; letter-spacing: 0.1em; }
body.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .featured__card, .featured__card img, .featured__cap, .card img, .post-card img, .lightbox { transition: none; }
  .featured__card:hover img { transform: none; }
}

/* ---------- Corpo do artigo (modelo) ---------- */
.post-body .article__body > p:first-child { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.post-body .article__body h2 { font-size: 1.75rem; line-height: 1.2; margin: 56px 0 18px; }
.post-body .article__body h3 { font-size: 1.15rem; line-height: 1.35; margin: 28px 0 8px; font-weight: 500; }
.post-body .article__body h2 + h3 { margin-top: 8px; }
.post-body .article__body ul, .post-body .article__body ol { margin: 0 0 24px 1.25rem; padding: 0; color: var(--ink-2); font-size: 1.05rem; }
.post-body .article__body li { margin-bottom: 8px; }
.post-body .article__body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.post-body .article__body a:hover { text-decoration-thickness: 2px; }
.post-body .article__body blockquote { margin: 32px 0; padding-left: 20px; border-left: 3px solid var(--ink); font-size: 1.15rem; }
.post-body .article__body img { max-width: 100%; height: auto; }
.post-body .article__body h2:last-of-type ~ ul { font-size: 0.95rem; }

/* campo-isca do formulário: fora da tela, invisível para pessoas */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pausar movimento e foco visível ---------- */
.flow-pause {
  display: block; margin: 16px 0 0 auto; padding: 8px 12px; min-height: 40px;
  border: 0; background: transparent; color: var(--ink-3); font: inherit; font-size: 0.875rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.flow-pause:hover { color: var(--ink); }
.section--dark .flow-pause { color: var(--on-dark-2); }
.section--dark .flow-pause:hover { color: var(--on-dark); }
.logos + .flow-pause { margin-right: var(--pad-x); }
.carousel--quotes .flow-pause { position: relative; z-index: 2; }
.logos.is-paused .logos__track { animation-play-state: paused; }

/* anel de foco só no teclado; claro sobre fundo escuro, escuro sobre fundo claro */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .menu-movel :focus-visible, .post-hero :focus-visible, .lightbox :focus-visible { outline-color: var(--on-dark); }
/* o header fixo não cobre o item que recebe foco ao navegar por teclado ou âncora */
html { scroll-padding-top: calc(var(--header-h) + 16px); }

/* ---------- Depoimentos em cards (loop contínuo) ---------- */
.depo-cards { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 48px; align-items: center; padding-right: 0; }
.depo-cards__mark { display: block; font-size: 6rem; line-height: 0.8; height: 56px; color: var(--ink-3); font-weight: 300; }
.depo-cards__head .eyebrow { margin: 16px 0 16px; }
.depo-cards__head h2 { margin-bottom: 32px; font-size: clamp(1.75rem, 2.3vw, 2.25rem); line-height: 1.15; }
.depo-cards__nav { display: flex; align-items: center; gap: 12px; }
.depo-cards__nav button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font: 400 1.25rem/1 var(--font); cursor: pointer; }
.depo-cards__nav button:hover { color: var(--ink-2); }
.depo-cards__progress { position: relative; width: 96px; height: 1px; background: var(--line); }
.depo-cards__progress span { position: absolute; top: -1px; left: 0; width: 30%; height: 3px; background: var(--ink); }
.depo-cards__head .flow-pause { margin: 16px 0 0; padding: 8px 0; }
.carousel--quotes.depo-cards__rail { border-top: 0; padding: 0; min-width: 0; }
.depo-cards__rail .carousel__track { gap: 24px; padding: 4px 0; }
.depo-card { flex: 0 0 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; margin: 0; padding: 28px; background: var(--white); border-radius: 12px; }
.depo-card p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.depo-card footer { display: flex; align-items: center; gap: 12px; }
.depo-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.depo-card cite { font-style: normal; font-size: 0.875rem; line-height: 1.4; color: var(--ink-3); display: flex; flex-direction: column; }
.depo-card cite strong { color: var(--ink); font-weight: 500; font-size: 0.95rem; }


/* Trilho de cards: sai até a borda da página e aparece em degradê pela lateral */
.depo-cards__rail { margin-right: calc(-1 * (max(0px, (100vw - 1800px) / 2) + 5.5vw)); }
.depo-cards__rail .carousel__track {
  padding-right: 5.5vw; margin-right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 88%, transparent 100%);
}

/* Seis etapas numa linha; em telas menores quebram em 3 colunas */
@media (max-width: 1200px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Artigos: trilho sai até a borda da página com degradê na lateral; setas e barra como nos depoimentos */
.arts-rail { margin-right: calc(-1 * (max(0px, (100vw - 1800px) / 2) + 5.5vw)); }
.arts-rail .carousel__track {
  padding-right: 5.5vw;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 74%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 74%, transparent 100%);
}
.arts-nav { margin-top: 32px; }
.articles-block__head .arts-nav { margin-top: 32px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  :root { --pad-y: 56px; --header-h: 80px; }
  .site-header { display: flex; }
  .site-nav, .site-header__actions { display: none; }
  .menu-toggle { display: block; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
  .menu-toggle::before, .menu-toggle::after { content: ''; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--on-dark); }
  .menu-toggle::before { top: 14px; box-shadow: 0 6px 0 var(--on-dark); }
  .menu-toggle::after { top: 26px; }

  .featured__grid, .services-block__grid, .clients__head, .depo-block, .articles-block, .faq, .cta-final__grid,
  .two-col, .case-meta, .cta__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .services-block__lead { margin-top: 0; max-width: none; }
  .services { margin-top: 0; }
  .faq__intro { position: static; }
  .clients__head .lead { margin-top: 0; }
  .sobre { grid-template-columns: 1fr; min-height: 0; }
  .sobre__foto { aspect-ratio: 4 / 3; }
  .sobre__texto { padding: 48px var(--pad-x); max-width: none; }
  .steps, .steps--six { grid-template-columns: 1fr 1fr; }
  .cards, .cards--grid, .pillars { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-final { padding: 80px 0; }
  .hero { padding: 48px var(--pad-x); }
  .wa-float { right: 20px; bottom: 16px; }
  .post-hero { padding: 24px var(--pad-x) 0; }
  .related { padding: 56px 0 72px; }
  .related__head { flex-direction: column; align-items: flex-start; }
  .post-hero h1 { max-width: none; }
  .post-body { padding-top: 48px; padding-bottom: 72px; }
  .page-hero, .split, .acro, .stages, .cta-page__grid, .quote, .case-top__grid { grid-template-columns: 1fr; }
  .page-hero__img { min-height: 360px; order: -1; }
  .split--sticky > h2, .stages__intro { position: static; padding-left: 0; }
  .acro__img img { height: 360px; }
  .acro__text { padding: 48px var(--pad-x); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .section--roomy, .section--deep { padding: 72px 0; }
  .quote { padding: 72px var(--pad-x); gap: 48px; }
  .quote__intro { position: static; }
}
@media (max-width: 600px) {
  .steps, .steps--six, .cards, .cards--grid, .pillars, .feature, .footer__grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 64px 0 40px; }
  .depo p { font-size: 1rem; }
  .depo-cards { grid-template-columns: 1fr; gap: 32px; padding-right: 0; }
  .depo-cards__rail .carousel__track { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 84%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 84%, transparent 100%); }
  .depo-card { flex-basis: 85%; padding: 24px; }
  .depo-cards__mark { font-size: 4.5rem; height: 40px; }
  .carousel--quotes { padding: 24px 40px 0; }
  .post-grid { grid-template-columns: 1fr; }
}
