/* ===================================================================
   Scudeler Arch + Dsgn
   Sistema visual conforme o manual de marca:
   Preto Absoluto #000000 · Grafite Profundo #1A1A1A
   Cinza Arquitetura #5F5F5F · Cinza Névoa #D9D9D9
   Verde Elétrico #C8FF30 (acento, pontual) · Branco Puro #FFFFFF
   Display: Inter Tight (Black 900 / Light 300, tracking -0.04em)
   Corpo: Inter 400/500/700, entrelinha 1.6
   Grafismo: as ondas — único elemento decorativo do sistema
   =================================================================== */

:root {
  --black:    #000000;
  --graphite: #1A1A1A;
  --grey:     #5F5F5F;
  --mist:     #D9D9D9;
  --volt:     #C8FF30;
  --white:    #FFFFFF;

  --on-black-soft: rgba(255, 255, 255, 0.62);
  --line-light: #E4E4E4;
  --line-dark:  #262626;

  --font-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(24px, 5vw, 68px);
  --section-pad: clamp(76px, 11vw, 150px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

p { margin: 0 0 1em; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* O acento aparece no foco — pontual, nunca em superfície grande */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

/* ---------- Tipografia display ----------
   O par Black 900 + Light 300 na mesma linha é a assinatura
   tipográfica do manual: "A credencial como contrato." */

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 0.45em;
  font-weight: 300;
}
h1 b, h2 b, h3 b { font-weight: 900; letter-spacing: -0.045em; }

h1 { font-size: clamp(44px, 8.2vw, 104px); }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 22px;
}
.panel-black .eyebrow { color: rgba(255,255,255,0.5); }

.rule {
  width: 64px;
  height: 2px;
  background: var(--black);
  margin: 0 0 28px;
  border: 0;
}
.panel-black .rule { background: var(--white); }

/* ---------- Wordmark SCUD≡L≡R ----------
   Os dois E são três barras horizontais empilhadas.
   Nunca esticar, girar, recortar ou aplicar efeito. */

.wm { display: inline-block; line-height: 1; }
.wm-word {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.30em;
  padding-left: 0.30em;
}
.wm-word > span { display: block; }
.wm-e {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 0.60em;
  height: 0.66em;
  margin-right: 0.30em;
  font-style: normal;
}
.wm-e b { display: block; height: 0.085em; background: currentColor; }
.wm-qual {
  display: block;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  margin-top: 7px;
  padding-left: 0.30em;
  color: inherit;
  opacity: 0.75;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}
.site-header .wm { color: var(--white); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-nav a { color: var(--white); padding: 6px 0; position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.45);
  padding: 9px 20px !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-cta:hover { background: var(--volt); border-color: var(--volt); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ---------- Painéis ---------- */

.panel { padding: var(--section-pad) 0; position: relative; }
.panel-black { background: var(--black); color: var(--white); }
.panel-graphite { background: var(--graphite); color: var(--white); }
.panel-white { background: var(--white); color: var(--black); }
.panel-black p, .panel-graphite p { color: var(--on-black-soft); }

/* ---------- As ondas ----------
   Habitam as bordas e sangram para fora do quadro.
   Nunca lidas como fumaça, vapor ou névoa. */

.wave {
  position: absolute;
  left: -8%;
  width: 116%;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.wave img { width: 100%; height: 100%; object-fit: cover; }
.wave-bottom { bottom: -1px; height: clamp(180px, 32vh, 340px); }
.wave-top    { top: -1px; height: clamp(140px, 24vh, 260px); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 200px;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 14ch; margin-bottom: 30px; }
.hero-lede {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--on-black-soft);
  max-width: 46ch;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Botões e links ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-solid { background: var(--volt); border-color: var(--volt); color: var(--black); }
.btn-solid:hover { background: var(--white); border-color: var(--white); }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.panel-white .btn-ghost:hover { background: var(--black); border-color: var(--black); color: var(--white); }

/* ---------- Credenciais (4 números) ---------- */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  margin-top: 44px;
}
.panel-black .cred-grid, .panel-graphite .cred-grid { border-top-color: var(--line-dark); }

.cred {
  padding: 34px 26px 34px 0;
  border-left: 1px solid var(--line-light);
  padding-left: 26px;
}
.cred:first-child { border-left: 0; padding-left: 0; }
.panel-black .cred, .panel-graphite .cred { border-left-color: var(--line-dark); }

.cred-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 12px;
  color: inherit;
}
.cred-num .plus { color: var(--volt); font-size: 0.44em; vertical-align: super; letter-spacing: 0; }
/* o registro CAU é código, não número grande: cabe em uma linha só */
.cred-num.is-code { font-size: clamp(24px, 3vw, 38px); white-space: nowrap; }
.cred-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
}
.panel-black .cred-label { color: rgba(255,255,255,0.5); }

.cred-note {
  border-left: 2px solid var(--volt);
  padding-left: 20px;
  margin-top: 40px;
  max-width: 60ch;
  font-size: 15px;
}

/* ---------- Sobre ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.about-photo {
  aspect-ratio: 4 / 5;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.about-cau {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.about-role { font-size: 17px; color: var(--grey); margin-bottom: 26px; }
.about-text { max-width: 60ch; color: var(--grey); }
.panel-black .about-text { color: var(--on-black-soft); }

/* ---------- Serviços ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.tile {
  background: var(--black);
  padding: 40px 32px 44px;
  position: relative;
  transition: background .25s ease;
}
.tile::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--volt);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .25s ease;
}
.tile:hover { background: var(--graphite); }
.tile:hover::before { transform: scaleY(1); transform-origin: top; }
.tile-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin: 0 0 26px;
}
.tile h3 { color: var(--white); margin-bottom: 10px; }
.tile p { font-size: 14.5px; margin: 0; }

/* ---------- Método ---------- */

.quote-panel { overflow: hidden; }
.quote-panel .wrap { position: relative; z-index: 2; }
.quote-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.9vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  max-width: 20ch;
  margin: 0 0 26px;
  color: var(--black);
}
.quote-text b { font-weight: 900; }
.quote-attribution { font-size: 15px; color: var(--grey); max-width: 46ch; }
.method-copy { margin-top: 54px; max-width: 62ch; color: var(--grey); }

