/*
Theme Name: Solarprobe
Theme URI: https://solarprobe.com.br
Author: Solarprobe
Description: Tema institucional para a Solarprobe — plataforma de monitoramento IoT industrial. Recriado a partir do handoff de design "Solarprobe WordPress Site Design" (tema escuro, console de monitoramento industrial, acento laranja).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: solarprobe
*/

/* =========================================================
   Design tokens
   ========================================================= */
:root {
	--bg-base: #0e0f13;
	--bg-alt: #101116;
	--bg-cta: #0b0c10;
	--bg-footer: #08090c;
	--surface-card: #16171d;
	--surface-card-2: #111218;
	--border: #262832;
	--border-subtle: #1c1e26;
	--border-input: #2a2c37;
	--title: #f6f6f8;
	--body: #c7c8d1;
	--body-soft: #a3a4ae;
	--text-secondary: #9a9ba5;
	--text-muted: #7c7d87;
	--text-faint: #5a5b64;
	--accent: #ff9a1f;
	--accent-2: #f5511e;
	--accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
	--whatsapp: #25d366;
	--ok-green: #22c55e;
	--icon-tint-bg: #1e1a16;
	--icon-tint-border: #3a2c1e;

	--font-heading: 'Sora', system-ui, sans-serif;
	--font-body: 'Manrope', system-ui, sans-serif;
	--font-mono: 'Space Mono', ui-monospace, monospace;

	--container-w: 1180px;
	--section-pad: 92px;
	--radius-card: 18px;
	--radius-btn: 12px;
	--radius-pill: 100px;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	color: var(--body);
	background: var(--bg-base);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffb454; }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--title);
	font-weight: 800;
}

p { line-height: 1.6; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: #5a3410; color: #fff; }

.container {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 0 32px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

@keyframes floatpulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes livedot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.page-fade { animation: fadeup .4s ease both; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(14, 15, 19, .82);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid #20222b;
}

.site-header__inner {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 14px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo { display: flex; align-items: center; }
.site-logo img {
	height: 46px;
	width: auto;
	filter: brightness(0) invert(1);
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 15px;
	color: var(--body);
}
.site-nav a.is-active,
.site-nav a:hover { color: var(--accent); }

.btn-wa-header {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--accent-gradient);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 20px;
	border-radius: 11px;
	box-shadow: 0 8px 26px -8px rgba(245, 81, 30, .7);
	transition: transform .15s ease, filter .15s ease;
	white-space: nowrap;
}
.btn-wa-header:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border-input);
	border-radius: 9px;
	padding: 8px;
	color: var(--title);
}

/* =========================================================
   Buttons (general)
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	padding: 16px 28px;
	border-radius: var(--radius-btn);
	border: none;
	transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}
.btn--primary {
	background: var(--accent-gradient);
	color: #fff;
	box-shadow: 0 14px 40px -10px rgba(245, 81, 30, .65);
}
.btn--primary:hover { transform: translateY(-2px); color: #fff; }

.btn--outline {
	background: var(--surface-card);
	border: 1px solid var(--border-input);
	color: #e6e6ea;
	font-weight: 600;
}
.btn--outline:hover { border-color: #3a3d4a; color: #e6e6ea; }

.btn--whatsapp {
	background: var(--whatsapp);
	color: #fff;
	box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .55);
}
.btn--whatsapp:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }

.btn--block { width: 100%; }

/* =========================================================
   Badge (live pill)
   ========================================================= */
.badge-live {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--surface-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: 7px 15px;
	font-size: 13px;
	font-weight: 600;
	color: #d0a06a;
	margin-bottom: 24px;
}
.badge-live__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--ok-green);
	box-shadow: 0 0 0 4px rgba(34, 197, 94, .2);
	animation: livedot 1.8s ease-in-out infinite;
}

/* =========================================================
   Eyebrow / section titles
   ========================================================= */
