/* ============================================================
   BUENO ARQUITETURA — DESIGN SYSTEM
   ============================================================
   Estrutura:
     1. Tokens (Custom Properties)
     2. Reset & Base
     3. Layout utilitários
     4. Componentes: Botões
     5. Componentes: Nav
     6. Componentes: Hero
     7. Componentes: Seções comuns (section-header)
     8. Componentes: Projects Gallery
     9. Componentes: Lightbox
    10. Componentes: Services
    11. Componentes: About
    12. Componentes: Process
    13. Componentes: Testimonials
    14. Componentes: CTA Banner
    15. Componentes: Footer
    16. Animações
    17. Mobile Menu / Hamburger
    18. Responsivo
   ============================================================ */


/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {

  /* Paleta de marca */
  --color-purple:        #4F378B;   /* Primária */
  --color-purple-mid:    #6D4EBA;   /* Primária hover */
  --color-purple-light:  #8F6BEA;   /* Primária clara */
  --color-teal:          #6BA3A2;   /* Acento */
  --color-teal-dark:     #365E5D;   /* Acento escuro */
  --color-lavender:      #CBC5FD;   /* Fundo accent / lavanda */
  --color-cream:         #F4F1E3;   /* Fundo principal */
  --color-sand:          #CCA079;   /* Suporte quente */
  --color-sand-light:    #F4D8BF;   /* Suporte quente claro */
  --color-white:         #ffffff;
  --color-ink:           #1a1a2e;   /* Texto escuro */

  /* Cores semânticas */
  --color-bg:                 var(--color-cream);
  --color-bg-alt:             var(--color-white);
  --color-bg-dark:            var(--color-purple);
  --color-bg-accent:          var(--color-lavender);
  --color-bg-teal:            var(--color-teal);

  --color-text:               var(--color-ink);
  --color-text-muted:         rgba(79, 55, 139, 0.70); /* min. uso em texto corrido */
  --color-text-faint:         rgba(79, 55, 139, 0.45); /* rótulos / metadados */
  --color-text-on-dark:       var(--color-cream);
  --color-text-on-dark-muted: rgba(244, 241, 227, 0.72);
  --color-text-on-dark-faint: rgba(244, 241, 227, 0.50);

  --color-border:             rgba(79, 55, 139, 0.15);
  --color-border-light:       rgba(203, 197, 253, 0.45);

  /* Tipografia — famílias */
  --font-sans:  'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Tipografia — escala (mínimo 16px em qualquer contexto)
     --text-xs  → rótulos decorativos ALL CAPS + letter-spacing
     --text-sm  → corpo secundário, metadados
     --text-base → corpo padrão
     --text-md  → subtítulos / card titles
     --text-lg  → títulos de card / destaques
     --text-xl  → subtítulo hero
  */
  --text-xs:   16px;
  --text-sm:   16px;
  --text-base: 17px;
  --text-md:   18px;
  --text-lg:   20px;
  --text-xl:   22px;
  --text-2xl:  clamp(32px, 4vw, 52px);
  --text-3xl:  clamp(36px, 5vw, 64px);
  --text-hero: clamp(42px, 5vw, 68px);

  /* Tipografia — pesos */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Espaçamento (base 4px) */
  --space-1:         4px;
  --space-2:         8px;
  --space-3:         12px;
  --space-4:         16px;
  --space-5:         20px;
  --space-6:         24px;
  --space-8:         32px;
  --space-10:        40px;
  --space-12:        48px;
  --space-14:        56px;
  --space-16:        64px;
  --space-20:        80px;
  --space-section:   100px;
  --space-gutter:    60px;
  --space-gutter-sm: 24px;

  /* Border radius */
  --radius-sm:   12px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --radius-xl:   24px;
  --radius-2xl:  28px;
  --radius-pill: 100px;

  /* Sombras */
  --shadow-sm:   0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 12px 40px rgba(79, 55, 139, 0.10);
  --shadow-xl:   0 20px 60px rgba(79, 55, 139, 0.12);
  --shadow-teal: 0 12px 40px rgba(107, 163, 162, 0.35);

  /* Transições */
  --transition-fast: 0.20s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.30s ease;
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ── 4. COMPONENTES: BOTÕES ─────────────────────────────────── */
/*
   Sistema unificado de botões.
   Todos os botões de ação compartilham a mesma altura (~48px).

   Variantes:
     .btn-primary  — preenchido roxo (ação principal)
     .btn-outline  — texto + seta (ação secundária, mesma altura via padding)
     .btn-ghost    — borda translúcida (sobre fundos coloridos)
     .btn-cream    — preenchido creme (sobre fundo teal)
     .nav-cta      — variante compacta para a nav
*/

/* Base compartilhada para btn-primary, btn-ghost, btn-cream */
.btn-primary,
.btn-ghost,
.btn-cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-10);   /* 16px 40px → altura ≈ 48px */
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--text-base);               
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
}

