/* =====================================================
   JR Saúde Estratégica — tema one page
   Identidade: azul-marinho profundo + verde → teal (cartão)
   ===================================================== */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/jost-latin-600-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
	--navy: #0e2a47;
	--navy-deep: #0b1d38;
	--green: #5f9e3f;
	--green-light: #7ab648;
	--teal: #16697a;
	--teal-deep: #1d7a6e;
	--off-white: #f6f8f4;
	--white: #ffffff;
	--ink: #22354c;
	--ink-soft: #5a6b80;
	--line: #e3e9e1;
	--grad: linear-gradient(120deg, var(--green-light) 0%, var(--teal-deep) 100%);
	--radius: 18px;
	--shadow-soft: 0 10px 30px rgba(14, 42, 71, 0.10);
	--shadow-hover: 0 18px 44px rgba(14, 42, 71, 0.16);
	--font-body: 'Jost', 'Segoe UI', system-ui, sans-serif;
	--font-display: 'Playfair Display', Georgia, serif;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	font-family: var(--font-body);
	font-size: 1.06rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--teal);
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: none;
}

.container {
	width: min(1160px, 92%);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--navy);
	color: #fff;
	padding: 0.6rem 1rem;
	z-index: 200;
}

.skip-link:focus {
	left: 0;
}

/* ---------- Tipografia ---------- */
h1,
h2 {
	font-family: var(--font-display);
	color: var(--navy);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2.4rem, 5.2vw, 4rem);
}

h2 {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
	font-weight: 600;
	color: var(--navy);
	font-size: 1.18rem;
	line-height: 1.3;
}

.kicker {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--green);
	margin-bottom: 0.9rem;
}

/* ---------- Botões ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.85rem 1.7rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.01em;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
	will-change: transform;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0) scale(0.97);
}

.btn-ic {
	display: inline-flex;
	width: 1.25em;
	height: 1.25em;
}

.btn-ic svg {
	width: 100%;
	height: 100%;
}

.btn-green {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 8px 22px rgba(30, 122, 111, 0.35);
}

.btn-green:hover {
	box-shadow: 0 12px 30px rgba(30, 122, 111, 0.45);
}

.btn-outline {
	border: 1.5px solid rgba(255, 255, 255, 0.65);
	color: #fff;
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

/* Secundário sobre fundo claro (hero). */
.btn-claro {
	background: #fff;
	color: var(--navy);
	border: 1px solid rgba(14, 42, 71, 0.14);
	box-shadow: 0 10px 24px rgba(14, 42, 71, 0.09);
}

.btn-claro:hover {
	border-color: rgba(14, 42, 71, 0.28);
	box-shadow: 0 14px 30px rgba(14, 42, 71, 0.15);
}

.btn-whatsapp {
	background: #23a55b;
	color: #fff;
	box-shadow: 0 8px 22px rgba(35, 165, 91, 0.35);
}

.btn-whatsapp:hover {
	background: #1f9451;
}

.btn-lg {
	padding: 1.05rem 2.2rem;
	font-size: 1.06rem;
}

.btn-block {
	width: 100%;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 1.1rem 0;
	transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled {
	background: rgba(11, 29, 56, 0.96);
	backdrop-filter: blur(10px);
	box-shadow: 0 6px 24px rgba(11, 29, 56, 0.35);
	padding: 0.65rem 0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: #fff;
}

.brand-img {
	max-height: 54px;
	width: auto;
	background: #fff;
	padding: 0.5rem 0.9rem;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(4, 12, 26, 0.25);
	transition: transform 0.25s var(--ease);
}

.brand:hover .brand-img {
	transform: scale(1.03);
}

.brand-img--white {
	background: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	max-height: 44px;
}

/* Versão colorida do logo: só aparece quando o cabeçalho está sobre fundo claro. */
.brand-img--escura {
	display: none;
	background: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	max-height: 48px;
}

.tem-hero-claro .site-header:not(.is-scrolled) .brand-img--escura {
	display: block;
}

.tem-hero-claro .site-header:not(.is-scrolled) .brand-img--white {
	display: none;
}

.tem-hero-claro .site-header:not(.is-scrolled) .site-nav > a {
	color: var(--navy);
}

.tem-hero-claro .site-header:not(.is-scrolled) .site-nav > a:hover {
	color: var(--teal);
}

.tem-hero-claro .site-header:not(.is-scrolled) .nav-toggle span {
	background: var(--navy);
}

.brand-mark {
	position: relative;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.9rem;
	line-height: 1;
	color: #fff;
	padding-right: 0.45rem;
}

.brand-dot {
	position: absolute;
	top: 0.1em;
	right: -0.05em;
	width: 0.28em;
	height: 0.28em;
	border-radius: 50%;
	background: var(--green-light);
}

.brand-text {
	font-size: 0.98rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.92);
	border-left: 1px solid rgba(255, 255, 255, 0.35);
	padding-left: 0.7rem;
}

