* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }
  
  body {
    background: #FFFBF5;
  }

  html {
  scroll-behavior: smooth;
  }
  
  /* BLOCO AZUL */
  .hero-wrapper {
    background: #2F6673;
    width: 100%;
    height: auto; /width: 55%;/
    padding-bottom: 120px; /* min-height: 95vh;*/
    position: relative;
    z-index: 1;
  }
  
  /* NAV */
  .nav {
    display: flex;
    align-items: center;
    padding: 25px 8%;
  }
  
  .logo {
    color: white;
    font-weight: bold;
    font-size: 20px;
  }
  
  .menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin-left: 120px;
  }
  
  .menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }
  
  /* HERO TEXTO */
  .hero {
    display: flex;
    align-items: center;
    padding: 120px 8%;
  }
  
  .hero-left {
    color: white;
    max-width: 520px;
  }
  
  .hero-left h1 {
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.6;
    font-weight: 400;
  }
  
  /* IMAGEM */
  .hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: auto;
    z-index: 2;
    border-bottom-left-radius: 60px;
  }
  
  /* FORMULÁRIO */
  .form-hero {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    background: #f3f3f3;
    padding: 30px;
    width: 300px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 3;
  }
  
  .form-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
  }
  
  .form-hero label {
    display: block;
    margin-top: 15px;
    font-size: 13px;
  }
  
  .form-hero input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e5a701;
    padding: 6px 0;
    outline: none;
    background: transparent;
  }
  
  .form-hero button {
    margin-top: 20px;
    width: 100%;
    background: #e5a701;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
  }

  .colecao {
      margin-top: 180px;
  }

  .colecao h2 {
    padding: 80px 120px;
  }
  
  .modelos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .model {
    position: relative;
    width: 100%; /* remove os 370px */
    margin: 40px;
  }
  
  .model img {
    width: 100%;
    display: block;
  }
  
  .description{
    position: absolute;
    margin: 0;
    left: 0;
    width: 100%;
  
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
  
    padding: 18px;
    font-size: 16px;
    letter-spacing: .5px;
  
    backdrop-filter: blur(2px); /* opcional luxo */
  }
  
  .model:hover .description{
    background: rgba(0,0,0,0.8);
    transition: .3s;
  }
  
  .direcao {
    margin: 120px auto auto auto;
    background-color: #2F6673;
    padding: 60px;
    display: flex;
    justify-content: space-around;
  }
  
  .img-helena {
    max-width: 600px;
  }
  
  .p {
    color: #fff;
    max-width: 500px;
    font-size: 24px;
  }
  
  .p h1 {
    margin-bottom: 32px;
    font-size: 1.5rem;
  }
  
  .p p {
    margin-bottom: 16px;
  }
  
  .container-form {
    background-color: #e8d8c3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 120px 80px;
  }
  
  .container-form h2 {
    font-size: 32px;
    font-weight: 600;
    max-width: 260px;
    line-height: 1.2;
  }
  
  .container-form div {
    background-color: #f1f1f1;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    width: 520px; /* maior que o da hero */
  }
  
  
  .formulario {
    width: 100%;
  }
  
  
  .label {
    display: block;
    margin-top: 20px;
    font-size: 14px;
  }
  
  .formulario input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e5a701;
    padding: 8px 0;
    margin-top: 6px;
    outline: none;
    font-size: 14px;
    background: transparent;
  }
  
  .formulario button {
    display: block;
    margin: 40px auto 0 auto; 
    padding: 14px 40px;
    background-color: #e5a701;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .formulario button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  }
  
  .footer {
    background-color: #2F6673;
    padding: 30px;
    color: #fff;
    display: flex;
    justify-content: space-between;
  }

  /* MODAL FULLSCREEN */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  background: none;
  border: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}

.prev { left: 20px; }
.next { right: 20px; }

  /RESPONSIVO/

@media (max-width: 90rem) { /* 1440px */

  /* leve ajuste tipográfico para evitar invasão */
  .hero-left h1 {
    font-size: 34px;
  }

 /*.hero-wrapper {
    min-height: 75vh;
 } */

  /* pequeno ajuste de posicionamento do formulário */
  .form-hero {
    left: 57%;
  }

}

