/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Bloqueia scroll horizontal e zoom indesejado no mobile */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

:root {
  /* Paleta lilás vivo + azul elétrico */
  --accent:     #7C3AED;
  --accent-d:   #5B21B6;
  --accent-l:   #C4B5FD;
  --accent-bg:  rgba(124,58,237,0.08);
  --accent-bdr: rgba(124,58,237,0.25);

  --blue:       #2563EB;
  --blue-l:     #93C5FD;
  --blue-bg:    rgba(37,99,235,0.08);

  --gold:  #C9A84C;
  --green: #22c55e;

  --bg:   #FDF9F6;
  --bg2:  #F7F2EE;
  --bg3:  #EDE7DF;

  --ink:   #120E0C;
  --ink2:  #1E1412;
  --muted: #4B3D37;
  --soft:  #8C7A72;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', sans-serif;
  --mono:  'Space Mono', monospace;

  --radius:    20px;
  --radius-sm: 10px;
  --tr: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 400;
  -webkit-text-size-adjust: 100%; /* impede ajuste automático de fonte no iOS */
  touch-action: pan-y;            /* permite scroll vertical, bloqueia scroll/zoom horizontal */
  width: 100%;
  max-width: 100vw;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' 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: 0;
  opacity: 0.5;
}

/* ─── SCROLL ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── SHARED ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--accent); }

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.85;
  font-weight: 400;
}

section { padding: 6rem 5%; position: relative; }
.section-alt {
  background: var(--bg2);
  border-top: 1px solid rgba(26,18,16,0.07);
  border-bottom: 1px solid rgba(26,18,16,0.07);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--tr);
  font-family: var(--sans);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124,58,237,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ink);
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(26,18,16,0.22);
  transition: all var(--tr);
  font-family: var(--sans);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--tr);
  font-family: var(--sans);
}
.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.35);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(253,249,246,0.9);
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(253,249,246,0.28);
  transition: all var(--tr);
  font-family: var(--sans);
}
.btn-outline-light:hover {
  border-color: rgba(253,249,246,0.6);
  color: #fff;
}

/* ─── PULSE DOT ─── */
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-v 2s infinite;
}
.pulse-dot.green { background: var(--green); }

@keyframes pulse-v {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
@keyframes pulse-green-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(253,249,246,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26,18,16,0.08);
  transition: box-shadow var(--tr);
}
nav.scrolled { box-shadow: 0 2px 24px rgba(26,18,16,0.1); }

