@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Rouge+Script&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --cor-primaria: #000000;
  --cor-secundaria: #006d77;
  --cor-destaque: #8e9aaf;
  --cor-destaque-hover: #7a8597;
  --font-primaria: 'Montserrat', serif;
}

/* ========== GERAL ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}



body {
  font-family: var(--font-primaria), sans-serif;
  background-color: #d2d3cd;
  line-height: 1.6;
  padding-top: 60px;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #efefef !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1999;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  color: #000 !important;
  font-family: 'Montserrat', serif;
  transition: color 0.3s;
  margin-left: 10px;
}

.navbar-brand:hover {
  color: var(--cor-destaque) !important;
}

.navbar-toggler {
  border: 2px solid var(--cor-primaria);
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:hover {
  border-color: var(--cor-destaque);
}

.navbar-toggler:not(.collapsed) {
  border-color: var(--cor-destaque);
}

.navbar-nav {
  gap: 5px;
  text-align: center;
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 5px;
  color: var(--cor-primaria) !important;
  font-size: 0.95rem;
  margin: 5px 0;
  transition: color 0.3s;
  font-weight: 500;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cor-primaria);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

@media (max-width: 991px) {
  .navbar-custom {
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
}

/* ========== SEÇÃO HERO / APRESENTAÇÃO ========== */
.apresent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 100%;
  margin: 0;
  padding: 60px 15px 40px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.img-port {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-port img {
  width: 250px;
  height: 250px;
  border-radius: 0 0 55px 450px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.apresent-text {
  flex: 1;
  max-width: 100%;
  text-align: center;
  width: 100%;
}

#p1 {
  color: var(--cor-primaria);
  font-size: 14px;
  margin: 8px 0;
  font-family: 'Montserrat', serif;
}

#p2 {
  color: var(--cor-primaria);
  font-size: 28px;
  margin: 8px 0;
  font-family: 'Rouge Script', serif;
}

#p3 {
  color: var(--cor-primaria);
  font-size: 18px;
  margin: 8px 0;
  font-weight: bold;
  font-family: 'Playfair', serif;
}

.btn-custom {
  background-color: var(--cor-primaria);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 15px;
  font-weight: 500;
  width: 100%;
  max-width: 250px;
}

.btn-custom:hover {
  background-color: var(--cor-destaque);
  color: white;
}

.btn-custom i {
  margin-left: 8px;
}

@media (min-width: 768px) {
  .apresent {
    flex-direction: row;
    padding: 60px 20px;
    gap: 40px;
  }

  .img-port img {
    width: 350px;
    height: 350px;
  }

  #p1 {
    font-size: 16px;
  }

  #p2 {
    font-size: 40px;
  }

  #p3 {
    font-size: 25px;
  }

  .apresent-text {
    max-width: 600px;
  }

  .btn-custom {
    width: auto;
    padding: 12px 25px;
    font-size: 16px;
  }
}

/* ========== SEÇÃO PROJETOS ========== */
/* substitui estilos do carrossel por grid de projetos */
#projetos {
  padding: 50px 15px;
  background: #000000;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.parallax-title {
  position: relative;
  font-size: 2.5rem;
  z-index: 2;
  transition: transform 0.2s;
  will-change: transform;
  color: white;
  font-weight: bold;
  padding: 20px 0;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* Grid de projetos */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  max-width: 1100px;
  padding: 0 12px;
  box-sizing: border-box;
  align-items: stretch;
}

.project-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-body h3 {
  color: var(--cor-primaria);
  margin: 0;
  font-size: 1.05rem;
}

.project-body p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.project-body .btn-dark {
  align-self: start;
  margin-top: 10px;
}

/* hover: cresce e eleva sombra */
.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