.btn-primary {
  background: var(--color-purple);
  color: var(--color-cream);
  padding: var(--space-4) 36px;
}

.btn-primary.has-icon {
  gap: var(--space-2);
  padding: var(--space-4) 32px var(--space-4) 28px;
}

.btn-primary:hover {
  background: var(--color-purple-mid);
  transform: translateY(-2px);
}

.btn-primary:active,
.btn-outline:active,
.btn-cream:active,
.btn-ghost:active {
  transform: scale(0.96);
}

/* Botão secundário: borda 2px, mesma altura do primário (~48px)
   — sem ícone: padding 14px 36px
   — com ícone: padding 14px 28px (o ícone já adiciona largura visual) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 36px;                      /* 14px + borda 2px = 16px total → mesma altura */
  color: var(--color-purple);
  font-family: var(--font-sans);
  font-size: var(--text-base);             
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--color-purple);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-base),
              color var(--transition-base),
              gap var(--transition-fast);
}

/* Variante com ícone — padding lateral menor pois o ícone ocupa espaço */
.btn-outline.has-icon {
  padding: 14px 28px;
}

.btn-outline:hover {
  background: var(--color-purple);
  color: var(--color-cream);
}

/* Seta opcional — use .btn-outline.has-icon::after ou adicione o ícone no HTML */
.btn-outline.with-arrow::after {
  content: '→';
  font-size: var(--text-md);
  transition: transform var(--transition-fast);
}

.btn-outline.with-arrow:hover::after { transform: translateX(4px); }

.btn-cream {
  background: var(--color-cream);
  color: var(--color-teal-dark);
  font-weight: var(--fw-bold);
}

.btn-cream:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--color-cream);
  background: transparent;
  border: 1.5px solid rgba(244, 241, 227, 0.40);
  padding: 15px var(--space-8);            /* compensa a borda para manter altura */
  font-weight: var(--fw-medium);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }


/* ── 5. COMPONENTES: NAV ────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-gutter);
  background: rgba(244, 241, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-logo svg { height: 32px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--color-purple);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-links a:hover { color: var(--color-teal); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links li:last-child a::after{ display: none; }

/* Variante compacta do botão para a nav */
.nav-cta {
  background: var(--color-purple) !important;
  color: var(--color-cream) !important;
  padding: 10px var(--space-6) !important;
  border-radius: var(--radius-pill) !important;
  font-size: var(--text-sm) !important;
  font-weight: var(--fw-semibold) !important;
  transition: background var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--color-purple-mid) !important;
  color: var(--color-cream) !important;
}


/* ── 6. COMPONENTES: HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--space-20);
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

/* Slideshow de fundo */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active { opacity: 1; }

/* Overlay: opaco à esquerda → transparente à direita (desktop)
   Em mobile: cobre 100% sem gradiente para garantir contraste */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.97)  0%,
    rgba(255, 255, 255, 0.90) 30%,
    rgba(255, 255, 255, 0.45) 55%,
    rgba(255, 255, 255, 0.00) 75%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-overlay {
    background: rgba(255, 255, 255, 0.88);
  }
}

/* Legenda no canto inferior direito */
.hero-caption {
  position: absolute;
  bottom: var(--space-8);
  right: 36px;
  z-index: 3;
  font-size: var(--text-xs);           
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.40);
  transition: opacity 0.6s ease;
}

/* Blobs decorativos */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.blob-1 {
  width: 900px; height: 900px;
  background: var(--color-lavender);
  top: -320px; right: -200px;
  filter: blur(102px);
  opacity: 0.22;
}

.blob-2 {
  width: 600px; height: 600px;
  background: var(--color-teal);
  bottom: -200px; left: -200px;
  filter: blur(86px);
  opacity: 0.12;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-20) var(--space-gutter);
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);           
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-teal);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-sans);
  font-size: var(--text-hero);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-purple);
  margin-bottom: var(--space-3);
  text-wrap: balance;
}

.hero-h1 em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  color: var(--color-teal);
}

