/* Bruna Branco Photography - Fluid CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&family=Source+Code+Pro:wght@400;500;600&display=swap');

:root {
  --bg-color: #ffffff;
  --text-primary: #111111;
  --text-muted: #555555;
  --text-light: #888888;
  --accent-color: #000000;
  --border-color: #eaeaea;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
  --font-mono: 'Source Code Pro', monospace;
  --max-width: 1850px;
  --fluid-padding: clamp(2rem, 4.5vw, 5.5rem);
  --header-height: 85px;
  --transition: all 0.25s ease;
}

/* Utility para SEO & Acessibilidade */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  background-color: var(--page-bg, var(--bg-color));
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   HEADER FIXO NO TOPO (100% de largura da tela)
   ======================================================== */
.site-header.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: clamp(1.25rem, 2vw, 1.75rem);
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
}

/* Header quando está sobre a imagem Hero na Home */
.site-header.header-on-hero {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Header ganha fundo e sombra suave ao rolar a página */
.site-header.header-on-hero.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Header quando está na página de lista de projetos ou com fundo customizado */
.site-header.header-projects-list:not(.scrolled),
.site-header.header-transparent-top:not(.scrolled) {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header.header-projects-list.scrolled,
.site-header.header-transparent-top.scrolled {
  background-color: var(--page-bg, #d0d9e7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--fluid-padding);
  padding-right: var(--fluid-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.brand-logo img {
  height: clamp(40px, 3.2vw, 54px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.6));
  transition: var(--transition);
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
  z-index: 1001;
}

.social-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  transition: opacity 0.2s;
}

.social-nav-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-nav-link:hover {
  opacity: 0.65;
}

/* ========================================================
   SELETOR DE IDIOMA NO TOPO (LANG SWITCHER)
   ======================================================== */
.lang-nav-link {
  font-family: var(--font-main);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #111111;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 3px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  transition: all 0.2s ease;
}

.site-header.header-on-hero:not(.scrolled) .lang-nav-link {
  color: #111111;
  border-color: rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.lang-nav-link:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Ocultar seletor de idiomas do cabeçalho quando for mobile (exibido apenas no menu) */
@media (max-width: 768px) {
  .site-header .lang-nav-link {
    display: none !important;
  }
}

/* ========================================================
   BOTÃO DO MENU SANDUÍCHE (HAMBURGER)
   ======================================================== */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 40px;
  height: 40px;
  transition: opacity 0.2s;
}

.hamburger-btn:hover {
  opacity: 0.7;
}

.hamburger-line {
  display: block;
  height: 2px;
  background-color: #111111;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  border-radius: 2px;
}

.hamburger-line:nth-child(1) { width: 26px; }
.hamburger-line:nth-child(2) { width: 20px; }
.hamburger-line:nth-child(3) { width: 26px; }

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  width: 24px;
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  width: 24px;
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================================
   MENU SANDUÍCHE LATERAL (DRAWER OFF-CANVAS)
   Desktop: 20% da largura | Mobile: 80% da largura
   ======================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  
  /* Largura no Desktop: exatamente 20% da tela */
  width: 20vw;
  min-width: 280px;
}

@media (max-width: 768px) {
  .side-drawer {
    /* Largura no Mobile: exatamente 80% da tela */
    width: 80vw;
    min-width: unset;
    padding: 2.5rem 1.75rem;
  }
}

.side-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.drawer-brand {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  font-weight: 500;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #111111;
  cursor: pointer;
  padding: 0.25rem;
  transition: opacity 0.2s;
}

.drawer-close-btn:hover {
  opacity: 0.6;
}

.drawer-nav {
  flex-grow: 1;
}

.drawer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.drawer-link {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111111;
  display: inline-block;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.drawer-link:hover {
  opacity: 0.65;
  transform: translateX(4px);
}

.drawer-link.active {
  border-bottom: 2px solid #111111;
  padding-bottom: 3px;
}

.drawer-footer {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer-lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* No desktop (> 768px): ocultar do menu lateral (já visível no cabeçalho fixo) */
@media (min-width: 769px) {
  .drawer-lang-switch {
    display: none !important;
  }
}

.drawer-lang-btn {
  color: #777777;
  padding: 6px 10px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  transition: all 0.2s ease;
}

.drawer-lang-btn:hover {
  color: #111111;
  background-color: rgba(0, 0, 0, 0.05);
}

.drawer-lang-btn.active {
  color: #111111;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.drawer-lang-sep {
  color: #cccccc;
  font-weight: 300;
  padding: 0 2px;
}

.drawer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.drawer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.drawer-email-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.drawer-email-link:hover {
  color: #111111;
}

/* ========================================================
   SEÇÃO HERO: PRIMEIRA DOBRA DA HOME (100% ALTURA)
   ======================================================== */
.hero-section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: #f7f7f7;
}

.hero-media-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Indicador Discreto de Scroll na Hero */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #111111;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  transition: var(--transition);
}

.hero-scroll-indicator:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%) translateY(3px);
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  animation: scrollBounce 2s infinite ease-in-out;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ========================================================
   CONTAINER PRINCIPAL E ESPAÇAMENTOS
   ======================================================== */
.main-content {
  width: 100%;
  min-height: calc(100vh - 200px);
}

/* Na Home: sem padding no topo pois a hero começa em 0,0 */
.home-main-content {
  padding: 0;
}

.home-gallery-section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--fluid-padding);
  padding-right: var(--fluid-padding);
  padding-top: clamp(3rem, 5vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 8rem);
}

