/*
Theme Name: LensCorp MKT Digital
Theme URI: https://lenscorp.com.br
Author: LensCorp
Author URI: https://lenscorp.com.br
Description: Tema WordPress one-page para consultoria em negócios digitais e fintechs, convertido a partir dos componentes React/Tailwind da LensCorp.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lenscorp
*/

/* -------------------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------------------- */
:root {
	--background: 220 30% 5%;
	--foreground: 215 20% 90%;

	--card: 220 28% 8%;
	--card-foreground: 215 20% 90%;

	--primary: 215 35% 55%;
	--primary-text: 215 35% 55%;
	--primary-foreground: 220 30% 5%;

	--secondary: 220 25% 12%;
	--secondary-foreground: 215 20% 72%;

	--muted: 220 22% 14%;
	--muted-foreground: 215 15% 48%;

	--accent: 215 30% 42%;
	--accent-foreground: 215 20% 95%;

	--border: 220 20% 15%;
	--input: 220 20% 15%;
	--ring: 215 35% 55%;

	--radius: 0.5rem;

	--warm: 215 35% 55%;
	--warm-light: 215 30% 70%;
	--surface: 220 26% 10%;
}

/* -------------------------------------------------------------------------
   2. Reset & base
------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: 'Inter', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* -------------------------------------------------------------------------
   3. Layout helpers
------------------------------------------------------------------------- */
.container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1400px) { .container { max-width: 1400px; } }

.section-padding { padding: 5rem 1rem; }
@media (min-width: 768px) { .section-padding { padding: 7rem 2rem; } }

.section-light {
	background-color: hsl(220 20% 95%);
	color: hsl(220 30% 10%);
	--card: 220 15% 100%;
	--border: 220 15% 85%;
	--secondary: 220 15% 92%;
	--muted-foreground: 215 15% 40%;
	--primary-text: 215 40% 40%;
}

.site-main section:nth-of-type(odd) { }

