/* ============================
   FONTES LOCAIS
   ============================ */
@font-face {
  font-family: 'Amil Typeface';
  src: url('assets/fonts/AmilTypeface-Regular.woff2') format('woff2'),
       url('assets/fonts/AmilTypeface-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Amil Typeface';
  src: url('assets/fonts/AmilTypeface-Italic.woff2') format('woff2'),
       url('assets/fonts/AmilTypeface-Italic.woff')  format('woff');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Amil Typeface';
  src: url('assets/fonts/AmilTypeface-Bold.woff2') format('woff2'),
       url('assets/fonts/AmilTypeface-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'big-city-grotesque', 'Amil Typeface', 'Lato', sans-serif;
  background-image: url('assets/images/Content.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================
   LAYOUT PRINCIPAL
   ============================ */
.tapume {
  display: flex;
  height: 100vh;
  width: 100vw;
  padding: 0 0 0 22px;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

/* ============================
   PAINEL ESQUERDO — BEGE
   ============================ */
.tapume__left {
  flex: 0 0 560px;
  width: 560px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 48px 56px 48px 240px;
  position: relative;
  z-index: 2;
  overflow: visible;
  flex-shrink: 0;
}


.tapume__content {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* LOGO */
.tapume__logo {
  margin-bottom: 4px;
}

.tapume__logo img {
  max-height: 52px;
  width: auto;
}

/* HEADLINE */
.tapume__headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.tapume__eyebrow {
  font-family: 'big-city-grotesque', 'Nunito', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  color: #6B5B4E;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.tapume__title {
  font-family: 'big-city-grotesque', 'Nunito', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 48px;
  line-height: 1.05;
  color: #B48556;
}

/* DIVIDER DECORATIVO */
.tapume__divider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.tapume__divider-line {
  flex: 1;
  height: 1px;
  background-color: #9B8B79;
  max-width: 60px;
}

.tapume__divider-icon {
  font-size: 7px;
  color: #9B8B79;
  line-height: 1;
}

/* SUBTITLE */
.tapume__subtitle {
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 2px;
  color: #000000;
  text-transform: uppercase;
  line-height: 1.8;
  border-left: 3px solid #B48556;
  padding-left: 14px;
}

/* ENDEREÇO */
.tapume__address {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tapume__address-icon {
  width: 14px;
  height: auto;
  flex-shrink: 0;
}

.tapume__address-text {
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #6B5B4E;
  text-transform: uppercase;
}

/* PRÉ-FORMULÁRIO */
.tapume__form-intro {
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 1px;
  color: #4B300E;
  line-height: 1.7;
}

/* FORM */
.tapume__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.tapume__input {
  width: 90%;
  padding: 9px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #B8A898;
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #2C2018;
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.tapume__input::placeholder {
  color: #A89080;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 10px;
}

.tapume__input:focus {
  border-bottom-color: #3B2A1A;
}

.tapume__input--invalid {
  border-bottom-color: #C0392B;
}

.tapume__input-error {
  display: block;
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-size: 10px;
  color: #C0392B;
  margin-top: 3px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

/* CHECKBOX */
.tapume__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  margin-top: 14px;
}

.tapume__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: 1px solid #B8A898;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 0.2s ease;
}

.tapume__checkbox:checked {
  background-color: #B48556;
  border-color: #B48556;
}

.tapume__checkbox-text {
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #6B5B4E;
  line-height: 1.5;
}

.tapume__privacy-link {
  color: #6B5B4E;
  text-decoration: underline;
}

.tapume__privacy-link:hover {
  color: #B48556;
}

.tapume__btn {
  width: 90%;
  padding: 14px;
  min-height: 44px;
  margin-top: 20px;
  background-color: #B48556;
  color: #FFFFFF;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.tapume__btn:hover,
.tapume__btn:active {
  background-color: #9A6E42;
}

/* ============================
   PAINEL DIREITO — IMAGEM REGIÃO
   ============================ */

.tapume__right-logos {
  position: fixed;
  bottom: 32px;
  right: 340px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 32px;
  pointer-events: none;
  z-index: 10;
}

.tapume__right-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tapume__right-logo-label {
  font-family: 'big-city-grotesque', 'Lato', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 1;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.tapume__right-logo {
  max-height: 28px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  opacity: 1;
}

/* ============================
   ÍCONE — controle desktop/mobile
   ============================ */
.tapume__address-icon--mobile { display: none; }
.tapume__address-icon--desktop { display: block; }

/* ============================
   MOBILE
   ============================ */
@media (max-width: 735px) {

  html {
    height: 100%;
    overflow-x: hidden;
  }

  body {
    background-image: none;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
  }

  .tapume {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    width: 100%;
    padding: 0;
    overflow: visible;
    background-image: url('assets/images/Content-mobile.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
  }

  .tapume__left {
    flex: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
  }

  .tapume__content {
    max-width: 100%;
    width: 100%;
    height: 100%;
    gap: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ÁREA AZUL — headline, subtitle, endereço — centralizado, branco */
  .tapume__headline {
    text-align: center;
    padding: 7vh 32px 0;
    width: 100%;
  }

  .tapume__eyebrow {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
  }

  .tapume__title {
    color: #ffffff;
    font-weight: 700;
    font-size: 38px;
    text-align: center;
  }

  .tapume__subtitle {
    color: #ffffff;
    border-left: none;
    padding-left: 0;
    font-size: 16px;
    text-align: center;
    width: auto;
    margin-top: -8px;
    margin-bottom: -8px;
  }

  .tapume__address-icon--desktop { display: none; }
  .tapume__address-icon--mobile  { display: block; }

  .tapume__address-text {
    color: #ffffff;
  }

  /* ÁREA CLARA — form-section sempre no fundo (área clara da imagem) */
  .tapume__form-section {
    width: 100%;
    background: transparent;
    margin-top: auto;
    padding: 48px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .tapume__form-intro {
    color: #4B300E;
    font-size: 14px;
    margin-top: 24px;
    margin-bottom: 0;
    text-align: center;
  }

  /* FORM */
  .tapume__form {
    margin-top: 16px;
  }

  .tapume__input {
    width: 100%;
    color: #2C2018;
    border-bottom-color: #B8A898;
  }

  .tapume__input::placeholder {
    color: #A89080;
  }

  .tapume__input:focus {
    border-bottom-color: #3B2A1A;
  }

  .tapume__checkbox-text {
    color: #6B5B4E;
  }

  .tapume__privacy-link {
    color: #6B5B4E;
  }

  .tapume__btn {
    width: 100%;
  }

  /* LOGOS */
  .tapume__right-logos {
    position: static;
    bottom: auto;
    right: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 28px;
    padding: 0;
    width: 100%;
    background: transparent;
    margin-top: 17vh;
    margin-bottom: 16px;
    pointer-events: auto;
    z-index: auto;
  }

  .tapume__right-logo-label {
    color: #ffffff;
    text-shadow: none;
    font-size: 5px;
  }

  .tapume__right-logo {
    filter: brightness(0) invert(1);
    opacity: 1;
  }
}

