/* ================================================================
   RECONSTUDIO — CSS v2
   Tipografia ajustada ao Figma + animações premium
   ================================================================ */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Cores */
  --color-cream:            #F5F0E8;
  --color-cream-dark:       #EDE6D8;
  --color-cream-mid:        #E8E0D0;
  --color-dark:             #1A1817;
  --color-dark-soft:        #2A2826;
  --color-terracotta:       #C4693A;
  --color-terracotta-light: #D17D52;
  --color-navy:             #2C3550;
  --color-beige:            #D4C4B0;
  --color-beige-light:      #E6DDD0;
  --color-sand:             #C4A882;
  --color-muted:            #7A7265;
  --color-border:           #DDD5C8;
  --color-white:            #FFFFFF;

  /* Tipografia — tamanhos fiéis ao Figma */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --text-10:   0.625rem;   /* 10px — labels */
  --text-11:   0.6875rem;  /* 11px */
  --text-12:   0.75rem;    /* 12px */
  --text-13:   0.8125rem;  /* 13px — nav links */
  --text-14:   0.875rem;   /* 14px — body small */
  --text-15:   0.9375rem;  /* 15px — body */
  --text-16:   1rem;       /* 16px */
  --text-18:   1.125rem;   /* 18px */
  --text-20:   1.25rem;    /* 20px */
  --text-22:   1.375rem;   /* 22px */
  --text-26:   1.625rem;   /* 26px */
  --text-30:   1.875rem;   /* 30px */
  --text-36:   2.25rem;    /* 36px */
  --text-44:   2.75rem;    /* 44px — hero heading */
  --text-52:   3.25rem;    /* 52px */

  /* Espaçamento */
  --space-1:  0.25rem;   --space-2:  0.5rem;
  --space-3:  0.75rem;   --space-4:  1rem;
  --space-5:  1.25rem;   --space-6:  1.5rem;
  --space-8:  2rem;      --space-10: 2.5rem;
  --space-12: 3rem;      --space-16: 4rem;
  --space-20: 5rem;      --space-24: 6rem;
  --space-28: 7rem;      --space-32: 8rem;

  /* Layout */
  --container-max: 1120px;
  --container-pad: var(--space-8);

  /* Bordas */
  --radius-sm:   3px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs:   0 1px 3px rgba(26,24,23,.05);
  --shadow-sm:   0 2px 8px rgba(26,24,23,.07);
  --shadow-md:   0 6px 24px rgba(26,24,23,.09);
  --shadow-lg:   0 16px 48px rgba(26,24,23,.12);

  /* Easing */
  --ease-out-expo:   cubic-bezier(.16,1,.3,1);
  --ease-in-out:     cubic-bezier(.45,0,.55,1);
  --ease-bounce:     cubic-bezier(.34,1.56,.64,1);

  /* Transições */
  --t-fast:   150ms ease;
  --t-base:   280ms ease;
  --t-slow:   500ms var(--ease-out-expo);
  --t-reveal: 750ms var(--ease-out-expo);

  /* Seções */
  --section-gap: var(--space-28);
}

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

html {
  scroll-behavior: auto; /* controlado pelo Lenis */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-15);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-dark);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img   { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a     { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------------
   3. UTILITÁRIOS
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-10);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-5);
}

.text-highlight {
  color: var(--color-terracotta);
  font-style: italic;
}

/* ----------------------------------------------------------------
   4. LOADER
   ---------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.loader__logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.94); }
}

.loader__bar {
  width: 120px;
  height: 1.5px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar-fill {
  height: 100%;
  width: 0;
  background: var(--color-terracotta);
  animation: loaderFill 1.4s var(--ease-out-expo) forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* ----------------------------------------------------------------
   5. BOTÕES
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.55rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-13);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--t-base),
    color var(--t-base),
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255,255,255,.12);
  transition: opacity var(--t-fast);
}

.btn:hover::before { opacity: 1; }

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.btn--dark:hover { box-shadow: var(--shadow-md); }

.btn--outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn--outline:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-muted); }

.btn--lg {
  padding: 0.75rem 1.75rem;
  font-size: var(--text-14);
}

/* ----------------------------------------------------------------
   6. HEADER & NAVEGAÇÃO
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: rgba(245,240,232,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-xs);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: var(--space-6);
}

/* Logo */
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: opacity var(--t-fast);
}
.nav__logo:hover { opacity: 0.8; }

.nav__logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0 auto;
}

