/*
Theme Name: Gabriela Ribeiro Psicóloga
Theme URI: https://nascer.net
Author: NascerWeb
Author URI: https://nascer.net
Description: Template desenvolvido exclusivamente para Gabriela Ribeiro, Psicóloga Clínica em Patos de Minas. Conteúdo e imagens gerenciados via Advanced Custom Fields.
Version: 1.0.0
Text Domain: gabriela-ribeiro
*/

/*-------------------------------------------------------
RESET
-------------------------------------------------------*/
/* 0. Remove margins and padding */
html,
body,
html *,
body * {
	margin: 0;
	padding: 0;
	border: 0;
}

/* 1. Box sizing global */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 2. Previne o aumento automático de fontes em dispositivos móveis */
html {
	scroll-behavior: smooth;
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	overflow-x: hidden;
}

/* 3. Remove margens padrão e define o comportamento do scroll */
body,
h1,
h2,
h3,
h4,
h5,
h6 p,
figure,
blockquote,
dl,
dd {
	margin-block-end: 0;
}

/* 4. Remove estilos de lista apenas quando usamos o atributo
   (Útil para acessibilidade sem perder o estilo padrão de textos longos) */
ul,
ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* 5. Configurações base do corpo do site */
body {
	min-height: 100vh;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	/* Melhora a renderização no macOS/iOS */
}

/* 6. Melhora a legibilidade em títulos e elementos interativos */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label {
	line-height: 1.1;
}

/* 8. Evita espaços estranhos abaixo das imagens */
img,
picture {
	display: block;
}

/* 9. Faz com que inputs e botões herdem as fontes do projeto */
input,
button,
textarea,
select,
address {
	font: inherit;
}

/* 10. Garante que textareas sem atributo 'rows' tenham um tamanho mínimo decente */
textarea:not([rows]) {
	min-height: 5em;
}

/* 11. limpa propriedades de campos de formulários */
input,
select,
textarea,
button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
	outline: none;
	background-color: transparent;
	box-shadow: none;
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	line-height: inherit;
}

textarea {
	resize: vertical;
	/* Oculta o arrasto horizontal para não quebrar o layout, permite só vertical */
}

/* Remove o "X" de limpar que o Chrome/Safari injeta nos inputs de pesquisa */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
}

/* Remove a setinha padrão do select em navegadores da Microsoft */
select::-ms-expand {
	display: none;
}

/* 12. Adiciona margem de scroll para links internos (âncoras) não ficarem "colados" ao topo */
:target {
	scroll-margin-block: 5ex;
}

/* 13. ACESSIBILIDADE: Respeita a preferência de movimento reduzido do utilizador */
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

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

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

/* ── Paleta oficial ──────────────────────── */
:root {
	--navy: #141526;
	/* azul marinho profundo */
	--mid: #395C74;
	/* azul médio */
	--ice: #CFF5FF;
	/* azul gelo — chips e acentos pequenos */
	--navy-tint: #D6E4EC;
	/* tint claro do #395C74 — fundo de seções */
	--white: #FFFFFF;
	--text: #141526;
	--text: #141526;
}

body {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}


body.no-scroll{
    overflow-y: hidden;
}

/* ── Nav ──────────────────────────────────── */
header {
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px calc(50vw - 590px);
	transition: background .3s, box-shadow .3s;
}

header.is-scrolled {
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 rgba(0, 46, 68, .1);
}

.nav__logo {
	position: relative;
}

.nav__logo img {
	width: auto;
	height: 70px;
}

.btn-menu {
	display: none;
}

.nav__menu {
	display: flex;
	gap: 30px;
}

.nav__menu a {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mid);
	transition: color .2s;
}

.nav__menu a:hover {
	color: var(--navy);
}

.nav__menu a.is-active {
	color: var(--navy);
	padding-bottom: 3px;
	border-bottom: 1.5px solid var(--navy);
}


/* ── Hero ──────────────────────────────────── */
.hero {
	display: grid;
	grid-template-columns: 50% 50%;
	height: 100vh;
}

.hero__img {
    height: 100vh;
	overflow: hidden;
	position: relative;
}

.hero__img img {
	width: auto;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

.hero__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 124px calc(50vw - 590px) 80px 40px;
	background: var(--white);
}

