/* ==========================================================================
   ENGENHO MÁGICO - FOLHA DE ESTILOS PRINCIPAL (CONSOLIDADA DEFINITIVA)
   Identidade: Areia, Pergaminho, Aventura e Ludicidade
   Páginas: Início, Sobre Nós, Experiências, Projetos, Detalhes e Contato
   ========================================================================== */

/* 1. IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Fundo Principal e Seções (Areia / Pergaminho) */
  --cor-fundo-geral: #f7f2e8;
  --cor-fundo-secao: #efe6d5;
  --cor-card: #ffffff;
  --cor-card-hover: #fffdfa;

  /* Acentos de Aventura */
  --cor-ouro: #c8881a;
  --cor-ouro-hover: #b07410;
  --cor-terracota: #a84429;
  --cor-borda: #ded3c0;
  --cor-borda-forte: #c4b59d;

  /* Textos Legíveis */
  --cor-texto-principal: #261f1a;
  --cor-texto-mutado: #665749;

  /* Tipografia Segura */
  --font-heading: 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-card: 14px;
  --radius-botao: 50px;
}

/* ================= RESET & ESTRUTURA BASE ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cor-fundo-geral);
  color: var(--cor-texto-principal);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= CABEÇALHO (HEADER UNIVERSAL) ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cor-borda);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cor-texto-mutado);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--cor-terracota);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}

.lang-switch {
  font-size: 0.85rem;
  color: var(--cor-texto-mutado);
  border: 1px solid var(--cor-borda-forte);
  background: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
}

.lang-switch span.active {
  color: var(--cor-terracota);
  font-weight: 700;
}

/* ================= PAGE HERO (PÁGINAS INTERNAS) ================= */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  background: var(--cor-fundo-secao);
  border-bottom: 1px solid var(--cor-borda);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cor-texto-principal);
}

.page-hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--cor-texto-mutado);
  max-width: 760px;
  margin: 0 auto;
}

/* ================= HERO PRINCIPAL (HOME) ================= */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
  background: #2b221a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(38, 31, 26, 0.45) 0%, rgba(38, 31, 26, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.4rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #f2eae0;
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ================= BOTÕES ================= */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cor-ouro);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius-botao);
  box-shadow: 0 4px 14px rgba(200, 136, 26, 0.35);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: var(--cor-ouro-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 136, 26, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cor-borda-forte);
  background: #ffffff;
  color: var(--cor-texto-principal);
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-botao);
  transition: all 0.2s ease;
}

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

/* ================= TÍTULOS E DIVISORES ================= */
.section-padding {
  padding: 5.5rem 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  margin-bottom: 0.5rem;
  color: var(--cor-texto-principal);
}

.title-underline {
  height: 8px;
  width: 140px;
  margin: 0.5rem auto 1.25rem;
  object-fit: contain;
}

.section-title p {
  color: var(--cor-texto-mutado);
  font-size: 1.1rem;
}

/* ================= INTRODUÇÃO (HOME) ================= */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--cor-texto-principal);
}

.intro-text .text-highlight {
  color: var(--cor-terracota);
  display: block;
}

.intro-text p {
  color: var(--cor-texto-mutado);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.intro-media video,
.intro-media img {
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px rgba(44, 34, 26, 0.15);
  border: 1px solid var(--cor-borda);
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

/* ================= O PODER DA TRANSFORMAÇÃO (HOME) ================= */
.transform-section {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.transform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.transform-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.04);
  transition: all 0.25s ease;
}

.transform-card:hover {
  border-color: var(--cor-ouro);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 34, 26, 0.08);
}

.client-point span {
  font-size: 0.8rem;
  color: var(--cor-texto-mutado);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.client-point strong {
  display: block;
  color: var(--cor-texto-principal);
  font-size: 1.1rem;
  margin-top: 0.3rem;
  font-family: var(--font-heading);
}

.transform-arrow {
  color: var(--cor-terracota);
  font-size: 1.3rem;
  font-weight: 700;
}

.result-point span {
  font-size: 0.8rem;
  color: var(--cor-ouro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.result-point strong {
  display: block;
  color: var(--cor-terracota);
  font-size: 1.15rem;
  margin-top: 0.3rem;
  font-family: var(--font-heading);
}

/* ================= FORMATOS DE EXPERIÊNCIA (HOME) ================= */
.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.experience-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(44, 34, 26, 0.05);
  transition: all 0.25s ease;
}

.experience-card:hover {
  border-color: var(--cor-ouro);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(44, 34, 26, 0.1);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ede6d6;
  border-bottom: 1px solid var(--cor-borda);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: transform 0.4s ease;
}

.experience-card:hover .card-thumb img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.experience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cor-texto-principal);
  margin-bottom: 0.75rem;
}