.nav__link {
  font-size: var(--text-13);
  font-weight: 400;
  color: var(--color-dark);
  position: relative;
  transition: color var(--t-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--color-terracotta);
  transition: width var(--t-base);
}

.nav__link:hover            { color: var(--color-terracotta); }
.nav__link:hover::after,
.nav__link.active::after    { width: 100%; }
.nav__link.active           { color: var(--color-terracotta); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  flex-shrink: 0;
}

.nav__hamburger-line {
  display: block;
  height: 1.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav__hamburger.open .nav__hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open .nav__hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open .nav__hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay mobile */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
.nav__overlay.open { opacity: 1; pointer-events: auto; }

.nav__overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.nav__overlay-link {
  font-family: var(--font-serif);
  font-size: var(--text-36);
  font-weight: 500;
  color: var(--color-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: color var(--t-fast), transform 0.5s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
}

.nav__overlay.open .nav__overlay-link            { opacity: 1; transform: translateY(0); }
.nav__overlay.open .nav__overlay-link:nth-child(1) { transition-delay: 0.04s; }
.nav__overlay.open .nav__overlay-link:nth-child(2) { transition-delay: 0.08s; }
.nav__overlay.open .nav__overlay-link:nth-child(3) { transition-delay: 0.12s; }
.nav__overlay.open .nav__overlay-link:nth-child(4) { transition-delay: 0.16s; }
.nav__overlay.open .nav__overlay-link:nth-child(5) { transition-delay: 0.20s; }
.nav__overlay-link:hover { color: var(--color-terracotta); }

.nav__overlay-link--cta {
  margin-top: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: 500;
  padding: 0.65rem 1.75rem;
  border: 1px solid var(--color-dark);
  border-radius: var(--radius-full);
}
.nav__overlay-link--cta:hover {
  background: var(--color-dark);
  color: var(--color-white) !important;
}

/* ----------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------- */
.hero {
  padding-top: calc(62px + var(--space-16));
  padding-bottom: var(--space-16);
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: end;
}

.hero__text .section-label { margin-bottom: var(--space-4); }

.hero__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-30), 4vw, var(--text-44));
  font-weight: 500;
  line-height: 1.12;
  color: var(--color-dark);
  letter-spacing: -0.025em;
}

.hero__highlight {
  color: var(--color-terracotta);
  font-style: italic;
}

/* Word-by-word reveal */
.hero__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}

.hero__word-inner {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.75s var(--ease-out-expo),
    opacity 0.45s ease;
}

.hero__word-inner.visible {
  transform: translateY(0);
  opacity: 1;
}

.hero__info { padding-top: var(--space-6); }

.hero__description {
  font-size: var(--text-13);
  line-height: 1.75;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
  max-width: 44ch;
}

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

/* Illustration */
.hero__illustration {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--color-cream-dark);
  position: relative;
  cursor: none;
}

.hero__wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Imagem real da hero */
.hero__wave-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Parallax wrapper */
.hero__illustration-parallax {
  position: absolute;
  inset: -10%;
  will-change: transform;
}

.hero__illustration-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------------
   8. SOBRE (ABOUT)
   ---------------------------------------------------------------- */
.about { padding-block: var(--section-gap); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: center;
}

.about__image-wrapper { position: relative; }

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 5 / 6;
  max-width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-beige);
}

.about__image-placeholder img,
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.about__image-wrapper:hover .about__img {
  transform: scale(1.03);
}

.about__text .section-label { margin-bottom: var(--space-4); }

.about__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-22), 2.8vw, var(--text-30));
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: var(--space-5);
  letter-spacing: -0.015em;
}

.about__paragraph {
  font-size: var(--text-13);
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  max-width: 54ch;
}
.about__paragraph:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   9. SERVIÇOS
   ---------------------------------------------------------------- */
.services {
  padding-block: var(--section-gap);
  background: var(--color-cream-dark);
}

.services__header { margin-bottom: var(--space-10); }

.services__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-22), 2.5vw, var(--text-30));
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-dark);
  max-width: 24ch;
  letter-spacing: -0.015em;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-20);
}

.service-card {
  padding: var(--space-6) var(--space-6);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-cream);
  transition: background-color 0.55s var(--ease-out-expo);
  cursor: default;
  position: relative;
}

.service-card:nth-child(3n)  { border-right: none; }
.service-card:nth-child(n+4) { border-bottom: none; }

.service-card:hover { background: var(--color-dark); }

