/* ==========================================================
   ESTILOS COMPLEMENTARES: MORAES SARMENTO (dvlpr.pro style)
   ========================================================== */

:root {
  --bg-color: #000000;
  --text-main: #f0f8ff; /* aliceblue */
  --text-muted: #9ca3af;
  --accent-purple: #9c27b0;
  --accent-orange: #f4a949;
  --accent-blue: #1c5f9a;
  --accent-green: #9ae17b;
  --font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  height: 100%;
  width: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Canvas Three.js */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Container Fullpage */
.fullpage_container {
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 1;
  overflow: hidden;
  touch-action: none;
}

.section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 1.1s cubic-bezier(0.88, 0, 0.265, 1), opacity 0.8s ease, visibility 1.1s;
  pointer-events: none;
  overflow: hidden;
}

.section.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.section.previous {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.innerin {
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .innerin {
    padding: 0 20px;
  }
}

/* ==================== OVERLAYS LATERAIS ==================== */
.overlay_sides {
  position: fixed;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  z-index: 100;
  pointer-events: none;
}

.overlay_sides a,
.overlay_sides button,
.overlay_sides li,
.overlay_sides .scroll_action {
  pointer-events: auto;
}

.overlay_sides_left {
  left: 0;
  align-items: flex-start;
}

.overlay_sides_right {
  right: 0;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .overlay_sides {
    padding: 20px 15px;
  }
  .overlay_sides_left {
    top: 0;
    bottom: auto;
    right: 0;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  }
  .social_links_left {
    display: flex;
    gap: 15px;
  }
}

/* Logo */
.logo_link {
  text-decoration: none;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo h1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.logo:hover h1 {
  color: var(--accent-orange);
}

.blinkit {
  animation: blinkCursor 1s infinite step-start;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Redes Sociais Esquerda */
.social_links_left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social_icon {
  color: #f0f8ff;
  opacity: 0.75;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social_icon:hover {
  opacity: 1;
  color: var(--accent-orange);
  transform: translateY(-3px) scale(1.1);
}

/* Botão Contato */
.btn_light {
  background: transparent;
  border: 2px solid #f0f8ff;
  border-radius: 6px;
  color: #f0f8ff;
  cursor: pointer;
  display: block;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 24px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn_light:hover {
  background-color: #f0f8ff;
  color: #000000;
  box-shadow: 0 0 20px rgba(240, 248, 255, 0.4);
}

/* Navegação Numérica 00-04 */
.nav__wrapper {
  margin: auto 0;
}

#side_nav {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
  text-align: right;
}

#side_nav li {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

#side_nav li a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(240, 248, 255, 0.35);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  padding-right: 18px;
  display: inline-block;
}

#side_nav li:hover a {
  color: rgba(240, 248, 255, 0.8);
}

#side_nav li.active a {
  color: var(--accent-orange);
  font-weight: 700;
  transform: scale(1.15);
}

#side_nav .line {
  position: absolute;
  right: 0;
  top: 6px;
  width: 2px;
  height: 18px;
  background-color: var(--accent-orange);
  transition: top 0.4s cubic-bezier(0.88, 0, 0.265, 1);
}

/* Scroll Action Button */
.scroll_action {
  cursor: pointer;
}

