/* ══════════════════════════════════════════════════
   DESIGN SYSTEM — Studio Thaline Vianna
   Paleta: Sage Green #4F6F4F + Warm Taupe #827063
   Estilo: Antigravity + Glassmorphism + 3D CSS
   ══════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* custom cursor */
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── TOKENS ─────────────────────────────────────── */
:root {
  /* Brand */
  --sage:        #4F6F4F;
  --sage-light:  #6B8F6B;
  --sage-pale:   #D4E4D4;
  --sage-ghost:  #EFF6EF;
  --sage-dark:   #344A34;
  --taupe:       #827063;
  --taupe-light: #A49080;
  --taupe-pale:  #E8DDD6;
  --taupe-dark:  #5C4E43;
  --warm-white:  #FAF8F5;
  --warm-cream:  #F4F0EB;

  /* Neutral */
  --n-50:  #FAFAF8;
  --n-100: #F5F4F0;
  --n-200: #E8E6E1;
  --n-300: #D4D1CA;
  --n-400: #A8A49C;
  --n-500: #7A776F;
  --n-600: #56534D;
  --n-700: #3A3834;
  --n-800: #252320;
  --n-900: #141310;

  /* Semantic */
  --c-bg:        var(--warm-white);
  --c-surface:   var(--warm-cream);
  --c-text:      var(--n-800);
  --c-text-soft: var(--n-500);
  --c-border:    var(--n-200);
  --c-primary:   var(--sage);
  --c-primary-d: var(--sage-dark);
  --c-accent:    var(--taupe);

  /* Typography */
  --f-serif: 'DM Serif Display', Georgia, serif;
  --f-sans:  'DM Sans', system-ui, sans-serif;

  /* Space */
  --sec: clamp(5rem, 10vw, 9rem);
  --container: 1200px;

  /* Radius */
  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  40px;
  --r-2xl: 60px;
  --r-full: 9999px;

  /* Shadow */
  --sh-sm:  0 2px 8px rgba(79,111,79,.10);
  --sh-md:  0 8px 32px rgba(79,111,79,.14), 0 2px 8px rgba(0,0,0,.04);
  --sh-lg:  0 24px 64px rgba(79,111,79,.18), 0 8px 24px rgba(0,0,0,.06);
  --sh-xl:  0 40px 100px rgba(79,111,79,.20);

  /* Glassmorphism */
  --glass-bg:     rgba(255,255,255,.55);
  --glass-border: rgba(255,255,255,.70);
  --glass-blur:   blur(20px) saturate(180%);

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── CONTAINER ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section-gap { padding: var(--sec) 0; }

/* ─── TYPOGRAPHY TOKENS ──────────────────────────── */
.section-heading {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 400;
  color: var(--n-800);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--c-text-soft);
  max-width: 50ch;
  line-height: 1.8;
}
.body-text {
  font-size: 1rem;
  color: var(--c-text-soft);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.body-text strong { color: var(--n-700); font-weight: 600; }
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-primary);
  margin-bottom: .9rem;
}
.eyebrow-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.italic-serif { font-style: italic; }
.section-intro { text-align: center; margin-bottom: 4rem; }
.section-intro .section-sub { margin: .75rem auto 0; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .3s var(--ease);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-nav {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
  padding: .6rem 1.4rem;
  font-size: .85rem;
}
.btn-nav:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}
.btn-ghost-hero {
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  padding: .85rem 2rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: all .3s var(--ease);
}
.btn-ghost-hero:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}
.btn-white-solid {
  background: #fff;
  color: var(--sage-dark);
  border-color: #fff;
  font-weight: 700;
  padding: 1rem 2.25rem;
  font-size: 1rem;
}
.btn-white-solid:hover {
  background: var(--sage-ghost);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── GLASS CARD ─────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}

