:root {
  --color-bg: #0f172a;
  --color-bg-alt: #111827;
  --color-surface: #ffffff;
  --color-text: #1f2933;
  --color-text-muted: #5b6474;
  --color-primary: #ff7a00;
  --color-primary-dark: #e06600;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebe57;
  --radius: 14px;
  --max-width: 1140px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-surface: #111827;
    --color-text: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-bg-alt: #0b1220;
  }
}

:root[data-theme="dark"] {
  --color-surface: #111827;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-bg-alt: #0b1220;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: transparent;
  color: var(--color-text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  border-color: var(--color-primary);
}

@media (max-width: 560px) {
  .header__actions .btn--ghost { display: none; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}

.logo__icon { font-size: 1.4rem; }

.logo__img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav a:hover { color: var(--color-primary); }

@media (max-width: 760px) {
  .nav { display: none; }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
}
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(100, 116, 139, 0.35);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn--lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn--nav { padding: 8px 16px; font-size: 0.9rem; }

.btn__icon { font-size: 1.1em; }

/* Hero */

.hero {
  background: radial-gradient(circle at top right, rgba(255, 122, 0, 0.12), transparent 55%);
  padding: 64px 0 56px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

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

.badge {
  display: inline-block;
  background: rgba(255, 122, 0, 0.12);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero .accent { color: var(--color-primary); }

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__call {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 24px;
}

.hero__call a {
  color: var(--color-primary);
  font-weight: 600;
}

.hero__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.hero__media-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section--alt {
  background: rgba(100, 116, 139, 0.06);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
}

.section__subtitle {
  color: var(--color-text-muted);
  margin: 0 0 36px;
  max-width: 600px;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--color-surface);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Carousel */

.carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  flex: 0 0 auto;
  width: 240px;
  margin: 0;
  scroll-snap-align: start;
}

.carousel__item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.carousel__btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(100, 116, 139, 0.3);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.carousel__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .carousel__btn { display: none; }
}

/* Testimonials */

.eyebrow {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#depoimentos .section__title em {
  color: var(--color-primary);
  font-style: italic;
}

.testimonials {
  margin-top: 36px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.testimonials--static {
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
}

.testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.testimonials:hover .testimonials__track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.t-card {
  flex: 0 0 auto;
  width: 340px;
  background: var(--color-surface);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin: 0;
}

.testimonials--static .t-card {
  width: 100%;
  max-width: 420px;
}

.t-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.t-card__avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.t-card__name {
  margin: 0;
  font-weight: 700;
}

.t-card__source {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.t-card__quote {
  margin: 0;
  color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__track { animation: none; }
}

/* Area */

.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.area__neighborhoods {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.area__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.area__list li {
  background: var(--color-surface);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 500;
}

.area__list-consult {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  font-weight: 500;
  font-style: italic;
}

.area__map-placeholder {
  background: var(--color-bg-alt);
  color: #cbd5e1;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 4rem;
}

.area__map-placeholder span {
  font-size: 0.9rem;
  color: #94a3b8;
}

.section__note {
  margin: 28px 0 0;
  font-weight: 500;
  color: var(--color-text);
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq__item summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--color-primary);
  font-weight: 700;
}

.faq__item[open] summary::before {
  content: "–";
}

.faq__item p {
  margin: 12px 0 0 1.2em;
  color: var(--color-text-muted);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.step {
  text-align: center;
  padding: 10px;
}

.step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* CTA */

.section--cta {
  background: linear-gradient(135deg, var(--color-primary), #ff9a3d);
  color: #fff;
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta p {
  margin: 0 0 28px;
  opacity: 0.95;
}

.section--cta .btn--whatsapp {
  background: #ffffff;
  color: var(--color-whatsapp-dark);
}
.section--cta .btn--whatsapp:hover { background: #f1f5f9; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn--on-cta {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--on-cta:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Footer */

.footer {
  background: var(--color-bg);
  color: #e5e7eb;
  padding: 36px 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a:hover { color: var(--color-primary); }

.footer__copy {
  width: 100%;
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Floating WhatsApp button */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}
