/* ─── TERRACOTA ARQUITETURA — ESTILOS COMPARTILHADOS ─── */
/* Fontes, tokens de cor, reset, textura de ruído, logo e footer.
   Importado por index.html, projetos.html e projeto.html.
   Estilos específicos de cada página continuam no <style> de cada uma. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400&display=swap');

:root {
  --c-dark:     #2e2c2d;
  --c-terra:    #9e4624;
  --c-cream:    #e4e0d5;
  --c-sand:     #cabdaa;
  --c-white:    #f7f4ef;
  --c-terra-lt: #b5603a;
}

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

/* ─── TEXTURA DE RUÍDO ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ─── LOGO ─── */
/* Cores base para fundo claro (projetos.html / projeto.html).
   index.html sobrescreve para o nav sobre fundo escuro. */
.logo {
  display: flex; flex-direction: column; gap: 3px;
  text-decoration: none;
}

.logo-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--c-dark);
  text-transform: lowercase;
}

.logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 9px; font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-terra);
  opacity: 0.8;
}

/* ─── FOOTER ─── */
footer {
  padding: 40px 48px;
  border-top: 0.5px solid rgba(46,44,45,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(46,44,45,0.35);
}

footer a {
  color: rgba(46,44,45,0.35);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover { color: var(--c-terra); }

footer .footer-tel { white-space: nowrap; }

/* Mobile: e-mail e telefone em linhas separadas (telefone não quebra no meio) */
@media (max-width: 768px) {
  footer .footer-sep { display: none; }
  footer .footer-contact a,
  footer .footer-tel { display: block; }
}
