/* =============================
   RESET & BASE
============================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #d4d4d4;
  --accent2: #999999;
  --dark: #080808;
  --dark2: #0f0f0f;
  --dark3: #181818;
  --text: #f0f0f0;
  --muted: #777;
  --card-bg: #111111;
  --ig-grad: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
body::after {
  content: '';
  width: 10px; height: 10px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 9999;
  transition: transform .1s;
  top: var(--cy, -100px);
  left: var(--cx, -100px);
  mix-blend-mode: difference;
}

.accent { color: var(--accent); }
.section-label {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #aaaaaa;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* =============================
   NAVBAR
============================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  backdrop-filter: blur(20px);
  background: rgba(8,8,8,.75);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding .3s;
}
.navbar.scrolled { padding: .8rem 5%; background: rgba(10,10,10,.95); }
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .1em;
  color: #fff;
}
.nav-logo span { color: #fff; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,.5);
  transition: width .3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  padding: .65rem 1.5rem;
  border-radius: 100px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(255,255,255,.25);
}

/* =============================
   HERO
============================= */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.03) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(200,200,200,.02) 0%, transparent 50%),
              var(--dark);
}
.hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 22vw, 22rem);
  color: rgba(255,255,255,.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: .05em;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 80px;
  position: relative; z-index: 2;
}
.hero-text { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: #ccc;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: .95;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .accent { color: #ffffff; }

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  background: #ffffff;
  color: #000;
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,255,255,.2);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1;
}
.stat-label { font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.1); }

/* Hero image */
.hero-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: clamp(300px, 38vw, 520px);
}
.hero-img-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 60%;
  background: radial-gradient(ellipse, rgba(180,180,180,.12) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-img-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  animation: ringPulse 3s ease-in-out infinite;
}
.ring1 { width: 105%; height: 105%; animation-delay: 0s; }
.ring2 { width: 115%; height: 115%; animation-delay: 1s; border-color: rgba(255,255,255,.04); }
@keyframes ringPulse {
  0%,100%{ transform: translate(-50%,-50%) scale(1); opacity:.6; }
  50%{ transform: translate(-50%,-50%) scale(1.04); opacity:.2; }
}
.hero-photo {
  display: block;
  width: 100%;
  height: clamp(420px, 55vw, 680px);
  object-fit: cover;
  object-position: 50% 0%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.7));
  position: relative; z-index: 1;
  border-radius: 8px;
}
.hero-img-badge {
  position: absolute;
  bottom: 10%; right: -20px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: .8rem 1.2rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 2;
}
.badge-icon { font-size: 1.2rem; }

.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted); font-size: .75rem; letter-spacing: .1em;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
  animation: bounceArrow 1.5s ease-in-out infinite;
}
@keyframes bounceArrow {
  0%,100%{ transform: rotate(45deg) translateY(0); }
  50%{ transform: rotate(45deg) translateY(6px); }
}

/* =============================
   SOBRE
============================= */
.sobre {
  padding: 7rem 5%;
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.sobre::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.sobre-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 6rem;
}
.sobre-img-col { flex-shrink: 0; }
.sobre-img-frame {
  position: relative;
  width: 340px;
  height: 420px;
}
.sobre-img-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.sobre-img-frame::before {
  content: '';
  position: absolute; top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  z-index: 0;
}
.sobre-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(10%) brightness(1);
  display: block;
}
.sobre-exp-badge {
  position: absolute;
  top: -20px; right: -20px;
  background: #ffffff;
  color: #000;
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.exp-num { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; line-height: 1; }
.exp-label { font-size: .6rem; font-weight: 700; letter-spacing: .08em; }

.sobre-tags {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.5rem;
}
.tag {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: #bbb;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em;
  padding: .35rem .9rem;
  border-radius: 100px;
}

.sobre-text-col { flex: 1; }
.sobre-label {
  display: block;
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}
.sobre-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}
.sobre-p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.sobre-p strong { color: #fff; }
.sobre-p em { color: #ccc; font-style: normal; font-weight: 500; }

.sobre-cards { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.sobre-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  flex: 1; min-width: 180px;
  transition: border-color .3s, transform .3s;
}
.sobre-card:hover {
  border-color: rgba(255,255,255,.18);
  transform: translateY(-4px);
}
.sobre-card-icon { font-size: 1.8rem; }
.sobre-card strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.sobre-card p { font-size: .78rem; color: var(--muted); }

/* =============================
   SERVIÇOS
============================= */
.servicos {
  padding: 7rem 5%;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.servicos::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
}
.servicos-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.servicos-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: .03em;
  margin-bottom: 1rem;
}
.servicos-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 3.5rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: transparent;
  transition: background .4s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.07);
}
.service-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
.service-card.featured {
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, var(--card-bg) 100%);
}
.card-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: #ffffff;
  color: #000;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 100px;
}
.card-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background .3s;
}
.service-card:hover .card-icon-wrap { background: rgba(255,255,255,.1); }
.card-icon { font-size: 1.8rem; }
.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .05em;
  margin-bottom: .8rem;
}
.service-card p { color: #999; line-height: 1.7; font-size: .95rem; }
.card-line {
  width: 0; height: 1px;
  background: rgba(255,255,255,.4);
  margin-top: 1.5rem;
  transition: width .4s ease;
}
.service-card:hover .card-line { width: 50px; }

.cta-wrap {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}
.cta-big-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #ddd;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .3s, box-shadow .3s, transform .2s, border-color .3s;
}
.cta-big-btn:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 0 40px rgba(255,255,255,.08);
  transform: translateY(-3px);
}
.cta-big-btn svg { transition: transform .3s; }
.cta-big-btn:hover svg { transform: translateX(6px); }