.brand-text strong {
	color: var(--green-light);
	display: block;
	font-weight: 600;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

.site-nav > a {
	color: rgba(255, 255, 255, 0.88);
	font-weight: 500;
	position: relative;
	padding: 0.2rem 0;
	transition: color 0.2s;
}

.site-nav > a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: var(--grad);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.site-nav > a:hover {
	color: #fff;
}

.site-nav > a:hover::after {
	transform: scaleX(1);
}

.btn-nav {
	padding: 0.6rem 1.3rem;
	font-size: 0.94rem;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 6px;
}

.nav-toggle span {
	width: 26px;
	height: 2.5px;
	border-radius: 2px;
	background: #fff;
	transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: linear-gradient(150deg, var(--navy) 30%, var(--navy-deep) 100%);
	color: #fff;
	padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(8rem, 16vh, 11rem);
	overflow: hidden;
}

.hero-curves {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero-curves svg {
	width: 100%;
	height: 100%;
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 3rem;
}

.hero-kicker {
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--green-light);
	margin-bottom: 1rem;
}

.hero h1 {
	color: #fff;
	margin-bottom: 1.1rem;
}

.hero-sub {
	font-size: 1.18rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
	max-width: 34rem;
	margin-bottom: 0.9rem;
}

.hero-text {
	color: rgba(255, 255, 255, 0.78);
	max-width: 36rem;
	margin-bottom: 2rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.hero-visual img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
}

.hero-card {
	background: rgba(255, 255, 255, 0.97);
	color: var(--ink);
	border-radius: 24px;
	padding: 2.2rem 2rem;
	max-width: 24rem;
	margin-left: auto;
	box-shadow: 0 30px 70px rgba(4, 12, 26, 0.45);
}

.hero-card-float {
	animation: float 7s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

.hero-card-simbolo {
	height: 5rem;
	width: auto;
	margin-bottom: 1.1rem;
}

.hero-card-logo {
	position: relative;
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.6rem;
	color: var(--navy);
	line-height: 1;
	margin-bottom: 1rem;
}

.hero-card-logo span {
	position: absolute;
	top: 0.08em;
	right: -0.32em;
	width: 0.22em;
	height: 0.22em;
	border-radius: 50%;
	background: var(--green-light);
}

.hero-card-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--navy);
	line-height: 1.3;
}

.hero-card-sub {
	color: var(--green);
	font-weight: 600;
	margin-bottom: 1.2rem;
}

.hero-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.hero-card-tags span {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--teal);
	background: rgba(22, 105, 122, 0.09);
	border: 1px solid rgba(22, 105, 122, 0.22);
	border-radius: 999px;
	padding: 0.28rem 0.75rem;
	transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.hero-card-tags span:hover {
	background: var(--teal);
	color: #fff;
	transform: translateY(-2px);
}

.hero-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	line-height: 0;
	pointer-events: none;
}

.hero-wave svg {
	width: 100%;
	height: clamp(40px, 7vw, 100px);
}

/* ---------- Hero: carrossel ---------- */
.hero--slider {
	padding: 0;
}

.hero-slider {
	position: relative;
}

.hero-slides {
	position: relative;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: clamp(8rem, 15vh, 11rem) 0 clamp(9rem, 17vh, 12rem);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s var(--ease), visibility 0.9s;
}

