/* style3.css */
/* ========== Variáveis, Reset e Globais ========== */
:root {
  --primary-color: #ff5a5f;
  --secondary-color: #007bff;
  --text-color: #333;
  --light-text: #fff;
  --dark-background: #1a1a1a;
  --light-background: #f8f9fa;
  --gradient-start: #ff5a5f;
  --gradient-end: #ff3a40;
  --accent-color: #ffb400;
  --border-radius: 5px;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

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

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

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

ul {
  list-style: none;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.2rem;
}

/* ========== Botões ========== */
.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  color: var(--light-text);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 90, 95, 0.3);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ========== HERO COM VÍDEO OU IFRAME ========== */
.hero {
  position: relative;
  height: 100vh;
  color: var(--light-text);
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
/* Tanto o <video> quanto o <iframe> dentro usará estas regras */
.hero-video,
.hero-video-container iframe {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%; max-width: 800px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ========== BENEFÍCIOS ========== */
.benefits {
  background-color: var(--light-background);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.benefit-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ========== GALERIA ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 250px;
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ========== DEPOIMENTOS ========== */
.testimonials {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  position: relative;
}

.rating {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.stars {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 10px;
}

.rating-count {
  color: #666;
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-container {
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  width: 100%; display: none;
  animation-duration: 1s;
}

.testimonial-slide.active {
  display: block;
  animation-name: fadeIn;
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.testimonial {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.testimonial-img {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 3px solid var(--primary-color);
}

/* controles de carousel */
.carousel-controls {
  display: flex; justify-content: center; align-items: center;
  margin-top: 2rem;
}
.prev-btn, .next-btn {
  background: var(--primary-color);
  color: var(--light-text);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.prev-btn:hover, .next-btn:hover {
  background: var(--gradient-end);
}
.carousel-dots {
  display: flex; justify-content: center; margin: 0 20px;
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ccc; margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ========== VÍDEO DE TESTEMUNHO ========== */
.video-container {
  max-width: 800px; margin: 0 auto;
}
.video-thumbnail {
  position: relative; padding-top: 56.25%; /* 16:9 */
  border-radius: var(--border-radius);
  overflow: hidden; box-shadow: var(--box-shadow);
  cursor: pointer;
}
.video-thumbnail img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.play-button {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(255,90,95,0.8);
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  transition: var(--transition);
}
.video-thumbnail:hover .play-button {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}
/* Modal */
.video-modal {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center; align-items: center;
}
.modal-content {
  background: #fff; width: 90%; max-width: 800px;
  border-radius: var(--border-radius); position: relative;
}
.close-modal {
  position: absolute; top: -40px; right: -40px;
  font-size: 2rem; color: var(--light-text);
  cursor: pointer; z-index: 1001;
}
.modal-video-container {
  position: relative; padding-top: 56.25%;
}
.modal-video-container iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: var(--border-radius);
}

/* ========== METODOLOGIA & TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 1200px; margin: 0 auto; padding: 2rem 0;
}
.timeline::before {
  content: ''; position: absolute;
  width: 4px; background: var(--primary-color);
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  padding: 1rem 3rem; position: relative;
  background: transparent; width: 50%;
  margin-bottom: 3rem;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-icon {
  position: absolute; width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--light-text);
  border: 4px solid var(--primary-color);
  top: 0; display: flex; align-items: center; justify-content: center;
  color: var(--primary-color); font-size: 1.5rem;
  z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-icon { right: -30px; }
.timeline-item:nth-child(even) .timeline-icon { left: -30px; }
.timeline-content {
  padding: 2rem; background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.timeline-content h3 {
  color: var(--primary-color); margin-bottom: 1rem;
}
.timeline-content img {
  margin-top: 1.5rem;
  border-radius: var(--border-radius);
  width: 100%; height: 200px; object-fit: cover;
}

/* ========== PRICING ========== */
.pricing {
  background: var(--light-background);
}
.offer-box {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem; max-width: 800px;
  margin: 0 auto 3rem;
  border: 2px solid #eee;
  position: relative; overflow: hidden;
}
.offer-box::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 150px; height: 150px;
  background: var(--primary-color);
  transform: rotate(45deg) translate(60px,-90px);
  z-index: 0;
}
.offer-content {
  position: relative; z-index: 1;
}
.offer-features {
  margin: 2rem 0;
}
.offer-features li {
  margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.offer-features i { color: var(--primary-color); margin-top: 5px; }
.price {
  margin-bottom: 2rem; text-align: center;
}
.price .original {
  display: block; font-size: 1.2rem; color: #666;
  margin-bottom: 0.5rem;
}
.price .current {
  font-size: 3rem; font-weight: 700;
  color: var(--primary-color); display: block;
  margin-bottom: 0.5rem;
}
.price .installment {
  font-size: 1.1rem; color: #666;
}
.cta-container {
  display: flex; flex-direction: column; align-items: center;
}
.guarantee {
  display: flex; align-items: center; margin-top: 1.5rem; gap: 1rem;
}
.guarantee-seal {
  position: relative; width: 60px; height: 60px;
  border-radius: 50%; background: var(--accent-color);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: var(--light-text); font-weight: 700; font-size: 0.7rem;
  animation: wobble 2s infinite;
}
@keyframes wobble {
  0%,100%{ transform: rotate(0); }
  25%{ transform: rotate(-5deg); }
  75%{ transform: rotate(5deg); }
}
.guarantee-seal i { font-size: 1.2rem; margin-bottom: 2px; }
.guarantee p { margin-bottom: 0; font-size: 0.9rem; color: #666; }

/* ========== CONTADOR ========== */
.countdown-container {
  text-align: center; max-width: 600px;
  margin: 0 auto; background: linear-gradient(45deg,#ff5a5f,#ff3a40);
  color: var(--light-text); padding: 2rem; border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.countdown-container h3 { margin-bottom: 0.5rem; font-size: 1.5rem; }
.countdown-container p { margin-bottom: 1.5rem; font-size: 1rem; opacity: 0.9; }
.countdown {
  display: flex; justify-content: center; gap: 1rem;
}
.countdown-item {
  background: rgba(0,0,0,0.2); padding: 1rem;
  min-width: 80px; border-radius: var(--border-radius);
}
.countdown-number {
  font-size: 2rem; font-weight: 700;
  display: block; line-height: 1; margin-bottom: 0.5rem;
}
.countdown-label {
  font-size: 0.8rem; text-transform: uppercase; opacity: 0.9;
}

/* ========== FAQ ========== */
.accordion {
  max-width: 800px; margin: 0 auto;
}
.accordion-item {
  background: #fff; border-radius: var(--border-radius);
  margin-bottom: 1rem; box-shadow: var(--box-shadow); overflow: hidden;
}
.accordion-header {
  padding: 1.5rem; display: flex;
  align-items: center; gap: 1rem; cursor: pointer;
  position: relative;
}
.accordion-header h3 {
  margin-bottom: 0; font-size: 1.1rem; flex-grow: 1;
}
.accordion-header i:first-child {
  color: var(--primary-color); font-size: 1.2rem;
}
.toggle-icon {
  transition: var(--transition);
}
.accordion-item.active .toggle-icon {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0; overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease;
}
.accordion-item.active .accordion-content {
  max-height: 200px; padding-bottom: 1.5rem;
}

/* ========== PARCEIROS ========== */
.partners {
  background: var(--dark-background);
  padding: 3rem 0; color: var(--light-text);
}
.partners-carousel {
  overflow: hidden; padding: 1rem 0;
}
.partners-track {
  display: flex; animation: scroll 30s linear infinite;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-item {
  flex: 0 0 200px; margin: 0 1.5rem;
}
.partner-item img {
  height: 80px; object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: var(--transition);
}
.partner-item img:hover {
  filter: grayscale(0%) brightness(1);
}

/* ========== CTA FINAL ========== */
.final-cta {
  background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
              url('https://images.unsplash.com/photo-1476480862126-209bfaa8edc8')
              center/cover no-repeat;
  padding: 5rem 0; text-align: center; color: var(--light-text);
}
.final-cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.final-cta p  { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; margin: 0 auto; }

/* ========== RODAPÉ ========== */
.footer {
  background: var(--dark-background); color: var(--light-text);
  padding: 4rem 0 2rem;
}
.footer-content {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; margin-bottom: 3rem; gap: 2rem;
}
.footer-logo h2 { margin-bottom: 0.5rem; font-size: 1.8rem; }
.footer-links h3, .footer-contact h3 {
  position: relative; margin-bottom: 1.5rem; padding-bottom: 0.5rem;
  font-size: 1.3rem;
}
.footer-links h3::after, .footer-contact h3::after {
  content: ''; position: absolute; width: 50px; height: 2px;
  background: var(--primary-color); bottom: 0; left: 0;
}
.footer-links ul li { margin-bottom: 0.7rem; }
.footer-links ul li a { color: #ccc; transition: var(--transition); }
.footer-links ul li a:hover {
  color: var(--primary-color); padding-left: 5px;
}
.social-icons {
  display: flex; gap: 1rem; margin-top: 1.5rem;
}
.social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: rgba(255,255,255,0.1);
  border-radius: 50%; color: var(--light-text);
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}
.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem; color: #999; font-size: 0.9rem;
}
.copyright a {
  color: #ccc;
}
.copyright a:hover {
  color: var(--primary-color);
}

/* ========== VOLTAR AO TOPO ========== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 1.2rem; box-shadow: var(--box-shadow);
  transition: var(--transition);
  z-index: 99; opacity: 0; visibility: hidden;
}
.back-to-top.visible {
  opacity: 1; visibility: visible;
}
.back-to-top:hover {
  background: var(--gradient-end);
  transform: translateY(-3px);
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .timeline::before {
    left: 31px;
  }
  .timeline-item {
    width: 100%; padding-left: 70px; padding-right: 0;
  }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: 0;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .testimonial {
    flex-direction: column; text-align: center; gap: 1rem;
  }
  .testimonial-img {
    margin: 0 auto;
  }
  .offer-box {
    padding: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .footer-content {
    flex-direction: column; text-align: center;
  }
  .footer-links h3::after, .footer-contact h3::after {
    left: 50%; transform: translateX(-50%);
  }
  .social-icons {
    justify-content: center;
  }
  .countdown {
    flex-wrap: wrap;
  }
  .close-modal {
    top: -30px; right: 0;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .cta-button {
    padding: 12px 20px; font-size: 1rem;
  }
  .benefit-card {
    padding: 1.5rem;
  }
  .countdown-item {
    padding: 0.5rem; min-width: 60px;
  }
  .countdown-number {
    font-size: 1.5rem;
  }
  .price .current {
    font-size: 2.5rem;
  }
  .accordion-header {
    padding: 1rem;
  }
  .accordion-header h3 {
    font-size: 1rem;
  }
}
