:root{
    --FONT-H1: 40pt;
    --FONT-H2: 30pt;
    --FONT-H3: 18pt;

    --FONT-H1: 40pt;
    --FONT-H2-MOBILE: 24pt;
    --FONT-H3-MOBILE: 12pt;

    --FONT-P: 14pt;
    --COLOR-TEXT-MAIN: #012942;
    --COLOR-TEXT-PRICE: #012942;
    --COLOR-TEXT-VALUE-PRICE: #fff;
    --COLOR-BORDER-VALUE-PRICE: #012942;
    --COLOR-BACKGROUND-SECTION-SECUNDARY: #E5E5E5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    color: #333;
    background: #fff;
  }

  .box-dados-mobile{
    display: none;
  }

  h1{
    font-size: var(--FONT-H1);
    font-family: Helvetica, sans-serif;
  }

  p{
    font-size: var(--FONT-P);
    font-family: Helvetica, sans-serif;
    color: var(--COLOR-TEXT-MAIN);
  }

  .container{
    width: 95%;
    justify-self: center;
  }
  
  .hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
  }
  
  .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-content {
    position: absolute;
    top: 40%;
    left: 15%;

  }

  .hero-content .content{
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 20px;
    max-width: 450px;
  }
  
  .box-tittle-name{
    margin-top: 70%;
  }

  .box-text-description{
    margin-top: 25%;
    margin-bottom: 40%;
  }

  .box-text-description h3{
    font-size: var(--FONT-H3);
    font-family: Helvetica, sans-serif;
    font-weight: lighter;
    line-height: 1.4;
  }

  .box-text-description-iptu{
    position: absolute;
    top: 55%;
    background-color: #fff;
    text-align: center;
    font-size: var(--FONT-P);
    width: 450px;

  }

  .box-text-description-iptu p{
    color: var(--COLOR-TEXT-MAIN);
  }


  .content-primary{
    display: inline-flex;
    width: 100%;
    height: 60vh;
  }

  .content-primary .box{
    width: 50%;
    text-align: center;
  }

  .content-primary .box.price{
    padding-top: 5%;
    color: var(--COLOR-TEXT-PRICE);
  }

  .value-price{
    background-color: var(--COLOR-BORDER-VALUE-PRICE);
    color: var(--COLOR-TEXT-VALUE-PRICE);
    padding: 5PX 25px; /* opcional */
    display: inline; /* garante que seja inline */
    white-space: nowrap; /* impede quebra dentro do span */
  }

  .content-secundary{
    display: inline-flex;
    width: 100%;
    height: 60vh;
    background-color: var(--COLOR-BACKGROUND-SECTION-SECUNDARY);
  }

  .content-about h2{
    color: var(--COLOR-TEXT-MAIN);
    font-size: var(--FONT-H2);
    text-align: center;
  }

.content-terciary{
    width: 100%;
    background-color: var(--COLOR-BACKGROUND-SECTION-SECUNDARY);
    justify-items: center;
    padding-bottom: 2%;
}

.content-terciary h2{
    color: var(--COLOR-TEXT-MAIN);
    
    padding-top: 2%;
    margin-bottom: 5%;
    font-size: var(--FONT-H2);
}




  .slider-container {
    position: relative;
    height: 350px;
    width: 900px;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #002642; /* cor semelhante ao azul escuro da imagem */
    color: white;
    
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 350px;
  }
  
  .slide {
    display: flex;
    min-width: 100%;
    box-sizing: border-box;
  }
  
  .slide img {
    width: 50%;
    object-fit: cover;
    margin-right: 20px;
  }
  
  .slide-content {
    position: relative;
    width: 50%;
    padding: 2%;
  }
  
  .slide-content small {
    opacity: 0.6;
  }
  
  .slide-content h2 {
    margin-top: 2%;
    margin-bottom: 5%;
  }
  
  .slide-content ul {
    padding-left: 20px;
    list-style-type: disc;
  }
  
  .icons {
    margin-top: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 3%;
  }
  
  .icons span {
    margin-right: 15px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 10;
  }
  
  .prev {
    left: 5px;
  }
  
  .next {
    right: 5px;
  }
  



  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
  }
  
  /* Para tablets: 3 colunas fixas */
  @media (max-width: 1024px) {
    .gallery {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Para celulares: 2 colunas fixas */
  @media (max-width: 600px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }

  /* Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .modal.open {
    display: flex;
  }

  .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
  }

  .modal-content img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px 10px 0 0;
  }

  /* Botões de navegação */
  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 22px;
    color: #222;
    transition: background-color 0.2s ease;
    user-select: none;
  }
  .nav-button:hover {
    background: white;
  }

  .nav-prev {
    left: 10px;
  }
  .nav-next {
    right: 10px;
  }

  /* Botão fechar */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 20px;
    cursor: pointer;
    color: #222;
    user-select: none;
  }
  .close-btn:hover {
    background: white;
  }

  @media (max-width: 600px) {
    .gallery img {
      height: 120px;
    }
  }
   


