/* ============================================================
   HERO SLIDESHOW MOBILE
   Imagens retrato 1080×1920 — visíveis apenas em mobile (≤768px)
   Oculto em desktop (o slideshow normal fica visível)
   ============================================================ */
.hero-slideshow-mobile {
  display: none; /* oculto por padrão (desktop) */
}

@media (max-width: 768px) {
  /* Oculta slideshow desktop, exibe mobile */
  .hero-slideshow:not(.hero-slideshow-mobile) {
    display: none;
  }
  .hero-slideshow-mobile {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
}

/* ============================================================
   HOLE IN ONE — style.css
   Quiet Luxury / Clean — Refatoração completa
   ============================================================ */

:root {
  --color-bg:          #2a4227;
  --color-bg-deep:     #1c2e19;
  --color-gold:        #c6a46c;
  --color-gold-light:  #dfc08e;
  --color-gold-dim:    rgba(198, 164, 108, 0.15);
  --color-gold-border: rgba(198, 164, 108, 0.30);
  --color-text:        #f0ece5;
  --color-text-soft:   rgba(240, 236, 229, 0.72);
  --color-text-muted:  rgba(240, 236, 229, 0.42);
  --color-border-soft: rgba(255, 255, 255, 0.06);
  --color-moss:        #45603f;
  --color-moss-light:  rgba(69, 96, 63, 0.20);
  --color-sage:        #8aaa82;
  --color-sage-light:  rgba(138, 170, 130, 0.18);
  --color-cream:       #fbfce4;
  --color-cream-light: #fdfee8;
  --radius-lg:   20px;
  --radius-md:   12px;
  --radius-pill: 50px;
  --container:   1180px;
  --transition:  0.4s ease;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   CURSOR PERSONALIZADO
   ============================================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
  top: 0; left: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.cursor.visible { opacity: 1; }
.cursor.hover   { transform: translate(-50%, -50%) scale(2.8); }

/* ============================================================
   BOTÃO WHATSAPP FLUTUANTE
   Semitransparente com backdrop-filter — opacidade plena no hover
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Semitransparente por padrão */
  background: rgba(37, 211, 102, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: rgba(255,255,255,0.70);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  opacity: 0.65;
  transition: background var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float svg { width: 24px; height: 24px; }
.whatsapp-float:hover {
  background: #25D366;
  color: #fff;
  opacity: 1;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   LOADER PREMIUM
   ============================================================ */
body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.loader-bg {
  position: absolute;
  inset: 0;
  background: #1c2e19;
  transition: opacity 0.3s ease 0.75s;
}
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: loaderContentIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.loader-logo-wrap {
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.loader-logo-wrap::before {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--color-gold-border);
  animation: loaderRing 2s linear infinite;
}
.loader-logo-wrap::after {
  content: '';
  position: absolute; inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(198,164,108,0.10);
  animation: loaderRing 3s linear infinite reverse;
}
.loader-logo {
  width: 82px; height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(198,164,108,0.4));
  animation: loaderLogoPulse 2s ease-in-out infinite;
}
.loader-line-wrap {
  width: 180px; height: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
}
.loader-line {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  animation: loaderProgress 1.6s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}
.loader-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.65;
}
.loader-curtain {
  position: absolute; left: 0; right: 0; height: 50%;
  background: #1c2e19; z-index: 3;
  transform: translateY(0);
  transition: transform 0.75s cubic-bezier(0.76,0,0.24,1) 0.15s;
}
.loader-curtain-top    { top: 0; }
.loader-curtain-bottom { bottom: 0; }
.loader-done .loader-content          { animation: loaderContentOut 0.35s ease forwards; }
.loader-done .loader-curtain-top      { transform: translateY(-100%); }
.loader-done .loader-curtain-bottom   { transform: translateY(100%); }
.loader-done .loader-bg               { opacity: 0; }

@keyframes loaderContentIn   { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes loaderContentOut  { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(-10px); } }
@keyframes loaderProgress    { 0%{width:0%} 40%{width:55%} 80%{width:88%} 100%{width:100%} }
@keyframes loaderRing        { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes loaderLogoPulse   { 0%,100%{filter:drop-shadow(0 0 14px rgba(198,164,108,.35))} 50%{filter:drop-shadow(0 0 26px rgba(198,164,108,.6))} }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* ============================================================
   HEADER FLUTUANTE
   ============================================================ */
.header {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--container));
  z-index: 200;
  transition: top var(--transition), background var(--transition), box-shadow var(--transition);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 10px 10px;
  border-radius: var(--radius-pill);
  background: rgba(45,74,42,0.65);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--color-border-soft);
  box-shadow: 0 8px 40px rgba(0,0,0,0.40);
  transition: background var(--transition), box-shadow var(--transition);
}
.header-scrolled .header-inner {
  background: rgba(40,66,36,0.94);
  box-shadow: 0 12px 50px rgba(0,0,0,0.55);
}
.brand { display:flex; align-items:center; text-decoration:none; flex-shrink:0; }
.brand-logo { height: 68px; width: auto; display: block; }

/* NAV DESKTOP */
.nav-list {
  display: flex; gap: 4px;
  list-style: none; align-items: center;
}
.nav-list a {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-gold-border);
  color: var(--color-text-soft);
  text-decoration: none;
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.04em;
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-list a:hover {
  background: var(--color-gold); color: #0e1c11;
  border-color: var(--color-gold);
}