/* Responsividade: tablets e desktop */
@media (min-width: 576px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* garante que nenhum elemento cause overflow horizontal */
html, body, .projects-grid, .project-card {
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ========== SEÇÃO HABILIDADES ========== */
#habilidades {
  padding: 50px 15px;
  background: #d2d3cd;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#habilidades .parallax-title {
  color: var(--cor-primaria);
  background: transparent;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.skill-card {
  background: white;
  padding: 20px 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-card:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

.skill-card i {
  font-size: 2rem;
  color: var(--cor-primaria);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.skill-card:hover i {
  color: var(--cor-destaque);
}

.skill-card h3 {
  font-size: 0.9rem;
  color: var(--cor-primaria);
  margin: 0;
  font-weight: 600;
}

@media (min-width: 576px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .skill-card {
    padding: 25px 15px;
  }

  .skill-card i {
    font-size: 2.5rem;
  }

  .skill-card h3 {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
  }

  .skill-card {
    padding: 30px 20px;
  }

  .skill-card i {
    font-size: 3rem;
  }

  .skill-card h3 {
    font-size: 1.1rem;
  }
}

/* ========== SEÇÃO CONTATO ========== */
#contato {
  padding: 50px 15px;
  background: #000000;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contato h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 30px;
  font-family: 'Montserrat', serif;
  font-weight: bold;
}

.contact-form {
  max-width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.contact-form .form-label {
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  text-align: left;
  font-size: 0.95rem;
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--cor-destaque);
  color: white;
  box-shadow: 0 0 10px rgba(142, 154, 175, 0.3);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  #contato h2 {
    font-size: 3rem;
    margin-bottom: 40px;
  }

  .contact-form {
    max-width: 600px;
    padding: 40px;
  }

  .contact-form .form-label {
    font-size: 1rem;
  }

  .contact-form .form-control {
    padding: 12px;
    font-size: 1rem;
  }
}

/* ========== FOOTER / REDES SOCIAIS ========== */
.footer-section {
  background: #1a1a1a;
  padding: 30px 15px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(142, 154, 175, 0.1);
}

.social-links a:hover {
  color: var(--cor-destaque);
  background: rgba(142, 154, 175, 0.2);
  transform: translateY(-5px);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-section {
    padding: 40px 20px;
  }

  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }
}

/* ========== DIÁLOGO INTERATIVO ========== */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.dialog-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 25px;
  border-radius: 12px;
  display: none;
  max-width: 90%;
  min-width: 250px;
  text-align: center;
  z-index: 1001;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dialog-box p {
  color: var(--cor-primaria);
  margin-bottom: 15px;
  font-size: 1rem;
}

@media (min-width: 576px) {
  .dialog-box {
    max-width: 400px;
    padding: 30px;
  }

  .dialog-box p {
    font-size: 1.1rem;
  }
}

/* ========== ESTRELAS DE FUNDO ========== */
.star {
  position: fixed;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px #fff, 0 0 15px 4px #8e9aaf;
  z-index: -1;
  pointer-events: none;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

@media (max-width: 576px) {
  .star {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px 0.5px #fff, 0 0 10px 2px #8e9aaf;
  }
}

/* ========== AJUSTES GERAIS PARA PEQUENAS TELAS ========== */
@media (max-width: 480px) {
  body {
    padding-top: 55px;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .carousel-card {
    margin-right: 0;
  }
}

/* ========== SEÇÃO COMO FUNCIONA ========== */
#como-funciona {
  padding: 60px 15px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#como-funciona .parallax-title {
  color: white;
  margin-bottom: 60px;
  font-size: 2.5rem;
}

.process-circuit {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.circuit-step {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(142, 154, 175, 0.3);
  border-radius: 16px;
  padding: 30px 20px;
  position: relative;
  transition: all 0.4s ease;
  animation: slideIn 0.6s ease-out backwards;
}

.circuit-step.step-1 { animation-delay: 0.1s; }
.circuit-step.step-2 { animation-delay: 0.2s; }
.circuit-step.step-3 { animation-delay: 0.3s; }
.circuit-step.step-4 { animation-delay: 0.4s; }
.circuit-step.step-5 { animation-delay: 0.5s; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.circuit-step:hover {
  background: rgba(142, 154, 175, 0.15);
  border-color: var(--cor-destaque);
  transform: translateX(10px);
  box-shadow: 0 0 20px rgba(142, 154, 175, 0.3);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--cor-destaque) 0%, var(--cor-destaque-hover) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 2.5rem;
  color: white;
  animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(142, 154, 175, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(142, 154, 175, 0);
  }
}

.circuit-step:hover .step-icon {
  animation: pulse 0.4s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.1);
  }
}

.circuit-step h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.circuit-step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* Linhas conectoras */
.circuit-line {
  width: 3px;
  height: 50px;
  background: linear-gradient(180deg, var(--cor-destaque) 0%, transparent 100%);
  margin: -30px auto 0;
  position: relative;
  animation: drawLine 0.8s ease-out backwards;
}

.line-1 { animation-delay: 0.15s; }
.line-2 { animation-delay: 0.25s; }
.line-3 { animation-delay: 0.35s; }
.line-4 { animation-delay: 0.45s; }

@keyframes drawLine {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 50px;
    opacity: 1;
  }
}

