/* =========================================================
   REIS PERSONALITÉ — Design tokens
   Paleta: azul-meia-noite (confiança/noturno/ronda 24h)
           + dourado-latão (autoridade/"personalité")
           + verde-oliva (jardinagem/natureza)
           + branco-osso (respiro)
   Tipografia: Fraunces (serifada de autoridade, display)
               + Inter (utilitária, corpo)
   ========================================================= */

:root {
  --midnight:      #0F1E2E;
  --midnight-soft: #16293D;
  --midnight-deep: #081420;
  --brass:         #C9A24B;
  --brass-light:   #E2C172;
  --olive:         #5B6B4F;
  --bone:          #F7F5F0;
  --bone-dim:      #EAE6DC;
  --ink:           #1B1B18;
  --ink-soft:      #5B5B55;
  --white:         #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 2px;
  --shadow-card: 0 12px 32px -12px rgba(15, 30, 46, 0.25);
  --shadow-lift: 0 20px 48px -16px rgba(15, 30, 46, 0.35);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--midnight);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--brass); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  display: block;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}
.section-title.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
}
.section-sub.center { margin: 0 auto; text-align: center; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brass);
  color: var(--midnight-deep);
}
.btn-primary:hover { background: var(--brass-light); transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(247,245,240,0.4);
}
.btn-ghost:hover { border-color: var(--bone); background: rgba(247,245,240,0.08); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 30, 46, 0.0);
  backdrop-filter: blur(0px);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(15, 30, 46, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brass);
  color: var(--midnight-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2px;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--bone);
}
.logo-text em { color: var(--brass-light); }

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--bone);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity .2s;
  position: relative;
}
.main-nav a:hover { opacity: 1; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--bone);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8,20,32,0.94) 0%, rgba(15,30,46,0.82) 45%, rgba(15,30,46,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 720px;
}
.hero .eyebrow { color: var(--brass-light); }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  color: var(--bone);
  margin-bottom: 22px;
}
.hero-sub {
  color: rgba(247,245,240,0.82);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(247,245,240,0.18);
  padding-top: 28px;
}
.stat { display: flex; flex-direction: column; gap: 4px; position: relative; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--brass-light);
  display: inline;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brass-light);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(247,245,240,0.65);
  max-width: 140px;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--midnight-deep);
  border-top: 1px solid rgba(247,245,240,0.08);
  padding: 16px 0;
  overflow-x: auto;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(247,245,240,0.7);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-inner .dot { color: var(--brass); }

/* ===== Services ===== */
.services { padding: 110px 0; background: var(--bone); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.service-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--midnight);
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-body { padding: 26px 24px 28px; position: relative; }
.service-turn {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--brass);
  color: var(--midnight-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}
.service-card-body h3 {
  font-size: 1.25rem;
  margin: 14px 0 10px;
}
.service-card-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ===== Diferenciais ===== */
.diferenciais { padding: 110px 0; background: var(--midnight); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.diferenciais .eyebrow { color: var(--brass-light); }
.diferenciais .section-title { color: var(--bone); }
.diferenciais .section-sub { color: rgba(247,245,240,0.7); }

.diferenciais-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.diferenciais-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
  border-left: 2px solid var(--brass);
}
.diferenciais-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--bone);
}
.diferenciais-list span {
  font-size: 0.92rem;
  color: rgba(247,245,240,0.65);
}

.diferenciais-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lift);
}
.diferenciais-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Clientes / Logo wall ===== */
.clientes { padding: 110px 0 90px; background: var(--bone); }

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.cliente-card {
  background: var(--white);
  border: 1px solid var(--bone-dim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cliente-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--brass);
}
.cliente-card img {
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
  display: block;
}
.cliente-card figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  padding: 10px 8px;
  border-top: 1px solid var(--bone-dim);
}

/* ===== Depoimentos ===== */
.depoimentos { padding: 110px 0; background: var(--bone); }
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.depoimento-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--brass);
}
.depoimento-card p {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--midnight);
  margin-bottom: 20px;
  line-height: 1.45;
}
.depoimento-card footer strong { display: block; font-size: 0.9rem; }
.depoimento-card footer span { font-size: 0.82rem; color: var(--ink-soft); }
.depoimentos-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 28px;
  opacity: 0.7;
}

/* ===== Orçamento / Form ===== */
.orcamento { padding: 110px 0; background: var(--midnight-soft); }
.orcamento-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.orcamento .eyebrow { color: var(--brass-light); }
.orcamento .section-title { color: var(--bone); }
.orcamento .section-sub { color: rgba(247,245,240,0.7); margin-bottom: 36px; }