.hero-sub {
  font-size: var(--text-xl);
  font-weight: var(--fw-light);
  line-height: 1.32;
  color: var(--color-text-muted);
  max-width: 420px;
  margin-top: 15px;
  margin-bottom: var(--space-12);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  z-index: 2;
}


/* ── 7. SEÇÕES COMUNS ───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-14);
  gap: var(--space-10);
  flex-wrap: wrap;
}

.section-header:has(.section-desc) {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.section-tag {
  font-size: var(--text-xs);           
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-purple);
  line-height: 1.1;
  max-width: 480px;
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 340px;
  font-weight: var(--fw-light);
  text-wrap: pretty;
}


/* ── 8. COMPONENTES: PROJECTS GALLERY ──────────────────────── */
.projects {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg);
}

/* Desktop: textos à esquerda, filtros + galeria à direita */
.projects-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-14);
}

.projects-layout .section-header {
  flex: 0 0 320px;
  margin-bottom: 0;
}

.projects-main {
  flex: 1;
  min-width: 0;
}

/* Tabs de filtro */
.project-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-purple);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.tab-btn:active { transform: scale(0.96); }

.tab-btn:hover,
.tab-btn.active {
  background: var(--color-purple);
  color: var(--color-cream);
  border-color: var(--color-purple);
}

/* Grid de projetos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  cursor: pointer;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: none;
  color: inherit;
  text-decoration: none;
}

.project-card.visible { display: block; }

.project-card.fade-in {
  animation: cardFadeIn 0.8s ease both;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Thumbnail */
.project-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  outline: 1px solid rgba(0, 0, 0, 0.06);
  outline-offset: -1px;
}

.project-card:hover .project-thumb img { transform: scale(1.04); }

/* Info do card */
.project-info {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.project-info .project-tag {
  display: block;
  margin-bottom: var(--space-2);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.project-tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.project-year {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: var(--fw-regular);
}

.project-info h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-purple);
  line-height: 1.2;
}

.project-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: var(--fw-light);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-teal);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.project-link:hover { gap: var(--space-3); }
.project-link::after { content: '→'; }


/* ── 8b. COMPONENTES: PÁGINA DE PROJETO (DETALHE) ───────────── */
.project-hero {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-teal);
  text-decoration: none;
  margin-bottom: var(--space-8);
  transition: gap var(--transition-fast);
}

.back-link::before { content: '←'; }
.back-link:hover { gap: var(--space-3); }

.project-hero-meta { margin-bottom: var(--space-4); }

.project-hero h1 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-purple);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: var(--space-8);
  text-wrap: balance;
}

.project-description {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.project-description p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: var(--fw-light);
}

.project-hero-actions {
  margin-top: var(--space-8);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: 0 var(--space-gutter) var(--space-section);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: zoom-in;
}

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

.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 0 var(--space-gutter-sm) var(--space-16); }
  .project-hero { padding: var(--space-16) var(--space-gutter-sm); }
}

/* ── 9. COMPONENTES: LIGHTBOX ───────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
}

.lightbox.open {
  display: block;
  animation: lightboxIn 0.22s ease both;
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Dark full-screen backdrop */
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 24, 0.96);
  cursor: zoom-out;
}

/* Image area: full screen minus bottom bar height (76px) */
.lb-img-area {
  position: absolute;
  inset: 0;
  bottom: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px var(--space-6) var(--space-6);  /* top clears close btn */
  pointer-events: none;
}

.lb-img-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  pointer-events: auto;
  outline: 1px solid rgba(255, 255, 255, 0.06);
}

/* Close button — fixed top-right */
.lb-close {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1);
}

.lb-close:active { transform: scale(0.94); }

/* Bottom bar — fixed, thumb-friendly */
.lb-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 76px;
  z-index: 10;
  background: rgba(8, 4, 24, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-5);
  gap: var(--space-3);
}

.lb-bar-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.lb-btn {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.20); border-color: rgba(255,255,255,0.22); }
.lb-btn:active { transform: scale(0.93); }

.lb-caption {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lb-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 260px;
}

.lb-dot {
  width: 6px; height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  flex-shrink: 0;
  transition: width var(--transition-base), background var(--transition-base);
}

.lb-dot.active {
  width: 20px;
  background: var(--color-lavender);
}




/* ── 11. COMPONENTES: ABOUT ─────────────────────────────────── */
.about {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: top;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(203, 197, 253, 0.06);
  top: -200px; right: -100px;
  pointer-events: none;
}

