/* ═════════════════════════════════════════════════════════════════════
   SANAGÊ CARDOSO — OFFICIAL ARTIST WEBSITE STYLES
   Aesthetic: Ultra-High-End Architectural Gallery & Museum
   Geometry: SHARP GEOMETRIC LINES (0px BORDER-RADIUS EVERYWHERE)
   Default Theme: Light (Clean White & Steel) with Dark Theme Support
   Mobile Responsiveness: 100% Air-Tight, Zero Overflow, Word-Break Protected
   ═════════════════════════════════════════════════════════════════════ */

:root {
  /* Light Theme Defaults */
  --bg: #fafafa;
  --bg-subtle: #f2f2f4;
  --panel: #ffffff;
  --panel-border: rgba(0, 0, 0, 0.12);
  --ink: #0d0d0e;
  --ink-secondary: #333333;
  --muted: #666666;
  --line: rgba(0, 0, 0, 0.12);
  --gold: #b38b3f;
  --gold-light: #d4b26f;
  --steel: #1a1c22;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  --card-bg: #ffffff;
  --header-bg: rgba(250, 250, 250, 0.96);
  --nav-link: #111111;
  --font-heading: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 0px !important; /* STRICT SHARP GEOMETRIC LINES */
}

body.dark-theme {
  --bg: #09090b;
  --bg-subtle: #121215;
  --panel: #17171c;
  --panel-border: rgba(255, 255, 255, 0.12);
  --ink: #f8f8fa;
  --ink-secondary: #d1d1d6;
  --muted: #8e8e93;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #c5a059;
  --gold-light: #e2c98a;
  --steel: #9aa4b5;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  --card-bg: #141418;
  --header-bg: rgba(9, 9, 11, 0.96);
  --nav-link: #f0f0f0;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* ENFORCE 0px BORDER RADIUS EVERYWHERE */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* AVOID HEADER OVERLAPPING ANCHORS */
  font-size: 16px;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
  position: relative;
  padding-top: 84px; /* ACCOMMODATE FIXED STICKY HEADER */
}

h1, h2, h3, h4, h5, h6, p, span, a, blockquote {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img, picture, video, canvas, svg { max-width: 100% !important; height: auto; display: block; border-radius: 0 !important; }
iframe { max-width: 100% !important; border: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; border-radius: 0 !important; }
.shell { width: min(1280px, calc(100% - 40px)); margin-inline: auto; max-width: 100%; box-sizing: border-box; }

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  height: 64px;
  width: auto;
  margin-bottom: 24px;
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar {
  width: 180px;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.preloader-progress {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: loadingProgress 1.4s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes loadingProgress {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ═══════════════════════════════════════════
   FIXED HEADER (ALWAYS ACCOMPANIES THE SCROLL)
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 10000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.top-nav a {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--nav-link);
  opacity: 0.88;
  padding-block: 4px;
  position: relative;
}

.top-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.top-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.top-nav a:hover::after { width: 100%; }

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 12000;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section {
  padding-block: 70px 70px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-deck {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--gold);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: var(--transition);
  box-sizing: border-box;
}

.btn-primary:hover {
  background: var(--steel);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: var(--transition);
  box-sizing: border-box;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-gallery-wrap {
  position: relative;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  width: 100%;
}

.hero-main-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 22px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--panel-border);
}

.hero-img-badge strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-img-badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   SECTIONS & TYPOGRAPHY
   ═══════════════════════════════════════════ */
.section-padding { padding-block: 80px; }
.section-head { margin-bottom: 44px; text-align: left; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-block: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  width: 100%;
}

.about-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.about-text p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}

.quote-card {
  background: var(--bg-subtle);
  border-left: 4px solid var(--gold);
  padding: 26px 30px;
  margin-block: 30px;
}

.quote-card p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.quote-card span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   EXHIBITION EMBED SECTION (MAB / BKP)
   ═══════════════════════════════════════════ */
.exhibition-embed-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 40px;
  box-shadow: var(--shadow);
  width: 100%;
}

.exhibition-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.exhibition-img-card {
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  width: 100%;
}

.exhibition-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.exhibition-img-card:hover img { transform: scale(1.06); }

/* ═══════════════════════════════════════════
   PORTFOLIO & 4-COLUMN GALLERY GRID (GRAVIA / OBRAS)
   ═══════════════════════════════════════════ */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 COLUNAS SOLICITADAS */
  gap: 22px;
  width: 100%;
}

.artwork-card {
  background: var(--card-bg);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.artwork-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.artwork-img-wrap {
  height: 260px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-subtle);
  position: relative;
}

.artwork-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.artwork-card:hover .artwork-img-wrap img { transform: scale(1.08); }

.artwork-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border: 1px solid var(--panel-border);
}

.artwork-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.artwork-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.artwork-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.artwork-view-link {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
}

/* ═══════════════════════════════════════════
   LIGHTBOX MODAL
   ═══════════════════════════════════════════ */
#lightboxModal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 16px;
  box-sizing: border-box;
}

