/* ================================================
   FRED OLIVEIRA — Fotografia Gastronômica
   styles.css
   ================================================ */

/* ------------------------------------------------
   Variáveis & Reset
   ------------------------------------------------ */
:root {
  --black:      #0a0a0a;
  --near-black: #111111;
  --gray-900:   #1a1a1a;
  --gray-700:   #444444;
  --gray-500:   #777777;
  --gray-300:   #b0b0b0;
  --gray-100:   #e5e5e0;
  --off-white:  #f8f7f4;
  --white:      #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);

  --pad-section: 120px;
  --pad-container: 64px;
  --max-width: 1380px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ------------------------------------------------
   Utilitários
   ------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-container);
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--pad-container);
}

/* ------------------------------------------------
   Botões
   ------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* botão principal escuro */
.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--gray-700);
}

/* botão branco para seção escura */
.btn--white {
  background: var(--white);
  color: var(--black);
}
.btn--white:hover {
  background: var(--gray-100);
}

/* ghost (borda branca) para hero */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* outline branco secondary */
.btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline-white:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ------------------------------------------------
   Cabeçalhos de seção
   ------------------------------------------------ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--left {
  text-align: left;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--black);
  margin-bottom: 18px;
}

.section-rule {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--black);
  margin: 0 auto 20px;
}

.section-rule--left {
  margin: 0 0 20px;
}

.section-sub {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

/* ------------------------------------------------
   Animação de entrada (fade-in com scroll)
   ------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ================================================
   NAVEGAÇÃO
   ================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad-container);
  transition: padding 0.4s var(--ease);
}

#navbar.is-scrolled {
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 300;
}

.nav-logo-img {
  display: block;
  height: 42px;
  width: auto;
  transition: filter 0.3s var(--ease);
}

/* Links do nav — escondidos, menu é sempre fullscreen */
.nav-menu {
  display: none;
}

/* ------------------------------------------------
   Hambúrguer — visível em TODAS as telas
   ------------------------------------------------ */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s;
  transform-origin: center;
}

/* X ao abrir */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ------------------------------------------------
   Overlay fullscreen do menu
   ------------------------------------------------ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Links do overlay */
.nav-overlay a {
  font-family: var(--font-sans);
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  line-height: 1;
  transition: color 0.25s, letter-spacing 0.25s;
  position: relative;
  overflow: hidden;
}

.nav-overlay a::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.35s var(--ease);
}

.nav-overlay a:hover {
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-overlay a:hover::after {
  width: 100%;
}

/* Redes sociais no rodapé do overlay */
.nav-overlay-social {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 28px;
}

.nav-overlay-social a {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  color: rgba(255,255,255,0.3) !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.nav-overlay-social a:hover {
  color: rgba(255,255,255,0.7) !important;
  letter-spacing: 0.2em !important;
}

.nav-overlay-social a::after {
  display: none !important;
}

/* ================================================
   HERO — IMAGE WALL SLIDER
   ================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--near-black);
}

/* Container que ocupa todo o hero */
.wall-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Cada linha da parede */
.wall-row {
  flex: 1;
  overflow: hidden;
}

/* Track — tem o dobro da largura da tela (10 itens × 20vw)
   Sem "gap": o espaçamento vem de margin-right em cada item, uniforme,
   pra o translateX(-50%) bater matematicamente exato e o loop não "pular". */
.wall-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

/* Animação para esquerda */
.wall-track--left {
  animation: wallLeft 42s linear infinite;
}

/* Animação para direita (começa em -50% = -100vw) */
.wall-track--right {
  animation: wallRight 38s linear infinite;
  transform: translateX(-50%);
}

/* Velocidade mais lenta para terceira linha */
.wall-track--slow.wall-track--left {
  animation-duration: 55s;
}

@keyframes wallLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes wallRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Item individual */
.wall-item {
  flex-shrink: 0;
  width: 20vw;
  height: 100%;
  margin-right: 3px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  filter: grayscale(100%) brightness(0.55);
  transition: filter 0.7s var(--ease);
  cursor: default;
}

.wall-item:hover,
.wall-item.is-lit {
  filter: grayscale(0%) brightness(0.8);
}

/* Placeholder visual quando não há imagem */
.wall-item:nth-child(5n+1) { background-color: #1c1c1c; }
.wall-item:nth-child(5n+2) { background-color: #151515; }
.wall-item:nth-child(5n+3) { background-color: #202020; }
.wall-item:nth-child(5n+4) { background-color: #181818; }
.wall-item:nth-child(5n+5) { background-color: #131313; }

/* Overlay em gradiente */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.55) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.55) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Conteúdo central */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-sans);
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--white);
  text-transform: uppercase;
}

.hero-since {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 14px;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  pointer-events: all;
}

/* Linha de scroll */
.scroll-line {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* ================================================
   STATEMENT
   ================================================ */
#statement {
  padding: 100px 0;
  background: var(--off-white);
  text-align: center;
}

.statement-text {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 24px;
}

.statement-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================
   REASONS STRIP — 3 motivos
   ================================================ */
.reasons-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--near-black);
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
}