.about-visual {
  height: fit-content;
  position: relative;
}

.about-photo {
  max-width: 65%;
  margin-left: auto;
  aspect-ratio: 12 / 16;
  border-radius: var(--radius-xl) 80px var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-quote-card {
  position: absolute;
  bottom: -100px;
  right: -32px;
  background: var(--color-teal);
  padding: var(--space-6) 28px;
  border-radius: var(--radius-lg);
  max-width: 240px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.20);
}

.about-quote-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);          
  color: white;
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.about-quote-card span {
  font-size: var(--text-sm);            
  color: rgba(255, 255, 255, 0.75);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-content { position: relative; z-index: 2; }

.about .section-tag   { color: var(--color-lavender); }
.about .section-title { color: var(--color-cream); max-width: none; }

.about-text {
  font-size: var(--text-base);          
  color: var(--color-text-on-dark-muted);
  line-height: 1.8;
  font-weight: var(--fw-light);
  margin-top: var(--space-6);
  margin-bottom: var(--space-10);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.value-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.value-pill-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-lavender);
  flex-shrink: 0;
}

.value-pill span {
  font-size: var(--text-sm);            
  font-weight: var(--fw-medium);
  color: var(--color-cream);
  letter-spacing: 0.02em;
}


/* ── 12. COMPONENTES: PROCESS ───────────────────────────────── */
.process {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16) - 4px;
}

.process-step {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  transition: border-color var(--transition-slow),
              box-shadow var(--transition-slow),
              transform var(--transition-slow);
}

.process-step:hover {
  border-color: var(--color-lavender);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: var(--fw-regular);
  color: var(--color-lavender);
  line-height: 1;
  margin-bottom: var(--space-5);
}

.process-step h3 {
  font-size: var(--text-md);            
  font-weight: var(--fw-bold);
  color: var(--color-purple);
  margin-bottom: var(--space-2) + 2px;
}

.process-step p {
  font-size: var(--text-sm);            
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: var(--fw-light);
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -12px;
  width: var(--space-6);
  height: 2px;
  background: var(--color-lavender);
  z-index: 1;
}

.process-step:last-child .step-connector { display: none; }


/* ── 12b. COMPONENTES: VIRTUAL TOUR ─────────────────────────── */
.virtual-tour {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg-alt);
}

.tour-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-14);
  align-items: center;
}

.tour-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.tour-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(244, 241, 227, 0.92);
  color: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base), background var(--transition-base);
}

.tour-visual:hover .tour-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--color-white);
}

.tour-badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  background: var(--color-purple);
  color: var(--color-cream);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
}

.tour-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.tour-feature {
  display: flex;
  gap: var(--space-5);
}

.tour-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-lavender);
  color: var(--color-purple);
  font-family: var(--font-serif);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-feature h3 {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--color-purple);
  margin-bottom: var(--space-2);
}

.tour-feature p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: var(--fw-light);
}


/* ── 13. COMPONENTES: TESTIMONIALS ─────────────────────────── */
.testimonials {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg-accent);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  bottom: -200px; right: -100px;
  pointer-events: none;
}

.testimonials .section-tag   { color: var(--color-teal-dark); }
.testimonials .section-title { color: var(--color-purple); }

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card .testimonial-author {
  margin-top: auto;
}

/* ── Carousel ── */
.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-14);
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--space-5);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-track .testimonial-card {
  flex: 0 0 auto;
}

.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-purple);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.carousel-btn:hover {
  background: var(--color-purple);
  color: var(--color-cream);
  border-color: var(--color-purple);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  cursor: pointer;
  transition: width var(--transition-base), background var(--transition-base);
}

.carousel-dot.active {
  width: 28px;
  background: var(--color-purple);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0.6;
  color: var(--color-lavender);
  margin-bottom: var(--space-5);
  display: block;
}

.testimonial-card p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-8);
  font-style: italic;
  flex: 1;
  text-wrap: pretty;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-lavender);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-purple);
}

.author-name {
  font-size: var(--text-sm);            
  font-weight: var(--fw-semibold);
  color: var(--color-purple);
  display: block;
}

.author-role {
  font-size: var(--text-sm);            
  color: var(--color-text-faint);
  display: block;
}