.hero__tag {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--mid);
	margin-bottom: 28px;
}

.hero__h1 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 3.75rem;
	line-height: 1.06;
	color: var(--navy);
	margin-bottom: 28px;
}

.hero__h1-light {
	font-weight: 300;
	display: block;
}

.hero__h1-italic {
	font-style: italic;
	font-weight: 400;
	display: block;
}

.hero__sub {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.82;
	color: var(--muted);
	max-width: 370px;
	margin-bottom: 48px;
}

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

/* ── Botões ──────────────────────────────────── */
.btn-wa {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 14px 30px;
	background: var(--ice);
	color: var(--navy);
	border-radius: 100px;
	transition: background .2s, color .2s, transform .15s;
}

.btn-wa:hover {
	background: var(--mid);
	color: var(--white);
	transform: translateY(-1px);
}

.btn-ghost {
	font-size: 13.5px;
	font-weight: 400;
	color: var(--mid);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color .2s;
}

.btn-ghost:hover {
	color: var(--navy);
}

/* ── Layout ──────────────────────────────────── */
.sec {
	padding: 104px 0;
}

.sec--ice {
	background: var(--navy-tint);
}

.sec--navy {
	background: var(--navy);
	color: var(--white);
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}

.sec-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--mid);
	margin-bottom: 16px;
}

.sec--navy .sec-label {
	color: var(--ice);
	opacity: .65;
}

.sec-h2 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(36px, 3.6vw, 54px);
	font-weight: 300;
	line-height: 1.18;
	color: var(--navy);
}

.sec-h2 em {
	font-style: italic;
}

.sec--navy .sec-h2 {
	color: var(--white);
}

/* ── Identifica ──────────────────────────────── */
.ident-section {
	background: var(--navy-tint);    
}

.ident-section .wrap {	
	padding: 0 270px;
}

.ident__img {
	display: none;
}

.ident__head {
	margin-bottom: 40px;
}

.ident__intro {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.82;
	color: var(--muted);
	max-width: 620px;
	margin-bottom: 32px;
}

.ident__intro p{
	margin-bottom: 1em;
}

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

.ident-card {
    border-radius: 10px;
	padding: 26px 30px;
	background: var(--white);
	border-left: 3px solid var(--mid);
	transition: border-color .2s, box-shadow .2s;
}

.ident-card:hover {
	border-color: var(--navy);
	box-shadow: 0 8px 28px rgba(0, 46, 68, .12);
}

.ident-card__p {
	font-family: 'Crimson Pro', Georgia, serif;
	font-style: italic;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--navy);
}

/* ── Sobre ──────────────────────────────────── */

.cita-section .wrap {
	padding: 0 270px;
}

.cita {
	position: relative;
    text-align: center;
}

.cita::before {
	content: '\201C';
	font-family: 'Crimson Pro', Georgia, serif;
	font-style: italic;
	font-size: 72px;
	line-height: .75;
	color: var(--ice);
	display: block;
	margin-bottom: 12px;
}

.cita__q {
	font-family: 'Crimson Pro', Georgia, serif;
	font-style: italic;
	font-size: 32px;
	font-weight: 300;
	line-height: 1.25;
	color: var(--white);
	margin-bottom: 24px;
}

.cita__who {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ice);   
    margin-bottom: 4px;
}

/* ── Sobre ──────────────────────────────────── */
.sobre__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.sobre__photo img {
	width: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 10px;
}

.sobre__head {
	margin-bottom: 24px;
}

.sobre__h2 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(30px, 3vw, 46px);
	font-weight: 300;
	line-height: 1.22;
	color: var(--navy);
	margin-bottom: 24px;
}

.sobre__h2 em {
	font-style: italic;
}

.sobre__p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.85;
	color: var(--muted);
	margin-bottom: 16px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.chip {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 6px 16px;
	background: var(--ice);
	color: var(--navy);
	border-radius: 100px;
}

/* ── Abordagem ──────────────────────────────── */
.abord__head {
	margin-bottom: 64px;
}

.abord__icon {
	width: 52px;
	height: 52px;
	background: var(--ice);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 28px;
	color: var(--navy);
}

.abord__icon svg {
	width: 24px;
	height: 24px;
}