.btn_down {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #f0f8ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn_down svg {
  animation: bounceDown 1.8s infinite;
  transition: transform 0.4s ease;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

.btn_down.is_top svg {
  animation: bounceUp 1.8s infinite;
  transform: rotate(180deg);
}

@keyframes bounceUp {
  0%, 20%, 50%, 80%, 100% { transform: rotate(180deg) translateY(0); }
  40% { transform: rotate(180deg) translateY(-8px); }
  60% { transform: rotate(180deg) translateY(-4px); }
}

/* ==================== ANIMAÇÃO RUBBERBAND ==================== */
.rubber-char {
  display: inline-block;
  cursor: default;
  transition: color 0.3s ease;
}

.rubber-char.space {
  padding-right: 14px;
}

.rubber-char:hover {
  animation: rubberBand 0.9s both;
  color: var(--accent-orange) !important;
}

@keyframes rubberBand {
  from { transform: scale3d(1, 1, 1); }
  30% { transform: scale3d(1.25, 0.75, 1); }
  40% { transform: scale3d(0.75, 1.25, 1); }
  50% { transform: scale3d(1.15, 0.85, 1); }
  65% { transform: scale3d(0.95, 1.05, 1); }
  75% { transform: scale3d(1.05, 0.95, 1); }
  to { transform: scale3d(1, 1, 1); }
}

/* ==================== ANIMAÇÕES 3D FLUTUAÇÃO ==================== */
.float-anim {
  animation: floatSimple 5s ease-in-out infinite;
}

.float-anim-slow {
  animation: floatSimple 8s ease-in-out infinite alternate;
}

.float-anim-fast {
  animation: floatSimple 4s ease-in-out infinite reverse;
}

@keyframes floatSimple {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ==================== SEÇÃO 00: HERO ==================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 70vh;
}

.hero_cont {
  max-width: 580px;
  position: relative;
  z-index: 5;
}

.hero_cont h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero_blurb {
  font-size: 19px;
  line-height: 1.6;
  color: #c0c4cc;
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 520px;
}

.hero_cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero_cta svg {
  transition: transform 0.3s ease;
}

.hero_cta:hover {
  color: var(--accent-orange);
}

.hero_cta:hover svg {
  transform: translateY(6px);
}

.hero_graphic {
  position: relative;
  width: 480px;
  height: auto;
  z-index: 4;
}

.isometric_pc {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  animation: pcFloat 6s ease-in-out infinite;
}

@keyframes pcFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

.purple_romb1 {
  position: absolute;
  top: 10%;
  right: 42%;
  width: 90px;
  z-index: 2;
  opacity: 0.85;
}

.dots_decor {
  position: absolute;
  left: -80px;
  top: 15%;
  opacity: 0.35;
  pointer-events: none;
}

/* ==================== SEÇÃO 01: ABOUT ==================== */
.about_section {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.about_me h1, .about_me.font-60 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 12px;
}

.about_tagline {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-orange);
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.about_info {
  font-size: 19px;
  line-height: 1.7;
  color: #d1d5db;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 750px;
  position: relative;
  z-index: 5;
}

.about_info strong {
  color: var(--accent-orange);
}

.watermark_initial {
  position: absolute;
  right: -5%;
  bottom: -20%;
  font-size: 280px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  user-select: none;
  pointer-events: none;
  letter-spacing: -10px;
  z-index: 1;
}

.dark_cube2 {
  position: absolute;
  top: -60px;
  right: 15%;
  width: 100px;
  opacity: 0.75;
}

.purple_romb2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 80px;
  opacity: 0.85;
}

/* ==================== SEÇÃO 02: SKILLS ==================== */
.skills_section {
  max-width: 1000px;
  margin: 0 auto;
}

.skills_section h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-purple);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.skills_section h1 {
  font-size: 56px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
}

.skills_section p {
  font-size: 18px;
  line-height: 1.6;
  color: #c9ccd4;
  margin-bottom: 14px;
  max-width: 850px;
}

.skills_section p a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border 0.3s ease;
}

.skills_section p a:hover {
  border-bottom-color: var(--accent-orange);
}

.skills_brands {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 45px;
  justify-content: flex-start;
}

.skill_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.skill_card svg {
  width: 54px;
  height: 54px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.skill_card p {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
  text-align: center;
}

.skill_card:hover {
  transform: translateY(-8px) scale(1.1);
}

.skill_card:hover svg {
  filter: drop-shadow(0 8px 18px rgba(244, 169, 73, 0.4));
}

.skill_card:hover p {
  color: var(--accent-orange);
}

/* ==================== SEÇÃO 03: PORTFOLIO ==================== */
.portfolio_slider_wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.88, 0, 0.265, 1);
  pointer-events: none;
}

