/* Casa Movitare — Landing Page Styles */
:root {
  --deep-brown: #3a2a1e;
  --coffee: #4a352a;
  --warmwhite: #f6efe6;
  --ivory: #ede4d5;
  --sage: #9fb39a;
  --sage-deep: #6e8a72;
  --taupe: #8a7565;
  --foreground: #3a2a1e;
  --card: #fbf6ee;
  --border: #e3d9c9;

  /* tokens de design premium */
  --shadow-card:   0 2px 8px -2px rgba(58,42,30,0.06), 0 8px 28px -8px rgba(58,42,30,0.10);
  --shadow-hover:  0 6px 20px -4px rgba(58,42,30,0.10), 0 20px 48px -16px rgba(58,42,30,0.14);
  --shadow-float:  0 12px 40px -12px rgba(58,42,30,0.22);
  --radius-card:   1.5rem;
  --radius-lg:     2rem;
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.22s;
  --duration-med:  0.42s;
  --duration-slow: 0.65s;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--foreground);
  background: var(--warmwhite);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.font-display {
  font-family: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--taupe);
  font-weight: 500;
}

.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

.bg-warmwhite { background: var(--warmwhite); }
.bg-ivory { background: var(--ivory); }
.bg-coffee { background: var(--coffee); color: var(--warmwhite); }
.bg-deep-brown { background: var(--deep-brown); color: var(--warmwhite); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 239, 230, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(58, 42, 30, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 500; color: var(--coffee); }
.brand-tag { text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.6rem; color: var(--taupe); margin-top: 2px; }
.brand-logo { height: 52px; width: auto; display: block; object-fit: contain; }

.nav-links { display: none; gap: 1.75rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--foreground);
  opacity: 0.75;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--coffee);
  color: var(--warmwhite);
  font-size: 0.85rem;
  transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform  0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s  cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-cta:hover {
  background: var(--deep-brown);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px rgba(58,42,30,0.35);
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0.5rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-burger.active { background: rgba(74, 53, 42, 0.08); }
@media (min-width: 900px) { .nav-burger { display: none; } }
.nav-burger svg { width: 24px; height: 24px; stroke: var(--coffee); transition: transform 0.26s var(--ease-out); }
.nav-burger svg line {
  transform-origin: center;
  transition: transform 0.26s var(--ease-out), opacity 0.2s ease;
}
.nav-burger.active svg { transform: rotate(180deg); }
.nav-burger.active svg line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.active svg line:nth-child(2) { opacity: 0; transform: translateX(6px); }
.nav-burger.active svg line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  border-top: 1px solid transparent;
  background: rgba(246, 239, 230, 0.98);
  transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              padding    0.42s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              opacity    0.3s ease;
  opacity: 0;
}
.mobile-menu.open {
  max-height: 480px;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(58, 42, 30, 0.06);
  opacity: 1;
}
.mobile-menu a { display: block; padding: 0.6rem 0; font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 400; color: var(--coffee); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform     0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background    0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color  0.25s cubic-bezier(0.22, 1, 0.36, 1),
              color         0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow    0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--coffee); color: var(--warmwhite); }
.btn-primary:hover { background: var(--deep-brown); box-shadow: 0 8px 24px -8px rgba(58,42,30,0.35); }

