:root {
  --primary-color: #ff6b81;
  --secondary-color: #4fb8e7;
  --yellow-color: #ffd15c;
  --navy-color: #1e3d59;
  --white: #ffffff;
  --gray-light: #f5f5f5;
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--navy-color);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  padding: 1rem 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-color);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.home {
  padding: 4rem 0;
  min-height: calc(100vh - 80px);
  background-color: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.home .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-content {
  max-width: 600px;
  text-align: left;
}


.home-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: left; /* Garante alinhamento do h1 */
}

.text-navy {
  color: var(--navy-color);
}

.text-yellow {
  color: var(--yellow-color);
}

.home-description {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--navy-color);
  opacity: 0.9;
}

.home-subtitle {
  font-size: 1.1rem;
  color: var(--navy-color);
  margin-bottom: 2rem;
}

.home-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #ff5268;
}

.btn-secondary {
  color: var(--primary-color);
  text-decoration: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  text-decoration: underline;
}

.home-image {
  position: relative;
}

.main-illustration {
  width: 100%;
  height: auto;
  max-width: 500px;
}

.section-divider {
  width: 100%;
  position: relative;
  top: -60px; /* sobe o divisor para encaixar na seção anterior */
  z-index: 1;
}

.divider-image {
  width: 100%; 
  display: block;
}

.nosso-sonho {
  background-color: #FFFFFF;
  padding: 80px 0;
  margin-top: -70px;
}


.sonho-layout {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.sonho-texto {
  flex: 1 1 55%;
  max-width: 600px;
}

.tag-afeto {
  color: #e63946;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.sonho-title {
  font-size: 2.5rem;
  color: var(--navy-color);
  margin-bottom: 0.5rem;
}

.tracinho-amarelo {
  width: 60px;
  height: 4px;
  background-color: var(--yellow-color);
  margin: 0.5rem 0 1.5rem 0;
  border-radius: 2px;
}

.sonho-texto p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sonho-imagens {
  flex: 1 1 40%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.sonho-imagens img,
.img-afeto {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Imagem que ocupa toda a linha de cima */
.img-grande {
  grid-column: 1 / 3;
}

/* Imagens de baixo lado a lado */
.img-meia {
  height: 100%;
}

/* Div azul com texto */
.img-afeto {
  background-color: #00cfe8;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
  height: 100%;
  line-height: 1.4;
}


@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .sonho-content {
    grid-template-columns: 1fr;
  }
  .sonho-grid {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  .main-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .home .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-content {
    margin: 0 auto;
  }
  .home-buttons {
    justify-content: center;
  }
  .home-image {
    order: -1;
  }
  .sonho-grid {
    grid-template-columns: 1fr;
  }
  .sonho-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .home-title {
    font-size: 2.5rem;
  }
  .home-description {
    font-size: 1.1rem;
  }
  .home-buttons {
    flex-direction: column;
  }
}