:root {
  --bg-dark: #021118;
  --bg-light: #f7f7f7;
  --text-dark: #111111;
  --text-muted: #555555;
  --cta: #b8863b;
  --cta-hover: #9e722f;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5a;
}

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

html,
body {
  width: 100%;
}

body {
  font-family: "Urbanist", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.45;
}

.hero {
  position: relative;
  background: var(--bg-dark);
}

.hero-videos {
  width: 100%;
  line-height: 0;
}

.hero-videos img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 3.5vw, 44px);
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 14px;
}

.btn-inscrever {
  display: inline-block;
  background: var(--cta);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 8px;
  padding: 14px 26px;
  font-size: clamp(0.82rem, 1.6vw, 1.05rem);
  max-width: min(90vw, 620px);
  box-shadow: 0 8px 24px rgba(184, 134, 59, 0.32);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-inscrever:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.galeria {
  padding: clamp(20px, 4vw, 48px) 18px;
  background: #ffffff;
}

.galeria-header {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.galeria-header h2 {
  font-size: clamp(1.2rem, 3.2vw, 2rem);
  margin-bottom: 10px;
}

.galeria-header p {
  font-size: clamp(0.92rem, 1.7vw, 1.1rem);
  color: var(--text-muted);
}

.beneficios {
  padding: clamp(20px, 4vw, 42px) 18px;
  background: var(--bg-light);
  text-align: center;
}

.beneficios h2 {
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  margin-bottom: 24px;
}

.cards {
  max-width: 1100px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  font-size: clamp(0.88rem, 1.35vw, 1rem);
}

.formador {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  margin-bottom: 16px;
}

.formador-profissional {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: left;
}

.formador-imagem {
  flex: 0 0 180px;
}

.formador-imagem img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center 4%;
  border-radius: 50%;
  border: 4px solid #111111;
  display: block;
}

.formador-texto {
  flex: 1 1 320px;
}

.formador-texto h3 {
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  margin-bottom: 8px;
}

.formador-texto p {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: #2a2a2a;
}

.formulario {
  padding: clamp(20px, 4vw, 42px) 18px;
  text-align: center;
  background: #ffffff;
}

.formulario h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  margin-bottom: 8px;
}

.formulario p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: clamp(0.88rem, 1.5vw, 1rem);
}

