/* ============================================================
   VivioHome — styles.css
   Archetype: Editorial Light (B2B Real Estate adaptation)
   Palette: #0F3950 navy · #17A2A8 teal · #E7DCCE warm · #F8F7F5 bg
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  --navy:      #0F3950;
  --navy-dark: #0a2b3d;
  --teal:      #17A2A8;
  --teal-dark: #118f95;
  --warm:      #E7DCCE;
  --warm-dark: #d4c8b5;
  --bg:        #F8F7F5;
  --bg-alt:    #F1F2F3;
  --cream:     #faf8f4;
  --text:      #222626;
  --text-soft: #6B7174;
  --text-mute: #9aa0a4;
  --line:      rgba(34,38,38,0.1);
  --line-navy: rgba(255,255,255,0.15);
  --shadow-sm: 0 2px 12px rgba(15,57,80,0.08);
  --shadow-md: 0 8px 32px rgba(15,57,80,0.12);
  --shadow-lg: 0 20px 60px rgba(15,57,80,0.15);
  --radius:    12px;
  --radius-lg: 20px;
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.64, 0, 0.78, 0);
  --t-fast:    0.2s;
  --t-base:    0.35s;
  --t-slow:    0.6s;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
svg { flex-shrink: 0; }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); font-weight: 600; }

em {
  font-style: italic;
  font-family: "Merriweather", serif;
  font-weight: 300;
}

/* ----- Layout ----- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--light   { background: var(--bg); }
.section--cream   { background: var(--cream); }
.section--alt     { background: var(--bg-alt); }
.section--navy    { background: var(--navy); }
.section--cta     { background: var(--navy); position: relative; overflow: hidden; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-title { margin-block: 0.6rem 1rem; }
.section-title--light { color: #fff; }
.section-desc { color: var(--text-soft); font-size: 1.0625rem; max-width: 520px; margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.eyebrow--light { color: rgba(255,255,255,0.65); }

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Safety: split-text + reveal conflict prevention */
.reveal[data-split] { opacity: 1; transform: none; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 2.2rem; font-size: 1.0625rem; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn:active { transform: translateY(0); }
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 20px rgba(23,162,168,0.35);
}
@media (hover: hover) {
  .btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 28px rgba(23,162,168,0.45); }
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--line);
}
@media (hover: hover) {
  .btn-ghost:hover { border-color: var(--navy); background: rgba(15,57,80,0.04); }
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
@media (hover: hover) {
  .btn-whatsapp:hover { background: #1ebe5a; box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
}

.btn-cta {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 20px rgba(23,162,168,0.3);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(255,255,255,0.2);
}
@media (hover: hover) {
  .btn-white:hover { background: var(--warm); box-shadow: 0 6px 32px rgba(255,255,255,0.3); }
}

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 2px solid rgba(255,255,255,0.25);
}
@media (hover: hover) {
  .btn-ghost-white:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
}

.link-underline {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(248,247,245,0);
  backdrop-filter: blur(0px);
  transition: background var(--t-base), backdrop-filter var(--t-base), box-shadow var(--t-base);
}
.nav.is-scrolled {
  background: rgba(248,247,245,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  padding-block: 1.1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--t-fast);
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--navy); }
}

