/* Kalltech v11 · mesma linguagem dos sites Minoru e Equipiazza, com a identidade Kalltech.
   Serifa editorial com itálico azul, fotografia em tela cheia, rótulos à esquerda. */
:root {
  --black: #0d0e10;
  --black-2: #16181b;
  --off: #f5f4f0;
  --paper: #fbfaf7;
  --ink: #111214;
  --ink-2: #565a60;
  --ink-3: #5c6066;
  --line: #dddcd6;
  --line-d: rgb(255 255 255 / .14);
  --label-d: #b7bcc2;
  --blue: #1a8fd0;
  --blue-d: #0f74ad;
  --blue-l: #6cc0ef;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Escala tipográfica: 9 passos + interface */
  --t-display: clamp(40px, 5.2vw, 78px);
  --t-h2: clamp(32px, 3.9vw, 56px);
  --t-h3: clamp(27px, 3.05vw, 44px);
  --t-num: clamp(26px, 2.1vw, 30px);
  --t-sub: 22px;
  --t-lead: 18px;
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 12px;
  --t-ui: 15px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--off); color: var(--ink); font: 400 var(--t-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.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; }

/* Tipografia de assinatura */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.serif em { font-style: italic; color: var(--blue-d); }
.dark .serif em, .on-photo .serif em { color: var(--blue-l); }
.h2 { font-size: var(--t-h2); line-height: 1.08; text-wrap: balance; }
.h3 { font-size: var(--t-h3); line-height: 1.1; text-wrap: balance; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--t-label)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.dark .label, .on-photo .label { color: var(--label-d); }
.lead { margin-top: 20px; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.dark .lead { color: #a9aeb4; }

/* Botões (pílula, como na Minoru) */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; font: 600 var(--t-ui)/1 var(--sans); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn--blue { background: var(--blue-d); color: #fff; }
.btn--blue:hover { background: #0b5f8f; }
.btn--ghost { border: 1px solid rgb(255 255 255 / .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }

/* Menu */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgb(13 14 16 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line-d); }
.nav__in { height: 76px; display: flex; align-items: center; gap: 36px; color: #fff; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: var(--t-ui); color: rgb(255 255 255 / .82); }
.nav__links a:hover { color: #fff; }
.nav .btn { height: 42px; padding: 0 20px; font-size: var(--t-small); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:nth-child(1) { top: 17px; } .nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* Hero em foto cheia, com parallax leve (a foto anda mais devagar que a página) */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; background: var(--black); isolation: isolate; }
.hero__img { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 14 16 / .88) 0%, rgb(13 14 16 / .6) 40%, rgb(13 14 16 / .1) 75%), linear-gradient(0deg, rgb(13 14 16 / .85) 0%, transparent 35%); }
.hero__copy { padding: 150px 0 60px; will-change: transform, opacity; }
.hero__title { margin-top: 24px; font-size: var(--t-display); line-height: 1.03; max-width: 15ch; }
.hero__sub { margin-top: 24px; max-width: 46ch; font-size: var(--t-lead); line-height: 1.6; color: rgb(255 255 255 / .82); }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__who { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.hero__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; box-shadow: 0 0 0 2px rgb(108 192 239 / .7); }
.hero__who b { display: block; font: 500 18px/1.2 var(--serif); }
.hero__who span { display: block; margin-top: 2px; font-size: var(--t-small); color: rgb(255 255 255 / .78); }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / .2); }
.hero__facts div { padding: 22px 20px 30px 0; }
.hero__facts b { display: block; font: 400 var(--t-num)/1.1 var(--serif); }
.hero__facts span { display: block; margin-top: 4px; font-size: var(--t-small); color: rgb(255 255 255 / .72); }
.hero__copy > *, .hero__facts { animation: up 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; } .hero__copy > :nth-child(3) { animation-delay: .22s; } .hero__copy > :nth-child(4) { animation-delay: .34s; } .hero__copy > :nth-child(5) { animation-delay: .42s; }
.hero__facts { animation-delay: .5s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Layout editorial: rótulo à esquerda */
.section { padding: 120px 0; }
.ed { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.ed__side { padding-top: 14px; }
.dark { background: var(--black); color: #f3f3f0; }
.svc-intro { padding: 120px 0 64px; }

/* Como funciona (dentro da consultoria) */
.steps-wrap { padding: 90px 0 110px; }
.steps__head .h3 { margin-top: 20px; max-width: 20ch; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; border-top: 1px solid var(--line-d); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 30px 0 0; }
.step__n { font: 400 var(--t-num)/1 var(--serif); color: var(--blue-l); }
.step h4 { font: 500 var(--t-sub)/1.25 var(--serif); color: #fff; }
.step p { margin-top: 8px; color: #a9aeb4; font-size: var(--t-small); line-height: 1.55; }

/* Quem faz */
.who { background: var(--paper); }
.who__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.who__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e7e6e0; }
.who__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.who__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; background: var(--blue); }
.who__title { margin-top: 20px; }
.who p.lead { margin-top: 26px; }
.who__sign { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.who__sign b { display: block; font: 500 var(--t-sub)/1.25 var(--serif); }
.who__sign span { display: block; margin-top: 2px; font-size: var(--t-small); color: var(--ink-3); }

/* Trajetória, dentro do Sobre */
.tl { margin-top: 90px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.tl li { position: relative; padding: 24px 22px 0 0; }
.tl li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.tl b { display: block; font: 400 var(--t-num)/1 var(--serif); color: var(--blue-d); }
.tl strong { display: block; margin-top: 12px; font-size: var(--t-small); font-weight: 600; }
.tl span { display: block; margin-top: 4px; font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }

/* Dúvidas */
.faq { margin-top: 44px; max-width: 72ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 500 var(--t-sub)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font: 400 18px/1 var(--sans); color: var(--blue-d); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 60px 26px 0; max-width: 64ch; color: var(--ink-2); font-size: var(--t-body); line-height: 1.65; }

/* Fechamento */
.close { padding: 110px 0; text-align: center; }
.close__photo { width: 108px; height: 108px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--off), 0 0 0 5px var(--blue); background: #e7e6e0; }
.close__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.close .h2 { margin-top: 30px; }
.close p.lead { margin-left: auto; margin-right: auto; max-width: 48ch; }
.close__cta { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Rodapé */
.foot { background: var(--black); color: #a9aeb4; font-size: var(--t-small); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 70px 0 50px; }
.foot__grid img { height: 28px; width: auto; }
.foot__grid p { margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.foot__t { margin: 0 0 14px; font: 600 var(--t-label)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.foot ul { display: grid; gap: 4px; }
.foot li { padding: 4px 0; }
.foot a { display: inline-block; }
.foot a:hover { color: #fff; }
.foot__bar { border-top: 1px solid var(--line-d); padding: 22px 0; font-size: var(--t-small); }

/* WhatsApp flutuante */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-d); color: #fff; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .45), 0 0 0 1px rgb(255 255 255 / .18); transition: transform .3s var(--ease), opacity .3s, background-color .25s; }
.wa:hover { transform: translateY(-2px); background: #0b5f8f; }
.wa svg { width: 26px; height: 26px; }
.wa.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }

/* Voltar ao topo: aparece depois da hero, acima do WhatsApp */
.totop { position: fixed; right: 22px; bottom: 92px; z-index: 55; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(13 14 16 / .8); color: #fff; border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .25s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--blue-d); border-color: var(--blue-d); }
.totop svg { width: 20px; height: 20px; }

/* Pular para o conteúdo */
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: var(--t-small); transition: top .2s; }
.skip:focus { top: 14px; }
main:focus { outline: none; }

/* Revelar ao rolar */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; margin-left: 4px; }
  .nav__cta { margin-left: auto; }
  .nav__logo img { height: 36px; }
  .nav.is-open { background: var(--black); }
  .nav__mobile:not([hidden]) { display: grid; padding: 4px 24px 28px; background: var(--black); border-top: 1px solid var(--line-d); }
  .nav__mobile a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-d); font: 400 24px var(--serif); color: #fff; }
  .nav__mobile .btn { margin-top: 22px; justify-content: center; }
  body.menu-open { overflow: hidden; }
  .ed { grid-template-columns: 1fr; gap: 18px; }
  .ed__side { padding-top: 0; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .who__grid { grid-template-columns: 1fr; gap: 44px; }
  .who__photo { max-width: 440px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .tl { grid-template-columns: repeat(3, 1fr); row-gap: 30px; border-top: 0; }
  .tl li { border-top: 1px solid var(--line); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --t-sub: 20px; --t-lead: 17px; }
  .wrap { width: calc(100% - 40px); }
  .serif { letter-spacing: -.01em; }
  .section, .svc-intro { padding: 84px 0; }
  .svc-intro { padding-bottom: 44px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  /* celular: a foto fica em cima, inteira, e o texto embaixo sobre o preto (nada escrito sobre a foto) */
  .hero { display: block; min-height: 0; }
  .hero__img { position: relative; inset: auto; z-index: 0; height: 46vh; min-height: 300px; max-height: 420px; overflow: hidden; transform: none !important; }
  .hero__img img { object-position: 52% 50%; }
  .hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black) 0%, rgb(13 14 16 / .55) 22%, rgb(13 14 16 / 0) 55%), linear-gradient(180deg, rgb(13 14 16 / .7) 0%, rgb(13 14 16 / 0) 30%); }
  .hero::after { display: none; }
  .hero__copy { padding: 0 0 36px; margin-top: -36px; position: relative; z-index: 1; transform: none !important; opacity: 1 !important; }
  .hero__facts { opacity: 1 !important; }
  .hero__who span { max-width: 26ch; }
  .hero__facts b { font-size: 22px; }
  .hero__facts span { font-size: 13px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { justify-content: center; }
  .hero__facts { padding-right: 56px; }
  .hero__facts div { padding: 16px 12px 20px 0; }
  .steps-wrap { padding: 70px 0 84px; }
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .step { grid-template-columns: 40px 1fr; padding: 24px 0 0; }
  .tl { grid-template-columns: 1fr; margin-top: 64px; }
  .faq details p { padding-right: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .totop { right: 20px; bottom: 80px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img { inset: 0; }
  .hero__img img, .hero__copy > *, .hero__facts { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