.reason {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 44px 52px;
}

.reason-divider {
  display: none;
}

.reason-number {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.reason-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reason-text strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
}

.reason-text span {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
}

/* ================================================
   NAVBAR — modo escuro (sobre seções claras)
   ================================================ */
#navbar.nav--dark .nav-logo-img {
  filter: invert(1);
}

#navbar.nav--dark .nav-toggle span {
  background: var(--black);
}

/* Menu aberto: logo e X sempre brancos, independente da seção */
#navbar:has(.nav-toggle.is-open) .nav-logo-img {
  filter: none !important;
}

#navbar:has(.nav-toggle.is-open) .nav-toggle span {
  background: var(--white) !important;
}

/* navbar sempre transparente — sem fundo em nenhuma seção */

/* ================================================
   PORTFÓLIO
   ================================================ */
#portfolio {
  padding: var(--pad-section) 0;
  background: var(--white);
}

/* Abas */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--gray-100);
}

.tab {
  padding: 11px 30px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--gray-300);
  transition: color 0.3s, border-color 0.3s;
}

.tab:hover,
.tab--active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.portfolio-more {
  text-align: center;
  padding: 56px 0 80px;
}

/* Fotos extras — ocultas por padrão */
.grid-item--extra {
  display: none;
}

/* Quando expandido, mostra as extras que não estão filtradas */
#portfolioGrid.is-expanded .grid-item--extra:not(.is-hidden) {
  display: block;
}

/* Grid — full width, de borda a borda */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  grid-auto-flow: dense;
  gap: 3px;
  margin-top: 3px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #1e1e1e;
  cursor: pointer;
  filter: grayscale(18%);
  transition: filter 0.65s var(--ease);
}

/* Placeholder tonalidades escuras */
.grid-item:nth-child(3n+1) { background-color: #1c1c1c; }
.grid-item:nth-child(3n+2) { background-color: #242424; }
.grid-item:nth-child(3n+3) { background-color: #1a1a1a; }

.grid-item:hover {
  filter: grayscale(0%);
}

.grid-item:hover .grid-item-overlay {
  opacity: 1;
}

.grid-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.28);
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  opacity: 0;
  transition: opacity 0.4s;
}

.grid-item-overlay span {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Variações de tamanho */
.item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.item--wide {
  grid-column: span 2;
}

/* Itens filtrados */
.grid-item.is-hidden {
  display: none;
}

/* Lightbox — abre a foto em tamanho original */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,10,10,0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

/* ================================================
   SOBRE
   ================================================ */
#sobre {
  background: var(--white);
  min-height: 100vh;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Coluna direita (texto) */
.about-left {
  display: flex;
  align-items: center;
  /* Alinha com o container em qualquer largura de tela */
  padding: 100px
    max(var(--pad-container), calc((100vw - var(--max-width)) / 2 + var(--pad-container)))
    100px var(--pad-container);
  border-left: 1px solid var(--gray-100);
}

.about-left-inner {
  max-width: 560px;
}

.about-title {
  font-family: var(--font-sans);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--black);
  margin-bottom: 16px;
}

.about-title-rule {
  width: 36px;
  height: 2px;
  background: var(--black);
  margin-bottom: 32px;
}

.about-lead {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--black);
  margin-bottom: 28px;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--gray-100);
}

.about-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--black);
}

.stat-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Coluna direita — foto */
.about-right {
  position: relative;
  overflow: hidden;
}

.about-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-color: #2a2a2a;
  filter: grayscale(100%);
  transition: filter 0.6s var(--ease);
}

.about-right:hover .about-photo {
  filter: grayscale(60%);
}

/* ================================================
   DIFERENCIAIS
   ================================================ */
#diferenciais {
  padding: var(--pad-section) 0;
  background: var(--white);
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-100);
}

.diff-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
  transition: background 0.3s;
}

.diff-item:hover {
  background: var(--off-white);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
}

.diff-number {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--gray-100);
  line-height: 1;
  padding-top: 4px;
  letter-spacing: -0.02em;
}

.diff-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 8px;
}

.diff-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 600px;
}

/* ================================================
   SERVIÇOS
   ================================================ */
#servicos {
  padding: var(--pad-section) 0;
  background: var(--near-black);
  color: var(--white);
}

#servicos .section-title {
  color: var(--white);
}

#servicos .section-rule {
  background: var(--white);
}