.btn-ghost-light {
  background: transparent;
  color: var(--warmwhite);
  border: 1.5px solid rgba(246, 239, 230, 0.5);
}
.btn-ghost-light:hover {
  background: rgba(246, 239, 230, 0.12);
  border-color: rgba(246, 239, 230, 0.9);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--coffee);
  border: 1.5px solid var(--coffee);
}
.btn-outline:hover {
  background: var(--coffee);
  color: var(--warmwhite);
  box-shadow: 0 8px 24px -8px rgba(58,42,30,0.3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--warmwhite);
  opacity: 0.9;
  padding: 0.55rem 0;
  transition: opacity 0.2s ease;
}
.link-arrow:hover { opacity: 1; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--deep-brown);
  color: var(--warmwhite);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero.webp') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(58,42,30,0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(58,42,30,0.7) 0%, rgba(58,42,30,0.25) 55%, rgba(246,239,230,0) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 4rem 0 5rem; }
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: 5.4rem;
  }
  .hero-inner {
    padding: 2.75rem 1.1rem 4rem;
  }
  .hero h1 {
    margin: 1.15rem 0 1rem;
    font-size: clamp(2rem, 7.5vw, 2.8rem);
  }
  .hero p.lead {
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem 1rem;
  }
  .hero-note {
    margin-top: 1.75rem;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 1.25rem;
  max-width: 900px;
  text-wrap: balance;
}
.hero p.lead {
  max-width: 620px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(246,239,230,0.85);
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
}
.hero-note {
  margin-top: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(246,239,230,0.6);
}
.hero-deco {
  position: absolute;
  top: 4rem; right: -2rem;
  width: 220px; height: 220px;
  opacity: 0.25;
  color: #fff;
  display: none;
}
@media (min-width: 900px) { .hero-deco { display: block; } }

/* ---------- Casa (A Casa) ---------- */
.casa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) { .casa-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.casa-image-wrap { position: relative; }
.casa-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2rem;
}
.casa-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 92px; height: 92px;
  border-radius: 999px;
  background: var(--warmwhite);
  border: 4px solid var(--ivory);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-deep);
  box-shadow: 0 10px 30px -12px rgba(58,42,30,0.25);
}
.casa-badge svg { width: 36px; height: 36px; }

.casa-content h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--coffee);
  margin: 1rem 0 1.5rem;
  max-width: 520px;
  text-wrap: balance;
}
.casa-content p {
  color: rgba(58,42,30,0.75);
  margin-bottom: 1.25rem;
  max-width: 620px;
}
.blockquote {
  border-left: 2px solid var(--sage);
  padding-left: 1.5rem;
  margin: 2rem 0 1.5rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--coffee);
  line-height: 1.35;
  max-width: 580px;
}
.smallcaps {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--taupe);
}

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  color: var(--coffee);
  margin: 1rem 0 1.25rem;
  text-wrap: balance;
}
.section-head p {
  color: rgba(58,42,30,0.72);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Cards grid ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-card);
  transition:
    transform     var(--duration-med) var(--ease-out),
    border-color  var(--duration-med) var(--ease-out),
    box-shadow    var(--duration-med) var(--ease-out);
  will-change: transform;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(159,179,154,0.55);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(159,179,154,0.22) 0%, rgba(159,179,154,0.08) 100%);
  border: 1px solid rgba(159,179,154,0.28);
  color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: background var(--duration-med) var(--ease-out),
              transform  var(--duration-med) var(--ease-out);
}
.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(159,179,154,0.35) 0%, rgba(159,179,154,0.15) 100%);
  transform: scale(1.07) rotate(-2deg);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--coffee);
  margin-bottom: 0.65rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.card p {
  font-size: 0.93rem;
  color: rgba(58,42,30,0.7);
  line-height: 1.6;
}

.services-cta { text-align: center; margin-top: 3rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.gallery-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .gallery-row               { grid-template-columns: 1.4fr 1fr 1fr; }
  .gallery-row--reverse      { grid-template-columns: 1fr 1fr 1.4fr; }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  min-height: 260px;
  background: var(--ivory);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(58, 42, 30, 0.18) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---------- Testimonials ---------- */
.testimonials {
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/cta-texture.webp') center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.testimonials::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(74, 53, 42, 0.95);
  pointer-events: none;
}
.testimonials .container { position: relative; z-index: 2; }
.testimonials .section-head h2 { color: var(--warmwhite); }
.testimonials .section-head p  { color: rgba(246,239,230,0.7); }
.testimonials .eyebrow          { color: rgba(246,239,230,0.55); }

.t-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) { .t-cards { grid-template-columns: repeat(3, 1fr); } }

