/* ---------- VARIÁVEIS (cores globais) ---------- */

:root {
  --turq: #1396b8; /* turquesa */
  --turq-dark: #0a5f79; /* turquesa escuro */
  --ice: #e9f6f8; /* gelo */
  --white: #ffffff;
  --text: #05323a;
  --muted: #587f82;
  --card-shadow: 0 10px 30px rgba(2, 65, 74, 0.06);

  /* variáveis usadas na seção Sucesso Comprovado (corrigido!) */
  --color-blue-dark: #0a5f79;
  --color-white: #ffffff;
  --color-text-dark: #05323a;
  --color-text-light: #587f82;
  --color-primary: #0b95b8;
  --color-secondary: #031c24;
}

/* Reset */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, var(--white), var(--ice));
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    90deg,
    rgba(8, 51, 143, 0.95),
    rgba(19, 150, 184, 0.95)
  );
  color: var(--white);
  box-shadow: 0 6px 20px rgba(10, 95, 121, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

/* Navegação */

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  border: 0;
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--turq-dark);
  box-shadow: var(--card-shadow);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.menu-btn {
  display: none;
  font-size: 20px;
  background: transparent;
  border: none;
  color: var(--white);
}

/* ---------- HERO ---------- */

.hero {
  padding: 64px 0;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1 1 520px;
  min-width: 300px;
}

.hero-right {
  flex: 0 0 420px;
  max-width: 420px; /* Limita a largura do contêiner da imagem */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.03;
  color: var(--turq-dark);
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column; /* Coloca os itens em coluna para melhor leitura */
  gap: 8px;
  margin-top: 14px;
}

.hero-features li {
  font-weight: 600;
  color: var(--turq-dark);
  padding-left: 20px;
  position: relative;
}

.hero-features li::before {
  content: "✓"; /* Ícone de checkmark */
  position: absolute;
  left: 0;
  color: var(--turq);
  font-weight: 800;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 18px;
}

/* product-card */