.nav-cta { margin-left: 1rem; font-size: 0.875rem; padding: 0.6rem 1.2rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  background: rgba(248,247,245,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.85rem 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav-mobile .btn-whatsapp {
  margin-top: 1rem;
  text-align: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(23,162,168,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(15,57,80,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(231,220,206,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  width: 100%;
}

.hero-content { max-width: 560px; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin-block: 0.75rem 1.25rem;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-soft);
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-badge {
  font-size: 0.8125rem;
  color: var(--text-soft);
  background: rgba(15,57,80,0.06);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* Hero Slider */
.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.slider-after,
.slider-before {
  position: absolute;
  inset: 0;
}
.slider-before { clip-path: inset(0 50% 0 0); }

.slider-after img, .slider-after .img-placeholder,
.slider-before img, .slider-before .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.slider-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.slider-handle-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  color: var(--navy);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.slider-label {
  position: absolute;
  top: 1rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}
.slider-label--before { left: 1rem; background: rgba(0,0,0,0.55); color: #fff; }
.slider-label--after  { right: 1rem; background: var(--teal); color: #fff; }

/* Image placeholders (to be replaced with real images) */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.img-placeholder--before {
  background: linear-gradient(135deg, #d4cfc9 0%, #bfb9b2 100%);
  color: rgba(0,0,0,0.5);
}
.img-placeholder--after {
  background: linear-gradient(135deg, #c5d9e0 0%, #a8c8d0 100%);
  color: rgba(15,57,80,0.6);
}
.img-placeholder--solution {
  background: linear-gradient(135deg, #dde8ed 0%, #c5d9e0 100%);
  color: rgba(15,57,80,0.5);
  height: 420px;
  border-radius: var(--radius-lg);
}
.img-placeholder--compare-before {
  background: linear-gradient(135deg, #d4cfc9 0%, #bfb9b2 100%);
  color: rgba(0,0,0,0.45);
  height: 100%;
}
.img-placeholder--compare-after {
  background: linear-gradient(135deg, #c5d9e0 0%, #a8c8d0 100%);
  color: rgba(15,57,80,0.55);
  height: 100%;
}
.img-placeholder small { display: block; font-weight: 400; margin-top: 0.25rem; font-size: 0.7rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  overflow: hidden;
  background: var(--navy);
  padding-block: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.marquee-track span[aria-hidden="true"] {
  color: var(--teal);
  font-size: 0.5rem;
  align-self: center;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== PAIN CARDS ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
@media (hover: hover) {
  .pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.pain-icon {
  width: 52px;
  height: 52px;
  background: rgba(15,57,80,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.pain-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.pain-card p { color: var(--text-soft); font-size: 0.9375rem; line-height: 1.6; }

/* ===== SOLUTION ===== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.solution-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 460px;
}
.solution-list {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
}
.solution-list li svg { color: var(--teal); margin-top: 2px; }
.solution-visual { position: relative; }
.solution-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -0.5rem;
  background: var(--teal);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.solution-badge strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.solution-badge span { font-size: 0.75rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.08em; }

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

/* ===== COMPARE SLIDERS ===== */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.compare-item {}
.compare-slider {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  margin-bottom: 1rem;
}
.compare-after, .compare-before {
  position: absolute;
  inset: 0;
}
.compare-before { clip-path: inset(0 50% 0 0); }
.compare-after img, .compare-after .img-placeholder,
.compare-before img, .compare-before .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.compare-handle-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.compare-handle-btn {
  width: 38px; height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  color: var(--navy);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.compare-tag {
  position: absolute;
  top: 0.75rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}
.compare-tag--before { left: 0.75rem; background: rgba(0,0,0,0.5); color: #fff; }
.compare-tag--after  { right: 0.75rem; background: var(--teal); color: #fff; }
.compare-caption {
  font-size: 0.875rem;
  color: var(--text-soft);
  font-weight: 500;
}
.compare-cta { text-align: center; }

/* ===== PLANOS GALLERY ===== */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 700px) {
  .planos-grid { grid-template-columns: 1fr; }
}
.plano-thumb {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.plano-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
@media (hover: hover) {
  .plano-thumb:hover img { transform: scale(1.04); }
}
.plano-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15,57,80,0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  pointer-events: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,15,20,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lbFadeIn 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 3rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1rem;
}
.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(15,57,80,0.07);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--navy);
  transition: background var(--t-base), transform var(--t-base) var(--ease-out);
}
@media (hover: hover) {
  .step:hover .step-icon { background: var(--teal); color: #fff; transform: scale(1.05); }
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-soft); font-size: 0.9375rem; line-height: 1.6; }
.step-connector {
  width: 2px;
  height: 40px;
  background: var(--line);
  border-radius: 2px;
  align-self: center;
  margin-top: 4rem;
  transform: rotate(0deg);
}
.steps-cta { text-align: center; }
.steps-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-mute);
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-connector {
    width: 32px; height: 2px;
    margin: 0 auto;
    transform: none;
  }
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
@media (hover: hover) {
  .benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(23,162,168,0.3);
  }
}
.benefit-icon {
  width: 44px; height: 44px;
  background: rgba(23,162,168,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
  transition: background var(--t-base);
}
@media (hover: hover) {
  .benefit-card:hover .benefit-icon { background: var(--teal); color: #fff; }
}
.benefit-card h3 { font-size: 0.9375rem; margin-bottom: 0.4rem; }
.benefit-card p { color: var(--text-soft); font-size: 0.875rem; line-height: 1.6; }

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

/* ===== CASES ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
@media (hover: hover) {
  .case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}
.case-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
}
.case-img img, .case-img .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .case-card:hover .case-img img { transform: scale(1.04); }
}
.case-body { padding: 1.75rem; }
.case-style-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(23,162,168,0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.case-body h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.case-detail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.case-detail-row {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.case-detail-label { color: var(--text-mute); flex-shrink: 0; width: 70px; }
.case-detail-value { color: var(--text-soft); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.pricing-card--highlight {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(23,162,168,0.08), var(--shadow-md);
  transform: scale(1.02);
}
@media (hover: hover) {
  .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .pricing-card--highlight:hover { transform: scale(1.02) translateY(-4px); }
}
.pricing-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-desc { font-size: 0.875rem; color: var(--text-soft); margin-bottom: 1.5rem; }
.pricing-features { margin-bottom: 2rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-soft);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.pricing-cta--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(23,162,168,0.3);
}
@media (hover: hover) {
  .pricing-cta--primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
}
.pricing-cta--ghost {
  border: 2px solid var(--line);
  color: var(--navy);
}
@media (hover: hover) {
  .pricing-cta--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
}
.pricing-note { text-align: center; font-size: 0.9375rem; color: var(--text-soft); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pricing-card--highlight { transform: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--t-base), border-color var(--t-base);
}
@media (hover: hover) {
  .testimonial-card:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.2);
  }
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--teal);
}
.testimonial-text {
  font-family: "Merriweather", serif;
  font-size: 0.9375rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
}
.testimonial-text::before { content: "\201C"; }
.testimonial-text::after  { content: "\201D"; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.testimonial-role { font-size: 0.8125rem; color: rgba(255,255,255,0.55); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
@media (hover: hover) {
  .faq-question:hover { color: var(--navy); }
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base), background var(--t-base);
  color: var(--text-soft);
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-item.is-open .faq-answer { max-height: 300px; }

/* ===== CTA FINAL ===== */
.cta-bg-mesh {
  position: absolute;
  inset: -30% -10%;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(23,162,168,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(231,220,206,0.08) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-block: 0.75rem 1.25rem;
  line-height: 1.1;
}
.cta-desc { color: rgba(255,255,255,0.7); font-size: 1.0625rem; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding-block: clamp(3rem, 5vw, 4rem) 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.75rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.footer-logo .nav-logo-mark {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.footer-tagline { font-size: 0.875rem; margin-bottom: 1.25rem; }
.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--t-fast);
}
@media (hover: hover) {
  .footer-social a:hover { color: #fff; }
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col .footer-location {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  transition: color var(--t-fast);
}
@media (hover: hover) {
  .footer-col a:hover { color: #fff; }
}
.footer-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { font-size: 0.8125rem; }
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--t-fast);
}
@media (hover: hover) {
  .footer-legal-links a:hover { color: rgba(255,255,255,0.7); }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
@media (hover: hover) {
  .wa-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  }
}
.wa-float-label { white-space: nowrap; }

@media (max-width: 480px) {
  .wa-float { padding: 0.875rem; border-radius: 50%; }
  .wa-float-label { display: none; }
}

/* ===== DELAY HELPERS ===== */
.reveal[data-delay="0"]   { transition-delay: 0ms; }
.reveal[data-delay="80"]  { transition-delay: 80ms; }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="150"] { transition-delay: 150ms; }
.reveal[data-delay="160"] { transition-delay: 160ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="240"] { transition-delay: 240ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="320"] { transition-delay: 320ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }

/* ===== FOCUS STYLES (accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== PRINT ===== */
@media print {
  .nav, .wa-float, .marquee-wrap { display: none; }
  .hero { min-height: auto; padding-block: 2rem; }
  .section { padding-block: 2rem; }
  .section--navy, .section--cta { background: #fff; color: #000; }
}
