:root {
  --color-bg: #ede5da;
  --color-bg-dark: #000000;
  --color-surface: #ffffff;
  --color-surface-dark: #161311;

  --color-primary: #c69c90;
  --color-primary-deep: #e48999;
  --color-nude: #cbb297;
  --color-gray: #695b5b;

  --color-text: #1a1512;
  --color-text-muted: #695b5b;
  --color-text-light: #f5ede7;
  --color-text-light-muted: #cfc3ba;

  --color-hairline: #ddd0c0;
  --color-hairline-dark: #2a241f;

  --gradient-rose: linear-gradient(135deg, #cbb297, #c69c90, #e48999);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-6: 24px;
  --sp-8: 32px; --sp-12: 48px; --sp-16: 64px; --sp-24: 96px;

  --radius-card: 20px;
  --radius-btn: 8px;
  --radius-pill: 100px;

  --font-script: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 76px;
}

* { 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: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section { padding: var(--sp-24) 0; }
.section-dark { background: var(--color-bg-dark); }

.section-head { margin-bottom: var(--sp-12); max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  margin-bottom: var(--sp-4);
}
.eyebrow.on-dark { color: var(--color-nude); }

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  line-height: 1.25;
  margin: 0 0 var(--sp-6);
  color: var(--color-text);
}
.section-title.on-dark { color: var(--color-text-light); }

p { color: var(--color-text-muted); margin: 0 0 var(--sp-4); }
p.on-dark { color: var(--color-text-light-muted); }

.brand-script {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-text);
  line-height: 1;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-rose);
  color: #2c1810;
  box-shadow: 0 10px 26px rgba(198, 156, 144, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(198, 156, 144, 0.45); }
.btn-outline {
  background: transparent;
  border-color: var(--color-hairline);
  color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary-deep); }
.btn-outline-dark {
  background: transparent;
  border-color: rgba(245, 237, 231, 0.3);
  color: var(--color-text-light);
}
.btn-outline-dark:hover { border-color: var(--color-nude); color: var(--color-nude); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 229, 218, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--sp-8);
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.brand-mark { height: 48px; width: auto; }
.main-nav {
  display: flex;
  gap: var(--sp-6);
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.main-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-primary-deep); }
.header-cta { flex-shrink: 0; padding: 10px 20px; font-size: 0.875rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO — imagem full-bleed, texto à esquerda, header+hero = 100vh ===== */
.hero {
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.72) 38%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0.05) 100%);
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 14%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(230, 190, 170, 0.22) 0%, rgba(198, 156, 144, 0.10) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 700px) {
  .hero { align-items: flex-end; }
  .hero-bg { object-position: 66% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.8) 65%, rgba(0,0,0,0.97) 100%);
  }
  .hero-inner { padding: 0 var(--sp-6) var(--sp-16); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: var(--sp-8) var(--sp-6) var(--sp-8) max(var(--sp-16), calc((100vw - 1200px) / 2 + var(--sp-6)));
}
.hero-eyebrow { color: var(--color-nude); }
.hero-title {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1.15;
  margin: 0 0 var(--sp-6);
  color: var(--color-text-light);
}
.hero-subtitle {
  font-size: 1.1875rem;
  max-width: 46ch;
  margin: 0 0 var(--sp-8);
  color: var(--color-text-light-muted);
}

/* ===== IMAGE ===== */
.img-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.35);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== SOBRE + PROPÓSITO — manifesto tipográfico ===== */
.manifesto {
  background: var(--color-bg);
  padding: var(--sp-24) 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}
.manifesto-lead .eyebrow { display: block; }
.manifesto-quote {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.35;
  color: var(--color-text);
  margin: 0;
}
.text-gradient {
  background: var(--gradient-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto-body { align-self: start; }
.manifesto-body p {
  font-size: 1.0625rem;
  max-width: 52ch;
  padding-left: var(--sp-6);
  border-left: 2px solid var(--color-primary);
}

/* ===== ÁREAS DE ATUAÇÃO — dois blocos independentes, imagem grande + texto ===== */
.atuacao-block { overflow: hidden; }
.atuacao-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.atuacao-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.35);
}
.atuacao-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atuacao-index {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1;
  background: var(--gradient-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: var(--sp-4);
}
.atuacao-text .section-title { margin-bottom: var(--sp-4); }
.atuacao-text p { max-width: 42ch; }
.atuacao-row.reverse .atuacao-media { order: 1; }
.atuacao-row.reverse .atuacao-text { order: 2; }

/* ===== COMO TRABALHAMOS — cards irregulares (bento) ===== */
.metodo-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
.metodo-item {
  background: var(--color-surface-dark);
  border: 1px solid var(--color-hairline-dark);
  border-radius: var(--radius-card);
  padding: var(--sp-8);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.metodo-item:hover { border-color: var(--color-primary); transform: translateY(-3px); }
.metodo-item.lg { padding: var(--sp-12) var(--sp-8); }
.metodo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--color-nude);
  background: rgba(203, 178, 151, 0.08);
  color: var(--color-nude);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.metodo-icon svg { width: 24px; height: 24px; }
.metodo-item h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 var(--sp-2); color: var(--color-text-light); }
.metodo-item p { margin: 0; max-width: 34ch; color: var(--color-text-light-muted); }
.metodo-item.lg p { max-width: 52ch; }
.metodo-support {
  max-width: 62ch;
  font-size: 1.0625rem;
  margin: var(--sp-12) auto 0;
  text-align: center;
}