/* ──────────────────────────────────────────────────
   CUSTOM CURSOR
────────────────────────────────────────────────── */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  will-change: transform;
}
.cursor {
  width: 10px;
  height: 10px;
  background: var(--sage);
  top: -5px;
  left: -5px;
  transition: width .2s, height .2s, background .2s;
}
.cursor-follower {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1.5px solid var(--sage);
  top: -18px;
  left: -18px;
  transition: transform .12s linear;
  opacity: .6;
}
body.cursor-hover .cursor {
  width: 20px;
  height: 20px;
  background: var(--taupe);
}
@media (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ──────────────────────────────────────────────────
   PRELOADER
────────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: pulseLogo 2s ease-in-out infinite alternate;
}
@keyframes pulseLogo {
  0% { transform: scale(0.92); opacity: 0.85; filter: drop-shadow(0 0 10px rgba(107,143,107,0.3)); }
  100% { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 0 25px rgba(212,228,212,0.85)); }
}
.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: var(--sage-pale);
  border-radius: 2px;
  width: 0;
  transition: width .05s linear;
}
.preloader-text {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────
   HEADER
────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all .4s var(--ease);
}
.header.scrolled {
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(79,111,79,.12);
  padding: .85rem 0;
  box-shadow: 0 2px 24px rgba(79,111,79,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
/* Logo */
.logo { display: flex; align-items: center; gap: .85rem; }
.logo-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
  transition: transform .35s var(--ease);
}
.logo:hover .logo-icon-img {
  transform: scale(1.1) rotate(5deg);
}
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color .3s;
}
.logo-tagline {
  font-size: .65rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
  transition: color .3s;
}
.header.scrolled .logo-name { color: var(--n-800); }
.header.scrolled .logo-tagline { color: var(--n-500); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.80);
  position: relative;
  padding-bottom: 2px;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0;
  height: 1.5px;
  background: var(--sage-pale);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.header.scrolled .nav-link { color: var(--n-600); }
.header.scrolled .nav-link::after { background: var(--sage); }
.header.scrolled .nav-link:hover { color: var(--sage); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.h-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.header.scrolled .h-line { background: var(--n-700); }
.hamburger.open .h1 { transform: translateY(7px) rotate(45deg); }
.hamburger.open .h2 { opacity: 0; transform: scaleX(0); }
.hamburger.open .h3 { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -110%;
    bottom: 0;
    width: min(340px, 92vw);
    background: var(--warm-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2.5rem;
    gap: 1.75rem;
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
    transition: right .4s var(--ease);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link { color: var(--n-700); font-size: 1.2rem; }
  .nav-link::after { background: var(--sage); }
  .nav-link:hover { color: var(--sage); }
  .btn-nav { margin-top: .5rem; }
}

/* ──────────────────────────────────────────────────
   HERO
────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sage-dark);
}
/* Three.js canvas */
#hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
/* Parallax image */
.hero-bg-image {
  position: absolute;
  inset: -10%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: .3;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(52,74,52,.92) 0%,
    rgba(79,111,79,.80) 40%,
    rgba(130,112,99,.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 8rem;
  padding-bottom: 7rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-full);
  padding: .45rem 1.2rem;
  color: rgba(255,255,255,.88);
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 2.25rem;
  opacity: 0;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8BC88B;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(139,200,139,.4); }
  50% { box-shadow: 0 0 0 6px rgba(139,200,139,0); }
}
.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.75rem;
  opacity: 0;
}
.hero-title .line { display: block; }
.hero-title .italic-serif { color: var(--taupe-pale); font-style: italic; }
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 54ch;
  line-height: 1.85;
  margin-bottom: 2.75rem;
  opacity: 0;
}
.hero-desc strong { color: #fff; }
.hero-desc em { color: var(--taupe-pale); font-style: normal; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  opacity: 0;
}
/* Stats glassmorphism */
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}
.stat-pill {
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 100px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .3s var(--ease);
}
.stat-pill:hover { transform: translateY(-4px) scale(1.03); }
.stat-num {
  font-family: var(--f-serif);
  font-size: 1.75rem;
  color: #fff;
  line-height: 1;
  font-weight: 400;
}
.stat-lbl {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,.7);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: 0; }
}

/* ──────────────────────────────────────────────────
   MARQUEE BAND
────────────────────────────────────────────────── */
.marquee-band {
  background: var(--sage);
  overflow: hidden;
  padding: .9rem 0;
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  /* Animação de rolagem contínua controlada via GSAP no main.js */
}
.marquee-track span {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  flex-shrink: 0;
}
.marquee-track .sep { color: rgba(255,255,255,.4); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────
   SOBRE
────────────────────────────────────────────────── */
.sobre { background: var(--warm-white); }
.sobre-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 800px) {
  .sobre-layout { grid-template-columns: 1fr; }
}

