:root {
  --color-bg: #ededed;
  --color-text: #232323;
  --color-text-muted: #555555;
  --color-accent: #1e2130;
  --color-accent-hover: #2d3142;
  --color-accent-light: rgba(30, 33, 48, 0.10);
  --color-accent-glow: rgba(30, 33, 48, 0.06);
  --color-white: #b7b6b2;
  --color-border: #d4d4d4;

  --color-dark-bg: #1e2130;
  --color-dark-bg-alt: #181a26;
  --color-dark-text: #b7b6b2;
  --color-dark-text-muted: #a0a09c;
  --color-dark-border: #484a54;
  --color-dark-card: #242738;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
  --max-width-narrow: 700px;
  --header-height: 5rem;
  --header-offset: 5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.10);

  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
}

/* ============================================
   Base
============================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: 6rem 0;
  scroll-margin-top: calc(var(--header-offset, var(--header-height)) + 0.5rem);
}

.section--light {
  background: var(--color-bg);
}

.section--dark {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
}

.section--dark-alt {
  background: var(--color-dark-bg-alt);
  color: var(--color-dark-text);
}

/* Section header */
.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__header--dark .section__tag {
  color: var(--color-dark-text);
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.section__title--dark {
  color: var(--color-dark-text);
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.section__subtitle--dark {
  color: var(--color-dark-text-muted);
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(24, 26, 38, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(183, 182, 178, 0.08);
  transition: height 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header.shrink {
  height: 3.5rem;
  background: rgba(24, 26, 38, 0.70);
  border-bottom-color: rgba(183, 182, 178, 0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.header.shrink .logo__img {
  height: 5rem;
}

.header.shrink .nav__link {
  font-size: 0.82rem;
}

/* Glass header — light nav links */
.header .nav__link:not(.nav__link--cta) {
  color: var(--color-dark-text);
}

.header .nav__link:not(.nav__link--cta):hover {
  color: #fff;
}

.header .nav__link--cta {
  background: rgba(183, 182, 178, 0.15);
  color: #fff;
  border: 1px solid rgba(183, 182, 178, 0.15);
}

.header .nav__link--cta:hover {
  background: rgba(183, 182, 178, 0.25);
  color: #fff;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  z-index: 2;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: 8rem;
  width: auto;
  object-fit: contain;
}

.logo--footer .logo__img {
  height: 10rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link--cta {
  padding: 0.5rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-dark-text);
  border-radius: var(--radius-sm);
}

.nav__link--cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-dark-text);
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  position: relative;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* ============================================
   Buttons — Liquid Glass
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Shine overlay */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

/* Primary — solid with glass edge */
.btn--primary {
  background: rgba(30, 33, 48, 0.85);
  color: var(--color-white);
  border: 1px solid rgba(183, 182, 178, 0.15);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 4px 16px rgba(0,0,0,0.12);
}

.btn--primary:hover {
  background: rgba(45, 49, 66, 0.90);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 8px 28px rgba(0,0,0,0.20);
  border-color: rgba(183, 182, 178, 0.25);
}

/* Outline — fully glass */
.btn--outline {
  background: rgba(30, 33, 48, 0.10);
  color: var(--color-accent);
  border: 1px solid rgba(30, 33, 48, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--outline:hover {
  background: rgba(30, 33, 48, 0.18);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30, 33, 48, 0.10);
  border-color: rgba(30, 33, 48, 0.30);
}

/* Dark section buttons */
.section--dark .btn--primary,
.hero--lamp .btn--primary {
  background: rgba(183, 182, 178, 0.12);
  color: var(--color-dark-text);
  border-color: rgba(183, 182, 178, 0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 16px rgba(0,0,0,0.15);
}

.section--dark .btn--primary:hover,
.hero--lamp .btn--primary:hover {
  background: rgba(183, 182, 178, 0.20);
  border-color: rgba(183, 182, 178, 0.30);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 8px 28px rgba(0,0,0,0.25);
}

.section--dark .btn--outline,
.hero--lamp .btn--outline {
  background: rgba(183, 182, 178, 0.06);
  color: var(--color-dark-text);
  border-color: rgba(183, 182, 178, 0.15);
}

.section--dark .btn--outline:hover,
.hero--lamp .btn--outline:hover {
  background: rgba(183, 182, 178, 0.15);
  border-color: rgba(183, 182, 178, 0.28);
  color: var(--color-dark-text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
  scroll-margin-top: 0;
}

.hero__accent-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(to right, var(--color-accent-light), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: var(--header-offset, var(--header-height));
  padding-bottom: 2rem;
  min-height: 100vh;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__overline {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__title-em {
  color: var(--color-accent);
}

.hero__description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Hero photo */
.hero__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(183, 182, 178, 0.15);
  background: var(--color-accent);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.12),
    0 12px 32px rgba(0,0,0,0.10),
    0 24px 64px rgba(0,0,0,0.06);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.5s ease;
}

.hero__photo-frame:hover {
  transform: perspective(800px) rotateY(-1.5deg) translateY(-4px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.15),
    0 16px 40px rgba(0,0,0,0.12),
    0 32px 80px rgba(0,0,0,0.08);
}

/* Depth overlay on hero photo */
.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0,0,0,0.25) 100%
  );
}

.hero__photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  object-position: top center;
}

.hero__photo-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--color-accent);
  color: var(--color-dark-text);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.15),
    0 8px 24px rgba(0,0,0,0.10);
  z-index: 2;
  border: 1px solid rgba(183, 182, 178, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero — Lamp variant */
.hero--lamp {
  background: var(--color-accent);
}

/* Aurora: canvas 2D provides the animated background */
.hero[data-gradient="aurora"],
.hero--lamp[data-gradient="aurora"] {
  background: transparent !important;
}

.hero--lamp .hero__overline {
  color: var(--color-dark-text-muted);
}

.hero--lamp .hero__title {
  color: var(--color-dark-text);
}

.hero--lamp .hero__title-em {
  color: var(--color-dark-text);
}

.hero--lamp .hero__description {
  color: var(--color-dark-text-muted);
}

.hero--lamp .hero__stat-number {
  color: var(--color-dark-text);
}

.hero--lamp .hero__stat-label {
  color: var(--color-dark-text-muted);
}

.hero--lamp .hero__stats {
  border-top-color: rgba(183, 182, 178, 0.10);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  z-index: 1;
  background: var(--color-accent);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 20px 50px rgba(0, 0, 0, 0.06);
}

.service-card:hover .service-card__icon {
  animation: icon-pulse 0.6s ease-in-out;
}

.service-card__icon {
  color: var(--color-dark-text);
  margin-bottom: 1rem;
  display: flex;
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-dark-text-muted);
  line-height: 1.6;
}

/* ============================================
   About
============================================ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(183, 182, 178, 0.12);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.10),
    0 12px 32px rgba(0,0,0,0.08),
    0 24px 64px rgba(0,0,0,0.04);
  background: var(--color-accent);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.5s ease;
}

.about__photo:hover {
  transform: perspective(800px) rotateY(1.5deg) translateY(-4px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.12),
    0 16px 40px rgba(0,0,0,0.10),
    0 32px 80px rgba(0,0,0,0.06);
}

.about__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.about__check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.about__cta {
  align-self: flex-start;
  margin-top: 0.75rem;
}

/* ============================================
   Features / Diferenciais (Dark)
============================================ */

.features {
  position: relative;
}

.features__accent-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(183, 182, 178, 0.18), transparent);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: 0.6rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--color-dark-text-muted);
  line-height: 1.6;
}