.eyebrow {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
}
.section-title { font-size: 38px; font-weight: 800; margin-top: 12px; }
.section-lead { max-width: 640px; }
.section-lead--center { max-width: 620px; margin: 0 auto; text-align: center; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--section-pad) 0; background: var(--bg-base); }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border-subtle); }
.section--tight-top { padding-top: 36px; }

/* =========================================================
   Hero (Home)
   ========================================================= */
.hero-home {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 560px at 80% -12%, rgba(245, 81, 30, .22), transparent 62%),
		linear-gradient(var(--bg-base), var(--bg-alt));
}
.hero-home::before {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(#ffffff0a 1px, transparent 1px),
		linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: radial-gradient(700px 500px at 75% 0%, #000, transparent 75%);
	pointer-events: none;
}
.hero-home__inner {
	position: relative;
	padding: 90px 32px 100px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
}
.hero-home h1 { font-size: 58px; }
.hero-home__lead { font-size: 19px; color: var(--body-soft); margin-top: 22px; max-width: 520px; }
.hero-home__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats__divider { width: 1px; background: var(--border); }
.hero-stats__value { font-family: var(--font-heading); font-weight: 800; font-size: 26px; color: var(--title); }
.hero-stats__label { font-size: 13px; color: var(--text-muted); }

/* =========================================================
   Placeholder images (diagonal-stripe box)
   ========================================================= */
.img-placeholder {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: repeating-linear-gradient(135deg, #141519, #141519 13px, #1b1c23 13px, #1b1c23 26px);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
	min-height: 440px;
	text-align: center;
}
.img-placeholder--produto { min-height: 380px; }
.img-placeholder--device { min-height: 190px; border-radius: 0; border: none; border-bottom: 1px solid var(--border); box-shadow: none; }
.img-placeholder--wide { min-height: 320px; box-shadow: none; }

.img-placeholder__label {
	font-family: var(--font-mono);
	font-size: 13px;
	color: #6a6b74;
	padding: 16px;
	line-height: 1.7;
}
.img-placeholder--device .img-placeholder__label { font-size: 12px; }

.img-fill {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================================================
   Grids & cards
   ========================================================= */
.grid { display: grid; gap: 24px; margin-top: 44px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
	background: var(--surface-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 30px;
}
.card--use-case { padding: 26px; transition: border-color .15s ease; }
.card--use-case:hover { border-color: var(--icon-tint-border); }
.card--platform { padding: 26px; border-radius: 16px; }
.card--scale { padding: 22px; border-radius: 14px; }
.card--reason { padding: 28px; }

.card h3 { font-size: 20px; font-weight: 700; margin-top: 20px; }
.card p { font-size: 15px; color: var(--text-secondary); margin-top: 10px; }
.card--use-case h3 { font-size: 17px; margin-top: 18px; }
.card--use-case p { font-size: 14px; margin-top: 8px; }
.card--platform h3 { font-size: 18px; margin-top: 16px; }
.card--platform p { font-size: 14px; margin-top: 8px; }
.card--scale h3 { font-size: 16px; margin-top: 14px; }
.card--scale p { font-size: 13px; margin-top: 6px; }
.card--reason h3 { font-size: 18px; margin-top: 18px; }
.card--reason p { font-size: 14px; margin-top: 8px; }

.icon-box {
	width: 52px; height: 52px;
	border-radius: 13px;
	background: var(--icon-tint-bg);
	border: 1px solid var(--icon-tint-border);
	display: flex; align-items: center; justify-content: center;
	color: var(--accent);
}
.icon-box--sm { width: 48px; height: 48px; border-radius: 12px; }
.icon-box--solid {
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--accent-gradient);
	color: #fff;
	box-shadow: 0 10px 30px -10px rgba(245, 81, 30, .6);
	display: flex; align-items: center; justify-content: center;
}
.icon-box--solid.icon-box--reason { width: 50px; height: 50px; border-radius: 13px; box-shadow: 0 10px 30px -12px rgba(245, 81, 30, .6); }
.icon-bare { color: var(--accent); display: inline-flex; }

.step-card { position: relative; padding: 32px; }
.step-card__n { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--accent); }
.step-card h3 { font-size: 21px; margin-top: 20px; }
.step-card p { font-size: 15px; margin-top: 9px; }

/* Flow bar */
.flow-bar {
	margin-top: 26px;
	background: var(--surface-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 26px 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}
.flow-bar__item { display: flex; align-items: center; gap: 14px; }
.flow-bar__chip {
	display: flex; align-items: center; gap: 10px;
	background: var(--bg-base);
	border: 1px solid var(--border-input);
	border-radius: 11px;
	padding: 12px 18px;
	color: var(--title);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
}
.flow-bar__chip .icon-bare { color: var(--accent); }
.flow-bar__arrow { color: #5a5b64; display: inline-flex; }

/* =========================================================
   Product page — hardware cards
   ========================================================= */
.hardware-card { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface-card); }
.hardware-card__body { padding: 30px; }
.hardware-card__tag {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--bg-base);
	border: 1px solid var(--border-input);
	border-radius: var(--radius-pill);
	padding: 5px 12px;
	font-size: 12px; font-weight: 700; color: var(--accent);
}
.hardware-card h3 { font-size: 24px; margin-top: 16px; }
.hardware-card__ideal { font-size: 15px; color: var(--text-secondary); margin-top: 8px; }
.hardware-card__divider { height: 1px; background: var(--border); margin: 22px 0; }
.hardware-card__spec { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--body); }
.hardware-card__spec .icon-bare { color: var(--ok-green); }

/* Screenshots da plataforma */
.screenshot-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface-card); }
.img-placeholder--screenshot { min-height: 220px; border-radius: 0; border: none; border-bottom: 1px solid var(--border); box-shadow: none; }
.screenshot-card__caption { padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--title); font-family: var(--font-heading); }

