
body {
    padding: 0;
    margin: 0;
}
@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/avenir-next-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Burnest';
    src: url('fonts/burnest-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Avenir Next', Arial, sans-serif !important;
    color: #4c6363 !important;
    background-color: #f5f0e7;
    overflow-x: hidden;
}

h1, .titulo {
    font-family: 'Burnest', sans-serif;
}

#video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.overlay {
    position: relative;
    width: 100% !important;
    z-index: 2;
    color: white;
    background-color: rgba(0, 0, 0, .3);
}


#video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

section article#principal {
    display: flex;
    justify-content: center;
}

section {
    border-bottom: 25px solid #233838;
}

section article#principal div {
    width: 50vw;
    height: 1000px;
}

#nano img {
    margin-top: 50px;
    margin-left: 50px;
}

.content {
    height: auto;
    padding: 140px 120px 0;
}

h1 {
    font-size: 70px !important;
    width: 600px;
    max-width: 100%;
}

.content p {
    width: 500px;
    font-size: 22px;
    max-width: 100%;
}

.container {
    width: 1400px;
    margin: auto;
    max-width: 99%;
}

#secundario {
    text-align: center;
}

.img-responsive {
    display: block;
    height: auto;
    z-index: 9;
}

#secundario h2 {
    font-size: 48px;
    letter-spacing: 4px;
    margin-bottom: 0;
    font-weight: 300;
}

#secundario p {
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 16px;
    margin-top: 0;
}

.social h3 {
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 50px;
}

.social {
    padding-bottom: 50px;
}

.social a {
    color: #4c6363;
    text-decoration: none;
    letter-spacing: 5px;
}

@media (max-width: 1600px) {
    h1 {
        font-size: 70px !important;
    }

    .content {
        padding-top: 100px;

    }

    #nano img {
        width: 200px;
    }

    section article#principal div {
        height: 850px;
    }
}
@media (max-width: 991px) {
    section article#principal {
        display: block;
    }
    
    section article#principal div#nano,
    section article#principal div#video{
        width: 100%;
        max-width: 100%;
    }
    section article#principal div#nano {
        height: 540px;
    }

    .img-responsive {
        margin-top: -200px;
    }
    section article#principal div#nano .content {
        max-width: 100%;
        padding: 50px 10px;
        width: 99%;

    }
    h1 {
        font-size: 50px !important;
    }
    h2 {
        font-size: 30px;
    }
    #secundario p {
        letter-spacing: 3px;
    }
}

.img-loading {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    animation: revealTop 2.5s ease-out forwards;
}

@keyframes revealTop {
    0% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}


#form {
    padding: 50px 0;
    background-color: #4c6363;
    color: #fff;
}

#form h2 {
    font-weight: 500;
    font-family: 'Burnest', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

/* ===== Form layout (igual ao print no desktop) ===== */
#formulario .row{
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;               /* espaço entre os campos */
  align-items: flex-end;
}

/* por padrão (desktop): 3 colunas */
#formulario .col-sm-12{
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 calc(33.333% - 14px);
  min-width: 220px;        /* evita quebrar cedo demais */
}

/* Labels (você pode esconder se quiser só placeholder como no print) */
#formulario label{
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

/* Inputs */
#formulario .form-control{
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  box-sizing: border-box;
  outline: none;
}

#formulario .form-control:focus{
  border-color: #9a9a9a;
}

/* ===== Linha da checkbox e do botão: sempre 100% ===== */
#formulario .col-sm-12:has(#checkAccept),
#formulario .col-sm-12:has(#submitButton){
  flex: 0 0 100%;
  max-width: 100%;
}

/* Checkbox (fica em linha, como no print) */
#checkAccept{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px !important;
  margin-top: 2px;
  font-weight: 300 !important;
  font-style: italic;
  opacity: .8;
}

#checkAccept input[type="checkbox"]{
  width: 14px;
  height: 14px;
  margin: 0;
}

/* Botão */
#submitButton{
  display: inline-block;
  width: auto;            /* no desktop fica “menor”, como no print */
  min-width: 180px;
  height: 42px;
  padding: 0 18px;
  border-radius: 2px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  background-color: #233838;
  margin: 15px auto 0;
  letter-spacing: 1px;
}

/* ===== Mobile: 1 por linha ===== */
@media (max-width: 768px){
  #formulario .row{
    gap: 12px;
  }

  #formulario .col-sm-12{
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
  }

  #submitButton{
    width: 100%;          /* no mobile o botão vira full */
    min-width: 0;
  }
}