/*
 * Página inicial IbyAI Digital Studio — versão 2.
 * Escopo isolado para preservar páginas internas e WooCommerce.
 */

.pms-front-page .footer-cta { display: none; }
.iby-home { overflow: hidden; background: #fff; }
.iby-home h1,
.iby-home h2,
.iby-home h3,
.iby-home p { text-wrap: pretty; }

.iby-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #c9d4ff;
	font-size: .7rem;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.iby-kicker i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #72e0bd;
	box-shadow: 0 0 0 6px rgb(114 224 189 / 12%);
}
.iby-kicker--dark { color: #4f63b9; }

.iby-hero {
	position: relative;
	isolation: isolate;
	min-height: 700px;
	display: flex;
	align-items: center;
	padding: clamp(82px, 9vw, 128px) 0 clamp(90px, 10vw, 145px);
	color: #fff;
	background:
		radial-gradient(circle at 15% 20%, rgb(98 119 241 / 32%), transparent 34%),
		radial-gradient(circle at 87% 72%, rgb(24 174 175 / 18%), transparent 31%),
		linear-gradient(135deg, #080d22 0%, #111b42 54%, #162358 100%);
}
.iby-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: .13;
	background-image: linear-gradient(rgb(255 255 255 / 14%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 14%) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.iby-hero__mesh {
	position: absolute;
	z-index: -1;
	top: -250px;
	right: -260px;
	width: 720px;
	height: 720px;
	border: 1px solid rgb(255 255 255 / 8%);
	border-radius: 50%;
	box-shadow: 0 0 0 85px rgb(255 255 255 / 2%), 0 0 0 170px rgb(255 255 255 / 2%);
}
.iby-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(450px, .98fr);
	align-items: center;
	gap: clamp(50px, 7vw, 100px);
}
.iby-hero__copy { position: relative; z-index: 2; }
.iby-hero h1 {
	max-width: 760px;
	margin: 22px 0 24px;
	color: #fff;
	font-size: clamp(3rem, 5.25vw, 5.4rem);
	line-height: .99;
	letter-spacing: -.055em;
}
.iby-hero h1 span {
	display: block;
	color: transparent;
	background: linear-gradient(90deg, #8da5ff, #b990ff 48%, #78dfd0);
	-webkit-background-clip: text;
	background-clip: text;
}
.iby-hero__copy > p {
	max-width: 670px;
	margin: 0;
	color: #c0c9e5;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.75;
}
.iby-hero__actions { margin-top: 34px; }
.iby-hero__actions .button--primary {
	background: linear-gradient(135deg, #5f79f2, #7058df);
	box-shadow: 0 18px 36px rgb(61 73 180 / 32%);
}
.iby-hero__actions .button--ghost { color: #eff2ff; border-color: rgb(255 255 255 / 22%); background: rgb(255 255 255 / 5%); }
.iby-hero__actions .button--ghost:hover { color: #fff; border-color: rgb(255 255 255 / 42%); background: rgb(255 255 255 / 10%); }
.iby-hero__proof {
	display: flex;
	align-items: flex-start;
	gap: clamp(18px, 3vw, 38px);
	margin-top: 42px;
	padding-top: 27px;
	border-top: 1px solid rgb(255 255 255 / 10%);
}
.iby-hero__proof span { display: grid; gap: 5px; color: #8996ba; font-size: .64rem; line-height: 1.35; }
.iby-hero__proof strong { color: #fff; font-size: 1.05rem; letter-spacing: -.02em; }

.iby-hero__visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.iby-orbit { position: absolute; border: 1px solid rgb(144 162 236 / 20%); border-radius: 50%; }
.iby-orbit--one { width: 470px; height: 470px; }
.iby-orbit--two { width: 355px; height: 355px; border-style: dashed; transform: rotate(18deg); }
.iby-studio-window {
	position: relative;
	z-index: 2;
	width: min(100%, 500px);
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 16%);
	border-radius: 21px;
	background: rgb(255 255 255 / 96%);
	box-shadow: 0 36px 100px rgb(2 7 28 / 50%);
	transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.iby-studio-window__bar { min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; color: #263154; border-bottom: 1px solid #e5e8f3; background: #f8f9fd; font-size: .68rem; }
.iby-studio-window__bar > span { display: flex; gap: 5px; }
.iby-studio-window__bar > span i { width: 7px; height: 7px; border-radius: 50%; background: #cbd1e2; }
.iby-studio-window__bar > span i:first-child { background: #ff8c7e; }
.iby-studio-window__bar > span i:nth-child(2) { background: #ffd167; }
.iby-studio-window__bar > span i:last-child { background: #65d6ac; }
.iby-studio-window__bar small { justify-self: end; color: #17815f; font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.iby-studio-window__body { padding: 28px; color: #151a2d; }
.iby-window-title { display: grid; gap: 6px; }
.iby-window-title span { color: #7b849f; font-size: .63rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.iby-window-title strong { font-size: 1.28rem; letter-spacing: -.03em; }
.iby-module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 24px; }
.iby-module-grid > div { position: relative; min-height: 112px; display: grid; align-content: center; gap: 8px; padding: 17px; overflow: hidden; border: 1px solid #e2e6f1; border-radius: 13px; background: #fff; }
.iby-module-grid > div::after { content: ""; position: absolute; right: -22px; bottom: -25px; width: 70px; height: 70px; border-radius: 50%; background: #f0f2fa; }
.iby-module-grid > div.is-featured { color: #fff; border-color: #5d6edf; background: linear-gradient(140deg, #465cc7, #7257d9); box-shadow: 0 15px 28px rgb(65 79 177 / 20%); }
.iby-module-grid > div.is-featured::after { background: rgb(255 255 255 / 10%); }
.iby-module-grid span { width: fit-content; padding: 5px 7px; color: #5265bd; border-radius: 6px; background: #eef1ff; font-size: .55rem; font-weight: 900; }
.iby-module-grid .is-featured span { color: #fff; background: rgb(255 255 255 / 15%); }
.iby-module-grid strong { position: relative; z-index: 1; font-size: .78rem; }
.iby-module-grid em { position: absolute; z-index: 1; top: 12px; right: 12px; color: #8a6fd9; font-size: .52rem; font-style: normal; font-weight: 850; text-transform: uppercase; }
.iby-module-grid i { width: 50px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / 26%); }
.iby-window-progress { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 18px; color: #68738f; border-top: 1px solid #e8eaf2; font-size: .62rem; }
.iby-window-progress span { display: flex; align-items: center; gap: 7px; }
.iby-window-progress i { width: 7px; height: 7px; border-radius: 50%; background: #6ad6b2; box-shadow: 0 0 0 5px #e8faf4; }
.iby-window-progress strong { color: #334174; }
.iby-floating-pill { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 13px 16px; color: #17203c; border: 1px solid rgb(255 255 255 / 55%); border-radius: 14px; background: rgb(255 255 255 / 92%); box-shadow: 0 18px 50px rgb(4 8 27 / 27%); backdrop-filter: blur(14px); }
.iby-floating-pill > span { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; border-radius: 9px; background: linear-gradient(145deg, #5e74e9, #755bd9); }
.iby-floating-pill div { display: grid; gap: 2px; }
.iby-floating-pill strong { font-size: .67rem; }
.iby-floating-pill small { color: #7b849c; font-size: .54rem; }
.iby-floating-pill--top { top: 25px; right: -25px; }
.iby-floating-pill--bottom { bottom: 22px; left: -42px; }
.iby-floating-pill--bottom > span { background: linear-gradient(145deg, #1b9b75, #44c7a0); }

.iby-signal { color: #273255; border-bottom: 1px solid #e6e9f3; background: #fff; }
.iby-signal__inner { min-height: 86px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 44px); }
.iby-signal__inner > span { color: #8b93a8; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.iby-signal__inner strong { font-size: .76rem; }
.iby-signal__inner i { width: 4px; height: 4px; border-radius: 50%; background: #b6bdd0; }

.iby-universe { padding-block: clamp(80px, 10vw, 140px); background: #fff; }
.iby-section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .75fr); align-items: end; gap: clamp(35px, 7vw, 95px); margin-bottom: 55px; }
.iby-section-heading h2 { max-width: 760px; margin: 16px 0 0; color: #121a35; font-size: clamp(2.25rem, 4vw, 4.1rem); line-height: 1.05; letter-spacing: -.048em; }
.iby-section-heading > p { margin: 0; color: #687188; font-size: .92rem; line-height: 1.8; }
.iby-service-list { border-top: 1px solid #dfe3ee; }
.iby-service-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 28px 4px; border-bottom: 1px solid #e4e7ef; transition: padding .2s ease, background .2s ease; }
.iby-service-row:hover { padding-inline: 18px; background: #fafbff; }
.iby-service-row__number { color: #98a1b7; font-size: .68rem; font-weight: 850; }
.iby-service-row h3 { margin: 0 0 6px; color: #17203c; font-size: 1.08rem; }
.iby-service-row p { max-width: 780px; margin: 0; color: #70798f; font-size: .78rem; line-height: 1.6; }
.iby-status { min-width: 116px; padding: 7px 10px; text-align: center; border-radius: 999px; font-size: .56rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.iby-status--live { color: #126c50; background: #e4f8f0; }
.iby-status--soon { color: #5b4baa; background: #efebff; }
.iby-status--consult { color: #975427; background: #fff0df; }

.iby-tools { position: relative; color: #fff; background: #0c122b; }
.iby-tools::before { content: ""; position: absolute; inset: 0; opacity: .16; background: radial-gradient(circle at 20% 0, #5c6bd1, transparent 35%), radial-gradient(circle at 95% 95%, #167c86, transparent 28%); }
.iby-tools > .shell { position: relative; }
.iby-section-heading--light h2 { color: #fff; }
.iby-section-heading--light > p { color: #aab5d4; }
.iby-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.iby-tool-card { position: relative; min-height: 215px; display: grid; grid-template-columns: 48px 1fr auto; align-content: start; gap: 17px; padding: 24px; overflow: hidden; color: #fff; border: 1px solid rgb(255 255 255 / 10%); border-radius: 17px; background: rgb(255 255 255 / 5%); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.iby-tool-card:hover { color: #fff; border-color: rgb(255 255 255 / 22%); background: rgb(255 255 255 / 8%); transform: translateY(-4px); }
.iby-tool-card::after { content: ""; position: absolute; right: -55px; bottom: -65px; width: 150px; height: 150px; border-radius: 50%; background: rgb(255 255 255 / 3%); }
.iby-tool-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: #5368da; font-size: .63rem; font-weight: 900; }
.iby-tool-card--violet .iby-tool-card__icon { background: #795fd9; }
.iby-tool-card--coral .iby-tool-card__icon { background: #dd675e; }
.iby-tool-card--green .iby-tool-card__icon { background: #208967; }
.iby-tool-card--cyan .iby-tool-card__icon { background: #218fa5; }
.iby-tool-card--indigo .iby-tool-card__icon { background: #3e4eaa; }
.iby-tool-card > span:nth-child(2) { display: grid; gap: 10px; }
.iby-tool-card strong { font-size: .88rem; line-height: 1.25; }
.iby-tool-card small { color: #9eabc9; font-size: .69rem; line-height: 1.65; }
.iby-tool-card > i { color: #6f7fa7; font-size: 1rem; font-style: normal; }
.iby-tools__action { display: flex; justify-content: center; margin-top: 35px; }

.iby-workflow { padding-block: clamp(85px, 10vw, 140px); background: #f6f7fc; }
.iby-workflow__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(50px, 9vw, 130px); align-items: center; }
.iby-workflow__copy h2 { margin: 17px 0 22px; color: #121a35; font-size: clamp(2.2rem, 4vw, 3.9rem); line-height: 1.06; letter-spacing: -.045em; }
.iby-workflow__copy p { margin: 0 0 28px; color: #69738b; font-size: .9rem; line-height: 1.8; }
.iby-workflow__steps { position: relative; display: grid; gap: 12px; }
.iby-workflow__steps::before { content: ""; position: absolute; top: 45px; bottom: 45px; left: 29px; width: 1px; background: #cdd4e6; }
.iby-workflow__steps article { position: relative; z-index: 1; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 18px; padding: 20px; border: 1px solid #e0e4ef; border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgb(30 43 90 / 5%); }
.iby-workflow__steps article > span { width: 60px; height: 60px; display: grid; place-items: center; color: #fff; border: 5px solid #fff; border-radius: 50%; background: linear-gradient(145deg, #536bdc, #745bd9); box-shadow: 0 8px 18px rgb(74 87 188 / 20%); font-size: .73rem; font-weight: 900; }
.iby-workflow__steps strong { color: #1d2747; font-size: .83rem; }
.iby-workflow__steps p { margin: 5px 0 0; color: #747e95; font-size: .7rem; line-height: 1.55; }

.iby-roadmap { padding-top: 0; background: #f6f7fc; }
.iby-roadmap__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr); gap: clamp(40px, 8vw, 110px); align-items: center; padding: clamp(42px, 6vw, 75px); overflow: hidden; color: #fff; border-radius: 28px; background: linear-gradient(135deg, #263b92, #5d4fbd 58%, #177f8d); box-shadow: 0 28px 70px rgb(35 50 124 / 22%); }
.iby-roadmap__card::before { content: ""; position: absolute; right: -180px; top: -210px; width: 480px; height: 480px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; box-shadow: 0 0 0 65px rgb(255 255 255 / 3%), 0 0 0 130px rgb(255 255 255 / 2%); }
.iby-roadmap__copy { position: relative; z-index: 1; }
.iby-roadmap h2 { margin: 16px 0 20px; color: #fff; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.045em; }
.iby-roadmap p { margin: 0; color: #d7dcf4; font-size: .85rem; line-height: 1.8; }
.iby-roadmap__tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.iby-roadmap__tags span { padding: 11px 14px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 999px; background: rgb(255 255 255 / 9%); backdrop-filter: blur(8px); font-size: .68rem; font-weight: 750; }

.iby-final-cta { padding-block: clamp(85px, 10vw, 135px); background: #fff; }
.iby-final-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; padding-bottom: 18px; border-bottom: 1px solid #dfe3ee; }
.iby-final-cta h2 { max-width: 760px; margin: 16px 0 14px; color: #121a35; font-size: clamp(2.3rem, 4.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.05em; }
.iby-final-cta p { margin: 0; color: #6c758b; }
.iby-final-cta .button-row { padding-bottom: 18px; }

@media (max-width: 1050px) {
	.iby-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 40px; }
	.iby-floating-pill--top { right: -8px; }
	.iby-floating-pill--bottom { left: -8px; }
	.iby-tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.iby-hero { padding-top: 75px; }
	.iby-hero__grid,
	.iby-section-heading,
	.iby-workflow__grid,
	.iby-roadmap__card,
	.iby-final-cta__inner { grid-template-columns: 1fr; }
	.iby-hero__copy { max-width: 720px; text-align: center; margin-inline: auto; }
	.iby-hero__copy .iby-kicker,
	.iby-hero__actions,
	.iby-hero__proof { justify-content: center; }
	.iby-hero__copy > p { margin-inline: auto; }
	.iby-hero__visual { width: min(100%, 620px); margin-inline: auto; }
	.iby-section-heading { align-items: start; }
	.iby-section-heading > p { max-width: 680px; }
	.iby-workflow__copy { max-width: 680px; }
	.iby-roadmap__card { gap: 35px; }
	.iby-final-cta__inner { align-items: start; }
	.iby-final-cta .button-row { padding-bottom: 0; }
}

@media (max-width: 620px) {
	.iby-hero { min-height: auto; padding: 58px 0 75px; }
	.iby-hero h1 { font-size: clamp(2.55rem, 12vw, 3.5rem); }
	.iby-hero__actions .button { width: 100%; }
	.iby-hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.iby-hero__proof span { text-align: center; }
	.iby-hero__visual { min-height: 365px; }
	.iby-orbit--one { width: 340px; height: 340px; }
	.iby-orbit--two { width: 275px; height: 275px; }
	.iby-studio-window { border-radius: 15px; transform: none; }
	.iby-studio-window__bar { min-height: 42px; grid-template-columns: 1fr auto; }
	.iby-studio-window__bar > strong { display: none; }
	.iby-studio-window__body { padding: 18px; }
	.iby-module-grid > div { min-height: 95px; padding: 13px; }
	.iby-floating-pill { display: none; }
	.iby-signal__inner { min-height: 74px; flex-wrap: wrap; gap: 9px 14px; padding-block: 14px; }
	.iby-signal__inner > span { width: 100%; text-align: center; }
	.iby-section-heading { gap: 20px; margin-bottom: 38px; }
	.iby-section-heading h2 { font-size: 2.25rem; }
	.iby-service-row { grid-template-columns: 38px 1fr; gap: 14px; padding: 21px 0; }
	.iby-service-row:hover { padding-inline: 0; }
	.iby-status { grid-column: 2; justify-self: start; min-width: 0; }
	.iby-tool-grid { grid-template-columns: 1fr; }
	.iby-tool-card { min-height: 180px; }
	.iby-workflow__grid { gap: 38px; }
	.iby-workflow__steps article { grid-template-columns: 48px 1fr; padding: 16px; }
	.iby-workflow__steps article > span { width: 48px; height: 48px; }
	.iby-workflow__steps::before { left: 23px; }
	.iby-roadmap__card { width: calc(100% - 24px); padding: 32px 22px; border-radius: 20px; }
	.iby-roadmap h2 { font-size: 2.1rem; }
	.iby-final-cta .button-row,
	.iby-final-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.iby-tool-card,
	.iby-service-row { transition: none; }
}