/* =============================
   FOOTER
============================= */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 4rem 5% 2rem;
}
.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: flex-start;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: .1em;
  margin-bottom: .5rem;
}
.footer-logo span { color: #fff; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 260px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: .8rem; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; flex-direction: column; align-items: flex-start; }
.footer-ig {
  display: flex; align-items: center; gap: .6rem;
  background: var(--ig-grad);
  color: #fff;
  font-weight: 600; font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.footer-ig:hover { opacity: .9; transform: scale(1.04); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted); font-size: .8rem;
}

/* =============================
   INSTAGRAM FLUTUANTE
============================= */
.ig-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 500;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem;
}
.ig-float-inner {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ig-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative; z-index: 2;
  box-shadow: 0 8px 32px rgba(220,39,67,.4);
  transition: transform .3s, box-shadow .3s;
}
.ig-float:hover .ig-float-inner {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 16px 48px rgba(220,39,67,.6);
}
.ig-float-label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(220,39,67,.9);
  padding: .2rem .6rem;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.ig-float:hover .ig-float-label { opacity: 1; transform: translateY(0); }

.ig-float-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(220,39,67,.25);
  animation: igRipple 2.5s ease-out infinite;
}
.ig-float-ripple.r1 { width: 60px; height: 60px; animation-delay: 0s; }
.ig-float-ripple.r2 { width: 60px; height: 60px; animation-delay: .8s; }
.ig-float-ripple.r3 { width: 60px; height: 60px; animation-delay: 1.6s; }
@keyframes igRipple {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* =============================
   FOOTER LEGAL & MODALS
============================= */
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-legal-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  padding: .3rem 0;
  text-align: left;
  transition: color .3s;
  position: relative;
}
.footer-legal-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,.4);
  transition: width .3s;
}
.footer-legal-btn:hover {
  color: #fff;
}
.footer-legal-btn:hover::after {
  width: 100%;
}

/* Modal overlay + container */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.legal-modal.active {
  opacity: 1;
  visibility: visible;
}
.legal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
}
.legal-modal-content {
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  max-width: 680px;
  width: 92%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 3rem 2.5rem;
  z-index: 1;
  transform: translateY(30px) scale(.97);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.legal-modal.active .legal-modal-content {
  transform: translateY(0) scale(1);
}

/* Scrollbar styling */
.legal-modal-content::-webkit-scrollbar {
  width: 5px;
}
.legal-modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.legal-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.15);
  border-radius: 10px;
}

/* Close button */
.legal-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .2s;
  line-height: 1;
}
.legal-modal-close:hover {
  background: rgba(255,255,255,.12);
  transform: rotate(90deg);
}

/* Modal text styles */
.legal-modal-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: .05em;
  margin-bottom: .3rem;
  padding-right: 2.5rem;
}
.legal-updated {
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.legal-modal-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: .04em;
  margin-top: 1.8rem;
  margin-bottom: .6rem;
  color: #eee;
}
.legal-modal-content p {
  color: #aaa;
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: .8rem;
}
.legal-modal-content strong {
  color: #ddd;
}
.legal-modal-content ul {
  list-style: none;
  padding: 0;
  margin: .5rem 0 1rem;
}
.legal-modal-content li {
  color: #aaa;
  font-size: .9rem;
  line-height: 1.8;
  padding-left: 1.2rem;
  position: relative;
}
.legal-modal-content li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 900px) {
  .hero-content { flex-direction: column-reverse; text-align: center; padding-top: 100px; }
  .hero-img-wrap { width: clamp(260px, 70vw, 380px); }
  .hero-text { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .sobre-container { flex-direction: column; gap: 3rem; align-items: center; }
  .sobre-img-frame { width: 100%; max-width: 320px; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .navbar { padding: 1rem 4%; }
  .hero { padding: 0 4%; }
  .sobre, .servicos { padding: 5rem 4%; }
  .footer { padding: 3rem 4% 2rem; }
  .footer-content { flex-direction: column; }
  .cards-grid { grid-template-columns: 1fr; }
}