/* variante clara do bento, quando a seção usa fundo --color-bg */
.metodo-bento-light .metodo-item {
  background: var(--color-surface);
  border-color: var(--color-hairline);
  box-shadow: 0 16px 40px -28px rgba(26, 21, 18, 0.25);
}
.metodo-bento-light .metodo-item h3 { color: var(--color-text); }
.metodo-bento-light .metodo-item p { color: var(--color-text-muted); }
.metodo-bento-light .metodo-icon { border-color: var(--color-primary); color: var(--color-primary-deep); background: rgba(198, 156, 144, 0.08); }

/* ===== PROPÓSITO — split com imagem; a frase-síntese ganha destaque tipográfico ===== */
.proposito-destaque-text {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  background: var(--gradient-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== EQUIPE — foto full-bleed com overlay editorial ===== */
.equipe {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.equipe-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.equipe-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 75%, rgba(0,0,0,0) 100%);
}
.equipe-inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-24) var(--sp-6) var(--sp-16);
}
.equipe-stat {
  margin-top: var(--sp-4);
}
.equipe-number {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.1;
  margin: 0 0 var(--sp-4);
  background: var(--gradient-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.equipe-number-text {
  font-size: 1.125rem;
  max-width: 46ch;
  margin: 0;
  color: var(--color-text-light-muted);
}

/* ===== TRABALHE CONOSCO — mesma linguagem visual das áreas de atuação ===== */
.trabalhe-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-2); }

/* ===== FAQ ===== */
.faq-container { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--color-hairline); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  border: none;
  padding: var(--sp-6) 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}
.faq-toggle {
  flex-shrink: 0;
  color: var(--color-primary-deep);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 var(--sp-8) var(--sp-6) 0; margin: 0; }
.faq-final { margin-top: var(--sp-12); text-align: center; }
.faq-final p { margin-bottom: var(--sp-4); }
.faq-cta { text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.875rem; }

/* ===== CONTATO — escuro ===== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.contato-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--color-hairline-dark);
  color: var(--color-text-light-muted);
}
.contato-item svg { flex-shrink: 0; color: var(--color-primary-deep); width: 18px; height: 18px; }
.contato-item a:hover { color: var(--color-text-light); }
.contato-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.contato-cta { margin-top: var(--sp-8); }
.contato-social a {
  width: 42px; height: 42px; border-radius: var(--radius-btn); border: 1px solid var(--color-hairline-dark);
  display: flex; align-items: center; justify-content: center; color: var(--color-text-light-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contato-social a:hover { color: var(--color-primary-deep); border-color: var(--color-primary); }
.contato-map iframe {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-hairline-dark);
}

/* ===== FOOTER ===== */
.site-footer { background: var(--color-bg-dark); border-top: 1px solid var(--color-hairline-dark); padding-top: var(--sp-16); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 1fr; gap: var(--sp-12); padding-bottom: var(--sp-12); }
.footer-mark { height: 56px; width: auto; margin-bottom: var(--sp-3); }
.footer-script { display: block; color: var(--color-text-light); margin-bottom: var(--sp-4); }
.footer-brand p { max-width: 30ch; font-size: 0.9375rem; color: var(--color-text-light-muted); margin-bottom: var(--sp-6); }
.footer-col h3 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-nude); margin: 0 0 var(--sp-4);
}
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col ul a { font-size: 0.9375rem; color: var(--color-text-light-muted); transition: color 0.2s ease; line-height: 1.5; }
.footer-col ul a:hover { color: var(--color-nude); }
.footer-cta { margin-top: var(--sp-6); padding: 10px 20px; font-size: 0.875rem; }
.footer-social { display: flex; gap: var(--sp-3); }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-btn); border: 1px solid var(--color-hairline-dark);
  display: flex; align-items: center; justify-content: center; color: var(--color-text-light-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { color: var(--color-nude); border-color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-hairline-dark); padding: var(--sp-6); display: flex; justify-content: center; text-align: center; }
.footer-copy { font-size: 0.8125rem; color: var(--color-text-light-muted); margin: 0; }
.footer-credit-row { display: flex; justify-content: center; padding: var(--sp-4) var(--sp-6) var(--sp-8); }
.footer-credit { font-size: 0.8125rem; color: var(--color-text-light-muted); transition: color 0.2s ease; }
.footer-credit:hover { color: var(--color-nude); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6); width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); z-index: 90; transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (min-width: 560px) {
  .numeros-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-16); }
}

@media (min-width: 860px) {
  .manifesto-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-24); align-items: start; }
  .manifesto-lead { position: sticky; top: calc(var(--header-h) + var(--sp-16)); }
  .atuacao-row { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .atuacao-row.reverse .atuacao-media { order: 2; }
  .atuacao-row.reverse .atuacao-text { order: 1; }
  .contato-grid { grid-template-columns: 0.85fr 1.15fr; }
  .metodo-bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(180px, auto); }
  .metodo-item.lg { grid-column: span 2; }
}

@media (max-width: 1400px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .main-nav.open {
    display: flex;
    flex: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    background: var(--color-bg);
    padding: var(--sp-8) var(--sp-6);
    gap: var(--sp-2);
    z-index: 99;
    overflow-y: auto;
  }
  .main-nav.open a {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--color-hairline);
    font-size: 1.0625rem;
    color: var(--color-text);
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .section { padding: var(--sp-16) 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .contato-social { flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