.experience-card p {
  color: var(--cor-texto-mutado);
  font-size: 0.96rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  color: var(--cor-ouro);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  color: var(--cor-terracota);
}

/* ================= JORNADA DO PARTICIPANTE (HOME) ================= */
.journey-section {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
}

.journey-container-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.journey-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.journey-item {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.04);
}

.journey-item h4 {
  font-family: var(--font-heading);
  color: var(--cor-terracota);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.journey-item p {
  color: var(--cor-texto-mutado);
  font-size: 0.92rem;
  line-height: 1.6;
}

.journey-media-box {
  background: #ede6d6;
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(44, 34, 26, 0.12);
  padding: 0.5rem;
}

.journey-media-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
}

/* ================= PARA QUEM CRIAMOS (HOME) ================= */
.target-section {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.target-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.04);
}

.target-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ede6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.target-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.target-card-body {
  padding: 1.5rem;
}

.target-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--cor-texto-principal);
  margin-bottom: 0.4rem;
}

.target-card p {
  font-size: 0.92rem;
  color: var(--cor-texto-mutado);
}

/* ================= SHOWCASE DE VÍDEOS (HOME) ================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
}

.showcase-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 34, 26, 0.08);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-info {
  padding: 1.75rem;
}

.showcase-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cor-texto-principal);
  margin-bottom: 0.6rem;
}

.showcase-info p {
  color: var(--cor-texto-mutado);
  font-size: 0.95rem;
}

/* ================= CATÁLOGO DE FORMATOS (HOME) ================= */
.catalog-section {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.catalog-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.04);
  transition: all 0.25s ease;
}

.catalog-card:hover {
  border-color: var(--cor-ouro);
  transform: translateY(-3px);
}

.catalog-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cor-terracota);
  background: rgba(168, 68, 41, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.catalog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--cor-texto-principal);
  margin-bottom: 0.6rem;
}

.catalog-card p {
  font-size: 0.92rem;
  color: var(--cor-texto-mutado);
}

/* ================= PORTFÓLIO CALLOUT (HOME) ================= */
.portfolio-callout {
  text-align: center;
  background: var(--cor-fundo-geral);
}

/* ================= SEÇÃO DE CONTATO (CONTATO.HTML) ================= */
.contact-section {
  padding: 5.5rem 0;
  background: var(--cor-fundo-geral);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
  color: var(--cor-texto-principal);
  line-height: 1.25;
}

.contact-info-col p.lead {
  font-size: 1.05rem;
  color: var(--cor-texto-mutado);
  margin-bottom: 2.5rem;
}

.channels-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.channel-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.04);
  transition: all 0.2s ease;
}

.channel-card:hover {
  border-color: var(--cor-ouro);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 34, 26, 0.08);
}

.channel-card.channel-whatsapp {
  border-color: rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, var(--cor-card) 100%);
}

.channel-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.channel-meta span.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cor-texto-mutado);
  font-weight: 600;
}

.channel-meta strong.value {
  font-size: 1.15rem;
  color: var(--cor-texto-principal);
}

.btn-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-botao);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-channel.whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-channel.whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-channel.secondary {
  background: #ffffff;
  border: 1px solid var(--cor-borda-forte);
  color: var(--cor-texto-principal);
}

.btn-channel.secondary:hover {
  border-color: var(--cor-terracota);
  color: var(--cor-terracota);
}

.operation-details {
  background: var(--cor-fundo-secao);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.operation-details h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cor-terracota);
  margin-bottom: 0.5rem;
}

.operation-details p {
  font-size: 0.92rem;
  color: var(--cor-texto-mutado);
  line-height: 1.6;
}

/* Formulário de Briefing (Contato) */
.contact-form-box {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 12px 32px rgba(44, 34, 26, 0.08);
}

.contact-form-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--cor-texto-principal);
  margin-bottom: 0.5rem;
}

