html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #e8e6e3;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: #3a3a38;
  color: #fff;
}

.page {
  min-height: 100vh;
  background: #0a0a0a;
  position: relative;
}

/* ---------- Reveal animations ---------- */

@keyframes cc-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes cc-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cc-line {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.cc-reveal { opacity: 0; }
.cc-reveal.cc-in { animation: cc-rise 1s cubic-bezier(.16,.84,.44,1) forwards; }

.cc-h {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #8e8b86;
}

.eyebrow--left { justify-content: flex-start; }

.rule {
  display: block;
  width: 28px;
  height: 1px;
  background: #55524e;
}

.rule--wide { width: 40px; }

/* Hero-specific eyebrow tone (lighter on photo) */
.hero .eyebrow, .hero .eyebrow .rule {
  color: #a8a5a0;
}
.hero .rule { background: #6a6762; }

.section {
  position: relative;
  padding: clamp(100px, 14vh, 180px) clamp(20px, 6vw, 96px);
  background: #0c0c0b;
  border-top: 1px solid rgba(255,255,255,.05);
}

.section-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(8,8,8,0);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background .5s ease, border-color .5s ease;
}

.site-header.scrolled {
  background: rgba(8,8,8,0.88);
  border-bottom-color: rgba(255,255,255,0.07);
}

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-lockup { height: 72px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: #9c9a96;
}

.nav-links a { transition: color .3s; }
.nav-links a:hover { color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #e8e6e3;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #0a0a0a;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.mobile-menu.open { display: flex; }

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 0;
  color: #e8e6e3;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: #cfcdc9;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('uploads/max-kuntscher-tBbpxLVQinw-unsplash.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
}

.hero-gradient-h {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,6,6,.92) 0%, rgba(6,6,6,.8) 40%, rgba(6,6,6,.55) 74%, rgba(6,6,6,.72) 100%);
}

.hero-gradient-v {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 50% 48%, rgba(6,6,6,.55) 0%, rgba(6,6,6,.2) 65%, rgba(6,6,6,0) 100%),
    linear-gradient(to bottom, rgba(6,6,6,.75) 0%, rgba(6,6,6,0) 26%, rgba(6,6,6,0) 62%, rgba(6,6,6,.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 130px 24px 150px;
  max-width: 900px;
}

.hero-mark {
  margin: 40px 0 30px;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-size: clamp(46px, 8.5vw, 108px);
  color: #f5f3f0;
}

.eyebrow--wide { margin-top: 26px; }

.hero-sub {
  margin: 40px auto 0;
  max-width: 440px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: #b9b6b1;
  text-wrap: pretty;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: cc-fade 1.2s ease 1.3s forwards;
}

.scroll-cue span:first-child {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #85827d;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, #85827d, transparent);
  transform-origin: top;
  animation: cc-line 1.4s cubic-bezier(.16,.84,.44,1) 1.5s both;
}

@media (max-height: 700px) {
  .scroll-cue { display: none; }
}

/* ---------- O Modelo ---------- */

.modelo-lead {
  margin: clamp(38px, 5vw, 56px) auto 0;
  max-width: 880px;
  text-align: center;
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #eceae7;
  text-wrap: pretty;
}

.modelo-lead em {
  font-style: normal;
  color: #8f8c87;
}

.modelo-grid {
  margin-top: clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.07);
}

.modelo-card {
  background: #0c0c0b;
  padding: clamp(32px, 4vw, 54px) clamp(24px, 3vw, 44px);
}

.modelo-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #6f6c68;
}

.modelo-card h3 {
  margin: 22px 0 0;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #eceae7;
}

.modelo-card p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: #97948f;
  text-wrap: pretty;
}

/* ---------- Sobre ---------- */

.section--sobre { overflow: hidden; }

.sobre-bg {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: url('uploads/max-kuntscher-tBbpxLVQinw-unsplash.jpg');
  background-size: cover;
  background-position: center 65%;
}

.sobre-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,9,.97) 0%, rgba(10,10,9,.9) 55%, rgba(10,10,9,.6) 100%);
}

.sobre-title {
  margin-top: 34px;
  max-width: 860px;
  font-size: clamp(32px, 4.4vw, 58px);
  color: #f2f0ed;
}

.sobre-text {
  margin: 40px 0 0;
  max-width: 700px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.85;
  color: #a5a29d;
  text-wrap: pretty;
}

/* ---------- Contato ---------- */

.section--contato {
  padding: clamp(110px, 16vh, 200px) clamp(20px, 6vw, 96px);
  background: #0a0a0a;
  overflow: hidden;
}

.contato-dots {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(circle at 50% 50%, transparent 92px, rgba(255,255,255,0.028) 93px, rgba(255,255,255,0.028) 94px, transparent 95px);
  background-size: 240px 240px;
}

.contato-inner {
  max-width: 720px;
  text-align: center;
}

.contato-title {
  margin: 36px 0 0;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #f5f3f0;
}

.contato-text {
  margin: 32px auto 0;
  max-width: 400px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: #a5a29d;
  text-wrap: pretty;
}

.contato-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.contato-email {
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  font-size: clamp(20px, 3vw, 32px);
  font-style: italic;
  letter-spacing: -0.01em;
  color: #f0eeeb;
  transition: border-color .35s ease;
}

.contato-email:hover { border-bottom-color: #f0eeeb; }

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(56px, 8vh, 84px) clamp(20px, 6vw, 96px);
  background: #060606;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

.footer-mark {
  display: flex;
  justify-content: center;
}

.footer-mark img { display: block; opacity: .55; }

.footer-caption {
  margin-top: 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #7e7b76;
}

.footer-disclaimer {
  margin: 26px auto 0;
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #6b6863;
  text-wrap: pretty;
}

.footer-copy {
  margin-top: 34px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: #565450;
}