.contato-direto { display: flex; flex-direction: column; gap: 14px; }
.contato-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.12);
  padding: 16px 20px;
  border-radius: var(--radius);
  transition: background .25s, border-color .25s;
}
.contato-item:hover { background: rgba(247,245,240,0.1); border-color: var(--brass); }
.contato-icon {
  font-size: 1.2rem;
  color: var(--brass-light);
}
.contato-item strong { display: block; color: var(--bone); font-size: 0.95rem; }
.contato-item small { color: rgba(247,245,240,0.6); font-size: 0.82rem; }

.orcamento-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.form-row { margin-bottom: 18px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bone-dim);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bone);
  color: var(--ink);
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--brass);
  outline: none;
}
.form-row textarea { resize: vertical; }
.form-row input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}
.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}
.form-success {
  margin-top: 16px;
  padding: 14px;
  background: rgba(91,107,79,0.12);
  color: var(--olive);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== CTA final ===== */
.cta-final {
  background: var(--brass);
  padding: 80px 0;
}
.cta-final-inner { text-align: center; }
.cta-final h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--midnight-deep);
  margin-bottom: 12px;
}
.cta-final p {
  color: rgba(15,30,46,0.75);
  max-width: 480px;
  margin: 0 auto 28px;
}
.cta-final .btn-primary {
  background: var(--midnight);
  color: var(--bone);
}
.cta-final .btn-primary:hover { background: var(--midnight-deep); }

/* ===== Footer ===== */
.site-footer { background: var(--midnight-deep); color: rgba(247,245,240,0.7); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247,245,240,0.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-brand .logo-text { color: var(--bone); }
.footer-brand p { font-size: 0.85rem; color: rgba(247,245,240,0.55); margin-top: 4px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  padding: 22px 0;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(247,245,240,0.4);
}

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 90;
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Nav active state ===== */
.main-nav a.active { color: var(--brass-light); opacity: 1; }

/* ===== Page hero (Vagas / Blog) ===== */
.page-hero {
  background: var(--midnight);
  padding: 170px 0 90px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--brass-light); text-align: center; }
.page-hero h1 {
  color: var(--bone);
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 760px;
  margin: 0 auto 18px;
}
.page-hero-sub {
  color: rgba(247,245,240,0.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Vagas ===== */
.vagas-list { padding: 100px 0; background: var(--bone); }
.vagas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.vaga-card {
  background: var(--white);
  padding: 30px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.vaga-tag {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--olive);
  color: var(--bone);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}
.vaga-card h3 {
  font-size: 1.2rem;
  margin-top: 8px;
}
.vaga-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.vaga-info li { padding-left: 16px; position: relative; }
.vaga-info li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
}
.vaga-card p { font-size: 0.9rem; color: var(--ink-soft); flex-grow: 1; }

.btn-ghost-dark {
  background: transparent;
  border: 1px solid var(--midnight);
  color: var(--midnight);
}
.btn-ghost-dark:hover { background: var(--midnight); color: var(--bone); }
.vaga-btn { align-self: flex-start; margin-top: 4px; }

/* ===== Blog list ===== */
.blog-list { padding: 90px 0 110px; background: var(--bone); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: block;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.post-card-img { aspect-ratio: 4/3; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px 22px 26px; }
.post-tag {
  display: inline-block;
  background: var(--brass);
  color: var(--midnight-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.post-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.post-card-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.post-date {
  font-size: 0.76rem;
  color: var(--brass);
  font-weight: 600;
}
.blog-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 44px;
}

/* ===== Single post ===== */
.post { padding: 170px 0 100px; background: var(--bone); }
.post-container { max-width: 740px; }
.post-back {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.post-back:hover { color: var(--midnight); }
.post h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 14px 0 12px;
}
.post-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.post-cover {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 40px;
}
.post-content p {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 20px;
}
.post-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 14px;
}
.post-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-content code {
  background: var(--bone-dim);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}
.post-cta {
  margin-top: 56px;
  padding: 40px;
  background: var(--midnight);
  border-radius: var(--radius);
  text-align: center;
}
.post-cta h3 { color: var(--bone); font-size: 1.3rem; margin-bottom: 20px; }
/* ===== Responsive ===== */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid { grid-template-columns: repeat(3, 1fr); }
  .vagas-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .diferenciais-img { order: -1; aspect-ratio: 16/9; }
  .orcamento-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .main-nav { 
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--midnight);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vagas-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
  .hero-stats { gap: 28px; }
  .form-row-split { grid-template-columns: 1fr; }
  .orcamento-form { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