.abord__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.abord__col {
	padding-right: 52px;
	border-right: 1px solid rgba(0, 46, 68, .15);
}

.abord__col:first-child {
	padding-left: 0;
}

.abord__col:last-child {
	border-right: none;
	padding-right: 0;
	padding-left: 52px;
}

.abord__col:nth-child(2) {
	padding-left: 52px;
}

.abord__h3 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--navy);
	margin-bottom: 16px;
}

.abord__p {
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.85;
	color: var(--muted);
}

/* ── Serviços ──────────────────────────────── */
.serv__head {
	margin-bottom: 56px;
}

.serv__layout {
	position: relative;
	padding: 0 360px 0 0;
}

.serv__photo {
	position: absolute;
	right: -50px;
	bottom: -104px;
	width: 400px;
}

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

.serv__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.serv-card {
	padding: 52px 48px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: start;
}

.serv-card--light {
	background: var(--white);
	border: 1.5px solid rgba(0, 46, 68, .12);
}

.serv-card--dark {
	background: var(--navy-tint);
}

.serv-card__tag {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mid);
	margin-bottom: 20px;
}

.serv-card__h3 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 32px;
	font-weight: 300;
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: 16px;
}

.serv-card__p {
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.82;
	color: var(--muted);
	margin-bottom: 2rem;
}

.serv-card__a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	font-size: 13.5px;
	font-weight: 600;
	padding: 11px 22px;
	border-radius: 100px;
	background: var(--ice);
	color: var(--navy);
	transition: background .2s, color .2s, transform .15s;
	margin-top: auto;
}

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

.serv-card--dark .serv-card__a {
	background: rgba(255, 255, 255, 1);
	color: var(--navy);
}

.serv-card__a:hover {
	background: var(--mid);
	color: var(--white);
	transform: translateY(-1px);
}

/* .serv-card--dark .serv-card__a:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); } */

/* ── Depoimentos ──────────────────────────────── */

.depos-section .wrap {	
	padding: 0 270px;
}

.depos__head {
	margin-bottom: 56px;
}

.temas__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.temas__grid .ident-card {
    padding: 13px 15px;
}

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

.depo {
	background: var(--white);
	padding: 40px 36px;
	border-radius: 10px;
	border: 1.5px solid rgba(0, 46, 68, .08);
}

.depo::before {
	content: '\201C';
	font-family: 'Crimson Pro', Georgia, serif;
	font-style: italic;
	font-size: 72px;
	line-height: .75;
	color: var(--ice);
	display: block;
	margin-bottom: 12px;
}

.depo__q {
	font-family: 'Crimson Pro', Georgia, serif;
	font-style: italic;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--navy);
	margin-bottom: 24px;
}

.depo__who {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mid);
}

/* ── Contato ──────────────────────────────── */
.contato__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 88px;
	align-items: start;
}

.contato__head {
	margin-bottom: 28px;
}

.contato__h2 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(42px, 4vw, 62px);
	font-weight: 300;
	color: var(--white);
	margin-bottom: 24px;
}

.contato__h2 em {
	font-style: italic;
}

.contato__p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.78;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 40px;
	max-width: 380px;
}

.contato__info {
    padding-top: 67px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.cinfo__lbl {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ice);
	opacity: .55;
	margin-bottom: 4px;
}

.cinfo__val {
	font-size: 15px;
	font-weight: 300;
	color: var(--white);
	line-height: 1.55;
}

.cinfo__val a:hover{
    color: var(--ice);    
}

.cinfo__social {
	display: flex;
	gap: 20px;
}

.cinfo__social a {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ice);
	opacity: .6;
	transition: opacity .2s, border-color .2s;
	display: flex;
	align-items: center;
	gap: 10px;
}

.cinfo__social a:hover {
	opacity: 1;
}

/* ── Footer ──────────────────────────────── */
.footer {
	background: #001E2E;
	padding: 28px calc(50vw - 590px);
	display: flex;
	align-items: center;
	justify-content: center;
    gap: 5px;
}

.footer span {
	font-size: 11px;
	letter-spacing: .06em;
	color: var(--white);
}

.footer span br{
    display: none;
}

