/* ==========================================================================
   Kametani Digital — layout original (Elementor) recriado, com movimento.
   Medidas e cores tiradas do site atual: Poppins, dourado #C8A24A,
   seções #0A0A0A, cards #111 com cantos de 25px, contêiner de 1200px.
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--gold: #C8A24A;
	--gold-light: #f1d996;
	--black: #000;
	--dark: #0A0A0A;
	--dark-2: #050505;
	--card: #111111;
	--line-dark: #1c1c1c;
	--white: #fff;
	--muted: #cfcfcf;
	--red: #FB1008;
	--green: #03AF03;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
	--pad: 20px;
	--header-h: 116px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.kd-skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--gold); color: #000; padding: 10px 16px; font-weight: 600; }
.kd-skip:focus { top: 12px; color: #000; }
.kd-main { overflow-x: clip; }
.kd-main:focus { outline: none; }

.kd-container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.kd-container--text { max-width: calc(800px + var(--pad) * 2); }
.kd-gold { color: var(--gold); }
.kd-center { text-align: center; }
.kd-rounded { border-radius: 20px; }
.kd-icon { width: 1em; height: 1em; flex: none; }

/* ------------------------------------------------------------ Tipografia */

.kd-label {
	margin: 0 0 10px;
	color: var(--gold);
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.kd-label a:hover { color: var(--white); }
.kd-line {
	display: block;
	height: 1px;
	width: 100%;
	max-width: var(--line-w, 100%);
	background: var(--gold);
	margin: 0 0 20px;
	transform-origin: left center;
}
.kd-title { font-size: 30px; font-weight: 600; line-height: 1.25; margin-bottom: 20px; }
.kd-title--xl { font-size: 52px; line-height: 1.2; }
.kd-title--sm { font-size: 24px; }
.kd-title--center { text-align: center; }
.kd-subtitle { font-size: 18px; font-weight: 500; line-height: 28px; margin-bottom: 10px; }
.kd-lead { font-size: 18px; font-weight: 500; line-height: 1.55; }
.kd-small { font-size: 14px; text-align: justify; }
.kd-text { font-size: 16px; text-align: justify; }
.kd-text p:last-child { margin-bottom: 0; }
.kd-text--wide { max-width: 900px; margin-inline: auto; }
.kd-note { margin-top: 14px; }

/* --------------------------------------------------------------- Botões */

.kd-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.kd-btns--end { justify-content: flex-end; }
.kd-btns--center { justify-content: center; }
.kd-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 13px 25px;
	border: 1px solid var(--gold);
	border-radius: 0;
	background: transparent;
	color: var(--gold);
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color .35s, background-color .35s, transform .3s var(--ease);
}
.kd-btn .kd-icon { font-size: 22px; }
.kd-btn::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .45s var(--ease);
	z-index: -1;
}
.kd-btn:hover, .kd-btn:focus-visible { color: #000; }
.kd-btn:hover::before, .kd-btn:focus-visible::before { transform: scaleX(1); }
.kd-btn--solid { background: var(--gold); color: #000; border-radius: 10px; padding: 18px 28px; }
.kd-btn--solid::before { background: transparent; }
.kd-btn--solid:hover { background: transparent; color: #fff; }

/* ------------------------------------------------------------- Cabeçalho */

.kd-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.kd-progress span { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.kd-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: var(--black);
	border-bottom: 1px solid transparent;
	transition: background-color .35s, border-color .35s;
}
.kd-header.is-scrolled { background: #000; border-bottom-color: #1a1a1a; }
.kd-nav-open .kd-header { background: var(--black); -webkit-backdrop-filter: none; backdrop-filter: none; }
.kd-header__inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.kd-logo { flex: none; display: inline-flex; }
.kd-logo img { height: 78px; width: auto; max-width: 100%; }
.kd-footer .kd-logo img { height: 78px; }
@media (max-width: 767px) { :root { --header-h: 96px; } .kd-logo img { height: 66px; } }
.kd-logo__text { font-size: 20px; font-weight: 600; }
.kd-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.kd-menu { display: flex; gap: 26px; }
.kd-menu a { position: relative; font-size: 15px; font-weight: 500; padding: 8px 0; }
.kd-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.kd-menu a:hover::after, .kd-menu .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.kd-menu .current-menu-item > a { color: var(--gold); }
.kd-nav__cta { padding: 10px 18px; font-size: 13px; gap: 10px; }
.kd-burger { display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; background: none; border: 1px solid var(--gold); color: var(--gold); cursor: pointer; font-size: 20px; }
.kd-burger__close { display: none; }
.kd-nav-open .kd-burger__open { display: none; }
.kd-nav-open .kd-burger__close { display: block; }

@media (max-width: 1100px) {
	.kd-burger { display: inline-flex; }
	.kd-nav {
		position: fixed; inset: var(--header-h) 0 0;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 30px;
		padding: 30px 20px; background: var(--black); overflow-y: auto;
		clip-path: inset(0 0 100% 0); visibility: hidden;
		transition: clip-path .5s var(--ease), visibility 0s .5s;
	}
	.kd-nav-open .kd-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
	.kd-nav-open { overflow: hidden; }
	.kd-menu { flex-direction: column; gap: 0; }
	.kd-menu li { border-bottom: 1px solid #1a1a1a; }
	.kd-menu a { display: block; padding: 16px 0; font-size: 20px; }
	.kd-menu a::after { display: none; }
	.kd-nav__cta { padding: 16px; font-size: 15px; }
}

/* ------------------------------------------------------------------ Topo */

.kd-hero {
	position: relative;
	overflow: hidden;
	padding: 120px 0 100px;
	min-height: 620px;
	display: flex;
	align-items: center;
	background: var(--black);
}
.kd-hero__bg {
	position: absolute; inset: -12% 0 -12% 0;
	background-image: var(--bg, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transform: translate3d(0, var(--py, 0px), 0);
	will-change: transform;
}
.kd-hero--overlay .kd-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgb(0 0 0 / .95) 35%, rgb(0 0 0 / 0) 72%);
}
.kd-hero--service .kd-hero__bg::after { background: linear-gradient(90deg, #000 45%, rgb(0 0 0 / 0) 80%); }
.kd-hero__inner { position: relative; z-index: 2; }
.kd-hero__content { max-width: 640px; }
.kd-hero .kd-label { font-size: 14px; }
.kd-hero--service { --line-w: 20%; }
.kd-hero__title { font-size: 54px; font-weight: 600; line-height: 1.2; margin-bottom: 18px; }
.kd-hero__sub { font-size: 18px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; }
.kd-hero--home .kd-hero__content { max-width: 620px; }

@media (max-width: 767px) {
	.kd-hero__bg { background-image: var(--bg-m, var(--bg, none)); }
	.kd-hero { padding: 60px 0; min-height: 0; }
	.kd-hero--overlay .kd-hero__bg::after, .kd-hero--service .kd-hero__bg::after { background: rgb(0 0 0 / .72); }
	.kd-hero__title { font-size: 26px; }
	.kd-hero__sub { font-size: 16px; }
}

/* Kanji */
.kd-kanji { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; transform: translate3d(0, var(--py, 0px), 0); }
.kd-kanji img { position: relative; z-index: 1; width: 78%; height: auto; filter: drop-shadow(0 0 22px rgb(200 162 74 / .35)); }
.kd-kanji__ring {
	position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 40%, rgb(200 162 74 / .55) 50%, transparent 60% 100%);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
}
.kd-kanji--hero {
	position: absolute; z-index: 1; right: 6%; top: 50%;
	width: min(32vw, 420px); max-width: none; margin: 0;
	opacity: .14; translate: 0 -50%;
	transform: translate3d(0, var(--py, 0px), 0);
	pointer-events: none;
}
.kd-hero--home .kd-kanji--hero, .kd-hero--sobre .kd-kanji--hero { display: none; }
.kd-kanji--404 { max-width: 220px; margin-bottom: 30px; }
@media (max-width: 767px) { .kd-kanji--hero { display: none; } }
@media (max-width: 900px) { .kd-kanji { transform: none; } .kd-ps__kanji .kd-kanji { max-width: 200px; } }

/* ------------------------------------------------------------ Seções */

.kd-section { padding: 80px 0; background: var(--dark); }
.kd-section + .kd-section { padding-top: 0; }
.kd-section--first { padding-top: 80px; }
.kd-section--tight { padding: 0 0 80px; }
@media (max-width: 767px) { .kd-section { padding: 40px 0; } .kd-section--tight { padding-bottom: 40px; } }

.kd-card { background: var(--card); border-radius: 25px; padding: 30px; transition: translate .5s var(--ease), box-shadow .5s; }
.kd-card--center { text-align: center; }
.kd-stack { display: grid; gap: 30px; }
@media (max-width: 767px) { .kd-card { padding: 20px 16px; border-radius: 18px; } }

/* Faixa de números */
.kd-stats { background: var(--dark); padding: 30px 0; }
.kd-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 20px; }
.kd-stat { padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.kd-stat__top { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 90px; }
.kd-stat__icon { width: 90px; height: 90px; object-fit: contain; }
.kd-stat--number .kd-stat__icon { width: 72px; height: 72px; }
.kd-counter { color: var(--gold); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kd-stat__title { padding-top: 10px; font-size: 18px; font-weight: 500; text-transform: uppercase; }
.kd-stat__text { padding-top: 10px; margin: 0; font-size: 14px; font-weight: 300; }
@media (max-width: 1024px) { .kd-stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kd-stat { padding: 15px; } .kd-stats__grid { grid-template-columns: 1fr 1fr; gap: 0 10px; } .kd-stat__icon { width: 64px; height: 64px; } .kd-stat__title { font-size: 15px; } .kd-stat__text { font-size: 13px; } }

/* O problema / a solução */
.kd-ps__grid { display: grid; grid-template-columns: 1fr minmax(200px, 300px) 1fr; gap: 40px; align-items: center; }
.kd-tag { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 18px; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.kd-tag .kd-icon { font-size: 22px; }
.kd-ps__title { font-size: 18px; font-weight: 500; line-height: 28px; padding-top: 10px; margin-bottom: 14px; }
.kd-ps .kd-text { font-size: 14px; }
.kd-iconlist li { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; font-size: 14px; }
.kd-iconlist .kd-icon { color: var(--gold); margin-top: .3em; }
@media (max-width: 900px) { .kd-ps__grid { grid-template-columns: 1fr; text-align: left; } .kd-ps__kanji { order: -1; max-width: 220px; margin-inline: auto; } }

/* Serviços (Home) */
.kd-services { padding-top: 40px; padding-bottom: 40px; }
.kd-services .kd-label { color: var(--white); }
.kd-services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3%; align-items: center; }
.kd-services__intro .kd-line { margin: 0 0 20px; }
.kd-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.kd-pillar { text-align: center; }
.kd-pillar__icon { width: 55%; margin: 0 auto; }
.kd-pillar__title { padding-top: 10px; font-size: 18px; font-weight: 500; text-transform: uppercase; }
.kd-pillar__text { padding-top: 10px; margin: 0; font-size: 14px; font-weight: 300; line-height: 20px; }
.kd-svclist { display: grid; gap: 10px; }
.kd-svc { display: flex; align-items: center; gap: 20px; padding: 14px 18px; border-radius: 20px; border: 1px solid transparent; transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.kd-svc__icon { width: 18%; max-width: 100px; flex: none; transition: transform .6s var(--ease); }
.kd-svc__body { display: grid; gap: 8px; }
.kd-svc__title { padding-top: 10px; font-size: 20px; font-weight: 600; text-transform: uppercase; transition: color .3s; }
.kd-svc__text { font-size: 20px; font-weight: 400; line-height: 1.4; }
.kd-svc:hover { color: inherit; background: var(--card); border-color: rgb(200 162 74 / .35); transform: translateX(-6px); }
.kd-svc:hover .kd-svc__title { color: var(--gold); }
.kd-svc:hover .kd-svc__icon { transform: rotate(-8deg) scale(1.08); }
@media (max-width: 1024px) { .kd-services__grid { grid-template-columns: 1fr; gap: 40px; } .kd-svc__text { font-size: 16px; } }
@media (max-width: 767px) { .kd-title--xl { font-size: 26px; } .kd-pillars { grid-template-columns: 1fr; gap: 26px; } .kd-pillar__icon { width: 30%; } .kd-svc__icon { width: 30%; } .kd-svc__title { font-size: 17px; } }

/* Portfólio */
.kd-projects { display: grid; gap: 40px; margin-top: 30px; }
.kd-projects--2 { grid-template-columns: repeat(2, 1fr); }
.kd-projects--3 { grid-template-columns: repeat(3, 1fr); }
.kd-project { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; border-radius: 20px; overflow: hidden; background: var(--card); color: #000; isolation: isolate; }
.kd-project__img { position: absolute; inset: 0; z-index: -1; background-image: var(--img, none); background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }
.kd-project__label { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px; background: var(--gold); border-radius: 20px; transition: transform .5s var(--ease), background-color .4s; }
.kd-project__label .kd-icon { font-size: 30px; }
.kd-project__label strong { display: block; font-size: 20px; font-weight: 400; line-height: 1.3; }
.kd-project__label small { display: block; font-size: 16px; line-height: 1.3; }
a.kd-project:hover { color: #000; }
a.kd-project:hover .kd-project__img { transform: scale(1.08); }
a.kd-project:hover .kd-project__label { transform: translateY(-8px); background: var(--gold-light); }
a.kd-project:hover .kd-project__label .kd-icon { animation: kd-nudge .8s var(--ease) infinite alternate; }
.kd-projects--3 .kd-project { min-height: 380px; }
@media (max-width: 1024px) { .kd-projects { gap: 16px; } .kd-projects--3 .kd-project { min-height: 330px; } }
@media (max-width: 767px) { .kd-projects--2, .kd-projects--3 { grid-template-columns: 1fr; } .kd-project { min-height: 300px; } }

/* Outros serviços */
.kd-others__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; margin-top: 30px; }
.kd-other { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.kd-other:nth-child(4) { grid-column: 2 / span 2; }
.kd-other__icon { width: 45%; max-width: 140px; }
.kd-other__title { font-size: 18px; font-weight: 500; text-transform: uppercase; }
.kd-other__text { font-size: 16px; flex: 1; margin: 0; }
.kd-other .kd-btn { margin-top: 10px; }
@media (max-width: 1024px) { .kd-others__grid { grid-template-columns: 1fr 1fr; gap: 20px; } .kd-other, .kd-other:nth-child(4) { grid-column: auto; } }
@media (max-width: 600px) { .kd-others__grid { grid-template-columns: 1fr; } .kd-other__icon { width: 40%; } }

/* Chamada final */
.kd-cta__box { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.kd-cta--photo { background: var(--dark-2); }
.kd-cta--photo .kd-cta__box { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.kd-cta__img { width: 100%; border-radius: 25px; }
.kd-cta .kd-title { font-size: 40px; }
.kd-cta .kd-btns { margin-top: 20px; }
.kd-cta:not(.kd-cta--photo) .kd-cta__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 40px; align-items: center; }
.kd-cta:not(.kd-cta--photo) .kd-cta__copy > * { grid-column: 1; }
.kd-cta:not(.kd-cta--photo) .kd-btns { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; margin: 0; }
@media (max-width: 900px) {
	.kd-cta--photo .kd-cta__box { grid-template-columns: 1fr; }
	.kd-cta__media { max-width: 360px; }
	.kd-cta:not(.kd-cta--photo) .kd-cta__copy { grid-template-columns: 1fr; }
	.kd-cta:not(.kd-cta--photo) .kd-btns { grid-column: 1; grid-row: auto; flex-direction: row; margin-top: 20px; }
	.kd-cta .kd-title { font-size: 26px; }
}
@media (max-width: 560px) { .kd-btns .kd-btn { width: 100%; } }

/* Site Personalizado */
.kd-bigicon { display: inline-flex; color: var(--gold); font-size: 71px; margin-bottom: 16px; }
.kd-card--center .kd-bigicon { justify-content: center; }
.kd-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kd-vs__box { display: flex; align-items: center; gap: 24px; padding: 24px; border: 1px solid; border-radius: 10px; transition: transform .5s var(--ease), box-shadow .5s; }
.kd-vs__box--bad { border-color: var(--red); }
.kd-vs__box--good { border-color: var(--green); }
.kd-vs__box--bad:hover { box-shadow: 0 0 40px -10px rgb(251 16 8 / .45); }
.kd-vs__box--good:hover { box-shadow: 0 0 40px -10px rgb(3 175 3 / .45); }
.kd-vs__img { width: 45%; max-width: 180px; flex: none; }
.kd-vs__title { font-size: 30px; margin-bottom: 12px; }
.kd-iconlist--bad .kd-icon { color: var(--red); }
.kd-iconlist--good .kd-icon { color: var(--green); }
.kd-vs .kd-iconlist li { font-size: 16px; }
.kd-iconbox { display: flex; align-items: center; gap: 24px; justify-content: center; text-align: left; }
.kd-iconbox .kd-bigicon { margin: 0; }
.kd-iconbox .kd-title { margin: 0; }
.kd-iconlist--cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; margin-top: 24px; }
.kd-iconlist--cols li { background: #0c0c0c; border: 1px solid #222; border-radius: 12px; padding: 14px 16px; font-size: 16px; align-items: center; }
.kd-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.kd-split--icon { grid-template-columns: 220px minmax(0, 1fr); }
.kd-highlight { margin: 24px 0 0; padding-left: 20px; border-left: 3px solid var(--gold); font-size: 20px; font-weight: 500; line-height: 1.45; }
.kd-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.kd-reason { text-align: center; }
.kd-reason__icon { width: 120px; margin: 0 auto 14px; }
.kd-reason__title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.kd-reason__text { font-size: 15px; margin: 0; color: var(--muted); }
.kd-rocket { width: 200px; margin: 0 auto; }
@media (max-width: 900px) { .kd-vs, .kd-split, .kd-split--icon, .kd-reasons { grid-template-columns: 1fr; } .kd-iconlist--cols { grid-template-columns: 1fr 1fr; } .kd-rocket { width: 140px; } }
@media (max-width: 767px) { .kd-vs__box { flex-direction: column; text-align: center; } .kd-vs__img { width: 40%; } .kd-vs__title { font-size: 24px; } .kd-iconlist--cols { grid-template-columns: 1fr; } .kd-iconbox { flex-direction: column; text-align: center; } .kd-bigicon { font-size: 54px; } .kd-title { font-size: 24px; } }

/* Sobre */
.kd-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; max-width: 620px; }
.kd-hl__item { background: rgb(0 0 0 / .5); border-radius: 18px; padding: 35px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid rgb(200 162 74 / .15); }
.kd-hl__icon { width: 50%; max-width: 90px; margin-bottom: 12px; }
.kd-hl__title { font-size: 18px; font-weight: 600; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.kd-hl__text { font-size: 15px; margin: 0; }
.kd-journey { background: var(--dark-2); }
.kd-journey__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.kd-timeline { position: relative; padding-left: 34px; margin-top: 10px; }
.kd-timeline__line { position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: #222; }
.kd-timeline__line span { display: block; width: 100%; height: calc(var(--tp, 0) * 100%); background: linear-gradient(var(--gold), var(--gold-light)); }
.kd-timeline__item { position: relative; padding: 0 0 26px; }
.kd-timeline__item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); background: var(--dark-2); transition: background-color .4s, box-shadow .4s; }
.kd-timeline__item.is-in::before { background: var(--gold); box-shadow: 0 0 0 6px rgb(200 162 74 / .15); }
.kd-timeline__title { font-weight: 600; margin-bottom: 6px; }
.kd-timeline__text { font-size: 16px; text-align: justify; margin: 0; }
.kd-founder { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border-radius: 25px; padding: 30px; text-align: center; }
.kd-founder__photo img { width: 100%; }
.kd-founder__quote { margin: 24px 0 18px; font-size: 22px; font-weight: 600; line-height: 1.35; }
.kd-founder__name { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.kd-founder .kd-label { font-size: 14px; }
.kd-founder__role { font-size: 15px; margin: 0; }
.kd-skills__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 30px; }
.kd-skill { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 18px; border-radius: 13px; background: var(--gold); color: #000; transition: transform .5s var(--ease), box-shadow .5s; }
.kd-skill:hover { color: #000; translate: 0 -8px; box-shadow: 0 20px 40px -18px rgb(200 162 74 / .8); }
.kd-skill__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #000; color: var(--gold); font-size: 30px; box-shadow: 0 0 0 0 rgb(0 0 0 / .25); transition: scale .45s var(--ease), box-shadow .45s var(--ease); }
.kd-skill:hover .kd-skill__icon { scale: 1.1; box-shadow: 0 0 0 7px rgb(0 0 0 / .18); }
.kd-skill:hover .kd-skill__icon .kd-icon { animation: kd-wiggle .6s var(--ease); }
@keyframes kd-wiggle { 0%, 100% { rotate: 0deg; } 30% { rotate: -14deg; } 60% { rotate: 10deg; } }
.kd-skill__title { font-size: 18px; font-weight: 600; }
.kd-skill__text { font-size: 14px; margin: 0; }
.kd-dev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.kd-dev__card { background: var(--card); border-radius: 25px; padding: 30px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s; }
.kd-dev__img { overflow: hidden; border-radius: 12px; }
.kd-dev__img img { width: 100%; transition: transform .8s var(--ease); }
.kd-dev__card:hover .kd-dev__img img { transform: scale(1.06); }
.kd-dev__card:hover { box-shadow: 0 0 0 1px rgb(200 162 74 / .4); }
.kd-dev__title { margin-top: 18px; font-size: 18px; font-weight: 500; text-transform: uppercase; }
@media (max-width: 1024px) { .kd-journey__grid { grid-template-columns: 1fr; } .kd-founder { position: static; } .kd-skills__grid { grid-template-columns: 1fr 1fr; } .kd-dev__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .kd-hl { grid-template-columns: 1fr; } .kd-skills__grid, .kd-dev__grid { grid-template-columns: 1fr; } }

/* Contato */
.kd-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.kd-channels { margin-top: 20px; }
.kd-channel { display: flex; align-items: center; gap: 20px; padding: 18px 0; position: relative; }
.kd-channel::after { content: ""; position: absolute; left: 0; bottom: 0; width: 65%; height: 1px; background: var(--gold); }
.kd-channel__icon { color: var(--gold); font-size: 48px; display: inline-flex; transition: transform .5s var(--ease); }
a.kd-channel:hover .kd-channel__icon { transform: scale(1.12) rotate(-6deg); }
.kd-channel strong { display: block; font-size: 20px; font-weight: 600; }
.kd-channel small { display: block; font-size: 15px; color: var(--muted); }
.kd-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.kd-why__item { text-align: center; }
.kd-why__icon { width: 110px; margin: 0 auto 12px; }
.kd-why__title { font-size: 20px; margin-bottom: 8px; }
.kd-why__text { font-size: 15px; margin: 0; }
@media (max-width: 900px) { .kd-contact, .kd-why__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kd-channel strong { font-size: 16px; } .kd-channel__icon { font-size: 36px; } }

.kd-form { display: grid; gap: 16px; }
.kd-form__row { display: grid; gap: 6px; margin: 0; }
.kd-form label { font-size: 16px; font-weight: 500; }
.kd-form input, .kd-form select, .kd-form textarea { width: 100%; padding: 14px 16px; background: var(--dark); border: 1px solid var(--gold); border-radius: 13px; color: #fff; transition: box-shadow .3s, border-color .3s; }
.kd-form input:focus, .kd-form select:focus, .kd-form textarea:focus { outline: none; box-shadow: 0 0 0 3px rgb(200 162 74 / .25); }
.kd-form textarea { resize: vertical; min-height: 140px; }
.kd-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.kd-form .kd-btn { width: 100%; }
.kd-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kd-form__notice { margin: 0; padding: 14px 16px; border-radius: 13px; border: 1px solid; }
.kd-form__notice--ok { border-color: var(--green); color: #6fe06f; }
.kd-form__notice--error { border-color: var(--red); color: #ff8a84; }

/* Páginas de serviço */
.kd-blocks { padding-top: 40px; }
.kd-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px 60px; padding: 50px 0; border-bottom: 1px solid var(--line-dark); }
.kd-block:last-child { border-bottom: 0; }
.kd-block__head { --line-w: 60px; }
.kd-block__title { font-size: 26px; font-weight: 600; line-height: 1.2; }
.kd-block__illus { width: 70%; max-width: 280px; margin-top: 30px; }
.kd-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 14px 0; }
.kd-checklist li { position: relative; padding: 14px 16px 14px 48px; background: var(--card); border-radius: 12px; text-align: left; transition: transform .4s var(--ease), background-color .4s; }
.kd-checklist li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.kd-checklist li:hover { transform: translateX(6px); background: #161616; }
@media (max-width: 900px) { .kd-block { grid-template-columns: 1fr; padding: 34px 0; } .kd-block__title { font-size: 22px; } }

/* Blog */
.kd-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.kd-post { background: var(--card); border-radius: 25px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.kd-post:hover { translate: 0 -8px; box-shadow: 0 24px 40px -24px rgb(200 162 74 / .6); }
.kd-post__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0c0c0c; }
.kd-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.kd-post:hover .kd-post__media img { transform: scale(1.06); }
.kd-post__placeholder { display: grid; place-items: center; height: 100%; }
.kd-post__placeholder .kd-kanji { max-width: 140px; opacity: .6; }
.kd-post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.kd-post__date { color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.kd-post__title { font-size: 20px; margin-bottom: 10px; }
.kd-post__excerpt { font-size: 15px; color: var(--muted); flex: 1; }
.kd-post__more { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 14px; }
.kd-search { display: flex; max-width: 460px; margin-top: 24px; border: 1px solid var(--gold); }
.kd-search input { flex: 1; min-width: 0; background: rgb(0 0 0 / .6); border: 0; padding: 14px 16px; color: #fff; }
.kd-search input:focus { outline: none; }
.kd-search button { background: var(--gold); color: #000; border: 0; padding: 0 18px; font-size: 18px; cursor: pointer; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold); }
.page-numbers.current, .page-numbers:hover { background: var(--gold); color: #000; }
@media (max-width: 1024px) { .kd-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .kd-posts { grid-template-columns: 1fr; } }

/* Artigo: fundo claro, como no site original */
.kd-article { background: #fff; color: #222; padding: 50px 0 70px; }
.kd-article__container { max-width: calc(1120px + var(--pad) * 2); }
.kd-article__crumb { margin: 0 0 8px; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.kd-article__crumb a { color: #8a6d1f; }
.kd-article__crumb a:hover { color: var(--gold); }
.kd-article__title { color: #111; font-size: 30px; font-weight: 600; line-height: 1.3; margin: 0 0 14px; }
.kd-article__line { display: block; width: 225px; max-width: 40%; height: 1px; background: var(--gold); transform-origin: left; }
.kd-article__date { margin: 34px 0 0; font-size: 16px; color: #222; }
.kd-article__grid { display: grid; grid-template-columns: 306px minmax(0, 1fr); gap: 50px; margin-top: 44px; align-items: start; }
.kd-article__grid--solo { grid-template-columns: minmax(0, 820px); justify-content: center; }
.kd-article__aside { position: sticky; top: calc(var(--header-h) + 20px); margin-top: 27px; }
.kd-article__media { margin: 0 0 24px; }
.kd-article__media img { width: 100%; height: auto; border-radius: 0; }
.kd-article .kd-entry { color: #222; font-size: 16px; line-height: 1.6; padding-bottom: 0; }
.kd-article .kd-entry p { margin: 0 0 1em; }
.kd-article .kd-entry h2 { color: #111; font-size: 26px; margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.kd-article .kd-entry h3 { color: #111; }
.kd-article .kd-entry a { color: #8a6d1f; }
.kd-article .kd-entry img { border-radius: 0; }

.kd-toc { background: #e5e5e5; padding: 22px 14px 28px; color: #111; }
.kd-toc__title { list-style: none; font-size: 26px; font-weight: 500; line-height: 1.2; padding: 0 0 26px; cursor: default; pointer-events: none; }
.kd-toc__title::-webkit-details-marker { display: none; }
.kd-toc__title::marker { content: ""; }
.kd-toc__list { list-style: decimal; padding-left: 28px; margin: 0; }
.kd-toc__list li { padding: 3px 0 3px 6px; font-weight: 600; font-size: 16px; line-height: 1.5; }
.kd-toc__list li::marker { color: #111; }
.kd-toc__list a { color: #111; transition: color .25s; }
.kd-toc__list a:hover, .kd-toc__list a.is-active { color: #8a6d1f; }
.kd-toc__list li:has(a.is-active)::marker { color: #8a6d1f; }

.kd-share { margin-top: 44px; }
.kd-share__title { color: #111; font-size: 22px; font-weight: 600; margin: 0 0 14px; }
.kd-share__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.kd-share__btn { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 6px; background: #000; color: #fff; font-size: 26px; transition: background-color .3s, color .3s, translate .35s var(--ease), box-shadow .35s; }
.kd-share__btn .kd-icon { width: 1em; height: 1em; }
.kd-share__btn:hover, .kd-share__btn:focus-visible { background: var(--gold); color: #000; translate: 0 -5px; box-shadow: 0 10px 18px -8px rgb(200 162 74 / .8); }
.kd-share.is-in .kd-share__list li { animation: kd-pop .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 200ms); }
@keyframes kd-pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

.kd-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 30px; padding: 10px; background: #e5e5e5; }
.kd-author__photo { flex: none; width: 119px; overflow: hidden; }
.kd-author__img { display: block; width: 119px; height: 119px; object-fit: cover; transition: scale .6s var(--ease); }
.kd-author:hover .kd-author__img { scale: 1.06; }
.kd-author__body { padding: 0 10px 6px 0; }
.kd-author__name { color: #111; font-weight: 600; font-size: 16px; margin: 0 0 12px; }
.kd-author__name a { color: #111; }
.kd-author__name a:hover { color: #8a6d1f; }
.kd-author__bio { color: #222; font-size: 16px; line-height: 1.6; margin: 0; }
@media (max-width: 560px) {
	.kd-author { flex-direction: column; padding: 16px; }
	.kd-share__title { font-size: 19px; }
}

@media (max-width: 900px) {
	.kd-article { padding: 30px 0 50px; }
	.kd-article__title { font-size: 24px; }
	.kd-article__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
	.kd-article__aside { position: static; margin: 0; }
	.kd-toc__title { pointer-events: auto; cursor: pointer; padding: 0; font-size: 20px; display: flex; justify-content: space-between; align-items: center; }
	.kd-toc__title::after { content: "+"; font-size: 24px; color: #8a6d1f; }
	.kd-toc[open] .kd-toc__title { padding-bottom: 18px; }
	.kd-toc[open] .kd-toc__title::after { content: "−"; }
}
.kd-entry { padding-bottom: 60px; font-size: 17px; line-height: 1.75; }
.kd-entry h2 { font-size: 28px; margin: 1.6em 0 .6em; }
.kd-entry h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.kd-entry a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.kd-entry ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.kd-entry ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.kd-entry li::marker { color: var(--gold); }
.kd-entry blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--gold); font-size: 20px; }
.kd-entry img { border-radius: 16px; }
.kd-404 { text-align: center; padding-bottom: 120px; }

/* -------------------------------------------------------------- Rodapé */

.kd-footer { background: var(--dark); border-top: 1px solid #1a1a1a; padding-top: 60px; }
.kd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; }
.kd-footer__brand p { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 320px; }
.kd-footer__title { font-size: 16px; font-weight: 600; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.kd-footer__list { display: grid; gap: 10px; font-size: 14px; }
.kd-footer__list a { color: var(--muted); display: inline-flex; align-items: flex-start; gap: 10px; }
.kd-footer__list a:hover { color: var(--gold); }
.kd-footer__contact li { display: flex; gap: 10px; color: var(--muted); }
.kd-footer__contact .kd-icon { color: var(--gold); margin-top: .3em; }
.kd-social { display: flex; gap: 10px; margin-top: 20px; }
.kd-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold); color: var(--gold); font-size: 16px; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.kd-social a:hover { background: var(--gold); color: #000; transform: translateY(-4px); }
.kd-footer__legal { margin-top: 50px; font-size: 13px; color: #8a8a8a; text-align: center; }
.kd-footer__legal p { margin: 0; padding-block: 22px; border-top: 1px solid #1a1a1a; }
@media (max-width: 900px) { .kd-footer__grid { grid-template-columns: 1fr 1fr; } .kd-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .kd-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MOVIMENTO (desligado com "reduzir movimento", sem JS, ou no Kametani Core)
   ========================================================================== */

@keyframes kd-kenburns { from { scale: 1.14; } to { scale: 1; } }
@keyframes kd-spin { to { transform: rotate(360deg); } }
@keyframes kd-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes kd-glow { 0%, 100% { filter: drop-shadow(0 0 14px rgb(200 162 74 / .25)); } 50% { filter: drop-shadow(0 0 34px rgb(200 162 74 / .6)); } }
@keyframes kd-shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes kd-nudge { to { transform: translateX(5px); } }
@keyframes kd-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes kd-pulse-grow { to { transform: scale(1.06); } }

@media (prefers-reduced-motion: no-preference) {
	[data-motion="on"].js [data-anim] {
		opacity: 0;
		transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), translate .5s var(--ease), box-shadow .5s, background-color .4s;
	}
	[data-motion="on"].js [data-anim="up"] { transform: translate3d(0, 46px, 0); }
	[data-motion="on"].js [data-anim="left"] { transform: translate3d(60px, 0, 0); }
	[data-motion="on"].js [data-anim="right"] { transform: translate3d(-60px, 0, 0); }
	[data-motion="on"].js [data-anim="zoom"] { transform: scale(.82); }
	[data-motion="on"].js [data-anim="line"] { opacity: 1; transform: scaleX(0); transition-duration: 1.2s; }
	[data-motion="on"].js [data-anim].is-in { opacity: 1; transform: none; }

	[data-motion="on"].js [data-stagger] > li { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
	[data-motion="on"].js [data-stagger].is-in > li { opacity: 1; transform: none; }

	[data-motion="on"] .kd-hero__bg { animation: kd-kenburns 2.2s var(--ease) both; }
	[data-motion="on"] .kd-hero__title .kd-gold {
		background: linear-gradient(100deg, var(--gold) 20%, var(--gold-light) 40%, var(--gold) 60%) 0 0 / 200% 100%;
		-webkit-background-clip: text; background-clip: text; color: transparent;
		animation: kd-shine 4.5s linear 1s infinite;
	}
	[data-motion="on"] .kd-kanji__ring { animation: kd-spin 14s linear infinite; }
	[data-motion="on"] .kd-kanji img { animation: kd-float 5s ease-in-out infinite alternate, kd-glow 4s ease-in-out infinite; }
	[data-motion="on"] .kd-kanji--hero img { animation-duration: 7s, 6s; }
	[data-motion="on"] .kd-float { animation: kd-float 4s ease-in-out infinite alternate; }
	[data-motion="on"] .kd-pulse { animation: kd-pulse 2.6s ease-in-out infinite; }
	[data-motion="on"] .kd-btn:hover { animation: kd-pulse-grow .3s linear infinite alternate; }
	[data-motion="on"] .kd-card:hover { translate: 0 -6px; box-shadow: 0 0 0 1px rgb(200 162 74 / .25), 0 30px 50px -30px rgb(200 162 74 / .45); }
	[data-motion="on"] .kd-vs__box:hover { translate: 0 -4px; }
	[data-motion="on"] [data-tilt] { will-change: transform; }
	[data-motion="on"] .kd-rocket { animation: kd-float 2.4s ease-in-out infinite alternate; }
}

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