/* O slide ativo fica relativo para definir a altura da seção. */
.hero-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* Foto do slide: sangra até a borda direita e dissolve no fundo claro. */
.hero-slide-media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 52%;
	overflow: hidden;
	pointer-events: none;
}

.hero-slide-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	-webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 36%);
	mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 36%);
}

/* Zoom lento (Ken Burns) enquanto o slide está visível. */
.hero-slide.is-active .hero-slide-media img {
	animation: hero-zoom 9s linear forwards;
}

@keyframes hero-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.07); }
}

.hero-slide-inner {
	position: relative;
	z-index: 1;
	/* Largura e centralização vêm do .container (min(1160px, 92%) + margin auto). */
}

.hero-slide-content {
	max-width: 40rem;
}

.hero-slide-heading {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 5.2vw, 4rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #fff;
	margin-bottom: 1.1rem;
}

/* ---------- Hero claro (texto à esquerda + foto à direita) ---------- */
.hero--claro {
	background: linear-gradient(155deg, #ffffff 0%, #f1f5fa 52%, #e6edf6 100%);
	color: var(--ink);
}

.hero--claro .hero-slide {
	padding: clamp(7.5rem, 13vh, 9.5rem) 0 clamp(5rem, 10vh, 7.5rem);
}

.hero--claro .hero-slide-content {
	max-width: 33rem;
	padding-right: 1.5rem;
}

.hero--claro .hero-slide-heading {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: var(--navy);
	margin-bottom: 1.3rem;
}

.txt-destaque {
	color: var(--green);
}

.hero--claro .hero-sub {
	color: var(--navy);
	font-size: 1.12rem;
	max-width: 30rem;
}

.hero--claro .hero-text {
	color: var(--ink-soft);
	font-size: 1.02rem;
	max-width: 29rem;
	margin-bottom: 2.1rem;
}

/* Indicadores alinhados à coluna de texto, sobre o fundo claro. */
.hero-dots-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(1.6rem, 4vh, 2.6rem);
	z-index: 3;
}

.hero--claro .hero-dots {
	position: static;
	transform: none;
	justify-content: flex-start;
}

.hero--claro .hero-dot-track {
	background: rgba(14, 42, 71, 0.16);
	box-shadow: none;
}

.hero--claro .hero-dot:hover .hero-dot-track {
	background: rgba(14, 42, 71, 0.3);
}

.hero--claro .hero-dot-fill {
	background: var(--green);
}

/* Entrada escalonada do texto a cada troca de slide. */
.hero-slide-content > * {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.hero-slide.is-active .hero-slide-content > * {
	opacity: 1;
	transform: none;
}

.hero-slide.is-active .hero-slide-content > *:nth-child(2) { transition-delay: 0.12s; }
.hero-slide.is-active .hero-slide-content > *:nth-child(3) { transition-delay: 0.24s; }
.hero-slide.is-active .hero-slide-content > *:nth-child(4) { transition-delay: 0.36s; }
.hero-slide.is-active .hero-slide-content > *:nth-child(5) { transition-delay: 0.48s; }

/* Fica sempre acima da onda branca (a altura dela varia com a tela). */
.hero-dots {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: calc(clamp(40px, 7vw, 100px) + 1.4rem);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

/* Barrinha de progresso do tempo de cada slide. */
.hero-dot {
	padding: 0.5rem 0.15rem; /* área de toque confortável */
	border-radius: 999px;
}

.hero-dot:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

.hero-dot-track {
	display: block;
	width: 2.3rem;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
	box-shadow: 0 1px 8px rgba(4, 12, 26, 0.35);
	transition: width 0.45s var(--ease), background-color 0.3s;
}

.hero-dot:hover .hero-dot-track {
	background: rgba(255, 255, 255, 0.65);
}

.hero-dot.is-active .hero-dot-track {
	width: 3.8rem;
}

.hero-dot-fill {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--green-light);
	transform: scaleX(0);
	transform-origin: left;
}

/* A barra enche no tempo do slide; o fim da animação dispara a troca (main.js). */
.hero-dot.is-active .hero-dot-fill {
	animation: hero-progress var(--hero-interval, 3000ms) linear forwards;
}

.hero-slider.is-paused .hero-dot-fill {
	animation-play-state: paused;
}

@keyframes hero-progress {
	to { transform: scaleX(1); }
}

.hero--slider .hero-wave {
	z-index: 2;
}

/* ---------- Seções ---------- */
.section {
	padding: clamp(4.5rem, 9vh, 7rem) 0;
}

.section-head {
	max-width: 44rem;
	margin: 0 auto 3.2rem;
	text-align: center;
}

.section-sub {
	color: var(--ink-soft);
	margin-top: 0.9rem;
}

/* ---------- Sobre ---------- */
.sobre-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 4rem;
	align-items: center;
}