.t-card {
  position: relative;
  border: 1px solid rgba(246,239,230,0.1);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem 2rem;
  background: rgba(246,239,230,0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  transition:
    transform    var(--duration-med) var(--ease-out),
    background   var(--duration-med) var(--ease-out),
    border-color var(--duration-med) var(--ease-out),
    box-shadow   var(--duration-med) var(--ease-out);
}
.t-card::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem;
  width: 2rem; height: 2px;
  background: var(--sage);
  border-radius: 999px;
  opacity: 0.7;
  transition: width var(--duration-med) var(--ease-out);
}
.t-card:hover {
  transform: translateY(-4px);
  background: rgba(246,239,230,0.07);
  border-color: rgba(246,239,230,0.18);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.3);
}
.t-card:hover::before { width: 3.5rem; }

.t-quote-icon { color: var(--sage); margin-bottom: 1.25rem; opacity: 0.7; }
.t-quote-icon svg { width: 26px; height: 26px; }
.t-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--warmwhite);
  margin-bottom: 1.75rem;
  letter-spacing: -0.005em;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(246,239,230,0.55);
}
.t-author::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--sage);
  opacity: 0.6;
  flex-shrink: 0;
}
.t-footnote {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(246,239,230,0.4);
  letter-spacing: 0.04em;
}

/* ---------- Convênios panel ---------- */
.panel {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition:
    box-shadow   var(--duration-med) var(--ease-out),
    border-color var(--duration-med) var(--ease-out),
    transform    var(--duration-med) var(--ease-out);
}
.panel:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(159,179,154,0.45);
  transform: translateY(-3px);
}
@media (min-width: 800px) {
  .panel { grid-template-columns: 1.5fr 1fr; padding: 3.5rem 3.5rem; }
}
.panel h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  color: var(--coffee);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.panel p { color: rgba(58,42,30,0.72); max-width: 460px; line-height: 1.65; }
.panel-right { text-align: center; }
.panel-right small {
  display: block;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--taupe);
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } }
.faq-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  color: var(--coffee);
  margin: 1rem 0 1.25rem;
}
.faq-head p { color: rgba(58,42,30,0.72); max-width: 420px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--coffee);
  padding: 1.35rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--deep-brown); }
.faq-toggle {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-deep);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease,
              border-color 0.25s ease;
}
.faq-toggle svg { width: 14px; height: 14px; }
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--sage);
  color: var(--warmwhite);
  border-color: var(--sage);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  color: rgba(58,42,30,0.72);
  font-size: 0.97rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 1.25rem; max-width: 620px; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: var(--deep-brown);
  color: var(--warmwhite);
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/cta-texture.webp') center/cover no-repeat;
  opacity: 0.35;
}
.final-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(74, 53, 42, 0.95);
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  color: var(--warmwhite);
  margin-bottom: 1.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  line-height: 1.05;
}
.final-cta p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: rgba(246,239,230,0.8);
}

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contato-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }

.contato-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  color: var(--coffee);
  margin: 1rem 0 2rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}
.info-block:last-of-type { border-bottom: 1px solid var(--border); }
.info-icon {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(159,179,154,0.15);
  color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; }
.info-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--taupe);
  margin-bottom: 0.25rem;
}
.info-value { color: var(--coffee); font-size: 0.98rem; }
.info-value a { color: var(--coffee); border-bottom: 1px solid transparent; transition: border-color .2s; }
.info-value a:hover { border-color: var(--coffee); }
.info-sub { display: block; font-size: 0.85rem; color: var(--taupe); margin-top: 0.25rem; }

.map-frame {
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 480px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--coffee);
  color: rgba(246,239,230,0.75);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