.sobre-visual { position: relative; }
.sobre-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.sobre-img {
  width: 100%;
  height: clamp(380px, 55vw, 580px);
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--sage-pale);
}
.sobre-img-frame {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--r-xl) + 3px);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--sage), var(--taupe)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
/* Floating credential cards */
.cred-card {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  z-index: 5;
  min-width: 200px;
}
.cred-card strong { display: block; font-size: .9rem; color: var(--n-800); font-weight: 600; }
.cred-card p { font-size: .78rem; color: var(--n-500); margin: 0; }
.cred-icon {
  width: 38px; height: 38px;
  background: var(--sage);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.rating-card {
  position: absolute;
  top: 2rem;
  left: -2rem;
  padding: .85rem 1.25rem;
  z-index: 5;
  text-align: center;
}
.stars-row { font-size: 1rem; color: #D4A017; margin-bottom: .2rem; }
.rating-card p { font-size: .75rem; color: var(--n-500); }
@media (max-width: 800px) {
  .cred-card { right: 1rem; }
  .rating-card { left: 1rem; }
}

.sobre-text-col { max-width: 500px; }
.sobre-text-col .section-heading { margin-bottom: 1rem; }
.sobre-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--sage), var(--taupe));
  border-radius: 2px;
  margin-bottom: 1.75rem;
}
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.75rem 0;
}
.exp-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1rem;
  background: var(--warm-cream);
  border-radius: var(--r-md);
  border: 1px solid var(--n-200);
  font-size: .88rem;
  font-weight: 500;
  color: var(--n-700);
  transition: all .25s;
}
.exp-item:hover { background: var(--sage-ghost); border-color: var(--sage-pale); }
.exp-icon { font-size: 1.1rem; }

/* ──────────────────────────────────────────────────
   SERVIÇOS
────────────────────────────────────────────────── */
.servicos {
  background: var(--warm-cream);
  position: relative;
  overflow: hidden;
}
.servicos-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--sage-pale);
  top: -200px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--taupe-pale);
  bottom: -150px; left: -100px;
}
.servicos-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 900px) { .servicos-grid { grid-template-columns: 1fr; } }

/* ─── Card 3D (Antigravity) ─────────────────────── */
.servico-card {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--n-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
  transform-style: preserve-3d;
  cursor: none;
}
.servico-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: var(--sh-xl);
  border-color: var(--sage-pale);
}
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,111,79,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
  pointer-events: none;
}
.servico-card:hover .card-glow { opacity: 1; }
.card-featured {
  background: linear-gradient(160deg, var(--sage-dark) 0%, var(--sage) 100%);
  border-color: var(--sage);
}
.card-featured .card-body h3,
.card-featured .card-body p,
.card-featured .card-list li { color: rgba(255,255,255,.88); }
.card-featured .card-body h3 { color: #fff; }
.card-featured .card-list li::before { background: rgba(255,255,255,.5); }
.card-featured .card-cta { color: #fff; border-color: rgba(255,255,255,.4); }
.card-featured .card-cta:hover { background: rgba(255,255,255,.15); }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 0;
  position: relative;
  z-index: 1;
}
.card-num {
  font-family: var(--f-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--sage-pale);
  line-height: 1;
  opacity: .5;
}
.card-featured .card-num { color: rgba(255,255,255,.25); }
.card-badge {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--taupe);
  color: #fff;
  padding: .3rem .85rem;
  border-radius: var(--r-full);
}
.card-icon-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  margin: 1rem 0 0;
}
.card-icon-solid {
  background: var(--sage-ghost);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-placeholder { font-size: 4rem; }
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.servico-card:hover .card-img { transform: scale(1.05); }
.card-icon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3) 0%, transparent 60%);
}
.card-featured .card-icon-overlay { display: none; }
.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.card-body h3 {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--n-800);
}
.card-body p { font-size: .92rem; color: var(--n-500); line-height: 1.75; }
.card-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.card-list li {
  font-size: .88rem;
  color: var(--n-600);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.card-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--sage);
  padding: .65rem 0;
  border-top: 1px solid var(--n-200);
  transition: all .25s;
  margin-top: .5rem;
}
.card-cta:hover { gap: 1rem; color: var(--sage-dark); }