/* Responsivo - Horizontal em telas maiores */
@media (min-width: 992px) {
  #como-funciona .parallax-title {
    font-size: 4rem;
  }

  .process-circuit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: flex-start;
    position: relative;
  }

  .circuit-step {
    padding: 25px 15px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInUp 0.6s ease-out backwards;
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .circuit-step.step-1 { animation-delay: 0.1s; }
  .circuit-step.step-2 { animation-delay: 0.2s; }
  .circuit-step.step-3 { animation-delay: 0.3s; }
  .circuit-step.step-4 { animation-delay: 0.4s; }
  .circuit-step.step-5 { animation-delay: 0.5s; }

  .step-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .circuit-step h3 {
    font-size: 1.1rem;
  }

  .circuit-step p {
    font-size: 0.9rem;
  }

  /* Linhas horizontais */
  .circuit-line {
    position: absolute;
    width: 0;
    height: 3px;
    top: 70px;
    left: 0;
    margin: 0;
    animation: drawLineHorizontal 0.8s ease-out backwards;
  }

  @keyframes drawLineHorizontal {
    from {
      width: 0;
      opacity: 0;
    }
    to {
      width: calc(100% + 15px);
      opacity: 1;
    }
  }

  .line-1 {
    left: 20%;
    width: 18%;
    animation-delay: 0.15s;
  }
  .line-2 {
    left: 38%;
    width: 18%;
    animation-delay: 0.25s;
  }
  .line-3 {
    left: 56%;
    width: 18%;
    animation-delay: 0.35s;
  }
  .line-4 {
    left: 74%;
    width: 18%;
    animation-delay: 0.45s;
  }

  .circuit-step:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  #como-funciona {
    padding: 40px 10px;
  }

  #como-funciona .parallax-title {
    font-size: 1.8rem;
  }

  .circuit-step {
    padding: 20px 15px;
  }

  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .circuit-step h3 {
    font-size: 1.1rem;
  }

  .circuit-step p {
    font-size: 0.85rem;
  }

  .circuit-line {
    height: 40px;
    margin: -20px auto 0;
  }
}


/* ========== SEÇÃO E-BOOK ========== */
#ebook {
  padding: 60px 15px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ebook-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.ebook-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ebook-title {
  font-size: 2.5rem;
  color: var(--cor-primaria);
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Playfair', serif;
}

.ebook-subtitle {
  font-size: 1.2rem;
  color: var(--cor-destaque);
  font-style: italic;
  margin-bottom: 20px;
}

.ebook-box {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: all 0.4s ease;
}