/* HAMBÚRGUER — escondido em desktop, visível em mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   DROPDOWN DESKTOP
   ============================================================ */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-gold-border);
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.04em;
  background: transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  background: var(--color-gold); color: #0e1c11; border-color: var(--color-gold);
}
.nav-arrow {
  display: inline-block; font-size: 0.6rem;
  transition: transform 0.3s ease; transform-origin: center;
}
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  min-width: 170px; list-style: none;
  background: rgba(45,72,40,0.97);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden; z-index: 300;
  max-height: 0; opacity: 0; pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease;
}
.nav-dropdown.open .nav-dropdown-menu { max-height: 220px; opacity: 1; pointer-events: all; }
.nav-dropdown-menu li { border-bottom: 1px solid rgba(198,164,108,0.09); }
.nav-dropdown-menu li:last-child { border-bottom: none; }
.nav-dropdown-menu a {
  display: block; padding: 11px 18px;
  color: var(--color-text-soft); text-decoration: none;
  font-size: 0.80rem; font-weight: 400;
  background: transparent; border: none; border-radius: 0;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--color-gold); background: rgba(198,164,108,0.07); }

/* ============================================================
   MENU MOBILE OVERLAY
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(35,56,30,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* Estado fechado */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.40s ease, transform 0.40s cubic-bezier(0.22,1,0.36,1);
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-nav-list {
  list-style: none;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 32px;
  margin-bottom: 40px;
}
.mobile-nav-list > li > a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text-soft);
  text-decoration: none;
  text-align: center;
  padding: 12px 0;
  transition: color var(--transition);
  border-bottom: 1px solid var(--color-border-soft);
  width: 100%;
}
.mobile-nav-list > li > a:hover { color: var(--color-gold); }
.mobile-group { width: 100%; text-align: center; }
.mobile-group-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-group ul {
  list-style: none;
  display: flex; gap: 20px;
  justify-content: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-group ul a {
  font-size: 0.9rem; font-weight: 400;
  color: var(--color-gold); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: opacity var(--transition);
}
.mobile-group ul a:hover { opacity: 0.7; }
.mobile-cta { display: flex; justify-content: center; }

/* ============================================================
   HERO — Slideshow Crossfade
   ============================================================ */
.hero {
  position: relative;
  /* min-height garante altura mínima; aspect-ratio reserva espaço antes da imagem (evita CLS no desktop) */
  aspect-ratio: 16 / 9;
  min-height: 100vh;
  /* background-color fallback enquanto a imagem LCP não carrega */
  background-color: #2a4227;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* ── Slideshow ─────────────────────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4,0,0.2,1);
  transform: scale(1.04);
  overflow: hidden;
}
.hero-slide.active { opacity: 1; }

/* Imagens dentro de <picture> ocupam todo o slide */
.hero-slide picture {
  display: block;
  position: absolute;
  inset: 0;
}
.hero-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/*
 * ── SLIDESHOW: ADICIONE OS LINKS DAS FOTOS ABAIXO ──────────
 * As imagens agora são carregadas via <picture> no HTML.
 * Os background-image abaixo servem como fallback CSS extra.
 */

/* FALLBACK CSS — Slide 1 */
.slide-1 { background-image: url("Design sem nome.png"); }

/* FALLBACK CSS — Slide 2 */
.slide-2 { background-image: url("[HIO] Site.png"); }

/* FALLBACK CSS — Slide 3 */
.slide-3 { background-image: url("Golfe.png"); background-position: center 30%; }

/* ── Overlay e grain ───────────────────────── */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.06) 0%,
    rgba(20,40,16,0.32) 55%,
    rgba(20,40,16,0.70) 100%
  );
  z-index: 1;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.07; pointer-events: none; z-index: 2;
}

/* ── Conteúdo hero ─────────────────────────── */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Animação fade-in + slide-up após loader */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.hero-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 22px;
  opacity: 1;
  text-shadow: 0 1px 10px rgba(0,0,0,0.85), 0 0 28px rgba(0,0,0,0.60);
  border: 1px solid rgba(198,164,108,0.35);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: rgba(198,164,108,0.08);
  backdrop-filter: blur(6px);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 0;
  text-shadow:
    0 1px 5px rgba(0,0,0,0.38),
    0 2px 16px rgba(0,0,0,0.18);
}

.hero-text {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1.02rem; line-height: 1.78;
  color: var(--color-text-soft);
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0,0,0,0.60), 0 2px 14px rgba(0,0,0,0.35);
}

.hero-actions {
  display: flex; gap: 14px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  margin-top: 56px;
  color: var(--color-gold);
  font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: heroScrollPulse 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}
@keyframes heroScrollPulse {
  0%,100% { opacity:0.45; transform:translateY(0); }
  50%      { opacity:0.9;  transform:translateY(6px); }
}

/* Dots do slideshow */
.slideshow-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; gap: 10px;
}
.dot {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.28);
  border: none; border-radius: 2px;
  cursor: pointer; padding: 0;
  transition: background var(--transition), width var(--transition);
}
.dot.active {
  background: var(--color-gold);
  width: 44px;
}

