/* ==========================================================================
   Web4Me — estilos principais
   ========================================================================== */

:root {
	--navy: #10243A;
	--navy-900: #0B1A2B;
	--navy-700: #173452;
	--navy-600: #1E4266;
	--blue: #087EAA;
	--blue-700: #066A8F;
	--cyan: #19B8D4;
	--cyan-soft: #E3F6FA;
	--gray: #F3F6FA;
	--white: #FFFFFF;
	--text: #1A2B3D;
	--muted: #556678;
	--muted-light: #A9BDD0;
	--border: #E1E8F0;
	--border-dark: #24476A;
	--success: #0E7A55;
	--error: #B42318;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(16, 36, 58, .06), 0 1px 3px rgba(16, 36, 58, .05);
	--shadow: 0 10px 30px -12px rgba(16, 36, 58, .18), 0 2px 6px rgba(16, 36, 58, .05);
	--shadow-lg: 0 24px 60px -20px rgba(16, 36, 58, .35);

	--container: 1200px;
	--gutter: 24px;
	--header-h: 76px;
	--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) + 16px); }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.site-main:focus { outline: none; }

/* Botões ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
	font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
	white-space: nowrap;
}
.btn .icon { flex: none; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16.5px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(8, 126, 170, .7); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cyan-soft); color: var(--navy); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--whatsapp { background: #128C4B; color: #fff; }
.btn--whatsapp:hover { background: #0E733D; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.text-link {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue);
}
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* Tipografia de seção --------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--blue); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--cyan); border-radius: 2px; }
.eyebrow .icon { display: none; }
.eyebrow--light { color: var(--cyan); }

.section-title { font-size: clamp(28px, 3.6vw, 42px); max-width: 22ch; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin-top: 12px; }
.section-head { margin-bottom: 44px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.muted-light { color: var(--muted-light); }

/* Seções ---------------------------------------------------------------- */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: #DCE7F2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .section-lead { color: var(--muted-light); }
.section--grid { overflow: hidden; }
.section--grid::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(25, 184, 212, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 184, 212, .07) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.section--grid > .container { position: relative; }

/* Grids ----------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split--intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--center { align-items: center; }

.prose { color: var(--text); }
.prose p { color: #33475B; }
.prose--lg p { font-size: 19px; }
.prose--page { max-width: 800px; }
.prose--page h2 { font-size: 28px; margin-top: 1.6em; }
.prose--page h3 { font-size: 22px; margin-top: 1.4em; }
.prose--page ul, .prose--page ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose--page li { margin-bottom: .35em; }
.prose--page img { border-radius: var(--radius-sm); }

/* Cabeçalho ------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(16, 36, 58, .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 36px; height: 36px; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -.03em; line-height: 1; }
.brand__four { color: var(--cyan); }
.brand__img { max-height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px;
	color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15.5px;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current-menu-ancestor > a,
.main-nav .menu > .current-page-ancestor > a { color: var(--blue); background: var(--gray); }
.main-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 4px; margin-top: -3px;
	border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); opacity: .7;
}
.main-nav .menu-cta > a,
.main-nav .menu > .menu-cta.current-menu-item > a { background: var(--blue); color: #fff; padding: 10px 18px; margin-left: 8px; font-weight: 600; }
.main-nav .menu-cta > a:hover { background: var(--blue-700); color: #fff; }

.main-nav .sub-menu {
	list-style: none; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px; padding: 8px;
	background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { padding: 10px 12px; font-size: 15px; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--gray); color: var(--blue); }
.submenu-toggle { display: none; }
.main-nav__wa { display: none; }

.nav-toggle {
	display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
	background: var(--gray); border: 0; border-radius: 12px; color: var(--navy); cursor: pointer;
}
.nav-toggle__close { display: none; }

/* Hero ------------------------------------------------------------------ */
.hero {
	position: relative; overflow: hidden; background: var(--navy); color: #DCE7F2;
	padding: 88px 0 96px;
}
.hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(800px 420px at 85% 20%, rgba(8, 126, 170, .35), transparent 60%),
		linear-gradient(rgba(25, 184, 212, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(25, 184, 212, .06) 1px, transparent 1px);
	background-size: auto, 56px 56px, 56px 56px;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 48px; align-items: center; }