/* ============================================
   Glowing border effect on cards
   ============================================ */

.service-card::before,
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: var(--glow-active, 0);
  transition: opacity 0.3s ease;
  background: radial-gradient(
    250px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(75, 100, 160, 0.28),
    rgba(45, 60, 110, 0.10) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Dark section cards — lighter glow */
.section--dark .service-card::before,
.section--dark .feature-card::before {
  background: radial-gradient(
    250px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(140, 160, 210, 0.22),
    rgba(100, 130, 180, 0.08) 40%,
    transparent 70%
  );
}

/* ============================================
   Stats (Dark strip)
============================================ */

.stats {
  padding: 4rem 0;
  border-top: 1px solid var(--color-dark-border);
  border-bottom: 1px solid rgba(183, 182, 178, 0.18);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats__label {
  font-size: 0.85rem;
  color: var(--color-dark-text-muted);
  font-weight: 400;
}

/* ============================================
   Testimonials
============================================ */

/* ============================================
   Testimonials Split Layout — Carrossel + Equipe
   ============================================ */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.testimonials__carousel-col,
.testimonials__team-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.testimonials__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---- Carrossel de depoimentos ---- */
.testimonial-roll {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.testimonial-roll__viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 100%;
}

.testimonial-roll__track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.testimonial-roll__track .testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.testimonial-roll__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

.testimonial-roll__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-dark-border);
  border-radius: 50%;
  background: var(--color-dark-card);
  color: var(--color-dark-text);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  padding: 0;
}

.testimonial-roll__btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark-text);
}

.testimonial-roll__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.testimonial-roll__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-dark-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.testimonial-roll__dot--active {
  background: var(--color-accent);
  transform: scale(1.4);
}