#servicos .section-sub {
  color: rgba(255,255,255,0.4);
}

.services-wrap {
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  gap: 0 48px;
  margin-bottom: 56px;
}

.services-divider {
  width: 1px;
  background: #1e1e1e;
  align-self: stretch;
  justify-self: center;
}

.service-block-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #1e1e1e;
}

.service-block-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.service-block-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
}

/* Cards de plano */
.service-plans {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.25s, padding 0.25s;
}

.plan-card:last-child {
  border-bottom: none;
}

.plan-card--featured {
  background: #141414;
  padding: 20px 18px;
  margin: 0 -18px;
}

.plan-card-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.plan-detail {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

.services-note {
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  padding-top: 32px;
  border-top: 1px solid #1a1a1a;
}

.services-note a {
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.3s, border-color 0.3s;
}

.services-note a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* ================================================
   F0 — PROJETO ARTÍSTICO
   ================================================ */
#f0 {
  background: var(--black);
  overflow: hidden;
}

.f0-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 80vh;
}

/* Coluna de texto */
.f0-text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 72px 56px 72px 64px;
  border-right: 1px solid #181818;
}

.f0-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.f0-heading {
  font-family: var(--font-sans);
  font-size: clamp(72px, 10vw, 130px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--white);
  margin-bottom: 28px;
}

.f0-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}

/* Grid de fotos F0 */
.f0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
}

.f0-item {
  background-size: cover;
  background-position: center;
  background-color: #0e0e0e;
  filter: grayscale(100%) brightness(0.65);
  transition: filter 0.7s var(--ease);
  cursor: pointer;
}

.f0-item:nth-child(even) { background-color: #111111; }

.f0-item:hover {
  filter: grayscale(30%) brightness(0.8);
}

.f0-item--tall {
  grid-row: span 2;
}

.f0-item--wide {
  grid-column: span 2;
}

/* ================================================
   CTA FINAL
   ================================================ */
#cta-final {
  position: relative;
  padding: 140px 64px;
  background: var(--gray-900);
  /* Adicione sua imagem de fundo: background-image: url('images/cta-bg.jpg'); */
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 44px;
}

/* ================================================
   CONTATO
   ================================================ */
#contato {
  padding: var(--pad-section) 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 8px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.contact-value {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--black);
  transition: color 0.3s;
}

.contact-value:hover {
  color: var(--gray-500);
}

/* Formulário */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-300);
  letter-spacing: 0.03em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--black);
}

.form-feedback {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-500);
  text-align: center;
  min-height: 20px;
}

/* ================================================
   FOOTER
   ================================================ */
#footer {
  padding: 56px 0;
  background: var(--black);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo-img {
  height: 22px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 22px;
}

.footer-social a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.25);
}

/* ================================================
   RESPONSIVO
   ================================================ */

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --pad-section: 88px;
    --pad-container: 44px;
  }

  .about-grid {
    gap: 60px;
  }

  .services-wrap {
    grid-template-columns: 1fr;
    gap: 56px 0;
  }

  .services-divider {
    display: none;
  }

  .f0-inner {
    grid-template-columns: 280px 1fr;
  }
}

/* Mobile grande */
@media (max-width: 768px) {
  :root {
    --pad-section: 68px;
    --pad-container: 24px;
  }

  /* Nav mobile */
  #navbar {
    padding: 20px 24px;
  }

  #navbar.is-scrolled {
    padding: 14px 24px;
  }

  /* Hero mobile — wall com 3 colunas */
  .wall-item {
    width: calc(100vw / 3);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn {
    padding: 13px 32px;
  }

  /* Portfolio mobile */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Reasons strip mobile */
  .reasons-strip {
    grid-template-columns: 1fr;
  }

  .reason-divider {
    height: 1px;
    width: auto;
  }

  .reason {
    padding: 32px 24px;
  }

  /* About mobile */
  .about-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-left {
    padding: 64px 24px;
    border-left: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .about-right {
    height: 70vw;
    min-height: 300px;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  /* Diferenciais mobile */
  .diff-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .diff-number {
    font-size: 32px;
  }

  .diff-item:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  /* Services mobile */
  .plan-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* F0 mobile */
  .f0-inner {
    grid-template-columns: 1fr;
  }

  .f0-text-col {
    padding: 56px 24px 40px;
    border-right: none;
    border-bottom: 1px solid #181818;
  }

  .f0-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .f0-item--tall {
    grid-row: span 1;
  }

  /* Contact mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA mobile */
  #cta-final {
    padding: 100px 32px;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .item--large,
  .item--wide {
    grid-column: span 1;
  }

  .f0-grid {
    grid-template-columns: 1fr;
  }

  .f0-item--wide {
    grid-column: span 1;
  }
}