.hero__title {
	color: #fff; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 22px;
}
.hero__subtitle { font-size: clamp(19px, 2vw, 22px); color: #fff; font-weight: 500; line-height: 1.45; max-width: 36ch; }
.hero__text { color: var(--muted-light); max-width: 54ch; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }
.hv-pulse { stroke-dasharray: 8 300; stroke-dashoffset: 0; opacity: .9; animation: hv-flow 3.6s linear infinite; }
.hv-pulse--2 { animation-delay: .9s; }
.hv-pulse--3 { animation-delay: 1.8s; }
.hv-pulse--4 { animation-delay: 2.7s; }
.hv-card { filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .35)); }
@keyframes hv-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -308; } }

/* Hero interno ---------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--gray); padding: 56px 0 72px; border-bottom: 1px solid var(--border); }
.page-hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(8, 126, 170, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 126, 170, .06) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse at 85% 0%, #000 10%, transparent 65%);
	-webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000 10%, transparent 65%);
}
.page-hero__inner { position: relative; }
.page-hero__title { font-size: clamp(32px, 4.4vw, 52px); max-width: 20ch; letter-spacing: -.025em; }
.page-hero__text { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }

.page-hero--dark { background: var(--navy); border-bottom: 0; color: #DCE7F2; }
.page-hero--dark .page-hero__bg {
	background-image:
		radial-gradient(700px 360px at 90% 10%, rgba(25, 184, 212, .22), transparent 60%),
		linear-gradient(rgba(25, 184, 212, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(25, 184, 212, .08) 1px, transparent 1px);
	background-size: auto, 44px 44px, 44px 44px;
	mask-image: none; -webkit-mask-image: none;
}
.page-hero--dark .page-hero__title { color: #fff; }
.page-hero--dark .page-hero__text { color: var(--muted-light); }
.page-hero--dark .eyebrow { color: var(--cyan); }
.page-hero--dark .breadcrumb, .page-hero--dark .breadcrumb a { color: var(--muted-light); }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }

/* Cards ----------------------------------------------------------------- */
.card {
	position: relative; display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; color: var(--text);
	box-shadow: var(--shadow-sm); text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.card:hover, .card--project:hover, .card--post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD8E5; color: var(--text); }