/* ---- Team Cards ---- */
.team__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-card__photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-accent);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.team-card__info strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark-text);
}

.team-card__info > span {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
}

.team-card__bio {
  font-size: 0.8rem;
  color: var(--color-dark-text-muted);
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* ---- Light mode overrides ---- */
.section--light .testimonials__desc {
  color: var(--color-text-muted);
}

.section--light .testimonial-card {
  background: var(--color-accent);
  border-color: var(--color-dark-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section--light .testimonial-card__text {
  color: var(--color-dark-text);
}

.section--light .testimonial-card__text::before {
  color: var(--color-dark-text);
  opacity: 0.12;
}

.section--light .testimonial-card__author {
  border-top-color: var(--color-dark-border);
}

.section--light .testimonial-card__author strong {
  color: var(--color-dark-text);
}

.section--light .testimonial-card__author span {
  color: var(--color-dark-text-muted);
}

.section--light .testimonial-roll__btn {
  background: var(--color-dark-card);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text);
}

.section--light .testimonial-roll__btn:hover {
  background: var(--color-accent);
  border-color: var(--color-dark-text);
  color: var(--color-dark-text);
}

.section--light .testimonial-roll__dot {
  background: var(--color-dark-border);
}

.section--light .testimonial-roll__dot--active {
  background: var(--color-accent);
}

.section--light .team-card {
  background: var(--color-accent);
  border-color: var(--color-dark-border);
}

.section--light .team-card__info strong {
  color: var(--color-dark-text);
}

.section--light .team-card__info > span {
  color: var(--color-dark-text);
  opacity: 0.7;
}

.section--light .team-card__bio {
  color: var(--color-dark-text-muted);
}

/* ---- Testimonial Card Base (used inside carousel) ---- */
.testimonial-card {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-sizing: border-box;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--color-dark-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  padding-top: 0.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
}

.testimonial-card__text::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.25;
  position: absolute;
  top: -1rem;
  left: -0.25rem;
  line-height: 1;
  font-style: normal;
}

.testimonial-card__author {
  border-top: 1px solid var(--color-dark-border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card__author strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-text);
  font-style: normal;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--color-dark-text-muted);
}

/* Transition separator between sections */
.section__accent-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(183, 182, 178, 0.18), transparent);
}

/* ============================================
   Contact Form
   ============================================ */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact {
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-dark-text);
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a09890' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(183, 182, 178, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-dark-text-muted);
  opacity: 0.6;
}

.form-group select option {
  background: var(--color-dark-card);
  color: var(--color-dark-text);
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ============================================
   CTA — Vamos trabalhar juntos
   ============================================ */

.cta {
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--color-dark-border);
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta__tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-dark-text-muted);
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-dark-text);
}

.cta__text {
  font-size: 1.05rem;
  color: var(--color-dark-text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.cta__btn {
  margin-top: 0.75rem;
  padding: 1rem 3rem;
  font-size: 1rem;
}

/* ============================================
   Footer
============================================ */

.footer {
  background: var(--color-dark-bg-alt);
  color: var(--color-dark-text);
  position: relative;
}

.footer__accent-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(183, 182, 178, 0.18), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--color-dark-text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark-text);
  margin-bottom: 0.5rem;
}

