/* ===================================================================
   Variáveis e fontes
=================================================================== */
:root {
  --vermelho: #D8112D;
  --branco: #ffffff;
  --preto: #000000;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'funnel_displayextrabold';
  src: url('../fontes/funneldisplay-extrabold-webfont.woff2') format('woff2'),
       url('../fontes/funneldisplay-extrabold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ===================================================================
   Base
=================================================================== */
html, body {
  overflow-x: hidden; /* evita rolagem horizontal em telas pequenas */
}

body {
  color: var(--branco);
  font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'funnel_displayextrabold';
  text-transform: uppercase;
}

h1 {
  color: var(--vermelho);
  font-size: 32px;
}

p {
  font-size: 16px;
  font-weight: bold;
}

hr {
  height: 2px;
  width: 100%;
  display: block;
  border: none;
  background: var(--vermelho);
  margin-top: 28px;
  margin-bottom: 28px;
}

/* ===================================================================
   Vídeo de fundo
=================================================================== */
#background-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1; /* mantém o vídeo atrás do conteúdo */
  object-fit: cover; /* preenche a tela sem distorcer, em qualquer tamanho */
}

/* ===================================================================
   Layout principal (hero)
=================================================================== */
.hero-row {
  min-height: 100vh;
}

.preta {
  background: rgba(0, 0, 0, 0.7);
  min-height: 100vh; /* min-height em vez de height: acompanha o conteúdo sem cortar nada */
  padding: 40px 0;
}

.conteudo {
  width: 90%;
  max-width: 480px;
}

.logotipo img {
  width: auto;
  max-width: 100%;
}

.logotipo-mobile {
  width: 220px;
  max-width: 60%;
  margin-bottom: 32px;
}

/* ===================================================================
   Formulário
=================================================================== */
form {
  margin: 16px auto;
}

form label {
  display: none;
}

form input[type='text'],
form input[type='email'],
form input[type='tel'] {
  background: transparent;
  border-radius: 8px;
  border: 1px solid var(--vermelho);
  color: var(--branco);
  display: block;
  padding: 12px 24px;
  width: 100%;
  margin-bottom: 16px;
}

form input[type='text']:focus,
form input[type='email']:focus,
form input[type='tel']:focus {
  background: transparent;
  border: 1px solid var(--branco);
  color: var(--branco);
}

form input.form-control::placeholder {
  color: var(--vermelho);
  font-size: 16px;
}

form input[type='text']:focus.form-control::placeholder,
form input[type='email']:focus.form-control::placeholder,
form input[type='tel']:focus.form-control::placeholder {
  color: var(--branco);
}

input[type='submit'],
button[type='submit'] {
  border-radius: 8px;
  background: var(--branco);
  font-family: 'funnel_displayextrabold';
  border: none;
  color: var(--vermelho);
  display: block;
  padding: 10px 24px;
  width: 100%;
  font-size: 20px;
}

button[type='submit']:hover {
  color: var(--branco);
  background: var(--vermelho);
}

.valid-feedback {
  font-size: 16px;
  margin-bottom: 8px;
}

/* ===================================================================
   Links (localização / agenda / redes sociais)
=================================================================== */
a.btn-ghost {
  display: inline-block;
  border: 1px solid var(--vermelho);
  margin-right: 16px;
  margin-bottom: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  min-width: 160px;
  text-align: center;
  text-decoration: none;
  color: var(--branco);
  font-size: 13px;
}

.redes a {
  display: inline-block;
  color: var(--branco);
  margin-right: 24px;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 13px;
}

.redes a img {
  width: 18px;
  margin-right: 6px;
}

/* ===================================================================
   Modal
=================================================================== */
.modal-backdrop {
  z-index: 0 !important;
}

.modal-content {
  background: var(--vermelho);
  color: var(--branco);
  padding: 16px 24px;
  position: relative;
  min-height: 380px;
  overflow: none; /* impede que o disco.png rompa a tela e cause rolagem lateral */
}

.modal-content h1,
.modal-content h2 {
  text-transform: initial;
  color: var(--branco);
}

.modal-content h1 { font-size: 28px; }
.modal-content h2 { font-size: 22px; }
.modal-content p { font-size: 16px; }

.modal-header {
  border: none !important;
}

span.disco {
  position: absolute;
    top: -100px;
    right: 50px;
    z-index: -9;
    max-width: 100%;
}

span.disco img {
  max-width: 100%;
  height: auto;
}

/* ===================================================================
   Breakpoints (mobile-first, seguindo o grid do Bootstrap)
=================================================================== */

/* Tablets (>= 576px) */
@media (min-width: 576px) {
  .conteudo {
    max-width: 520px;
  }
}

/* Tablets grandes / desktops pequenos (>= 768px) */
@media (min-width: 768px) {
  .conteudo {
    width: 85%;
    max-width: 560px;
  }

  h1 {
    font-size: 40px;
  }
}

/* Desktop (>= 992px): a partir daqui a coluna com o logo grande aparece
   (ver classes d-none / d-lg-flex no HTML) */
@media (min-width: 992px) {
  .conteudo {
    width: 60%;
    max-width: 480px;
  }

  h1 {
    font-size: 48px;
  }

  .logotipo img {
    min-width: 320px;
    max-width: 80%;
  }
}

/* Telas grandes (>= 1400px) */
@media (min-width: 1400px) {
  .conteudo {
    max-width: 520px;
  }
}