/* ---------- Portfólio ---------- */

.portfolio-note { color: var(--on-black-soft); max-width: 56ch; }
.scroll-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px var(--gutter) 24px;
  scroll-snap-type: x mandatory;
}
.gallery-card { flex: 0 0 min(78vw, 440px); scroll-snap-align: start; }
.portfolio-image {
  aspect-ratio: 4 / 3;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.gallery-card h3 { color: var(--white); margin-bottom: 4px; }
.gallery-card p { font-size: 13px; margin: 0; }

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 84px);
}
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line-light); }
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  flex: none;
}
.contact-list a, .contact-list li > span:last-child {
  font-size: 15px;
  text-align: right;
  overflow-wrap: anywhere;
}
.contact-list a { font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.contact-list a:hover { border-bottom-color: var(--volt); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  padding: 13px 15px;
  border: 1px solid var(--mist);
  border-radius: 0;
  resize: vertical;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--black); }
.contact-form .btn { align-self: flex-start; }

.form-status { font-size: 13px; min-height: 1.3em; margin: 0; color: var(--grey); }
.form-status.is-error { color: #A11B1B; }
.form-note { font-size: 13px; color: var(--grey); margin: 0; }
.form-note a { border-bottom: 1px solid var(--volt); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rodapé ---------- */

.site-footer {
  background: var(--black);
  color: var(--on-black-soft);
  font-size: 13px;
  padding: 0 0 0;
  position: relative;
  overflow: hidden;
}
.footer-mark { padding: 74px 0 54px; text-align: center; position: relative; z-index: 2; }
.footer-mark .wm { color: var(--white); }
.footer-mark .wm-word { justify-content: center; font-size: clamp(26px, 5vw, 44px); }
.footer-mark .wm-qual { font-size: 10px; text-align: center; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line-dark);
  position: relative;
  z-index: 2;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a:hover { color: var(--white); }
.footer-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 6px;
}
.footer-col p { margin: 0; color: var(--on-black-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0 30px;
  font-size: 12px;
  color: var(--grey);
  position: relative;
  z-index: 2;
}
.footer-bottom p { margin: 0; color: var(--grey); }

/* ---------- Reveal ----------
   Depende de .js no <html>: sem JavaScript nada disso se aplica
   e a página nasce visível, em vez de ficar em branco. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 940px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred { padding-left: 22px; }
  .cred:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 160px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    padding: 6px var(--gutter) 22px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  /* o menu abre sobre fundo preto: tipografia branca, sempre legível */
  .site-nav a { color: var(--white); padding: 14px 0; }
  .site-nav a:not(.nav-cta) { border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .tile-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .cred:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .contact-list li { flex-direction: column; gap: 4px; align-items: flex-start; }
}