/* Nas páginas internas: compensar a altura do header fixo */
.inner-main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--fluid-padding);
  padding-right: var(--fluid-padding);
  padding-top: clamp(110px, 11vw, 150px);
  padding-bottom: clamp(4rem, 6vw, 8rem);
}

/* ========================================================
   PHOTO GALLERY MASONRY LAYOUT
   ======================================================== */
.gallery-masonry {
  column-count: 3;
  column-gap: clamp(1.5rem, 3.2vw, 3.5rem);
}

@media (max-width: 960px) {
  .gallery-masonry {
    column-count: 2;
    column-gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  .gallery-masonry {
    column-count: 1;
    column-gap: 0;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(1.5rem, 3.2vw, 3.5rem);
  position: relative;
  overflow: hidden;
  background-color: #fafafa;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.gallery-item:hover img {
  opacity: 0.93;
  transform: scale(1.015);
}

/* ========================================================
   PUBLISHED PAGE - EDITORIAL PRINT LAYOUT
   Reference: media_1791576726207.jpg (Coral / Terracotta #f28b6a)
   ======================================================== */
body.page-published {
  background-color: var(--page-bg, #f28b6a);
}

body.page-published .inner-main-content {
  padding-top: clamp(85px, 8.5vw, 130px);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-left: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-right: clamp(1.5rem, 3.5vw, 3.5rem);
}

.published-masonry {
  column-count: 3;
  column-gap: clamp(1.5rem, 3.2vw, 3.2rem);
}

@media (max-width: 960px) {
  .published-masonry {
    column-count: 2;
    column-gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .published-masonry {
    column-count: 1;
    column-gap: 0;
  }
}

body.page-published .gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(1.5rem, 3.2vw, 3.2rem);
  position: relative;
  overflow: hidden;
  background-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

body.page-published .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

body.page-published .gallery-item:hover {
  transform: translateY(-3px) scale(1.008);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

body.page-published .gallery-item:hover img {
  opacity: 0.96;
}

body.page-published .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

body.page-published .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

body.page-published .gallery-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  display: block;
}

/* ========================================================
   EDITORIAL PROJECTS LIST (Centered Minimal Typography + Cursor Follower)
   Reference: media_1791574104163.png & media_1791574104171.png
   ======================================================== */
body.page-projects-list {
  background-color: var(--page-bg, #d0d9e7);
}

body.page-projects-list .inner-main-content {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: clamp(100px, 14vh, 180px);
  padding-bottom: clamp(4rem, 10vh, 8rem);
  position: relative;
}

.projects-editorial-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 5;
}

.projects-editorial-nav {
  width: 100%;
}

.projects-editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 3.2vh, 2.6rem);
}

.projects-editorial-item {
  margin: 0;
  padding: 0;
  position: relative;
}

.project-editorial-link {
  display: inline-block;
  position: relative;
  z-index: 5;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, letter-spacing 0.3s ease, transform 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

.project-editorial-link:hover {
  color: #000000;
  letter-spacing: 0.07em;
}

.project-title-text {
  position: relative;
  display: inline-block;
}

/* Elemento Flutuante do Cursor (Desktop Mouse Follower Preview) */
.project-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  will-change: transform, opacity;
}

.project-cursor-follower.is-active {
  opacity: 1;
  visibility: visible;
}

.follower-img-frame {
  width: clamp(340px, 32vw, 540px);
  height: clamp(420px, 39vw, 660px);
  max-width: 85vw;
  max-height: 82vh;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.follower-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

@media (max-width: 820px) {
  .project-cursor-follower {
    display: none !important;
  }
  
  .project-editorial-link {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
}

/* ========================================================
   PROJECTS PAGE
   ======================================================== */
.page-title {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card-image {
  overflow: hidden;
  background-color: #f7f7f7;
  margin-bottom: 1rem;
}

.project-card-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.03);
}

.project-card-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.project-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ========================================================
   INFO / ABOUT PAGE EDITORIAL LAYOUT
   Reference: media_1791575147797.png
   ======================================================== */
body.page-info {
  background-color: var(--page-bg, #d0d9e7);
}

body.page-info .inner-main-content {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: clamp(100px, 14vh, 180px);
  padding-bottom: clamp(4rem, 10vh, 8rem);
}

.info-editorial-wrapper {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.info-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.info-editorial-col-text {
  display: flex;
  flex-direction: column;
}

.info-editorial-bio {
  display: flex;
  flex-direction: column;
}

.info-bio-paragraph {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.48vw, 1.42rem);
  line-height: 1.72;
  color: #1a1a1a;
  font-weight: 400;
  letter-spacing: 0.015em;
  margin-bottom: clamp(1.4rem, 2.4vh, 2rem);
}

.info-bio-location {
  margin-bottom: clamp(1.8rem, 3.2vh, 2.6rem);
}

.info-editorial-closing {
  margin-top: 0.5rem;
}

.info-closing-line {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.48vw, 1.42rem);
  line-height: 1.72;
  color: #1a1a1a;
  font-weight: 400;
  letter-spacing: 0.015em;
  margin-bottom: 0.85rem;
}

.info-email-line {
  margin: 0;
}

.info-editorial-email {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.48vw, 1.42rem);
  line-height: 1.72;
  color: #1a1a1a;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.info-editorial-email:hover {
  opacity: 0.65;
}

.info-editorial-col-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-editorial-figure {
  margin: 0;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.info-editorial-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

@media (max-width: 880px) {
  .info-editorial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .info-editorial-col-media {
    order: -1;
  }

  .info-editorial-figure {
    max-width: 440px;
    margin: 0 auto;
  }

  .info-bio-paragraph,
  .info-closing-line,
  .info-editorial-email {
    font-size: clamp(1.15rem, 4.5vw, 1.3rem);
    line-height: 1.65;
  }
}

/* ========================================================
   LIGHTBOX MODAL
   ======================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Cursor de clique para zoom em Desktop conforme configuração */
@media (min-width: 820px) {
  body[data-desktop-lightbox="true"] .curated-photo-item,
  body[data-desktop-lightbox="true"] .ren-photo-card,
  body[data-desktop-lightbox="true"] .gallery-item {
    cursor: zoom-in;
  }
  
  body[data-desktop-lightbox="false"] .curated-photo-item,
  body[data-desktop-lightbox="false"] .ren-photo-card,
  body[data-desktop-lightbox="false"] .gallery-item {
    cursor: default;
  }
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 3010;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  font-size: 2rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  z-index: 3010;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ========================================================
   CUSTOM FOOTER (WHAT I CREATE & NEW WORK COLUMNS)
   ======================================================== */
.custom-site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 1. SEÇÃO VINHO (WHAT I CREATE) */
.footer-wine-section {
  background-color: #620e28;
  color: #f7f5f2;
  padding: clamp(4.5rem, 6.5vw, 6.5rem) 4vw clamp(4rem, 6vw, 6rem);
}

.footer-wine-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-accordion-main-title {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.26vw, 1.26rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f7f5f2;
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.footer-accordion {
  width: 100%;
  border-bottom: 1px solid #dd5454;
}

.footer-accordion-item {
  border-top: 1px solid #dd5454;
}

.footer-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: clamp(1.6rem, 2.8vw, 2.5rem) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #f7f5f2;
  transition: opacity 0.2s ease;
}

.footer-accordion-header:hover {
  opacity: 0.85;
}

.footer-accordion-title {
  font-family: var(--font-serif);
  font-size: clamp(2.88rem, 5.28vw, 5.52rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #f7f5f2;
}

.footer-accordion-icon {
  font-family: var(--font-serif);
  font-size: clamp(2.64rem, 4.32vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
  color: #dd5454;
  margin-left: 1.5rem;
  user-select: none;
  transition: transform 0.2s ease;
}

/* Transição Suave do Acordeon via Modern CSS Grid */
.footer-accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-accordion-collapse.is-open {
  grid-template-rows: 1fr;
}

.footer-accordion-inner {
  overflow: hidden;
}

.footer-accordion-body {
  padding-bottom: clamp(2.2rem, 3.5vw, 3.5rem);
  max-width: 900px;
}

.footer-accordion-body p {
  font-family: var(--font-serif);
  font-size: clamp(1.38rem, 1.68vw, 1.68rem);
  font-weight: 300;
  line-height: 1.8;
  color: #f7f5f2;
  margin-bottom: 1.4rem;
}

.footer-accordion-body p:last-child {
  margin-bottom: 0;
}

/* 2. FAIXA GEOMÉTRICA DECORATIVA */
.footer-decorative-band {
  width: 100%;
  height: 18px;
  background-color: #f7f5f2;
  background-image: repeating-linear-gradient(
    to right,
    #fb5c41 0px,
    #fb5c41 23px,
    #f7f5f2 23px,
    #f7f5f2 38px
  );
  border: none;
}

/* 3. SEÇÃO INFERIOR CREME (BRAND & NEWSLETTER) */
.footer-cream-section {
  background-color: #f7f5f2;
  color: #222222;
  padding: clamp(4.5rem, 7vw, 7.5rem) 4vw clamp(4rem, 6vw, 6.5rem);
}

.footer-cream-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(3rem, 7vw, 8rem);
  row-gap: 4rem;
  align-items: start;
}

/* Coluna Esquerda */
.footer-col-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-logo-link {
  display: inline-block;
  margin-bottom: 1.6rem;
  transition: opacity 0.25s ease;
}

.footer-brand-logo-link:hover {
  opacity: 0.8;
}

.footer-brand-logo {
  height: clamp(36px, 3.2vw, 44px);
  width: auto;
  display: block;
}

.footer-brand-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 1.68vw, 1.74rem);
  font-weight: 300;
  line-height: 1.7;
  color: #2b2b2b;
  margin-bottom: clamp(3.5rem, 5.5vw, 6rem);
  max-width: 440px;
}

.footer-brand-copyright {
  font-family: var(--font-serif);
  font-size: clamp(1.14rem, 1.38vw, 1.38rem);
  font-weight: 300;
  color: #2b2b2b;
}

/* Coluna Direita */
.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-newsletter-wrap {
  width: 100%;
  max-width: 440px;
  margin-bottom: clamp(3.5rem, 5.5vw, 5.5rem);
  text-align: center;
}

.footer-newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.68rem, 2.22vw, 2.34rem);
  font-weight: 300;
  line-height: 1.5;
  color: #222222;
  margin-bottom: 1.8rem;
}

.footer-newsletter-form {
  width: 100%;
}

.newsletter-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.footer-newsletter-input {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #dcdad5;
  border-right: none;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.26rem;
  color: #222222;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.footer-newsletter-input::placeholder {
  color: #a8a49c;
  font-family: var(--font-serif);
  font-style: normal;
}

.footer-newsletter-input:focus {
  border-color: #111111;
}

.footer-newsletter-btn {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-main);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.footer-newsletter-btn:hover {
  background-color: #262626;
}

.footer-bottom-contact-row {
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-contact-email {
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 1.68vw, 1.74rem);
  font-weight: 300;
  color: #222222;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact-email:hover {
  opacity: 0.65;
}

.footer-contact-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-contact-instagram:hover {
  opacity: 0.65;
  transform: scale(1.08);
}

/* Responsividade Mobile */
@media (max-width: 820px) {
  .footer-cream-container {
    grid-template-columns: 1fr;
    row-gap: 3.5rem;
  }

  .footer-brand-tagline {
    margin-bottom: 2.5rem;
  }

  .footer-newsletter-wrap {
    margin-bottom: 2.5rem;
  }

  .footer-bottom-contact-row {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

/* ==========================================================================
   MIOLO DA HOME: 9 FOTOS ESPALHADAS + TEXTOS EDITORIAIS (SHOWCASE CURADO)
   ========================================================================== */

.home-curated-showcase {
  background-color: #f7f5f2;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Base do item de foto */
.curated-photo-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: #ede9e3;
  display: block;
  cursor: pointer;
}

.curated-photo-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.curated-photo-item:hover img {
  transform: scale(1.02);
}

/* Tipografia Editorial Intercalada */
.editorial-title {
  font-family: var(--font-serif);
  font-size: 6vw;
  font-weight: 300;
  line-height: 1.06;
  color: #1a1a1a;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: lowercase;
}

.editorial-statement {
  margin: 0;
  max-width: 100%;
}

.editorial-statement p {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.23;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: lowercase;
}

/* --------------------------------------------------------------------------
   DESKTOP CANVAS: Posicionamento percentual proporcional 1450px x 4195px
   -------------------------------------------------------------------------- */
@media (min-width: 821px) {
  .curated-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1450 / 4195;
    margin: 0 auto;
  }

  .curated-text-block,
  .curated-photo-item {
    position: absolute;
    margin: 0;
  }

  /* 1. Texto 'recent work' */
  .curated-text-block.text-1 {
    left: 11.517%;
    top: 4.198%;
    width: auto;
    max-width: 38%;
    z-index: 2;
  }

  /* 2. Foto 1 (01+12.jpg) */
  .curated-photo-item.photo-1 {
    left: 53.862%;
    top: 1.669%;
    width: 30.621%;
    aspect-ratio: 444 / 574;
    z-index: 1;
  }

  /* 3. Foto 2 (02_salad_red.jpg - sangra borda esquerda) */
  .curated-photo-item.photo-2 {
    left: 0;
    top: 11.206%;
    width: 38.483%;
    aspect-ratio: 558 / 744;
    z-index: 1;
  }

  /* 4. Texto 'food, beverage...' */
  .curated-text-block.text-2 {
    left: 69.034%;
    top: 17.569%;
    width: clamp(340px, 25.5vw, 400px);
    z-index: 2;
  }

  /* 5. Foto 3 (Tognana_2.jpg) */
  .curated-photo-item.photo-3 {
    left: 61.31%;
    top: 27.461%;
    width: 30.690%;
    aspect-ratio: 445 / 602;
    z-index: 1;
  }

  /* 6. Foto 4 (04_jan_roc_oil.jpg) */
  .curated-photo-item.photo-4 {
    left: 7.862%;
    top: 36.02%;
    width: 34.483%;
    aspect-ratio: 500 / 602;
    z-index: 1;
  }

  /* 7. Foto 5 (Roasted_Cabbage_1.jpg - sangra borda direita) */
  .curated-photo-item.photo-5 {
    left: 57.655%;
    top: 45.221%;
    width: 42.345%;
    aspect-ratio: 614 / 516;
    z-index: 1;
  }

  .curated-photo-item.photo-5 img {
    object-position: center top;
  }

  /* 8. Foto 6 (Poento_1.jpg) */
  .curated-photo-item.photo-6 {
    left: 15.517%;
    top: 56.162%;
    width: 34.483%;
    aspect-ratio: 500 / 631;
    z-index: 1;
  }

  /* 9. Foto 7 (Gif_aves_natalinas.gif) */
  .curated-photo-item.photo-7 {
    left: 65.310%;
    top: 63.004%;
    width: 30.690%;
    aspect-ratio: 445 / 573;
    z-index: 1;
  }

  /* 10. Foto 8 (07.jpg) */
  .curated-photo-item.photo-8 {
    left: 4.000%;
    top: 74.613%;
    width: 34.483%;
    aspect-ratio: 500 / 660;
    z-index: 1;
  }

  /* 11. Foto 9 (09_iced_coffee_blue.jpg) */
  .curated-photo-item.photo-9 {
    left: 50.000%;
    top: 80.763%;
    width: 34.483%;
    aspect-ratio: 500 / 602;
    z-index: 1;
  }
}

/* ==========================================================================
   SEÇÃO DOS PROJETOS (FUNDO AZUL/CINZA ARDÓSIA SUAVE #d0d9e7)
   ========================================================================== */

.home-projects-showcase {
  background-color: #d0d9e7;
  padding: 8vw 4vw 10vw 4vw;
  position: relative;
  width: 100%;
}

.projects-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(3rem, 15vw, 14.5rem);
  row-gap: clamp(3.5rem, 5vw, 5rem);
}

.home-project-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.home-project-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-project-media {
  position: relative;
  overflow: hidden;
  background-color: #b9c6d4;
  aspect-ratio: 4 / 5;
}

.home-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.home-project-link:hover .home-project-media img {
  transform: scale(1.025);
}

.home-project-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 3.45vw, 3.45rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #df6446;
  margin-top: 0;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: #df6446;
  text-underline-offset: 8px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-project-link:hover .home-project-title {
  color: #c84e31;
  text-decoration-color: #c84e31;
}

/* ==========================================================================
   RESPONSIVIDADE DO MIOLO E PROJETOS (MOBILE / TABLET <= 820px)
   ========================================================================== */

@media (max-width: 820px) {
  .home-curated-showcase {
    padding: 4.5rem 0 5.5rem 0;
  }

  .curated-canvas {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    padding: 0 1.25rem;
  }

  .curated-text-block {
    position: static;
    width: 100%;
    text-align: center;
  }

  .curated-text-block.text-1 {
    margin-bottom: 0.5rem;
  }

  .curated-text-block.text-2 {
    margin: 1.5rem 0;
    max-width: 90%;
  }

  .editorial-title {
    font-size: clamp(2.8rem, 8vw, 3.6rem);
    line-height: 1.12;
    margin: 0 auto;
  }

  .editorial-statement p {
    font-size: clamp(1.85rem, 5.5vw, 2.4rem);
    line-height: 1.25;
    margin: 0 auto;
  }

  .curated-photo-item {
    position: static;
    width: 90% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    aspect-ratio: auto;
  }

  .curated-photo-item img {
    height: auto;
  }

  .curated-photo-item.photo-5 img {
    aspect-ratio: 614 / 516;
    object-position: center top;
  }

  .home-projects-showcase {
    padding: 4.5rem 1.25rem 5.5rem 1.25rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .home-project-media {
    aspect-ratio: 4 / 5;
  }

  .home-project-title {
    font-size: clamp(1.85rem, 5.5vw, 2.4rem);
    margin-top: 0;
    text-underline-offset: 6px;
  }
}

/* ========================================================
   MODULAR EDITORIAL TEMPLATES (REN FULLER REFERENCE)
   ======================================================== */

.ren-project-article {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) 5rem clamp(1.25rem, 4vw, 3.5rem);
}

.ren-project-top {
  margin-bottom: 2rem;
}

.ren-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-bottom: 1.25rem;
}