@media (max-width: 81.25rem) { /* 1300px */

  .hero-left h1 {
    font-size: 30px;
  }

  .menu {
    margin-left: 80px;
  }

  .form-hero {
    left: 60%;
  }

}

@media (max-width: 75rem) { /* 1200px */

  .hero-image {
    width: 42%;
  }

  .hero-wrapper {
    background: #2F6673;
    width: 60%;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
  }

}

@media (max-width: 58.4375rem) { /* 935px */

  .menu {
    margin-left: 40px;
    gap: 20px;
  }

  .hero-left h1 {
    font-size: 24px;
    max-width: 100%;
  }

  .form-hero {
    width: 260px;
    left: 65%;
  }

}

@media (max-width: 48rem) { /* 768px */

  /* HERO */

  .hero-image {
    display: none;
  }

  .hero-wrapper {
    width: 100%;
    min-height: auto;
    padding-bottom: 40px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu {
    margin-left: 0;
    gap: 20px;
  }

  .hero {
    padding: 60px 8% 40px 8%;
  }

  .hero-left h1 {
    font-size: 20px;
    line-height: 1.5;
  }

  /* IMAGEM sai do absoluto */
  .hero-image {
    position: static;
    width: 100%;
    border-radius: 0;
    margin-top: 20px;
  }

  /* FORM sai do absoluto */
  .form-hero {
    position: static;
    transform: none;
    margin: 30px auto;
    width: 90%;
  }

  /* ===== GRID MODELOS ===== */

  .modelos {
    grid-template-columns: 1fr;
  }

  .model {
    margin: 25px auto;
    max-width: 320px; /* controla tamanho no tablet/cel grande */
  }

  .model img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; /* mantém proporção 370x480 */
    object-fit: cover;
  }

  .description {
    font-size: 15px;
    padding: 16px;
  }

  /* ===== MODAL ===== */

  .modal-content {
    width: 95%;
    height: 85%;
  }

  .modal-content img {
    max-height: 85vh;
    width: auto;
  }

  .prev,
  .next {
    font-size: 32px;
  }

  .close {
    font-size: 34px;
    top: 20px;
    right: 25px;
  }

  /* DIREÇÃO */

  .direcao {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .img-helena {
  width: 100%;
  max-width: 320px;   /* controla o tamanho no mobile */
  margin: 0 auto;     /* centraliza */
  text-align: center;
}

.img-helena img {
  width: 100%;
  height: auto;
  aspect-ratio: 434 / 482; /* mantém proporção original */
  object-fit: cover;
}

  .p p {
    font-size: 20px;
  }

}

@media (max-width: 30rem) { /* 480px */

  /* HERO */
  .hero-image {
    display: none;
  }

  /* GRID MODELOS */
  .modelos {
    grid-template-columns: 1fr;
  }

  .model {
    margin: 20px auto;
    max-width: 260px; /* ligeiramente menor para caber melhor */
  }

  .model img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; /* mantém proporção 370x480 */
    object-fit: cover;
  }

  .description {
    font-size: 14px;
    padding: 14px;
  }

  /* MODAL MOBILE */
  .modal-content {
    width: 95%;
    height: 75%;
  }

  .modal-content img {
    max-height: 80vh;
    width: auto;
  }

  .prev,
  .next {
    font-size: 28px;
  }

  .close {
    font-size: 30px;
    top: 20px;
    right: 20px;
  }

  /* DIREÇÃO */
  .direcao {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .img-helena {
  width: 100%;
  max-width: 320px;   /* controla o tamanho no mobile */
  margin: 0 auto;     /* centraliza */
  text-align: center;
}

.img-helena img {
  width: 100%;
  height: auto;
  aspect-ratio: 434 / 482; /* mantém proporção original */
  object-fit: cover;
}

  .p p {
    font-size: 18px; /* levemente menor para mobile pequeno */
  }

  /* FORM FINAL */
  .container-form {
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
  }

  .container-form div {
    width: 100%;
    padding: 40px 20px;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

}