.nav-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); font-style: italic; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color var(--tr);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 100px;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.9rem !important;
  transition: all var(--tr) !important;
}
.nav-cta:hover { background: var(--accent-d) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 5% 6rem;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -15%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.09) 0%, rgba(37,99,235,0.04) 45%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%;
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  animation: fadeSlideUp 0.85s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bdr);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-title .blue-em { font-style: italic; color: var(--blue); }
.hero-title em .blue-em { color: var(--blue); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  background: #fff;
  border: 1px solid rgba(26,18,16,0.09);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  animation: fadeSlideUp 0.85s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.hero-bullets li:nth-child(1) { animation-delay: 0.12s; }
.hero-bullets li:nth-child(2) { animation-delay: 0.22s; }
.hero-bullets li:nth-child(3) { animation-delay: 0.32s; }

.bullet-arrow {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}
.hero-bullets strong { color: var(--ink); font-weight: 600; }

/* ── Vídeo card hero — proporcional 16:9 (1920x1080) ── */
.hero-video-wrap {
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.85s 0.38s cubic-bezier(0.25,0.46,0.45,0.94) both;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /* proporção 16:9 exata (1920x1080) */
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 860px;
  box-shadow: 0 8px 48px rgba(124,58,237,0.18), 0 2px 0 rgba(255,255,255,0.7) inset, 0 0 0 1px rgba(124,58,237,0.12);
}

/* Iframe oculto até o play */
.hero-iframe-wrap {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.hero-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  transition: opacity 0.4s ease;
}
.bg-panel {
  width: 100%; height: 100%;
  overflow: hidden;
  position: relative;
}
.bg-panel:nth-child(1) { background: linear-gradient(160deg, #C4B5FD, #7C3AED 80%); }
.bg-panel:nth-child(2) { background: linear-gradient(160deg, #93C5FD, #2563EB 80%); }
.bg-panel:nth-child(3) { background: linear-gradient(160deg, #C4B5FD, #5B21B6 80%); }

.bg-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bg-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
}
.bg-placeholder span {
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18,14,12,0.52) 0%, rgba(18,14,12,0.25) 50%, rgba(18,14,12,0.48) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.float-badge {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  z-index: 3;
  background: rgba(253,249,246,0.95);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid rgba(26,18,16,0.08);
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  display: flex; align-items: center; gap: 0.45rem;
  box-shadow: 0 2px 14px rgba(26,18,16,0.1);
}
.float-badge span:last-child {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255,255,255,0.42);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.28s ease;
  color: #fff;
  text-decoration: none;
}
.video-play-btn svg { margin-left: 4px; }
.video-play-btn:hover {
  background: rgba(124,58,237,0.45);
  border-color: rgba(196,181,253,0.7);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 18px rgba(124,58,237,0.1);
}

.video-card-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(18,14,12,0.8) 0%, transparent 100%);
  transition: opacity 0.4s ease;
}
.video-card-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(253,249,246,0.55);
  margin-bottom: 0.25rem;
}
.video-card-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.video-card-name em { font-style: italic; color: var(--accent-l); }

/* Botões hero */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 0.85s 0.48s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(26,18,16,0.08);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,18,16,0.07);
  margin-top: 3.5rem;
  animation: fadeSlideUp 0.85s 0.55s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.stat-item {
  padding: 1.5rem 2.5rem;
  border-right: 1px solid rgba(26,18,16,0.07);
  text-align: center;
  flex: 1;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--soft);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ─── MANIFESTO ─── */
.manifesto {
  background: var(--ink);
  color: var(--bg);
  padding: 6rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.manifesto .section-label { color: var(--accent-l); }
.manifesto .section-label::after { background: var(--accent-l); }
.manifesto .section-title { color: var(--bg); }
.manifesto .section-title em { color: var(--accent-l); }

.manifesto-quote {
  margin-top: 2.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(253,249,246,0.9);
}
.manifesto-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-l);
}

.manifesto-text {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(253,249,246,0.7);
}
.manifesto-text strong { color: var(--bg); font-weight: 600; }

/* ─── SKILLS ─── */
.skills-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: end;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.skill-card {
  background: #fff;
  border: 1px solid rgba(26,18,16,0.08);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.skill-card:hover {
  border-color: var(--accent-bdr);
  box-shadow: 0 10px 32px rgba(124,58,237,0.12);
  transform: translateY(-4px);
}

.skill-icon { font-size: 1.6rem; display: block; margin-bottom: 0.9rem; }

.skill-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.07);
  color: var(--muted);
  font-size: 0.74rem;
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  transition: background var(--tr), color var(--tr);
}
.skill-card:hover .tag { background: var(--accent-bg); color: var(--accent); border-color: var(--accent-bdr); }

/* ─── EXPERIENCE ─── */
.experience-header { margin-bottom: 3rem; }

.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  position: relative;
  padding: 2.5rem 0 2.5rem 3.5rem;
  border-left: 2px solid rgba(124,58,237,0.22);
  margin-left: 1rem;
}
.timeline-item:last-child { padding-bottom: 0; }

/* Linha interna: texto à esquerda, fotos à direita */
.timeline-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.timeline-dot {
  position: absolute;
  left: -7px; top: 2.75rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg2);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.2);
}

.timeline-period {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.timeline-company {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.timeline-role {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.67rem;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.timeline-desc {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 600px;
}

.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.timeline-tag {
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.07);
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  font-family: var(--mono);
}

/* ── Fotos da timeline ── */
.timeline-photos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
  /* Estado inicial — invisível e deslocado */
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Quando o item pai fica visível (via IntersectionObserver), anima as fotos */
.timeline-item.visible .timeline-photos {
  opacity: 1;
  transform: translateX(0);
}

/* Foto 2 entra com delay */
.timeline-item.visible .tl-photo--2 {
  transition-delay: 0.15s;
}

.tl-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.07);
  /* Sutil efeito de profundidade entre as duas fotos */
  box-shadow: 0 4px 18px rgba(26,18,16,0.08);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.tl-photo:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 32px rgba(124,58,237,0.14);
}
.tl-photo--2 {
  margin-left: 1.25rem; /* leve offset cria profundidade */
}