footer .brand-name { color: var(--warmwhite); font-size: 1.3rem; }
footer .brand-tag { color: rgba(246,239,230,0.55); margin-top: 6px; }
footer .foot-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1.25rem;
  display: block;
  filter: brightness(0) invert(1) sepia(1) saturate(0) brightness(0.97) hue-rotate(0deg);
  filter: invert(97%) sepia(5%) saturate(300%) hue-rotate(330deg) brightness(103%) contrast(95%);
  opacity: 0.92;
}
footer .foot-links {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
  margin: 1.5rem 0 1.75rem;
  font-size: 0.9rem;
}
footer .foot-links a { color: rgba(246,239,230,0.75); transition: color .2s; }
footer .foot-links a:hover { color: var(--warmwhite); }
footer .copyright {
  font-size: 0.8rem;
  color: rgba(246,239,230,0.5);
  border-top: 1px solid rgba(246,239,230,0.1);
  padding-top: 1.5rem;
  margin-top: 1.25rem;
  line-height: 1.8;
}
.copyright-link {
  color: rgba(246,239,230,0.65);
  border-bottom: 1px solid rgba(246,239,230,0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.copyright-link:hover {
  color: var(--warmwhite);
  border-color: rgba(246,239,230,0.6);
}

/* ---------- Corpo Clínico — Carrossel ---------- */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 1.5rem;
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  user-select: none;
}
.carousel-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--coffee);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background    0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color  0.25s cubic-bezier(0.22, 1, 0.36, 1),
              color         0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow    0.3s  cubic-bezier(0.22, 1, 0.36, 1),
              transform     0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--warmwhite);
  box-shadow: var(--shadow-float);
  transform: scale(1.08);
}
.carousel-btn:active { transform: scale(0.96); }
.carousel-btn svg { width: 18px; height: 18px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              width     0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}
.carousel-dot.active { background: var(--coffee); width: 22px; }

.cclin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 1.25rem * 3) / 4);
  min-width: 0;
  box-shadow: var(--shadow-card);
  transition:
    transform    var(--duration-med) var(--ease-out),
    border-color var(--duration-med) var(--ease-out),
    box-shadow   var(--duration-med) var(--ease-out);
  will-change: transform;
}
@media (max-width: 899px) {
  .cclin-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
}
@media (max-width: 599px) {
  .cclin-card { flex: 0 0 80vw; }
}
.cclin-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159,179,154,0.5);
  box-shadow: var(--shadow-hover);
}
.cclin-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ivory);
  position: relative;
}
.cclin-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(58,42,30,0.12) 100%);
  opacity: 0;
  transition: opacity var(--duration-med) var(--ease-out);
  pointer-events: none;
}
.cclin-card:hover .cclin-photo-wrap::after { opacity: 1; }
.cclin-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}
.cclin-card:hover .cclin-photo { transform: scale(1.05); }
.cclin-info {
  padding: 1.25rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.cclin-info h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--coffee);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.cclin-esp {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.58rem;
  color: var(--sage-deep);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cclin-info p {
  font-size: 0.87rem;
  color: rgba(58,42,30,0.68);
  line-height: 1.55;
  margin-top: 0.45rem;
  flex: 1;
}
.cclin-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0.52rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(74,53,42,0.35);
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--coffee);
  letter-spacing: 0.03em;
  align-self: flex-start;
  transition:
    background   var(--duration-fast) var(--ease-out),
    color        var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform    var(--duration-fast) var(--ease-out);
}
.cclin-cta:hover {
  background: var(--coffee);
  color: var(--warmwhite);
  border-color: var(--coffee);
  transform: translateY(-1px);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 20, 12, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-stage {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,0.7);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: block;
}
.lightbox.open .lightbox-img {
  opacity: 1;
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(246,239,230,0.1);
  border: 1px solid rgba(246,239,230,0.2);
  color: var(--warmwhite);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(246,239,230,0.2); transform: scale(1.08); }
.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(246,239,230,0.1);
  border: 1px solid rgba(246,239,230,0.2);
  color: var(--warmwhite);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 10;
}
.lightbox-arrow:hover { background: rgba(246,239,230,0.22); transform: translateY(-50%) scale(1.08); }
.lightbox-arrow svg { width: 22px; height: 22px; }
.lightbox-arrow--prev { left: 1.25rem; }
.lightbox-arrow--next { right: 1.25rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(246,239,230,0.5);
  text-transform: uppercase;
}

/* cursor pointer nas imagens da galeria */
[data-lightbox] { cursor: zoom-in; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: opacity 0.15s linear !important;
    transform: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
