  :root {
    --bg: #000;
    --bg-secondary: #0a0a0a;
    --text: #fff;
    --text-muted: rgba(255,255,255,0.7);
    --nav-link: rgba(255,255,255,0.8);
    --border: rgba(255,255,255,0.2);
    --btn-bg: rgba(255,255,255,0.07);
    --avatar-bg: #0a1a10;
  }
  html.light {
    --bg: #f4f4f0;
    --bg-secondary: #eaeae5;
    --text: #0a0a0a;
    --text-muted: rgba(0,0,0,0.6);
    --nav-link: rgba(0,0,0,0.7);
    --border: rgba(0,0,0,0.15);
    --btn-bg: rgba(0,0,0,0.06);
    --avatar-bg: #d4f5e5;
  }

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

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
  }
  html {
    scroll-behavior: smooth;
  }
  #inicio,
  #sobre,
  #projetos,
  #experiencia,
  #contato {
    scroll-margin-top: 128px;
  }

  /* Blobs */
  .blob-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.75;
    animation: blobMove 8s ease-in-out infinite alternate;
  }
  .blob-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #00ff88, #003d22);
    top: -160px; left: -120px;
    animation-delay: 0s;
  }
  .blob-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #00e07a, #001a0f);
    top: -80px; right: 10%;
    animation-delay: -3s;
  }
  .blob-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, #00ff88, #003d22);
    top: 30%; left: 5%;
    animation-delay: -5s;
  }
  @keyframes blobMove {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, 20px) scale(1.05); }
    100% { transform: translate(-20px, 40px) scale(0.97); }
  }

  /* Nav */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    margin: 0 auto;
    transition: top 0.3s ease, padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, max-width 0.3s ease;
  }
  nav.scrolled {
    top: 14px;
    width: min(1180px, calc(100% - 28px));
    max-width: 1180px;
    padding: 12px 22px;
    border-radius: 20px;
    background: rgba(8,12,10,0.72);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 55px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  nav.scrolled .nav-links a {
    font-size: 13px;
  }
  nav.scrolled .nav-icons svg,
  nav.scrolled .nav-right svg {
    transform: scale(0.94);
    transition: transform 0.3s ease;
  }
  nav.scrolled .lang-toggle {
    font-size: 11px;
  }
  html.light nav.scrolled {
    background: rgba(255,255,255,0.82);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 18px 48px rgba(15,23,42,0.12);
  }
  .nav-icons {
    display: flex;
    gap: 16px;
  }
  .nav-icons a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  .nav-icons a:hover { opacity: 1; }
  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s, background 0.2s;
    position: relative;
    padding: 6px 0;
  }
  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: #00ff88;
    border-radius: 2px;
  }
  .nav-links a.active {
    color: #00ff88;
    opacity: 1;
  }
  nav.scrolled .nav-links a.active {
    color: #00ff88;
    opacity: 1;
  }
  .nav-links a:hover { opacity: 1; }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    opacity: 0.8;
  }
  .toggle-pill {
    width: 42px; height: 22px;
    background: linear-gradient(to right, #00ff88, #00cc66);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
  }
  .toggle-pill::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: transform 0.3s;
  }
  /* Hero */
  .hero {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 80px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
  }

  .hello-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease both;
  }
  .hello-badge .badge {
    background: #00ff88;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 6px 18px;
    border-radius: 999px;
  }
  .hello-badge .im {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
  }

  h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease 0.15s both;
    width: 100%;
    text-align: center;
  }

  .title-bracket {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 52px;
    animation: fadeUp 0.8s ease 0.3s both;
    padding: 10px 0;
  }

  .title-ghost,
  .title-main {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    color: #fff;
    filter: blur(5px);
    transition: filter 2s;
    cursor: pointer;
  }

  .title-ghost.in-focus,
  .title-main.in-focus {
    filter: blur(0px);
    transition: filter 2s;
  }

  /* Frame bracket — posicionado absolutamente, se move via JS */
  .bracket-frame {
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    transition: left 0.75s cubic-bezier(0.77, 0, 0.175, 1),
                width 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .bracket-frame::before,
  .bracket-frame::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    border-color: #00ff88;
    border-style: solid;
  }
  .bracket-frame::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
  .bracket-frame::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
  .bracket-frame .corner-tr,
  .bracket-frame .corner-bl {
    position: absolute;
    width: 14px; height: 14px;
    border-color: #00ff88;
    border-style: solid;
  }
  .bracket-frame .corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
  .bracket-frame .corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00ff88;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    animation: fadeUp 0.8s ease 0.45s both;
  }
  .cta-btn:hover { background: #00e07a; transform: translateY(-2px); }

  .scroll-arrow {
    margin-top: 16px;
    animation: bounce 2s ease infinite, fadeUp 0.8s ease 0.6s both;
    opacity: 0.5;
    font-size: 20px;
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .toggle-pill.en::after {
    transform: translateX(20px);
  }
  .avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease both;
  }
  .avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(#00ff88, #003d22 40%, #00ff88);
    animation: spinRing 3s linear infinite;
  }
  .avatar-ring::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #000;
  }
  .avatar-inner {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #00ff88;
  }
  @keyframes spinRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  html.light ::-webkit-scrollbar-track { background: #f4f4f0; }
  html.light .blob-1 { background: radial-gradient(circle, #00ff88, #00cc66); opacity: 0.25; }
  html.light .blob-2 { background: radial-gradient(circle, #00e07a, #00aa55); opacity: 0.2; }
  html.light .blob-3 { background: radial-gradient(circle, #00ff88, #009944); opacity: 0.15; }
  html.light .hello-badge .im { color: rgba(0,0,0,0.6); }
  html.light h1 { color: #0a0a0a; }
  html.light .title-ghost,
  html.light .title-main { color: rgba(0,0,0,0.25); }
  html.light .title-ghost.in-focus,
  html.light .title-main.in-focus { color: #0a0a0a; }
  html.light .scroll-arrow { color: rgba(0,0,0,0.4); }

  /* Ticker */
  .ticker-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
    margin: 0 0 54px;
    border-top: 1px solid rgba(0,255,136,0.15);
    border-bottom: 1px solid rgba(0,255,136,0.15);
    background: rgba(0,0,0,0.5);
    padding: 13px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }
  html.light .ticker-wrap {
    background: rgba(240,240,236,0.7);
    border-color: rgba(0,180,90,0.2);
  }
  .ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 25s linear infinite;
  }
  .ticker-track:hover { animation-play-state: paused; }
  @keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .ticker-set {
    display: flex;
    align-items: center;
  }
  .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.6;
    white-space: nowrap;
    transition: opacity 0.2s;
    cursor: default;
  }
  .ticker-item:hover { opacity: 1; }
  .ticker-logo {
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 1.5px solid rgba(0,255,136,0.5);
    object-fit: contain;
    background: rgba(0,255,136,0.05);
    padding: 2px;
    flex-shrink: 0;
  }
  .ticker-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00ff88;
    opacity: 0.8;
    flex-shrink: 0;
  }
  .ticker-sep {
    color: #00ff88;
    opacity: 0.3;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
  }

  /* ===== ABOUT SECTION ===== */
  .about-section {
    position: relative;
    z-index: 10;
    padding: 82px 48px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }
  .about-section::before {
    display: none;
  }
  html.light .about-section {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .about-section > * {
    position: relative;
    z-index: 1;
  }
  .about-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00ff88;
    margin-bottom: 10px;
  }
  .about-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
  }
  .about-desc {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
  }
  .about-desc strong {
    color: var(--text);
    font-weight: 700;
  }
  .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 940px;
    width: 100%;
    margin: 0 auto 56px;
  }
  .stat-card {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(0,255,136,0.12);
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
  }
  .stat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(0,255,136,0.7), transparent 70%);
    opacity: 0.7;
  }
  .stat-card:hover {
    background: rgba(0,255,136,0.06);
    border-color: rgba(0,255,136,0.24);
    transform: translateY(-2px);
  }
  html.light .stat-card {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,150,70,0.16);
  }
  html.light .stat-card:hover {
    background: rgba(0,150,70,0.05);
  }
  .stat-num {
    font-size: 38px;
    font-weight: 800;
    color: #00ff88;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.55;
    letter-spacing: 0.01em;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    width: 100%;
  }
  /* Left card - skills */
  .skills-card {
    background: transparent;
    border: none;
    border-radius: 28px;
    padding: 32px;
    box-shadow: none;
  }
  html.light .skills-card {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .skills-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
  }
  .skills-card-mark {
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.18);
    color: #00ff88;
  }
  html.light .skills-card-mark {
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.16);
    color: #008040;
  }
  .skills-card-copy {
    flex: 1;
  }
  .skills-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .skills-card-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
  }
  .skills-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
  }
  .skills-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.16);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
  }
  .skills-highlight::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
  }
  html.light .skills-highlight {
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.14);
  }
  .skill-group { margin-bottom: 20px; }
  .skill-group-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00ff88;
    opacity: 0.8;
    margin-bottom: 8px;
  }
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .skill-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.2);
    color: var(--text);
    transition: background 0.2s, border-color 0.2s;
  }
  .skill-tag:hover {
    background: rgba(0,255,136,0.16);
    border-color: rgba(0,255,136,0.4);
  }
  html.light .skill-tag {
    background: rgba(0,150,70,0.08);
    border-color: rgba(0,150,70,0.25);
  }
  /* Education section */
  .edu-section {
    width: 100%;
    margin-top: 48px;
  }
  .edu-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .edu-section-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .edu-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .edu-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .edu-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,255,136,0.12);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
  }
  .edu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, #00ff88, transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .edu-card:hover {
    background: rgba(0,255,136,0.05);
    border-color: rgba(0,255,136,0.25);
    transform: translateY(-2px);
  }
  .edu-card:hover::before { opacity: 1; }
  html.light .edu-card { background: rgba(0,0,0,0.02); border-color: rgba(0,150,70,0.15); }
  html.light .edu-card:hover { background: rgba(0,150,70,0.04); border-color: rgba(0,150,70,0.3); }

  .edu-card-logo {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(0,255,136,0.15);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
  }
  .edu-card-logo img { width: 38px; height: 38px; object-fit: contain; }
  .edu-card-logo.has-bg {
    background: #fff;
  }
  .edu-logo-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    color: #00ff88;
    background: rgba(0,255,136,0.08);
  }
  .edu-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
  }
  .edu-card-course {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
  }
  .edu-card-school {
    font-size: 13px;
    font-weight: 500;
    color: #00ff88;
  }
  html.light .edu-card-school { color: #008040; }
  .edu-card-type {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
  }
  .edu-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
  }
  .edu-badge.cursando {
    background: rgba(0,255,136,0.1);
    color: #00ff88;
    border: 1px solid rgba(0,255,136,0.25);
  }
  .edu-badge.concluindo {
    background: rgba(250,204,21,0.1);
    color: #facc15;
    border: 1px solid rgba(250,204,21,0.25);
  }
  html.light .edu-badge.cursando { color: #008040; background: rgba(0,160,80,0.1); border-color: rgba(0,160,80,0.3); }
  html.light .edu-badge.concluindo { color: #a16207; background: rgba(161,98,7,0.08); border-color: rgba(161,98,7,0.25); }

  /* ===== RIGHT SIDE ===== */
  .about-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
  }
  .photo-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 0;
  }
  .photo-frame {
    position: relative;
    padding: 22px;
    border-radius: 28px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  html.light .photo-frame {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .photo-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(7,11,8,0.92);
    border: 1px solid rgba(0,255,136,0.28);
    color: #f7fff9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }
  .photo-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 0 6px rgba(0,255,136,0.16);
  }
  html.light .photo-badge {
    background: rgba(255,255,255,0.94);
    color: #0a0a0a;
    border-color: rgba(0,128,64,0.2);
  }
  /* Rotating text circle */
  .rotating-circle {
    position: absolute;
    top: -52px;
    right: -28px;
    z-index: 4;
    width: 164px;
    height: 164px;
    flex-shrink: 0;
  }
  .rotating-circle svg {
    animation: spinText 10s linear infinite;
    width: 164px;
    height: 164px;
  }
  .rotating-circle .center-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(0,255,136,0.1);
    border: 1.5px solid rgba(0,255,136,0.4);
    display: flex; align-items: center; justify-content: center;
  }
  .rotating-circle .center-dot svg {
    animation: none;
    width: 24px; height: 24px;
  }
  @keyframes spinText {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  /* Photo grid */
  .photo-grid {
    width: 100%;
  }
  .photo-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 7 / 8;
    position: relative;
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  }
  .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease;
  }
  .photo-card:hover img { transform: scale(1.03); }
  .photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, rgba(0,0,0,0.68) 2%, rgba(0,0,0,0.12) 38%, transparent 62%),
      linear-gradient(140deg, rgba(0,255,136,0.16), transparent 24%);
    pointer-events: none;
  }
  html.light .photo-card {
    border-color: rgba(0,0,0,0.08);
    background: #fff;
  }
  .photo-details {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-inline: 4px;
  }
  .photo-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #00ff88;
  }
  html.light .photo-kicker { color: #008040; }
  .photo-meta {
    display: grid;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  html.light .photo-meta { border-top-color: rgba(0,0,0,0.08); }
  .photo-meta strong {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .photo-meta span {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
  }
  .content-section {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 48px;
  }
  #projetos.content-section {
    margin-bottom: 0;
  }
  #certificados.content-section {
    margin-top: 0;
    margin-bottom: 0;
  }
  #certificados .certs-head {
    align-items: center;
    gap: 18px;
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
  }
  #certificados .section-eyebrow,
  #certificados .section-heading,
  #certificados .section-copy {
    margin: 0;
  }
  #certificados .section-heading {
    line-height: 1.04;
  }
  #certificados .section-copy {
    max-width: 760px;
    line-height: 1.75;
  }
  #contato.content-section {
    margin-top: 64px;
  }
  .section-shell {
    border-radius: 32px;
    padding: 72px 40px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
      rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 80px rgba(0,0,0,0.16);
  }
  html.light .section-shell {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.72)),
      rgba(255,255,255,0.76);
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 20px 56px rgba(15,23,42,0.08);
  }
  /* projects section: sem container */
  .section-shell.projects-shell {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-top: 28px;
    padding-bottom: 88px;
    padding-left: 0;
    padding-right: 0;
  }
  .section-head {
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin-bottom: 36px;
  }
  .section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #00ff88;
  }
  html.light .section-eyebrow { color: #008040; }
  .section-heading {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
  }
  .section-copy {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
  }
  .projects-shell {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }
  #projetos.content-section {
    max-width: 1440px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .projects-shell::before {
    display: none;
  }
  .projects-head {
    text-align: center;
    justify-items: center;
    max-width: 860px;
    gap: 18px;
    margin: 0 auto 72px;
    position: relative;
    z-index: 1;
  }
  .projects-head .section-heading {
    font-size: clamp(40px, 5.4vw, 60px);
  }
  .projects-head .section-copy {
    max-width: 920px;
    font-size: 21px;
    line-height: 1.85;
  }
  .project-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
  }
  .project-showcase + .project-showcase {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  html.light .project-showcase + .project-showcase {
    border-top-color: rgba(0,0,0,0.08);
  }
  .project-visual {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .project-visual::before {
    content: '';
    position: absolute;
    width: 74%;
    height: 74%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,136,0.18), transparent 62%);
    filter: blur(32px);
    opacity: 0.95;
  }
  .project-stage {
    position: relative;
    width: min(100%, 960px);
    min-height: 500px;
    border-radius: 34px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px solid rgba(0,255,136,0.12);
    box-shadow: 0 26px 72px rgba(0,0,0,0.26);
    overflow: hidden;
  }
  .project-stage::before {
    content: '';
    position: relative;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(0,255,136,0.06), transparent 34%),
      linear-gradient(180deg, rgba(255,255,255,0.02), transparent 100%);
    pointer-events: none;
  }
  .project-stage-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
  }
  .project-stage-brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .project-stage-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(0,255,136,0.95), rgba(0,116,64,0.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 24px rgba(0,255,136,0.18);
    position: relative;
  }
  .project-stage-logo::before,
  .project-stage-logo::after {
    content: '';
    position: absolute;
    background: rgba(5,10,8,0.78);
    border-radius: 999px;
  }
  .project-stage-logo::before {
    width: 16px;
    height: 16px;
    left: 11px;
    top: 9px;
  }
  .project-stage-logo::after {
    width: 20px;
    height: 6px;
    right: 7px;
    bottom: 10px;
    transform: rotate(-28deg);
  }
  .project-stage-brand strong {
    display: block;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .project-stage-brand span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
  }
  /* ── Badge chip com pulso animado ── */
  .project-stage-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0,255,136,0.10);
    border: 1px solid rgba(0,255,136,0.28);
    color: #7bffbe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(0,255,136,0.12);
  }
  .project-stage-chip .chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    position: relative;
    flex-shrink: 0;
  }
  .project-stage-chip .chip-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(0,255,136,0.35);
    animation: chipPulse 1.8s ease-in-out infinite;
  }
  @keyframes chipPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.7); opacity: 0; }
  }

  /* ── Stage grid + tilt 3D ── */
  .project-stage-grid {
    position: relative;
    z-index: 1;
    display: block;
    perspective: 900px;
  }
  .project-tilt-wrap {
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out;
    will-change: transform;
    border-radius: 22px;
  }

  /* ── Browser mockup frame ── */
  .browser-mockup {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(18,22,20,0.98);
    box-shadow: 0 28px 64px rgba(0,0,0,0.38), 0 0 0 1px rgba(0,255,136,0.06);
  }
  .browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    user-select: none;
  }
  .browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }
  .browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  .browser-dots span:nth-child(1) { background: #ff5f57; }
  .browser-dots span:nth-child(2) { background: #febc2e; }
  .browser-dots span:nth-child(3) { background: #28c840; }
  .browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html.light .browser-mockup {
    background: #f0f0ec;
    border-color: rgba(0,0,0,0.10);
  }
  html.light .browser-bar {
    background: rgba(0,0,0,0.04);
    border-bottom-color: rgba(0,0,0,0.08);
  }
  html.light .browser-url {
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.4);
  }

  /* ── Screenshot carousel ── */
  .screenshot-carousel {
    position: relative;
    overflow: hidden;
    line-height: 0;
  }
  .screenshot-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  }
  .screenshot-track img {
    display: block;
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
  }
  .screenshot-track img.scroll-preview {
    object-position: top;
    transition: object-position 2.4s ease-in-out;
  }
  .browser-mockup:hover .screenshot-track img.scroll-preview {
    object-position: bottom;
  }

  /* ── Carousel nav dots ── */
  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 4px;
  }
  .carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s, width 0.2s;
  }
  .carousel-dot.active {
    background: #00ff88;
    width: 18px;
    border-radius: 999px;
  }
  html.light .carousel-dot { background: rgba(0,0,0,0.15); }
  html.light .carousel-dot.active { background: #008040; }
  .screenshot-carousel .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0;
  }
  .screenshot-carousel:hover .carousel-arrow { opacity: 1; }
  .screenshot-carousel .carousel-arrow:hover { background: rgba(0,255,136,0.25); }
  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }

  /* ── Slide-in on scroll ── */
  .project-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
  }
  .project-visual.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .project-image-frame { display: none; }

  /* ── Rich mockup card ── */
  .mockup-card {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, #0a1a10 0%, #050d08 100%);
    border: 1px solid rgba(0,255,136,0.14);
    box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,255,136,0.06);
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .mockup-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(0,255,136,0.10) 0%, transparent 55%);
    pointer-events: none;
  }

  /* top bar */
  .mockup-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
  }
  .mockup-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mockup-logo {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: linear-gradient(140deg, #00ff88, #007744);
    box-shadow: 0 4px 14px rgba(0,255,136,0.3);
    flex-shrink: 0;
  }
  .mockup-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
  }
  .mockup-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0,255,136,0.10);
    border: 1px solid rgba(0,255,136,0.25);
    color: #00ff88;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
  }
  .mockup-live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00ff88;
    position: relative;
  }
  .mockup-live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(0,255,136,0.3);
    animation: livePulse 1.6s ease-in-out infinite;
  }
  @keyframes livePulse {
    0%,100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.8); opacity: 0; }
  }

  /* hero area */
  .mockup-hero {
    padding: 24px 20px 16px;
    position: relative;
    z-index: 1;
  }
  .mockup-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00ff88;
    margin-bottom: 8px;
    opacity: 0.85;
  }
  .mockup-title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
  }
  .mockup-title span { color: #00ff88; }
  .mockup-desc {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 380px;
  }

  /* video strip */
  .mockup-screens {
    padding: 0 20px 16px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .mockup-video-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    background: #05070d;
    width: 100%;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.04),
      inset 0 0 0 10px #05070d,
      0 10px 26px rgba(0,0,0,0.24);
  }
  .mockup-video-wrap video {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    object-fit: fill;
    background: transparent;
  }
  .carousel-card .mockup-video-wrap {
    aspect-ratio: 16 / 9;
  }
  .carousel-card .mockup-video-wrap video {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  /* subtle green glow on the video border */
  .mockup-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.03),
      inset 0 0 0 11px rgba(3,5,10,0.92),
      inset 0 0 0 12px rgba(0,255,136,0.06);
    pointer-events: none;
  }
  .mockup-video-wrap::before {
    content: '';
    position: absolute;
    inset: 12px 12px auto;
    height: 28%;
    border-radius: 12px 12px 24px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 1;
  }
  .mockup-laptop {
    width: min(100%, 1120px);
    margin: 0 auto;
    filter: drop-shadow(0 34px 72px rgba(0,0,0,0.34));
    transform-style: preserve-3d;
    perspective: 1600px;
  }
  .mockup-laptop-screen {
    position: relative;
    padding: 16px 16px 18px;
    border-radius: 24px 24px 14px 14px;
    background: linear-gradient(180deg, #16181d 0%, #0c0e13 58%, #080a0e 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.55), 0 8px 20px rgba(0,0,0,0.16);
    transform-origin: center bottom;
    transform-style: preserve-3d;
    transition: transform 1.22s cubic-bezier(0.24, 0.72, 0.3, 1), box-shadow 1.08s ease;
  }
  .mockup-laptop-screen::before {
    content: '';
    position: absolute;
    inset: 8px 8px auto;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    pointer-events: none;
  }
  .mockup-laptop-notch {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 112px;
    height: 18px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #06080d 0%, #10141b 100%);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.04);
    z-index: 3;
  }
  .mockup-laptop-notch::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    width: 28px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
  }
  .mockup-laptop-camera {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: radial-gradient(circle at 35% 35%, #3b4350 0%, #151a22 42%, #05070c 100%);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(10,12,18,0.88);
  }
  .mockup-laptop-base {
    position: relative;
    width: calc(100% + 58px);
    height: 20px;
    margin: -1px 0 0 -29px;
    border-radius: 0 0 38px 38px;
    background: linear-gradient(180deg, #d9dee6 0%, #b2bac6 42%, #919aa8 72%, #7f8896 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -2px 3px rgba(0,0,0,0.18), 0 12px 22px rgba(0,0,0,0.16);
    transform-origin: top center;
    transform: perspective(1200px) rotateX(72deg) scaleY(0.92);
  }
  .mockup-laptop-base::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 26%;
    height: 6px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(122,130,141,0.95), rgba(182,190,201,0.82));
  }
  .mockup-laptop-trackpad {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    width: 16%;
    height: 3px;
    border-radius: 999px;
    background: rgba(107,115,126,0.55);
  }
  .mockup-laptop-shadow {
    width: 82%;
    height: 18px;
    margin: 6px auto 0;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.12) 48%, rgba(0,0,0,0) 78%);
    filter: blur(10px);
    transform: translateY(-4px);
    opacity: 0.72;
    transition: opacity 0.95s ease, transform 0.95s ease, width 1.08s ease;
  }
  .mockup-laptop.is-closed .mockup-laptop-screen {
    transform: perspective(1600px) rotateX(-82deg) translateY(8px) scale(0.992);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -1px 0 rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.1);
  }
  .mockup-laptop.is-closed .mockup-video-wrap {
    opacity: 0.15;
  }
  .mockup-laptop.is-closed .mockup-play-overlay {
    opacity: 0;
    pointer-events: none;
  }
  .mockup-laptop.is-closed .mockup-laptop-shadow {
    width: 76%;
    opacity: 0.58;
    transform: translateY(-2px);
  }
  .mockup-laptop.is-opening .mockup-laptop-screen {
    animation: laptopOpen 1.18s cubic-bezier(0.24, 0.72, 0.3, 1) forwards;
  }
  .mockup-laptop.is-opening .mockup-laptop-shadow {
    animation: laptopShadowSpread 1.18s ease forwards;
  }
  @keyframes laptopOpen {
    0% {
      transform: perspective(1600px) rotateX(-82deg) translateY(8px) scale(0.992);
    }
    72% {
      transform: perspective(1600px) rotateX(3deg) translateY(-1px) scale(1);
    }
    100% {
      transform: perspective(1600px) rotateX(0deg) translateY(0) scale(1);
    }
  }
  @keyframes laptopShadowSpread {
    0% {
      width: 76%;
      opacity: 0.58;
      transform: translateY(-2px);
    }
    72% {
      width: 83%;
      opacity: 0.74;
      transform: translateY(-5px);
    }
    100% {
      width: 82%;
      opacity: 0.72;
      transform: translateY(-4px);
    }
  }
  /* play overlay — shown when paused */
  .mockup-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.38);
    opacity: 0;
    transition: opacity 0.25s;
    cursor: pointer;
    border-radius: 14px;
  }
  .mockup-video-wrap:hover .mockup-play-overlay {
    opacity: 1;
  }
  .mockup-play-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(0,255,136,0.18);
    border: 1.5px solid rgba(0,255,136,0.5);
    display: flex; align-items: center; justify-content: center;
    color: #00ff88;
    backdrop-filter: blur(6px);
    transition: background 0.2s, transform 0.2s;
  }
  .mockup-play-overlay:hover .mockup-play-btn {
    background: rgba(0,255,136,0.30);
    transform: scale(1.08);
  }

  /* feature pills */
  .mockup-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 20px 20px;
    position: relative;
    z-index: 1;
  }
  .mockup-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .mockup-pill:hover {
    background: rgba(0,255,136,0.08);
    border-color: rgba(0,255,136,0.22);
    color: #fff;
  }
  .mockup-pill svg { flex-shrink: 0; color: #00ff88; }

  .catalog-preview {
    padding: 0 20px 22px;
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
  }
  .catalog-summary {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 14px;
  }
  .catalog-banner,
  .catalog-side-panel,
  .catalog-list-card,
  .catalog-metrics {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  }
  .catalog-banner {
    min-height: 190px;
    padding: 20px;
    background:
      radial-gradient(circle at top left, rgba(0,255,136,0.12), transparent 48%),
      linear-gradient(145deg, rgba(14,30,21,0.96), rgba(8,15,12,0.98));
    display: grid;
    align-content: end;
    gap: 8px;
  }
  .catalog-banner-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00ff88;
  }
  .catalog-banner-title {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 320px;
  }
  .catalog-banner-copy {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.56);
    max-width: 320px;
  }
  .catalog-side-panel {
    padding: 18px;
    display: grid;
    gap: 12px;
  }
  .catalog-side-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
  }
  .catalog-category-list {
    display: grid;
    gap: 10px;
  }
  .catalog-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
  }
  .catalog-category-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
  }
  .catalog-category-count {
    font-size: 11px;
    font-weight: 700;
    color: #00ff88;
  }
  .catalog-bottom {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
  }
  .catalog-list-card {
    padding: 18px;
    display: grid;
    gap: 12px;
  }
  .catalog-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .catalog-list-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }
  .catalog-list-badge {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.18);
    color: #83ffc0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .catalog-list {
    display: grid;
    gap: 10px;
  }
  .catalog-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .catalog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .catalog-thumb {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(0,255,136,0.24), rgba(0,255,136,0.04));
    border: 1px solid rgba(0,255,136,0.14);
  }
  .catalog-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
  }
  .catalog-item-meta {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
  }
  .catalog-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #00ff88;
  }
  .catalog-metrics {
    padding: 18px;
    display: grid;
    gap: 12px;
  }
  .catalog-metric {
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
  }
  .catalog-metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
  }
  .catalog-metric-label {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255,255,255,0.52);
  }

  /* light mode */
  html.light .mockup-card {
    background: linear-gradient(160deg, #f0f8f4 0%, #e8f5ee 100%);
    border-color: rgba(0,150,70,0.18);
    box-shadow: 0 28px 70px rgba(15,23,42,0.12);
  }
  html.light .mockup-topbar { border-bottom-color: rgba(0,0,0,0.07); }
  html.light .mockup-brand-name { color: #0a0a0a; }
  html.light .mockup-title { color: #0a0a0a; }
  html.light .mockup-desc { color: rgba(0,0,0,0.5); }
  html.light .mockup-pill { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: rgba(0,0,0,0.6); }
  html.light .mockup-pill:hover { background: rgba(0,128,64,0.08); border-color: rgba(0,128,64,0.2); color: #0a0a0a; }
  html.light .mockup-live-badge { background: rgba(0,128,64,0.08); border-color: rgba(0,128,64,0.22); color: #007740; }
  html.light .mockup-live-dot { background: #007740; }
  html.light .catalog-banner,
  html.light .catalog-side-panel,
  html.light .catalog-list-card,
  html.light .catalog-metrics,
  html.light .catalog-category-item,
  html.light .catalog-metric {
    background: rgba(255,255,255,0.58);
    border-color: rgba(0,0,0,0.08);
  }
  html.light .catalog-banner-title,
  html.light .catalog-category-name,
  html.light .catalog-list-title,
  html.light .catalog-item-name,
  html.light .catalog-metric-value {
    color: #0a0a0a;
  }
  html.light .catalog-banner-copy,
  html.light .catalog-side-title,
  html.light .catalog-item-meta,
  html.light .catalog-metric-label {
    color: rgba(0,0,0,0.5);
  }
  html.light .catalog-list-badge {
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.16);
    color: #007740;
  }
  .project-panel {
    display: grid;
    gap: 22px;
    width: 100%;
    text-align: center;
  }
  .project-feature-title {
    font-size: clamp(30px, 4.2vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--text);
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2px;
    text-wrap: balance;
    text-shadow: 0 10px 30px rgba(0,0,0,0.22);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease 0.1s, transform 0.55s ease 0.1s;
  }
  .project-feature-title.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .project-feature-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0,255,136,0.12), rgba(0,255,136,0.05));
    border: 1px solid rgba(0,255,136,0.2);
    box-shadow: 0 0 0 1px rgba(0,255,136,0.06), 0 10px 24px rgba(0,255,136,0.08);
    color: #00ff88;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .project-feature-label.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .project-feature-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
  }
  .project-feature-card {
    border-radius: 28px;
    padding: 8px 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .project-feature-card p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .project-feature-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease 0.2s, transform 0.55s ease 0.2s;
  }
  .project-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .project-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #04110a;
    background: linear-gradient(135deg, #00ff88, #00d470 58%, #00a658);
    box-shadow: 0 16px 34px rgba(0,255,136,0.18);
  }
  .project-action-btn.secondary {
    color: #04110a;
    background: linear-gradient(135deg, #00ff88, #00d470 58%, #00a658);
    border: none;
    box-shadow: 0 16px 34px rgba(0,255,136,0.18);
  }
  .project-action-btn svg {
    flex-shrink: 0;
  }
  .project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease 0.35s, transform 0.55s ease 0.35s;
  }
  .project-techs.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .project-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease 0.28s, transform 0.55s ease 0.28s;
  }
  .project-actions.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .project-techs span {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .project-techs span:hover {
    background: rgba(0,255,136,0.07);
    border-color: rgba(0,255,136,0.2);
    color: rgba(255,255,255,0.9);
  }
  html.light .project-techs span {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.5);
  }
  html.light .project-techs span:hover {
    background: rgba(0,128,64,0.07);
    border-color: rgba(0,128,64,0.18);
    color: rgba(0,0,0,0.8);
  }

  /* ═══════════════════════════════════════════
     CAROUSEL — Projects
  ═══════════════════════════════════════════ */
  .carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
  }
  .carousel-viewport {
    overflow: hidden;
    border-radius: 28px;
  }
  .carousel-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .carousel-card {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    border-radius: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  }
  html.light .carousel-card {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  }
  .carousel-card-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    min-width: 0;
  }
  .carousel-card-visual .mockup-laptop {
    transform: scale(0.85);
    transform-origin: center center;
  }
  .carousel-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  .carousel-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0,255,136,0.12), rgba(0,255,136,0.05));
    border: 1px solid rgba(0,255,136,0.2);
    color: #00ff88;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  html.light .carousel-card-label {
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.18);
    color: #008040;
  }
  .carousel-card-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
  }
  .carousel-card-title {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
  }
  .carousel-card-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
  }
  .carousel-card-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .carousel-card-techs span {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
  }
  html.light .carousel-card-techs span {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.55);
  }
  .carousel-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
  }
  .carousel-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #04110a;
    background: linear-gradient(135deg, #00ff88, #00d470 58%, #00a658);
    box-shadow: 0 12px 28px rgba(0,255,136,0.18);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .carousel-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0,255,136,0.25);
  }

  .projects-more-actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
  }
  .projects-more-btn,
  .projects-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0,255,136,0.24);
    background: rgba(0,255,136,0.08);
    color: #00ff88;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
  }
  .projects-more-btn:hover,
  .projects-nav-back:hover {
    transform: translateY(-2px);
    border-color: rgba(0,255,136,0.48);
    background: rgba(0,255,136,0.12);
  }
  html.light .projects-more-btn,
  html.light .projects-nav-back {
    border-color: rgba(0,128,64,0.2);
    background: rgba(0,128,64,0.08);
    color: #008040;
  }

  body.projects-drawer-open {
    overflow: hidden;
  }
  .projects-drawer {
    position: fixed;
    inset: 0;
    z-index: 240;
    pointer-events: none;
    visibility: hidden;
  }
  .projects-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
  }
  .projects-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.32s ease;
  }
  .projects-drawer.is-open .projects-drawer-backdrop {
    opacity: 1;
  }
  .projects-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(72vw, 980px);
    height: 100%;
    padding: 38px 38px 54px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 55% 0%, rgba(0,255,136,0.16), transparent 36%),
      linear-gradient(180deg, rgba(3,7,18,0.98), rgba(1,6,10,0.98));
    border-left: 1px solid rgba(255,255,255,0.12);
    box-shadow: -28px 0 80px rgba(0,0,0,0.48);
    transform: translateX(102%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .projects-drawer.is-open .projects-drawer-panel {
    transform: translateX(0);
  }
  .projects-drawer-close {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s, border-color 0.2s, background 0.2s;
  }
  .projects-drawer-close:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
  }
  .projects-drawer-close:focus-visible {
    outline: 2px solid #00ff88;
    outline-offset: 3px;
  }
  .projects-drawer-head {
    margin: -18px 0 34px;
  }
  .projects-drawer-head h2 {
    margin-top: 8px;
    color: #fff;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 0.95;
    letter-spacing: 0;
  }
  .projects-drawer-head h2 span {
    color: #00ff88;
  }
  .projects-drawer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .drawer-project-card {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(5,13,24,0.92);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 24px 50px rgba(0,0,0,0.28);
  }
  .drawer-project-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
  }
  .drawer-project-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .drawer-project-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .drawer-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .drawer-project-tags span {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,255,136,0.26);
    background: rgba(0,255,136,0.08);
    color: #7bffbe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .drawer-project-body h3 {
    color: #fff;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .drawer-project-body p {
    color: rgba(255,255,255,0.62);
    font-size: 14px;
    line-height: 1.65;
  }
  .drawer-project-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
  }
  .drawer-project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #00ff88, #00d470 58%, #00a658);
    transition: transform 0.2s, filter 0.2s;
  }
  .drawer-project-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
  }

  .projects-page-main {
    position: relative;
    z-index: 10;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 150px 0 90px;
  }
  .projects-page-hero {
    max-width: 760px;
    margin-bottom: 42px;
  }
  .projects-page-hero h1 {
    margin: 10px 0 16px;
    text-align: left;
    font-size: clamp(40px, 6vw, 72px);
  }
  .projects-page-hero p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
  }
  .all-projects-grid {
    display: grid;
    gap: 24px;
  }
  .all-project-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 30px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  }
  html.light .all-project-card {
    background: rgba(255,255,255,0.72);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  }
  .all-project-media {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #050806;
    aspect-ratio: 16 / 10;
  }
  .all-project-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .all-project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .all-project-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0,255,136,0.12), rgba(0,255,136,0.05));
    border: 1px solid rgba(0,255,136,0.2);
    color: #00ff88;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .all-project-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
  }
  .all-project-content h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  .all-project-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
  }

  /* Controls: arrows + dots in a row below */
  .carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
  }
  .carousel-arrow {
    appearance: none;
    -webkit-appearance: none;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(0,255,136,0.5);
    background: rgba(20,25,40,0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .carousel-arrow svg {
    display: block;
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
  }
  .carousel-arrow:hover {
    background: rgba(0,255,136,0.15);
    border-color: rgba(0,255,136,0.8);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(0,255,136,0.3);
  }
  html.light .carousel-arrow {
    background: rgba(240,240,245,0.9);
    border-color: rgba(0,128,64,0.4);
    color: #1a1a2e;
  }
  html.light .carousel-arrow svg {
    stroke: #1a1a2e;
  }
  html.light .carousel-arrow:hover {
    background: rgba(0,255,136,0.1);
    border-color: rgba(0,128,64,0.7);
    box-shadow: 0 0 20px rgba(0,128,64,0.2);
  }

  /* Dots */
  .carousel-dots {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, width 0.3s, border-radius 0.3s;
  }
  .carousel-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #00ff88;
    transform: scale(1);
    box-shadow: 0 0 14px rgba(0,255,136,0.5);
  }
  html.light .carousel-dot {
    background: rgba(0,0,0,0.18);
  }
  html.light .carousel-dot.active {
    background: #008040;
    box-shadow: 0 0 14px rgba(0,128,64,0.4);
  }

  /* ═══════════════════════════════════════════
     CAROUSEL — Certificados
  ═══════════════════════════════════════════ */
  .certs-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
  }
  .certs-carousel-wrapper .carousel-arrow {
    display: none;
  }
  .certs-carousel-controls {
    display: none;
  }
  .certs-carousel-viewport {
    overflow: hidden;
  }
  .certs-carousel-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .certs-carousel-card {
    width: calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
    flex: 0 0 calc(33.333% - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(15,15,25,0.85);
    border: 2px solid rgba(0,255,136,0.5);
    box-shadow: 0 0 20px rgba(0,255,136,0.15), 0 16px 40px rgba(0,0,0,0.2);
    text-align: center;
    gap: 20px;
  }
  html.light .certs-carousel-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,128,64,0.4);
    box-shadow: 0 0 20px rgba(0,128,64,0.1), 0 16px 40px rgba(0,0,0,0.06);
  }
  .certs-carousel-img {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
  }
  html.light .certs-carousel-img {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
  }
  .certs-carousel-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  .certs-carousel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .certs-carousel-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .certs-carousel-issuer {
    font-size: 14px;
    color: var(--text-muted);
  }
  .certs-carousel-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0,255,136,0.12);
    border: 1px solid rgba(0,255,136,0.35);
    color: #00ff88;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
  html.light .certs-carousel-badge {
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.3);
    color: #008040;
  }

  @media (max-width: 980px) {
    .certs-carousel-card {
      width: calc(50% - 12px);
      min-width: calc(50% - 12px);
      flex-basis: calc(50% - 12px);
    }
  }
  @media (max-width: 640px) {
    .certs-carousel-controls {
      display: flex;
    }
    .certs-carousel-card {
      width: 100%;
      min-width: 100%;
      flex-basis: 100%;
      padding: 20px 16px;
    }
  }

  .project-card,
  .timeline-item,
  .contact-panel {
    border-radius: 24px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,255,136,0.12);
    box-shadow: 0 16px 42px rgba(0,0,0,0.12);
  }
  html.light .project-card,
  html.light .timeline-item,
  html.light .contact-panel {
    background: rgba(255,255,255,0.74);
    border-color: rgba(0,128,64,0.14);
    box-shadow: 0 14px 34px rgba(15,23,42,0.07);
  }
  .project-tag,
  .timeline-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.16);
    color: #00ff88;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  html.light .project-tag,
  html.light .timeline-tag {
    color: #008040;
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.14);
  }
  .project-title,
  .timeline-title {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
  }
  .project-desc,
  .timeline-copy,
  .contact-copy {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
  }
  .project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }
  .project-stack span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
  }
  html.light .project-stack span {
    background: rgba(255,255,255,0.76);
    border-color: rgba(0,0,0,0.06);
  }
  .timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .timeline-meta {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #00ff88;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  html.light .timeline-meta { color: #008040; }
  .contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
  }
  .contact-links {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }
  .contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0,255,136,0.25);
    background: rgba(0,255,136,0.05);
  }
  html.light .contact-link {
    background: rgba(255,255,255,0.76);
    border-color: rgba(0,0,0,0.06);
  }
  .contact-link strong {
    font-size: 15px;
    letter-spacing: -0.01em;
  }
  .contact-link span {
    font-size: 13px;
    color: var(--text-muted);
  }
  .contact-note {
    display: grid;
    gap: 12px;
  }
  .contact-note strong {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
  }
  /* ═══════════════════════════════════════════
     TABLET  ≤ 980px
  ═══════════════════════════════════════════ */
  @media (max-width: 980px) {
    .carousel-card {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 32px;
    }
    .carousel-card-visual .mockup-laptop {
      transform: scale(0.75);
    }
    nav {
      padding: 20px 24px;
    }
    nav.scrolled {
      top: 10px;
      width: calc(100% - 20px);
      padding: 14px 18px;
      border-radius: 18px;
    }
    .about-section {
      padding: 72px 24px 88px;
    }
    .ticker-wrap {
      margin: 0 0 44px;
    }
    .section-shell.projects-shell {
      padding-top: 20px;
      padding-bottom: 72px;
    }
    .projects-head {
      gap: 14px;
      margin-bottom: 40px;
    }
    .stats-row {
      grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
      grid-template-columns: 1fr;
    }
    .about-right {
      order: -1;
    }
    .content-section {
      padding: 0 24px;
    }
    #projetos.content-section {
      padding-left: 24px;
      padding-right: 24px;
    }
    .section-shell {
      padding: 60px 28px;
    }
    .project-grid,
    .timeline,
    .contact-layout {
      grid-template-columns: 1fr;
    }
    .project-showcase {
      gap: 24px;
    }
    .project-showcase + .project-showcase {
      margin-top: 40px;
      padding-top: 40px;
    }
    .project-visual {
      min-height: unset;
    }
    .project-panel {
      max-width: 100%;
      margin: 0 auto;
    }
    .project-stage {
      min-height: auto;
    }
    .catalog-summary,
    .catalog-bottom {
      grid-template-columns: 1fr;
    }
    .all-project-card {
      grid-template-columns: 1fr;
    }
    .projects-drawer-panel {
      width: min(86vw, 820px);
    }
    .projects-drawer-grid {
      grid-template-columns: 1fr;
    }
    .edu-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* ═══════════════════════════════════════════
     MOBILE  ≤ 640px
  ═══════════════════════════════════════════ */
  @media (max-width: 640px) {

    /* ── Carousel ── */
    .carousel-card {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;
      border-radius: 20px;
      overflow: hidden;
    }
    .carousel-card-visual {
      min-height: 300px;
      width: 100%;
      overflow: visible;
    }
    .carousel-card-visual .mockup-laptop {
      transform: scale(0.86);
      width: calc(100% - 12px);
      max-width: 640px;
    }
    .carousel-card-title {
      font-size: clamp(18px, 5vw, 24px);
    }
    .carousel-card-desc {
      font-size: 14px;
    }
    .carousel-card-techs span {
      font-size: 11px;
      padding: 4px 10px;
    }
    .carousel-arrow {
      width: 36px;
      height: 36px;
    }
    .carousel-controls {
      margin-top: 20px;
      gap: 14px;
    }
    .carousel-wrapper {
      border-radius: 20px;
    }
    .projects-more-actions {
      margin-top: 24px;
    }
    .projects-more-btn,
    .projects-nav-back {
      font-size: 13px;
      padding: 10px 14px;
    }
    .projects-page-main {
      width: min(100% - 32px, 1180px);
      padding: 132px 0 64px;
    }
    .projects-page-hero {
      margin-bottom: 28px;
    }
    .projects-page-hero h1 {
      font-size: clamp(34px, 10vw, 48px);
    }
    .projects-page-hero p {
      font-size: 15px;
    }
    .all-project-card {
      padding: 18px;
      border-radius: 20px;
    }
    .all-project-media {
      border-radius: 16px;
      aspect-ratio: 4 / 3;
    }
    .projects-drawer-panel {
      width: 100%;
      padding: 20px 16px 42px;
      border-left: none;
    }
    .projects-drawer-head {
      margin: 8px 0 28px;
    }
    .projects-drawer-head h2 {
      font-size: clamp(42px, 14vw, 64px);
    }
    .drawer-project-card {
      border-radius: 14px;
    }
    .drawer-project-body {
      padding: 18px;
    }
    .drawer-project-body h3 {
      font-size: 19px;
    }

    /* ── Nav ── */
    nav {
      padding: 12px 14px;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: space-between;
    }
    nav.scrolled {
      top: 8px;
      width: calc(100% - 16px);
      padding: 10px 12px;
      gap: 8px;
      border-radius: 16px;
    }
    .nav-icons {
      gap: 10px;
      flex-shrink: 0;
    }
    .nav-right {
      gap: 6px;
      flex-shrink: 0;
    }
    .lang-toggle {
      font-size: 10px;
      gap: 4px;
    }
    .toggle-pill {
      width: 32px;
      height: 17px;
    }
    .toggle-pill::after {
      width: 11px;
      height: 11px;
      top: 3px;
      left: 3px;
    }
    .toggle-pill.en::after {
      transform: translateX(15px);
    }
    .theme-btn {
      width: 30px;
      height: 30px;
    }
    .nav-links {
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
      order: 3;
    }
    .nav-links a {
      font-size: 12px;
    }

    /* ── Hero ── */
    .hero {
      padding: 100px 20px 60px;
      min-height: calc(100vh - 60px);
    }
    h1 {
      font-size: clamp(32px, 9vw, 52px);
    }
    .title-bracket {
      gap: 12px;
      margin-bottom: 36px;
    }
    .title-ghost,
    .title-main {
      font-size: clamp(24px, 7vw, 40px);
    }
    .cta-btn {
      font-size: 14px;
      padding: 14px 28px;
    }
    .avatar-wrapper {
      width: 72px;
      height: 72px;
    }
    .avatar-inner {
      font-size: 24px;
    }

    /* ── Ticker ── */
    .ticker-wrap {
      margin: 0 0 32px;
    }

    /* ── About ── */
    .about-section {
      padding: 52px 18px 64px;
    }
    .about-title {
      font-size: clamp(22px, 6vw, 32px);
    }
    .about-desc {
      font-size: 14px;
    }
    .stats-row {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    .stat-num {
      font-size: 30px;
    }
    .stat-label {
      font-size: 11px;
    }
    .about-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .skills-card {
      padding: 20px 16px;
      overflow: hidden;
    }
    .skills-card-head {
      flex-direction: row;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .skills-card-title {
      font-size: 18px;
    }
    .skill-tags {
      flex-wrap: wrap;
      max-width: 100%;
      overflow: hidden;
    }
    .skill-tag {
      font-size: 11px;
      padding: 4px 10px;
      max-width: 100%;
      word-break: break-word;
    }
    .skill-group {
      max-width: 100%;
      overflow: hidden;
    }
    .edu-cards {
      grid-template-columns: 1fr;
    }
    .mockup-video-wrap video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .photo-showcase {
      max-width: 100%;
      padding-top: 36px;
      position: relative;
      overflow: visible;
    }
    .photo-frame {
      padding: 12px;
      border-radius: 20px;
    }
    .photo-badge {
      top: -28px;
      left: 36px;
      right: auto;
      transform: none;
      justify-content: flex-start;
      font-size: 10px;
      z-index: 10;
      white-space: nowrap;
      padding: 8px 12px;
    }
    .rotating-circle {
      position: absolute;
      top: 0px;
      right: -20px;
      left: auto;
      transform: none;
      margin: 0;
      width: 140px;
      height: 140px;
      z-index: 5;
    }
    .rotating-circle svg {
      width: 140px;
      height: 140px;
    }
    .rotating-circle .center-dot {
      width: 44px;
      height: 44px;
    }
    .rotating-circle .center-dot svg {
      width: 20px;
      height: 20px;
    }

    /* ── Sections ── */
    .content-section {
      padding: 0 16px;
      margin-bottom: 16px;
    }
    #projetos.content-section {
      padding-left: 16px;
      padding-right: 16px;
    }
    .section-shell {
      padding: 44px 18px;
      border-radius: 22px;
    }
    .section-shell.projects-shell {
      padding-top: 16px;
      padding-bottom: 52px;
    }
    .section-heading {
      font-size: clamp(22px, 6vw, 32px);
    }
    .section-copy {
      font-size: 14px;
    }

    /* ── Projects ── */
    .projects-head {
      gap: 12px;
      margin-bottom: 36px;
    }
    .projects-head .section-copy {
      font-size: 14px;
      line-height: 1.75;
    }
    .project-showcase {
      gap: 20px;
      max-width: 100%;
    }
    .project-showcase + .project-showcase {
      margin-top: 32px;
      padding-top: 32px;
    }
    .project-feature-label {
      font-size: 10px;
      padding: 5px 12px;
    }
    .project-feature-title {
      font-size: clamp(20px, 6vw, 28px);
      line-height: 1.1;
    }
    .project-feature-card {
      padding: 4px 0 0;
    }
    .project-feature-card p {
      font-size: 14px;
      line-height: 1.75;
    }
    .project-action-btn {
      font-size: 14px;
      padding: 12px 20px;
      border-radius: 14px;
    }
    .project-actions {
      gap: 10px;
      margin-top: 18px;
    }
    .project-techs {
      gap: 6px;
    }
    .project-techs span {
      font-size: 11px;
      padding: 4px 10px;
    }
    .project-visual {
      min-height: unset;
    }
    .mockup-video-wrap {
      border-radius: 16px;
    }
    .mockup-card {
      border-radius: 20px;
    }
    .mockup-topbar {
      padding: 12px 14px;
    }
    .mockup-hero {
      padding: 16px 14px 10px;
    }
    .mockup-title {
      font-size: 16px;
    }
    .mockup-desc {
      font-size: 11px;
    }
    .mockup-screens {
      padding: 0 14px 12px;
    }
    .mockup-features {
      padding: 0 14px 14px;
      gap: 6px;
    }
    .mockup-pill {
      font-size: 10px;
      padding: 5px 9px;
    }

    /* ── Experience ── */
    .timeline {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .timeline-title {
      font-size: 18px;
    }

    /* ── Contact ── */
    .contact-layout {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .contact-note strong {
      font-size: 20px;
    }
    .contact-link {
      padding: 14px 16px;
    }
    .contact-link strong {
      font-size: 14px;
    }
    .contact-link span {
      font-size: 12px;
    }

    /* ── Misc ── */
    .project-grid {
      grid-template-columns: 1fr;
    }
    .project-card {
      padding: 20px;
    }
    .project-title {
      font-size: 18px;
    }
  }

  /* ═══════════════════════════════════════════
     SMALL MOBILE  ≤ 400px
  ═══════════════════════════════════════════ */
  @media (max-width: 400px) {
    h1 {
      font-size: 28px;
    }
    .title-ghost,
    .title-main {
      font-size: 22px;
    }
    .nav-links {
      gap: 10px;
    }
    .nav-links a {
      font-size: 12px;
    }
    .stats-row {
      grid-template-columns: 1fr 1fr;
    }
    .cta-btn {
      width: 100%;
      justify-content: center;
    }
    .project-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .project-action-btn {
      justify-content: center;
      text-align: center;
    }
  }

  /* ── Certificates section ── */
  .certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 8px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .cert-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,255,136,0.10);
    background: rgba(255,255,255,0.025);
    box-shadow: 0 12px 40px rgba(0,0,0,0.20);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    cursor: pointer;
  }
  .cert-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .cert-card:nth-child(2) {
    transition-delay: 0.12s;
  }
  .cert-card:hover {
    border-color: rgba(0,255,136,0.26);
    box-shadow: 0 20px 56px rgba(0,0,0,0.28), 0 0 24px rgba(0,255,136,0.06);
    transform: translateY(-5px);
  }
  .cert-card.visible:hover {
    transform: translateY(-5px);
  }
  .cert-img-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: #07100a;
    padding: 16px 16px 0;
  }
  .cert-img-wrap img {
    width: 100%;
    display: block;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
    transition: transform 0.5s ease;
  }
  .cert-card:hover .cert-img-wrap img {
    transform: scale(1.02);
  }
  .cert-info {
    padding: 20px 22px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .cert-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .cert-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .cert-issuer {
    font-size: 13px;
    color: #00ff88;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  html.light .cert-issuer { color: #008040; }
  .cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0,255,136,0.07);
    border: 1px solid rgba(0,255,136,0.16);
    color: #00ff88;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
  }
  html.light .cert-badge {
    background: rgba(0,128,64,0.07);
    border-color: rgba(0,128,64,0.16);
    color: #008040;
  }
  .cert-badge::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 5px currentColor;
    animation: pulse-dot 2s ease-in-out infinite;
  }
  html.light .cert-card {
    background: rgba(255,255,255,0.65);
    border-color: rgba(0,128,64,0.10);
  }
  html.light .cert-info {
    background: rgba(255,255,255,0.4);
    border-top-color: rgba(0,0,0,0.05);
  }
  html.light .cert-img-wrap {
    background: #f0f4f2;
  }
  @media (max-width: 640px) {
    .certs-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }

  /* ── New contact section ── */
  .contact-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    padding: 20px 0 40px;
  }
  .contact-new-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .contact-new-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text);
  }
  .contact-new-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 480px;
  }
  .contact-new-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 560px;
  }
  .contact-new-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.22s, border-color 0.22s;
  }
  .contact-new-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .contact-new-item:nth-child(2) { transition-delay: 0.08s; }
  .contact-new-item:nth-child(3) { transition-delay: 0.16s; }
  .contact-new-item:nth-child(4) { transition-delay: 0.24s; }
  .contact-new-item:hover {
    background: rgba(0,255,136,0.05);
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-2px);
  }
  .contact-new-item.visible:hover {
    transform: translateY(-2px);
  }
  .contact-new-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    flex-shrink: 0;
    transition: background 0.22s;
  }
  .contact-new-item:hover .contact-new-icon {
    background: rgba(0,255,136,0.14);
  }
  .contact-new-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
  }
  .contact-new-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .contact-new-value {
    font-size: 12px;
    color: var(--text-muted);
  }
  .contact-new-arrow {
    color: rgba(255,255,255,0.25);
    transition: color 0.22s, transform 0.22s;
    flex-shrink: 0;
  }
  .contact-new-item:hover .contact-new-arrow {
    color: #00ff88;
    transform: translateX(3px);
  }
  .contact-new-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00ff88, #00d470 58%, #00a658);
    color: #04110a;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0,255,136,0.22);
    transition: transform 0.22s, box-shadow 0.22s;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s, box-shadow 0.22s;
  }
  .contact-new-cta.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .contact-new-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,255,136,0.30);
  }
  .contact-new-cta.visible:hover {
    transform: translateY(-3px);
  }
  html.light .contact-new-item {
    background: rgba(255,255,255,0.6);
    border-color: rgba(0,0,0,0.07);
  }
  html.light .contact-new-item:hover {
    background: rgba(0,128,64,0.06);
    border-color: rgba(0,128,64,0.18);
  }
  html.light .contact-new-icon {
    background: rgba(0,128,64,0.08);
    border-color: rgba(0,128,64,0.14);
    color: #008040;
  }
  html.light .contact-new-arrow { color: rgba(0,0,0,0.2); }
  html.light .contact-new-item:hover .contact-new-arrow { color: #008040; }
  @media (max-width: 640px) {
    .contact-new-list { max-width: 100%; }
    .contact-new-title { font-size: 32px; }
    .contact-new-item { padding: 14px 16px; }
    .contact-new-icon { width: 36px; height: 36px; border-radius: 10px; }
    .contact-new-cta { padding: 14px 28px; font-size: 14px; }
  }

  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #000; }
  ::-webkit-scrollbar-thumb { background: #00ff88; border-radius: 3px; }

  /* ── WhatsApp button ── */
  .whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 6px 24px rgba(37,211,102,0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
  .whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,0.45);
    animation: waPulse 2s ease-out infinite;
  }
  .whatsapp-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,0.25);
    animation: waPulse 2s ease-out 0.4s infinite;
  }
  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }
  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37,211,102,0.55);
  }
  .whatsapp-btn-label { display: none; }
  @keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.9); opacity: 0; }
  }
  @media (max-width: 640px) {
    .whatsapp-btn {
      bottom: 18px;
      right: 18px;
      width: 50px;
      height: 50px;
    }
    .whatsapp-btn svg { width: 24px; height: 24px; }
  }

  /* ── Footer ── */
  .site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 56px 48px 32px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .footer-icons {
    display: flex;
    gap: 14px;
  }
  .footer-icons a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .footer-icons a:hover {
    background: rgba(0,255,136,0.08);
    border-color: rgba(0,255,136,0.2);
    color: #00ff88;
  }
  .footer-location {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .footer-location svg { flex-shrink: 0; color: #00ff88; }
  .footer-col-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
  }
  .footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-nav a:hover { color: var(--text); }
  .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-contact-item:hover { color: var(--text); }
  .footer-contact-item svg { flex-shrink: 0; color: #00ff88; }
  .footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 12px;
    transition: color 0.2s;
  }
  .footer-back-top:hover { color: #00ff88; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
  }
  html.light .site-footer { border-top-color: rgba(0,0,0,0.08); }
  html.light .footer-bottom { border-top-color: rgba(0,0,0,0.07); }
  html.light .footer-col-title { color: rgba(0,0,0,0.35); }
  html.light .footer-icons a { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
  html.light .footer-icons a:hover { background: rgba(0,128,64,0.07); border-color: rgba(0,128,64,0.18); color: #008040; }
  html.light .footer-location svg { color: #008040; }
  html.light .footer-contact-item svg { color: #008040; }
  html.light .footer-copy { color: rgba(0,0,0,0.3); }
  @media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .site-footer { padding: 40px 20px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; align-items: center; text-align: center; }
    .footer-icons { justify-content: center; }
    .footer-location { justify-content: center; }
    .footer-col-title { text-align: center; }
    .footer-nav { align-items: center; }
    .footer-contact-list { align-items: center; }
  }
