/* ==========================================================================
   LUXURY DARK — Personal Trainer One-Page Stylesheet
   ========================================================================== */

/* --- 1. RESET & VARIABLES --- */
:root {
  /* Brand Colors */
  --preto-premium: #0B0B0F;
  --azul-principal: #23285B;
  --azul-escuro: #151935;
  --dourado-premium: #D8B36A;
  --texto-claro: #F5F5F5;
  --texto-cinza: #A0A0A0;

  /* WhatsApp Green */
  --whatsapp: #25D366;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-gold: 0 0 30px rgba(216, 179, 106, 0.3);
  --shadow-blue: 0 0 30px rgba(35, 40, 91, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--preto-premium);
  color: var(--texto-claro);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul { list-style: none; }

/* --- 2. UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--dourado-premium), #f0d99a, var(--dourado-premium));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--dourado-premium);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--texto-cinza);
  max-width: 600px;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header .section__desc {
  margin: 0 auto;
}

/* Placeholder styles */
.placeholder__icon {
  width: 48px;
  height: 48px;
  color: var(--texto-cinza);
  opacity: 0.5;
}

/* --- 3. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.btn__icon {
  width: 18px;
  height: 18px;
}

/* Gold Primary Button */
.btn--gold {
  background: linear-gradient(135deg, var(--dourado-premium), #e8ca7e);
  color: var(--preto-premium);
  padding: 14px 28px;
  font-size: 0.95rem;
}

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

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

.btn--gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Outline Button */
.btn--outline {
  background: transparent;
  color: var(--texto-claro);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn--outline:hover {
  border-color: var(--dourado-premium);
  color: var(--dourado-premium);
  transform: translateY(-2px);
}

/* WhatsApp Button */
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
}

.btn--whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
  transform: translateY(-3px);
}

/* Sizes */
.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- 4. HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

/* Solid state on scroll */
.header--scrolled {
  background: rgba(11, 11, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--texto-claro);
}

.logo__dot {
  color: var(--dourado-premium);
}

.logo__sub {
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--texto-cinza);
  font-weight: 500;
}

/* --- Logo images (real logo instead of text) --- */
.logo__img {
  height: 48px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.logo__img-footer {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.logo__img:hover {
  opacity: 0.8;
}

.header__nav {
  display: flex;
  align-items: center;
}

/* CTA inside nav — hidden on desktop, shown on mobile menu */
.nav-cta {
  display: none;
}

.header__nav.is-open .nav-cta {
  display: inline-flex;
}

/* Gold CTA on desktop */
.header__cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

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

.header__cta:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto-cinza);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dourado-premium);
  transition: width var(--transition-base);
}

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

.nav__link:hover::after {
  width: 100%;
}

/* Mobile toggle */
.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto-claro);
  border-radius: 2px;
  transition: all var(--transition-base);
  position: absolute;
  left: 4px;
}

.hamburger { top: 15px; }
.hamburger::before {
  content: '';
  top: -7px;
}
.hamburger::after {
  content: '';
  top: 7px;
}

/* Active hamburger X */
.header__toggle.is-active .hamburger { background: transparent; }
.header__toggle.is-active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.header__toggle.is-active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--dourado-premium);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__gradient-text {
  background: linear-gradient(135deg, var(--dourado-premium), #f0d99a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--texto-cinza);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 40px;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dourado-premium);
  display: block;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--texto-cinza);
}

/* Hero photo */
.hero__image {
  position: relative;
}

.hero__photo {
  width: 100%;
  min-height: 600px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--azul-escuro), var(--preto-premium));
}

.hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--preto-premium), transparent);
  pointer-events: none;
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--texto-cinza);
  opacity: 0.4;
  font-size: 0.9rem;
}

/* Background overlays for hero */
.hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center right, rgba(35, 40, 91, 0.3), transparent 70%);
  pointer-events: none;
}