/* ──────────────────────────────────────────────────
   DIFERENCIAIS — Bento Grid
────────────────────────────────────────────────── */
.diferenciais { background: var(--warm-white); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-large,
  .bento-top-right,
  .bento-wellhub,
  .bento-integrativa,
  .bento-acolhedor,
  .bento-full {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
  }
  .bento-large {
    min-height: 250px;
  }
}

.bento-cell {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  background: var(--warm-cream);
  border: 1px solid var(--n-200);
  box-sizing: border-box; /* garante que padding/border não causem overflow */
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.bento-cell:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--sh-lg);
}
.bento-large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 380px;
}
.bento-top-right {
  grid-column: 3;
  grid-row: 1;
}
.bento-wellhub {
  grid-column: 3;
  grid-row: 2;
}
.bento-integrativa {
  grid-column: 1;
  grid-row: 3;
}
.bento-acolhedor {
  grid-column: 2 / 4;
  grid-row: 3;
}
.bento-full {
  grid-column: 1 / -1;
  grid-row: 4;
}

.bento-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  transition: opacity .4s, transform .6s var(--ease);
}
.bento-cell:hover .bento-bg-img { opacity: .5; transform: scale(1.05); }
.bento-content {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .6rem;
}
.bento-content-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.bento-icon {
  font-size: 2rem;
  margin-bottom: .25rem;
}
.bento-star {
  font-size: 1.1rem;
  color: #D4A017;
  letter-spacing: 2px;
}
.bento-content h3 {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--n-800);
}
.bento-content p { font-size: .9rem; color: var(--n-600); line-height: 1.65; }
.bento-sage {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
}
.bento-sage .bento-content h3,
.bento-sage .bento-content p { color: rgba(255,255,255,.92); }
.bento-warm {
  background: linear-gradient(135deg, var(--taupe-dark), var(--taupe));
}
.bento-warm .bento-content h3,
.bento-warm .bento-content p { color: rgba(255,255,255,.92); }

/* ──────────────────────────────────────────────────
   GALERIA
────────────────────────────────────────────────── */
.galeria { background: var(--n-900); }
.galeria .section-heading { color: #fff; }
.galeria .eyebrow-tag { color: var(--sage-pale); }
.galeria .eyebrow-tag::before { background: var(--sage-pale); }
.galeria .section-sub { color: rgba(255,255,255,.55); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 1.25rem;
}
.gal-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}
.gal-item:hover img { transform: scale(1.08); }
.gal-item-wide { grid-column: span 2; }

@media (max-width: 900px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .gal-item-wide { grid-column: span 2; }
}
@media (max-width: 580px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gal-item-wide { grid-column: span 1; }
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,42,30,.85) 0%, rgba(30,42,30,.2) 50%, transparent 80%);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span {
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* ──────────────────────────────────────────────────
   CTA BANNER
────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}
.cta-parallax {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52,74,52,.92) 0%, rgba(130,112,99,.85) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.cta-overline {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.cta-title {
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.cta-title em { color: var(--taupe-pale); font-style: italic; }
.cta-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ──────────────────────────────────────────────────
   HORÁRIOS
────────────────────────────────────────────────── */
.horarios { background: var(--warm-cream); }
.horarios-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 800px) { .horarios-layout { grid-template-columns: 1fr; } }
.horarios-left { max-width: 400px; }
.horarios-left .section-heading { margin-bottom: 1rem; }
.horarios-left .body-text { margin-bottom: 2rem; }

.schedule-list { display: flex; flex-direction: column; gap: .85rem; }
.schedule-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--warm-white);
  border: 1px solid var(--n-200);
  transition: all .25s;
  position: relative;
}
.schedule-row:hover { border-color: var(--sage-pale); box-shadow: var(--sh-sm); }
.schedule-row.highlight {
  background: linear-gradient(135deg, var(--sage-ghost), #fff);
  border-color: var(--sage-pale);
}
.schedule-row.closed { opacity: .45; }
.sched-day {
  font-size: .88rem;
  font-weight: 600;
  color: var(--n-700);
}
.sched-bar {
  height: 6px;
  background: var(--n-200);
  border-radius: 3px;
  overflow: hidden;
}
.sched-fill {
  height: 100%;
  background: linear-gradient(to right, var(--sage), var(--taupe));
  border-radius: 3px;
  width: var(--w);
  transition: width .8s var(--ease) .3s;
  width: 0; /* starts at 0, animated by JS */
}
.sched-time {
  font-size: .82rem;
  color: var(--n-500);
  font-weight: 500;
  white-space: nowrap;
}
.closed-label { color: var(--n-400); }

/* Today highlight */
.schedule-row.today-row {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79,111,79,.12);
}
.schedule-row.today-row .sched-day { color: var(--sage-dark); }
.today-badge {
  position: absolute;
  top: -.65rem;
  left: 1rem;
  font-size: .65rem;
  font-weight: 700;
  background: var(--sage);
  color: #fff;
  padding: .15rem .6rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ──────────────────────────────────────────────────
   LOCALIZAÇÃO
────────────────────────────────────────────────── */
.localizacao { background: var(--warm-white); }
.loc-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 800px) { .loc-layout { grid-template-columns: 1fr; } }

