/* ==========================================================================
   Versa Telecom – CSS principal
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
	--orange: #ff6d00;
	--orange-2: #fa8214;
	--red: #f2350a;
	--green-1: #00b09b;
	--green-2: #96c93d;
	--black: #000;
	--dark: #111113;
	--dark-card: #0b0b0c;
	--light: #f4f4f6;
	--text: #1d1d1d;
	--muted: #6b6b6b;
	--grad-btn: linear-gradient(240deg, var(--red) 0%, var(--orange-2) 100%);
	--grad-orange: linear-gradient(308deg, var(--orange) 0%, var(--orange-2) 100%);
	--grad-green: linear-gradient(45deg, var(--green-1), var(--green-2));
	--header-h: 96px;
	--radius: 24px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	background: var(--black);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.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;
}

.container {
	width: 100%;
	max-width: 1022px;
	margin: 0 auto;
	padding: 0 16px;
}

.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* Botões ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 40px;
	border: 0;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn .icon { font-size: 14px; }

.btn--orange { background: var(--grad-btn); box-shadow: 0 8px 24px -10px rgba(242, 53, 10, .7); }
.btn--dark { background: var(--black); }
.btn--sm { min-height: 42px; padding: 0 24px; border-radius: 4px; }
.btn--lg { min-height: 48px; }
.btn--block { width: 100%; }
.btn--outline {
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--orange);
	border-radius: 999px;
	background: #fff;
	color: var(--text);
	font-weight: 500;
	text-transform: none;
}
.btn--outline:hover { background: var(--orange); color: #fff; filter: none; }
.btn--outline .icon { font-size: 16px; }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	background: rgba(0, 0, 0, .65);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(0, 0, 0, .85); }
.admin-bar .site-header { top: 32px; }

.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.site-header__logo img { width: 120px; height: auto; }

.site-header__whats {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	font-weight: 700;
}
.site-header__whats .icon { font-size: 18px; color: var(--orange); }
.site-header__whats:hover span { color: var(--orange-2); }

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 815px;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 40px) 0 80px;
	background: #1d1d1d url("../img/hero.webp") center right / cover no-repeat;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 55%);
}
.hero__inner { width: 100%; }

.hero__eyebrow { font-size: 14px; font-weight: 500; letter-spacing: -.02em; }

.hero__title {
	max-width: 520px;
	margin-top: 18px;
	font-size: clamp(40px, 5.4vw, 62px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.hero__tags { display: flex; flex-wrap: wrap; gap: 12px 60px; margin-top: 24px; }
.tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}
.tag .icon { font-size: 12px; }
.tag--orange { background: var(--orange); }
.tag--green { background: var(--grad-green); }

.hero__plan {
	margin-top: 18px;
	font-size: clamp(34px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--orange-2);
}

.hero__price {
	display: flex;
	align-items: flex-start;
	line-height: 1;
	margin: 6px 0 22px;
}
.hero__currency { margin-top: 26px; font-size: 22px; font-weight: 500; }
.hero__value { font-size: clamp(76px, 7.4vw, 94px); font-weight: 700; letter-spacing: -.04em; line-height: .95; margin: 0 2px; }
.hero__cents { margin-top: 24px; font-size: 22px; font-weight: 500; }
.hero__period { margin: 30px 0 0 10px; font-size: 13px; font-weight: 500; }

/* Seções – títulos ------------------------------------------------------- */
.section-title {
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--orange);
}
.section-sub { margin-top: 18px; font-size: 14px; font-weight: 500; }

.disclaimer { font-size: 10px; line-height: 1.6; font-weight: 500; }

/* Planos ------------------------------------------------------------------ */
.plans { padding: 70px 0 50px; background: var(--black); }

.plans__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	align-items: start;
	margin-top: 54px;
}

.plan {
	position: relative;
	padding: 40px 24px 56px;
	border: 1px solid var(--orange);
	border-radius: var(--radius);
	background: #fff;
	color: var(--muted);
	transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(255, 109, 0, .5); }

.plan__name {
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.03em;
	color: var(--black);
}

.plan__list { display: grid; gap: 12px; margin: 24px 0 26px; font-size: 14px; }
.plan__list li { display: flex; align-items: center; gap: 16px; }
.plan__list .icon { font-size: 20px; color: var(--orange-2); stroke-width: 1.3; }