.sobre-media {
	position: relative;
}

.sobre-shape {
	max-width: 24rem;
	margin-inline: auto;
	filter: drop-shadow(0 24px 48px rgba(14, 42, 71, 0.25));
}

.sobre-simbolo {
	width: 100%;
	background: linear-gradient(155deg, #ffffff 20%, var(--off-white) 100%);
	border: 1px solid var(--line);
	border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
	padding: 3.2rem 2.6rem;
	animation: blob-morph 16s ease-in-out infinite;
}

.sobre-texto {
	color: var(--ink-soft);
	margin: 1.1rem 0 1.6rem;
}

.sobre-texto p + p {
	margin-top: 0.8rem;
}

/* Lista simples, sem ícones (a cliente pediu o "quem somos" limpo). */
.checklist {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem 1.4rem;
	margin-bottom: 2rem;
}

.checklist li {
	position: relative;
	padding-left: 1rem;
	font-weight: 500;
	color: var(--navy);
	font-size: 0.98rem;
	line-height: 1.4;
}

.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--green);
}

.sobre-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.9rem;
}

/* Observação curta sob um botão (equipe e CTA final). */
.cta-note {
	margin-top: 0.8rem;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2.4rem;
	border-top: 1px solid var(--line);
	padding-top: 1.7rem;
}

.stat-num {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.3rem;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.1;
}

.stat-label {
	font-size: 0.92rem;
	color: var(--ink-soft);
}

/* ---------- Equipe ---------- */
/* O keyframe blob-morph também é usado pelo símbolo da seção Sobre. */
@keyframes blob-morph {
	0%, 100% { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
	33% { border-radius: 48% 52% 42% 58% / 55% 46% 54% 45%; }
	66% { border-radius: 54% 46% 58% 42% / 44% 56% 44% 56%; }
}

.equipe {
	background:
		radial-gradient(50rem 26rem at -10% 110%, rgba(22, 105, 122, 0.06), transparent 60%),
		#fff;
	overflow: hidden;
}

.equipe-lista {
	display: grid;
	gap: 2.4rem;
	max-width: 64rem;
	margin-inline: auto;
}

.membro {
	display: grid;
	grid-template-columns: minmax(0, 23rem) minmax(0, 1fr);
	align-items: center;
	background: #fff;
	border: 1px solid rgba(227, 233, 225, 0.9);
	border-radius: calc(var(--radius) + 6px);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.membro:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
	border-color: rgba(122, 182, 72, 0.4);
}

/* Alterna a foto de lado a cada card (as colunas são espelhadas junto,
   para o texto ficar sempre na coluna larga). */
.membro--invertido {
	grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
}

.membro--invertido .membro-media {
	order: 2;
}

.membro-media {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: linear-gradient(160deg, rgba(122, 182, 72, 0.07), rgba(22, 105, 122, 0.07));
}

/* Filete com o gradiente da marca colado na foto. */
.membro-media::after {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--grad);
}

.membro--invertido .membro-media::after {
	inset: 0 0 0 auto;
}

.membro-foto {
	width: 100%;
	max-width: 19.5rem;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top center;
	display: block;
	border-radius: var(--radius);
	box-shadow: 0 16px 36px rgba(14, 42, 71, 0.18);
}

.membro-foto-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--navy);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 3.6rem;
}

.membro-content {
	padding: 2.4rem 2.3rem;
}

.membro-nome {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.7rem;
	letter-spacing: -0.01em;
}