.tl-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.tl-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  color: var(--soft);
}
.tl-photo-placeholder span {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ─── NUMBERS STRIP ─── */
.numbers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  border-top: 1px solid rgba(253,249,246,0.07);
  border-bottom: 1px solid rgba(253,249,246,0.07);
}

.number-item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(253,249,246,0.08);
}
.number-item:last-child { border-right: none; }

.big-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-l);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.number-desc {
  font-size: 0.85rem;
  color: rgba(253,249,246,0.5);
  line-height: 1.6;
  max-width: 180px;
  margin: 0 auto;
}

/* ─── PORTFOLIO ─── */
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

/* Todas as caixinhas ocupam 1 coluna no grid de 3 */
.pf-half  { grid-column: span 1; }
.pf-third { grid-column: span 1; }
.pf-full  { grid-column: span 1; }

.portfolio-media {
  width: 100%;
  flex: 1;
  background: var(--bg3);
  position: relative;
  min-height: 140px;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--soft);
  padding: 1.5rem;
}

.portfolio-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.28);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
}

.media-label {
  font-family: var(--mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
  max-width: 180px;
  line-height: 1.5;
  color: var(--soft);
}

.portfolio-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.35rem 1.2rem;
  background: linear-gradient(to top, rgba(18,14,12,0.92) 0%, rgba(18,14,12,0.4) 70%, transparent 100%);
  color: #fff;
  z-index: 2;
}
.portfolio-cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(196,181,253,0.9);
  margin-bottom: 0.28rem;
}
.portfolio-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.portfolio-sub {
  font-size: 0.77rem;
  color: rgba(253,249,246,0.6);
  font-family: var(--mono);
  margin-top: 0.15rem;
}

/* ─── INSTAGRAM ─── */
.instagram-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.insta-metrics-row { display: flex; gap: 2rem; margin: 1.5rem 0; flex-wrap: wrap; }
.insta-metric-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.insta-metric-label { font-family: var(--mono); font-size: 0.67rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.2rem; }

.insta-card {
  background: #fff;
  border: 1px solid rgba(26,18,16,0.09);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: 0 6px 32px rgba(26,18,16,0.07);
}

.insta-card-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }

.insta-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}

.insta-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.insta-handle { font-family: var(--mono); font-size: 0.72rem; color: var(--soft); }

.insta-growth-badge {
  margin-left: auto;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.22);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  font-weight: 700;
}

.insta-bio { font-size: 0.87rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.insta-thumb {
  aspect-ratio: 1;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  border-radius: 0;
}
.insta-thumb span { font-family: var(--mono); font-size: 0.57rem; color: var(--soft); text-align: center; padding: 0.3rem; line-height: 1.3; }

.insta-card-stats { display: flex; gap: 0; border-top: 1px solid rgba(26,18,16,0.07); padding-top: 1rem; }
.insta-card-stat { flex: 1; text-align: center; }
.insta-card-stat .n { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.insta-card-stat .l { font-family: var(--mono); font-size: 0.62rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.06em; }

.insta-link {
  display: block;
  text-align: center;
  margin-top: 1.35rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: opacity var(--tr);
}
.insta-link:hover { opacity: 0.7; }

/* ─── EDUCATION ─── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
/* Última linha com 3 cards — centraliza o card extra */
.edu-grid .edu-card:nth-child(5) { grid-column: 2 / 3; }
.edu-grid .edu-card:nth-child(6) { grid-column: 3 / 4; }
.edu-grid .edu-card:nth-child(7) { grid-column: 4 / 5; }
/* Centraliza a segunda linha de 3 cards no grid de 4:
   usa um pseudo-elemento invisível na coluna 1 para empurrar tudo */
.edu-grid::after {
  content: '';
  grid-column: 1 / 2;
  grid-row: 2;
  display: block;
}

.edu-card {
  background: #fff;
  border: 1px solid rgba(26,18,16,0.08);
  border-radius: var(--radius);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--tr), transform var(--tr);
}
.edu-card:hover { border-color: var(--accent-bdr); transform: translateY(-3px); }

.edu-type { font-size: 0.82rem; color: var(--muted); }
/* Título das caixinhas de formação — bold e legível */
.edu-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.25rem;
  line-height: 1.25;
}
.edu-school { font-size: 0.84rem; color: var(--muted); font-weight: 400; }
.edu-year { font-family: var(--mono); font-size: 0.7rem; color: var(--soft); }