.contato{
  justify-self: center;
}


  .contact-form {
    max-width: 600px;
    width: 100%;
    padding: 20px;
  }

  .contact-form h1 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .form-row {
    display: flex;
    gap: 20px;
  }

  .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  label {
    margin-bottom: 5px;
    font-size: 14px;
    margin-top: 3%;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    border: none;
    border-bottom: 2px solid #002840;
    padding: 10px 5px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #002840;
  }

  textarea {
    resize: vertical;
    min-height: 80px;
  }

  .submit-btn {
    margin-top: 40px;
  }

  #button-email {
    background: #002840;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  #button-email:hover {
    background: #001d2b;
  }

  @media (max-width: 600px) {
    .form-row {
      flex-direction: column;
    }
  }

  /* Tablet */
@media (max-width: 1024px) {
  :root {
    --FONT-H1: 28pt;
    --FONT-H3: 16pt;
    --FONT-P: 12pt;
  }

  .hero {
    height: 50vh;
  }

  .hero-content {
    left: 10%;
    top: 40%;
  }

  .hero-content .content {
    max-width: 80%;
    padding: 15px;
  }

  .box-text-description-iptu {
    position: static;
    margin: 20px auto 0 auto;
    width: 80%;
  }
}

/* Celular */
@media (max-width: 600px) {
  :root {
    --FONT-H1: 20pt;
    --FONT-H3: 14pt;
    --FONT-P: 12pt;
  }

  .hero {
    height: 40vh;
  }

  .hero-content {
    position: static;
    transform: none;
    margin-top: -50px;
    padding: 0 10px;
  }

  .hero-content .content {
    max-width: 100%;
    padding: 15px;
  }

  .box-tittle-name {
    margin-top: 20px;
  }

  .box-text-description {
    margin: 20px 0;
  }

  .box-text-description-iptu {
    position: static;
    margin: 10px auto 0 auto;
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  .box-text-description h3{
    font-size: var(--FONT-H3-MOBILE);
  }
}

@media (max-width: 1024px) {
  .content-primary {
    display: block;
    height: auto;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .content-primary .box {
    width: 100%;
  }

  .content-primary .box.price {
    padding-top: 30px;
  }

  .content-about{
    margin-top: 20%;
  }

  .content-secundary{
    height: 100%;
  }

  .prev, .next {

    top: 20%;
  }

  .content-terciary h2{
    padding-top: 20%;
  }

  .content-terciary h2{
    font-size: var(--FONT-H2-MOBILE);
  }
  .content-about h2{
    font-size: var(--FONT-H2-MOBILE);
  }

  .hero-content{
    display: none;
  }
  .box-dados-mobile{
    display: block;
    color: var(--COLOR-TEXT-MAIN);
  }
}


@media (max-width: 600px) {
  .content-primary {
    display: block;
    height: auto;
    text-align: center;
    padding: 0 20px;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .content-primary .box {
    width: 100%;
  }

  .content-primary .box.price {
    padding-top: 20px;
  }

  .value-price {
    font-size: 18pt;
    padding: 5px 20px;
  }
}

.slider {
  display: flex; /* SEMPRE row! */
  transition: transform 0.5s ease;
  width: 100%;
  height: 350px;
}

.slide {
  display: flex;
  min-width: 100%;
  box-sizing: border-box;
}


/* === TABLET === */
@media (max-width: 1024px) {
  .slider-container {
    width: 95%;
    height: auto;
  }

  .slider {
    height: auto;
  }

  .slide {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    height: auto;
  }

  .slide img {
    width: 50%;
    height: auto;
  }

  .slide-content {
    width: 50%;
    padding: 20px;
  }
}

/* === CELULAR === */
@media (max-width: 600px) {
  .slider-container {
    width: 100%;
    height: auto;
  }

  .slider {
    height: auto;
  }

  .slide {
    flex-direction: column;
    height: auto;
  }

  .slide img {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .slide-content {
    width: 100%;
    padding: 15px;
    position: static; /* ESSENCIAL! */
  }

  .icons {
    position: static;
    margin-top: 20px;
  }
}