.service-card:hover .service-card__number      { color: var(--color-terracotta); }
.service-card:hover .service-card__title,
.service-card:hover .service-card__description { color: rgba(255,255,255,.9); }

.service-card__number {
  display: block;
  font-size: var(--text-10);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: var(--space-5);
  transition: color 0.55s var(--ease-out-expo);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-16);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
  transition: color 0.45s var(--ease-out-expo) 0.04s;
}

.service-card__description {
  font-size: var(--text-12);
  line-height: 1.7;
  color: var(--color-muted);
  transition: color 0.45s var(--ease-out-expo) 0.08s;
}

/* Diferenciais */
.differentials { margin-top: var(--space-20); }
.differentials .section-label { margin-bottom: var(--space-8); }

.differentials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}

.differential-item__line {
  width: 52px; height: 1.5px;
  background: var(--color-terracotta);
  margin-bottom: var(--space-4);
}

.differential-item__title {
  font-family: var(--font-serif);
  font-size: var(--text-16);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.differential-item__text {
  font-size: var(--text-12);
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 30ch;
}

/* ----------------------------------------------------------------
   10. PROJETOS
   ---------------------------------------------------------------- */
.projects { padding-block: var(--section-gap); }

.projects__header { margin-bottom: var(--space-10); }

.projects__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-22), 2.5vw, var(--text-30));
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.015em;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  min-height: 200px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-cream-dark);
}

.project-card__link { display: block; }

.project-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-beige);
}

.project-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.project-card__link:hover .project-card__image { transform: scale(1.05); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,24,23,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
}

.project-card__link:hover .project-card__overlay { opacity: 1; }

.project-card__overlay-text {
  color: var(--color-white);
  font-size: var(--text-12);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.project-card__info {
  padding: var(--space-3) var(--space-4);
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-14);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.project-card__category {
  font-size: var(--text-11);
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.project-card--wide   { grid-column: span 7; }
.project-card--narrow { grid-column: span 5; }
.project-card--half   { grid-column: span 6; }
.project-card--full   { grid-column: span 12; }

/* Estado vazio */
.projects__empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.projects__empty-inner { text-align: center; }

.projects__empty-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--color-terracotta);
  margin-bottom: var(--space-3);
  opacity: 0.4;
}

.projects__empty-text {
  font-family: var(--font-serif);
  font-size: var(--text-16);
  color: var(--color-muted);
  font-style: italic;
}

/* ----------------------------------------------------------------
   11. PROCESSO
   ---------------------------------------------------------------- */
.process {
  padding-block: var(--section-gap);
  background: var(--color-cream-dark);
}

.process__header { margin-bottom: var(--space-16); }

.process__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-26), 3vw, var(--text-36));
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
  text-align: center;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-inline: auto;
}

.process__list {
  max-width: 740px;
  margin-inline: auto;
}

.process__item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-5);
  padding-left: 0;
  border-top: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: transparent;
  transition:
    padding-left   0.6s  var(--ease-out-expo),
    background-color 0.6s var(--ease-out-expo);
}

.process__item:last-child { border-bottom: 1px solid var(--color-border); }

.process__item:hover {
  padding-left: var(--space-4);
  background-color: rgba(196, 105, 58, 0.045);
}

.process__item:hover .process__item-number {
  color: var(--color-terracotta);
}

.process__item:hover .process__item-title {
  color: var(--color-terracotta);
}

.process__item:hover .process__item-description {
  color: var(--color-dark-soft);
}

.process__item-left {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.process__item-number {
  font-size: var(--text-10);
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 20px;
  transition: color 0.5s var(--ease-out-expo);
}

.process__item-title {
  font-family: var(--font-serif);
  font-size: var(--text-16);
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.5s var(--ease-out-expo) 0.05s;
}

.process__item-description {
  font-size: var(--text-12);
  line-height: 1.75;
  color: var(--color-muted);
  padding-top: 2px;
  transition: color 0.5s var(--ease-out-expo) 0.1s;
}

/* ----------------------------------------------------------------
   12. CTA FINAL
   ---------------------------------------------------------------- */
.cta-final {
  padding-block: var(--section-gap);
  position: relative;
  overflow: hidden;
}

.cta-final__wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-final__wave svg {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cta-final .container { position: relative; z-index: 1; }
.cta-final .section-label { margin-bottom: var(--space-5); }

.cta-final__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-26), 3.5vw, var(--text-36));
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.cta-final__highlight {
  color: var(--color-terracotta);
  font-style: italic;
}