/* ── Hero badge ───────────────────────────── */
.hero-badge {
  position: absolute;
  bottom: -35px;
  left: calc((100% - min(calc(100% - 40px), var(--container))) / 2 + 40px);
  width: 252px; height: 70px;
  z-index: 10;
  display: flex; align-items: center; gap: 14px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  background: rgba(45,74,42,0.90);
  border: 1px solid var(--color-gold-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  animation: badgeIn 1s cubic-bezier(0.22,1,0.36,1) 0.8s both;
  text-decoration: none;
}
.hero-badge::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}
.hero-badge-icon { color: var(--color-gold); flex-shrink: 0; width: 20px; height: 20px; }
.hero-badge-icon svg { width: 100%; height: 100%; }
.hero-badge-text { display:flex; flex-direction:column; gap: 2px; overflow:hidden; }
.hero-badge-label {
  font-size: 0.60rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-gold); opacity: 0.7; white-space: nowrap;
}
.hero-badge-value {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--color-text); white-space: nowrap; line-height: 1.2;
}
@keyframes badgeIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.05em;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--color-gold); color: #0e1c11;
  box-shadow: 0 4px 20px rgba(198,164,108,0.35);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(198,164,108,0.50);
}
.btn-ghost {
  background: rgba(255,255,255,0.10); color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.20);
  border-color: var(--color-gold); color: var(--color-gold-light);
  transform: translateY(-3px);
}
.btn-secondary {
  border: 1px solid var(--color-moss); color: var(--color-sage);
  background: var(--color-moss-light);
}
.btn-secondary:hover {
  background: var(--color-moss); color: #fff;
  transform: translateY(-3px);
}
.btn-whatsapp {
  background: rgba(37,211,102,0.15); color: #5ddb86;
  border: 1px solid rgba(37,211,102,0.35);
  backdrop-filter: blur(8px);
}
.btn-whatsapp:hover {
  background: #25D366; color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.40);
}

/* ============================================================
   SECTIONS — base
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section-image { position: relative; }

.section-banner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.section-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,74,40,0.60) 0%, rgba(32,58,26,0.80) 100%);
}
.section-overlay-soft { background: linear-gradient(135deg, rgba(45,74,40,0.40) 0%, rgba(32,58,26,0.62) 100%); }
.section-overlay-strong { background: linear-gradient(135deg, rgba(26,46,22,0.88) 0%, rgba(18,30,14,0.96) 100%); }
.section-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.06; pointer-events: none;
}

/* Section tag + intro */
.section-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: 16px; opacity: 0.80;
}
.section-intro { margin-bottom: 64px; }
.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600; line-height: 1.18;
  color: var(--color-text);
}
.section-intro-text {
  max-width: 560px; margin-top: 18px;
  font-size: 1rem; line-height: 1.78;
  color: var(--color-text-soft);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  padding: 48px 0;
  background: #45603f;
  border-top: 1px solid rgba(251, 252, 228, 0.28);
  border-bottom: 1px solid rgba(251, 252, 228, 0.28);
}
.stats-grid {
  display: flex; align-items: center;
  justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 16px 48px; flex: 1; min-width: 160px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; color: var(--color-gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-muted);
  font-weight: 400;
}
.stat-divider {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--color-gold-border), transparent);
  flex-shrink: 0;
}

/* ============================================================
   NOSSA HISTÓRIA
   ============================================================ */
#posicionamento {
  padding-top: 120px;
  border-top: 1px solid rgba(198,164,108,0.12);
  background: #45603f;
}
.historia-overlay {
  background: linear-gradient(135deg, rgba(30,52,26,0.50) 0%, rgba(20,38,16,0.65) 100%) !important;
}
/* Nossa História — textos claros sobre fundo verde escuro */
#posicionamento .section-tag      { color: #c6a46c; opacity: 1; }
#posicionamento .historia-text h2 { color: #f0ece5; }
#posicionamento .historia-text p  { color: rgba(240,236,229,0.72); }
#posicionamento .historia-divider { background: #c6a46c; opacity: 0.70; }
#posicionamento .pillar-num       { color: #8aaa82; opacity: 1; }
#posicionamento .pillar-text      { color: rgba(240,236,229,0.72); }
#posicionamento .historia-pillars { border-top-color: rgba(255,255,255,0.06); border-bottom-color: rgba(255,255,255,0.06); }
#posicionamento .pillar           { border-right-color: rgba(255,255,255,0.06); }
#posicionamento .btn-secondary {
  border: 1px solid rgba(198,164,108,0.50);
  color: #f0ece5;
  background: transparent;
}
#posicionamento .btn-secondary:hover {
  background: rgba(198,164,108,0.15);
  border-color: #c6a46c;
  color: #c6a46c;
  transform: translateY(-3px);
}
.historia-layout {
  display: flex; gap: 64px; align-items: center;
  position: relative; z-index: 2;
}
.historia-img-wrap {
  position: relative; flex-shrink: 0;
  width: 420px; height: 520px;
}
.historia-img-inner {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-gold-border);
}
.historia-img-inner img {
  object-fit: cover; width: 100%; height: 100%;
  border-radius: var(--radius-lg);
}
/* Acento decorativo dourado no canto */
.historia-img-accent {
  position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border-right: 2px solid var(--color-gold-border);
  border-bottom: 2px solid var(--color-gold-border);
  border-radius: 0 0 var(--radius-md) 0;
  opacity: 0.6; pointer-events: none;
}
.historia-img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--color-gold); opacity: 0.4;
  pointer-events: none;
}
.historia-img-placeholder svg { width: 52px; height: 52px; stroke: var(--color-gold); }
.historia-img-placeholder span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.historia-text { flex: 1; }
.historia-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600; line-height: 1.18;
  color: var(--color-text); margin-bottom: 0;
}
.historia-divider {
  width: 40px; height: 1px;
  background: var(--color-gold); opacity: 0.6;
  margin: 20px 0 24px;
}
.historia-text p {
  color: var(--color-text-soft);
  line-height: 1.82; font-size: 0.96rem;
  margin-bottom: 16px; font-weight: 300;
}
.historia-pillars {
  display: flex; gap: 0;
  margin: 32px 0 36px;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}
