/* ==========================================================================
   DiAcordo — folha de estilo principal
   Sistema de design reproduzido do site original (Elementor kit-19 + post-75).
   Paleta: verde-escuro (faixas), dourado (botões/detalhes), branco.
   Fontes: DM Sans (títulos) + Inter (corpo).
   ========================================================================== */

:root {
	--primary: #052629;        /* verde-petróleo escuro (títulos em fundo claro) */
	--gold: #AD9A77;           /* dourado (botões / detalhes / destaques) */
	--gold-dark: #937f59;      /* dourado no hover */
	--text: rgba(9, 49, 52, 0.72);
	--mint: #DEF5F3;
	--offwhite: #F9F9F9;
	--border: #E7E7E7;
	--white: #FFFFFF;
	--dark-1: #154036;         /* topo do gradiente escuro */
	--dark-2: #091915;         /* base do gradiente escuro */
	--dark-grad: linear-gradient(180deg, #154036 0%, #091915 100%);
	--dark-text: rgba(255, 255, 255, 0.82);
	--container: 1140px;
	--radius: 5px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: "DM Sans", sans-serif;
	color: var(--primary);
	margin: 0 0 .5em;
	line-height: 1.1;
	letter-spacing: -0.4px;
}
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.05; letter-spacing: -0.6px; }
h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 600; }
p  { margin: 0 0 1rem; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.style-color { color: var(--gold); }
.text-center { text-align: center; }

/* ------------------------------- Botões --------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--gold);
	color: var(--primary);
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1;
	padding: 17px 34px;
	border: 2px solid var(--gold);
	border-radius: var(--radius);
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-1px); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }

/* Contornado (ex.: "Entrar em contato" no header escuro) */
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--primary); }

/* Contornado em fundo claro */
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ------------------------------- Header --------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--dark-1);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 12px;
	padding-bottom: 12px;
}
.site-logo img { width: 150px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a,
.nav-toggle {
	font-family: "DM Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: var(--white);
	background: none;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: 0;
}
.nav-list a:hover,
.nav-toggle:hover { color: var(--gold); }
.nav-toggle svg { transition: transform .2s ease; }
.has-submenu.is-open .nav-toggle svg { transform: rotate(180deg); }

.submenu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 230px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(5, 38, 41, 0.22);
	list-style: none;
	margin: 0;
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-submenu.is-open .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu li { display: block; }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; width: 100%; color: var(--primary); }
.submenu a:hover { background: var(--mint); color: var(--primary); }

.btn-header { padding: 11px 22px; font-size: 15px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }

/* ------------------------------- Seções --------------------------------- */
.section { padding: 96px 0; }
.section--mint { background: var(--mint); }
.section--offwhite { background: var(--offwhite); }
.section--dark { background: var(--dark-grad); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--dark-text); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 18px; }

