/* ==========================================================================
   Casa de Repouso Solar dos Anjos — Stylesheet (HTML5 + CSS3 + SEO Optimized)
   ========================================================================== */

:root {
  --gold: #dcce60;
  --gold-dark: #c4b545;
  --gold-deep: #9e8f29;
  --gold-soft: rgba(220, 206, 96, 0.14);
  --heading-dark: #444235;
  --heading-slate: #3e3f56;
  --body-color: #666666;
  --muted-color: #8f8f8f;
  --btn-gray: #b3b3b3;
  --btn-gray-hover: #999999;
  --bg-white: #ffffff;
  --bg-light: #f9f9f9;
  --bg-nossa-casa: #f2f2f2;
  --bg-faq: #ededed;
  --bg-contato: #f6f6f6;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --max-width: 1140px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 100px;
  --shadow-header: 0 12px 18px -6px rgba(0, 0, 0, 0.07);
  --shadow-btn: 0 8px 18px -6px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.07);
  --font-display: 'Comfortaa', cursive, sans-serif;
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-color);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Skip link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--heading-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Header & Navigation (Dropdown for 5 Unidades)
   ========================================================================== */
.site-header {
  background: linear-gradient(168deg, rgba(220, 206, 96, 0.08) 0%, rgba(255, 255, 255, 0.98) 55%, #ffffff 100%);
  background-color: #ffffff;
  box-shadow: var(--shadow-header);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: 215px;
  flex-shrink: 0;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  color: rgba(0, 0, 0, 0.65);
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--heading-dark);
}

.nav-link[aria-current="page"] {
  border-bottom: 2px solid var(--gold);
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background-color: rgba(255, 255, 255, 0.98);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #7a7a7a;
  line-height: 1.4;
}

.dropdown-menu li a:hover,
.dropdown-menu li a[aria-current="page"] {
  color: var(--heading-dark);
  background-color: rgba(220, 206, 96, 0.15);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--gold);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.8px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  text-shadow: 0.06em 0.06em 0.08em rgba(0, 0, 0, 0.32);
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
}

.header-cta:hover {
  background-color: var(--gold-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--gold-dark);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Buttons (Gold & Unit Gray)
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--gold);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 2.5px;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-btn);
  text-transform: none;
}

.btn-gold svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -6px rgba(0, 0, 0, 0.3);
}

.btn-gold-white-border {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background-color: rgba(0, 0, 0, 0.12);
}

.btn-gold-white-border:hover {
  background-color: #ffffff;
  color: var(--heading-dark);
}

.btn-unit-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--btn-gray);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
}

.btn-unit-gray svg {
  width: 17px;
  height: 17px;
}

.btn-unit-gray:hover {
  background-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.hero-solar {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.89) 100%), url('/images/Foto-de-capa-do-solar.webp');
  background-size: cover;
  background-position: center 40%;
  padding: 120px 0 110px;
  text-align: center;
}

.hero-brand-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 5px;
  color: #333333;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-main-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 6px;
  line-height: 1.35;
  color: #333333;
  max-width: 820px;
  margin: 0 auto 28px;
  text-transform: uppercase;
}

.hero-cta-wrap {
  margin-bottom: 42px;
}

.hero-units-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.unit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #111111;
  background-color: rgba(255, 255, 255, 0.78);
  border: 1px solid #b5b5b5;
  border-radius: 50px;
  padding: 7px 16px;
  min-width: 100px;
}

.unit-pill:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Section Common Headings
   ========================================================================== */
.section-title-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: 3.5px;
  line-height: 1.25;
  color: var(--heading-slate);
  margin-bottom: 16px;
  text-align: center;
}

.section-title-display.align-left {
  text-align: left;
}

.section-title-display.text-white {
  color: #ffffff;
}

.section-title-display.text-gold {
  color: var(--gold);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.55);
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-subtitle.text-white {
  color: rgba(255, 255, 255, 0.94);
}

/* ==========================================================================
   Section: Diferencial (Gold Background)
   ========================================================================== */
.section-diferencial {
  background-color: var(--gold);
  padding: 96px 0 84px;
  color: #ffffff;
  text-align: center;
}

.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 52px 0 44px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
}

.feature-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #ffffff;
}

.feature-icon svg {
  width: 58px;
  height: 58px;
}

.feature-icon.icon-gold {
  color: var(--gold);
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.35;
  color: #ffffff;
}

.feature-title.text-gray {
  color: #6b6b6b;
}

.diferencial-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 22px;
}

/* ==========================================================================
   Section: Especialista no Bem Estar do Idoso
   ========================================================================== */
.section-especialistas {
  background-color: rgba(214, 214, 214, 0.16);
  padding: 92px 0 100px;
  text-align: center;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-bottom: 48px;
}

/* ==========================================================================
   Section: Galeria das 5 Unidades (Mosaicos)
   ========================================================================== */
.section-galeria {
  background-color: #ffffff;
  padding: 92px 0 72px;
}

.unit-showcase {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(220, 206, 96, 0.35);
}

.unit-showcase:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.unit-showcase-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: #333333;
  margin-bottom: 16px;
}

.unit-mosaic-link {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
  border: 2px solid transparent;
}

.unit-mosaic-link:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.unit-mosaic-link img {
  width: 100%;
  height: auto;
}

.unit-address-line {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 20px;
}

.unit-cta-center {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   Unit Individual Page (Unidade 1..5) Gallery & Slider
   ========================================================================== */
.unit-page-hero {
  padding: 48px 0 64px;
  background-color: #ffffff;
}

.unit-page-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  color: #333333;
  margin-bottom: 8px;
}

.unit-page-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 3px;
  color: var(--heading-dark);
  margin-bottom: 28px;
}

