/* ============================================================
   JE.Films — Bio Link  ·  Mobile-First
   ============================================================ */

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

:root {
  --bg:         #0a0a0a;
  --bg-card:    #111111;
  --border:     rgba(255,255,255,.06);
  --text:       #f2efea;
  --text-mid:   #bfb9b0;
  --text-dim:   #7a756e;
  --gold:       #c59a2e;
  --gold-light: #ddb95a;
  --gold-faint: rgba(197,154,46,.12);
  --green-wpp:  #25D366;
  --pink-insta: #E1306C;
  --r:          14px;
  --ease:       cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
}

/* ── Film grain — organic texture ─────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .45;
}

/* subtle warm glow — top only */
body::after {
  content: '';
  position: fixed;
  top: -180px;
  left: 50%;
  translate: -50% 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,154,46,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── HIDE ─────────────────────────────────────────────────── */
.grid-bg, .scanline, #particles-canvas, #cursor, #cursor-ring,
.hero-orb, .hero-orb-1, .hero-orb-2,
.hero-deco-line, .hero-deco-line--v, .hero-deco-line--h,
.hero-deco-dot, .hero-deco-dot--1, .hero-deco-dot--2,
.hero-photo-bracket, .hero-photo-bracket--tl, .hero-photo-bracket--tr,
.hero-photo-bracket--bl, .hero-photo-bracket--br,
.hero-photo-hud-tag, .hud-tag--tl, .hud-tag--tr, .hud-tag--bl, .hud-tag--br,
.hud-rec-dot, .hero-photo-glow,
.float-drone, .float-drone-1, .float-drone-2, .float-drone-3,
.float-laptop, .float-laptop-1, .float-laptop-2,
.scroll-ind, .divider, .hamburger, .mobile-menu, .nav-links,
.hero-bg, .wpp-float, .sobre-img-wrap {
  display: none !important;
}

/* ── NAV ──────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span {
  color: var(--gold);
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  width: 100%;
  max-width: 440px;
  padding: 88px 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* ── Avatar ───────────────────────────────────────────────── */
.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* thin gold ring */
.hero-photo-container::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: .7;
}

/* inner bg */
.hero-photo-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #000;
  z-index: 1;
}

.hero-photo {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 2;
  background: #000;
  padding: 14px;
}

/* ── Hero text ────────────────────────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
}

.hero-tag {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--text);
  margin-top: 2px;
}

.hero-title .line {
  display: block;
}

.hero-sub {
  font-size: .78rem;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 320px;
  font-weight: 300;
}

/* ── Hero CTA ─────────────────────────────────────────────── */
.hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
}

.btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--gold);
  color: #0a0a0a;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: opacity .25s var(--ease);
}

.btn-primary svg { stroke: #0a0a0a; }

.btn-primary:hover  { opacity: .88; }
.btn-primary:active { opacity: .75; }

.btn-ghost {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: transparent;
  color: var(--text-mid);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.22);
  color: var(--text);
}

/* ── SOBRE ────────────────────────────────────────────────── */
#sobre {
  width: 100%;
  max-width: 440px;
  padding: 40px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sobre-label {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
}

.sobre-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: .5px;
  color: var(--text);
  text-align: center;
}

.sobre-title em {
  font-style: italic;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
}

.sobre-text {
  font-size: .76rem;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: center;
  font-weight: 300;
}

/* ── Specs ────────────────────────────────────────────────── */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: var(--r);
  padding: 14px 12px;
  text-align: left;
  transition: border-color .3s var(--ease);
}

.spec-item:hover {
  border-color: rgba(255,255,255,.1);
  border-left-color: var(--gold-light);
}

.spec-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .95rem;
  color: var(--text);
  letter-spacing: .5px;
  margin-bottom: 2px;
}

.spec-desc {
  font-size: .65rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.4;
}

/* ── Sobre Images (hidden) ────────────────────────────────── */
.sobre-img-wrap { display: none; }

.img-corner { display: none; }

.sobre-drone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r);
}

.img-tag {
  font-size: .6rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 1px;
  font-weight: 300;
}

/* ── CONTATO ──────────────────────────────────────────────── */
#contato {
  width: 100%;
  max-width: 440px;
  padding: 40px 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contato-label {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.contato-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: .5px;
  color: var(--text);
  text-align: center;
}

.contato-title em {
  font-style: italic;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
}

.contato-sub {
  font-size: .76rem;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
  font-weight: 300;
  max-width: 300px;
}

/* ── Link buttons ─────────────────────────────────────────── */
.contato-columns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.contato-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.contato-group + .contato-group {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* WhatsApp */
.btn-wpp, .btn-wpp-fill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: opacity .25s var(--ease), transform .2s var(--ease);
}

.btn-wpp-fill {
  background: var(--green-wpp);
  color: #fff;
  border: none;
}

.btn-wpp-fill:hover  { opacity: .9; }
.btn-wpp-fill:active { transform: scale(.98); }

.btn-wpp:not(.btn-wpp-fill) {
  background: transparent;
  color: var(--green-wpp);
  border: 1px solid rgba(37,211,102,.25);
}

.btn-wpp:not(.btn-wpp-fill):hover {
  border-color: rgba(37,211,102,.45);
}

/* Instagram */
.btn-insta, .btn-insta-fill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: opacity .25s var(--ease), transform .2s var(--ease);
}

.btn-insta-fill {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F56040);
  color: #fff;
  border: none;
}

.btn-insta-fill:hover  { opacity: .9; }
.btn-insta-fill:active { transform: scale(.98); }

.btn-insta:not(.btn-insta-fill) {
  background: transparent;
  color: var(--pink-insta);
  border: 1px solid rgba(225,48,108,.25);
}

