﻿/* ==========================================================================
   Santos & Miranda — Landing Page
   Tokens extraídos do Figma (Web Pages | Santos - Miranda)
   ========================================================================== */

@font-face {
	font-family: "Mulish";
	src: url("../fonts/Mulish-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Mulish";
	src: url("../fonts/Mulish-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Tenorite";
	src: url("../fonts/Tenorite-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--blue: #1c1e3d;
	--yellow: #e2ab45;
	/* Estado de hover: o Figma não o define, então é ~8% mais escuro que a base. */
	--yellow-dark: #d0982f;
	--gray-100: #f7f9fa;
	--gray-200: #f1f3f4;
	--gray-300: #e3e5e5;
	--gray-400: #c6cacc;
	--gray-500: #919699;
	--gray-600: #5e6366;
	--gray-700: #3e4345;
	--dark: #202020;

	--container: 1216px;
	--gutter: 32px;
	--header-h: 130px;

	--font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-footer: "Tenorite", var(--font);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	/* Impede que o header fixo cubra o título da seção ancorada. */
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 24px;
	color: var(--blue);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	margin: 0;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 400;
	line-height: normal;
}

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

/* Sobre fundo escuro o azul desaparece; o offset garante que o dourado caia
   sobre o fundo, e não sobre o próprio botão dourado. */
.header :focus-visible,
.footer :focus-visible,
.cta-split__panel :focus-visible,
.wa-float:focus-visible {
	outline-color: var(--yellow);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	/* --container é a largura do CONTEÚDO (1216px no Figma). Como box-sizing é
	   border-box, o gutter precisa ser somado aqui, senão o conteúdo encolhe. */
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	padding: 60px 0;
}

.section--gray-100 {
	background: var(--gray-100);
}

.section--gray-200 {
	background: var(--gray-200);
}

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */

.h2 {
	font-size: 48px;
	line-height: normal;
}

.h3 {
	font-size: 36px;
	line-height: normal;
	font-weight: 700;
}

.gold {
	color: var(--yellow);
	font-weight: 700;
}

.lead {
	font-size: 16px;
	line-height: 24px;
}

.overline {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--blue);
}

.overline::after {
	content: "";
	display: block;
	width: 24px;
	height: 2px;
	margin-top: 8px;
	background: var(--yellow);
	border-radius: 2px;
}

.section__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: center;
	margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border: 0;
	border-radius: 8px;
	background: var(--yellow);
	color: var(--blue);
	font-family: var(--font);
	font-size: 14px;
	font-weight: 700;
	/* 16px + 18px + 16px = 50px, a altura do main-btn no Figma. */
	line-height: normal;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn:hover {
	background: var(--yellow-dark);
}

/* A borda vai como box-shadow inset para não somar 2px na altura do botão. */
.btn--outline {
	background: transparent;
	box-shadow: inset 0 0 0 1px #fff;
	color: #fff;
}

.btn--outline:hover {
	background: #fff;
	color: var(--blue);
}

/* --------------------------------------------------------------------------
   Listas com marcador (chevron dourado)
   -------------------------------------------------------------------------- */

.checklist {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.checklist li {
	position: relative;
	padding-left: 21px;
	line-height: 24px;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 10px;
	background: var(--yellow);
	/* Chevron ">" desenhado em CSS: dispensa 20+ requests de ícone. */
	clip-path: polygon(0 0, 100% 50%, 0 100%, 0 72%, 55% 50%, 0 28%);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--blue);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.header__logo {
	flex-shrink: 0;
	width: 312px;
	max-width: 46vw;
}

.header__logo img {
	width: 100%;
	height: auto;
}

.nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav a {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	color: #fff;
	white-space: nowrap;
}

.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--yellow);
	transition: width 0.2s ease;
}

.nav a:hover::after {
	width: 100%;
}

/* O CTA do menu mobile vive dentro do <nav>; no desktop quem aparece é o .header__cta. */
.nav__cta {
	display: none;
}

.nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.nav__toggle span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding-top: 60px;
	padding-bottom: 60px;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	/* 478px é a medida exata do Figma, sem folga: a Mulish renderiza alguns px
	   mais larga no browser e "pagos indevidamente" quebrava numa 5ª linha. */
	max-width: 500px;
}

.hero__title {
	font-size: 48px;
	line-height: normal;
	/* As 4 linhas vêm dos <br> (o Figma usa whitespace-nowrap por linha).
	   Sem isto, uma linha longa quebra sozinha e vira uma 5ª. */
	white-space: nowrap;
}

.hero__text {
	max-width: 444px;
}

.hero__gallery {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.hero__shot {
	height: 600px;
	border-radius: 32px;
	background: var(--gray-400);
	overflow: hidden;
}

.hero__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Reduzidas ~4% (Figma: 249/190/191) para devolver 22px ao texto,
   mantendo a proporção entre elas e a soma da linha em 1216px. */
.hero__shot:nth-child(1) {
	width: 240px;
}

.hero__shot:nth-child(2) {
	width: 183px;
}

.hero__shot:nth-child(3) {
	width: 185px;
}

/* --------------------------------------------------------------------------
   Números / experiência
   -------------------------------------------------------------------------- */

.stats {
	padding: 0 0 0;
}

.stats__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 80px;
	background: var(--gray-200);
	border-radius: 32px;
}

.stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1;
}

.stat__value {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--blue);
	white-space: nowrap;
}

.stat__value small {
	font-size: 24px;
	font-weight: 700;
}

.stat__label {
	color: var(--gray-700);
	line-height: 24px;
}

.stats__divider {
	flex-shrink: 0;
	width: 1px;
	height: 48px;
	background: var(--gray-400);
	border: 0;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Bloco foto + texto (Sobre mim / Fale comigo)
   -------------------------------------------------------------------------- */

.split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 88px;
	padding-top: 60px;
	padding-bottom: 60px;
}

.split--reverse {
	flex-direction: row-reverse;
}

.split__media {
	flex-shrink: 0;
	width: 650px;
	height: 650px;
	border-radius: 32px;
	overflow: hidden;
	background: var(--gray-300);
}

.split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.split__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 478px;
}

.split__title {
	font-size: 48px;
	line-height: normal;
}

.split__subtitle {
	font-weight: 700;
	line-height: 24px;
}

/* --------------------------------------------------------------------------
   Problema
   -------------------------------------------------------------------------- */

.problem {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 88px;
	padding-top: 60px;
	padding-bottom: 60px;
}

.problem__copy {
	max-width: 465px;
}

.problem__title {
	margin-bottom: 24px;
}

.problem__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	flex-shrink: 0;
	width: 621px;
	padding: 48px;
	background: var(--gray-200);
	border-radius: 16px;
}

.problem__card-title {
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
}

/* --------------------------------------------------------------------------
   Cards (setores / áreas de atuação)
   -------------------------------------------------------------------------- */

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 32px;
	background: var(--gray-300);
	border-radius: 16px;
}

.section--gray-200 .card {
	background: var(--gray-300);
}

.card__icon {
	width: 24px;
	height: 24px;
	color: var(--yellow);
}

.card__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.card__title {
	font-size: 20px;
	font-weight: 700;
	line-height: normal;
}

.card__text {
	color: var(--gray-600);
	line-height: 24px;
}

.card .checklist {
	color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   CTA escuro (imagem + bloco preto)
   -------------------------------------------------------------------------- */

.cta-split {
	display: flex;
	align-items: stretch;
	border-radius: 8px;
	overflow: hidden;
}

.cta-split__media {
	width: 50%;
	/* height, não min-height: o height:100% da imagem só resolve contra uma
	   altura definida. Com min-height ela assumia os 860px do arquivo original. */
	height: 400px;
	background: var(--gray-300);
}

.cta-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta-split__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
	width: 50%;
	padding: 10px 60px;
	background: var(--dark);
	color: #fff;
}

.cta-split__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   CTA claro (texto + imagem)
   -------------------------------------------------------------------------- */

.cta-basic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 88px;
	padding-top: 60px;
	padding-bottom: 60px;
}

.cta-basic__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 531px;
}

.cta-basic__media {
	flex-shrink: 0;
	width: 555px;
	height: 280px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--gray-300);
}

.cta-basic__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Etapas do processo
   -------------------------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.step {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 32px;
	background: var(--gray-200);
	border-radius: 16px;
}

.section--gray-100 .step {
	background: var(--gray-200);
}

.step__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--yellow);
}

.step__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.step__title {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: normal;
}

.step__text {
	color: var(--gray-600);
	line-height: 24px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.faq__item {
	background: var(--gray-200);
	border-radius: 16px;
	overflow: hidden;
}

.faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 32px 40px;
	border: 0;
	background: transparent;
	font-family: var(--font);
	font-size: 20px;
	font-weight: 700;
	line-height: normal;
	color: var(--blue);
	text-align: left;
	cursor: pointer;
}

.faq__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--yellow);
	transition: transform 0.25s ease;
}

.faq__trigger[aria-expanded="true"] .faq__icon {
	transform: rotate(180deg);
}

.faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.25s ease;
}

.faq__panel[data-open="true"] {
	grid-template-rows: 1fr;
}

.faq__panel > div {
	overflow: hidden;
}

.faq__answer {
	padding: 0 40px 32px;
	max-width: 1000px;
	color: var(--gray-600);
	line-height: 24px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
	padding: 80px 0;
	background: var(--blue);
	color: var(--gray-500);
}

.footer__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 56px 40px;
	margin-bottom: 40px;
}

