/* reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* fonte padrão */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* hero full-screen */
.hero {
  position: relative;
  background: url('header.webp') center/cover no-repeat;
  overflow: hidden;
}

/* logo sempre centralizada no topo */
.hero-logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  z-index: 2;
}

/* container principal em flex-row, lado a lado */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #203457;
}

/* texto e imagem dividem 48% cada */

}
.hero-image img{
  width: 60%;
}

/* estilos de tipografia */
.brinde {
  font-size: 80px;
  color: #203457;
  line-height: 1.1;
}
.grande {
  font-size: 75px;
  font-weight: 600;
  color: #203457;
  line-height: 1.1;
  margin-top: 8px;
}
.hero-sub {
  margin-top: 24px;
  font-size: 30px;
  line-height: 1.5;
}

/* botão */
.btn {
  display: inline-block;
  margin-top: 32px;
  background-color: #203457;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.3s;
}
.btn:hover {
  background-color: #16203a;
}

/* imagem da mochila responsiva */
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ajustes para telas menores */
@media (max-width: 900px) {
  .container {
    padding: 100px 10px;
  }
  /* fontes menores */
  .brinde,
  .grande {
    font-size: 25px;
  }
  .hero-sub {
    font-size: 0.9rem;
    margin-top: 16px;
  }
  /* logo menor */
  .hero-logo {
    top: 20px;
    width: 140px;
  }
  /* botão ajustado */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    margin-top: 24px;
    margin-right: -50px;
  }
  /* mantém lado a lado com 48% cada */
  .hero-text,
  .hero-image {
    width: 48%;
  }
  /* altura auto para caber na tela menor */
  .hero {
    height: auto;
    padding-bottom: 40px;
  }
}
/* ======== Seção Benefícios ======== */
.benefits {
  position: relative;
  background-color: #203457;
  color: #fcd8b4;
  padding: 80px 20px;
  overflow: hidden;
}

.benefits-container {
  max-width: 900px;
  margin: 0 auto;
}

.benefits-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.benefits-title .highlight {
  color: #f58500;
}

/* texto introdutório */
.benefits-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* subtítulo “Benefícios:” */
.benefits-subtitle {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #fcd8b4;
}

/* lista de pontos */
.benefits-list {
  list-style: none;
  padding-left: 0;
}
.benefits-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
  font-size: 1.125rem;
  line-height: 1.4;
}
.benefits-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fcd8b4;
}

/* ícone posicionado no canto inferior direito */
.benefits-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
  opacity: 0.85;
}

/* ======== Responsividade ======== */
@media (max-width: 800px) {
  .benefits {
    padding: 60px 16px;
  }
  .benefits-title {
    font-size: 2.25rem;
  }
  .benefits-text,
  .benefits-list li {
    font-size: 1rem;
  }
  .benefits-icon {
    position: static;
    display: block;
    margin: 40px auto 0;
    width: 100px;
  }
}
/* ===== Seção 3: Soluções personalizadas ===== */
.solutions {
  position: relative;
  padding: 80px 20px;
  color: #203457;
  overflow: hidden;
  background: linear-gradient(
    146deg,         /* 45° = topo-esq ➔ inf-dir */
    #ffe2c9 60%,    /* cor inicial */
    #d99f8f 100%   /* cor final */
  );
}

.solutions-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Título grande em duas cores */
.solutions-title {
  font-size: 70px;
  line-height: 1.1;
  margin-bottom: 40px;
}
.solutions-title .highlight {
  color: #f58500;
}

/* Balão de texto */
.solutions-bubble {
  position: absolute;
  top: 40px;
  right: 40px;
  background: #203457;
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  max-width: 500px;
  font-size: 25px;
  line-height: 1.5;
  z-index: 0;
}


/* Galeria de produtos */
.solutions-gallery {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 200px 0 px;
}
.solutions-gallery img {
  width: 32%;
  height: auto;
  display: block;
}
.caderno img{
  position: absolute;
  width: 500px;
  height: auto;
  margin-bottom: -100px;
  margin-top: -150px;
  margin-left: -130px;
  z-index: 999;
}

/* Botão de catálogo */
.catalog-btn {
  position: relative;
  z-index: 100000000;
  margin-top: 300px;
  display: inline-block;
  background-color: #f58500;
  color: #fff;
  width: 300px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  transition: background 0.3s;
}
.catalog-btn:hover {
  background-color: #d67200;
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .solutions {
    padding: 60px 10px;
  }
  .solutions-title {
    font-size: 2.25rem;
    margin-bottom: 24px;
  }
  .caderno img{
    position: static;
    margin: auto;
  }
  .solutions-bubble {
    position: static;
    margin: 0 auto 24px;
    max-width: none;
    border-radius: 12px;
    text-align: center;
  }
  .solutions-gallery {
    flex-direction: column;
    gap: 16px;
    margin: 40px 0;
  }
  .solutions-gallery img {
    width: 50%;
    position: static;
    margin: auto;
  }
  .catalog-btn {
    display: block;
    margin: 0 auto;
  }
}
/* ===== Seção 4: Prova Social ===== */
.social-proof {
  background-color: #e5e5ea;
  padding: 80px 20px;
  color: #203457;
}
.social-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.social-container h2 {
  font-size: 2.75rem;
  margin-bottom: 12px;
}
.social-sub {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.4;
}

