/* === SERVICES === */
.services {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: var(--cream);
}
.services-head {
  max-width: var(--max);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.services-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
}
.services-title em { font-style: italic; color: var(--clay); }
.services-intro {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.78;
}

.services-list {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 80px 1.1fr 1.5fr 200px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  transition: padding 0.3s ease, background 0.3s ease;
  position: relative;
}
.service:hover {
  padding-left: 16px;
  padding-right: 16px;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(to right, transparent, rgba(184,112,78,0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service-num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--sage);
  letter-spacing: 0;
  padding-top: 4px;
}
.service-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
}
.service-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
  padding-top: 6px;
  max-width: 460px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  justify-content: flex-end;
}
.service-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--mute);
}

@media (max-width: 1000px) {
  .service { grid-template-columns: 60px 1fr; }
  .service-desc, .service-tags { grid-column: 2; }
  .service-tags { justify-content: flex-start; }
  .services-head { grid-template-columns: 1fr; gap: 30px; }
}

/* === JOURNEY === */
.journey {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: var(--ink-soft);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 90% 10%, rgba(184,112,78,0.15), transparent 60%),
    radial-gradient(600px 400px at 5% 100%, rgba(168,179,164,0.12), transparent 60%);
  pointer-events: none;
}
.journey-head {
  max-width: var(--max);
  margin: 0 auto 80px;
  position: relative;
}
.journey-head .section-eyebrow { color: var(--sage-light); }
.journey-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 900px;
}
.journey-title em { font-style: italic; color: var(--clay); }
.journey-steps {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.step {
  border-top: 1px solid rgba(245,239,228,0.18);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--sage-light);
  letter-spacing: 0.12em;
}
.step-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}
@media (max-width: 560px) {
  .journey-steps { grid-template-columns: 1fr; }
}

/* === TEAM === */
.team {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: var(--paper);
}
.team-head {
  max-width: var(--max);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.team-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
}
.team-title em { font-style: italic; color: var(--clay); }
.team-intro {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.78;
}
.team-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.member {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.member-photo {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(165,112,69,0.22), transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(52,77,93,0.18), transparent 65%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-warm) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.member-photo::after {
  content: "";
  position: absolute;
  left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  width: 42%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(52,77,93,0.18);
}
.member-photo image-slot {
  width: 100%; height: 100%;
  border-radius: 4px;
}
.member-name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.member-role {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.7;
}
.member-crm {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-head { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* === LOCATIONS === */
.locations {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: var(--cream);
}
.locations-head {
  max-width: var(--max);
  margin: 0 auto 64px;
}
.locations-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
}
.locations-title em { font-style: italic; color: var(--clay); }
.locations-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.location {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.location-img {
  aspect-ratio: 16/10;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(165,112,69,0.28), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(52,77,93,0.22), transparent 60%),
    linear-gradient(145deg, var(--paper) 0%, var(--paper-warm) 100%);
  position: relative;
  overflow: hidden;
}
.location-img image-slot {
  width: 100%; height: 100%;
}
.location-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.location-city {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}
.location-name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink-soft);
}
.location-address {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.78;
}
.location-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.location-phone { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }

@media (max-width: 800px) {
  .locations-grid { grid-template-columns: 1fr; }
}

/* === CTA === */
.cta {
  padding: clamp(80px, 14vw, 180px) var(--pad);
  background: var(--cream);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-eyebrow { justify-content: center; }
.cta-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink-soft);
  max-width: 1100px;
  margin: 0 auto;
}
.cta-title em { font-style: italic; color: var(--clay); }
.cta-sub {
  margin: 30px auto 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.78;
}
.cta-actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  padding: 80px var(--pad) 28px;
  background: var(--ink-soft);
  color: var(--cream);
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,239,228,0.16);
}
.footer-brand-img {
  width: 220px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 56px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.footer-brand .dot { color: var(--clay); }
.footer-tag {
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.72;
  max-width: 360px;
  line-height: 1.55;
}
.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245,239,228,0.22);
  border-radius: 50%;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { opacity: 1; border-color: rgba(245,239,228,0.5); background: rgba(245,239,228,0.06); }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 400;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.footer-col a, .footer-col li {
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 0.2s;
  line-height: 1.5;
}
.footer-col a:hover { opacity: 1; }
.footer-col address {
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
  opacity: 0.78;
}
.footer-col address strong {
  font-weight: 500;
  display: inline-block;
  margin-bottom: 6px;
}
.footer-col address a { color: inherit; }
.footer-col address a:hover { opacity: 1; color: var(--paper); }
.footer-cnpj {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.footer-legal {
  max-width: var(--max);
  margin: 24px auto 0;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.55;
  font-style: italic;
  max-width: 760px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(245,239,228,0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.7;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: inherit;
  opacity: 0.9;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.footer-bottom a:hover { opacity: 1; border-bottom-color: currentColor; }
.footer-links .sep { margin: 0 10px; opacity: 0.5; }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-cell { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-cell { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 95;
  padding: 16px;
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  pointer-events: auto;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--ink-soft);
  color: var(--cream);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  animation: cookieIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes cookieIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner-inner p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
  opacity: 0.88;
}
.cookie-banner-inner a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-primary, .cookie-btn-secondary {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--clay);
  color: var(--cream);
}
.cookie-btn-primary:hover { background: var(--clay-deep); }
.cookie-btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,239,228,0.32);
}
.cookie-btn-secondary:hover { background: rgba(245,239,228,0.08); border-color: rgba(245,239,228,0.55); }
@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; padding: 18px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn-primary, .cookie-btn-secondary { flex: 1; }
}

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.service.reveal { transition-delay: 0s; }
.service.in { opacity: 1; }
.step.reveal { transition-delay: 0.05s; }
.member.reveal { transition-delay: 0.05s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { transition: none; transform: none; opacity: 1; }
}