.integration-section { padding: 88px 0; background: linear-gradient(var(--bg-alt), var(--bg-cta)); border-top: 1px solid var(--border-subtle); }
.integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.integration-grid__text p { font-size: 16px; color: var(--body-soft); margin-top: 16px; }
.scale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =========================================================
   CTA final
   ========================================================= */
.cta-section {
	background: var(--bg-cta);
	border-top: 1px solid var(--border-subtle);
	position: relative;
	overflow: hidden;
}
.cta-section::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(760px 320px at 50% 0%, rgba(245, 81, 30, .24), transparent 62%);
	pointer-events: none;
}
.cta-section__inner { padding: 88px 32px; text-align: center; position: relative; }
.cta-section h2 { font-size: 42px; color: #fff; }
.cta-section p { font-size: 18px; color: var(--body-soft); margin-top: 14px; }
.cta-section .btn { margin-top: 28px; font-size: 17px; padding: 17px 32px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg-footer); color: #fff; border-top: 1px solid var(--border-subtle); }
.site-footer__inner { padding: 56px 32px 32px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-wordmark { font-family: var(--font-heading); font-weight: 800; font-size: 24px; }
.footer-wordmark span:first-child { color: var(--accent); }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col__title {
	font-family: var(--font-heading); font-weight: 700; font-size: 13px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint);
}
.footer-col__links { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.footer-col__links a, .footer-col__links span { font-size: 15px; color: var(--body-soft); }
.footer-col__links a:hover { color: var(--accent); }
.footer-divider { height: 1px; background: var(--border-subtle); margin: 36px 0 20px; }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* Floating WhatsApp button */
.whatsapp-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 80;
	width: 60px; height: 60px; border-radius: 50%;
	background: var(--whatsapp);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 34px -6px rgba(37, 211, 102, .7);
	animation: floatpulse 3s ease-in-out infinite;
	color: #fff;
}
.whatsapp-float:hover { filter: brightness(1.08); color: #fff; }
.whatsapp-float .icon-bare { color: #fff; }

/* =========================================================
   Produto / Sobre heroes
   ========================================================= */
.hero-produto { position: relative; overflow: hidden; padding: 82px 0 62px; background: radial-gradient(900px 480px at 82% -12%, rgba(245, 81, 30, .2), transparent 62%), var(--bg-base); }
.hero-produto__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.hero-produto h1 { font-size: 50px; margin-top: 12px; }
.hero-produto p { font-size: 18px; color: var(--body-soft); margin-top: 20px; max-width: 520px; }

.hero-sobre { position: relative; overflow: hidden; padding: 82px 0; background: radial-gradient(900px 480px at 20% -12%, rgba(245, 81, 30, .2), transparent 62%), var(--bg-base); }
.hero-sobre__inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.hero-sobre h1 { font-size: 50px; margin-top: 14px; }
.hero-sobre p { font-size: 19px; color: var(--body-soft); margin-top: 22px; }

/* =========================================================
   Contato
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-hero h1 { font-size: 46px; margin-top: 12px; }
.contact-hero p { font-size: 17px; color: var(--body-soft); margin-top: 14px; }
.contact-hero strong { color: #e6e6ea; }

.contact-success {
	margin-top: 28px; background: #12241a; border: 1px solid #1f4a32; border-radius: 16px;
	padding: 28px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-success .icon-bare { color: var(--ok-green); flex: none; }
.contact-success h3 { font-size: 18px; color: var(--title); }
.contact-success p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

.contact-error {
	margin-top: 28px; background: #241212; border: 1px solid #4a1f1f; border-radius: 16px;
	padding: 20px 24px; font-size: 14px; color: #f3b4b4;
}

.contact-form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 7px; }
.contact-form__field--full { grid-column: 1 / 3; }
.contact-form__field span { font-size: 13px; font-weight: 600; color: var(--body); }
.contact-form input,
.contact-form textarea {
	border: 1px solid var(--border-input);
	border-radius: 11px;
	padding: 13px 15px;
	font-family: var(--font-body);
	font-size: 15px;
	background: var(--surface-card);
	color: var(--title);
	width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form textarea { resize: vertical; }
.contact-form button[type="submit"] { grid-column: 1 / 3; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-card-wa {
	background: linear-gradient(150deg, var(--surface-card), var(--surface-card-2));
	border: 1px solid var(--border); border-radius: 20px; padding: 32px; color: #fff;
}
.contact-card-wa__icon {
	width: 54px; height: 54px; border-radius: 14px; background: var(--whatsapp);
	display: flex; align-items: center; justify-content: center;
}
.contact-card-wa h3 { font-size: 22px; margin-top: 18px; }
.contact-card-wa p { font-size: 15px; color: var(--text-secondary); margin-top: 8px; }
.contact-card-wa .btn { margin-top: 20px; }

.contact-info-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.contact-info-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.contact-info-row .icon-bare { color: var(--accent); }
.contact-info-row__label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.contact-info-row__value { font-size: 15px; color: var(--title); font-weight: 600; }
.contact-info-row__value:hover { color: var(--accent); }
.contact-info-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
	.hero-home__inner,
	.hero-produto__inner,
	.integration-grid,
	.contact-grid { grid-template-columns: 1fr; }

	.hero-home h1 { font-size: 42px; }
	.hero-produto h1,
	.hero-sobre h1 { font-size: 36px; }
	.contact-hero h1 { font-size: 34px; }
	.section-title { font-size: 30px; }
	.cta-section h2 { font-size: 32px; }

	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-2 { grid-template-columns: 1fr; }
	.scale-grid { grid-template-columns: 1fr; }

	.contact-form { grid-template-columns: 1fr; }
	.contact-form__field--full { grid-column: 1; }
	.contact-form button[type="submit"] { grid-column: 1; }
}

@media (max-width: 760px) {
	.site-nav {
		position: fixed; inset: 70px 16px auto 16px;
		background: var(--surface-card);
		border: 1px solid var(--border);
		border-radius: 16px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 12px;
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: 10px 12px; width: 100%; border-radius: 8px; }
	.site-nav a.is-active, .site-nav a:hover { background: rgba(255, 154, 31, .08); }
	.menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.btn-wa-header span:last-child { display: none; }

	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.hero-home__inner { padding: 44px 24px 60px; }
	.section { padding: 64px 0; }
	.container { padding: 0 20px; }
}