/* --- Carrossel --- */
/* --- Carrossel --- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  /* remove o justify-content: center daqui */
  margin-bottom: 60px;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #203457;
  cursor: pointer;
  padding: 0 10px;
  user-select: none;
}

/* ESTE É O TRECHO QUE MUDAMOS: */
.carousel-track-container {
  /* tira o width fixo de 80% */
  /* width: 80%; */

  /* ocupa todo o espaço restante entre as setas */
  flex: 1;
  overflow: hidden;

  /* torna o container flexível para centralizar o track */
  display: flex;
}

.carousel-track {
  display: flex;
  gap: 20px;

  /* centraliza os itens dentro do container */
  justify-content: center;

  transition: transform 0.4s ease;
}

.carousel-item {
  background: #fff;
  border-radius: 16px;
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.carousel-item img {
  max-width: 100%;
  height: auto;
}


/* --- Vídeo / Depoimento --- */
.video-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.video-player {
  position: relative;
  width: 400px;
  max-width: 50%;
  padding-top: 20%;  /* mantém 16:9 */
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
 
}
.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .social-container h2 { font-size: 2rem; }
  .social-sub { font-size: 1rem; margin-bottom: 24px; }
}
@media (max-width: 900px) {
  .video-section {
    flex-direction: column;
    gap: 16px;
    padding: 40px 10px;
  }
  .video-icon {
    width: 48px;
  }
  .video-player {
    max-width: 100%;       /* ocupa toda a largura disponível */
    height: 230px;
  }
}
/* Mobile: scroll nativo com snap, sem clipping nem centralização automática */
@media (max-width: 900px) {
  .carousel {
    margin-bottom: 40px;
  }

  .carousel-btn {
    display: none;  /* opcional: esconde as setas */
  }

  .carousel-track-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 10px;               /* espaçamento lateral */
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;   /* itens começam na esquerda */
    width: max-content;            /* se expande conforme o conteúdo */
  }
  .carousel-track img{
    width: 150px;            /* se expande conforme o conteúdo */
  }

  .carousel-item {
    flex: 0 0 auto;                /* não cresce nem encolhe */
    scroll-snap-align: center;     /* encaixa o item no centro ao parar */
  }
}
/* ===== Seção 5: CTA Final ===== */
.cta {
  background: url('cta-bg.webp') center/cover no-repeat;
  padding: 80px 20px;
  color: #203457;
}
.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Texto e botão à esquerda */
.cta-text {
  flex: 1;
}
.cta-text h2 {
  font-size: 70px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.cta-text p {
  font-size: 35px;
  line-height: 1.5;
  margin-bottom: 32px;
}
.form-submit {
  background-color: #1f304a;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.form-submit:hover {
  background-color: #16203a;
}

/* Formulário à direita */
.cta-form {
  flex: 1;
  
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-logo {
  width: 140px;
  margin: 0 auto 16px;
  display: block;
}
.cta-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #000;
}
.cta-form input,
.cta-form textarea {
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}


/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .cta-container {
    flex-direction: column;
    gap: 24px;
  }
  .cta-text h2 {
    font-size: 2.25rem;
  }
  .cta-text p {
    font-size: 1rem;
  }
  .form-submit, .form-submit {
    width: 100%;
  }
  .cta-form {
    padding: 24px;
  }
}
/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #203457;
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast.error {
  background: #c0392b;
}
@media (max-width: 600px) {
  /* Seção toda fica com padding menor */
  .cta {
    padding: 20px 10px;
  }

  /* Empilha texto + formulário e faz ambos ocupar 100% da largura */
  .cta-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  /* Texto com margin para não grudar no form */
  .cta-text {
    margin-bottom: 8px;
  }
  .cta-text h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .cta-text p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  /* Formulário sem restrição de altura, ocupa 100% */
  .cta-form {
    flex: none;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    gap: 12px;
  }

  /* Inputs e textarea preenchem toda a largura do form */
  .cta-form input,
  .cta-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
  }

  /* Botão full-width */
  .form-submit {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    margin-top: 8px;
  }

  /* Logo menor e centralizado */
  .cta-logo {
    width: 100px;
    margin: 0 auto 12px;
  }
}
/* ===== Spinner no botão ===== */
.btn.loading {
  position: relative;
  pointer-events: none; /* bloqueia cliques */
  opacity: 0.8;
}
.btn.loading::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* animação do spin */
@keyframes spin {
  to { transform: rotate(360deg); }
}