.cert-badge {
  margin-top: auto;
  display: inline-block;
  padding-top: 0.75rem;
  background: var(--accent-bg);
  border: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  width: fit-content;
}
.cert-badge.accent { color: var(--gold); }
.cert-badge.result { color: #22c55e; }

/* ─── CONTACT ─── */
.contact-section {
  background: var(--ink);
  padding: 8rem 5%;
  text-align: center;
}

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-l);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.cta-eyebrow::before, .cta-eyebrow::after {
  content: ''; width: 40px; height: 1px; background: var(--accent); opacity: 0.5;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--bg);
  margin-bottom: 1.75rem;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.cta-title em { font-style: italic; color: var(--accent-l); }

.cta-sub {
  font-size: 1.05rem;
  color: rgba(253,249,246,0.55);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.85;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  background: rgba(10,7,6,0.99);
  padding: 1.85rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(253,249,246,0.05);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(253,249,246,0.3);
  letter-spacing: 0.06em;
}

.footer-links { display: flex; gap: 1.75rem; }
.footer-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(253,249,246,0.3);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color var(--tr);
}
.footer-links a:hover { color: rgba(253,249,246,0.7); }

/* ─── WHATSAPP FLUTUANTE ─── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45), 0 2px 8px rgba(26,18,16,0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #1ebe58;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5), 0 4px 12px rgba(26,18,16,0.18);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35);
  animation: wa-ring 2.5s ease infinite;
}
@keyframes wa-ring {
  0%   { transform: scale(1); opacity: 1; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-strip { grid-template-columns: repeat(2, 1fr); }
  .number-item { border-bottom: 1px solid rgba(253,249,246,0.07); }
}

@media (max-width: 900px) {
  .hero { padding: 7rem 5% 5rem; }
  .hero-stats { flex-direction: row; }
  .manifesto { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills-header { grid-template-columns: 1fr; gap: 1rem; }
  .timeline-body { grid-template-columns: 1fr; }
  .timeline-photos { flex-direction: row; opacity: 1; transform: none; }
  .tl-photo--2 { margin-left: 0; }
  .instagram-layout { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(253,249,246,0.97);
    backdrop-filter: blur(20px);
    padding: 2rem 5%;
    border-bottom: 1px solid rgba(26,18,16,0.08);
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-links.open li { border: none; }
  .hero-title { font-size: 3rem; }
  .hero-video-card { aspect-ratio: 16 / 9; }
  .skills-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .numbers-strip { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(26,18,16,0.07); }
  .stat-item:last-child { border-bottom: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 54px; height: 54px; }
  .hero-bullets { flex-direction: column; align-items: center; }
}

/* ─── EDU-GRID: todas as caixinhas centralizadas ─── */
.edu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.edu-card {
  width: calc(25% - 0.75rem);
  min-width: 220px;
  flex-shrink: 0;
}
@media (max-width: 1100px) { .edu-card { width: calc(33.33% - 0.75rem); } }
@media (max-width: 700px)  { .edu-card { width: calc(50% - 0.5rem); } }
@media (max-width: 480px)  { .edu-card { width: 100%; } }