/* ── WhatsApp float ──────────────────────────────── */
.wa-float {
	position: fixed;
	bottom: 32px;
	right: 32px;
	z-index: 200;
	width: 56px;
	height: 56px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(37, 211, 102, .38);
	transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 28px rgba(37, 211, 102, .52);
}

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

/* ── Reveal ──────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s ease, transform .6s ease;
}

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

.reveal:nth-child(2) {
	transition-delay: .1s;
}

.reveal:nth-child(3) {
	transition-delay: .2s;
}

/* ── Responsive ──────────────────────────────── */
@media only screen and (max-width : 810px) {
	header {
		padding: 10px 24px;
	}

	.nav__logo img {
		width: auto;
		height: 60px;
	}

    .btn-menu {
        background: var(--navy);
        border-radius: 10px;
        width: 40px;
        height: 40px;
        display: block;
        position: absolute;
        top: 16px;
        right: 1rem;
        z-index: 20;
        cursor: pointer;
    }

    .btn-menu .bar{
        width: 24px;
        height: 2px;
        background-color: var(--white);
        display: block;
        position: absolute;
        left: 8px;
        transform-origin: center center;
        transition: transform 200ms ease, opacity 200ms ease;
    }

    .btn-menu .bar.bar-1{
        top: 12px;
    }

    .btn-menu .bar.bar-2,
    .btn-menu .bar.bar-3{
        top: 19px;
    }

    .btn-menu .bar.bar-4{
        width: 14px;
        top: 26px;
    }

    .btn-menu.active .bar.bar-2{
        transform: rotate(45deg);
    }

    .btn-menu.active .bar.bar-3{
        transform: rotate(-45deg);
    }

    .btn-menu.active .bar.bar-1,
    .btn-menu.active .bar.bar-4{
        opacity: 0;
    }

    .nav {
        background-color: var(--white);
        width: 100vw;
        height: 100vh;
        padding: 90px 24px 24px;
        display: block;
        position: absolute;
        top: 0;
        left: 100vw;
        transition: left 300ms ease;
    }

    .nav.active{
        left: 0;
    }

    .nav__menu {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .nav__menu a {
        font-size: 20px;
    }

    .nav__menu a:hover {
        color: var(--navy);
    }

    .nav__menu a.is-active {
        color: var(--navy);
        padding-bottom: 3px;
        border-bottom: 1.5px solid var(--navy);
    }

	.hero {
		grid-template-columns: 1fr;
        height: auto;
		padding-top: 80px;
	}

	.hero__img {
		height: 100vw;
		max-height: 100vw;
		order: 2;
	}

    .hero__img img {
        width: auto;
        height: 100vw;
        position: relative;
        margin: 0 auto;
    }

	.hero__body {
		padding: 60px 24px 0;
		order: 1;
	}
    .hero__h1 {
        font-size: 3.25rem;
    }
    .hero__actions {
        gap: 16px;
    }

    .btn-wa {
        gap: 5px;
        padding: 14px 20px;
    }

	.ident-section {
		grid-template-columns: 1fr;
	}

    .ident-section .wrap {	
        padding: 0 24px;
    }

	.ident__col-left {
		padding: 64px 24px 40px;
	}

	.ident__img {
		height: 280px;
	}

	.ident__col-right {
		padding: 40px 24px 64px;
	}

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

    .cita-section .wrap {
        padding: 0 24px;
    }

	.sobre__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.sobre__photo {
		order: -1;
	}

	.abord__cols {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.abord__col {
		border-right: none;
		border-bottom: 1px solid rgba(0, 46, 68, .12);
		padding: 0 0 36px !important;
	}

	.abord__col:last-child {
		border-bottom: none;
		padding-bottom: 0 !important;
	}

	.serv__layout {
		padding: 0;
	}

	.serv__photo {
        height: auto;
        position: relative;
        right: -34px;
        bottom: 0;
        width: 240px;
        margin: 40px 0 -72px auto;
    }

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

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

    .depos-section .wrap {	
        padding: 0 24px;
    }

	.contato__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.sec {
		padding: 72px 0;
	}

	.wrap {
		padding: 0 24px;
	}

	.footer {
		flex-direction: column;
        align-items: start;
		gap: 8px;
		text-align: left;
		padding: 24px;
	}

    .footer span br{
        display: inline;
    }

    .contato__info {
        padding-top: 10px;
    }

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

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}
}