.ebook-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ebook-image {
  width: 120px;
  height: 160px;
  background: linear-gradient(135deg, var(--cor-destaque) 0%, var(--cor-destaque-hover) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(142, 154, 175, 0.3);
  animation: floatBook 3s ease-in-out infinite;
}

@keyframes floatBook {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.ebook-description {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ebook-description h3 {
  color: var(--cor-primaria);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.ebook-description p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.ebook-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.ebook-features li {
  color: #333;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ebook-features i {
  color: var(--cor-destaque);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-ebook {
  background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-destaque) 100%);
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
  margin-top: 10px;
}

.btn-ebook:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.btn-ebook i {
  font-size: 1.2rem;
}

/* Responsivo */
@media (min-width: 768px) {
  #ebook {
    padding: 80px 20px;
  }

  .ebook-title {
    font-size: 3.5rem;
  }

  .ebook-box {
    flex-direction: row;
    align-items: center;
    padding: 40px;
    gap: 40px;
  }

  .ebook-image {
    width: 150px;
    height: 200px;
    font-size: 5rem;
    margin: 0;
    flex-shrink: 0;
  }

  .ebook-description {
    text-align: left;
    flex: 1;
  }

  .ebook-features {
    text-align: left;
  }

  .btn-ebook {
    align-self: flex-start;
    padding: 16px 35px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  #ebook {
    padding: 40px 10px;
  }

  .ebook-title {
    font-size: 1.8rem;
  }

  .ebook-subtitle {
    font-size: 1rem;
  }

  .ebook-box {
    padding: 20px 15px;
  }

  .ebook-image {
    width: 100px;
    height: 130px;
    font-size: 3rem;
  }

  .ebook-description h3 {
    font-size: 1.1rem;
  }

  .ebook-features li {
    font-size: 0.85rem;
  }

  .btn-ebook {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* ========== SEÇÃO CTA FINAL ========== */
.cta-section {
  padding: 60px 15px;
  background: linear-gradient(135deg, #0b1220 0%, #111827 100%);
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-inner {
  max-width: 1000px;
  width: 100%;
  padding: 36px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  box-shadow: 0 12px 40px rgba(2,6,23,0.6);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(.2,.9,.2,1);
}

.cta-inner.in-view {
  transform: translateY(0);
  opacity: 1;
}

.cta-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--cor-destaque) 0%, var(--cor-destaque-hover) 100%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(142,154,175,0.18);
  transform: rotate(-5deg);
}

.cta-title {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
}

.cta-text {
  color: rgba(255,255,255,0.82);
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn.btn-cta {
  background: linear-gradient(135deg, var(--cor-secundaria) 0%, var(--cor-destaque) 100%);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

.btn.btn-outline-cta {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.14);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn.btn-outline-cta:hover { background: rgba(255,255,255,0.04); transform: translateY(-3px); }

/* small pulse on primary button to chamar atenção */
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: 0 10px 30px rgba(142,154,175,0.12); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.btn.btn-cta { animation: ctaPulse 3.5s ease-in-out infinite; }

/* responsivo */
@media (max-width: 768px) {
  .cta-title { font-size: 1.6rem; }
  .cta-inner { padding: 24px 14px; border-radius: 12px; }
  .cta-badge { right: 12px; top: -10px; }
}
  
/* ...existing code... */

/* ======= HERO - Persuasivo e conversão ======= */
.hero-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.hero-badge {
  background: linear-gradient(90deg,var(--cor-destaque),var(--cor-destaque-hover));
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 18px rgba(142,154,175,0.14);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.btn-primary-hero, .btn-secondary-hero {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform .16s ease, box-shadow .16s ease;
}

.btn-primary-hero {
  background: linear-gradient(90deg,var(--cor-secundaria),var(--cor-destaque));
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.btn-primary-hero:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }

.btn-secondary-hero {
  background: transparent;
  color: var(--cor-primaria);
  border: 2px solid rgba(0,0,0,0.08);
}

.btn-secondary-hero:hover { background: rgba(0,0,0,0.04); transform: translateY(-3px); }

.hero-benefits {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 0;
  margin: 0;
  color: rgba(0,0,0,0.75);
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-benefits li {
  background: rgba(0,0,0,0.04);
  padding: 8px 12px;
  border-radius: 8px;
}

/* prova social compacta */
.hero-proof {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(0,0,0,0.65);
  font-size: 0.9rem;
}

.proof-stars {
  color: #f5a623;
  font-weight: 700;
  font-size: 1rem;
  padding-right: 6px;
}

/* animação sutil de entrada */
.hero-cta { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.apresent:has(.hero-cta) .hero-cta { opacity: 1; transform: translateY(0); }

/* responsivo */
@media (max-width: 767px) {
  .hero-benefits { flex-direction: column; gap: 8px; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; max-width: 320px; }
  .hero-cta { gap: 10px; }
}