/* ============================================================
   responsive.css — Responsividade completa e otimizada
   com correções para a galeria social e posters flutuantes
   ============================================================ */

/* NOTEBOOK: evita que "ESTÉTICA" / "& HISTÓRIAS" cortem na borda da tela */
@media (max-width: 1500px) {
  .about-cinema-title {
    font-size: clamp(2.8rem, 5.5vw, 6.5rem);
    letter-spacing: -3px;
  }
}

/* BREAKPOINTS GERAIS */
@media (max-width: 1400px) {
  .parallax-poster {
    width: 108px !important;
  }
  .parallax-poster img {
    height: 135px !important;
  }
}

@media (max-width: 1200px) {
  section {
    padding: 100px 6%;
  }
  .dev-grid {
    gap: 18px;
  }
  .dev-item {
    padding: 40px;
  }
  .dev-item h3 {
    font-size: 2.5rem;
  }
  .design-gallery {
    gap: 24px;
  }
  .design-card:nth-child(1),
  .design-card:nth-child(3) {
    min-height: 460px;
  }
  .parallax-poster {
    width: 105px !important;
  }
  .parallax-poster img {
    height: 128px !important;
  }
  .gremio-section {
    gap: 60px;
  }
  .gremio-img-stack {
    grid-auto-rows: 200px;
  }
}

@media (max-width: 992px) {
  .nav-links {
    gap: 12px;
  }
  .nav-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
  }
  .header-info {
    font-size: 0.7rem;
  }
  section {
    padding: 80px 5%;
  }
  .about-grid {
    gap: 50px;
  }
  .about-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.8;
  }
  .dev-item {
    padding: 30px;
  }
  .dev-item h3 {
    font-size: 2rem;
  }
  .nature-showcase-row {
    gap: 40px;
  }
  .nature-project-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
  .design-gallery {
    grid-template-columns: repeat(6, 1fr);
  }
  .design-card:nth-child(1) { grid-column: span 6; min-height: 400px; }
  .design-card:nth-child(2) { grid-column: span 3; }
  .design-card:nth-child(3) { grid-column: span 3; min-height: 400px; }
  .design-card:nth-child(4) { grid-column: span 6; }
  .design-card:nth-child(5) { grid-column: span 6; }
  .design-video-card { grid-column: span 6; }
  .parallax-poster {
    width: 105px !important;
  }
  .parallax-poster img {
    height: 130px !important;
  }
  .pt-1, .pt-3, .pt-5 { left: 6px; }
  .pt-2, .pt-4, .pt-6 { right: 6px; }
  .gremio-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .gremio-content h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }
  .gremio-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .gremio-img-stack {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .pop-card {
    gap: 40px;
  }
  .pop-text h3 {
    font-size: clamp(2rem, 6vw, 4rem);
  }
  .pop-text p {
    font-size: 1rem;
  }
  footer {
    padding: 100px 5% 60px;
  }
  .bureau-grid {
    gap: 30px;
  }
  .doc-info h3 {
    font-size: 2rem;
  }
}

