/* ==========================================================================
   2R Gestão & Assessoria — folha de estilos do site
   --------------------------------------------------------------------------
   ARQUIVO ESCRITO À MÃO. Não é saída do Tailwind (isso é src/app.css, gerado
   a partir de dev.css e hoje sem uso).

   Portado de docs/design/_ds/organic-.../styles.css (design system "Organic")
   com as rampas re-ancoradas no logotipo 2R, conforme o protótipo
   docs/design/Landing 2R.dc.html. Os valores são os do protótipo — ao mexer
   aqui, confira contra ele.

   Fontes (Caprasimo + Figtree) entram por <link> no <head> de cada página,
   com preconnect — não por @import, que bloqueia a renderização.
   ========================================================================== */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-400: #c0b6a5;
  --color-neutral-500: #a19786;
  --color-neutral-600: #82796a;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  /* Laranja da marca (#ED4D14) no papel do acento principal */
  --color-accent: #d2400d;
  --color-accent-100: #feede5;
  --color-accent-200: #fdd6c4;
  --color-accent-300: #f9b192;
  --color-accent-400: #f3703c;
  --color-accent-500: #ed4d14;
  --color-accent-600: #c63c0c;
  --color-accent-700: #9b2e0a;
  --color-accent-800: #712108;
  --color-accent-900: #481506;

  /* Verde da marca (#87C12D) como segunda voz */
  --color-accent-2: #7bb128;
  --color-accent-2-100: #f3fae3;
  --color-accent-2-200: #e4f3c4;
  --color-accent-2-300: #cde79a;
  --color-accent-2-400: #a9d45c;
  --color-accent-2-500: #87c12d;
  --color-accent-2-600: #6da023;
  --color-accent-2-700: #537a1b;
  --color-accent-2-800: #3b5714;
  --color-accent-2-900: #25370c;

  /* Restante da paleta 2R: âmbar, turquesa e areia */
  --brand-amber: #fbaa10;
  --brand-amber-100: #fff3da;
  --brand-amber-200: #fee3ac;
  --brand-amber-700: #8e5a02;
  --brand-amber-800: #6a4302;
  --brand-teal: #6acbce;
  --brand-teal-100: #e8f8f8;
  --brand-teal-200: #cdeff0;
  --brand-teal-800: #17494b;
  --brand-sand: #e9c265;
  --brand-sand-100: #fdf3de;
  --brand-sand-200: #f7e3b6;
  --brand-sand-800: #5a4413;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-6: 26.4px;
  --space-8: 35.2px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

/* ─── Base ───────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin: 0 0 var(--space-3); }

a {
  color: var(--color-accent-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-accent-600); }

img { display: block; max-width: 100%; }
figure { margin: 0; }

.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.hr { height: 1px; border: 0; margin: var(--space-4) 0; background: var(--color-divider); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ─── Componentes: botões ────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  min-height: 44px; /* alvo de toque mínimo */
  border-radius: 999px;
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent-700); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent-700); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* ─── Componentes: formulário ────────────────────────────────────────────── */

.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 44px; padding: 10px 16px; font: inherit;
  font-size: 16px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: 999px;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; border-radius: var(--radius-lg); padding-block: 12px; }

/* ─── Componentes: cards e tags ──────────────────────────────────────────── */

.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); background: var(--color-surface);
  border-radius: calc(var(--radius-lg) * 1.15);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-700); margin: 0; }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2; margin: 0;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }

.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }

.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* ══════════════════════════════════════════════════════════════════════════
   Página — classes derivadas do protótipo Landing 2R.dc.html
   ══════════════════════════════════════════════════════════════════════════ */

.page { overflow-x: clip; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
  box-sizing: border-box;
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */

.site-nav {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 20px;
  padding-block: 18px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; margin-right: auto;
}
.logo-nav { height: clamp(52px, 9vw, 76px); width: auto; display: block; }
.nav-links { display: contents; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--color-text);
  text-decoration: none; white-space: nowrap;
}
.nav-link:hover { color: var(--color-accent-700); }
.nav-cta { white-space: nowrap; text-decoration: none; }