.contact-form-box p.form-desc {
  font-size: 0.92rem;
  color: var(--cor-texto-mutado);
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cor-texto-principal);
}

.form-control {
  width: 100%;
  background: #faf6f0;
  border: 1px solid var(--cor-borda-forte);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--cor-texto-principal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--cor-ouro);
  box-shadow: 0 0 0 3px rgba(200, 136, 26, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--cor-ouro);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-botao);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 136, 26, 0.35);
  transition: all 0.25s ease;
}

.btn-submit:hover {
  background: var(--cor-ouro-hover);
  box-shadow: 0 6px 18px rgba(200, 136, 26, 0.45);
  transform: translateY(-2px);
}

.projects-bridge {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
  padding: 4.5rem 0;
  text-align: center;
}

.projects-bridge h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--cor-texto-principal);
}

.projects-bridge p {
  color: var(--cor-texto-mutado);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-inline: auto;
}

/* ================= QUEM SOMOS (SOBRE-NOS.HTML) ================= */
.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.who-we-are-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--cor-texto-principal);
}

.who-we-are-text p {
  font-size: 1.05rem;
  color: var(--cor-texto-mutado);
  line-height: 1.8;
}

.split-image-container {
  background: #ede6d6;
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(44, 34, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.split-image-container img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
  transition: transform 0.35s ease;
}

/* ================= PILARES DA NOSSA MAGIA ================= */
.pillars-section {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.04);
  transition: all 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--cor-ouro);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(44, 34, 26, 0.08);
}

.pillar-card:not(:has(.pillar-thumb)) {
  padding: 2.25rem 2rem;
}

.pillar-card:not(:has(.pillar-thumb))::before {
  content: "✦";
  color: var(--cor-ouro);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.pillar-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ede6d6;
  border-bottom: 1px solid var(--cor-borda);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.pillar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-thumb img {
  transform: scale(1.05);
}

.pillar-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cor-texto-principal);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--cor-texto-mutado);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ================= MANIFESTO (SOBRE-NOS.HTML) ================= */
.manifesto-section {
  padding: 5.5rem 0;
  background: var(--cor-fundo-geral);
}

.manifesto-box {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  padding: 3.5rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 12px 32px rgba(44, 34, 26, 0.06);
}

.manifesto-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 2rem;
  color: var(--cor-texto-principal);
}

.manifesto-body p {
  font-size: 1.05rem;
  color: var(--cor-texto-mutado);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

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

/* ================= SUBMENU / NAVEGAÇÃO RÁPIDA (EXPERIÊNCIAS) ================= */
.quick-nav {
  position: sticky;
  top: 76px;
  z-index: 900;
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cor-borda);
  padding: 0.85rem 0;
}

.quick-nav-list {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  list-style: none;
  padding: 0.25rem 0.5rem;
  align-items: center;
  scrollbar-width: thin;
  scrollbar-color: var(--cor-borda-forte) transparent;
}

.quick-nav-list::-webkit-scrollbar { height: 4px; }
.quick-nav-list::-webkit-scrollbar-thumb {
  background: var(--cor-borda-forte);
  border-radius: 4px;
}

.quick-nav-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-botao);
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  color: var(--cor-texto-principal);
  box-shadow: 0 2px 6px rgba(44, 34, 26, 0.04);
  transition: all 0.2s ease;
}

.quick-nav-link:hover {
  border-color: var(--cor-ouro);
  color: var(--cor-terracota);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.08);
}

/* ================= BLOCOS DE FORMATOS (SOLUCOES.HTML) ================= */
.format-block {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--cor-borda);
  scroll-margin-top: 150px; /* Compensa o site-header + submenu fixo sem corte */
}

.format-block:nth-child(even) { background: var(--cor-fundo-secao); }
.format-block:nth-child(odd) { background: var(--cor-fundo-geral); }

.format-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.format-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cor-terracota);
  background: rgba(168, 68, 41, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.format-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--cor-texto-principal);
  line-height: 1.25;
}

.format-info p.lead {
  font-size: 1.08rem;
  color: var(--cor-texto-mutado);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.format-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.format-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--cor-texto-mutado);
}

.feature-icon {
  color: var(--cor-ouro);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
}

.format-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.format-media-box {
  background: #ede6d6;
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(44, 34, 26, 0.08);
  display: flex;
  flex-direction: column;
}