/* -------------------------------- Hero ---------------------------------- */
.hero {
	background: var(--dark-grad);
	overflow: hidden;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 40px;
	padding: 64px 0 64px;
}
.hero-content { max-width: 560px; }
.hero-content h1 { color: var(--white); }
.hero-content p { font-size: 19px; margin: 1.5rem 0 2rem; color: var(--dark-text); }
.hero-media { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 460px; }
.hero-circle {
	position: absolute;
	width: 460px; height: 460px;
	max-width: 100%;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	opacity: .18;
}
.hero-person { position: relative; z-index: 1; max-height: 540px; width: auto; border-radius: 12px; }
.hero-shield {
	position: absolute;
	top: 24px; right: 6%;
	width: 78px; height: 78px;
	z-index: 2;
	animation: floaty 3.5s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------------------------- Caixas de ícone --------------------------- */
.icon-grid { display: grid; gap: 22px; }
.icon-grid-3 { grid-template-columns: repeat(3, 1fr); }
.icon-grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon-box {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 28px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.icon-box:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(5, 38, 41, 0.10); }
.icon-box .icon {
	width: 56px; height: 56px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px;
	background: #F3EEE3;
	color: var(--gold);
	margin-bottom: 18px;
}
.icon-box .icon svg { width: 28px; height: 28px; }
.icon-box h3 { margin-bottom: .4rem; }
.icon-box p { margin: 0; font-size: 15.5px; }

/* variante ícone à esquerda (linha) */
.icon-box--row { display: flex; gap: 18px; align-items: flex-start; }
.icon-box--row .icon { margin-bottom: 0; flex: 0 0 auto; }

/* números do processo */
.step-box .icon { background: var(--gold); color: var(--primary); font-family: "DM Sans"; font-weight: 700; font-size: 22px; }

/* bloco "dois lados" (texto + imagem) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .split-media { display: flex; justify-content: center; }
.split .split-media img { max-height: 520px; width: auto; }

/* ------------------------------- FAQ ------------------------------------ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq-question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: none; border: none; cursor: pointer;
	padding: 22px 24px;
	font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 18px;
	color: var(--primary); text-align: left;
}
.faq-icon { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: .25s; }
.faq-icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 24px 22px; font-size: 16px; }

/* --------------------------- CTA final (escura) ------------------------- */
.cta-band {
	background: var(--dark-grad);
	border-radius: 24px;
	color: var(--dark-text);
	padding: 64px 56px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 40px;
}
.cta-band h2 { color: var(--white); max-width: 15ch; }
.cta-band p { margin-bottom: 1.5rem; }
.cta-band .cta-media img { max-height: 300px; width: auto; }
.section--cta { padding: 40px 0 96px; }

/* ------------------------------- Footer --------------------------------- */
.site-footer {
	background: var(--dark-grad);
	color: var(--dark-text);
	padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-col h4 { color: var(--white); margin-bottom: 1.1rem; font-size: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a { color: var(--dark-text); font-size: 15.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-label { font-size: 14px; margin: 0 0 .2rem; }
.footer-highlight { color: var(--white); font-family: "DM Sans"; font-weight: 600; font-size: 17px; margin: 0 0 1.1rem; }
.footer-highlight a { color: var(--white); }
.footer-highlight a:hover { color: var(--gold); }

.footer-about { display: flex; gap: 24px; align-items: center; margin: 48px 0 24px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-logo { width: 170px; flex: 0 0 auto; }
.footer-about p { font-size: 14px; margin: 0; }

.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { font-size: 13.5px; margin: .2rem 0; }

/* --------------------------- Páginas internas --------------------------- */
.page-hero { background: var(--dark-grad); padding: 76px 0 64px; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 60px); }
.page-hero p { color: var(--dark-text); font-size: 19px; max-width: 700px; margin: 1.1rem auto 0; }

/* Texto corrido / jurídico */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .6rem; color: var(--primary); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.25rem 0; }

/* Visão / Missão / valores */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
.value-card .icon { width: 52px; height: 52px; border-radius: 12px; background: #F3EEE3; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-card h3 { margin-bottom: .5rem; }

/* Formulários */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: "DM Sans", sans-serif; font-weight: 500; color: var(--primary); font-size: 15px; }
.field input, .field select, .field textarea {
	font-family: "Inter", sans-serif; font-size: 16px; color: var(--primary);
	padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius);
	background: var(--white); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(173,154,119,.20); }
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Layout contato */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: 0 20px 50px rgba(5,38,41,.06); }
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 10px; background: #F3EEE3; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 .15rem; }
.info-item p { margin: 0; }
.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: var(--dark-1); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--gold); color: var(--primary); }

/* ------------------------------ Responsivo ------------------------------ */
@media (max-width: 1024px) {
	.icon-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.hero-inner { gap: 24px; }
}

@media (max-width: 900px) {
	.menu-toggle { display: flex; }
	.main-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 82vw);
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		background: var(--dark-1);
		padding: 90px 26px 30px;
		box-shadow: -12px 0 40px rgba(0,0,0,.35);
		transform: translateX(100%);
		transition: transform .3s ease;
		overflow-y: auto;
	}
	.main-nav.is-open { transform: translateX(0); }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
	.nav-list > li > a, .nav-toggle { padding: 14px 0; width: 100%; justify-content: space-between; }
	.submenu {
		position: static; transform: none; opacity: 1; visibility: visible;
		box-shadow: none; border: none; min-width: 0; padding: 0 0 8px 12px; background: transparent;
		max-height: 0; overflow: hidden; transition: max-height .25s ease;
	}
	.has-submenu.is-open .submenu { max-height: 240px; }
	.submenu a { color: var(--dark-text); }
	.submenu a:hover { background: transparent; color: var(--gold); }
	.btn-header { align-self: flex-start; }
}

@media (max-width: 820px) {
	.section { padding: 64px 0; }
	.section-head { margin-bottom: 40px; }
	.icon-grid-3, .icon-grid-4 { grid-template-columns: 1fr; }
	.hero-inner { grid-template-columns: 1fr; padding: 40px 0 48px; }
	.hero-media { min-height: 340px; order: -1; }
	.hero-circle { width: 320px; height: 320px; }
	.hero-person { max-height: 360px; }
	.split { grid-template-columns: 1fr; gap: 28px; }
	.split .split-media { order: -1; }
	.cta-band { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
	.cta-band h2 { max-width: none; margin-inline: auto; }
	.cta-band .cta-media { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.footer-about { flex-direction: column; align-items: flex-start; }
	.contact-grid, .value-grid, .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
	.footer-grid { grid-template-columns: 1fr; }
	.btn { width: 100%; justify-content: center; }
	.hero-content .btn, .section .btn { width: auto; }
}
