/* ==========================
   Variáveis e Reset
   ========================== */
:root {
  /* Cores principais da marca */
  --color-primary: #cc94ae;
  --color-primary-dark: #b17692;
  --color-primary-soft: #f1dde5;
  --color-secondary: #7d5468;

  /* Cores de texto e fundo */
  --color-text: #545454;
  --color-heading: #333333;
  --color-bg: #ffffff;
  --color-bg-alt: #fcf7fa;
  --color-border: #ecd9e1;

  /* Sombras */
  --shadow-sm: 0 8px 20px rgba(73, 43, 59, 0.08);
  --shadow-md: 0 18px 40px rgba(73, 43, 59, 0.12);
  --shadow-lg: 0 34px 80px rgba(73, 43, 59, 0.24);

  /* Raios */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Espaçamentos */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5.5rem;

  /* Container */
  --container: min(1120px, 92vw);

  /* Hero-specific */
  --h-rose: #cc94ae;
  --h-rose-lt: #e8c0d4;
  --h-rose-dkk: #a86f8a;
  --transition: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset / base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

/* Links */
a { color: inherit; }

/* Aumento dos títulos H2 */
h2 {
  font-size: 1.8rem !important;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem !important;
  }
}

/* Tipografia de títulos */
h1,h2,h3 { margin:0; font-family: "Montserrat", sans-serif; line-height:1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 2.4vw, 1.32rem); }

p { margin: 0; }
ul { margin: 0; padding-left: 1.2rem; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: var(--space-8) 0; }

.menu a.active {
  color: var(--color-primary-dark);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-heading);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* Header e Navegação */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.nav-wrapper {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--color-heading);
}

.brand span { font-size: 0.92rem; }

.menu-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: #fff;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.24rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.2rem;
  height: 0.12rem;
  border-radius: 999px;
  background: var(--color-heading);
}

.menu {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li { list-style: none; }

.menu a {
  text-decoration: none;
  font-weight: 700;
  color: #4b3f45;
  transition: color 0.3s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--color-primary-dark);
}

@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .menu {
    position: absolute;
    inset: 4.7rem 0 auto;
    background: #fff;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--color-border);
    display: none;
    flex-direction: column;
    gap: var(--space-3);
  }

  .menu-open .menu {
    display: flex;
  }
}

/* Hero Section */
.hero-sustentabilidade {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg);
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: floatAmbient 12s ease-in-out infinite alternate;
}

.blob-primary {
  width: 450px;
  height: 450px;
  top: -100px;
  right: -50px;
  background: var(--color-primary);
}

.blob-soft {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: var(--color-primary-soft);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-primary-dark) 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-wrapper {
  position: relative;
  width: 80px;
  margin-bottom: 28px;
}

.logo-light {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary-soft) 0%, transparent 70%);
  filter: blur(10px);
}

.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(241, 221, 229, 0.5);
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-dark);
  box-shadow: 0 0 0 0 rgba(177, 118, 146, 0.4);
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (max-width : 768px) {
  .hero-title {
    font-size : 24px;
    line-height : 1.1;
  }
}

@media (max-width : 480px) {
  .hero-title {
    font-size : 20px;
    white-space: normal;
  }
}