.pillar {
  flex: 1; display: flex; flex-direction: column;
  padding: 18px 20px; gap: 6px;
  border-right: 1px solid var(--color-border-soft);
}
.pillar:last-child { border-right: none; }
.pillar-num { font-family: var(--font-display); font-size: 0.75rem; color: var(--color-sage); opacity: 0.85; }
.pillar-text { font-size: 0.82rem; color: var(--color-text-soft); letter-spacing: 0.02em; }

/* ============================================================
   SOLUÇÕES — Cards
   ============================================================ */
.services-section { padding: 80px 0; background: #3d5638; }
.services-section .container { position: relative; z-index: 2; }
.services-section .section-tag      { color: #dfc08e; opacity: 1; }
.services-section .section-intro h2 { color: #f0ece5; }
.services-section .section-intro-text { color: rgba(240,236,229,0.72); }

.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 0;
}
.service-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gold-border);
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,26,12,0.94) 0%, rgba(14,26,12,0.22) 55%, transparent 100%);
  z-index: 0; pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(0,0,0,0.45); }
.card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  filter: brightness(0.40);
  transition: transform 0.7s ease, filter 0.7s ease; z-index: 0;
}
.service-card:hover .card-bg { transform: scale(1.06); filter: brightness(0.54); }
.card-content {
  position: relative; z-index: 1;
  padding: 40px 32px 24px;
  flex: 1;
}
.card-icon {
  width: 40px; height: 40px; color: var(--color-moss); margin-bottom: 20px;
}
.card-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 600;
  margin-bottom: 12px; color: var(--color-text); line-height: 1.2;
}
.service-card p {
  font-size: 0.92rem; line-height: 1.78;
  color: var(--color-text-soft); font-weight: 300;
  margin-bottom: 20px;
}
.card-benefits {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.card-benefits li {
  font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--color-text-muted);
  padding-left: 18px; position: relative;
}
.card-benefits li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--color-gold); opacity: 0.6;
}
.card-cta {
  position: relative; z-index: 1;
  display: block;
  padding: 16px 32px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  border-top: 1px solid rgba(198,164,108,0.18);
  transition: background var(--transition), color var(--transition), letter-spacing var(--transition);
}
.card-cta:hover {
  background: var(--color-moss-light);
  letter-spacing: 0.14em;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
#diferenciais { border-top: 1px solid rgba(69,96,63,0.12); background: #45603f; }
.diferenciais-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(40,68,36,0.55) 0%, rgba(26,48,22,0.70) 100%);
}
.differentials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative; z-index: 2;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.diff-card {
  padding: 40px 36px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  position: relative;
  transition: background var(--transition);
}
.diff-card:nth-child(3n) { border-right: none; }
.diff-card:nth-child(n+4) { border-bottom: none; }
.diff-card:hover { background: rgba(69,96,63,0.12); }
.diff-card-num {
  font-family: var(--font-display);
  font-size: 0.75rem; letter-spacing: 0.16em;
  color: var(--color-sage); opacity: 0.80;
  margin-bottom: 18px;
}
.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--color-text); margin-bottom: 10px; line-height: 1.25;
}
.diff-card p {
  font-size: 0.88rem; line-height: 1.75;
  color: var(--color-text-soft); font-weight: 300;
}
.diff-card-line {
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-moss), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.diff-card:hover .diff-card-line { opacity: 0.6; }

/* ============================================================
   DIFERENCIAIS — Fundo Cream, cards verdes mais claros
   ============================================================ */
#diferenciais {
  background: #fefbe4;
  border-top: 1px solid rgba(69,96,63,0.15);
}
#diferenciais .diferenciais-overlay {
  background: none;
}
#diferenciais .section-tag       { color: #45603f; opacity: 1; }
#diferenciais .section-intro h2  { color: #1a3020; }
#diferenciais .section-intro-text { color: rgba(26,48,32,0.72); }
#diferenciais .differentials-grid {
  border: 1px solid rgba(69,96,63,0.20);
}
#diferenciais .diff-card {
  background: #5a7a54;
  border-right: 1px solid rgba(254,251,228,0.15);
  border-bottom: 1px solid rgba(254,251,228,0.15);
}
#diferenciais .diff-card:hover   { background: #6a8d63; }
#diferenciais .diff-card-num     { color: #fefbe4; opacity: 0.75; }
#diferenciais .diff-card h3      { color: #fefbe4; }
#diferenciais .diff-card p       { color: rgba(254,251,228,0.78); }
#diferenciais .diff-card-line    {
  background: linear-gradient(to bottom, #fefbe4, transparent);
}


