/* styles.css */
/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #004f42;
}

br {
  display: block;
  margin: 10px 0;
}

/* Animação Fade-in para carregamento fluido */
.fade-in {
  animation: fadeInPage ease 1.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Buttons */
.btn-primary {
  background-color: #DD4B4B;
  color: white;
  width: 330px;
  height: 60.75px;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border: none;
  border-radius: 72.58px;
  font-weight: 700;
  font-size: 23.23px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
}

.btn-primary:hover {
  background-color: #c53f3f;
  transition: background-color 0.3s ease;
}

/* Hero */
.hero-section {
  display: flex;
  min-height: 700px;
  background: #004f42;
}

.hero-img {
  flex: 1;
  background: url('public/linhabonita/hero-img.png') no-repeat;
  border-top-right-radius: 350px;
}

.hero-text {
  width: 50%;
  color: #fff;
  padding: 0 12% 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text .logos {
  margin-bottom: 60px;
}

.hero-text h1 {
  font-weight: 600;
  font-size: 46px;
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 420px;
  font-size: 24px;
  font-weight: 400;
}

/* Propriedades */
.property-section {
  display: flex;
  align-items: center;
}

.property-section img {
  height: 450px;
  width: 860px;
}

.property-text {
  width: 60%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 60px;
  height: 450px;
}

.property-section:nth-child(even) {
  flex-direction: row-reverse;
}

.property-section:nth-child(even) .property-text {
  background: #05493C;
  color: #fff;
}

.property-section:nth-child(odd) .property-text {
  background: #fff;
  color: #05493C;
  flex-direction: row-reverse;
}

.property-details {
  display: flex;
  flex-direction: column;
  max-width: 50%;
  gap: 20px;
}

.property-text h2,
.property-text ul li {
  font-size: 1rem;
}

.property-text ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-text p {
  width: 320px;
  font-weight: 500;
  font-size: 1rem;
}

.property-text img {
  height: auto;
  max-width: 220px;
  margin: 0;
}

.opportunity-bar {
  height: 180px;
  background: #004f42;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.opportunity-bar button {
  margin: 0;
  width: 420px;
}

/* CTA: Oportunidade */
.cta.opportunity {
  background: #fff;
  color: #004f42;
  padding: 80px 20px;
  text-align: center;
}

.cta.opportunity .container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta.opportunity .container button {
  margin-top: 90px;
  width: 480px;
}

.cta.opportunity h2 {
  width: 45%;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta.opportunity p {
  max-width: 860px;
  margin: 0 auto 2rem;
}

.features-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.features-list li {
  display: flex;
  max-width: 310px;
}

.features-list li p {
  text-align: start;
}

.features-list li:before {
  content: url(public/linhabonita/setinha.png);
  color: #004f42;
}

/* CTA: Futuro */
.cta.future {
  position: relative;
  color: #fff;
  background: url('public/linhabonita/fundo-transparencia.png') no-repeat center/cover;
}

.future-content {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.future-text {
  flex: 1;
}

.future-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.future-text p {
  margin-bottom: 1.5rem;
}

.future-text .break {
  display: none;
}

.future-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
  padding: 0;
}

.future-text li {
  position: relative;
  padding-left: 36px;
  /* espaço para o ícone */
}

/* pseudo‐elemento genérico */
.future-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  /* ajuste vertical conforme o tamanho da fonte */
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
}

/* ícone 1 */
.future-text li:nth-child(1)::before {
  background-image: url('public/linhabonita/emoji1.svg');
}

/* ícone 2 */
.future-text li:nth-child(2)::before {
  background-image: url('public/linhabonita/emoji2.svg');
}

/* ícone 3 */
.future-text li:nth-child(3)::before {
  background-image: url('public/linhabonita/emoji3.svg');
}

/* ícone 4 */
.future-text li:nth-child(4)::before {
  background-image: url('public/linhabonita/emoji4.svg');
}

.future-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Parceria */
.partnership {
  height: 170px;
  background: #DD4B4B;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partnership p {
  font-size: 48px;
  font-weight: 500;
}

/* Contato */
.contact {
  height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 20%;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-info p {
  max-width: 500px;
  font-size: 27px;
}

.contact-info strong {
  font-size: 42px;
}

.contact-form {
  flex: 1;
  width: 376px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.contact-form form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
}

.contact-form input {
  width: 335px;
  height: 58px;
  background: #F2F2F2;
  box-shadow: 0px 1px 2px 0px #00000026 inset;
  border-radius: 5px;
  border: none;
  padding: 0 28px;
  font-weight: 500;
  font-size: 18px;
  color: #9D9D9D;
}

.contact-form .campos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.custom-checkbox {
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 10px;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 2) Cria o “( )” antes do texto */
.custom-checkbox span {
  position: relative;
  padding-top: 3px;
  padding-left: 2em;
  /* espaço para o parêntese */
  cursor: pointer;
}

.custom-checkbox span::before {
  content: "(  )";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  color: #5B5B5B;
}

/* 3) Quando estiver marcado, substitui por “(✓)” */
.custom-checkbox input[type="checkbox"]:checked+span::before {
  content: "(✓)";
}

/* Responsivo */
@media (max-width: 768px) {

  html {
    width: fit-content !important;
  }

  .btn-primary {
    font-size: 14px;
    width: 80% !important;
  }

  .hero-section {
    display: flex !important;
    flex-direction: column-reverse;
    /* texto em cima, imagem embaixo */
    justify-content: center;
    /* centra verticalmente */
    align-items: center;
    /* centra horizontalmente */
    min-height: 100vh;
    /* ocupa toda a altura do celular */
    padding: 0;
  }

  .hero-img {
    width: 100%;
    height: 60vh;
    background-size: cover;
    border-top-right-radius: 157.5px;
  }

  .hero-text {
    width: 100%;
    padding: 2rem 1rem;
    /* espaçamento nas laterais */
    text-align: center;
    background-color: #004f42;
    /* garante o fundo verde por baixo */
  }

  .hero-text .logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
    /* reduz para caber */
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
  }

  .property-section img {
    height: auto;
    width: 100%;
  }

  .property-section {
    display: flex !important;
    flex-direction: column-reverse !important;
    height: 100% !important;
  }

  .property-text {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px !important;
    gap: 20px !important;
  }

  .property-text img {
    display: block !important;
    margin: 0 auto 16px !important;
    max-width: 120px !important;
  }

  .property-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .property-details ul {
    list-style: disc inside !important;
  }

  .property-details ul li,
  .property-text p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    width: auto;
  }

  .cta.opportunity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    /* garante altura mínima de tela celular */
    padding: 60px 20px;
    /* espaçamento por fora */
  }

  /* Título centralizado e menor */
  .cta.opportunity h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  /* Parágrafo com largura limitada e fonte reduzida */
  .cta.opportunity p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto 2rem;
  }

  /* Lista de recursos em coluna */
  .features-list {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
    padding: 0;
  }

  /* Cada item: ícone + texto */
  .features-list li {
    display: flex;
    align-items: center;
  }

  .features-list li::before {
    margin-right: 0.5rem;
    margin-top: -20% !important;
  }

  .features-list li p {
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
  }

  /* Botão full-width (com max-width) */
  .cta.opportunity .btn-primary {
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
  }

  /* container principal vira coluna e ocupa toda a tela */
  .cta.future {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
  }

  /* alinhamento interno em coluna */
  .future-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
  }

  /* força a logo para o topo */
  .future-logo {
    order: -1;
    margin-bottom: 20px;
  }

  /* texto fica full-width, sem padding extra */
  .future-text {
    width: 100%;
    padding: 0;
  }

  /* título e parágrafos menores */
  .future-text h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .future-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
    max-width: 100%;
  }

  /* garante que o <div class="break"> apareça como quebra de linha */
  .future-text .break {
    display: block;
    margin: 1rem 0;
  }

  /* lista vira coluna, centralizada */
  .future-text ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    width: 100%;
  }

  .future-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  /* se quiser ícones, você pode usar ::before; caso não, remova essa parte */
  .future-text ul li::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: url('public/linhabonita/setinha.png') no-repeat center/contain;
  }

  .future-text ul li p {
    font-size: 0.9rem;
    text-align: left;
    margin: 0;
  }

  /* botão full-width com max-width */
  .future-text button {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .partnership {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    /* ocupa toda a altura do celular */
    padding: 0 20px;
    text-align: center;
  }

  .partnership p {
    font-size: 1.5rem;
    /* reduz de 48px para ~24px */
    line-height: 1.3;
    margin: 0;
  }

  /* === Contato (mobile) === */

  .contact {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 10px 0;
    padding: 10px;
    gap: 20px;
    text-align: center;
  }

  .contact-info {
    width: 100%;
    max-width: 320px;
    padding: 0;
    margin: 0 auto;
  }

  .contact-info img {
    width: 140px;
    height: auto;
    margin: 0 5px 20px;
  }

  .contact-info p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 20px;
    max-width: 100%;
  }

  /* Esconde a seta lateral se houver */
  .contact-info img[alt="seta"] {
    display: none;
  }

  .contact-form {
    width: 100%;
    max-width: 320px;
    padding: 0;
    margin: 0 auto;
  }

  .contact-form form {
    padding: 20px;
  }

  .contact-form input {
    width: 100%;
    height: 50px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .custom-checkbox {
    align-items: flex-start;
  }

  .custom-checkbox label {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .custom-checkbox span {
    font-size: 1rem;
  }

  .contact-form button {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

}