.portfolio_slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 5;
}

.sphere_lg {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 220px;
  opacity: 0.7;
  pointer-events: none;
}

.sphere_md {
  position: absolute;
  left: 5%;
  bottom: 8%;
  width: 130px;
  opacity: 0.8;
  pointer-events: none;
}

.sphere_sm {
  position: absolute;
  left: 30%;
  top: 12%;
  width: 60px;
  opacity: 0.85;
  pointer-events: none;
}

.crwn_proj {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  position: relative;
}

.crwn_proj h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.crwn_proj h1 {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 18px;
}

.macbook_mockup {
  position: relative;
  flex: 1 1 500px;
  max-width: 580px;
}

.macbook_mockup img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.9));
}

.view_proj {
  display: flex;
  gap: 25px;
  margin-top: 25px;
}

.view_proj a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.view_proj a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.dark_cube1 {
  position: absolute;
  top: -60px;
  left: -40px;
  width: 90px;
  opacity: 0.7;
}

.dark_romb {
  position: absolute;
  bottom: -30px;
  left: 30%;
  width: 70px;
  opacity: 0.75;
}

.white_cube2 {
  position: absolute;
  top: 20%;
  right: -20px;
  width: 65px;
  opacity: 0.8;
}

/* Slider Controls */
.slider_controls {
  position: absolute;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.slide_nav_btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide_nav_btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #000000;
  transform: scale(1.1);
}

.slide_dots {
  display: flex;
  gap: 10px;
}

.slide_dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide_dot.active {
  background: var(--accent-orange);
  transform: scale(1.3);
}

/* ==================== SEÇÃO 04: CONTACT ==================== */
.contact_section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.contact_cont {
  max-width: 580px;
  z-index: 5;
}

.cont_cont_wrap p {
  font-size: 22px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 600;
}

.cont_cont_wrap div {
  font-size: 18px;
  line-height: 1.6;
  color: #c9ccd4;
  margin-bottom: 25px;
}

.domain_badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(244, 169, 73, 0.15);
  border: 1px solid rgba(244, 169, 73, 0.4);
  border-radius: 20px;
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.contact_details h1 a {
  font-size: 38px;
  font-weight: 900;
  color: #f0f8ff;
  text-decoration: none;
  transition: color 0.4s ease;
  word-break: break-all;
}

.contact_details h1 a:hover {
  color: var(--accent-orange);
}

.whatsapp_highlight {
  display: inline-block;
  color: var(--accent-green) !important;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
  transition: all 0.3s ease;
}

.whatsapp_highlight:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(154, 225, 123, 0.6);
}

.white_cube1 {
  position: absolute;
  top: 10%;
  left: -40px;
  width: 100px;
  opacity: 0.75;
}

/* Container do Globo 3D */
.mobile_globe {
  width: 480px;
  height: 480px;
  position: relative;
  z-index: 4;
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .hero_cont {
    max-width: 100%;
  }
  .hero_cont h1 {
    font-size: 46px;
  }
  .hero_graphic {
    width: 320px;
    margin-top: 30px;
  }
  .crwn_proj {
    flex-direction: column;
    text-align: center;
  }
  .crwn_proj h1 {
    font-size: 38px;
  }
  .view_proj {
    justify-content: center;
  }
  .macbook_mockup {
    max-width: 380px;
  }
  .contact_section {
    flex-direction: column;
    text-align: center;
  }
  .mobile_globe {
    width: 320px;
    height: 320px;
    margin-top: 20px;
  }
  .contact_details h1 a {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero_cont h1 {
    font-size: 34px;
  }
  .hero_blurb {
    font-size: 16px;
  }
  .about_me h1, .about_me.font-60 {
    font-size: 34px;
  }
  .skills_section h1 {
    font-size: 34px;
  }
  .overlay_sides_right {
    display: none;
  }
}