/* --- 6. SOBRE MIM --- */
.sobre {
  padding: var(--section-padding) 0;
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.sobre__photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.sobre__image {
  position: relative;
}

.sobre__text {
  color: var(--texto-cinza);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.sobre__highlights {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.highlight__icon {
  width: 20px;
  height: 20px;
  color: var(--dourado-premium);
  flex-shrink: 0;
}

.sobre__highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- 7. SERVIÇOS --- */
.servicos {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--preto-premium), var(--azul-escuro), var(--preto-premium));
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Glassmorphism Cards */
.card {
  background: rgba(21, 25, 53, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(35, 40, 91, 0), transparent);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(35, 40, 91, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card:hover::before {
  background: linear-gradient(90deg, transparent, var(--azul-principal), transparent);
}

/* Featured card */
.card--featured {
  border-color: rgba(216, 179, 106, 0.2);
  background: rgba(21, 25, 53, 0.7);
}

.card--featured:hover {
  border-color: rgba(216, 179, 106, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(216, 179, 106, 0.08);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--dourado-premium);
}

.card__icon svg {
  width: 32px;
  height: 32px;
}

.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--dourado-premium);
  color: var(--preto-premium);
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card__desc {
  color: var(--texto-cinza);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.card__features {
  margin-bottom: 28px;
}

.card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--texto-claro);
  padding: 6px 0;
}

.card__features li svg {
  width: 16px;
  height: 16px;
  color: var(--dourado-premium);
  flex-shrink: 0;
}

/* --- 8. RESULTADOS --- */
.resultados {
  padding: var(--section-padding) 0;
}

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

.result-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(21, 25, 53, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.result-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 40, 91, 0.4);
}

.result-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.result-card__before,
.result-card__after {
  position: relative;
  min-height: 280px;
  background: var(--azul-escuro);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.result-card__photo {
  position: relative;
  min-height: 280px;
  background: var(--azul-escuro);
  overflow: hidden;
}

.result-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.result-card:hover .result-card__photo img {
  transform: scale(1.03);
}

.result-card__badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}

.result-card__badge--before {
  color: var(--texto-cinza);
  background: rgba(11, 11, 15, 0.7);
}

.result-card__badge--after {
  color: var(--preto-premium);
  background: var(--dourado-premium);
}

.result-card__before span,
.result-card__after span {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--texto-cinza);
}

.result-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-card__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.result-card__info {
  padding: 20px;
  text-align: center;
}

.result-card__info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.result-card__info p {
  color: var(--dourado-premium);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- 9. DEPOIMENTOS --- */
.depoimentos {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--preto-premium), var(--azul-escuro), var(--preto-premium));
}

.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(11, 11, 15, 0.8);
  color: var(--texto-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 5;
}

.slider__btn svg {
  width: 20px;
  height: 20px;
}

.slider__btn:hover {
  border-color: var(--dourado-premium);
  color: var(--dourado-premium);
  background: rgba(216, 179, 106, 0.1);
}

.slider__btn--prev { left: -60px; }
.slider__btn--next { right: -60px; }

.slider__track {
  position: relative;
  width: 100%;
  min-height: 280px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all var(--transition-slow);
  padding: 20px;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.star__icon {
  width: 18px;
  height: 18px;
  color: var(--dourado-premium);
  fill: currentColor;
}

.testimonial__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--texto-claro);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--azul-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial__author span {
  font-size: 0.8rem;
  color: var(--texto-cinza);
}

/* Slider Dots */
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-base);
}

.dot.active {
  background: var(--dourado-premium);
  width: 28px;
  border-radius: 5px;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transition: transform 0.5s ease;
}

.carousel__slide {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.result-card--carousel {
  border-left: 3px solid var(--dourado-premium);
}

/* Scroll animation defaults */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-60px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(60px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--zoom {
  transform: scale(0.85);
}

.reveal--zoom.visible {
  transform: scale(1);
}

.reveal--scale {
  transform: scale(0.9);
}

.reveal--scale.visible {
  transform: scale(1);
}

/* Staggered children animations */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Parallax-like glow on section titles */
.reveal-glow.visible .section__title,
.reveal-glow.visible .section__tagline {
  animation: goldGlow 1.5s ease forwards;
}

@keyframes goldGlow {
  0% { filter: drop-shadow(0 0 0 transparent); }
  100% { filter: drop-shadow(0 0 8px rgba(216, 179, 106, 0.4)); }
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Navbar link hover with gold glow */
.nav__link {
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -100%;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(216, 179, 106, 0.08), transparent 70%);
  transition: left 0.4s ease;
}

.nav__link:hover::before {
  left: -50%;
}

/* Stat number pulse on completion */
.stat__number.counting {
  animation: numberPulse 0.3s ease;
}

@keyframes numberPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #f0d99a; }
  100% { transform: scale(1); }
}

/* --- 10. DIFERENCIAIS --- */
.diferenciais {
  padding: var(--section-padding) 0;
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.diff {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.diff:hover {
  border-color: rgba(35, 40, 91, 0.4);
  background: rgba(21, 25, 53, 0.3);
  transform: translateY(-4px);
}

.diff__icon {
  width: 40px;
  height: 40px;
  color: var(--dourado-premium);
  margin-bottom: 20px;
  stroke-width: 1.5;
}

.diff__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.diff__desc {
  font-size: 0.88rem;
  color: var(--texto-cinza);
  line-height: 1.7;
}

/* --- 11. CTA FINAL --- */
.cta-final {
  padding: var(--section-padding) 0;
}

.cta-final__inner {
  background: var(--azul-principal);
  background: linear-gradient(135deg, var(--azul-principal), var(--azul-escuro));
  border-radius: 20px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(216, 179, 106, 0.1), transparent 70%);
  pointer-events: none;
}

.cta__icon {
  width: 56px;
  height: 56px;
  color: var(--dourado-premium);
  margin-bottom: 24px;
  stroke-width: 1.5;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 1.05rem;
  color: rgba(245, 245, 245, 0.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta__small {
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.5);
  margin-top: 16px;
}

/* --- 12. FOOTER --- */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand p {
  color: var(--texto-cinza);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer__social h4,
.footer__location h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.social__links {
  display: flex;
  gap: 12px;
}

.social__links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-cinza);
  transition: all var(--transition-base);
}

.social__links a svg {
  width: 18px;
  height: 18px;
}

.social__links a .social__icon {
  width: 18px;
  height: 18px;
}

.social__links a:hover {
  border-color: var(--dourado-premium);
  color: var(--dourado-premium);
  transform: translateY(-2px);
}

.footer__location p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-cinza);
  font-size: 0.9rem;
  padding: 6px 0;
}