/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 36px 32px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border-soft);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--color-gold-border);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 600;
  color: var(--color-gold); opacity: 0.25;
  line-height: 0.8;
  margin-bottom: -8px;
}
.testimonial-text {
  color: var(--color-text-soft); font-size: 0.91rem;
  line-height: 1.80; font-weight: 300;
  flex: 1;
}
.testimonial-footer {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(198,164,108,0.12);
}
.testimonial-stars { color: var(--color-gold); font-size: 0.85rem; letter-spacing: 4px; }
.testimonial-author { display: flex; flex-direction: column; gap: 4px; }
.testimonial-author strong {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--color-text);
}
.testimonial-author span {
  font-size: 0.72rem; color: var(--color-gold); opacity: 0.70;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============================================================
   DEPOIMENTOS — Fundo Cream (contraste com seções escuras)
   ============================================================ */
/* ============================================================
   DEPOIMENTOS — Fundo Verde (contraste com seções cream)
   ============================================================ */
section:has(.testimonial-grid) {
  background: #45603f;
}
section:has(.testimonial-grid) .section-tag {
  color: var(--color-gold);
  opacity: 0.85;
}
section:has(.testimonial-grid) .section-intro h2 {
  color: var(--color-text);
}
section:has(.testimonial-grid) .section-intro-text {
  color: var(--color-text-soft);
}
section:has(.testimonial-grid) .testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 252, 228, 0.14);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
section:has(.testimonial-grid) .testimonial-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(251, 252, 228, 0.28);
}
section:has(.testimonial-grid) .testimonial-quote {
  color: var(--color-gold);
  opacity: 0.28;
}
section:has(.testimonial-grid) .testimonial-text {
  color: var(--color-text-soft);
}
section:has(.testimonial-grid) .testimonial-footer {
  border-top-color: rgba(251, 252, 228, 0.14);
}
section:has(.testimonial-grid) .testimonial-stars {
  color: var(--color-gold);
}
section:has(.testimonial-grid) .testimonial-author strong {
  color: var(--color-text);
}
section:has(.testimonial-grid) .testimonial-author span {
  color: var(--color-gold);
  opacity: 0.75;
}

.cta-link {
  color: var(--color-gold); text-decoration: none;
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  align-self: flex-start;
}
.cta-link:hover { color: var(--color-gold-light); border-color: var(--color-gold-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 0;
  background: #1c2e19;
  border-top: 1px solid var(--color-border-soft);
}
.footer-container {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-brand { display:flex; align-items:center; flex-direction:column; align-items:flex-start; gap:8px; }
.footer-brand .brand-logo { height: 54px; width: auto; opacity: 0.80; }
.footer-tagline { font-size: 0.75rem; color: var(--color-text-muted); letter-spacing: 0.06em; }
.footer-nav { display:flex; gap:24px; flex-wrap:wrap; }
.footer-nav a {
  color: var(--color-text-soft); text-decoration: none;
  font-size: 0.82rem; font-weight: 400;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.footer-nav a:hover { color: var(--color-text); }
.footer-copy { font-size: 0.70rem; color: var(--color-text-muted); }

/* ============================================================
   ECOSSISTEMA — cores da seção
   ============================================================ */
.ecosystem-section {
  background: #fefbe4;
  border-top: 1px solid rgba(69,96,63,0.15);
}
.ecosystem-section .section-tag        { color: #45603f; opacity: 1; }
.ecosystem-section .section-intro h2   { color: #1a3020; }
.ecosystem-section .section-intro-text { color: rgba(26,48,32,0.72); }

/* ============================================================
   ECOSSISTEMA — Diagrama limpo, simétrico, sem JS
   ============================================================ */
.ecosystem-journey { display: none; }

/* ── Wrapper principal ───────────────────────────────────── */
.eco-wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Linha superior: card | hub(linhas+bola) | card ─────── */
.eco-row-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}

/* ── Hub central (linhas horizontais + bola + linha vertical) */
.eco-hub {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  /* altura suficiente para a linha vertical sair pela base */
  padding-bottom: 0;
}

.eco-h-line-left,
.eco-h-line-right {
  width: 64px;
  height: 1px;
  flex-shrink: 0;
}
.eco-h-line-left  { background: linear-gradient(to left,  rgba(69,96,63,0.60), rgba(69,96,63,0.08)); }
.eco-h-line-right { background: linear-gradient(to right, rgba(69,96,63,0.60), rgba(69,96,63,0.08)); }

/* Bola central */
.eco-center {
  flex-shrink: 0;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.eco-center-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.eco-ring-1 {
  width: 148px; height: 148px;
  border: 1.5px solid rgba(69,96,63,0.22);
  animation: ecoRingSpin 20s linear infinite;
}
.eco-ring-2 {
  width: 200px; height: 200px;
  border: 1px solid rgba(69,96,63,0.12);
  animation: ecoRingSpin 32s linear infinite reverse;
}
.eco-ring-3 {
  width: 260px; height: 260px;
  border: 1px solid rgba(69,96,63,0.06);
  animation: ecoRingSpin 48s linear infinite;
}
@keyframes ecoRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.eco-center-core {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, #527050, #2d4c28);
  border: 2.5px solid rgba(69,96,63,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow:
    0 0 0 8px  rgba(69,96,63,0.10),
    0 0 0 18px rgba(69,96,63,0.05),
    0 12px 48px rgba(69,96,63,0.32);
  position: relative; z-index: 2;
  transition: transform .4s ease, box-shadow .4s ease;
}
.eco-center-core:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 0 12px rgba(69,96,63,0.14),
    0 0 0 24px rgba(69,96,63,0.07),
    0 18px 60px rgba(69,96,63,0.45);
}
.eco-center-label {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: #fefbe4; line-height: 1;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.20);
}
.eco-center-sub {
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(254,251,228,0.88);
  background: rgba(0,0,0,0.18);
  padding: 2px 8px; border-radius: 20px;
  border: 1px solid rgba(254,251,228,0.16);
  white-space: nowrap;
}

/* Linha vertical para o card de baixo */
.eco-v-line {
  position: absolute;
  bottom: calc(-1 * var(--eco-gap, 48px));
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: var(--eco-gap, 48px);
  background: linear-gradient(to bottom, rgba(69,96,63,0.60), rgba(69,96,63,0.08));
  pointer-events: none;
}

/* ── Linha inferior: só o card Seguros centrado ─────────── */
.eco-row-bottom {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 48px; /* mesma altura que --eco-gap */
}

/* ── Cards ───────────────────────────────────────────────── */
.eco-card {
  background: #fff;
  border: 1px solid rgba(69,96,63,0.18);
  border-radius: 16px;
  padding: 32px 28px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(69,96,63,0.10);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(69,96,63,0.20);
  border-color: rgba(69,96,63,0.35);
}

.eco-card-icon {
  width: 36px; height: 36px;
  color: #45603f;
  margin-bottom: 16px;
}
.eco-card-icon svg { width: 100%; height: 100%; }

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  color: #1a3020; margin-bottom: 10px; line-height: 1.2;
}
.eco-card p {
  font-size: 0.86rem; line-height: 1.74;
  color: rgba(26,48,32,0.68); font-weight: 300;
  margin-bottom: 14px;
}
.eco-card ul {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 7px;
}
.eco-card ul li {
  font-size: 0.77rem; color: rgba(26,48,32,0.62);
  padding-left: 16px; position: relative; letter-spacing: .02em;
}
.eco-card ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: #45603f; opacity: 0.65;
  font-size: 0.70rem; line-height: 1.6;
}
.eco-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  color: #45603f; text-decoration: none;
  border-bottom: 1px solid rgba(69,96,63,0.28);
  padding-bottom: 2px;
  transition: color .3s ease, border-color .3s ease, gap .3s ease;
}
.eco-card-link:hover { color: #2a4227; border-color: #2a4227; gap: 9px; }

/* Card inferior mais largo */
.eco-card-bottom { width: 320px; }

/* ── Tagline ─────────────────────────────────────────────── */
.eco-tagline {
  text-align: center;
  margin-top: 60px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-style: italic;
  color: rgba(26,48,32,0.50);
  letter-spacing: .01em;
}

/* ── TABLET (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .eco-row-top {
    flex-direction: column;
    gap: 0;
  }
  .eco-hub {
    flex-direction: column;
    padding: 0;
  }
  .eco-h-line-left, .eco-h-line-right { display: none; }
  .eco-v-line { display: none; }

  /* Linha vertical entre bola e card inferior no mobile */
  .eco-hub::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(69,96,63,0.55), rgba(69,96,63,0.08));
    margin: 0 auto;
  }

  /* Linha vertical entre card-top e bola */
  .eco-hub::before {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(69,96,63,0.08), rgba(69,96,63,0.55));
    margin: 0 auto;
  }

  .eco-card, .eco-card-bottom {
    width: 100%;
    max-width: 420px;
  }
  .eco-center { margin: 0; }
  .eco-row-bottom { padding-top: 0; }
  /* linha vertical antes do card de baixo */
  .eco-row-bottom::before {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(69,96,63,0.55), rgba(69,96,63,0.08));
    margin: 0 auto 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .eco-row-bottom { position: relative; padding-top: 40px; }
}