/* === BRAND WAVE === */
.brand-wave {
  display: block;
  width: 100%;
  height: 56px;
  margin: 0;
  color: var(--ink-soft);
  opacity: 0.55;
  pointer-events: none;
}
.brand-wave svg { width: 100%; height: 100%; display: block; }
.brand-wave.in-hero {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  opacity: 0.18;
  height: 80px;
}

/* === image-slot defaults === */
image-slot {
  --is-bg: var(--paper-warm);
  --is-fg: var(--mute);
  display: block;
  width: 100%;
  height: 100%;
}

/* === Tweaks-driven variations === */
.no-italic-accent .hero-title em,
.no-italic-accent .manifesto-title em,
.no-italic-accent .services-title em,
.no-italic-accent .journey-title em,
.no-italic-accent .team-title em,
.no-italic-accent .locations-title em,
.no-italic-accent .cta-title em,
.no-italic-accent .serif-italic {
  font-style: normal;
}

/* Accent intensity */
:root { --accent-intensity: 1; }
.hero-title em, .manifesto-title em, .services-title em, .journey-title em,
.team-title em, .locations-title em, .cta-title em, .serif-italic {
  color: color-mix(in oklch, var(--clay) calc(var(--accent-intensity) * 100%), var(--ink-soft));
}

/* Dark mode */
body.is-dark { background: var(--cream); color: var(--ink); }
body.is-dark .nav.scrolled { background: rgba(14,22,20,0.85); }
body.is-dark .nav-cta { border-color: var(--ink); color: var(--ink); }
body.is-dark .nav-cta:hover { background: var(--ink); color: var(--cream); }
body.is-dark .btn-primary { background: var(--clay); color: var(--cream); }
body.is-dark .btn-primary:hover { background: var(--clay-deep); }
body.is-dark .btn-ghost { border-bottom-color: var(--ink); }
body.is-dark .service-tag { color: var(--ink); opacity: 0.7; border-color: var(--line-strong); }
body.is-dark .stat-num, body.is-dark .hero-title, body.is-dark .manifesto-title,
body.is-dark .services-title, body.is-dark .team-title, body.is-dark .locations-title,
body.is-dark .cta-title, body.is-dark .member-name, body.is-dark .location-name,
body.is-dark .step-title, body.is-dark .journey-title, body.is-dark .service-title,
body.is-dark .manifesto-body .lead {
  color: var(--ink);
}
body.is-dark .manifesto, body.is-dark .team, body.is-dark .location { background: var(--paper); }
body.is-dark .footer { background: var(--paper-warm); }
body.is-dark .journey { background: var(--paper); }
body.is-dark .manifesto-cta, body.is-dark .btn-ghost { color: var(--ink); }
body.is-dark .hero::before {
  background:
    radial-gradient(800px 600px at 85% 20%, rgba(201,164,90,0.10), transparent 60%),
    radial-gradient(600px 500px at 10% 90%, rgba(124,148,137,0.10), transparent 60%);
}


/* === WHATSAPP FLOAT (WP theme only) === */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35), 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 32px rgba(37,211,102,0.45), 0 4px 10px rgba(0,0,0,0.18); }
.wa-float svg { display: block; }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } .wa-float svg { width: 24px; height: 24px; } }