/* ─── POPUPS ─── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,14,12,0.72);
  backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.popup-overlay.open { display: flex; animation: popFadeIn 0.28s ease both; }
@keyframes popFadeIn { from { opacity:0; } to { opacity:1; } }

.popup {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  animation: popSlideUp 0.32s cubic-bezier(0.25,0.46,0.45,0.94) both;
  box-shadow: 0 24px 80px rgba(18,14,12,0.35);
  margin: auto;
}
@keyframes popSlideUp {
  from { opacity:0; transform: translateY(32px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--bg3);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), color var(--tr);
  flex-shrink: 0;
  z-index: 10;
}
.popup-close:hover { background: var(--accent); color: #fff; }

.popup-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  padding-right: 2.5rem;
}
.popup-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ── Popup tamanhos por tipo ── */
.popup--reel  { max-width: 400px; }
.popup--social { max-width: 600px; }
.popup--sites  { max-width: 600px; }
.popup--links  { max-width: 500px; }

/* ══ REEL CAROUSEL ══════════════════════════════════ */
.reel-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.reel-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.reel-slide { display: none; flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
.reel-slide.active { display: flex; }

/* Frame 9:16 para reels — largura máxima responsiva */
.reel-frame {
  width: min(240px, 70vw);
  aspect-ratio: 9 / 16;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.reel-frame iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* Frame YouTube 16:9 — ocupa toda a largura */
.reel-frame--yt {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-width: 100%;
}

.reel-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; color: var(--soft);
  text-align: center; padding: 1rem;
}
.reel-placeholder span {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.5;
}

.reel-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 0 0.5rem;
}

.reel-nav {
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.1);
  border-radius: 50%;
  width: 40px; height: 40px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.reel-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.reel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.reel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.15);
  cursor: pointer;
  transition: background var(--tr);
}
.reel-dot.active { background: var(--accent); border-color: var(--accent); }

/* ══ SOCIAL MEDIA POPUP ═══════════════════════════════ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.social-post { display: flex; flex-direction: column; gap: 0.4rem; }
.social-img-wrap {
  aspect-ratio: 1;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(26,18,16,0.07);
}
.social-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.4rem; color: var(--soft);
}
.social-img-placeholder span {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.social-post-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.popup-links-section { margin-top: 0.5rem; }
.popup-links-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ══ SITES POPUP — CARROSSEL ═══════════════════════════ */
.popup--sites { max-width: 680px; }

.site-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.site-track {
  flex: 1;
  overflow: hidden;
}
.site-slide { display: none; flex-direction: column; gap: 0.6rem; }
.site-slide.active { display: flex; }

.site-slide-img {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(26,18,16,0.1);
  aspect-ratio: 16 / 8;
  background: var(--bg3);
  text-decoration: none;
}
.site-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.site-slide-img:hover img { transform: scale(1.02); }

.site-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124,58,237,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.site-slide-img:hover .site-slide-overlay { opacity: 1; }

.site-slide-label {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.site-slide-label span { color: var(--accent); }

.site-nav {
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.1);
  border-radius: 50%;
  width: 42px; height: 42px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.site-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.site-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.25rem;
}
.site-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid rgba(26,18,16,0.15);
  cursor: pointer;
  transition: background var(--tr);
}
.site-dot.active { background: var(--accent); border-color: var(--accent); }

