/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.about-title {
  text-align: center;
  position: relative;
  top: -50px; /* move pra cima */
}

html {
  font-size: 16px; /* Base para unidades rem */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Variables */
:root {
  --brand-orange: #DAA51E;
  --brand-green: #8cc63f;
  --brand-green-dark: #78ab32;
  --input-bg: #101010;
  --input-border: #374151;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --text-black: #000;
  --text-white: #fff;
  --bg-dark: #1a1a1a; /* Cor de fundo para a Hero Section */
  --bg-black-pure: #000000; /* NOVA VARIÁVEL: Cor de fundo para a About Section */
}

/* Container para todas as seções */
.container {
  max-width: 68rem;
  width: 100%;
  margin-inline: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Layout - Hero Section */
.hero-section {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-align: left;
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark); /* USANDO --bg-dark */
  background-image: url("banner-wallan2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Pseudo-elemento para o gradiente de disfarce GLOBAL (desktop) */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 90%,
    var(--bg-dark) 100%
  ); /* USANDO --bg-dark */
  z-index: 0;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* O container dentro da hero-section já usa as regras gerais de .container */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  justify-items: start;
}

.image-column-mobile {
  display: none;
}

.hero-mobile-image {
  display: none;
}

.content-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
  margin-left: 0;
}

.logo-do-caos-ao-controle {
  max-width: 300px;
  height: auto;
  margin-bottom: 1.25rem;
}

/* Typography */
.main-tagline {
  font-family: "Oswald", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-orange);
  text-transform: uppercase;
  -webkit-text-stroke: unset;
  text-shadow: none;
}

.description {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--gray-200);
  line-height: 1.75;
}

.description .highlight {
  font-weight: 600;
  color: var(--gray-100);
}

.event-info {
  margin-top: 1.5rem;
}

.event-info p {
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 1;
  line-height: 1.5;
}

.event-info .separator {
  display: none;
}

.form-notice {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-300);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2rem;
}

/* Forms */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.form-input {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--gray-200);
  padding: 0.75rem;
  font-size: 0.875rem;
  transition: 0.3s;
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px var(--brand-orange);
}

.button-submit {
  width: 100%;
  background-color: var(--brand-green);
  color: var(--text-black);
  font-weight: 700;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button-submit:hover {
  background-color: var(--brand-green-dark);
}

/* --- Media Queries --- */

/* Tablet e Mobile (max-width: 1023px) */
@media (max-width: 1023px) {

  .about-description {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-200);
  }

  /* Ajustes para a Hero Section */
  .hero-section {
    padding-top: 0;
    padding-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
    background-image: none;
    background-color: var(--bg-dark); /* USANDO --bg-dark */
    align-items: flex-start;
    min-height: unset;
  }

  .hero-section > .container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-section::before {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .image-column-mobile {
    display: block;
    width: 100%;
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-bottom: 0;
  }
  .hero-mobile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* Gradiente para todos os lados na imagem do Tiago Brunet */
  .image-column-mobile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(0, 0, 0, 0) 25%),
      /* USANDO --bg-dark */
        linear-gradient(to bottom, var(--bg-dark) 0%, rgba(0, 0, 0, 0) 25%),
      /* USANDO --bg-dark */
        linear-gradient(to right, var(--bg-dark) 0%, rgba(0, 0, 0, 0) 25%),
      /* USANDO --bg-dark */
        linear-gradient(to left, var(--bg-dark) 0%, rgba(0, 0, 0, 0) 25%); /* USANDO --bg-dark */
    pointer-events: none;
    z-index: 2;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .content-column {
    text-align: center;
    padding-top: 1.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 3;
  }

  .logo-do-caos-ao-controle {
    max-width: 200px;
    margin-inline: auto;
  }

  .main-tagline {
    font-size: 2.2em;
    white-space: normal;
    margin-top: 1rem;
  }

  .description {
    font-size: 1em;
    white-space: normal;
    margin-top: 0.5rem;
  }

  .event-info {
    margin-top: 1rem;
  }
  .event-info p {
    font-size: 0.9em;
    line-height: 1.4;
  }

  .form-notice {
    font-size: 0.9em;
    letter-spacing: 0.1em;
    white-space: normal;
    margin-top: 1.5rem;
  }

  .cta-form {
    width: 100%;
    max-width: 350px;
    margin-inline: auto;
  }

  /* --- NOVA SEÇÃO: QUEM É LÁZARO DO CARMO JR.? (AJUSTES PARA MOBILE) --- */
  .about-section {
    background-color: var(--bg-black-pure); /* USANDO --bg-black-pure */
    padding-top: 0;
    padding-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .about-section > .container.about-container {
    padding-left: 0;
    padding-right: 0;
  }

  .about-grid {
    flex-direction: column;
    gap: 0;
  }

  .about-image-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 0;
    margin-bottom: 0;
  }

  /* Gradiente para todos os lados da foto do Lázaro */
  .about-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        var(--bg-black-pure) 0%,
        rgba(0, 0, 0, 0) 20%
      ),
      /* USANDO --bg-black-pure */
        linear-gradient(
          to bottom,
          var(--bg-black-pure) 0%,
          rgba(0, 0, 0, 0) 20%
        ),
      /* USANDO --bg-black-pure */
        linear-gradient(to right, var(--bg-black-pure) 0%, rgba(0, 0, 0, 0) 20%),
      /* USANDO --bg-black-pure */
        linear-gradient(to left, var(--bg-black-pure) 0%, rgba(0, 0, 0, 0) 20%); /* USANDO --bg-black-pure */
    pointer-events: none;
    z-index: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .about-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 3;
  }

  .about-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 1em;
  }
}