.unit-mosaic-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

/* Interactive Carousel + Thumbnail Grid */
.unit-carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #faf8ef;
  margin: 28px 0 24px;
  box-shadow: var(--shadow-card);
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(220, 206, 96, 0.92);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--gold-dark);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn-prev {
  left: 40px;
}

.carousel-btn-next {
  right: 40px;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #ffffff;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: #d4d4d4;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
  background-color: var(--gold);
  transform: scale(1.25);
}

/* Unit Photo Grid (for instant browsing & SEO) */
.unit-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.unit-photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold);
  aspect-ratio: 1 / 1;
  background-color: #f7f5eb;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.unit-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.unit-photo-item:hover img {
  transform: scale(1.05);
}

.other-units-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* ==========================================================================
   Section: Nossa Casa
   ========================================================================== */
.section-nossa-casa {
  background-color: var(--bg-nossa-casa);
  padding: 88px 0;
}

.nossa-casa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.nossa-casa-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 12px;
}

.nossa-casa-text p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.9;
  color: rgba(25, 12, 11, 0.65);
  margin-bottom: 18px;
}

.nossa-casa-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Section: Nossos Serviços
   ========================================================================== */
.section-servicos {
  background-color: #ffffff;
  padding: 84px 0 96px;
}

.servicos-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 64px;
  max-width: 920px;
  margin: 16px auto 0;
}

.servico-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background-color: rgba(220, 206, 96, 0.08);
  border-left: 4px solid var(--gold);
}

.servico-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.4;
  color: var(--heading-dark);
}

/* ==========================================================================
   Section: Perguntas Frequentes (FAQ)
   ========================================================================== */
.section-faq {
  background-color: var(--bg-faq);
  padding: 84px 0 92px;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: #333333;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--gold);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-color);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Section: Contato & Google Maps
   ========================================================================== */
.section-contato {
  background-color: var(--bg-contato);
  padding: 92px 0 0;
  position: relative;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 72px;
}

.contato-logo {
  max-width: 260px;
  margin-bottom: 32px;
}

.contato-unit-block {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.contato-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: #666666;
}

.contato-line:hover {
  color: var(--heading-dark);
}

.contato-line.is-phone {
  font-weight: 700;
}

.contato-icon {
  color: var(--gold);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contato-icon svg {
  width: 20px;
  height: 20px;
}

.contato-map-wrap {
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  line-height: 0;
  background-color: #e9e6d8;
}

.contato-map-wrap iframe {
  width: 100%;
  height: 620px;
  border: 0;
}

.contato-divider {
  width: 100%;
  height: 90px;
  line-height: 0;
  overflow: hidden;
}

.contato-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Footer Section (#rsvp — Fale Conosco)
   ========================================================================== */
.site-footer {
  background-color: var(--gold);
  padding: 72px 0 36px;
  color: #ffffff;
  text-align: center;
}

.footer-subtitle {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.6;
  color: #ffffff;
  max-width: 780px;
  margin: 0 auto 32px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.social-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.social-circle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.social-circle:hover {
  transform: translateY(-3px);
  color: var(--gold-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin: 36px 0 24px;
  font-size: 14px;
  font-weight: 600;
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-nav-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-credits {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.7;
}

/* ==========================================================================
   Floating WhatsApp Button & Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  color: #f0f0f0;
  font-size: 15px;
  text-align: center;
  max-width: 720px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 3px solid var(--gold);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    padding: 16px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 10px 6px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--gold);
    padding: 4px 0 4px 12px;
    margin-top: 4px;
  }

  .diferencial-grid,
  .activities-grid,
  .nossa-casa-grid,
  .servicos-columns,
  .faq-columns,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .carousel-viewport {
    height: 380px;
  }

  .contato-map-wrap iframe {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .hero-solar {
    padding: 84px 0 72px;
  }

  .hero-main-heading {
    letter-spacing: 3px;
  }

  .carousel-viewport {
    height: 300px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .carousel-btn-prev {
    left: 12px;
  }

  .carousel-btn-next {
    right: 12px;
  }

  .unit-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Botão flutuante "Fale conosco" — mesmo formato do cartaodecontato.com
   (pílula com ícone de fone), na cor do Solar. Substituiu o círculo verde do
   WhatsApp (Eduardo, 2026-10-29) e herdou o link da conversa. */
.fale-conosco-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold-deep);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(158, 143, 41, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.fale-conosco-float svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.fale-conosco-float:hover {
  background-color: var(--gold-dark);
  color: #ffffff;
  transform: scale(1.05);
}

/* Grade de quadrados que substitui o mosaico no topo da unidade (teste na
   Unidade 4, Eduardo 2026-10-29) — 4 colunas, sem canto arredondado, borda
   dourada igual à do botão "Fale agora!". */
.unit-photo-grid-quadros {
  grid-template-columns: repeat(4, 1fr);
  gap: 54px;
  margin-bottom: 20px;
}

.unit-photo-grid-quadros .unit-photo-item {
  border-radius: 0;
  border: 2px solid var(--gold);
  box-shadow: none;
}

@media (max-width: 600px) {
  .unit-photo-grid-quadros {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Variação só de formato: o botão mantém as cores do .btn-gold, mas com os
   cantos totalmente arredondados (Eduardo, 2026-10-29). */
.btn-gold-redondo {
  border-radius: var(--radius-pill);
}

/* Só o "Fale conosco agora", no fim do Diferencial: fundo branco com ícone e
   texto no dourado da logo (#dcce60). */
.btn-gold-branco {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--gold);
}

.btn-gold-branco:hover {
  background-color: #ffffff;
  color: var(--gold-deep);
}