.membro-titulo {
	font-weight: 600;
	color: var(--teal);
	border-left: 3px solid;
	border-image: var(--grad) 1;
	padding-left: 0.9rem;
	margin: 0.9rem 0 1.1rem;
	line-height: 1.5;
}

.membro-bio {
	color: var(--ink-soft);
	font-size: 0.97rem;
}

.membro-bio p + p {
	margin-top: 0.8rem;
}

.membro-cta {
	margin-top: 1.8rem;
}

.membro-cta .cta-note {
	text-align: left;
	margin-top: 0.7rem;
}

/* ---------- Serviços ---------- */
.servicos {
	background:
		radial-gradient(60rem 30rem at 110% -10%, rgba(122, 182, 72, 0.07), transparent 60%),
		var(--off-white);
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.6rem;
}

.card {
	background: #fff;
	border: 1px solid rgba(227, 233, 225, 0.9);
	border-radius: var(--radius);
	padding: 2rem 1.7rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--grad);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}

.card:hover,
.card:active {
	transform: translateY(-8px);
	box-shadow: var(--shadow-hover);
	border-color: rgba(122, 182, 72, 0.4);
}

.card:hover::before,
.card:active::before {
	transform: scaleX(1);
}

.card-ic {
	display: inline-flex;
	width: 3.4rem;
	height: 3.4rem;
	padding: 0.8rem;
	border-radius: 14px;
	color: #fff;
	background: var(--grad);
	box-shadow: 0 8px 18px rgba(30, 122, 111, 0.3);
	transition: transform 0.35s var(--ease);
}

.card:hover .card-ic {
	transform: scale(1.08) rotate(-4deg);
}

.card p {
	color: var(--ink-soft);
	font-size: 0.97rem;
	flex-grow: 1;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
	color: var(--teal);
	padding: 0;
	transition: color 0.2s, gap 0.25s var(--ease);
}

.card-link:hover {
	color: var(--green);
	gap: 0.75rem;
}

.card-arrow {
	display: inline-flex;
	width: 1.15em;
	height: 1.15em;
}

/* ---------- Por que escolher a JR ---------- */
.porque {
	background:
		radial-gradient(60rem 30rem at 110% -10%, rgba(122, 182, 72, 0.07), transparent 60%),
		var(--off-white);
}

.porque-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.2rem;
}

.porque-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	background: #fff;
	border: 1px solid rgba(227, 233, 225, 0.9);
	border-radius: var(--radius);
	padding: 1.8rem 1.4rem;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.porque-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
	border-color: rgba(122, 182, 72, 0.4);
}

/* Mesmo padrão de ícone dos cards de solução, em círculo. */
.porque-ic {
	display: inline-flex;
	width: 2.7rem;
	height: 2.7rem;
	padding: 0.55rem;
	border-radius: 50%;
	color: #fff;
	background: var(--grad);
	box-shadow: 0 8px 18px rgba(30, 122, 111, 0.28);
	flex-shrink: 0;
}

.porque-texto {
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--navy);
}

/* ---------- Clientes e parceiros ---------- */
/* Flex centralizado: com poucos logos a fileira continua no meio da página. */
.parceiros-grid {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.8rem 2.6rem;
}

/* Caixa de tamanho fixo: os logos ficam alinhados e o espaço já fica reservado. */
.parceiro {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(7rem, 14vw, 11rem);
	height: 4.5rem;
}

.parceiro a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.parceiro img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.72;
	transition: filter 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}

.parceiro img:hover {
	filter: none;
	opacity: 1;
	transform: translateY(-3px);
}

/* ---------- Depoimentos ---------- */
.depoimentos {
	background:
		radial-gradient(56rem 28rem at -10% -10%, rgba(122, 182, 72, 0.06), transparent 60%),
		var(--off-white);
}

.depo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1.6rem;
}

.depo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2.6rem 1.7rem 1.7rem;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.depo-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.depo-aspas {
	position: absolute;
	top: 0.5rem;
	left: 1.3rem;
	font-family: var(--font-display);
	font-size: 3.6rem;
	line-height: 1;
	color: rgba(122, 182, 72, 0.35);
}