.formulario-form-horizontal {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.formulario-form-horizontal input,
.formulario-form-horizontal select,
.formulario-form-horizontal button {
  flex: 1 1 190px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.mensagem {
  margin-top: 12px;
}

.formulario small {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
}

footer {
  background: #1a1a1a;
  color: #f7f7f7;
  padding: 12px 14px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-content {
    bottom: 8px;
    padding: 0 10px;
  }

  .btn-inscrever {
    font-size: 0.76rem;
    padding: 9px 12px;
    max-width: 72vw;
    border-radius: 6px;
  }

  .galeria,
  .beneficios,
  .formulario {
    padding: 12px 10px;
  }

  .cards {
    gap: 10px;
  }

  .formador-profissional {
    gap: 10px;
    margin-top: 8px;
    text-align: center;
  }

  .formador-imagem img {
    width: 152px;
    height: 152px;
  }

  .formulario-form-horizontal {
    flex-direction: column;
  }

  .formulario-form-horizontal input,
  .formulario-form-horizontal select,
  .formulario-form-horizontal button {
    width: 100%;
    flex: 1 1 auto;
  }
}

/* Botï¿½o de inscriï¿½ï¿½o no mobile (pedido direto) */
@media (max-width: 768px) {
  .btn-inscrever {
    font-size: 0.02rem !important;
  }
}


/* Reversï¿½o: botï¿½o mobile como estava antes */
@media (max-width: 768px) {
  .btn-inscrever {
    font-size: 0.76rem !important;
  }
}


/* Ajuste final: botão responsivo para todos os mobiles */
@media (max-width: 768px) {
  .hero-content {
    bottom: clamp(8px, 3vw, 18px) !important;
    padding: 0 10px !important;
  }

  .btn-inscrever {
    width: auto !important;
    max-width: 84vw !important;
    padding: 9px 14px !important;
    font-size: clamp(0.72rem, 2.9vw, 0.88rem) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
    border-radius: 6px !important;
  }
}

@media (max-width: 430px) {
  .btn-inscrever {
    max-width: 80vw !important;
    padding: 8px 12px !important;
    font-size: clamp(0.68rem, 3.1vw, 0.8rem) !important;
  }
}

@media (max-width: 375px) {
  .btn-inscrever {
    max-width: 78vw !important;
    padding: 7px 10px !important;
    font-size: clamp(0.64rem, 3vw, 0.76rem) !important;
  }
}


/* Ajuste: botão menos largo no mobile */
@media (max-width: 768px) {
  .btn-inscrever {
    max-width: 68vw !important;
  }
}

@media (max-width: 430px) {
  .btn-inscrever {
    max-width: 64vw !important;
  }
}


/* Ajuste extra: botão e texto menores no mobile */
@media (max-width: 768px) {
  .btn-inscrever {
    max-width: 58vw !important;
    padding: 6px 9px !important;
    font-size: 0.62rem !important;
    line-height: 1.1 !important;
    border-radius: 5px !important;
  }
}

@media (max-width: 430px) {
  .btn-inscrever {
    max-width: 54vw !important;
    padding: 5px 8px !important;
    font-size: 0.58rem !important;
  }
}

@media (max-width: 375px) {
  .btn-inscrever {
    max-width: 50vw !important;
    padding: 4px 7px !important;
    font-size: 0.54rem !important;
  }
}


/* Redução adicional do botão no mobile */
@media (max-width: 768px) {
  .btn-inscrever {
    max-width: 50vw !important;
    padding: 4px 6px !important;
    font-size: 0.48rem !important;
  }
}

@media (max-width: 430px) {
  .btn-inscrever {
    max-width: 46vw !important;
    font-size: 0.45rem !important;
  }
}

@media (max-width: 375px) {
  .btn-inscrever {
    max-width: 42vw !important;
    font-size: 0.42rem !important;
  }
}


/* Layout profissional responsivo do conteúdo */
@media (max-width: 1024px) {
  .galeria-header, .beneficios, .formulario, .footer-container {
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .galeria-header h2, .beneficios h2, .formulario h2 {
    font-size: clamp(1.08rem, 2.6vw, 1.5rem) !important;
    line-height: 1.25 !important;
  }

  .galeria-header p, .formulario p, .formador-texto p, .card {
    font-size: clamp(0.86rem, 1.7vw, 0.98rem) !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 768px) {
  .galeria, .beneficios, .formulario {
    padding: 14px 12px !important;
  }

  .galeria-header h2, .beneficios h2, .formulario h2 {
    font-size: clamp(0.96rem, 4.2vw, 1.2rem) !important;
    margin-bottom: 8px !important;
  }

  .galeria-header p, .formulario p, .formador-texto p, .card, .formador, .formulario small {
    font-size: clamp(0.76rem, 3.2vw, 0.9rem) !important;
    line-height: 1.42 !important;
  }

  .cards {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .card {
    padding: 12px 11px !important;
    border-radius: 10px !important;
  }

  .formador-profissional {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .formulario-form-horizontal {
    gap: 8px !important;
  }

  .formulario-form-horizontal input,
  .formulario-form-horizontal select,
  .formulario-form-horizontal button {
    font-size: 0.82rem !important;
    min-height: 40px !important;
  }
}

@media (max-width: 430px) {
  .galeria, .beneficios, .formulario {
    padding: 10px 9px !important;
  }

  .galeria-header h2, .beneficios h2, .formulario h2 {
    font-size: clamp(0.88rem, 4.6vw, 1.02rem) !important;
  }

  .galeria-header p, .formulario p, .formador-texto p, .card, .formador, .formulario small {
    font-size: clamp(0.7rem, 3.3vw, 0.8rem) !important;
  }
}


/* Ajuste de espaçamento dos textos */
.galeria-header h2,
.beneficios h2,
.formulario h2,
.formador-texto h3 {
  margin-bottom: 14px !important;
  line-height: 1.3 !important;
}

.galeria-header p,
.formulario p,
.formador-texto p,
.card,
.formador,
.formulario small {
  line-height: 1.62 !important;
}

.galeria-header p,
.formulario p,
.formador-texto p {
  margin-bottom: 12px !important;
}

.cards {
  gap: 14px !important;
}

.card {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 768px) {
  .galeria-header h2,
  .beneficios h2,
  .formulario h2,
  .formador-texto h3 {
    margin-bottom: 10px !important;
    line-height: 1.28 !important;
  }

  .galeria-header p,
  .formulario p,
  .formador-texto p,
  .card,
  .formador,
  .formulario small {
    line-height: 1.55 !important;
  }
}


/* Ajuste extra de espaçamento textual */
.galeria-header h2,
.beneficios h2,
.formulario h2,
.formador-texto h3 {
  margin-bottom: 18px !important;
  line-height: 1.35 !important;
}

.galeria-header p,
.formulario p,
.formador-texto p,
.card,
.formador,
.formulario small {
  line-height: 1.72 !important;
}

.galeria-header p,
.formulario p,
.formador-texto p {
  margin-bottom: 16px !important;
}

.cards {
  gap: 16px !important;
}

@media (max-width: 768px) {
  .galeria-header h2,
  .beneficios h2,
  .formulario h2,
  .formador-texto h3 {
    margin-bottom: 12px !important;
    line-height: 1.32 !important;
  }

  .galeria-header p,
  .formulario p,
  .formador-texto p,
  .card,
  .formador,
  .formulario small {
    line-height: 1.62 !important;
  }
}


/* Ajuste adicional: mais respiro na leitura */
.galeria-header h2,
.beneficios h2,
.formulario h2,
.formador-texto h3 {
  margin-bottom: 22px !important;
  line-height: 1.4 !important;
}

.galeria-header p,
.formulario p,
.formador-texto p,
.card,
.formador,
.formulario small {
  line-height: 1.82 !important;
}

.galeria-header p,
.formulario p,
.formador-texto p {
  margin-bottom: 18px !important;
}

.cards {
  gap: 18px !important;
}

@media (max-width: 768px) {
  .galeria-header h2,
  .beneficios h2,
  .formulario h2,
  .formador-texto h3 {
    margin-bottom: 14px !important;
    line-height: 1.36 !important;
  }

  .galeria-header p,
  .formulario p,
  .formador-texto p,
  .card,
  .formador,
  .formulario small {
    line-height: 1.7 !important;
  }
}


/* Leitura profissional: bloco superior */
.galeria-header {
  max-width: 920px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.galeria-header h2 {
  max-width: 860px !important;
  margin: 0 auto 20px auto !important;
  line-height: 1.38 !important;
  letter-spacing: 0.01em !important;
}

.galeria-header p {
  max-width: 780px !important;
  margin: 0 auto 18px auto !important;
  line-height: 1.86 !important;
  letter-spacing: 0.002em !important;
}

@media (max-width: 768px) {
  .galeria {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .galeria-header {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .galeria-header h2 {
    font-size: clamp(0.98rem, 4.3vw, 1.22rem) !important;
    line-height: 1.42 !important;
    margin-bottom: 14px !important;
  }

  .galeria-header p {
    font-size: clamp(0.8rem, 3.5vw, 0.94rem) !important;
    line-height: 1.9 !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 430px) {
  .galeria-header h2 {
    font-size: clamp(0.92rem, 4.5vw, 1.08rem) !important;
    line-height: 1.45 !important;
  }

  .galeria-header p {
    font-size: clamp(0.76rem, 3.6vw, 0.86rem) !important;
    line-height: 1.95 !important;
  }
}


/* Headline em duas linhas fixas (PC e mobile) */
.headline-duas-linhas {
  margin: 0 auto 20px auto !important;
  text-align: center !important;
}

.headline-duas-linhas .titulo-linha {
  display: block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .headline-duas-linhas {
    font-size: clamp(0.78rem, 3.2vw, 0.92rem) !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 430px) {
  .headline-duas-linhas {
    font-size: clamp(0.66rem, 3.1vw, 0.8rem) !important;
    line-height: 1.35 !important;
  }
}


/* Linha isolada da palavra mundo */
.headline-duas-linhas .palavra-mundo {
  display: inline-block;
  width: 100%;
  text-align: center;
}


/* Headline: 2 linhas no PC e 3 linhas no mobile */
.headline-ajustada {
  text-align: center !important;
}

.headline-ajustada .line1,
.headline-ajustada .line2 {
  display: block;
}

.headline-ajustada .line3 {
  display: inline;
}

@media (max-width: 768px) {
  .headline-ajustada .line1,
  .headline-ajustada .line2,
  .headline-ajustada .line3 {
    display: block;
  }
}


/* Garantia para 375x667 e menores */
@media (max-width: 430px) {
  .galeria-header .headline-ajustada {
    font-size: 0.82rem !important;
    line-height: 1.32 !important;
  }

  .galeria-header .headline-ajustada .line1,
  .galeria-header .headline-ajustada .line2,
  .galeria-header .headline-ajustada .line3 {
    display: block !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 375px) {
  .galeria-header .headline-ajustada {
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
  }

  .galeria-header .headline-ajustada .line1,
  .galeria-header .headline-ajustada .line2,
  .galeria-header .headline-ajustada .line3 {
    display: block !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 360px) {
  .galeria-header .headline-ajustada {
    font-size: 0.68rem !important;
  }
}

