/* ============================================================
   Portfólio Camila Ribeiro — paleta azul pastel
   #005187 · #4d82bc · #84b6f4 · #c4dafa · #fcffff
   ============================================================ */
:root {
  --navy: #005187;
  --blue: #4d82bc;
  --sky: #84b6f4;
  --pastel: #c4dafa;
  --ice: #fcffff;

  --bg: #f4f8fe;
  --surface: #fcffff;
  --text: #14324e;
  --muted: #52708c;
  --line: #d7e4f6;
  --shadow: 0 18px 50px -18px rgba(0, 81, 135, .25);
  --radius: 18px;
  --nav-h: 72px;
}
html[data-theme="dark"] {
  --bg: #071a2c;
  --surface: #0c2540;
  --text: #eaf3ff;
  --muted: #9db8d6;
  --line: #1c3a5c;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; }

::selection { background: var(--sky); color: #06253d; }

/* ---------- fundo aurora + grão ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
  animation: floatblob 22s ease-in-out infinite alternate;
}
.b1 { width: 46vw; height: 46vw; background: var(--pastel); top: -12vw; left: -8vw; }
.b2 { width: 38vw; height: 38vw; background: var(--sky); top: 20vh; right: -12vw; animation-delay: -6s; }
.b3 { width: 30vw; height: 30vw; background: color-mix(in srgb, var(--blue) 55%, transparent); bottom: -10vw; left: 22vw; animation-delay: -12s; }
.b4 { width: 24vw; height: 24vw; background: var(--pastel); bottom: 18vh; right: 18vw; animation-delay: -17s; opacity: .4; }
html[data-theme="dark"] .blob { opacity: .18; }
@keyframes floatblob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, -4vh) scale(1.12); }
  100% { transform: translate(-4vw, 5vh) scale(.94); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sky) 28%, transparent) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  left: -999px; top: -999px;
  transition: left .18s ease-out, top .18s ease-out;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- barra de progresso ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--navy), var(--sky));
}

/* ---------- navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark { display: block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }
.nav-mobile-extra { display: none; }
.nav-backdrop {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 40;
  background: rgba(4, 24, 42, .45); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }
body.menu-lock { overflow: hidden; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface);
}
.lang-btn {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: var(--muted);
  transition: all .2s;
}
.lang-btn.active { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  transition: all .2s;
}
.theme-toggle:hover { color: var(--navy); border-color: var(--sky); }
html[data-theme="dark"] .theme-toggle:hover { color: var(--sky); }
html:not([data-theme="dark"]) .ico-moon { display: none; }
html[data-theme="dark"] .ico-sun { display: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  box-shadow: 0 10px 24px -8px rgba(0, 81, 135, .55);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(0, 81, 135, .65); }
.btn-ghost {
  border: 1.5px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--sky); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .55); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }

.cv-drop { position: relative; }
.cv-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s ease;
}
.cv-drop.open .cv-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.cv-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
}
.cv-menu a:hover { background: color-mix(in srgb, var(--pastel) 45%, transparent); }
.cv-badge {
  width: 30px; height: 22px; border-radius: 6px; flex: none;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
  padding: calc(var(--nav-h) + 40px) 20px 60px;
}
.hero-hello {
  font-size: 15px; font-weight: 600; color: var(--blue);
  letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(42px, 8.4vw, 96px);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.015em;
  word-spacing: 0.04em;
}
.hero-title .line { display: block; }
.hero-title .line + .line { margin-top: 0.05em; }
.grad-text {
  background: linear-gradient(90deg, var(--navy), var(--blue) 35%, var(--sky) 70%, var(--navy));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
html[data-theme="dark"] .grad-text {
  background-image: linear-gradient(90deg, var(--pastel), var(--sky) 40%, #fff 70%, var(--pastel));
}
@keyframes shine { to { background-position: 220% center; } }
#rotator { min-height: 1.05em; }
.hero-sub {
  max-width: 640px; margin: 34px auto 0;
  font-size: clamp(16px, 2vw, 19px); line-height: 1.65; color: var(--muted);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: clamp(20px, 5vw, 64px); justify-content: center;
  margin-top: 64px; flex-wrap: wrap;
}
.stat b {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy);
}
html[data-theme="dark"] .stat b { color: var(--sky); }
.stat b::after { content: "+"; color: var(--sky); }
.stat span { font-size: 13px; color: var(--muted); max-width: 130px; display: block; line-height: 1.4; margin-top: 2px; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--blue); border-radius: 999px;
  opacity: .6;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; border-radius: 4px;
  background: var(--blue); transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; top: 7px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 18px 0;
  background: linear-gradient(90deg, var(--navy), var(--blue) 55%, var(--navy));
  transform: rotate(-1.2deg) scale(1.02);
}
.marquee-track { display: inline-flex; align-items: center; gap: 34px; animation: scrollx 26s linear infinite; }
.marquee span {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--ice); letter-spacing: 1px; text-transform: uppercase;
}
.marquee i { color: var(--sky); font-style: normal; font-size: 14px; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--pastel) 26%, transparent) 12%, color-mix(in srgb, var(--pastel) 26%, transparent) 88%, transparent);
}
html[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, transparent, rgba(12, 37, 64, .7) 12%, rgba(12, 37, 64, .7) 88%, transparent);
}
.container { width: min(1180px, 92vw); margin: 0 auto; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.22;
  max-width: 700px;
}
.section-sub { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 560px; line-height: 1.6; }

/* ---------- sobre ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 5vw, 72px);
  margin-top: 48px; align-items: start;
}
.about-text p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; }
.tools { margin-top: 28px; }
.tools h3, .timeline h3 {
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.tools ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.tools li {
  font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px;
  background: color-mix(in srgb, var(--pastel) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--sky) 45%, transparent);
  color: var(--text);
}
.about-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.timeline {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.tl-h2 { margin-top: 30px; }
.tl-item {
  position: relative; padding: 0 0 20px 24px;
  border-left: 2px solid color-mix(in srgb, var(--sky) 50%, transparent);
  margin-left: 6px;
}
.tl-item:last-child { padding-bottom: 4px; }
.tl-dot {
  position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--sky); border: 2.5px solid var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 35%, transparent);
}
.tl-item b { display: block; font-size: 15px; font-family: 'Poppins', sans-serif; }
.tl-item em { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- filtros + galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 30px; }
.chip {
  font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--muted);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  transition: all .22s ease;
}
.chip:hover { border-color: var(--sky); color: var(--text); transform: translateY(-1px); }
.chip.active {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(0, 81, 135, .6);
}

.gallery { columns: 3 300px; column-gap: 18px; }
.card {
  position: relative; break-inside: avoid; margin-bottom: 18px;
  border-radius: 16px; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 26px -14px rgba(0, 81, 135, .35);
  transform: translateY(14px); opacity: 0;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s, box-shadow .3s;
}
.card.show { transform: translateY(0); opacity: 1; }
.card:hover { box-shadow: 0 22px 44px -16px rgba(0, 81, 135, .5); }
.card img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.045); }
.card.dark-bg { background: #0d2033; }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 32, 55, .82));
  opacity: 0; transition: opacity .35s ease;
  display: flex; align-items: flex-end; padding: 16px;
}
.card:hover .card-overlay { opacity: 1; }
.card-overlay span { color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--navy); background: rgba(252, 255, 255, .92);
  padding: 5px 10px; border-radius: 999px;
  opacity: 0; transform: translateY(-4px); transition: all .3s ease;
}
.card:hover .card-tag { opacity: 1; transform: translateY(0); }
.card.hidden { display: none; }
.btn-more { margin: 34px auto 0; display: flex; }
.btn-more.hidden { display: none; }

/* ---------- vídeos ---------- */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px; margin-top: 44px;
}
.vcard {
  position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: #0d2033;
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 26px -14px rgba(0, 81, 135, .4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.vcard:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -16px rgba(0, 81, 135, .55); }
.vcard img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .6s, opacity .3s; }
.vcard:hover img { transform: scale(1.05); opacity: 1; }
.vcard .vlabel {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.vcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 25, 44, .75));
}
.vplay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(252, 255, 255, .95); color: var(--navy);
  display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .5);
  transition: transform .3s ease;
}
.vcard:hover .vplay { transform: translate(-50%, -50%) scale(1.12); }