.title-highlight {
  background: linear-gradient(
    115deg, 
    var(--color-primary) 0%, 
    var(--color-primary-dark) 35%, 
    var(--color-primary-soft) 70%, 
    var(--color-primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  animation: gradientFlow 4s linear infinite;
  animation-play-state: paused;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.art-bento-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(251, 247, 250, 0.8), rgba(241, 221, 229, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 60px -12px rgba(125, 84, 104, 0.12);
  backdrop-filter: blur(16px);
  overflow: hidden;
  padding: 24px;
}

.hero-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.path {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawPath 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.path-2 {
  animation-delay: 0.3s;
  opacity: 0.6;
}

.esg-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(84, 84, 84, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.esg-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px rgba(177, 118, 146, 0.18);
  border-color: var(--color-primary);
}

.card-link-social {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card-link-social:hover {
  background: #ffffff;
  border-color: var(--color-primary-dark);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.card-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-heading);
}

.card-1 { top: 40px; left: 30px; }
.card-2 { top: 160px; right: 25px; }
.card-3 { bottom: 40px; left: 50px; }

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.scroll-indicator:hover {
  opacity: 1;
  transform: translate(-50%, 3px);
  color: var(--color-primary-dark);
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(177, 118, 146, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(177, 118, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(177, 118, 146, 0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

@media (max-width: 992px) {
  .hero-sustentabilidade {
    padding: 60px 0 60px;
    min-height: auto;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .logo-wrapper {
    margin: 0 auto 20px;
  }

  .art-bento-card {
    max-width: 100%;
    height: 320px;
  }

  .card-1 { top: 25px; left: 15px; }
  .card-2 { top: 125px; right: 15px; }
  .card-3 { bottom: 25px; left: 25px; }

  .scroll-indicator {
    display: none;
  }
}

/* ==========================================================
   SEÇÃO INTRO
   ========================================================== */
.intro-sustentabilidade {
  padding: var(--space-7) 0 var(--space-6);
  background: var(--color-bg);
}

.intro-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.intro-sustentabilidade h2,
#titulo-social {
  color: var(--color-primary) !important;
  font-weight: 800;
  margin-bottom: var(--space-4);
  text-align: left;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-5);
}

.intro-col-texto p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: var(--space-3);
}

.intro-col-texto p:last-child {
  margin-bottom: 0;
}

.intro-foto-wrapper {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  transition: transform var(--transition);
}

.intro-foto-wrapper:hover {
  transform: translateY(-4px);
}

.intro-foto-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

.sustentabilidade-texto-destaque-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: var(--space-5) 0;
}

.sustentabilidade-texto-destaque {
  display: block;
  width: 100%;
  max-width: 880px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-border);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.6;
  text-align: center !important;
  box-shadow: var(--shadow-sm);
  margin: 0 auto !important;
}

.intro-texto-continuacao p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: var(--space-4);
}

.intro-destaque-frase {
  font-size: 1.1rem !important;
  color: var(--color-primary-dark);
  text-align: center !important;
  margin: var(--space-4) 0 !important;
}

.intro-conclusao {
  background: var(--color-bg-alt);
  padding: var(--space-4);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .intro-foto-img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .intro-col-texto p,
  .intro-texto-continuacao p {
    text-align: justify;
    font-size: 1rem;
  }

  .sustentabilidade-texto-destaque {
    padding: var(--space-3) var(--space-4);
    font-size: 0.98rem;
    text-align: center !important;
  }

  .intro-sustentabilidade h2,
  #titulo-social {
    text-align: center;
  }
}

/* ==========================================================
   PILAR SOCIAL
   ========================================================== */
.pilar {
  position: relative;
  padding: var(--space-7) 0 var(--space-8);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.pilar-header {
  max-width: 62ch;
  margin: 0 auto var(--space-6);
  text-align: center;
}

.pilar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.75rem;
  margin-bottom: var(--space-3);
  border-radius: 999px;
  background: var(--color-primary);
  border: 1px solid var(--color-primary-dark);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(204, 148, 174, 0.35);
  transition: all 0.3s ease;
}

.pilar-badge:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(177, 118, 146, 0.45);
}

.pilar-badge i {
  font-size: 1.15rem;
}

/* Card do projeto */
.projeto-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
}

.projeto-topo {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: var(--space-5);
  align-items: start;
}