.format-media-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: contain !important;
  padding: 1.5rem;
  transition: transform 0.35s ease;
}

.format-media-box:hover img {
  transform: scale(1.04);
}

.media-caption {
  padding: 0.9rem 1.25rem;
  background: var(--cor-card);
  border-top: 1px solid var(--cor-borda);
  font-size: 0.85rem;
  color: var(--cor-texto-mutado);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.media-caption span {
  color: var(--cor-terracota);
  font-weight: 700;
}

.custom-project-callout {
  padding: 5.5rem 0;
  text-align: center;
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
}

.custom-project-callout h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 0.85rem;
  color: var(--cor-texto-principal);
}

.custom-project-callout p {
  color: var(--cor-texto-mutado);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* ================= GRID DOS 10 PROJETOS (PROJETOS.HTML) ================= */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.projeto-card {
  background: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(44, 34, 26, 0.05);
  transition: all 0.25s ease;
}

.projeto-card:hover {
  border-color: var(--cor-ouro);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(44, 34, 26, 0.1);
}

.projeto-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* Proporção vertical estilo livreto / pôster */
  background: #ede6d6;
  border-bottom: 1px solid var(--cor-borda);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.projeto-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 0.4s ease;
}

.projeto-card:hover .projeto-card__image {
  transform: scale(1.04);
}

.projeto-card__title-wrapper {
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cor-card);
  margin-top: auto;
}

.projeto-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--cor-texto-principal);
  font-weight: 700;
  line-height: 1.3;
}

.card-arrow {
  color: var(--cor-ouro);
  font-size: 1.15rem;
  font-weight: bold;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.projeto-card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--cor-terracota);
}

/* ================= GRID EDITORIAL DINÂMICO (PROJETOS.HTML) ================= */
.projetos-gallery {
  background: var(--cor-fundo-secao);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px; /* Altura base equilibrada */
  gap: 1.25rem;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: #ede6d6;
  border: 1px solid var(--cor-borda);
  box-shadow: 0 4px 12px rgba(44, 34, 26, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(44, 34, 26, 0.12);
  border-color: var(--cor-ouro);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.04);
}

.gallery-item__border {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 4px solid transparent;
  border-image-slice: 24;
  border-image-repeat: round;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__border {
  opacity: 1;
}

/* SPANS DO GRID EDITORIAL (COMPLETO E PROPORCIONAL) */
.gl-destaque {
  grid-column: span 6;
  grid-row: span 2;
}

.gl-vertical {
  grid-column: span 3;
  grid-row: span 2;
}

.gl-larga {
  grid-column: span 6;
  grid-row: span 2;
}

.gl-media,
.gl-media-larga {
  grid-column: span 3;
  grid-row: span 2;
}

.gl-terca-parte {
  grid-column: span 4;
  grid-row: span 2;
}

.gl-metade,
.gl-metade-altura {
  grid-column: span 6;
  grid-row: span 2;
}

.gl-larga-full {
  grid-column: span 12;
  grid-row: span 2;
}

/* ================= ESTRUTURA DOSSIÊ DE PROJETO (PROJETO.HTML) ================= */
.dossier-top-bar {
  padding: 1.5rem 0 0.5rem;
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cor-texto-mutado);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-botao);
  border: 1px solid var(--cor-borda-forte);
  background: var(--cor-card);
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.btn-voltar:hover {
  color: var(--cor-terracota);
  border-color: var(--cor-terracota);
  transform: translateX(-4px);
}

.dossier-main-section {
  padding: 0.5rem 0 4.5rem;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Caixa da Esquerda (Visualizador) */
.dossier-left-col {
  display: flex;
  flex-direction: column;
}

.dossier-frame {
  width: 100%;
  height: 580px;
  background: var(--cor-card);
  border: 2px solid var(--cor-texto-principal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(44, 34, 26, 0.06);
  overflow: hidden;
}

.dossier-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
  transition: opacity 0.25s ease;
}

.dossier-image.fade-out {
  opacity: 0;
}

/* Controles Minimalistas: ← 01 / 05 → */
.dossier-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.25rem;
}

.dossier-nav-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cor-texto-principal);
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dossier-nav-btn:hover:not(:disabled) {
  color: var(--cor-terracota);
  transform: scale(1.2);
}

.dossier-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.dossier-page-indicator {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cor-texto-principal);
}