/* ============================================================
   TABLET E MOBILE GRANDE (até 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* --- MENU MOBILE --- */
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 16px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.3s;
    z-index: 999;
    pointer-events: none;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.05);
  }
  .header-info {
    display: none;
  }
  .bureau-mobile {
    display: block;
  }
  header {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand-container {
    gap: 12px;
  }
  .header-logo {
    height: 35px;
  }
  .brand {
    font-size: 0.85rem;
  }

  /* --- AJUSTES GERAIS --- */
  section {
    padding: 70px 5%;
  }
  .section-label {
    font-size: 0.7rem;
    margin-bottom: 30px;
  }
  h2, .about-title, .playground-main-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    letter-spacing: -2px;
  }
  .outline {
    -webkit-text-stroke: 0.5px white;
  }

  /* --- ABOUT --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-text {
    display: none;
  }
  .about-mobile-text {
    display: block;
  }
  .about-mobile-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .about-tags {
    justify-content: center;
    margin-top: 30px;
  }
  .about-frame {
    transform: rotate(0);
    padding: 15px;
  }
  .about-image {
    height: 450px;
  }

  /* --- DEV GRID --- */
  .dev-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dev-item {
    padding: 30px 20px;
    border-radius: 24px;
  }
  .dev-item h3 {
    font-size: 1.8rem;
  }
  .dev-tag {
    font-size: 0.6rem;
  }

  /* --- SHOWCASE / NATURE --- */
  #work-showcase {
    padding: 70px 5%;
  }
  .nature-showcase-row,
  .nature-showcase-row.row-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .nature-editorial-wrapper {
    gap: 80px;
  }
  .nature-timeline-spine,
  .nature-frame-line,
  .field-note,
  .nature-svg-leaf {
    display: none !important;
  }
  .polaroid-frame-container {
    max-width: 320px;
    margin: 0 auto;
  }
  .nature-project-title {
    font-size: 1.8rem;
  }
  .nature-project-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* --- DESIGN GALLERY --- */
  .design-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .design-card,
  .design-video-card {
    grid-column: span 1 !important;
    min-height: auto !important;
  }
  .design-card:nth-child(2) h3,
  .design-card:nth-child(5) h3 {
    font-size: 1.5rem;
  }
  .design-card img {
    height: auto;
  }
  .video-caption {
    font-size: 0.7rem;
  }

  /* --- LOGOFÓLIO (marcas & identidades) --- */
  #playground {
    padding: 80px 6% 100px;
    overflow-x: hidden;
  }
  .logofolio-intro {
    margin-bottom: 50px;
  }
  .logofolio-text {
    font-size: 1.05rem;
  }
  .logofolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .logo-card {
    grid-column: span 1 !important;
    min-height: 220px;
    border-radius: 18px;
  }
  .logo-card-image {
    padding: 26px;
  }
  .logo-card-index {
    top: 12px;
    left: 14px;
    font-size: 0.75rem;
  }
  .logo-card-caption {
    bottom: 12px;
    left: 14px;
    font-size: 0.65rem;
  }
  .logo-card-cta {
    display: none;
  }
  .logo-card-signature {
    padding: 24px;
  }
  .logo-card-signature-text {
    font-size: 1.6rem;
  }

  /* --- POSTERS FLUTUANTES (CORREÇÃO TOTAL PARA MOBILE) --- */
  .playground-canvas-container {
    position: relative;
    overflow-x: clip;
  }
  .parallax-poster {
    position: absolute;
    width: 85px !important;
    padding: 4px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    pointer-events: auto;
    z-index: 20;
  }
  .parallax-poster img {
    height: 105px !important;
    object-fit: cover;
  }
  .poster-meta {
    font-size: 0.45rem;
    padding: 2px 2px;
  }
  /* reposicionamento seguro dentro da section */
  .pt-1 { left: 4px;  top: 0px; }
  .pt-2 { right: 4px; top: 20px; }
  .pt-3 { left: 4px;  top: 140px; }
  .pt-4 { right: 4px; top: 80px; }
  .pt-5 { left: 4px;  top: 280px; }
  .pt-6 { right: 4px; top: 360px; }
  .parallax-bg-text {
    font-size: 18vw;
    top: 35%;
    left: -30%;
    -webkit-text-stroke: 1px rgba(26,26,26,0.1);
  }

  /* --- SOCIAL GALLERY (CORREÇÃO COMPLETA) --- */
  #social-gallery {
    padding: 70px 5%;
    overflow-x: hidden;
  }
  .sg-container {
    padding: 0 !important;
    margin-top: 30px;
  }
  /* Grid de pastas */
  .sg-albums-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid #1a1a1a;
  }
  .sg-album-card {
    min-height: 260px;
  }
  .sg-album-cover {
    aspect-ratio: 4 / 3;
  }
  .sg-album-title {
    font-size: 0.75rem;
    white-space: normal;
    word-break: break-word;
  }
  .sg-album-desc {
    font-size: 0.55rem;
    white-space: normal;
  }
  .sg-album-count {
    font-size: 0.55rem;
    padding: 2px 6px;
  }
  /* Navegação breadcrumb */
  .sg-breadcrumb-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
  }
  .sg-back-btn,
  .sg-breadcrumb-folder-btn {
    font-size: 0.7rem;
  }
  .sg-folder-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.8rem;
  }
  .sg-folder-stripe {
    width: 100%;
    height: 4px;
  }
  .sg-folder-title {
    font-size: 1.2rem;
  }
  .sg-folder-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    align-self: flex-start;
  }
  /* Grid de imagens dentro da pasta */
  .sg-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 2px solid #1a1a1a;
  }
  .sg-item.galeria-item {
    min-height: auto;
  }
  .sg-item .galeria-item-img {
    aspect-ratio: 1 / 1;
  }
  .sg-item > span {
    font-size: 0.55rem;
    padding: 6px 5px;
  }
  /* Subpastas */
  .sg-subfolders-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  /* --- EXPERTISE (01/02/03) --- */
  .design-expertise-row {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }
  .design-expertise-item {
    padding: 32px 25px;
  }
  .design-expertise-num {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  .design-expertise-title {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  .design-expertise-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* --- LIDERANÇA --- */
  #leadership {
    padding: 70px 5%;
  }
  .gremio-section {
    gap: 50px;
  }
  .gremio-content h2 {
    font-size: 2.5rem !important;
  }
  .gremio-description {
    font-size: 0.9rem;
  }
  .gremio-img-stack {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 12px;
  }
  .gremio-img.large {
    grid-row: auto;
  }
  .gremio-img.wide {
    grid-column: span 2;
  }

  /* --- POP CARDS --- */
  #activism-pop {
    padding: 70px 5%;
  }
  .pop-grid {
    gap: 80px;
  }
  .pop-card {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  .pop-visual {
    max-width: 260px;
    margin: 0 auto;
    box-shadow: 12px 12px 0px #CCFF00 !important;
  }
  .pop-text h3 {
    font-size: 2rem !important;
    text-shadow: 3px 3px 0px #FF00FF;
  }
  .pop-text p {
    font-size: 0.9rem;
  }

  /* --- FOOTER --- */
  footer {
    padding: 80px 5% 50px;
  }
  footer h2 {
    font-size: 12vw !important;
  }
  .contact-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.9rem;
  }
  footer > div:last-child {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  /* --- BUREAU --- */
  .bureau-overlay {
    padding: 70px 5%;
    align-items: flex-start;
    overflow-y: auto;
  }
  .bureau-title {
    font-size: 12vw !important;
    margin-bottom: 40px;
  }
  .bureau-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .doc-card {
    min-height: auto;
    padding: 25px;
  }
  .doc-info h3 {
    font-size: 1.6rem;
  }
  .close-bureau {
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 40px;
  }

  /* --- LIGHTBOX --- */
  .lightbox-content {
    max-width: 95vw;
    padding: 5px;
  }
  .lightbox-close {
    top: -35px;
    right: -35px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  .lb-prev { left: -40px; }
  .lb-next { right: -40px; }
  .lb-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .lb-counter {
    bottom: -28px;
    font-size: 0.6rem;
  }
}

/* ============================================================
   MOBILE PEQUENO (até 576px)
   ============================================================ */
@media (max-width: 576px) {
  section {
    padding: 60px 4%;
  }
  .about-image {
    height: 350px;
  }
  .dev-item h3 {
    font-size: 1.5rem;
  }
  /* ajuste fino dos posters */
  .parallax-poster {
    width: 72px !important;
  }
  .parallax-poster img {
    height: 88px !important;
  }
  .pt-1 { left: 2px; top: -5px; }
  .pt-2 { right: 2px; top: 15px; }
  .pt-3 { left: 2px; top: 120px; }
  .pt-4 { right: 2px; top: 70px; }
  .pt-5 { left: 2px; top: 240px; }
  .pt-6 { right: 2px; top: 310px; }
  .sg-albums-grid {
    grid-template-columns: 1fr;
  }
  .sg-items-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sg-subfolders-grid {
    grid-template-columns: 1fr;
  }
  .pop-visual {
    max-width: 220px;
  }
  .pop-text h3 {
    font-size: 1.6rem !important;
  }
  .gremio-img-stack {
    grid-auto-rows: 140px;
  }
}

/* ============================================================
   MOBILE MUITO PEQUENO (até 480px)
   ============================================================ */
@media (max-width: 480px) {
  .about-image {
    height: 280px;
  }
  .about-mobile-text p {
    font-size: 0.85rem;
  }
  .dev-item h3 {
    font-size: 1.3rem;
  }
  /* posters ainda menores e mais contidos */
  .parallax-poster {
    width: 60px !important;
    padding: 3px;
  }
  .parallax-poster img {
    height: 75px !important;
  }
  .pt-1 { left: 1px; top: 0px; }
  .pt-2 { right: 1px; top: 10px; }
  .pt-3 { left: 1px; top: 100px; }
  .pt-4 { right: 1px; top: 60px; }
  .pt-5 { left: 1px; top: 200px; }
  .pt-6 { right: 1px; top: 260px; }
  .sg-items-grid {
    grid-template-columns: 1fr;
  }
  .sg-folder-title {
    font-size: 1rem;
  }
  .pop-visual {
    max-width: 180px;
  }
  .pop-text h3 {
    font-size: 1.3rem !important;
  }
  .gremio-img-stack {
    grid-auto-rows: 120px;
  }
  .gremio-content h2 {
    font-size: 2rem !important;
  }
  .doc-info h3 {
    font-size: 1.3rem;
  }
  .design-expertise-item {
    padding: 26px 20px;
  }
  .design-expertise-num {
    font-size: 2rem;
  }
  .design-expertise-desc {
    font-size: 0.85rem;
  }
}

/* ============================================================
   TELAS EXTREMAS (até 360px, ex: Galaxy S23)
   ============================================================ */
@media (max-width: 360px) {
  .header-logo {
    height: 28px;
  }
  .brand {
    font-size: 0.7rem;
  }
  .about-image {
    height: 220px;
  }
  .dev-item h3 {
    font-size: 1.2rem;
  }
  /* posters quase fixos e bem pequenos */
  .parallax-poster {
    width: 52px !important;
    padding: 2px;
  }
  .parallax-poster img {
    height: 62px !important;
  }
  .pt-1 { left: 1px; top: 5px; }
  .pt-2 { right: 1px; top: 15px; }
  .pt-3 { left: 1px; top: 80px; }
  .pt-4 { right: 1px; top: 50px; }
  .pt-5 { left: 1px; top: 160px; }
  .pt-6 { right: 1px; top: 210px; }
  .sg-album-title {
    font-size: 0.7rem;
  }
  .pop-visual {
    max-width: 150px;
  }
  .gremio-img-stack {
    grid-auto-rows: 100px;
  }
  .contact-btn {
    font-size: 0.8rem;
  }
  .design-expertise-item {
    padding: 20px 16px;
  }
  .design-expertise-title {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  .design-expertise-desc {
    font-size: 0.8rem;
  }
}

/* ============================================================
   ORIENTAÇÃO PAISAGEM EM MOBILE
   ============================================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .about-image {
    height: 300px;
  }
  .parallax-poster {
    width: 80px !important;
  }
  .parallax-poster img {
    height: 100px !important;
  }
  .gremio-img-stack {
    grid-auto-rows: 130px;
  }
  .sg-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   DESABILITAR CURSOR PERSONALIZADO EM TOUCH
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  #custom-cursor {
    display: none;
  }
}

/* ============================================================
   SCROLL SUAVE PREFERENCIAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* ============================================================
   SITE LOADER — RESPONSIVIDADE MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .loader-title {
    font-size: 11vw !important;
    letter-spacing: -2px;
  }
  .loader-meta {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .loader-bg-word {
    font-size: 42vw;
  }
  .loader-glow.orb-a { width: 300px; height: 300px; }
  .loader-glow.orb-b { width: 250px; height: 250px; }
  .loader-scroll-hint {
    bottom: 36px;
  }
}

@media (max-width: 480px) {
  .loader-title {
    font-size: 10vw !important;
    letter-spacing: -1px;
  }
  .loader-label {
    font-size: 0.5rem;
    letter-spacing: 2px;
    padding: 0 20px;
  }
  .loader-sub {
    font-size: 0.6rem;
    padding: 0 16px;
  }
  .loader-corner {
    font-size: 0.45rem;
    letter-spacing: 1px;
  }
  .lw-2 {
    -webkit-text-stroke: 1px white;
  }
}

/* ============================================================
   GALERIA POSTER — RESPONSIVIDADE MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .sg-albums-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .sg-subfolders-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .sg-items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0;
  }

  .sg-album-info {
    padding: 10px !important;
    gap: 6px !important;
  }

  .sg-album-title {
    font-size: 0.7rem !important;
  }

  .sg-album-desc {
    font-size: 0.6rem !important;
    display: none;
  }

  .sg-album-count {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 380px) {
  .sg-albums-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .sg-items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* ============================================================
   MELHORIAS 2026 — RESPONSIVIDADE DOS NOVOS COMPONENTES
   ============================================================ */

/* Section dots: esconde em mobile */
@media (max-width: 768px) {
  #section-dots {
    display: none;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-tl-item {
    gap: 12px;
  }
  .about-tl-year {
    min-width: 46px;
    font-size: 0.6rem;
  }
  .header-section-indicator {
    display: none;
  }
  .dev-item-link-arrow {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-stat-num {
    font-size: 1.8rem;
  }
}
/* ============================================================
   MELHORIAS GERAIS MOBILE 2026 — telas até 360px
   ============================================================ */

/* Hero / About: título não quebra estranhamente */
@media (max-width: 480px) {
  .about-title {
    font-size: clamp(1.9rem, 10vw, 3rem) !important;
    letter-spacing: -1.5px;
  }
  .about-frame { padding: 10px; }
  .about-image { height: 300px; }

  /* Dev items mais compactos */
  .dev-item { padding: 22px 16px; border-radius: 18px; }
  .dev-item h3 { font-size: 1.4rem; }
  .dev-item p { font-size: .82rem; }

  /* Footer */
  footer h2 { font-size: 10vw !important; }
  .contact-btn { font-size: .82rem; padding: 13px; }

  /* Wave SVG não estoura */
  #wave-svg-container svg { width: 100%; }

  /* Showcase */
  .nature-project-title { font-size: 1.5rem; }
  .nature-project-desc { font-size: .82rem; }

  /* Social gallery: 1 coluna em telas muito pequenas */
  .sg-album-cover { aspect-ratio: 1 / 1; }
}

@media (max-width: 360px) {
  /* Header não transborda */
  header { padding: 12px 4%; }
  .header-logo { height: 26px; }
  .brand { font-size: .65rem; letter-spacing: 1px; }
  .mobile-menu-btn { padding: 6px; }

  /* Seções ultra compactas */
  section { padding: 50px 4%; }
  .section-label { font-size: .6rem; }

  /* About */
  .about-title { font-size: clamp(1.7rem, 11vw, 2.5rem) !important; }
  .about-image { height: 240px; }
  .about-mobile-text p { font-size: .78rem; line-height: 1.7; }
  .about-stat-num { font-size: 1.5rem; }
  .about-stat-label { font-size: .48rem; }
  .about-tl-year { font-size: .55rem; min-width: 40px; }
  .about-tl-text { font-size: .78rem; }

  /* Dev */
  .dev-item { padding: 18px 14px; border-radius: 14px; }
  .dev-item h3 { font-size: 1.2rem; }
  .dev-tag { font-size: .52rem; padding: 3px 8px; }


  /* Pop */
  .pop-visual { max-width: 140px; }
  .pop-text h3 { font-size: 1.2rem !important; }
  .pop-text p { font-size: .78rem; }

  /* Footer */
  footer { padding: 60px 4% 40px; }
  footer h2 { font-size: 9vw !important; }

  /* Bureau */
  .bureau-title { font-size: 10vw !important; }
  .doc-card { padding: 18px; }
  .doc-info h3 { font-size: 1.2rem; }
  .doc-action { font-size: .55rem; }

  /* Lightbox: botões de nav mais acessíveis */
  .lb-prev { left: -30px; }
  .lb-next { right: -30px; }
  .lb-nav { width: 30px; height: 30px; font-size: .8rem; }

  /* Marquee */
  .marquee-container {
    padding: 10px 0;
    margin: -18px 0;
    transform: rotate(calc(-2.2deg + var(--scroll-percent) * -0.03deg)) scale(1.15);
  }
  .marquee-content { font-size: 0.85rem !important; letter-spacing: 0.03em; }

  /* Nav mobile */
  .nav-btn { padding: 12px; font-size: .82rem; }

  /* Scroll progress bar */
  #scroll-progress-bar { height: 2px; }
}

/* ── Evita overflow horizontal global em qualquer tamanho ── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  img, video, iframe { max-width: 100%; }

  /* Garante que textos grandões não causem scroll lateral */
  .outline, h1, h2, h3 { word-break: break-word; overflow-wrap: break-word; }

  /* Exceção: ALAN / MENESES no loader nunca deve quebrar no meio da palavra —
     o tamanho da fonte já é calculado para caber em uma linha só */
  .loader-title,
  .loader-title .lt-word {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  /* Nav links: z-index acima do overlay */
  .nav-links { z-index: 1001; }
}

/* ══════════════════════════════════════════════════════
   ABOUT ME: EDITORIAL SPLIT — RESPONSIVE
   ══════════════════════════════════════════════════════ */

/* Tablet: 992px */
@media (max-width: 992px) {
  .about-split {
    grid-template-columns: 46% 54%;
  }
  .about-cinema-title {
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    letter-spacing: -3px;
  }
  .about-split-content {
    padding: 120px 5% 60px 5%;
  }
}

/* Mobile: 768px — stack vertically */
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    grid-template-rows: 56vh auto;
  }
  .about-split-photo {
    height: 56vh;
  }
  .about-photo-img {
    height: 100%;
    object-position: center 10%;
  }
  .about-split-photo::after {
    background: linear-gradient(
      to bottom,
      rgba(8,8,8,0.55) 0%,
      transparent 22%,
      transparent 40%,
      rgba(8,8,8,0.98) 100%
    );
  }
  .about-coord-vert { display: none; }
  .about-live-badge {
    bottom: 20px;
    right: 16px;
  }
  .about-split-content {
    padding: 48px 6% 60px;
  }
  .about-cinema-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
    letter-spacing: -2px;
  }
  .about-sec-num { display: none; }
  .about-stats-row { gap: 14px; }
  .about-htl {
    display: none;
  }
  .about-label {
    top: 20px;
    bottom: auto;
    left: 6%;
  }
}

@media (max-width: 480px) {
  .about-cinema-title {
    font-size: clamp(2.4rem, 14vw, 4rem);
    letter-spacing: -2px;
  }
  .about-para-block { gap: 10px; }
  .about-para-marker { font-size: 1.2rem; }
  .about-para-block p { font-size: 0.9rem; }
}