.footer__link {
  font-size: 0.88rem;
  color: var(--color-dark-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__info {
  font-size: 0.88rem;
  color: var(--color-dark-text-muted);
}

.footer__info--sm {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid var(--color-dark-border);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-dark-text-muted);
  opacity: 0.5;
}

/* ============================================
   Responsive
============================================ */

@media (max-width: 900px) {
  /* Header — barra única + hamburger */
  .header {
    height: 4rem;
  }

  .header.shrink {
    height: 3.5rem;
  }

  .header .container {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .logo__img {
    height: 3.25rem;
  }

  .header.shrink .logo__img {
    height: 2.75rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-overlay {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100dvh;
    background: rgba(24, 26, 38, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(183, 182, 178, 0.1);
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 105;
    overflow-y: auto;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    display: block;
    font-size: 1.05rem;
    padding: 0.9rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--color-dark-text);
  }

  .header .nav__link:not(.nav__link--cta):hover {
    background: rgba(183, 182, 178, 0.08);
    color: #fff;
  }

  .nav__link--cta {
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .header.shrink .nav__link {
    font-size: 1.05rem;
  }

  /* Hero — layout empilhado com respiro */
  .hero {
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--header-offset, 4rem) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero__photo {
    order: -1;
    max-width: min(280px, 72vw);
    margin: 0 auto;
  }

  .hero__photo-frame img {
    max-height: 42vh;
    width: 100%;
  }

  .hero__text {
    gap: 1rem;
  }

  .hero__description {
    max-width: 36ch;
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero__stats {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
  }

  .hero__photo-badge {
    right: 0.5rem;
    bottom: 0.75rem;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__photo {
    max-width: min(300px, 80vw);
    margin: 0 auto;
  }

  .about__cta {
    align-self: center;
  }

  /* Features */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Testimonials */
  .testimonials__split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonials__carousel-col,
  .testimonials__team-col {
    min-width: 0;
    width: 100%;
  }

  .testimonial-roll,
  .testimonial-roll__viewport,
  .testimonial-roll__controls {
    width: 100%;
    max-width: 100%;
  }

  .testimonial-card {
    padding: 1.35rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .logo--footer .logo__img {
    height: 6rem;
  }

  /* Sections */
  .section {
    padding: 4rem 0;
  }

  .section__header {
    margin-bottom: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .header {
    height: 3.75rem;
  }

  .header.shrink {
    height: 3.25rem;
  }

  .logo__img {
    height: 2.85rem;
  }

  .header.shrink .logo__img {
    height: 2.4rem;
  }

  /* Hero */
  .hero__container {
    gap: 1.5rem;
    padding-top: calc(var(--header-offset, 3.75rem) + 1.25rem);
    padding-bottom: 2.5rem;
  }

  .hero__photo {
    max-width: min(240px, 68vw);
  }

  .hero__photo-frame img {
    max-height: 36vh;
  }

  .hero__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .hero__overline {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero__description {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero__stats {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .hero__stat-number {
    font-size: 1.35rem;
  }

  .hero__stat-label {
    font-size: 0.72rem;
  }

  .hero__photo-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
  }

  .hero__accent-left {
    background: linear-gradient(to bottom, var(--color-accent-light), transparent);
    width: 100%;
    height: 30%;
  }

  .btn {
    padding: 0.8rem 1.35rem;
    font-size: 0.9rem;
  }

  /* About */
  .about__photo {
    max-width: min(260px, 75vw);
  }

  .about__text {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .about__content {
    gap: 0.85rem;
  }

  /* Section headers */
  .section__tag {
    font-size: 0.7rem;
  }

  .section__title {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .section__subtitle {
    font-size: 0.95rem;
  }

  /* Services */
  .service-card {
    padding: 1.5rem;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .service-card__text {
    font-size: 0.88rem;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  /* Testimonials */
  .testimonials__split-layout {
    gap: 2.5rem;
  }

  .testimonials__desc {
    font-size: 0.92rem;
  }

  .testimonial-card {
    padding: 1.25rem 1.15rem;
  }

  .testimonial-card__text {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .testimonial-card__text::before {
    font-size: 2.25rem;
    top: -0.5rem;
  }

  .testimonial-roll__controls {
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .testimonial-roll__btn {
    width: 38px;
    height: 38px;
  }

  .testimonial-roll__dot {
    width: 7px;
    height: 7px;
  }

  /* Team */
  .team-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .team-card__photo {
    width: 56px;
    height: 56px;
  }

  .team-card__info strong {
    font-size: 0.9rem;
  }

  .team-card__bio {
    font-size: 0.78rem;
  }

  /* Contact */
  .contact__form .btn {
    align-self: stretch;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.75rem 0;
  }

  .logo--footer .logo__img {
    height: 5rem;
  }

  .footer__info {
    word-break: break-word;
  }

  /* Floating buttons */
  .whatsapp-btn {
    width: 3rem;
    height: 3rem;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .scroll-top {
    width: 2.5rem;
    height: 2.5rem;
    bottom: 4.5rem;
    right: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .hero__photo {
    max-width: min(210px, 70vw);
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__stats {
    gap: 1rem;
  }

  .hero__stat-number {
    font-size: 1.15rem;
  }

  .section {
    padding: 3rem 0;
  }

  .logo--footer .logo__img {
    height: 4.25rem;
  }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  background: #20bd5a;
}

.whatsapp-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* Pulse ring */
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   Animated Icons on Cards
   ============================================ */

.service-card__icon svg,
.feature-card__icon svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__icon svg,
.feature-card:hover .feature-card__icon svg {
  transform: scale(1.2) rotate(-5deg);
}

/* ============================================
   Preloader
   ============================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.5s ease;
}

.preloader--hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader__logo img {
  height: 6rem;
  width: auto;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

.preloader__bar {
  width: 120px;
  height: 2px;
  background: rgba(183, 182, 178, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-dark-text);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ============================================
   Scroll-to-Top Button
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 199;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(183, 182, 178, 0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer;
}

.scroll-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-accent-hover);
}