/* Caixa da Direita (Estudo de Caso Rolável) */
.dossier-right-col {
  display: flex;
  flex-direction: column;
}

.dossier-text-box {
  width: 100%;
  height: 580px;
  background: var(--cor-card);
  border: 2px solid var(--cor-texto-principal);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(44, 34, 26, 0.06);
  scrollbar-width: thin;
  scrollbar-color: var(--cor-borda-forte) #f0e9dc;
}

.dossier-text-box::-webkit-scrollbar {
  width: 7px;
}

.dossier-text-box::-webkit-scrollbar-track {
  background: #f0e9dc;
  border-radius: 4px;
}

.dossier-text-box::-webkit-scrollbar-thumb {
  background: var(--cor-borda-forte);
  border-radius: 4px;
}

.dossier-section {
  margin-bottom: 2.5rem;
}

.dossier-section:last-child {
  margin-bottom: 0;
}

.dossier-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cor-texto-principal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dossier-heading::before {
  content: "—";
  color: var(--cor-terracota);
  font-weight: bold;
}

.dossier-divider {
  width: 100%;
  height: 1px;
  background-color: var(--cor-borda-forte);
  margin: 0.5rem 0 1.25rem;
}

.dossier-content-body p {
  color: var(--cor-texto-mutado);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.dossier-content-body p:last-child {
  margin-bottom: 0;
}

.dossier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.dossier-list li {
  font-size: 1rem;
  color: var(--cor-texto-mutado);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.6;
}

.dossier-list li::before {
  content: "—";
  color: var(--cor-terracota);
  font-weight: bold;
}

/* ================= LIGHTBOX (VISUALIZADOR) ================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 21, 17, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__top-bar {
  position: absolute;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lightbox__counter {
  color: #ede4d3;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.lightbox__close:hover {
  transform: scale(1.15);
}

.lightbox__close img {
  width: 28px;
  height: 28px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.lightbox__nav:hover {
  background: var(--cor-ouro);
  transform: translateY(-50%) scale(1.08);
}

.nav-arrow {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__image {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* ================= FOOTER PADRONIZADO ================= */
.site-footer {
  background: #ede4d3;
  border-top: 1px solid var(--cor-borda-forte);
  padding: 5rem 0 2.5rem;
  color: var(--cor-texto-mutado);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .footer-slogan {
  color: var(--cor-terracota);
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: 0.85rem;
}

.footer-brand .footer-desc {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 380px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--cor-texto-principal);
  font-size: 1.2rem;
  margin-bottom: 1.3rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--cor-texto-mutado);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cor-terracota);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cor-texto-principal);
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--cor-borda-forte);
  border-radius: var(--radius-botao);
  font-size: 0.88rem;
  font-weight: 600;
  background: #fff;
  transition: all 0.2s ease;
}

.social-btn:hover {
  border-color: var(--cor-terracota);
  color: var(--cor-terracota);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--cor-borda);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--cor-texto-mutado);
}

/* ================= WHATSAPP FLUTUANTE ================= */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

.whatsapp-floating:hover {
  transform: scale(1.08);
}

.whatsapp-floating svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ================= RESPONSIVO EMBUTIDO ================= */
@media (max-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
  }
  .gl-destaque, .gl-larga-full, .gl-metade, .gl-metade-altura {
    grid-column: span 6;
    grid-row: span 2;
  }
  .gl-vertical, .gl-terca-parte {
    grid-column: span 3;
    grid-row: span 2;
  }
  .gl-larga {
    grid-column: span 6;
    grid-row: span 2;
  }
  .gl-media, .gl-media-larga {
    grid-column: span 3;
    grid-row: span 2;
  }
}

@media (max-width: 900px) {
  .journey-container-grid, 
  .footer-grid,
  .contact-grid,
  .split-section,
  .format-grid,
  .dossier-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .journey-list {
    grid-template-columns: 1fr;
  }
  
  .dossier-frame {
    height: 440px;
  }
  
  .dossier-text-box {
    height: auto;
    max-height: 520px;
  }
  
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 640px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item,
  .gl-destaque, .gl-vertical, .gl-larga, .gl-media, 
  .gl-media-larga, .gl-larga-full, .gl-metade, 
  .gl-metade-altura, .gl-terca-parte {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

@media (max-width: 768px) {
  .nav-list { display: none; }
}