/* Mobile mais estreito (max-width: 767px) */
@media (max-width: 767px) {

  .about-description {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-200);
  }

  .main-tagline {
    text-align: left;
    font-size: 1.85em;
    padding-left: 1rem; /* ou 16px, ajuste como quiser */
  }
  .description {
    text-align: left;
    font-size: 1em;
    padding-left: 1rem; /* ou 16px, ajuste como quiser */
  }

  .event-info p {
    font-size: 0.9em;
    letter-spacing: 0.1em;
  }
  .form-notice {
    font-size: 0.8em;
  }
  .image-column-mobile {
    height: 400px;
  }

  .image-column-mobile {
    display: block; /* Garante que a coluna da imagem seja exibida */
    width: 100%;
    position: relative;
    height: 350px; /* Ou a altura desejada */
    overflow: hidden;
    margin-bottom: 0;
  }

  .hero-mobile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* Este é o gradiente que vai escurecer a base, como na imagem de exemplo */
  .image-column-mobile::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ajuste a altura para controlar a intensidade do gradiente */
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) -20%,
      var(--bg-black-pure) 100%
    ); /* Começa transparente e vai para a cor de fundo */
    pointer-events: none; /* Permite interações com elementos abaixo do gradiente */
    z-index: 2;
  }

  .about-image-wrapper {
    height: 300px;
  }

  .about-title {
    font-size: 1.8rem;
  }
  .about-description {
    font-size: 0.9em;
  }
  .about-content {
    padding: 0 1rem;
  }

  .logo-do-caos-ao-controle {
    max-width: 150px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
    margin-left: 0; /* Alinha à esquerda */
    margin-right: auto;
    padding-left: 1.3rem; /* ou 16px, ajuste como quiser */
  }

  .content-column {
    margin-top: -200px; /* ou -120px, ajusta conforme o visual */
    padding-top: 0;
    position: relative;
    z-index: 4;
  }

  .main-tagline,
  .description,
  .form-notice,
  .event-info,
  .cta-form {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
  }

  .cta-form {
    width: 100%;
    max-width: 90%;
  }

  .hero-section {
    background-color: var(--bg-black-pure);
  }

  .about-title {
    font-size: 35px !important;
  }
}

/* --- SEÇÃO "QUEM É LÁZARO DO CARMO JR.?" (Desktop) --- */
.about-section {
  background-color: var(--bg-black-pure); /* USANDO --bg-black-pure */
  padding: 5rem 1rem;
  color: var(--text-white);
}

/* O container dentro da about-section já usa as regras gerais de .container */

.about-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
}

.about-image-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 40%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradiente em TODOS OS LADOS da foto do Lázaro */
.about-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      to top,
      var(--bg-black-pure) 0%,
      rgba(0, 0, 0, 0) 20%
    ),
    /* USANDO --bg-black-pure */
      linear-gradient(to bottom, var(--bg-black-pure) 0%, rgba(0, 0, 0, 0) 20%),
    /* USANDO --bg-black-pure */
      linear-gradient(to right, var(--bg-black-pure) 0%, rgba(0, 0, 0, 0) 20%),
    /* USANDO --bg-black-pure */
      linear-gradient(to left, var(--bg-black-pure) 0%, rgba(0, 0, 0, 0) 20%); /* USANDO --bg-black-pure */
  pointer-events: none;
  z-index: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-content {
  flex-grow: 1;
  max-width: 60%;
}

.about-title {
  font-family: "Oswald", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.about-title .about-highlight {
  color: var(--brand-orange);
}

/* Desktop Larger Screens (min-width: 1024px) */
@media (min-width: 1024px) {
  /* Hero Section - Desktop rules (já estão como antes) */
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 5rem;
    background-image: url("banner-wallan2.png");
    background-position: center;
    align-items: center;
    min-height: 100vh;
  }

  .hero-section > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 90%,
      var(--bg-dark) 100%
    );
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .image-column-mobile {
    display: none;
  }

  .content-column {
    min-width: 0;
    max-width: 500px;
    padding-right: 0;
    order: unset;
    text-align: left;
    padding-top: 0;
    margin-left: 0;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .logo-do-caos-ao-controle {
    max-width: 200px;
    margin-inline: unset;
    margin: 0;
  }

  .main-tagline {
    font-size: 3.5rem;
    white-space: nowrap;
  }

  .description {
    font-size: 1.15rem;
    line-height: 1.75;
  }

  .event-info p {
    font-size: 1.1rem;
  }
  .event-info .separator {
    display: inline;
    font-size: 0.875rem;
  }

  .form-notice {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
  }

  /* About Section - Desktop rules (já estão como antes) */
  .about-section {
    padding: 5rem 1rem;
  }
  .about-section > .container.about-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .about-grid {
    flex-direction: row;
    gap: 3rem;
  }
  .about-image-wrapper {
    width: 40%;
    height: 500px;
  }
  .about-content {
    max-width: 60%;
    text-align: left;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .about-description {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-200);
  }
}