.projeto-num {
  display: inline-block;
  margin-bottom: var(--space-1);
  color: var(--color-primary-dark);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projeto-info h3 {
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.projeto-destaque {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, #fff 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.projeto-destaque::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--space-4);
  bottom: var(--space-4);
  width: 4px;
  border-radius: 999px;
  background: var(--color-primary);
}

.destaque-linha + .destaque-linha {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
}

.destaque-rotulo {
  display: block;
  color: var(--color-secondary);
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.destaque-linha strong {
  color: var(--color-heading);
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
}

/* Galeria / Carrossel */
.galeria { margin-top: var(--space-6); }

.galeria-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.galeria-titulo {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-heading);
}

.galeria-dica {
  font-size: 0.82rem;
  color: var(--color-primary-dark);
}

.galeria-dica-mobile {
  display: none;
}

/* Carrossel Desktop */
.carrossel {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  touch-action: pan-y;
}

.carrossel-track {
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  animation: carrosselScroll var(--carrossel-duracao, 60s) linear infinite;
  will-change: transform;
}

@keyframes carrosselScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.carrossel:hover .carrossel-track,
.carrossel:focus-within .carrossel-track,
.carrossel.is-paused .carrossel-track {
  animation-play-state: paused;
}

.foto {
  flex: 0 0 auto;
  list-style: none;
}

.foto-btn {
  display: block;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.foto-btn img {
  width: clamp(140px, 17vw, 210px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.foto-btn:hover,
.foto-btn:focus-visible {
  transform: scale(1.14) translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  z-index: 3;
  position: relative;
  outline: none;
}

.foto-btn:focus-visible { outline: 3px solid var(--color-primary-dark); outline-offset: 3px; }
.foto-btn:hover img { transform: scale(1.04); }

.carrossel-controles {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2);
}

.carrossel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-secondary);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.carrossel-btn:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

/* Lightbox responsiva */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(45, 26, 35, 0.86);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
  touch-action: pan-y;
}

.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox-img {
  max-width: min(90vw, 620px);
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #fff;
  object-fit: contain;
}

.lightbox-nav,
.lightbox-fechar {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 1210;
}

.lightbox-nav:hover,
.lightbox-fechar:hover { background: var(--color-primary); }

.lightbox-fechar {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
}

/* Em breve */
.em-breve-container {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.em-breve-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  max-width: 720px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.em-breve-card h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--color-primary-dark);
  margin: 0;
  text-align: center;
}

.em-breve-card p {
  margin-top: 12px;
  color: var(--color-text);
}

.redes-sociais {
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-top: 12px;
  text-align: center;
}

/* Footer */
footer {
  background-color: #545454;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.85rem;
}

footer p {
  margin: 0;
  display: inline-block;
  padding: 0 6px;
  white-space: nowrap;
}

footer p:not(:last-child)::after {
  content: " | ";
  color: rgba(255,255,255,0.6);
}

footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-copy {
  background-color: #fff;
  color: #555;
  text-align: center;
  font-size: 0.75rem;
  font-style: italic;
  padding: 6px 10px;
}

#btnTopo {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  border: none;
  background: transparent;
  color: #cc94ae;
  cursor: pointer;
  font-size: 48px;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
}

#btnTopo.show { opacity: 1; visibility: visible; }
#btnTopo:hover { color: #a86f8a; transform: scale(1.2); }

@media (max-width: 992px) {
  .projeto-topo { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ==========================================================
   CORREÇÃO DEFINITIVA DO ARRASTE MOBILE
   ========================================================== */
@media (max-width: 768px) {
  .pilar { padding: var(--space-6) 0 var(--space-7); }
  .galeria-head { flex-direction: column; align-items: flex-start; }
  
  /* Troca de textos explicativos no Mobile */
  .galeria-dica-desktop { display: none !important; }
  .galeria-dica-mobile { display: block !important; font-size: 0.82rem; color: var(--color-primary-dark); }
  
  /* Ocultar botão de pausa no Mobile */
  .carrossel-controles { display: none !important; }

  /* Contêiner da Galeria no Mobile */
  .carrossel {
    display: block !important;
    width: 100% !important;
    overflow-x: scroll !important; /* Força a barra de rolagem horizontal */
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important; /* Deslize suave no iOS */
    touch-action: pan-x !important; /* Garante o gesto de arraste horizontal */
    padding: 10px 0 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  
  /* Trilho de Fotos */
  .carrossel-track {
    display: flex !important;
    flex-wrap: nowrap !important; /* OBRIGA as fotos a ficarem em uma linha só */
    width: max-content !important; /* Garante que a largura total seja a soma das fotos */
    animation: none !important; /* Cancela a animação automática */
    transform: none !important;
    padding: 0 15px !important;
    gap: 12px !important;
  }
  
  /* Cada item da foto */
  .foto {
    flex: 0 0 auto !important; /* NÃO deixa a foto encolher */
    width: 150px !important;   /* Largura fixa da foto no celular */
  }

  .foto-btn {
    width: 100% !important;
  }

  .foto-btn img { 
    width: 150px !important;
    height: 210px !important;
    object-fit: cover !important;
  }

  .foto-btn:hover { transform: none !important; }

  /* Lightbox ajuste */
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(0, 0, 0, 0.5);
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-img { max-height: 70vh; }
}