/* ── 14. COMPONENTES: CTA BANNER ───────────────────────────── */
.cta-banner {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg-teal);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -400px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-banner .section-tag {
  color: var(--color-text-on-dark-muted);
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  margin: var(--space-4) 0 var(--space-5);
  line-height: 1.1;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: var(--fw-regular);
}

.cta-sub {
  font-size: var(--text-base);
  color: var(--color-text-on-dark-muted);
  max-width: 440px;
  margin: 0 0 var(--space-10);
  line-height: 1.7;
  font-weight: var(--fw-light);
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* ── 14b. COMPONENTES: INSTAGRAM FEED ───────────────────────── */
.instagram-feed {
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-bg);
}

.instagram-feed .section-header { align-items: center; }

/* ── 15. COMPONENTES: FOOTER ────────────────────────────────── */
footer {
  background: var(--color-ink);
  color: var(--color-cream);
  padding: var(--space-16) var(--space-gutter) var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
}

.footer-brand p {
  font-size: var(--text-sm);            
  color: rgba(244, 241, 227, 0.50);
  line-height: 1.7;
  margin-top: var(--space-5);
  max-width: 280px;
  font-weight: var(--fw-light);
}

.footer-col h4 {
  font-size: var(--text-xs);           
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 227, 0.40);
  margin-bottom: var(--space-5);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--space-3); }

.footer-col ul a {
  font-size: var(--text-sm);            
  color: rgba(244, 241, 227, 0.70);
  text-decoration: none;
  font-weight: var(--fw-light);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover { color: var(--color-lavender); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(244, 241, 227, 0.08);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-sm);            
  color: rgba(244, 241, 227, 0.30);
  font-weight: var(--fw-light);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: var(--text-base);
  transition: background var(--transition-fast);
  color: var(--color-cream);
}

.social-btn:hover { background: var(--color-purple-mid); }

.social-btn--insta {
  width: 42px; height: 42px;
  background: var(--color-purple-light);
  box-shadow: 0 0 0 1px rgba(244, 241, 227, 0.18);
}

.social-btn--insta:hover { background: var(--color-purple-mid); }


/* ── 16. ANIMAÇÕES ──────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-left > *:nth-child(1) { animation-delay: 0.10s; }
.hero-left > *:nth-child(2) { animation-delay: 0.22s; }
.hero-left > *:nth-child(3) { animation-delay: 0.34s; }
.hero-left > *:nth-child(4) { animation-delay: 0.46s; }


/* ── 17. MOBILE MENU / HAMBURGER ────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-purple);
  border-radius: 2px;
  transition: all var(--transition-slow);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-10) var(--space-8);
}

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

.mobile-menu a {
  font-size: 28px;
  font-weight: var(--fw-bold);
  color: var(--color-purple);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
  text-align: center;
}

.mobile-menu a:hover { color: var(--color-teal); }

.mobile-menu .mobile-cta {
  margin-top: var(--space-6);
  background: var(--color-purple);
  color: var(--color-cream) !important;
  padding: var(--space-4) var(--space-12);
  border-radius: var(--radius-pill);
  font-size: 18px !important;
}

.mobile-menu-footer {
  position: absolute;
  bottom: var(--space-10);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}


/* ── 18. RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: var(--space-4) var(--space-gutter-sm); }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero { grid-template-columns: 1fr; padding-top: var(--space-20); }
  .hero-right { display: none; }
  .hero-left  { padding: var(--space-16) var(--space-gutter-sm); }

  .projects { padding: var(--space-16) var(--space-gutter-sm); }
  .projects-layout { flex-direction: column; gap: 0; }
  .projects-layout .section-header { flex: none; margin-bottom: var(--space-14); }
  .projects .section-title,
  .projects .section-desc { max-width: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .about { grid-template-columns: 1fr; padding: var(--space-16) var(--space-gutter-sm); gap: var(--space-12); }
  .about-visual { display: none; }

  .process { padding: var(--space-16) var(--space-gutter-sm); }
  .process-steps { grid-template-columns: 1fr 1fr; }

  .virtual-tour { padding: var(--space-16) var(--space-gutter-sm); }
  .tour-layout { grid-template-columns: 1fr; gap: var(--space-10); }
  .tour-visual { aspect-ratio: 16 / 10; }

  .testimonials { padding: var(--space-16) var(--space-gutter-sm); }
  .testimonials-carousel { gap: var(--space-2); }
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-dots { display: none; }

  .cta-banner { padding: var(--space-16) var(--space-gutter-sm); }

  footer { padding: var(--space-12) var(--space-gutter-sm) var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}