@media (max-width: 640px) {
  .site-nav { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ══ LINKS POPUP (campanhas / impressos) ══════════════ */
.popup-links-list { display: flex; flex-direction: column; gap: 0.5rem; }
.popup-link-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--bg2);
  border: 1px solid rgba(26,18,16,0.07);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.popup-link-item:hover {
  border-color: var(--accent-bdr);
  background: var(--accent-bg);
  transform: translateX(4px);
}
.pli-icon { font-size: 1.1rem; flex-shrink: 0; }
.pli-text { flex: 1; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.pli-arrow { font-size: 0.9rem; color: var(--accent); flex-shrink: 0; font-weight: 700; }


/* ══ LIGHTBOX DE POSTS ════════════════════════════════ */
.post-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,14,12,0.9);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}
.post-lightbox-overlay.open {
  display: flex;
  animation: popFadeIn 0.2s ease both;
}
.post-lightbox-overlay img {
  max-width: min(500px, 92vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  cursor: default;
  animation: popSlideUp 0.25s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.post-lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(253,249,246,0.15);
  border: 1px solid rgba(253,249,246,0.3);
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.post-lightbox-close:hover { background: rgba(253,249,246,0.3); }

/* Posts clicáveis */
.social-img-wrap {
  cursor: zoom-in;
  transition: opacity var(--tr);
}
.social-img-wrap:hover { opacity: 0.88; }

/* ══ RESPONSIVE POPUPS ════════════════════════════════ */
@media (max-width: 640px) {
  .popup { padding: 1.5rem 1.25rem; border-radius: 16px; }
  .popup--reel  { max-width: 100%; }
  .popup--social { max-width: 100%; }
  .popup--sites  { max-width: 100%; }
  .popup--links  { max-width: 100%; }

  /* Reel menor no mobile */
  .reel-frame { width: min(200px, 60vw); }
  .reel-nav { width: 34px; height: 34px; font-size: 1.2rem; }

  /* Sites: 2 colunas no mobile */
  .sites-grid { grid-template-columns: repeat(2, 1fr); }
  .sites-grid .site-card:nth-child(4),
  .sites-grid .site-card:nth-child(5) {
    grid-column: auto;
    margin: 0;
    transform: none;
  }

  /* Social: 2 colunas no mobile */
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Fotos reais na timeline */
.tl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}

/* YouTube no carrossel de reels — proporção 16:9 */
.reel-frame--yt {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
  max-width: 460px;
  margin: 0 auto;
}

/* Imagens reais nos posts de social media */
.social-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Sites grid — 5 cards: 3 na linha 1, 2 centralizados na linha 2 */
.sites-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.sites-grid .site-card:nth-child(1) { grid-column: 1 / 3; }
.sites-grid .site-card:nth-child(2) { grid-column: 3 / 5; }
.sites-grid .site-card:nth-child(3) { grid-column: 5 / 7; }
.sites-grid .site-card:nth-child(4) { grid-column: 2 / 4; }
.sites-grid .site-card:nth-child(5) { grid-column: 4 / 6; }

/* Imagens reais nos sites */
.site-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── Instagram thumbs clicáveis com imagens reais ── */
.insta-thumb--link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.insta-thumb--link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insta-thumb--link:hover { opacity: 0.82; transform: scale(1.03); }
.insta-thumb--fallback {
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.insta-thumb--fallback::after {
  content: '📸';
  font-size: 1.4rem;
}

/* ── Site carousel no mobile: popup mais largo ── */
@media (max-width: 640px) {
  .popup--sites { max-width: 100%; padding: 1.25rem; }
  .site-slide-img { aspect-ratio: 16 / 9; }
  .site-slide-label { font-size: 1rem; }
}

/* ── Capas reais das caixinhas do portfólio ── */
.portfolio-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-cover { transform: scale(1.04); }

/* Badge flutua sobre a imagem */
.portfolio-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: rgba(124,58,237,0.85);
  border: 1px solid rgba(196,181,253,0.5);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* Quadradinhos do Instagram com imagens locais */
.insta-thumb--link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* ══ HERO SPLIT LAYOUT ═══════════════════════════════════════ */
.hero { padding-top: 8rem; padding-bottom: 4rem; }

.hero-content--split {
  display: grid;
  grid-template-columns: 1fr 400px;
  overflow: visible;
  gap: 4rem;
  align-items: center;
  text-align: left;
  max-width: 1100px;
  width: 100%;
}

/* Coluna de texto */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-text .hero-sub    { margin: 0 0 2rem; max-width: 460px; }
.hero-text .hero-bullets { justify-content: flex-start; margin-bottom: 2.5rem; }
.hero-text .hero-actions { justify-content: flex-start; }

/* Coluna da foto — posição relativa para stats sobrepostos */
.hero-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;           /* espaço entre foto e stats */
  animation: fadeSlideUp 0.85s 0.38s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

/* Moldura da foto */
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 50% 50% 48% 48% / 42% 42% 36% 36%;
  overflow: hidden;
  box-shadow:
    0 0 0 5px rgba(124,58,237,0.2),
    0 0 0 10px rgba(124,58,237,0.08),
    0 24px 64px rgba(124,58,237,0.25),
    0 8px 24px rgba(18,14,12,0.15);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: contrast(1.06) saturate(0.88) brightness(1.05);
  transition: transform 0.5s ease;
}
.hero-photo-frame:hover .hero-photo { transform: scale(1.03); }

.hero-photo-glow {
  position: absolute;
  top: -30%; left: -10%;
  width: 120%; height: 60%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Stats — elemento normal abaixo da foto, sem position absolute */
.hero-photo-col .hero-stats {
  position: static !important;
  transform: none !important;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(26,18,16,0.08);
  box-shadow: 0 8px 40px rgba(26,18,16,0.13);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  margin-top: 0;
  animation: fadeSlideUp 0.85s 0.6s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.hero-photo-col .stat-item {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 0.5rem;
  border-right: 1px solid rgba(26,18,16,0.07);
  text-align: center;
}
.hero-photo-col .stat-item:last-child { border-right: none; }
.hero-photo-col .stat-number {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}
.hero-photo-col .stat-label {
  font-size: 0.52rem;
  line-height: 1.4;
}


/* Responsive */
@media (max-width: 960px) {
  .hero-content--split {
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
  }
  .hero-photo-frame { max-width: 320px; }
}

@media (max-width: 760px) {
  .hero-content--split {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 2.5rem;
  }
  .hero-text { align-items: center; }
  .hero-text .hero-sub { margin: 0 auto 2rem; }
  .hero-text .hero-bullets { justify-content: center; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-photo-frame { max-width: 260px; }
  .hero-photo-col .hero-stats {
    width: calc(100% + 20px);
    bottom: -28px;
  }
  /* Foto acima no mobile */
  .hero-photo-col { order: -1; margin-bottom: 2.5rem; }
}

/* ══ HERO: altura reduzida para vazar conteúdo abaixo ══ */
.hero {
  min-height: 88vh !important;
  padding-bottom: 6rem;
  overflow: visible !important;
}

/* ══ SCROLL HINT ══════════════════════════════════════ */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  animation: fadeSlideUp 1s 0.9s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

.scroll-hint-text {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--soft);
}

.scroll-hint-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);    opacity: 1;   }
  50%       { transform: translateY(7px); opacity: 0.5; }
}

/* ── Grid de imagens IA no popup social ── */
.social-grid--ia {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
/* 7ª imagem ocupa coluna inteira sozinha para não ficar deslocada */
.social-grid--ia .social-post:nth-child(7) {
  grid-column: 1 / -1;
}
.social-grid--ia .social-post:nth-child(7) .social-img-wrap {
  aspect-ratio: 16 / 7;
}
.social-grid--ia .social-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  cursor: zoom-in;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.social-grid--ia .social-img-wrap:hover img { opacity: 0.85; transform: scale(1.03); }

/* ── Lightbox de posts com zoom ── */
.post-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,14,12,0.92);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}
.post-lightbox-overlay.open {
  display: flex;
  animation: popFadeIn 0.2s ease both;
}