#lightboxModal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 28px 64px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.4rem;
  color: var(--ink);
  z-index: 10;
  width: 38px;
  height: 38px;
  background: var(--bg-subtle);
  display: grid;
  place-items: center;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.lightbox-details {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.lightbox-desc {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 26px;
}

/* ═══════════════════════════════════════════
   VIDEOS SECTION (EMBEDS YOUTUBE DO SITE ANTIGO)
   ═══════════════════════════════════════════ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.video-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.video-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS & FULL CRITICAL ESSAYS (DEPOIMENTOS)
   ═══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--panel-border);
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: -12px;
}

.testimonial-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-secondary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 0.92rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.author-info span { font-size: 0.76rem; color: var(--muted); }

.critics-full-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 36px;
  margin-top: 36px;
  box-shadow: var(--shadow);
  width: 100%;
}

.critic-accordion-item {
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}

.critic-accordion-item:last-child {
  border-bottom: none;
}

.critic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.critic-header h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.35;
}

.critic-toggle-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.critic-body {
  display: none;
  padding-top: 18px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-secondary);
}

.critic-body.active {
  display: block;
}

/* ═══════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-left: 12px;
  border-left: 2px solid var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 3px solid var(--bg);
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PORTAL DE ARTIGOS & SINGLE ARTICLE STYLES
   ═══════════════════════════════════════════ */
.portal-hero {
  padding-block: 60px 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 50px;
}

.portal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--ink);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.portal-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 800px;
  line-height: 1.75;
}

.articles-grid, .articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.article-img-wrap {
  height: 240px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-subtle);
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img-wrap img { transform: scale(1.06); }

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
}

.article-h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1.35;
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
}

.article-header {
  padding-block: 40px 24px;
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-secondary);
  margin-bottom: 60px;
  max-width: 900px;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--ink);
  margin-block: 32px 12px;
  text-transform: uppercase;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 18px 24px;
  margin-block: 26px;
  background: var(--bg-subtle);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
}

/* ═══════════════════════════════════════════
   PREMIUM 4-COLUMN FOOTER (AJUSTADO E ELEGANTE)
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-block: 64px 36px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 44px;
  width: 100%;
}

.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.8; max-width: 320px; }
.footer-tagline {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.footer-col h4 {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-links a:hover { color: var(--gold); transform: translateX(3px); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--muted);
}

.al-credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}

.al-credits a {
  color: var(--gold);
  font-weight: 800;
}

.al-credits a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   FLOATING ACTION BUTTONS (INSTAGRAM & WHATSAPP)
   ═══════════════════════════════════════════ */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-btn-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--header-bg);
  color: var(--ink);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.floating-btn:hover .floating-btn-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN (AIR-TIGHT ZERO OVERFLOW)
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 992px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid, .videos-grid, .testimonials-grid, .articles-preview-grid, .articles-grid, .exhibition-gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .lightbox-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
    position: relative;
  }
  body { padding-top: 84px; }
  .shell {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    box-sizing: border-box;
  }

  /* Header & Mobile Nav */
  .mobile-menu-btn { display: flex; }
  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }
  .nav-wrap {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    margin-inline: auto;
  }
  .top-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    background: var(--panel);
    padding: 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0,0,0,0.3);
    gap: 16px;
    align-items: stretch;
    text-align: center;
    z-index: 12000;
  }
  .top-nav.active { display: flex !important; }

  /* Typography & Titles adjustments on mobile */
  .hero-title {
    font-size: clamp(1.8rem, 6.8vw, 2.5rem);
    line-height: 1.18;
  }
  .section-title {
    font-size: clamp(1.6rem, 5.8vw, 2.2rem);
    line-height: 1.2;
  }
  .portal-title {
    font-size: clamp(1.6rem, 5.8vw, 2.2rem);
  }
  .section-subtitle, .hero-deck {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  /* Hero & Buttons */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn-primary, .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    font-size: 0.8rem;
  }

  .contact-actions-wrap {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .contact-actions-wrap .btn-primary, .contact-actions-wrap .btn-outline {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
  }

  /* Photos & Grids */
  .hero-main-img, .about-photo {
    height: auto !important;
    max-height: 380px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .hero-img-badge {
    padding: 14px 16px;
  }
  .hero-img-badge strong {
    font-size: 0.92rem;
  }
  .hero-img-badge span {
    font-size: 0.72rem;
  }

  .gallery-grid, .videos-grid, .testimonials-grid, .articles-preview-grid, .articles-grid, .exhibition-gallery-strip {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .exhibition-embed-box, .critics-full-box {
    padding: 20px 16px !important;
    box-sizing: border-box !important;
  }
  .quote-card {
    padding: 18px 16px !important;
  }
  .quote-card p {
    font-size: 1.15rem !important;
  }
  .testimonial-card {
    padding: 22px 18px !important;
  }

  /* Matterport Container */
  .matterport-container {
    height: 360px !important;
  }

  /* Timeline */
  .timeline {
    padding-left: 20px;
    margin-left: 8px;
  }
  .timeline-item::before {
    left: -27px;
    width: 10px;
    height: 10px;
  }

  /* Filter Bar */
  .filter-bar {
    gap: 8px;
    margin-bottom: 28px;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.72rem;
  }

  /* Footer */
  .site-footer {
    padding-block: 48px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    text-align: center;
  }
  .footer-brand p { margin-inline: auto; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-links { align-items: center; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 24px;
  }
  .al-credits {
    flex-direction: column;
    gap: 4px;
  }

  /* Floating Buttons */
  .floating-btn-tooltip { display: none !important; }
  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .floating-btn { width: 46px; height: 46px; }
}

@media (max-width: 480px) {
  .shell { padding-inline: 14px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .critic-header h3 { font-size: 1.05rem; }
}