.product-card {
  width: 100%; /* Ocupa o hero-right max-width */
  background: linear-gradient(180deg, var(--white), var(--ice));
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.product-card img {
  width: 100%;
  height: auto; /* Garante que a imagem seja responsiva */
  border-radius: 12px;
}

.product-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  background: var(--turq);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- SEÇÕES ---------- */

.section {
  padding: 56px 0;
}

.section-light {
  background: var(--white);
}

.section-ice {
  background: var(--ice);
}

.section-turq {
  background: linear-gradient(90deg, var(--turq), var(--turq-dark));
  color: var(--white);
}

.section-title {
  font-size: 26px;
  margin-bottom: 6px;
  font-weight: 800;
  color: var(--turq-dark);
}

.section-turq .section-title {
  color: var(--white); /* Títulos brancos em seções turquesa */
}

.section-lead {
  margin-bottom: 18px;
  color: var(--muted);
}

.section-turq .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- GRID USO ---------- */

.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.use-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

.use-card:hover {
  transform: translateY(-5px);
}

.use-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.use-card h3 {
  margin: 0 0 6px;
  color: var(--turq-dark);
}

/* ---------- BENEFÍCIOS ---------- */

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.benefit {
  flex: 1 1 260px;
  padding: 18px;
  border-radius: 12px;
  color: #05323a;
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease;
}

.benefit:hover {
  box-shadow: 0 10px 40px rgba(2, 65, 74, 0.12);
}

/* ---------- SUCESSO COMPROVADO ---------- */

.section-proven-success {
  padding: 56px 0; /* Adiciona padding para definir a seção */
  background: var(--ice);
  color: var(--text);
  text-align: center;
}

.content-proven-success {
  padding: 0 2rem; /* controla o tamanho do fundo */
  color: var(--text);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.success-title {
  font-size: 34px; /* Aumentado para destaque */
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--turq-dark);
}

.check-icon svg {
  vertical-align: middle;
  margin-left: 8px;
}

.success-subtitle {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  color: var(--muted);
}

.testimonials-grid {
  display: grid;
  justify-content: center;
  /* AJUSTE: Mínimo de 250px para permitir 2 colunas em telas menores (tablets) */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* E removida a sobrescrita em @media (max-width: 680px) */

.testimonial-card {
  width: 100%;
  background: var(--color-white);
  color: var(--color-text-dark);
  border-radius: 12px;
  padding: 2.2rem; /* aumente aqui */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.testimonial-card p {
  color: var(--color-text-light);
  font-family: "Lora", serif;
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.testimonial-card img {
  height: 180px;
  width: 100%;
  max-width: 100%; /* Evita esticar */
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 15px;
}

.testimonial-card .author {
  color: var(--color-primary);
  font-weight: 700;
  display: block;
}

.testimonial-card .role {
  color: var(--color-text-dark);
  font-size: 0.85rem;
  display: block;
  margin-top: 4px;
}

/* ---------- CARROSSEL ---------- */

.carousel-wrap {
  display: flex;
  gap: 50px;
  margin-top: 22px;
  position: relative;
}

.carousel {
  display: flex;
  overflow-x: scroll; /* Permite rolagem em vez de hidden */
  -webkit-overflow-scrolling: touch; /* Melhora a rolagem em iOS */
  scroll-snap-type: x mandatory; /* Snap para as imagens */
  gap: 12px;
  width: 100%;
  scroll-behavior: auto;
}

.slide {
  min-width: 280px;
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  scroll-snap-align: start; /* O slide "gruda" no começo ao rolar */
}

.slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* botões */

.carousel-btn {
  background: var(--white);
  border-radius: 50%; /* Torna o botão redondo */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
  color: var(--turq-dark);
}

.carousel-btn:hover {
  background: var(--ice);
}

.carousel-btn.next {
  right: 0;
}

.carousel-btn.prev {
  left: 0;
}

/* Ocultar botões em telas muito pequenas onde o deslizar é preferível */
@media (max-width: 550px) {
  .carousel-btn {
    display: none;
  }
  .carousel {
    padding-bottom: 10px; /* Adiciona espaço para o usuário deslizar */
  }
}
/*--------------- solicitar o contato---------- */
.btn-line {
  margin-top: 280px;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #0b95b8;
  color: #010d20;
  transition: 0.3s;
}

.btn-line.whats {
  border-color: #25d366;
  color: #25d366;
}

.btn-line:hover {
  background: currentColor;
  color: white;
}
/* ---------- CONTATO ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-info .contact-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info .contact-points li {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--white);
  padding-left: 20px;
  position: relative;
}

.contact-info .contact-points li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  color: var(--text);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field span {
  font-weight: 600;
  font-size: 14px;
  color: var(--turq-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--ice); /* Borda mais discreta */
  background: var(--ice);
  transition: border-color 0.3s;
  font-size: 16px;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--turq);
  outline: none;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.checkbox input[type="checkbox"] {
  width: auto;
}

.error {
  color: #e04f4f;
  font-size: 12px;
  min-height: 18px; /* Mantém o layout estável */
  display: block;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.form-actions .btn {
  flex: 1;
}

.form-msg {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.form-msg.visible {
  opacity: 1;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 18px 0;
  background: var(--ice); /* Alterado para usar a variável ICE */
  color: #333;
  margin-top: auto;
  margin-top: 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  color: var(--turq-dark);
  text-decoration: none;
  margin-left: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.to-top:hover {
  opacity: 1;
}

/* ---------- ANIMAÇÕES ---------- */

.animate {
  opacity: 0;
  transform: translateY(8px) scale(0.995);
  transition: all 600ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.animate.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- RESPONSIVIDADE ---------- */

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    right: 18px;
    top: 72px;
    background: white;
    padding: 12px;
    border-radius: 12px;
    flex-direction: column;
    box-shadow: var(--card-shadow);
  }

  .nav.visible {
    display: flex;
  }

  .nav-link {
    color: var(--turq-dark);
    padding: 8px 10px;
  }

  .nav-link:hover {
    background: var(--ice);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links a {
    margin: 0 8px;
  }
}
@media (max-width: 680px) {
  .hero {
    padding-top: 32 px;
  }

  .hero-grid {
    flex-direction: column;
  }

  .hero-left {
    min-width: 100%;
    order: 2;
  }

  .hero-right {
    order: 1;
    margin-bottom: 20px;
    max-width: 320px; /* Ajusta o card em mobile */
  }

  .product-card {
    width: 100%;
  }

  .carousel .slide {
    min-width: 200px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .success-title {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero-title {
    font-size: 28px; /* Aumentei um pouco para não ficar tão pequeno */
  }
}