.ren-back-link:hover {
  color: #1e293b;
}

.ren-project-divider {
  border: none;
  border-top: 1px solid #1a1a1a;
  margin: 0;
  opacity: 0.9;
  width: 100%;
}

/* Cabeçalho Editorial do Projeto */
.ren-project-header {
  padding-top: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.ren-project-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.15;
}

.ren-project-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: #475569;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.ren-project-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 760px;
  margin-top: 0.75rem;
}

/* Container de Blocos Modulares */
.ren-blocks-container {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6.5vw, 6rem);
}

/* Cartão / Figura de Foto Editorial */
.ren-photo-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: #f8fafc;
  cursor: pointer;
}

.ren-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.ren-photo-card:hover img {
  transform: scale(1.025);
  opacity: 0.96;
}

/* Bloco 1: 2 Colunas Assimétricas (Médio + Grande) */
.ren-block-two-col-asym {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: center;
}

.ren-block-two-col-asym.inverted {
  grid-template-columns: 1.15fr 0.85fr;
}

.ren-block-two-col-asym .ren-col-medium {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 2.5rem);
}

.ren-block-two-col-asym .ren-col-medium .ren-photo-card {
  width: 100%;
  max-width: 90%;
  aspect-ratio: 4 / 5;
}

.ren-block-two-col-asym .ren-col-large .ren-photo-card {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* Bloco 2: 2 Colunas Empilhadas (2 Fotos Paisagem + 1 Foto Alta) - Brami Style */
.ren-block-two-col-stacked {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: stretch;
}

.ren-block-two-col-stacked.inverted {
  grid-template-columns: 0.9fr 1.1fr;
}

.ren-block-two-col-stacked .ren-col-stacked-pair {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  justify-content: space-between;
}

.ren-block-two-col-stacked .ren-col-stacked-pair .ren-photo-card {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.ren-block-two-col-stacked .ren-col-tall {
  display: flex;
}

.ren-block-two-col-stacked .ren-col-tall .ren-photo-card {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
}

/* Bloco 3: 2 Colunas Retratos (Grande + Médio) */
.ren-block-two-col-portraits {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: start;
}

.ren-block-two-col-portraits.inverted {
  grid-template-columns: 0.9fr 1.1fr;
}

.ren-block-two-col-portraits .ren-col-portrait-large .ren-photo-card {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.ren-block-two-col-portraits .ren-col-portrait-medium {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.ren-block-two-col-portraits .ren-col-portrait-medium .ren-photo-card {
  width: 100%;
  aspect-ratio: 3 / 4;
}

/* Bloco 4: 3 Colunas em Grade */
.ren-block-three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
}

.ren-block-three-col-grid .ren-photo-card {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* Bloco 5: 3 Colunas Assimétricas */
.ren-block-three-col-asym {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
}

.ren-block-three-col-asym .ren-asym-wide {
  aspect-ratio: 1 / 1;
}

.ren-block-three-col-asym .ren-asym-mid {
  aspect-ratio: 4 / 5;
  max-width: 90%;
  margin: 0 auto;
}

.ren-block-three-col-asym .ren-asym-tall {
  aspect-ratio: 3 / 4;
}

/* Bloco 6: 1 Foto Destaque Única (Full Width) */
.ren-block-single-hero {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.ren-block-single-hero .ren-photo-card {
  width: 100%;
  aspect-ratio: 16 / 10;
}

/* Bloco 7: Ficha Técnica / CREW */
.ren-block-crew {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid #1a1a1a;
  margin-top: 1rem;
}

.ren-block-crew.inverted {
  grid-template-columns: 0.9fr 1.1fr;
}

.ren-crew-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  color: #1e293b;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
}

.ren-crew-text {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 2;
  color: #475569;
  white-space: pre-line;
}

.ren-crew-media {
  display: flex;
  justify-content: center;
}

.ren-crew-photo {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
}

/* Bloco 8: Grade Padrão Contínua */
.ren-block-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.ren-block-grid .ren-photo-card {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* Responsividade Mobile para Todos os Blocos Modulares */
@media (max-width: 820px) {
  .ren-block-two-col-asym,
  .ren-block-two-col-asym.inverted,
  .ren-block-two-col-stacked,
  .ren-block-two-col-stacked.inverted,
  .ren-block-two-col-portraits,
  .ren-block-two-col-portraits.inverted,
  .ren-block-three-col-grid,
  .ren-block-three-col-asym,
  .ren-block-crew,
  .ren-block-crew.inverted,
  .ren-block-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ren-block-two-col-asym .ren-col-medium {
    padding: 0;
  }

  .ren-block-two-col-asym .ren-col-medium .ren-photo-card {
    max-width: 100%;
  }

  .ren-block-two-col-portraits .ren-col-portrait-medium {
    padding-top: 0;
  }

  .ren-block-three-col-asym .ren-asym-mid {
    max-width: 100%;
  }

  .ren-crew-media {
    order: 2;
    margin-top: 1.5rem;
  }

  .ren-crew-content {
    order: 1;
  }
}


