/*
Theme Name: Seu Tema
Theme URI: https://exemplo.com
Author: Seu Nome
Author URI: https://exemplo.com
Description: Tema personalizado do WordPress
Version: 1.0.0
Text Domain: seu-tema
*/

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* CORREÇÃO PARA EVITAR SCROLL HORIZONTAL */
html, body {
  overflow-x: hidden;
}

body {
  background-color: #053b3f;
  color: #ffffff;
}

/* GLOBAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.btn {
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #2ecc71;
  color: #053b3f;
}

.btn-outline {
  border: none;
  background: #2ecc71;
  color: #053b3f;
}

.btn-outline:hover {
  background: #27ae60;
}

/* HEADER - LAYOUT AJUSTADO */
.header {
  padding: 15px 0;
  position: relative;
  background: #053b3f;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
}

.logo-img {
  height: 40px;
}

/* NAV */
.nav {
  display: flex;
  gap: 25px;
  flex: 1;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #2ecc71;
}

/* Botão Entrar próximo ao menu */
.btn-outline {
  margin-left: auto;
  flex-shrink: 0;
}

/* HAMBURGUER ICON */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #053b3f;
  background: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1100;
  transition: all 0.3s ease;
  margin-left: 15px;
}

/* HERO */
.hero {
  position: relative;
  height: 85vh;
  background-image: url("/wp-content/themes/landing/assets/img/background.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 30px;
  line-height: 1.4;
}

/* CAROUSEL */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1%;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 40px;
  color: #2ecc71;
  cursor: pointer;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.carousel-card {
  background: #ffffff;
  color: #053b3f;
  border-radius: 16px;
  padding: 0;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.carousel-image {
  width: 100%;
}

.carousel-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.carousel-text h3 {
  margin-bottom: 10px;
}

.dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  background: #999;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background: #2ecc71;
}

/* BENEFITS */
.benefits {
  background: #06494e;
  padding: 50px 0;
}

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

.benefit-card {
  background: #2ecc71;
  color: #053b3f;
  padding: 25px;
  border-radius: 10px;
}

.benefit-card h3 {
  margin-bottom: 8px;
}

/* FAQ */
.faq {
  padding: 60px 0;
}

.faq h2 {
  margin-bottom: 30px;
}

details {
  background: #ffffff;
  color: #053b3f;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 15px;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

/* FOOTER */
.footer {
  background: #2ecc71;
  color: #053b3f;
  padding: 20px 0;
}

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

.footer-links a {
  margin-left: 15px;
  color: #053b3f;
  text-decoration: none;
}

.feature-section {
  padding: 50px 0 30px;
}

.feature-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #f7faf8ff;
  font-weight: bold;
}

/* RESPONSIVO - MENU HAMBÚRGUER */
@media (max-width: 768px) {
  .header-content {
    gap: 10px;
  }

  .logo {
    font-size: 20px;
    margin-right: 10px;
  }

  /* Esconder menu desktop */
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #053b3f;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav.open {
    display: flex;
    opacity: 1;
  }

  .nav a {
    font-size: 24px;
    padding: 15px;
  }

  /* Botão Entrar no mobile */
  .btn-outline {
    padding: 10px 20px;
    font-size: 14px;
    margin-left: auto;
  }

  /* Mostrar hamburguer */
  .hamburger {
    display: flex;
    margin-left: 10px;
  }

  /* Ocultar setas do carrossel no mobile */
  .carousel-btn {
    display: none;
  }

  .carousel-image img {
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }
}