/* Faixa de quatro cores da marca — único elemento puramente decorativo. */
.brand-strip {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: 6px; max-width: 1240px; margin: 0 auto;
  border-radius: 999px; overflow: hidden;
}
.brand-strip span:nth-child(1) { background: var(--color-accent-500); }
.brand-strip span:nth-child(2) { background: var(--brand-amber); }
.brand-strip span:nth-child(3) { background: var(--color-accent-2-500); }
.brand-strip span:nth-child(4) { background: var(--brand-teal); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(32px, 4.5vw, 72px);
  padding-bottom: 56px;
}
.hero-blob {
  position: absolute; right: 0; top: -180px;
  width: 420px; height: 420px; border-radius: 50%;
  background: var(--brand-teal-200);
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(38px, 5.2vw, 68px); line-height: 1.08;
  letter-spacing: -0.01em; margin: 0; max-width: 17ch;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--color-accent-700); }
.hero-lead {
  font-size: 18px; line-height: 1.6; max-width: 56ch; margin: 22px 0 0;
  color: color-mix(in srgb, var(--color-text) 84%, transparent);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note {
  font-size: 14px; margin: 20px 0 0;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

/* ─── Títulos de seção ───────────────────────────────────────────────────── */

.kicker {
  display: block; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 700;
  color: var(--color-accent-700); margin-bottom: 14px;
}
.hero .kicker { display: inline-block; margin-bottom: 14px; }
.hero-title .kicker { font-family: var(--font-body); line-height: 1.4; }

.h2-lg {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12;
  margin: 0; max-width: 22ch;
}
.h2-md {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12;
  margin: 0; max-width: 18ch;
}
.h2-sm {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12;
  margin: 0; max-width: 16ch;
}
.section-lead {
  font-size: 17px; line-height: 1.65; max-width: 56ch; margin: 22px 0 0;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

/* ─── Processo (9 etapas) ────────────────────────────────────────────────── */

.s-processo { padding-top: 24px; padding-bottom: 80px; }

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px 56px; margin: 56px 0 0; padding: 0; list-style: none;
}
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-content: center;
  font-family: var(--font-heading); font-size: 22px;
}
.step-num--accent { background: var(--color-accent-200); color: var(--color-accent-700); }
.step-num--accent-2 { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.step-num--amber { background: var(--brand-amber-200); color: var(--brand-amber-800); }
.step-num--teal { background: var(--brand-teal-200); color: var(--brand-teal-800); }
.step h3 {
  font-family: var(--font-heading); font-weight: 400; font-size: 22px;
  line-height: 1.25; margin: 8px 0 0;
}
.step p {
  font-size: 15.5px; line-height: 1.65; margin: 10px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ─── Faixa de indicadores ───────────────────────────────────────────────── */

.stats-band { background: var(--color-accent-2-100); padding: 60px 0; margin: 8px 0; }
.stats-kicker {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent-2-800); margin: 0 0 32px;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 24px; }
.stat-num {
  font-family: var(--font-heading); font-weight: 400; font-size: 46px;
  line-height: 1; margin: 0;
}
.stat-num--accent { color: var(--color-accent-700); }
.stat-num--amber { color: var(--brand-amber-800); }
.stat-num--teal { color: var(--brand-teal-800); }
.stat-num--accent-2 { color: var(--color-accent-2-800); }
.stat-label {
  font-size: 14.5px; line-height: 1.5; margin: 10px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ─── Serviços ───────────────────────────────────────────────────────────── */

.s-servicos { padding-block: 80px; }
.cards-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 44px;
}

/* Duas frentes (recrutamento e seleção / gestão de pessoas), cada uma com
   cabeçalho próprio e três cards. A primeira herda o respiro do section-lead. */
.service-group { margin-top: 56px; }
.service-group + .service-group {
  margin-top: 64px; padding-top: 56px;
  border-top: 1px solid var(--color-divider);
}
.service-group-head { max-width: 62ch; }
.service-group-head .tag { margin-bottom: 14px; }
.service-group-title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0;
}
.service-group-head p {
  font-size: 16px; line-height: 1.6; margin: 10px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.service-group .cards-3 { margin-top: 28px; }

/* Benefícios dentro do card: lista curta, marcador na cor do acento. */
.card-list {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: grid; gap: 6px;
  font-size: 13px; line-height: 1.5;
  padding-top: 12px; border-top: 1px solid var(--color-divider);
}
.card-list li { position: relative; padding-left: 16px; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-accent-500);
}
.service-group--pessoas .card-kicker { color: var(--color-accent-2-800); }
.service-group--pessoas .card-list li::before { background: var(--color-accent-2-500); }

/* ─── Por que a 2R / duas colunas ────────────────────────────────────────── */

.s-why { padding-bottom: 88px; }
.two-col {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 64px; align-items: start;
}
/* Variante: título à esquerda mais estreito, conteúdo ocupa o restante. */
.two-col--aside { grid-template-columns: minmax(260px, 2fr) minmax(300px, 3fr); }
.why-list { display: grid; gap: 26px; }
.why-list h3 {
  font-family: var(--font-heading); font-weight: 400; font-size: 21px;
  line-height: 1.25; margin: 0;
}
.why-list p {
  font-size: 15.5px; line-height: 1.65; margin: 8px 0 0; max-width: 50ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.s-faq { padding-bottom: 88px; }
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-top: 36px; }
.faq-list details {
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
}
.faq-list summary {
  font-family: var(--font-heading); font-weight: 400; font-size: 19px;
  line-height: 1.35; cursor: pointer; padding-block: 10px; margin-block: -10px;
}
.faq-list summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.faq-list p {
  font-size: 15.5px; line-height: 1.7; margin: 14px 0 0; max-width: 60ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

/* ─── Contato ────────────────────────────────────────────────────────────── */

.s-contato { padding-bottom: 88px; }
.contact-card {
  background: var(--brand-sand-200);
  border-radius: 56px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 64px; align-items: start;
}
.contact-lead {
  font-size: 16.5px; line-height: 1.7; margin: 20px 0 0; max-width: 46ch;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.contact-info { display: grid; gap: 10px; margin-top: 28px; font-size: 15.5px; line-height: 1.6; }
.contact-info a { font-weight: 600; }
.contact-city { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.contact-form { display: grid; gap: 14px; }
.contact-form .btn-block { margin-top: 6px; }
.form-status { font-size: 14px; margin: 0; min-height: 1.2em; }
.form-status[data-state="erro"] { color: var(--color-accent-700); }
.form-status[data-state="ok"] { color: var(--color-accent-2-800); }

/* ─── Rodapé ─────────────────────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--color-divider); }
.site-footer-inner {
  display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center;
  padding-block: 40px;
}
.logo-footer { height: clamp(64px, 14vw, 104px); width: auto; display: block; }
.footer-meta {
  font-size: 14px; line-height: 1.7; margin-right: auto;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}
.footer-legal { font-size: 12.5px; margin-top: 6px; }
.footer-legal address { display: inline; font-style: normal; }

/* ─── CTA fixo ───────────────────────────────────────────────────────────── */

.cta-fixed {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: opacity 0.2s ease;
}
/* Some enquanto o formulário está na tela, para não cobrir o botão de envio. */
.cta-fixed.is-hidden { opacity: 0; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════════════
   Página de gestão financeira — complementos
   ══════════════════════════════════════════════════════════════════════════ */

.s-generic { padding-block: 80px; }
.card-icon { height: 64px; width: 64px; margin-bottom: var(--space-2); }
.photo {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: calc(var(--radius-lg) * 1.15); box-shadow: var(--shadow-lg);
}
.prose p {
  font-size: 16.5px; line-height: 1.7; max-width: 62ch;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.def-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 64px; margin-top: 44px;
}
.def-grid h3 {
  font-family: var(--font-heading); font-weight: 400; font-size: 21px;
  line-height: 1.25; margin: 0;
}
.def-grid p {
  font-size: 15.5px; line-height: 1.65; margin: 8px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.value-list { display: grid; gap: 22px; margin-top: 32px; }
.value-item { display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: start; }
.value-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; }
.value-dot--accent { background: var(--color-accent-500); }
.value-dot--teal { background: var(--brand-teal); }
.value-dot--amber { background: var(--brand-amber); }
.value-dot--accent-2 { background: var(--color-accent-2-500); }

/* ══════════════════════════════════════════════════════════════════════════
   Responsivo — os grids são todos auto-fit/minmax e colapsam sozinhos; o que
   precisa de ajuste é a nav, que no protótipo é uma linha só.
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .two-col--aside { grid-template-columns: 1fr; }
  .site-nav { flex-wrap: wrap; gap: 14px 20px; }
  .nav-brand { order: 1; }
  .nav-cta { order: 2; }
  .nav-links {
    display: flex; flex-wrap: wrap; gap: 12px 20px;
    order: 3; flex-basis: 100%;
  }
  .nav-link { font-size: 14px; }
}

@media (max-width: 520px) {
  .contact-card { border-radius: 32px; }
  .hero-blob { width: 300px; height: 300px; top: -120px; }
  .cta-fixed { right: 16px; bottom: 16px; }
}