/* -------------------------------------------------------------------------
   4. Shared utilities
------------------------------------------------------------------------- */
.text-gradient {
	background-image: linear-gradient(135deg, hsl(210 40% 80%), hsl(215 35% 50%));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.section-light .text-gradient {
	background-image: linear-gradient(135deg, hsl(215 40% 35%), hsl(215 35% 55%));
}

.gradient-line { background: linear-gradient(90deg, hsl(220 20% 15%), hsl(215 35% 45%), hsl(220 20% 15%)); }

.glow-border { box-shadow: 0 0 40px -15px hsl(215 35% 45% / 0.3); }
.section-light .glow-border { box-shadow: 0 0 40px -15px hsl(215 35% 55% / 0.15); }

.glass {
	background-color: hsl(var(--card) / 0.8);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.btn-outline-warm {
	display: inline-block;
	border: 1px solid hsl(var(--foreground) / 0.25);
	color: hsl(var(--foreground));
	background: transparent;
	padding: 0.875rem 1.75rem;
	border-radius: 9999px;
	font-weight: 500;
	font-size: 0.875rem;
	transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.btn-outline-warm:hover { border-color: hsl(var(--foreground) / 0.6); background-color: hsl(var(--foreground) / 0.05); }
.section-light .btn-outline-warm { border-color: hsl(220 20% 30% / 0.3); color: hsl(220 30% 10%); }
.section-light .btn-outline-warm:hover { border-color: hsl(220 20% 30% / 0.6); background-color: hsl(220 20% 30% / 0.05); }
.btn-outline-warm:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-solid-warm {
	display: inline-block;
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
	padding: 0.875rem 1.75rem;
	border-radius: 9999px;
	font-weight: 500;
	font-size: 0.875rem;
	transition: opacity 0.2s ease;
	border: none;
}
.btn-solid-warm:hover { opacity: 0.9; }

.eyebrow {
	display: inline-block;
	color: hsl(var(--primary-text));
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.section-header { margin-bottom: 4rem; }

.section-title { font-size: 1.875rem; font-weight: 700; margin-top: 0.75rem; margin-bottom: 1rem; line-height: 1.15; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

.section-lede { color: hsl(var(--muted-foreground)); max-width: 42rem; }

.icon-badge {
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background-color: hsl(var(--primary) / 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}
.icon-badge svg, .icon-badge i { color: hsl(var(--primary)); font-size: 1.25rem; line-height: 1; }
.icon-badge .elementor-icon-wrapper,
.icon-badge .elementor-icon { margin: 0; padding: 0; }

/* Scroll reveal (replaces framer-motion whileInView) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

.spinner { animation: lenscorp-spin 1s linear infinite; }
@keyframes lenscorp-spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   5. Navbar
------------------------------------------------------------------------- */
.site-navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-navbar__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.site-navbar__logo img { height: 64px; }
@media (min-width: 768px) { .site-navbar__logo img { height: 86px; } }

.site-navbar__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .site-navbar__links { display: flex; } }

.site-navbar__link { font-size: 0.875rem; color: hsl(var(--muted-foreground)); transition: color 0.2s ease; }
.site-navbar__link:hover { color: hsl(var(--foreground)); }

.site-navbar__toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: hsl(var(--foreground)); padding: 0.25rem; }
@media (min-width: 768px) { .site-navbar__toggle { display: none; } }
.site-navbar__toggle svg.icon-close { display: none; }
.site-navbar__toggle.is-open svg.icon-menu { display: none; }
.site-navbar__toggle.is-open svg.icon-close { display: block; }

.site-navbar__mobile { display: none; border-top: 1px solid hsl(var(--border)); }
.site-navbar__mobile.is-open { display: block; }
@media (min-width: 768px) { .site-navbar__mobile { display: none !important; } }
.site-navbar__mobile-inner { padding: 1rem 0; display: flex; flex-direction: column; gap: 1rem; }

/* -------------------------------------------------------------------------
   6. Hero
------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 6rem; padding-bottom: 4rem; }
.hero__topline { position: absolute; top: 0; left: 0; right: 0; height: 3px; }

.hero__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; } }

.hero__media { position: relative; order: 2; }
@media (min-width: 1024px) { .hero__media { order: 1; } }
.hero__media-frame { position: relative; border-radius: 1rem; overflow: hidden; }
.hero__media-frame img { width: 100%; height: 420px; object-fit: cover; }
@media (min-width: 768px)  { .hero__media-frame img { height: 500px; } }
@media (min-width: 1024px) { .hero__media-frame img { height: 600px; } }
.hero__media-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--background)), transparent 60%); }
.hero__media-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to right, hsl(var(--background) / 0.4), transparent 60%); }

.hero__content { order: 1; }
@media (min-width: 1024px) { .hero__content { order: 2; } }
.hero__title { font-size: 2.25rem; font-weight: 700; line-height: 1.1; margin-top: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px)  { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.5rem; } }

.hero__text { font-size: 1rem; color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 2rem; max-width: 32rem; }
@media (min-width: 768px) { .hero__text { font-size: 1.125rem; } }

.hero__note { font-size: 0.875rem; font-weight: 500; margin-bottom: 2rem; max-width: 32rem; }

.hero__actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   7. Services
------------------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background-color: hsl(var(--border)); border-radius: 1rem; overflow: hidden; }
@media (min-width: 768px) { .services__grid { grid-template-columns: 1fr 1fr; } }

.service-card { background-color: hsl(var(--card)); padding: 2rem; transition: background-color 0.2s ease; }
.service-card:hover { background-color: hsl(var(--background)); }
.service-card .icon-badge { margin-bottom: 1.25rem; }
.service-card:hover .icon-badge { background-color: hsl(var(--primary) / 0.2); }
.service-card__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; transition: color 0.2s ease; }
.service-card:hover .service-card__title { color: #fff; }
.service-card__desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; transition: color 0.2s ease; }
.service-card:hover .service-card__desc { color: rgba(255,255,255,0.8); }

/* -------------------------------------------------------------------------
   8. How we work
------------------------------------------------------------------------- */
.how-we-work__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; }
@media (min-width: 768px)  { .how-we-work__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .how-we-work__grid { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; }
.step__number { font-size: 3.75rem; font-weight: 700; color: hsl(var(--foreground) / 0.2); position: absolute; top: -1rem; left: -0.25rem; }
.step__body { padding-top: 3rem; }
.step__body .icon-badge { width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; }
.step__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.step__connector { display: none; }
@media (min-width: 1024px) {
	.step:not(:last-child) .step__connector {
		display: block; position: absolute; top: 5rem; right: -1rem; width: 2rem; height: 1px; background-color: hsl(var(--border));
	}
}

/* -------------------------------------------------------------------------
   9. Why trust us
------------------------------------------------------------------------- */
.comparison { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .comparison { grid-template-columns: 1fr 1fr; } }

.comparison__card { background-color: hsl(var(--card)); border-radius: 1rem; padding: 2rem; border: 1px solid hsl(var(--border)); }
.comparison__card--highlight { border-color: hsl(var(--primary) / 0.2); }
.comparison__title { font-weight: 600; font-size: 1.125rem; margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); }
.comparison__card--highlight .comparison__title { color: inherit; }
.comparison__list { display: flex; flex-direction: column; gap: 1rem; }
.comparison__item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.comparison__item--positive { color: hsl(var(--foreground)); }
.comparison__dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background-color: hsl(var(--muted-foreground) / 0.5); margin-top: 0.5rem; flex-shrink: 0; }
.comparison__dot--positive { background-color: hsl(var(--primary)); }

.stats { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { text-align: center; padding: 2rem 0; }
.stat__value {
	font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem;
	background-image: linear-gradient(135deg, hsl(210 40% 80%), hsl(215 35% 50%));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) { .stat__value { font-size: 3.75rem; } }
.stat__label { color: hsl(var(--muted-foreground)); font-size: 0.875rem; }

/* -------------------------------------------------------------------------
   10. Results / benefits
------------------------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px)  { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

.benefit-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border-radius: 0.75rem; background-color: hsl(var(--card)); border: 1px solid hsl(var(--border)); transition: border-color 0.2s ease; }
.benefit-card:hover { border-color: hsl(var(--primary) / 0.2); }
.benefit-card .icon-badge { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.benefit-card__text { font-weight: 500; font-size: 0.875rem; line-height: 1.7; padding-top: 0.5rem; }

/* -------------------------------------------------------------------------
   11. Client profiles
------------------------------------------------------------------------- */
.profiles { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px)  { .profiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .profiles { grid-template-columns: repeat(4, 1fr); } }

.profile-card { background-color: hsl(var(--card)); border-radius: 1rem; padding: 1.75rem; border: 1px solid hsl(var(--border)); transition: border-color 0.2s ease; }
.profile-card:hover { border-color: hsl(var(--primary) / 0.2); }
.profile-card .icon-badge { margin-bottom: 1.25rem; }
.profile-card__title { font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.profile-card__desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* -------------------------------------------------------------------------
   12. Social proof
------------------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card { background-color: hsl(var(--card)); border-radius: 1rem; padding: 2rem; border: 1px solid hsl(var(--border)); }
.testimonial-card__quote-icon { color: hsl(var(--primary) / 0.4); margin-bottom: 1.25rem; }
.testimonial-card__text { font-size: 0.875rem; color: hsl(var(--secondary-foreground)); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-card__footer { border-top: 1px solid hsl(var(--border)); padding-top: 1rem; }
.testimonial-card__author { font-weight: 600; font-size: 0.875rem; }
.testimonial-card__role { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* -------------------------------------------------------------------------
   13. Final CTA
------------------------------------------------------------------------- */
.final-cta__inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.final-cta__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .final-cta__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   14. Contact form
------------------------------------------------------------------------- */
.contact { max-width: 42rem; margin: 0 auto; }

.contact-card { background-color: hsl(var(--card)); border-radius: 1rem; padding: 2rem; border: 1px solid hsl(var(--border)); }
@media (min-width: 768px) { .contact-card { padding: 2.5rem; } }
.contact-card--success { text-align: center; }
.contact-card__icon { width: 4rem; height: 4rem; border-radius: 50%; background-color: hsl(var(--primary) / 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-card__icon svg { color: hsl(var(--primary)); }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.form-field input, .form-field textarea {
	width: 100%; background-color: hsl(var(--secondary)); border: 1px solid hsl(var(--border));
	border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.875rem; color: hsl(var(--foreground));
}
.form-field input::placeholder, .form-field textarea::placeholder { color: hsl(var(--muted-foreground)); }
.form-field input:focus, .form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px hsl(var(--primary) / 0.4); }
.form-field textarea { resize: none; }

.form-error { color: #ef4444; font-size: 0.875rem; text-align: center; margin: 0 0 1rem; }

.form-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid hsl(var(--foreground) / 0.25); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-submit__icon-loading { display: none; }
.form-submit.is-loading .form-submit__icon-send { display: none; }
.form-submit.is-loading .form-submit__icon-loading { display: inline-flex; }

.contact-alt { text-align: center; font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 1.25rem; }
.contact-alt p { margin: 0.25rem 0; }

/* -------------------------------------------------------------------------
   15. Footer
------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid hsl(var(--border)); padding: 2.5rem 1rem; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; text-align: center; }
@media (min-width: 768px) { .site-footer__inner { flex-direction: row; text-align: left; } }
.site-footer__logo { height: 2rem; }
.site-footer__copy { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.site-footer__links { display: flex; gap: 1.5rem; }
.site-footer__links a { font-size: 0.75rem; color: hsl(var(--muted-foreground)); transition: color 0.2s ease; }
.site-footer__links a:hover { color: hsl(var(--foreground)); }

/* -------------------------------------------------------------------------
   16. Screen-reader utility
------------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