.cta-final__subtext {
  font-size: var(--text-13);
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

/* ----------------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: var(--space-16) var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

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

.footer__logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__logo-name {
  font-family: var(--font-serif);
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--color-white);
}

.footer__tagline {
  font-size: var(--text-12);
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}

.footer__nav-title {
  font-size: var(--text-10);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--space-4);
}

.footer__link {
  display: block;
  font-size: var(--text-13);
  color: rgba(255,255,255,.55);
  margin-bottom: var(--space-3);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--color-white); }

.footer__social {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-4);
}

.footer__social-link {
  font-size: var(--text-13);
  color: rgba(255,255,255,.55);
  transition: color var(--t-fast);
}
.footer__social-link:hover { color: var(--color-terracotta); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer__copy,
.footer__craft {
  font-size: var(--text-11);
  color: rgba(255,255,255,.25);
}

/* ----------------------------------------------------------------
   14. ANIMAÇÕES DE REVEAL (Intersection Observer)
   ---------------------------------------------------------------- */

/* Animação base — fade + slide up */
.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.js-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes */
.js-reveal--left {
  transform: translateX(-28px);
}
.js-reveal--left.revealed { transform: translateX(0); }

.js-reveal--right {
  transform: translateX(28px);
}
.js-reveal--right.revealed { transform: translateX(0); }

.js-reveal--scale {
  transform: scale(0.96);
}
.js-reveal--scale.revealed { transform: scale(1); }

/* Delays escalonados */
.js-reveal[data-delay="1"] { transition-delay: 0.07s; }
.js-reveal[data-delay="2"] { transition-delay: 0.14s; }
.js-reveal[data-delay="3"] { transition-delay: 0.21s; }
.js-reveal[data-delay="4"] { transition-delay: 0.28s; }
.js-reveal[data-delay="5"] { transition-delay: 0.35s; }
.js-reveal[data-delay="6"] { transition-delay: 0.42s; }

/* ----------------------------------------------------------------
   15. CURSOR PERSONALIZADO
   ---------------------------------------------------------------- */
@media (pointer: fine) {
  /* Garante cursor none em TUDO — sem exceção */
  body,
  body *,
  body *::before,
  body *::after {
    cursor: none !important;
  }

  .cursor-dot {
    position: fixed;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-terracotta);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  }

  .cursor-ring {
    position: fixed;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-terracotta);
    background: transparent;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    will-change: left, top;
    opacity: 0.5;
    transition: width 0.35s var(--ease-out-expo),
                height 0.35s var(--ease-out-expo),
                opacity 0.2s ease;
  }

  .cursor-ring.hovering {
    width: 48px; height: 48px;
    opacity: 0.25;
  }
}

/* ----------------------------------------------------------------
   16. RESPONSIVIDADE
   ---------------------------------------------------------------- */

/* ── ≤ 1024px ── */
@media (max-width: 1024px) {
  :root {
    --container-pad: var(--space-6);
    --section-gap: var(--space-24);
  }

  .hero__content { gap: var(--space-10); }
  .about__grid   { gap: var(--space-10); }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--color-border); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(n+5) { border-bottom: none; }
  .service-card:nth-child(3),
  .service-card:nth-child(4) { border-bottom: 1px solid var(--color-border); }

  .process__item { grid-template-columns: 200px 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── ≤ 768px ── */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--space-5);
    --section-gap: var(--space-20);
  }

  .nav__links, .nav > .btn { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero__illustration { aspect-ratio: 16 / 8; }

  .about__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .about__image-placeholder { max-width: 100%; aspect-ratio: 4 / 3; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--color-border); }
  .service-card:last-child { border-bottom: none; }

  .differentials__grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .project-card--wide,
  .project-card--narrow,
  .project-card--half { grid-column: span 12; }

  .process__item { grid-template-columns: 1fr; gap: var(--space-1); }
  .process__heading { text-align: left; margin-inline: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; gap: var(--space-2); text-align: center; }
}

/* ── ≤ 480px ── */
@media (max-width: 480px) {
  :root { --container-pad: var(--space-4); }

  .hero { padding-top: calc(62px + var(--space-10)); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--lg { width: 100%; justify-content: center; }
  .nav__overlay-link { font-size: clamp(var(--text-26), 8vw, var(--text-36)); }
}

/* ----------------------------------------------------------------
   PRINT
   ---------------------------------------------------------------- */
@media print {
  .header, .nav__overlay, .loader,
  .cursor-dot, .cursor-ring { display: none !important; }
  body { background: white; color: black; }
}