/* ── MOBILE (≤ 768px) ────────────────────────────────────── */
@media (max-width: 768px) {
  .eco-card, .eco-card-bottom { max-width: 100%; }
  .eco-center-ring { display: none; }
  .eco-center-core { width: 110px; height: 110px; }
  .eco-center-label { font-size: 1.6rem; }
}

/* ============================================================
   CTA — Formulário Institucional
   ============================================================ */
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px 56px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--color-border-soft);
  align-items: start;
}
.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 600;
  margin-bottom: 12px; line-height: 1.18;
}
.cta-copy p { color: var(--color-text-soft); font-size: 1rem; font-weight: 300; margin-bottom: 28px; }

.cta-channels { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-or {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-text-muted);
}

/* Formulário */
.cta-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(198,164,108,0.18);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.cta-form-header { margin-bottom: 24px; }
.cta-form-badge {
  display: inline-block;
  font-size: 0.60rem; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--color-gold); opacity: 0.80;
  margin-bottom: 8px;
}
.cta-form-desc {
  font-size: 0.84rem; color: var(--color-text-soft);
  line-height: 1.65; font-weight: 300;
}
.cta-form { display: flex; flex-direction: column; gap: 16px; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-form-group { display: flex; flex-direction: column; gap: 6px; }
.cta-form-group label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.cta-form-group input,
.cta-form-group select,
.cta-form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(198,164,108,0.20);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.cta-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(240,236,229,0.40)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.cta-form-group select option { background: #1c2e19; color: var(--color-text); }
.cta-form-group input::placeholder,
.cta-form-group textarea::placeholder { color: var(--color-text-muted); }
.cta-form-group input:focus,
.cta-form-group select:focus,
.cta-form-group textarea:focus {
  border-color: rgba(198,164,108,0.55);
  background: rgba(255,255,255,0.07);
}
.cta-form-group textarea { resize: vertical; min-height: 96px; }
.cta-form-submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
  gap: 10px;
}
.cta-form-privacy {
  font-size: 0.70rem; color: var(--color-text-muted);
  text-align: center; letter-spacing: 0.02em;
  line-height: 1.5;
}

/* Responsive CTA */
@media (max-width: 1024px) {
  .cta-panel { grid-template-columns: 1fr; gap: 40px; padding: 40px 36px; }
  .cta-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cta-panel { padding: 32px 24px; gap: 32px; }
  .cta-channels { align-items: stretch; }
  .cta-form-wrap { padding: 28px 20px; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger delays para items dentro de .reveal */
.reveal .cascade-1, .cascade-1 { transition-delay: 0.08s; }
.reveal .cascade-2, .cascade-2 { transition-delay: 0.20s; }
.reveal .cascade-3, .cascade-3 { transition-delay: 0.32s; }

/* ============================================================
   PAGE FADE-IN (hero content)
   ============================================================ */
.page-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s,
              transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s;
}
.page-fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-card:nth-child(3n) { border-right: 1px solid var(--color-border-soft); }
  .diff-card:nth-child(2n) { border-right: none; }
  .cta-panel { flex-direction: column; text-align: center; }
  .cta-actions { align-items: center; }
  .historia-layout { flex-direction: column; gap: 40px; }
  .historia-img-wrap { width: 100%; height: 340px; flex-shrink: unset; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 20px; }
  .stats-section .stat-item { padding: 14px 28px; }
  .ecosystem-journey { grid-template-columns: 1fr; }
  .ecosystem-connector { display: none; }
}

/* ============================================================
   RESPONSIVE — mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Header */
  .header { top: 12px; width: calc(100% - 24px); }
  .header-inner { padding: 8px 14px 8px 8px; }
  .brand-logo { height: 54px; }

  /* Esconde nav desktop, mostra hambúrguer */
  .nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    /* Cancela o aspect-ratio do desktop — em mobile altura é sempre 100svh */
    aspect-ratio: unset;
    min-height: 100svh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
    align-items: center;
    /* empurra para cima do badge que fica em bottom: -32px */
    margin-bottom: 40px;
  }
  h1 { font-size: clamp(2.2rem, 8.5vw, 3.2rem); }
  .hero-scroll { display: none; }
  .hero-badge {
    padding: 8px 12px; /* Reduz o padding lateral */
    width: auto;       /* Garante que a largura se ajusta ao conteúdo */
    max-width: 90vw;   /* Limita a largura máxima para não sair do ecrã */
  }
  
  .hero-badge-value {
    font-size: 0.9rem;
  }
  .hero-badge { display: none; }
  .slideshow-dots { bottom: 20px; }

  /* Overlay mais leve no mobile — imagens falam por si */
  .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(0,0,0,0.02) 0%,
      rgba(20,40,16,0.18) 55%,
      rgba(20,40,16,0.55) 100%
    );
  }

  /* Sections */
  .section { padding: 64px 0; }
  #posicionamento { padding-top: 96px; }

  /* Stats */
  .stats-grid { gap: 0; }
  .stat-item { padding: 12px 20px; min-width: 130px; }
  .stat-divider { display: none; }

  /* Diferenciais grid */
  .differentials-grid { grid-template-columns: 1fr; }
  .diff-card { border-right: none !important; }

  /* CTA */
  .cta-panel { padding: 36px 28px; }

  /* Footer */
  .footer-container { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-nav { justify-content: center; }

  /* Historia pillars */
  .historia-pillars { flex-direction: column; }
  .pillar { border-right: none; border-bottom: 1px solid var(--color-border-soft); }
  .pillar:last-child { border-bottom: none; }

  /* Cards serviços */
  .service-card { min-height: 340px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 20px; right: 20px; width: 46px; height: 46px; }

  /* Cursor desativado em touch */
  .cursor { display: none; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — small mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { padding: 12px 24px; font-size: 0.82rem; }
  .hero-badge { width: 200px; height: 60px; }
  .cta-panel { padding: 28px 20px; }
  .section-intro h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}
/* ============================================================
   ECOSSISTEMA — Ordem no mobile: Consórcio > Seguros > Imóvel
   ============================================================ */
@media (max-width: 1024px) {
  .eco-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Linha conectora sutil entre todos os cards no mobile */
  .eco-card-consorcio,
  .eco-card-seguro,
  .eco-card-imobiliario {
    position: relative;
  }
  .eco-card-consorcio::after,
  .eco-card-seguro::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(69,96,63,0.55), rgba(69,96,63,0.10));
    margin: 0 auto;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  /* Reordenar: consórcio 1°, hub 2°, seguro 3°, imóvel 4°, row-bottom escondido */
  .eco-row-top {
    display: contents; /* dissolve o wrapper, filhos vão direto ao eco-wrap */
  }
  .eco-row-bottom {
    display: contents;
  }

  .eco-card-consorcio  { order: 1; }
  .eco-hub             { order: 2; }
  .eco-card-seguro     { order: 3; }
  .eco-card-imobiliario{ order: 4; }

  /* Hub: exibe a bola central, sem linhas horizontais (já estão ocultas acima) */
  .eco-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 2;
    padding: 0;
  }

  .eco-card-consorcio::after,
  .eco-card-seguro::after {
    bottom: -40px;
  }

  /* Adiciona linha antes de cada card (exceto o primeiro) */
  .eco-card-seguro::before,
  .eco-card-imobiliario::before {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(69,96,63,0.10), rgba(69,96,63,0.55));
    margin: 0 auto;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  /* Spacing para comportar as linhas */
  .eco-card-consorcio,
  .eco-card-seguro,
  .eco-card-imobiliario {
    margin-top: 40px;
  }
  .eco-card-consorcio {
    margin-top: 0;
  }
}