.plan__price { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.plan__price strong { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--orange); }
.plan__price span { font-size: 14px; color: #888; }

.plan .btn { min-height: 46px; border-radius: 6px; font-size: 14px; }

.plan--featured {
	margin-top: -18px;
	padding-top: 66px;
	border-color: var(--orange);
	background: var(--orange);
	color: #fff;
}
.plan--featured .plan__name { color: #fff; border-color: rgba(255, 255, 255, .45); }
.plan--featured .plan__list .icon,
.plan--featured .plan__price strong,
.plan--featured .plan__price span { color: #fff; }

.plan__badge {
	position: absolute;
	top: 0;
	left: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	border-radius: 0 0 4px 4px;
	background: var(--grad-green);
	background-size: 300% 300%;
	animation: badge-shift 6s ease infinite;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}
.plan__badge .icon { font-size: 13px; }

@keyframes badge-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.plans .disclaimer { margin-top: 46px; }

/* Diferenciais ------------------------------------------------------------ */
.features { padding: 52px 0 48px; background: var(--dark); }
.features .section-title { font-size: clamp(24px, 2.6vw, 32px); }

.features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-top: 26px;
}

.feature {
	padding: 24px 24px 26px;
	border: 1px solid #262628;
	border-radius: 6px;
	background: var(--dark-card);
	transition: border-color .25s ease;
}
.feature:hover,
.feature:last-child { border-color: var(--orange); }

.feature__icon { font-size: 34px; color: var(--orange); stroke-width: 1.2; }
.feature h3 { margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.feature p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #b9b9bd; }

/* Avaliações -------------------------------------------------------------- */
.reviews {
	position: relative;
	padding: 66px 0 64px;
	background: var(--light);
	color: var(--text);
	overflow: hidden;
}
.reviews::before {
	content: "";
	position: absolute;
	top: -30px;
	right: -20px;
	width: 320px;
	height: calc(100% + 60px);
	background: url("../img/logo-versa.svg") top center / 300px auto repeat-y;
	filter: grayscale(1);
	opacity: .07;
	pointer-events: none;
}

.reviews__inner {
	position: relative;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 16px;
}

.reviews__star { font-size: 44px; color: var(--orange); stroke-width: 1.2; }
.reviews__intro h2 { margin-top: 38px; font-size: 25px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.reviews__intro p { margin: 18px 0 18px; font-size: 14px; line-height: 1.6; }

.reviews__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.reviews__col { display: grid; gap: 8px; }

.review {
	padding: 34px 34px 30px;
	border-radius: 18px;
	background: #fff;
}
.reviews__col:last-child .review { background: rgba(255, 255, 255, .6); }

.review blockquote { font-size: 11.5px; line-height: 1.6; color: #666; }
.review figcaption { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.review img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review strong { display: block; font-size: 13px; font-weight: 600; color: #555; }
.stars { display: flex; gap: 2px; margin-top: 2px; color: #f5b301; }
.stars .icon { font-size: 13px; }

/* CTA roteador ------------------------------------------------------------ */
.cta {
	padding: 90px 0 70px;
	background: var(--grad-orange);
}
.cta__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
}
.cta h2 {
	font-size: clamp(30px, 3.2vw, 38px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.02em;
	max-width: 440px;
}
.cta__text > p:not(.disclaimer) { margin: 22px 0 26px; font-size: 14px; line-height: 1.6; }
.cta .disclaimer { margin-top: 22px; max-width: 470px; }
.cta__img {
	width: 100%;
	max-width: 420px;
	margin: -150px auto -40px;
	filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .18));
}

/* Fibra óptica ------------------------------------------------------------ */
.fiber { padding: 66px 0 76px; background: var(--dark); }
.fiber__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 32px;
}
.fiber__text { max-width: 480px; }
.fiber h2 {
	font-size: clamp(30px, 3.3vw, 40px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.02em;
}
.fiber__text > p { margin-top: 26px; font-size: 14px; line-height: 1.6; color: #d4d4d8; }
.fiber__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 22px 0 26px;
	font-size: 14px;
	font-weight: 600;
	color: var(--orange);
}
.fiber__perks li { display: inline-flex; align-items: center; gap: 8px; }
.fiber__perks .icon { font-size: 18px; color: #fff; }
.fiber__img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3 / 2; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--black); }
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 72px;
	padding-top: 32px;
	padding-bottom: 30px;
}
.contact { display: inline-flex; align-items: center; gap: 4px; }
.contact .icon { font-size: 20px; color: var(--orange); }
.contact strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; }
.contact small { display: block; font-size: 13px; color: #8a8a8f; }
.contact:hover small { color: var(--orange-2); }

.site-footer__links { display: flex; gap: 56px; font-size: 14px; font-weight: 500; }
.site-footer__links a:hover { color: var(--orange-2); }

.site-footer__social { display: flex; gap: 24px; margin-left: auto; }
.site-footer__social a { color: var(--orange); font-size: 20px; transition: transform .2s ease; }
.site-footer__social a:hover { transform: translateY(-2px); }

.site-footer__bottom { border-top: 1px solid #141416; }
.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 64px;
	padding-top: 10px;
	padding-bottom: 12px;
	font-size: 12.5px;
	color: #c9c9cd;
}
.site-footer__bottom img { width: 76px; }

/* WhatsApp flutuante ------------------------------------------------------ */
.whats-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	border: 4px solid #1a8f45;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
	transition: transform .2s ease;
}
.whats-float:hover { transform: scale(1.06); }
.whats-float .icon { font-size: 38px; }

/* Modal / formulário ------------------------------------------------------ */
.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 16px;
}
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); animation: fade .25s ease; }
.modal__box {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 24px 24px 26px;
	border-radius: 12px;
	background: #151517;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
	animation: pop .3s cubic-bezier(.2, .9, .3, 1.2);
}
.modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 20px;
}
.modal__close:hover { background: #2a2a2d; }
.modal__logo { width: 112px; }
.modal__title { margin: 8px 0 18px; font-size: 15px; font-weight: 700; }

.lead-form { display: grid; gap: 10px; }
.field {
	position: relative;
	display: flex;
	align-items: center;
	height: 48px;
	border: 1px solid #39393d;
	border-radius: 6px;
	background: #2a2a2d;
	transition: border-color .2s ease;
}
.field:focus-within { border-color: var(--orange); }
.field .icon { position: absolute; left: 12px; font-size: 16px; color: var(--red); pointer-events: none; }
.field input,
.field select {
	width: 100%;
	height: 100%;
	padding: 0 14px 0 38px;
	border: 0;
	background: transparent;
	font-size: 14px;
	outline: 0;
}
.field input::placeholder { color: #a1a1a6; }
.field--select select {
	padding-left: 16px;
	appearance: none;
	-webkit-appearance: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23fff'/%3E%3C/svg%3E") right 14px center / 10px no-repeat;
	cursor: pointer;
}
.field select option { background: #2a2a2d; }
.lead-form .btn { min-height: 48px; margin-top: 2px; border-radius: 6px; text-transform: none; font-size: 15px; }
.lead-form__safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 500; }
.lead-form__safe .icon { color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

body.modal-open { overflow: hidden; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* Páginas internas -------------------------------------------------------- */
.page-content { padding: calc(var(--header-h) + 60px) 0 80px; background: var(--dark); }
.entry__content { margin-top: 28px; color: #d4d4d8; line-height: 1.75; }
.entry__content > * + * { margin-top: 1em; }
.entry__content a { color: var(--orange-2); text-decoration: underline; }
.entry__content ul { list-style: disc; padding-left: 1.4em; }

/* Animação de entrada ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 1024px) {
	.features__grid { grid-template-columns: repeat(2, 1fr); }
	.reviews__inner { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__top { gap: 24px 40px; }
	.site-footer__links { gap: 32px; }
}

@media (max-width: 860px) {
	.plans__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; gap: 40px; }
	.plan--featured { margin-top: 0; }
	.cta__inner,
	.fiber__inner { grid-template-columns: 1fr; }
	.cta { padding-top: 60px; }
	.cta__img { margin: 0 auto -30px; max-width: 320px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 767px) {
	:root { --header-h: 76px; }

	.site-header__logo img { width: 96px; }
	.site-header__whats { display: none; }

	.hero {
		min-height: 0;
		align-items: flex-end;
		padding: calc(var(--header-h) + 240px) 0 56px;
		background-position: 72% top;
		background-size: auto 420px;
		background-color: #120a05;
	}
	.hero::before { background: linear-gradient(180deg, rgba(18, 10, 5, 0) 180px, #120a05 420px); }
	.hero__tags { gap: 10px; }

	.plans,
	.features,
	.reviews,
	.fiber { padding-top: 52px; padding-bottom: 52px; }

	.features__grid { grid-template-columns: 1fr; }
	.reviews__cols { grid-template-columns: 1fr; }
	.reviews::before { width: 200px; background-size: 190px auto; }
	.review { padding: 26px 24px; }

	.site-footer__top { flex-direction: column; align-items: flex-start; }
	.site-footer__links { gap: 24px; }
	.site-footer__social { margin-left: 0; }
	.site-footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; padding-bottom: 90px; }

	.whats-float { width: 58px; height: 58px; right: 16px; bottom: 16px; border-width: 3px; }
	.whats-float .icon { font-size: 30px; }
}

/* Política / erro do formulário ------------------------------------------ */
.entry__content h3 { margin-top: 1.6em; font-size: 18px; color: #fff; }
.entry__content hr { margin: 2em 0; border: 0; border-top: 1px solid #2a2a2d; }
.entry__content li p { margin: 0; }
.lead-form__error { padding: 10px 12px; border-radius: 6px; background: rgba(242, 53, 10, .15); color: #ffb199; font-size: 13px; }