/* ---------- contato ---------- */
.contact-card {
  text-align: center;
  background:
    radial-gradient(120% 160% at 20% 0%, color-mix(in srgb, var(--pastel) 65%, transparent), transparent 55%),
    linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 28px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  color: #fff;
  box-shadow: 0 30px 70px -24px rgba(0, 81, 135, .6);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: color-mix(in srgb, var(--sky) 40%, transparent);
  filter: blur(80px); top: -120px; right: -80px;
}
.contact-card h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -1px; position: relative; }
.contact-card > p { margin: 16px auto 0; max-width: 520px; color: var(--pastel); font-size: 16.5px; line-height: 1.6; position: relative; }
.contact-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; position: relative; }
.contact-card .btn-ghost { border-color: rgba(252, 255, 255, .4); color: #fff; background: rgba(252, 255, 255, .08); }
.contact-loc {
  margin-top: 26px; font-size: 14px; color: var(--pastel); position: relative;
  display: inline-flex; align-items: center; gap: 7px;
}

.footer { text-align: center; padding: 44px 20px 34px; font-size: 13.5px; color: var(--muted); }
.footer-logo { height: 48px; width: auto; margin: 0 auto 16px; opacity: .95; }
.footer-logo-dark { display: none; }
html[data-theme="dark"] .footer-logo-light { display: none; }
html[data-theme="dark"] .footer-logo-dark { display: block; }

/* ---------- voltar ao topo (anel de progresso) ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 96px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--line); color: var(--navy);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(0, 81, 135, .45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s, transform .3s cubic-bezier(.2, .7, .2, 1);
}
html[data-theme="dark"] .to-top { color: var(--sky); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--sky); transform: translateY(-3px); }
.to-top .ring { position: absolute; inset: 3px; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .ring-bg { stroke: color-mix(in srgb, var(--pastel) 70%, transparent); }
.to-top .ring-fg {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 125.66; stroke-dashoffset: 125.66;
}
html[data-theme="dark"] .to-top .ring-bg { stroke: rgba(132, 182, 244, .25); }
html[data-theme="dark"] .to-top .ring-fg { stroke: var(--sky); }
.to-top .arrow { position: relative; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 18, 32, .93);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage {
  max-width: min(1400px, 94vw); max-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  overflow: auto; border-radius: 12px;
}
.lb-stage img, .lb-stage video {
  max-width: min(1400px, 94vw); max-height: 78vh;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  animation: lbin .35s cubic-bezier(.2, .7, .2, 1);
}
.lightbox.zoomed .lb-stage { cursor: grab; }
.lightbox.zoomed .lb-stage img { max-width: none; max-height: none; width: auto; cursor: grab; }
@keyframes lbin { from { transform: scale(.96); opacity: 0; } }
.lb-close {
  position: absolute; top: 20px; right: 24px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; font-size: 17px;
  background: rgba(252, 255, 255, .12); color: #fff;
  transition: background .2s;
}
.lb-close:hover { background: rgba(252, 255, 255, .25); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1;
  background: rgba(252, 255, 255, .12); color: #fff;
  transition: background .2s, transform .2s;
}
.lb-nav:hover { background: rgba(252, 255, 255, .25); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-bar {
  display: flex; align-items: center; gap: 18px; margin-top: 18px;
  color: #dbe9fb; font-size: 14px; padding: 0 20px; flex-wrap: wrap; justify-content: center;
}
.lb-count { color: var(--sky); font-weight: 600; }
.lb-zoom {
  font-size: 13px; font-weight: 600; color: #fff;
  border: 1px solid rgba(252, 255, 255, .35); border-radius: 999px; padding: 7px 14px;
  transition: all .2s;
}
.lb-zoom:hover, .lightbox.zoomed .lb-zoom { background: var(--sky); border-color: var(--sky); color: #06253d; }

/* ---------- widget whatsapp ---------- */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.wa-fab {
  position: relative;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .65);
  transition: transform .25s ease;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid #25d366;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.65); opacity: 0; }
}
.wa-popup {
  position: absolute; right: 0; bottom: 76px;
  width: min(340px, calc(100vw - 44px));
  background: var(--surface); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -18px rgba(0, 30, 55, .45);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97);
  transition: all .3s cubic-bezier(.2, .7, .2, 1);
}
.wa-popup.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-head {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #fff; padding: 15px 16px;
}
.wa-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(252, 255, 255, .55);
}
.wa-head b { font-size: 15px; display: block; }
.wa-head small { font-size: 12px; opacity: .85; }
.wa-head button { margin-left: auto; color: #fff; font-size: 15px; opacity: .8; padding: 6px; }
.wa-body {
  padding: 18px 16px;
  background:
    color-mix(in srgb, var(--pastel) 20%, var(--bg));
  min-height: 110px;
}
.wa-msg {
  background: var(--surface); border-radius: 4px 16px 16px 16px;
  padding: 12px 14px; font-size: 14px; line-height: 1.55;
  max-width: 92%; box-shadow: 0 4px 14px -6px rgba(0, 30, 55, .2);
  white-space: pre-line;
}
.typing { display: inline-flex; gap: 4px; padding: 2px 0; }
.typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .4;
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 40% { opacity: 1; transform: translateY(-2px); } }
.wa-input {
  display: flex; gap: 8px; padding: 12px;
  background: var(--surface); border-top: 1px solid var(--line);
}
.wa-input input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 16px; font-size: 14px; font-family: inherit;
  background: var(--bg); color: var(--text); outline: none;
}
.wa-input input:focus { border-color: var(--sky); }
.wa-input button {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: #25d366; color: #fff; display: grid; place-items: center;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 45;
    flex-direction: column; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(0, 30, 55, .35);
    padding: 6px 0 18px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .32s cubic-bezier(.2, .7, .2, 1), opacity .28s ease, visibility .32s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a {
    display: flex; align-items: center;
    padding: 17px clamp(20px, 6vw, 40px);
    font-size: 16px; font-weight: 600; color: var(--text);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
  .nav-mobile-extra {
    display: flex; flex-direction: column; gap: 10px;
    padding: 18px clamp(20px, 6vw, 40px) 4px;
  }
  .nav-mobile-extra .btn { justify-content: center; padding: 14px 20px; font-size: 15px; }
  .hamburger { display: flex; }
  .cv-drop { display: none; }
}
@media (max-width: 560px) {
  .gallery { columns: 2 150px; column-gap: 12px; }
  .card { margin-bottom: 12px; border-radius: 12px; }
  .brand-logo { height: 36px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lang-switch { padding: 2px; }
  .hero-stats { gap: 18px; }
  .to-top { right: 14px; bottom: 84px; width: 46px; height: 46px; }
  .wa-widget { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