/* ============================================================
   ANIMAÇÃO DE ABERTURA DO SITE (implementação 5)
   Garante fade-in suave mesmo se CSS conflitar com is-loading
   ============================================================ */

/* Enquanto carrega: tudo invisível (evita flash) */
body.is-loading .site-shell {
  opacity: 0;
}

/* Após loader: fade-in do shell inteiro */
body:not(.is-loading) .site-shell {
  animation: siteShellIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes siteShellIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero content — override para garantir que a transição funcione pós-loader */
.hero-content {
  will-change: opacity, transform;
}

/* Badge também faz entrada suave (já tinha, mas reforçamos) */
.hero-badge {
  will-change: opacity, transform;
}

/* Garantir que page-fade-in não conflite com is-loading */
body.is-loading .page-fade-in {
  opacity: 0 !important;
  transform: translateY(28px) !important;
  transition: none !important;
}
/* ============================================================
   HERO — Título / Eyebrow condicional Desktop × Mobile
   ============================================================ */

/* Desktop: mostra eyebrow desktop, oculta mobile */
.hero-eyebrow-mobile {
  display: none;
}
.hero-eyebrow-desktop {
  display: inline-block;
}

/* Desktop: título visível normalmente */
.hero-title-desktop {
  display: block;
}

/* ============================================================
   HOLE IN ONE — Marca central mobile (oculta no desktop)
   ============================================================ */
.hero-mobile-brand {
  display: none;
}

/* ============================================================
   BOTÕES HERO — Alternância sincronizada com slideshow (7s)
   Cada botão ocupa o mesmo slot — apenas 1 visível por vez.
   ============================================================ */
@keyframes btnToggleOn {
  0%        { opacity: 0; transform: translateX(-50%) translateY(5px) scale(0.97); }
  10%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  40%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  50%, 100% { opacity: 0; transform: translateX(-50%) translateY(-5px) scale(0.97); }
}
@keyframes btnToggleOff {
  0%, 50%   { opacity: 0; transform: translateX(-50%) translateY(5px) scale(0.97); }
  60%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  90%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  100%      { opacity: 0; transform: translateX(-50%) translateY(-5px) scale(0.97); }
}

@media (max-width: 768px) {
  /* ── Oculta TODOS os textos da hero no mobile ─────────── */
  .hero-eyebrow-desktop,
  .hero-eyebrow-mobile,
  .hero-title-desktop,
  .hero-text,
  .hero-scroll {
    display: none !important;
  }

  /* ── hero-content: ancora no fundo, centralizado ─ */
  .hero-content {
    position: absolute;
    bottom: 56px;
    left: 0; right: 0;
    padding: 0 28px;
    margin-bottom: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
  }

  /* ── Container dos botões: slot fixo centralizado ─ */
  .hero-actions {
    margin-top: 0;
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Cada botão: posicionado no slot, centralizado */
  .hero-actions .btn {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: auto;
    min-width: 180px;
    max-width: 80vw;
    padding: 12px 28px;
    font-size: 0.82rem;
    white-space: nowrap;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
  }

  /* Sincronizado com o slideshow: 7s por ciclo completo */
  .hero-actions .btn-primary {
    animation: btnToggleMobileOn 7s ease-in-out infinite;
  }
  .hero-actions .btn-ghost {
    animation: btnToggleMobileOff 7s ease-in-out infinite;
  }

  /* ── Marca "HOLE IN ONE" centralizada na imagem ──────── */
  .hero-mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    text-align: center;
    width: 92vw;
    white-space: nowrap;
  }

  /* Título principal — numa linha só, uppercase elegante */
  .hero-mobile-brand-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 7vw, 2.6rem);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-text);
    text-shadow:
      0 1px 4px rgba(0,0,0,0.90),
      0 3px 20px rgba(0,0,0,0.70),
      0 0 50px rgba(198,164,108,0.15),
      0 0 100px rgba(0,0,0,0.50);
    display: block;
    -webkit-text-stroke: 0px transparent;
  }

  /* Separador dourado */
  .hero-mobile-brand-sep {
    display: block;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 11px auto 10px;
    opacity: 0.85;
  }

  /* "Planejamento Patrimonial" abaixo */
  .hero-mobile-brand-sub {
    font-family: var(--font-body);
    font-size: 0.60rem;
    font-weight: 400;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    opacity: 0.92;
    display: block;
    text-shadow: 0 1px 8px rgba(0,0,0,0.85);
    white-space: nowrap;
  }

  .hero-mobile-brand-eyebrow {
    display: none;
  }
}

/* Keyframes fora do @media para garantir resolução correta */
@keyframes btnToggleMobileOn {
  0%        { opacity: 0; transform: translateX(-50%) translateY(5px) scale(0.97); }
  10%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  40%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  50%, 100% { opacity: 0; transform: translateX(-50%) translateY(-5px) scale(0.97); }
}
@keyframes btnToggleMobileOff {
  0%, 50%   { opacity: 0; transform: translateX(-50%) translateY(5px) scale(0.97); }
  60%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  90%       { opacity: 1; transform: translateX(-50%) translateY(0)   scale(1);    }
  100%      { opacity: 0; transform: translateX(-50%) translateY(-5px) scale(0.97); }
}