/* Container que recebe o transform de zoom */
.lightbox-img-wrap {
  position: relative;
  cursor: grab;
  touch-action: none;
  animation: popSlideUp 0.25s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.lightbox-img-wrap.is-dragging { cursor: grabbing; }

.post-lightbox-overlay img {
  max-width: min(560px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
  user-select: none;
  pointer-events: none; /* drag é no wrapper */
}

/* Controles de zoom */
.lightbox-controls {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18,14,12,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.4rem 0.75rem;
  z-index: 601;
}
.lightbox-zoom-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-zoom-btn:hover { background: rgba(255,255,255,0.15); }
.lightbox-zoom-level {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  min-width: 36px;
  text-align: center;
}

.post-lightbox-close {
  position: fixed;
  top: 1rem; right: 1rem;
  background: rgba(253,249,246,0.15);
  border: 1px solid rgba(253,249,246,0.3);
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
  z-index: 601;
}
.post-lightbox-close:hover { background: rgba(253,249,246,0.3); }

/* Posts clicáveis */
.social-img-wrap {
  cursor: zoom-in;
  transition: opacity var(--tr);
}
.social-img-wrap:hover { opacity: 0.88; }
/* ── Lightbox trigger hover ── */
.lb-trigger { transition: opacity 0.2s ease; }
.lb-trigger:hover { opacity: 0.85; }