.footer__location p svg {
  width: 16px;
  height: 16px;
  color: var(--dourado-premium);
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  color: var(--texto-cinza);
  font-size: 0.8rem;
}

/* --- 13. WHATSAPP FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-base);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}

.whatsapp-fab__icon {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
  color: #fff;
  filter: brightness(0) invert(1);
}

.whatsapp-fab__ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: whatsapp-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes whatsapp-ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet — 768px */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__image { order: -1; }

  .hero__photo,
  .hero__photo-placeholder { min-height: 400px; }

  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre__image { order: -1; }

  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .slider__btn--prev { left: -10px; }
  .slider__btn--next { right: -10px; }
}

/* Mobile — 768px and below */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  *:not(input):not(textarea) {
    max-width: 100vw;
  }

  .container {
    overflow-x: hidden;
    width: 100%;
  }

  :root { --section-padding: 80px; }

  /* Hide hamburger CTA on mobile */
  .header__cta { display: none; }

  /* Improved mobile menu */

  /* Larger, visible hamburger */
  .header__toggle {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: #fff;
  }

  .hamburger { top: 13px; left: 10px; }
  .hamburger::before { top: -7px; }
  .hamburger::after { top: 7px; }

  /* Mobile slide-out menu */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--preto-premium);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 80px 36px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 1001;
  }

  .header__nav.is-open { right: 0; }

  /* CTA button inside mobile menu — hidden by default, shown via JS */
  .nav-cta {
    display: none !important;
    padding: 14px 28px !important;
    font-size: 0.95rem;
    margin-top: auto;
    margin-bottom: 24px;
    width: 100% !important;
    justify-content: center;
  }

  .header__nav.is-open .nav-cta {
    display: inline-flex !important;
  }

  .nav__list {
    flex-direction: column;
    gap: 32px;
  }

  .nav__link {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 0;
    color: var(--texto-claro) !important;
  }

  .nav__link::after {
    bottom: -6px;
    height: 2px;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    pointer-events: none;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav {
    z-index: 1001;
  }

  /* Prevent body scroll when menu is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Hero — show photo on mobile below text */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero__inner {
    gap: 32px;
  }

  .hero__content { text-align: center; }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
  }

  .hero__actions {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 48px;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
    max-width: 360px;
  }

  .hero__stats {
    justify-content: center;
    margin-top: 0;
  }

  .hero__image { order: -1; }

  .hero__photo,
  .hero__photo-placeholder {
    min-height: 320px;
    max-height: 400px;
  }

  .hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

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

  .hero__stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  .stat__number { font-size: 1.6rem; }

  .hero__actions {
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
    max-width: 360px;
  }

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

  .results__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .result-card__photo {
    min-height: 160px;
  }

  .result-card__photo img {
    min-height: 160px;
  }

  .result-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
  }

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

  /* Testimonial slider — keep original slide behavior, just hide arrows */
  .testimonial-slider {
    max-width: 100%;
  }

  .slider__btn--prev,
  .slider__btn--next {
    display: none !important;
  }

  .slider__btn--prev { left: -10px; }
  .slider__btn--next { right: -10px; }

  .slider__track {
    min-height: 260px;
  }

  .testimonial__text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .slider__dots {
    margin-top: 24px;
  }

  /* CTA — compact on mobile */
  .cta-final__inner {
    padding: 40px 20px;
  }

  .cta__title {
    font-size: 1.5rem !important;
  }

  .cta__text {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .cta__small {
    font-size: 0.75rem;
  }

  .btn--whatsapp {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

/* Small Mobile — 360px */
@media (max-width: 400px) {
  .container { padding: 0 16px; }

  .hero__title { font-size: 1.8rem; }

  .hero__photo,
  .hero__photo-placeholder { min-height: 300px; }

  .stat__number { font-size: 1.5rem; }

  .section__title { font-size: 1.6rem; }

  .card { padding: 28px 20px; }

  .cta__title { font-size: 1.6rem; }
}

.testimonial__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e; /* fallback pro avatar "R" com letra */
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* preenche o círculo sem distorcer */
  object-position: center top; /* prioriza o rosto */
  display: block;
}