.footer__col {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.footer__brand {
	width: 312px;
}

.footer__brand img {
	width: 100%;
	height: auto;
}

.footer__title {
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 2.8px;
	color: var(--gray-300);
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: var(--font-footer);
	font-size: 20px;
	line-height: normal;
}

.footer__list--sm {
	font-size: 16px;
	max-width: 443px;
}

.footer__list a:hover {
	color: var(--yellow);
}

.footer__contact {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer__contact svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.social {
	display: flex;
	gap: 9px;
}

.social a {
	display: block;
	width: 24px;
	height: 24px;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.social a:hover {
	opacity: 0.75;
	transform: translateY(-2px);
}

.footer__divider {
	height: 1px;
	margin: 0 0 40px;
	border: 0;
	background: rgba(255, 255, 255, 0.15);
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-family: var(--font-footer);
	font-size: 16px;
	line-height: normal;
}

.footer__links {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.footer__links a:hover {
	color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Botão flutuante do WhatsApp
   -------------------------------------------------------------------------- */

.wa-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

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

.wa-float svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
	.split {
		gap: 48px;
	}

	.split__media {
		width: 50%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.problem {
		gap: 48px;
	}

	.problem__card {
		width: 50%;
		padding: 32px;
	}

	.hero__inner {
		gap: 32px;
	}

	.hero__gallery {
		gap: 12px;
	}

	.hero__shot {
		height: 480px;
	}

	.hero__shot:nth-child(1) {
		width: 200px;
	}

	.hero__shot:nth-child(2),
	.hero__shot:nth-child(3) {
		width: 150px;
	}

	.cta-basic__media {
		width: 45%;
		height: auto;
		aspect-ratio: 555 / 280;
	}
}

@media (max-width: 1024px) {
	:root {
		--header-h: 104px;
	}

	.h2,
	.hero__title,
	.split__title {
		font-size: 38px;
	}

	.h3 {
		font-size: 30px;
	}

	.header__inner {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.nav__toggle {
		display: flex;
	}

	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0 16px;
		background: var(--blue);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		transform: translateY(-150%);
		visibility: hidden;
		transition: transform 0.25s ease, visibility 0.25s ease;
	}

	.nav[data-open="true"] {
		transform: translateY(0);
		visibility: visible;
	}

	.nav a {
		padding: 14px var(--gutter);
	}

	.nav a::after {
		display: none;
	}

	.header__cta {
		display: none;
	}

	.nav__cta {
		display: inline-flex;
		margin: 12px var(--gutter) 0;
	}

	.hero__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero__copy,
	.hero__text {
		max-width: none;
	}

	/* Em tela estreita o nowrap vazaria para fora; os <br> seguram as 4 linhas. */
	.hero__title {
		white-space: normal;
	}

	/* No mobile a foto vem primeiro: o rosto dele é o destaque na abertura.
	   order (e não column-reverse) porque a galeria não tem elemento focável,
	   então a ordem de tabulação continua correta. */
	.hero__gallery {
		width: 100%;
		order: -1;
	}

	.hero__shot {
		flex: 1;
		height: 420px;
	}

	.hero__shot:nth-child(1),
	.hero__shot:nth-child(2),
	.hero__shot:nth-child(3) {
		width: auto;
	}

	.stats__card {
		flex-direction: column;
		padding: 32px;
	}

	.stats__divider {
		width: 48px;
		height: 1px;
	}

	.split,
	.split--reverse,
	.problem,
	.cta-basic {
		flex-direction: column;
		align-items: flex-start;
	}

	.split__media,
	.problem__card,
	.cta-basic__media {
		width: 100%;
	}

	.split__copy,
	.cta-basic__copy,
	.problem__copy {
		max-width: none;
	}

	.split__media {
		aspect-ratio: 4 / 3;
		order: -1;
	}

	.cards,
	.steps {
		grid-template-columns: 1fr;
	}

	.cta-split {
		flex-direction: column;
	}

	.cta-split__media,
	.cta-split__panel {
		width: 100%;
	}

	.cta-split__media {
		height: 260px;
	}

	.cta-split__panel {
		padding: 40px 32px;
	}

	.faq__trigger {
		padding: 24px;
		font-size: 18px;
	}

	.faq__answer {
		padding: 0 24px 24px;
	}

	.footer__grid {
		gap: 40px;
	}
}

@media (max-width: 640px) {
	:root {
		--gutter: 20px;
		--header-h: 92px;
	}

	.section {
		padding: 40px 0;
	}

	.h2,
	.hero__title,
	.split__title {
		font-size: 30px;
	}

	.h3 {
		font-size: 26px;
	}

	.header__inner {
		padding-top: 22px;
		padding-bottom: 22px;
	}

	.hero__inner,
	.split,
	.problem,
	.cta-basic {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.hero__shot {
		height: 260px;
		border-radius: 20px;
	}

	.hero__shot:nth-child(3) {
		display: none;
	}

	.btn {
		width: 100%;
	}

	/* Este já estica via align-items:stretch do .nav; com width:100% somaria as margens. */
	.nav__cta {
		width: auto;
	}

	.cta-split__actions .btn {
		width: auto;
		flex: 1;
	}

	.stat__value {
		font-size: 38px;
	}

	.split__media {
		border-radius: 20px;
	}

	.problem__card {
		padding: 24px;
	}

	.card,
	.step {
		padding: 24px;
	}

	.step {
		align-items: flex-start;
	}

	.footer {
		padding: 56px 0;
	}

	.footer__brand {
		width: 240px;
	}

	.footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.footer__links {
		gap: 16px;
	}

	.wa-float {
		right: 16px;
		bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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