.loc-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.loc-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.loc-icon-wrap {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  background: var(--sage-ghost);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.loc-row strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--n-400);
  margin-bottom: .3rem;
}
.loc-row p { font-size: .9rem; color: var(--n-600); line-height: 1.65; margin: 0; }
.loc-row a { color: var(--sage); font-weight: 600; }
.loc-row a:hover { color: var(--sage-dark); text-decoration: underline; }

.map-wrap {
  height: 420px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1.5px solid var(--n-200);
  box-shadow: var(--sh-md);
}
.map-wrap iframe { display: block; height: 100%; }

/* ──────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────── */
.footer { background: var(--n-900); }
.footer-top { padding: 5rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-top-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top-grid { grid-template-columns: 1fr; } }

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  transition: transform .3s var(--ease);
}
.footer-logo-link:hover {
  transform: translateY(-2px);
}
.footer-logo-img {
  max-width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-mark { color: var(--sage-pale); }
.footer-brand .logo-tagline { color: rgba(255,255,255,.4); }
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.social-row { display: flex; gap: .65rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all .25s;
}
.social-btn:hover { background: var(--sage); color: #fff; border-color: var(--sage); transform: translateY(-2px); }

.footer-col h5 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.38);
  transition: color .2s;
}
.footer-col a:hover { color: var(--sage-pale); }
.footer-contact-col p {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.65;
  margin-bottom: .75rem;
}
.footer-contact-col a { color: var(--sage-pale); font-weight: 500; }
.wellhub-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(79,111,79,.25);
  color: var(--sage-pale);
  border: 1px solid rgba(79,111,79,.4);
  padding: .35rem .9rem;
  border-radius: var(--r-full);
}
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom-inner p {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}

/* ──────────────────────────────────────────────────
   WHATSAPP FLOAT
────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-full);
  padding: .85rem 1.4rem .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  transition: all .3s var(--ease-bounce);
  transform: translateY(0);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 48px rgba(37,211,102,.5);
}
.wa-label { white-space: nowrap; }
@media (max-width: 540px) {
  .wa-float { padding: .85rem; border-radius: 50%; }
  .wa-label { display: none; }
}

/* ──────────────────────────────────────────────────
   GSAP INITIAL STATES (overridden by JS)
────────────────────────────────────────────────── */
[data-gsap="slide-left"]  { opacity: 0; transform: translateX(-50px); }
[data-gsap="slide-right"] { opacity: 0; transform: translateX(50px); }
[data-gsap="fade-up"]     { opacity: 0; transform: translateY(40px); }
[data-gsap="float-up"]    { opacity: 0; transform: translateY(24px); }
[data-gsap="card-in"]     { opacity: 0; transform: translateY(50px) scale(.96); }
[data-gsap="bento-in"]    { opacity: 0; transform: translateY(35px); }
[data-gsap="gal-in"]      { opacity: 0; transform: scale(.94); }

/* ──────────────────────────────────────────────────
   REDUCED MOTION
────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-gsap] { opacity: 1 !important; transform: none !important; }
}