.card__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: none;
	border-radius: 14px; background: var(--cyan-soft); color: var(--blue); margin-bottom: 20px;
}
.card__icon--sm { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.card__title { font-size: 21px; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.card__more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px;
	font-weight: 600; font-size: 15px; color: var(--blue);
}
.card__more .icon { transition: transform .2s var(--ease); }
a.card:hover .card__more .icon, .card__link:hover .card__more .icon { transform: translateX(3px); }
.card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.card__head .card__icon { margin-bottom: 0; }
.card__head .card__title { margin-bottom: 0; }

.card--service .card__text { flex: 1 0 auto; }
.card--compact { padding: 24px; }
.card--compact .card__title { font-size: 19px; }
.card--block { padding: 32px; }
.card--block .text-link { margin-top: 20px; }
.card--feature { padding: 32px; }
.card--feature .card__title { font-size: 24px; }
.card--segment { padding: 32px; }
.card--statement { padding: 36px; }
.statement { font-family: var(--font-display); font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: var(--navy); font-weight: 500; margin: 0; }

.card--project, .card--post { padding: 0; overflow: hidden; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media { aspect-ratio: 16 / 10; background: var(--gray); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder {
	height: 100%; display: flex; align-items: center; justify-content: center; color: var(--blue);
	background: linear-gradient(135deg, var(--cyan-soft), var(--gray));
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card__tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.card__meta { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.card__body .chips { margin-top: 14px; }

/* Segmentos (home) ------------------------------------------------------ */
.segment { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border-radius: 20px; overflow: hidden; }
.segment p { font-size: 17.5px; margin-bottom: 20px; }
.segment .chips { margin-bottom: 28px; }
.segment .btn { margin-top: auto; white-space: normal; text-align: left; }
.segment__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px; }
.segment__title { font-size: 28px; }
.segment--isp { background: var(--navy); color: #DCE7F2; }
.segment--isp::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(25, 184, 212, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 184, 212, .08) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
}
.segment--isp > * { position: relative; }
.segment--isp .segment__title { color: #fff; }
.segment--isp .segment__icon { background: rgba(25, 184, 212, .14); color: var(--cyan); }
.segment--biz { background: var(--gray); border: 1px solid var(--border); }
.segment--biz .segment__icon { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

/* Chips ----------------------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
	background: var(--gray); border: 1px solid var(--border); color: var(--navy);
	font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none;
}
.chips--sm .chip { padding: 4px 10px; font-size: 13px; }
.chips--lg .chip { padding: 10px 18px; font-size: 16px; font-weight: 600; background: #fff; }
.chips--dark .chip { background: rgba(255, 255, 255, .06); border-color: var(--border-dark); color: #E6F1FA; }
.chip--link:hover { border-color: var(--blue); color: var(--blue); }

/* Diferenciais / features ---------------------------------------------- */
.feature { padding: 28px; border: 1px solid var(--border-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .025); transition: border-color .25s, background-color .25s; }
.feature:hover { border-color: rgba(25, 184, 212, .5); background: rgba(255, 255, 255, .045); }
.feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(25, 184, 212, .14); color: var(--cyan); margin-bottom: 18px; }
.feature__title { font-size: 19px; color: #fff; }
.feature__text { color: var(--muted-light); font-size: 15.5px; margin: 0; }

/* Etapas ---------------------------------------------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--border); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--cyan); }
.step__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--blue); margin-bottom: 10px; letter-spacing: .05em; }
.step__title { font-size: 21px; }
.step__text { color: var(--muted); font-size: 16px; margin: 0; }
.section--gray .step { border-top-color: #D5E0EB; }

/* Benefícios ------------------------------------------------------------ */
.benefit { padding: 4px 0; }
.benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--cyan); margin-bottom: 16px; }
.benefit__title { font-size: 19px; }
.benefit__text { color: var(--muted); font-size: 16px; margin: 0; }

/* Painéis / listas ------------------------------------------------------ */
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 20px; }
.panel__title { font-size: 22px; margin-bottom: 18px; }
.panel__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }
.panel__label:first-child { margin-top: 0; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: #DCE7F2; }
.panel--navy .panel__title { color: #fff; }
.panel--navy p { color: var(--muted-light); }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.check-list .icon { flex: none; color: var(--blue); background: var(--cyan-soft); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: -1px; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 18px; font-size: 15.5px; }

.info-list { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.info-list .icon { flex: none; color: var(--cyan); margin-top: 2px; }
.info-list strong { color: #fff; }
.info-list--dark .icon { color: var(--blue); }
.info-list--dark strong { color: var(--navy); }
.info-list--dark { margin-bottom: 0; }

/* Lista de serviços (Soluções) ----------------------------------------- */
.service-list { display: grid; gap: 16px; }
.service-row {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
	padding: 28px 32px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
	transition: border-color .25s, box-shadow .25s;
}
.service-row:hover { border-color: #CBD8E5; box-shadow: var(--shadow); }
.service-row__head { display: flex; align-items: center; gap: 18px; }
.service-row__head .card__icon { margin: 0; }
.service-row__num { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 15px; width: 24px; }
.service-row__title { font-size: 23px; margin-bottom: 6px; }
.service-row__title a { color: var(--navy); text-decoration: none; }
.service-row__title a:hover { color: var(--blue); }
.service-row__text { color: var(--muted); margin-bottom: 12px; }

/* Valores --------------------------------------------------------------- */
.values { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.value { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.value__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-soft); color: var(--blue); }
.value__text { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); line-height: 1.3; }

/* CTA ------------------------------------------------------------------- */
.cta-band {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: 56px; border-radius: 24px; background: var(--navy); color: #DCE7F2;
}
.cta-band__grid {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(500px 260px at 100% 100%, rgba(25, 184, 212, .28), transparent 65%),
		linear-gradient(rgba(25, 184, 212, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(25, 184, 212, .07) 1px, transparent 1px);
	background-size: auto, 40px 40px, 40px 40px;
}
.cta-band__content, .cta-band__actions { position: relative; }
.cta-band__content { max-width: 620px; }
.cta-band__title { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta-band__text { color: var(--muted-light); margin: 0; font-size: 17.5px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contato --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--navy); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px;
	background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2310243A' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 126, 170, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 14px; min-height: 0; }
.field__error:empty { display: none; }
.field--check { gap: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; color: var(--muted) !important; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.form__note { margin: 0; color: var(--muted); font-size: 14px; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.notice .icon { flex: none; margin-top: 2px; }
.notice--success { background: #E7F6EF; color: var(--success); border: 1px solid #BFE5D2; }
.notice--error { background: #FDECEA; color: var(--error); border: 1px solid #F6C9C4; }
.notice:focus { outline: none; }

/* Projetos -------------------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter__item { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.filter__item:hover { border-color: var(--blue); color: var(--blue); }
.filter__item.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.empty-state { max-width: 640px; margin: 0 auto; text-align: center; padding: 48px 32px; border: 1.5px dashed #CBD8E5; border-radius: 20px; background: var(--gray); }
.empty-state__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; color: var(--blue); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.empty-state__title { font-size: 26px; }
.empty-state p { color: var(--muted); }

.case-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.case-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.case-block { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.case-block__title { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.case-block__title .icon { color: var(--blue); }
.case-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.case-aside .btn { margin-top: 24px; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

.notfound { padding: 140px 0; }
.notfound .section-title { font-size: clamp(36px, 5vw, 56px); }

/* Rodapé ---------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--muted-light); padding: 72px 0 32px; font-size: 15.5px; }
.site-footer a { color: #D6E4F0; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 48px; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-brand__slogan { margin: 16px 0 24px; color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 500; max-width: 30ch; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { flex: none; color: var(--cyan); margin-top: 3px; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.footer-social a { display: inline-flex; padding: 6px 14px; border: 1px solid var(--border-dark); border-radius: 999px; font-size: 14px; }
.footer-social a:hover { border-color: var(--cyan); }
.footer-col__title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col__title--spaced { margin-top: 32px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid #1C3550; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* WhatsApp flutuante ---------------------------------------------------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px 0 16px;
	border-radius: 999px; background: #128C4B; color: #fff; text-decoration: none; font-weight: 600;
	box-shadow: 0 12px 30px -10px rgba(18, 140, 75, .7);
	transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { background: #0E733D; color: #fff; transform: translateY(-2px); }

/* Consentimento --------------------------------------------------------- */
.consent {
	position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 440px;
	padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
	font-size: 14.5px; color: var(--muted);
}
.consent[hidden] { display: none; }
.consent p { margin-bottom: 14px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Comentários ----------------------------------------------------------- */
.comments { margin-top: 48px; }
.comment-list { list-style: none; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.comment-form .submit { background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer; }

/* E-mail Corporativo ---------------------------------------------------- */
.email-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.email-hero .page-hero__title { max-width: 18ch; }

.mailbox {
	position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px;
	box-shadow: var(--shadow-lg); overflow: visible;
}
.mailbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--navy); border-radius: 18px 18px 0 0; }
.mailbox__dots { display: inline-flex; gap: 6px; }
.mailbox__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A4D6E; }
.mailbox__dots i:first-child { background: var(--cyan); }
.mailbox__domain { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #DCE7F2; letter-spacing: .01em; }
.mailbox__head { display: flex; align-items: center; gap: 8px; padding: 16px 20px 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mailbox__head .icon { color: var(--blue); }
.mailbox__list { list-style: none; padding: 4px 12px 20px; }
.mailbox__row { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--border); }
.mailbox__row:last-child { border-bottom: 0; }
.mailbox__avatar {
	flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px;
	background: var(--cyan-soft); color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.mailbox__row:nth-child(2n) .mailbox__avatar { background: var(--navy); color: var(--cyan); }
.mailbox__addr { flex: 1; min-width: 0; font-weight: 600; color: var(--navy); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailbox__tag { flex: none; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--gray); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.mailbox__toast {
	position: absolute; left: -24px; bottom: -22px; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 600;
	box-shadow: 0 14px 30px -12px rgba(16, 36, 58, .55);
}
.mailbox__toast .icon { color: var(--cyan); }

.grid--benefits .card__title { font-size: 18px; }

.org { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.org__root {
	display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto; width: max-content; max-width: 100%;
	padding: 12px 20px; border-radius: 14px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600;
}
.org__root-icon { color: var(--cyan); display: inline-flex; }
.org__trunk { width: 2px; height: 24px; margin: 0 auto; background: var(--cyan); }
.org__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 16px; border-top: 2px solid var(--cyan); position: relative; }
.org__node { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--gray); }
.org__dept { display: block; font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.org__addr { display: block; font-size: 14px; color: var(--blue); font-weight: 600; word-break: break-all; }
.org__dom { color: var(--muted); font-weight: 500; }

.plan { padding: 32px; }
.plan__name { font-size: 22px; }
.plan__text { color: var(--muted); }
.plan .check-list { margin: 8px 0 24px; }
.plan__cta { margin-top: auto; }
.plans-note { text-align: center; margin: 28px 0 0; color: var(--muted); }
.plan-custom {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
	padding: 36px 40px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
	position: relative; overflow: hidden;
}
.plan-custom::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cyan); }
.plan-custom__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--cyan-soft); color: var(--blue); }
.plan-custom__title { font-size: 24px; margin-bottom: 6px; }
.plan-custom__body p { color: var(--muted); margin: 0; max-width: 60ch; }

.email-band {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 24px; align-items: center;
	margin-top: 24px; padding: 24px 28px; border-radius: var(--radius); background: var(--navy); color: #DCE7F2; text-decoration: none;
	border: 1px solid var(--navy); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.email-band:hover { color: #DCE7F2; transform: translateY(-2px); box-shadow: var(--shadow); }
.email-band__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(25, 184, 212, .14); color: var(--cyan); }
.email-band__body { display: flex; flex-direction: column; gap: 2px; }
.email-band__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.email-band__title { font-family: var(--font-display); font-size: 21px; color: #fff; }
.email-band__text { color: var(--muted-light); font-size: 15.5px; }
.email-band__chips { display: flex; gap: 6px; }
.email-band__chips span { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-dark); color: #E6F1FA; }
.email-band__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; white-space: nowrap; }
.email-band:hover .email-band__more .icon { transform: translateX(3px); }
.email-band__more .icon { transition: transform .2s var(--ease); }

@media (max-width: 1180px) {
	.email-band__chips { display: none; }
	.email-band { grid-template-columns: auto minmax(0, 1fr) auto; }
}
@media (max-width: 1060px) {
	.email-hero { grid-template-columns: 1fr; gap: 48px; }
	.mailbox { max-width: 520px; width: 100%; margin: 0 auto 12px; }
	.mailbox__toast { left: 12px; }
}
@media (max-width: 640px) {
	.org { padding: 20px; }
	.org__list { grid-template-columns: 1fr; }
	.plan-custom { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; }
	.plan-custom .btn { width: 100%; }
	.email-band { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px; }
	.email-band__more { grid-column: 1 / -1; }
	.mailbox__tag { display: none; }
}

/* Animações ------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Responsivo ------------------------------------------------------------ */
@media (max-width: 1180px) {
	.main-nav .menu a { padding: 10px 9px; font-size: 15px; }
	.values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1060px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav .menu > li > a { flex: 1; padding: 16px 4px; font-size: 18px; font-weight: 600; border-radius: 0; background: none !important; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .menu-cta { border-bottom: 0 !important; margin-top: 20px; }
	.main-nav .menu-cta > a { justify-content: center; margin: 0; padding: 16px !important; border-radius: 12px !important; background: var(--blue) !important; color: #fff !important; }
	.submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		background: var(--gray); border: 0; border-radius: 10px; color: var(--navy); cursor: pointer;
	}
	.submenu-toggle .icon { transition: transform .2s; }
	.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.main-nav .sub-menu {
		position: static; width: 100%; min-width: 0; padding: 0 0 12px 8px; margin: 0;
		border: 0; box-shadow: none; border-radius: 0; background: none;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.main-nav .sub-menu::before { display: none; }
	.main-nav .sub-menu.is-open { display: block; }
	.main-nav .sub-menu a { padding: 10px 8px; font-size: 16px; color: var(--muted); }
	.main-nav__wa { display: inline-flex; }

	.hero__inner { grid-template-columns: 1fr; }
	.hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
	.split, .split--intro { grid-template-columns: 1fr; gap: 32px; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.contact-grid, .case-layout { grid-template-columns: 1fr; }
	.contact-aside, .case-aside { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-row { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
	.service-row__cta { justify-self: start; }
}

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

@media (max-width: 640px) {
	:root { --gutter: 18px; }
	body { font-size: 16px; }
	.section { padding: 64px 0; }
	.section--tight { padding: 40px 0; }
	.section-head { margin-bottom: 32px; }
	.hero { padding: 56px 0 64px; }
	.page-hero { padding: 36px 0 48px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.grid { gap: 16px; }
	.steps { grid-template-columns: 1fr; }
	.values { grid-template-columns: 1fr 1fr; }
	.check-list--2 { grid-template-columns: 1fr; }
	.segment { padding: 28px; }
	.card, .card--block, .card--feature, .card--segment, .card--statement { padding: 24px; }
	.card--project, .card--post { padding: 0; }
	.cta-band { padding: 36px 24px; border-radius: 20px; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.btn-row .btn { flex: 1 1 100%; }
	.btn { white-space: normal; text-align: center; }
	.contact-form-card { padding: 24px; }
	.form__grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.wa-float { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
	.wa-float__label { display: none; }
	.consent { left: 12px; right: 12px; bottom: 82px; max-width: none; }
	.brand__text { font-size: 22px; }
	.brand__mark { width: 32px; height: 32px; }
}