.depo-texto {
	flex-grow: 1;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.depo-autor {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	border-top: 1px solid var(--line);
	padding-top: 1rem;
}

.depo-foto {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.depo-autor strong {
	display: block;
	color: var(--navy);
	font-weight: 600;
}

.depo-cargo {
	font-size: 0.9rem;
	color: var(--ink-soft);
}
/* ---------- CTA final ---------- */
.cta-final {
	position: relative;
	background: linear-gradient(140deg, var(--navy) 20%, var(--navy-deep) 100%);
	color: #fff;
	padding: clamp(4.5rem, 9vh, 7rem) 0;
	overflow: hidden;
	text-align: center;
}

.cta-curves {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.cta-curves svg {
	width: 100%;
	height: 100%;
}

.cta-inner {
	position: relative;
	max-width: 46rem;
}

.cta-final h2 {
	color: #fff;
	margin-bottom: 1rem;
}

.cta-final p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 2.1rem;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* ---------- Rodapé ---------- */
.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 3rem;
	padding: 3.8rem 0 2.8rem;
}

.footer-brand .brand-mark {
	font-size: 2.2rem;
}

.footer-logo {
	max-height: 54px;
	width: auto;
}

.footer-brand .brand-text {
	display: inline-block;
	margin-left: 0.7rem;
	vertical-align: middle;
}

.footer-tagline {
	margin-top: 1.1rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.55;
}

.footer-col h3 {
	color: #fff;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin-bottom: 1.1rem;
}

.footer-contacts,
.footer-nav {
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.footer-contacts li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.f-ic {
	display: inline-flex;
	width: 1.25rem;
	height: 1.25rem;
	color: var(--green-light);
	flex-shrink: 0;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s;
}

.site-footer a:hover {
	color: var(--green-light);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.3rem 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
}

.footer-credit a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: 600;
}

.footer-credit a:hover {
	color: var(--green-light);
}

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
	position: fixed;
	right: 1.4rem;
	bottom: 1.4rem;
	z-index: 90;
	width: 3.6rem;
	height: 3.6rem;
	border-radius: 50%;
	background: #23a55b;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem;
	box-shadow: 0 10px 26px rgba(35, 165, 91, 0.45);
	transition: transform 0.25s var(--ease);
}

.wa-float::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(35, 165, 91, 0.6);
	animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
	0% { transform: scale(1); opacity: 1; }
	70%, 100% { transform: scale(1.55); opacity: 0; }
}

.wa-float:hover {
	transform: scale(1.08);
}

/* ---------- Modal ---------- */
.modal {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.2rem;
}

.modal[hidden] {
	display: none;
}

.modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 20, 38, 0.72);
	backdrop-filter: blur(6px);
	animation: fadeIn 0.3s var(--ease);
}

.modal-panel {
	position: relative;
	background: #fff;
	border-radius: 22px;
	width: min(34rem, 100%);
	max-height: calc(100vh - 2.4rem);
	overflow-y: auto;
	box-shadow: 0 40px 90px rgba(4, 12, 26, 0.5);
	animation: slideUp 0.4s var(--ease);
}

@keyframes fadeIn {
	from { opacity: 0; }
}

@keyframes slideUp {
	from { opacity: 0; transform: translateY(28px) scale(0.98); }
}

.modal-close {
	position: absolute;
	top: 0.8rem;
	right: 1rem;
	font-size: 1.9rem;
	line-height: 1;
	color: var(--ink-soft);
	padding: 0.2rem 0.5rem;
	border-radius: 8px;
	transition: color 0.2s, background-color 0.2s;
	z-index: 1;
}

.modal-close:hover {
	color: var(--navy);
	background: var(--off-white);
}

.modal-body {
	padding: 2.4rem 2.2rem 2rem;
}

.modal-kicker {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--green);
	margin-bottom: 0.5rem;
}

.modal-body h2 {
	font-size: 1.55rem;
	margin-bottom: 0.5rem;
}

.modal-sub {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.field {
	margin-bottom: 1rem;
}

.field label {
	display: block;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--navy);
	margin-bottom: 0.35rem;
}

.field input,
.field select {
	width: 100%;
	font: inherit;
	font-size: 0.98rem;
	color: var(--ink);
	background: var(--off-white);
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 0.72rem 0.95rem;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
	appearance: none;
}