.btn-insta:not(.btn-insta-fill):hover {
  border-color: rgba(225,48,108,.45);
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  width: 100%;
  max-width: 440px;
  padding: 36px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 1.5px;
  opacity: .35;
}

.footer-logo span {
  color: var(--gold);
}

.footer-copy {
  font-size: .6rem;
  color: var(--text-dim);
  opacity: .35;
  font-weight: 300;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

/* Small phones */
@media (max-width: 360px) {
  .hero-title { font-size: 1.7rem; }
  .specs { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP (768px+) — Scrollable, organized
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  body {
    min-height: 100vh;
  }

  /* ── Nav ─────────────────────────────────────────────────── */
  #main-nav {
    position: fixed;
    left: 0;
    right: 0;
    padding: 14px 48px;
    background: rgba(10,10,10,.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* ── Hero ────────────────────────────────────────────────── */
  #hero {
    max-width: 100%;
    width: 100%;
    padding: 56px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-layout {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 100%;
    width: 100%;
  }

  /* Banner — full width */
  .hero-photo-wrap {
    width: 100%;
  }

  .hero-photo-container {
    width: 100%;
    max-width: 100%;
    height: 360px;
    border-radius: 0;
  }

  .hero-photo-container::before { display: none; }
  .hero-photo-container::after  { border-radius: 0; width: 100%; }

  .hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 40px 100px;
    object-fit: contain;
  }

  /* Hero text */
  .hero-content {
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 0 48px;
  }

  .hero-tag {
    font-size: .7rem;
    letter-spacing: 3.5px;
  }

  .hero-title {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }

  .hero-sub {
    font-size: .88rem;
    max-width: 500px;
    line-height: 1.7;
  }

  .hero-cta {
    max-width: 380px;
    margin-top: 4px;
  }

  .btn-primary, .btn-ghost {
    padding: 14px 26px;
    font-size: .85rem;
  }

  /* ── Sobre ───────────────────────────────────────────────── */
  #sobre {
    max-width: 100%;
    width: 100%;
    padding: 80px 48px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sobre-label {
    font-size: .68rem;
    letter-spacing: 4px;
  }

  .sobre-title {
    font-size: 2rem;
  }

  .sobre-text {
    font-size: .86rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
  }

  .specs {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 10px;
    width: 100%;
    max-width: 860px;
  }

  .spec-item {
    padding: 22px 16px;
  }

  .spec-num {
    font-size: 1rem;
  }

  .spec-desc {
    font-size: .7rem;
    line-height: 1.5;
  }

  /* ── Contato ─────────────────────────────────────────────── */
  #contato {
    max-width: 100%;
    width: 100%;
    padding: 80px 48px 60px;
    gap: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contato-label {
    font-size: .68rem;
    letter-spacing: 4px;
  }

  .contato-title {
    font-size: 2rem;
  }

  .contato-sub {
    font-size: .86rem;
    max-width: 460px;
    line-height: 1.75;
  }

  .contato-columns {
    flex-direction: row;
    gap: 20px;
    margin-top: 12px;
    width: 100%;
    max-width: 700px;
  }

  .contato-group + .contato-group {
    padding-top: 0;
    border-top: none;
    padding-left: 20px;
    border-left: 1px solid var(--border);
  }

  .btn-wpp, .btn-wpp-fill,
  .btn-insta, .btn-insta-fill {
    padding: 15px 22px;
    font-size: .85rem;
  }

  /* ── Footer ──────────────────────────────────────────────── */
  footer {
    max-width: 100%;
    padding: 32px 48px 40px;
  }

  /* ── Hover ──────────────────────────────────────────────── */
  .btn-wpp-fill:hover, .btn-insta-fill:hover { opacity: .92; transform: translateY(-1px); }
  .btn-wpp:not(.btn-wpp-fill):hover, .btn-insta:not(.btn-insta-fill):hover { transform: translateY(-1px); }
  .btn-primary:hover { opacity: .9; transform: translateY(-1px); }
  .btn-ghost:hover   { transform: translateY(-1px); }

  /* Gold line — top */
  body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
    opacity: .4;
    pointer-events: none;
    z-index: 200;
  }
}

/* ══════════════════════════════════════════════════════════════
   LARGE DESKTOP (1200px+)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .hero-photo-container { height: 420px; }
  .hero-photo            { padding: 50px 140px; }
  .hero-title            { font-size: 3.2rem; }
  .hero-sub              { font-size: .92rem; max-width: 540px; }
  .btn-primary, .btn-ghost { padding: 15px 28px; font-size: .88rem; }

  #sobre, #contato       { padding-left: 80px; padding-right: 80px; }
  .sobre-title, .contato-title { font-size: 2.2rem; }
  .sobre-text            { font-size: .9rem; max-width: 640px; }
  .contato-sub           { font-size: .9rem; }
  .specs                 { max-width: 940px; gap: 16px; }
  .spec-item             { padding: 26px 18px; }
  .contato-columns       { max-width: 760px; }
}

/* ══════════════════════════════════════════════════════════════
   ULTRAWIDE (1600px+)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
  .hero-photo-container { height: 480px; }
  .hero-photo            { padding: 60px 180px; }
  .hero-title            { font-size: 3.6rem; }
  .hero-sub              { font-size: .96rem; }

  .sobre-title, .contato-title { font-size: 2.4rem; }
  .sobre-text            { max-width: 700px; }
  .specs                 { max-width: 1000px; }
  .contato-columns       { max-width: 800px; }
}

/* ── SAFE AREA ────────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer {
    padding-bottom: calc(44px + env(safe-area-inset-bottom));
  }
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }

::selection {
  background: rgba(197,154,46,.25);
  color: #fff;
}
