@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* VARIÁVEIS */
:root {
  --primary-color: #7A7B91;
  --text-color: #111;
  --bg-color: #f2f2f2;
  --dark-bg: #EDEDED;
  --light-gray: #bbb;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  font-size: 0.9rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 10;
}

.header.scrolled {
   box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.header a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s;
}

.header a:hover, .header a:focus {
  color: var(--primary-color);
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  background: url("../assets/images/portrait.jpg") center center / cover no-repeat;
  filter: grayscale(100%);
}

.hero-text {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  color: #fff;
  text-align: right;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.hero-text h2 {
  font-weight: 400;
  margin-top: 1rem;
  font-size: 1.2rem;
}

.hero-text h3 {
  font-weight: 300;
  font-size: 1rem;
  opacity: 0.9;
}

.highlight {
  color: var(--primary-color);
}

.socials {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.socials a {
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--primary-color);
}

/* INTRO */
.intro {
  background: var(--dark-bg);
  color: #363636;
  padding: 5rem 10%;
}

.intro h3 {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.intro-text p {
  font-size: 1rem;
  max-width: 800px;
  margin-bottom: 1.2rem;
}

.intro-text .sub {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-top: 2rem;
}

/* SEÇÕES GERAIS */
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

.section-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 3rem;
}

/* LAYOUT ESPECÍFICO */

/* GRASSHOPPER */
.section.grasshopper.left {
  justify-content: flex-start;
  align-items: flex-end;
  text-align: left;
  padding: 5rem 10%;
}

.section.grasshopper.right {
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  padding: 5rem 10%;
}

/* 3D */
.section.three-d.left {
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding: 5rem 10%;
}

.section.three-d.right {
  justify-content: flex-end;
  align-items: flex-start;
  text-align: right;
  padding: 5rem 10%;
}

/* MARKETING */
.section.marketing.left {
  justify-content: flex-end;
  align-items: flex-start;
  text-align: right;
  padding: 5rem 10%;
}

.section.marketing.right {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 10%;
}

/* FOOTER FIXO */
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.footer-bar a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .hero {
    height: 80vh;
  }

  .hero-text {
    right: 5%;
    text-align: right;
  }

  .section {
    height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .section-content {
    padding: 2rem;
    font-size: 0.9rem;
  }

  .section-bg {
    background-position: center center;
    background-size: cover;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 0.3rem;
  }
}