.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6b80' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.4rem;
}

.field input:focus,
.field select:focus {
	outline: none;
	border-color: var(--green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(95, 158, 63, 0.14);
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.field-hp {
	position: absolute;
	left: -5000px;
	opacity: 0;
	pointer-events: none;
}

.form-error {
	color: #b4232a;
	background: #fdecec;
	border-radius: 10px;
	padding: 0.6rem 0.9rem;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.form-note {
	text-align: center;
	font-size: 0.82rem;
	color: var(--ink-soft);
	margin-top: 0.8rem;
}

.modal-success {
	text-align: center;
	padding-top: 3rem;
	padding-bottom: 2.6rem;
}

.success-ic {
	display: inline-flex;
	width: 4rem;
	height: 4rem;
	color: var(--green);
	margin-bottom: 1rem;
	animation: pop 0.5s var(--ease);
}

@keyframes pop {
	0% { transform: scale(0.4); opacity: 0; }
	70% { transform: scale(1.12); }
}

.modal-success h2 {
	margin-bottom: 0.6rem;
}

.modal-success p {
	color: var(--ink-soft);
	margin-bottom: 1.4rem;
}

body.modal-open {
	overflow: hidden;
}

/* ---------- Animações de entrada ---------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- Acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		display: none;
	}

	/* Hero claro em coluna única: texto primeiro, foto vira um cartão abaixo. */
	.hero--claro .hero-slide {
		flex-direction: column;
		align-items: stretch;
		padding-bottom: clamp(6rem, 12vh, 8rem);
	}

	.hero--claro .hero-slide-content {
		max-width: none;
		padding-right: 0;
	}

	.hero--claro .hero-slide-media {
		position: static;
		order: 2;
		width: min(1160px, 92%);
		height: clamp(190px, 32vw, 300px);
		margin: 2.2rem auto 0;
		border-radius: var(--radius);
	}

	.hero--claro .hero-slide-media img {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.porque-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sobre-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.membro {
		grid-template-columns: 1fr;
	}

	/* Em coluna única a foto volta para cima e vira paisagem. */
	.membro--invertido .membro-media {
		order: 0;
	}

	.membro-media::after,
	.membro--invertido .membro-media::after {
		inset: auto 0 0 0;
		width: auto;
		height: 4px;
	}

	.membro-media {
		padding: 2rem 2rem 0.6rem;
	}

	.membro-foto {
		max-width: 15rem;
	}

	.sobre-media {
		max-width: 22rem;
		margin-inline: auto;
	}
}

@media (max-width: 760px) {
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--navy-deep);
		padding: 0.6rem 1.2rem 1.2rem;
		box-shadow: 0 20px 40px rgba(4, 12, 26, 0.4);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
	}

	.site-nav.is-open {
		transform: none;
		opacity: 1;
		visibility: visible;
	}

	.site-header:not(.is-scrolled) .site-nav.is-open {
		background: var(--navy-deep);
	}

	/* Menu aberto tem fundo navy mesmo no hero claro — os links voltam ao branco. */
	.tem-hero-claro .site-header:not(.is-scrolled) .site-nav.is-open > a {
		color: rgba(255, 255, 255, 0.88);
	}

	.site-nav > a {
		padding: 0.85rem 0.2rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.btn-nav {
		margin-top: 0.9rem;
	}

	.cards-grid,
	.checklist,
	.field-row {
		grid-template-columns: 1fr;
	}

	.porque-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.porque-item {
		flex-direction: row;
		align-items: center;
		padding: 1.2rem 1.1rem;
		gap: 0.8rem;
	}

	.porque-ic {
		width: 2.2rem;
		height: 2.2rem;
		padding: 0.42rem;
	}

	.porque-texto {
		font-size: 0.95rem;
	}

	.membro-content {
		padding: 1.8rem 1.5rem;
	}

	.hero-actions .btn,
	.sobre-actions .btn {
		width: 100%;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2.2rem;
	}

	.footer-bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 460px) {
	.porque-grid {
		grid-template-columns: 1fr;
	}
}
