
/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --navy: hsl(210, 50%, 15%);
  --navy-light: hsl(210, 45%, 25%);
  --petrol: hsl(195, 50%, 30%);
  --petrol-light: hsl(195, 45%, 40%);
  --gold: hsl(45, 70%, 50%);
  --gold-light: hsl(45, 65%, 60%);
  --white: hsl(0, 0%, 100%);
  --off-white: hsl(210, 20%, 98%);
  --gray-light: hsl(210, 15%, 95%);
  --gray: hsl(210, 10%, 60%);
  --gray-dark: hsl(210, 10%, 40%);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-dark);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--petrol);
}

.btn-outline:hover {
  background: var(--petrol);
  color: var(--white);
}

.btn-header {
  background: var(--gold);
  color: var(--navy);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.9rem;
}

.btn-header:hover {
  background: var(--gold-light);
}

.btn-cta {
  background: var(--gold);
  color: var(--navy);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ---------- HEADER ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #0b3c5d; /* ajuste conforme a paleta do wireframe */
  margin: 0;
  white-space: nowrap;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.logo {
  height: 80px;
  width: auto;
  border-radius: 8px;
}

/* ---------- HEADER MOBILE FIX ---------- */

@media (max-width: 768px) {
  .header-content {
    gap: var(--spacing-sm);
  }

  .header-title {
    font-size: 1.1rem;
    text-align: center;
  }

  .btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .logo {
    height: 40px;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 30, 50, 0.7) 0%,
    rgba(10, 30, 50, 0.5) 50%,
    rgba(10, 30, 50, 0.8) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--spacing-lg);
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- EXPERIENCES SECTION ---------- */
.experiences {
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

.experience-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-3xl);
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.experience-card:last-child {
  margin-bottom: 0;
}

.experience-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.experience-content {
  padding: var(--spacing-lg);
}

.experience-content h3 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.experience-content p {
  color: var(--gray-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

/* ---------- SLIDER CARD ---------- */
.experience-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Slider */
.slider .slides {
  display: flex;
  width: 400%;
  height: 100%;
  animation: slideLoop 16s infinite;
}

/* Animação */
@keyframes slideLoop {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }

  25%  { transform: translateX(-100%); }
  45%  { transform: translateX(-100%); }

  50%  { transform: translateX(-200%); }
  70%  { transform: translateX(-200%); }

  75%  { transform: translateX(-300%); }
  95%  { transform: translateX(-300%); }

  100% { transform: translateX(0%); }
}

/* Mobile adjustment (se seu card muda de altura) */
@media (max-width: 768px) {
  .experience-image {
    height: 220px;
  }
}


@media (min-width: 768px) {
  .experience-card {
    grid-template-columns: 1fr 1fr;
  }

  .experience-card.reverse {
    direction: rtl;
  }

  .experience-card.reverse > * {
    direction: ltr;
  }

  .experience-image img {
    height: 400px;
  }

  .experience-content {
    padding: var(--spacing-xl);
  }
}

/* ---------- WHY CHOOSE SECTION ---------- */
.why-choose {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  color: var(--gold);
}

.feature-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: var(--spacing-sm) auto;
}

.feature-card h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ---------- HOW IT WORKS SECTION ---------- */
.how-it-works {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  max-width: 500px;
  width: 100%;
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.step-content h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--spacing-xs);
}

.step-content p {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.step-connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--petrol), transparent);
  margin-left: 24px;
}

/* ---------- VIDEO SECTION ---------- */

.testimonials {
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

/* Grid dos vídeos */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

/* Card de vídeo (formato Reels / Stories) */
.testimonial-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* vertical */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Vídeo – SEM CORTE */
.testimonial-card video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* MOSTRA O VÍDEO INTEIRO */
  display: block;
  background: #000;
}


/* ---------- CTA FINAL SECTION ---------- */
.cta-final {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
}

.cta-content {
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.cta-final p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--spacing-lg) 0;
  background: var(--navy);
}

.footer-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-content p {
  margin-bottom: var(--spacing-xs);
}

/* ---------- WHATSAPP FLOAT BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 480px) {
  .hero-content {
    padding: var(--spacing-md);
  }

  .btn-large {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
  }

  .experience-content {
    padding: var(--spacing-md);
  }

  .feature-card {
    padding: var(--spacing-md);
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}