@charset "utf-8";

/* =========================================================
   RESET + VARIÁVEIS
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-red: #ff003c; /* Vermelho vivo DFOR */
  --color-dark: #111;
  --color-gray: #666;
  --font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width-card: 480px;
}

html,
body {
  height: 100%;
  font-family: var(--font-stack);
  overflow-x: hidden; /* Evita scroll horizontal em mobile */
}

/* =========================================================
   LINKS
   ========================================================= */
.link {
  text-decoration: none;
  font-family: var(--font-stack);
  color: #000;
}

.link:hover {
  color: #f41046 !important;
}

/* =========================================================
   BACKGROUND
   ========================================================= */
.bg-layer {
  position: fixed;
  inset: 0;
  background-image: url("fundo_.png");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

/* Overlay (se quiser ativar no futuro, descomente)
.overlay-layer {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: -2;
}
*/

/* =========================================================
   CONTAINER PRINCIPAL
   ========================================================= */
.viewport-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

/* =========================================================
   HERO / BLOCO CENTRAL (ENTRADA)
   ========================================================= */
.hero-wrap {
  width: 100%;
  max-width: var(--max-width-card);
  display: flex;
  flex-direction: column;
  align-items: center;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-wrap.is-ready {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   LOGO AREA + SOBREPOSIÇÕES
   ========================================================= */
.logo-area {
  position: relative;
  width: 100%;
  z-index: 10;
}

/* Logo DFOR (base do topo) */
.img-dfor {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

/* Rosto (camada do meio) */
.img-face {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  z-index: 2;
  pointer-events: none;
}

/* Selo (camada superior) */
.img-seal {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 35%;
  z-index: 3;
  animation: rotateSeal 20s linear infinite;
}

@keyframes rotateSeal {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   CARD CENTRAL
   ========================================================= */
.card-container {
  position: relative;
  width: 100%;

  /* Fundo usando asset png */
  background-image: url("bloco_branco.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;

  margin: 12px 0 0 0;
  padding: 40px;

  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* =========================================================
   TIPOGRAFIA / TÍTULOS
   ========================================================= */
.card-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* Faixa vermelha */
.highlight-box {
  background-color: var(--color-red);
  color: #fff;
  padding: 8px 15px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  line-height: 1.1;
  margin-bottom: 30px;

  transform: skew(-2deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.highlight-box span {
  display: block;
  transform: skew(2deg);
}

/* =========================================================
   FORM / INPUTS
   ========================================================= */
.form-group {
  width: 100%;
  margin-bottom: 25px;
}

.input-field {
  width: 100%;
  height: 50px;

  background: transparent;
  border: 2px solid var(--color-red);
  border-radius: 6px;

  margin-bottom: 12px;
  padding: 12px 0 0 0;

  font-size: 1rem;
  text-align: center;

  outline: none;
  transition: box-shadow 0.3s, background 0.3s;
}

.input-field:focus {
  box-shadow: 0 0 0 3px rgba(255, 0, 60, 0.2);
  background: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   ÍCONES SOCIAIS
   ========================================================= */
.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  padding: 0 0 25px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon {
  width: 34px;
  height: 34px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.15s ease, filter 0.15s ease;
}

/* Ajuste os caminhos conforme sua pasta de assets */
.icon-linkedin {
  background-image: url("linkedin_samir.png");
}
.icon-youtube {
  background-image: url("youtube_samir.png");
}
.icon-behance {
  background-image: url("behance_samir.png");
}

.social-link:hover .social-icon {
  transform: scale(1.06);
  filter: brightness(0) saturate(100%) invert(16%) sepia(93%) saturate(5200%)
    hue-rotate(340deg) brightness(99%) contrast(106%);
}

/* =========================================================
   RODAPÉ INTERNO DO CARD
   ========================================================= */
.card-footer-text {
  width: 100%;
  text-align: left;
  font-size: 0.75rem;
  margin: 0;
  color: var(--color-gray);
  line-height: 1.4;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 15px;
}

/* =========================================================
   RODAPÉ DA PÁGINA
   ========================================================= */
.page-footer {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 10px;

  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;

  z-index: 20;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 600px) {
  .viewport-wrapper {
    padding: 40px 20px;
  }

  .logo-area {
    width: 100%;
  }

  .card-container {
    padding: 50px 25px 30px 25px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .highlight-box {
    font-size: 0.95rem;
  }

  .page-footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 30px;
    text-align: center;
  }
}
@media (max-width: 450px){
	 .logo-area {
    width: 90%;
  }

  .card-container {
    padding: 50px 25px 30px 25px;
	margin: 8px 0 0 0;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .highlight-box {
    font-size: 0.95rem;
  }

  .page-footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 30px;
    text-align: center;
}
