/* Goiá Vidros — tema baseado no estilo "oryzo" (Styles/oryzo)
   Fonte: Inter (substituto indicado para Halyard Display) */
:root {
  --cream: #ffedd7;
  --walnut: #100904;
  --bark: #382416;
  --cork: #40372e;
  --drift: #6c5f51;
  --ember: #dc5000;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 12px;
  --r-pill: 36px;
  --r-ghost: 22.5px;
  --gut: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--walnut); color: var(--cream);
  font-family: var(--font); font-weight: 500; font-size: 14px; line-height: 1.2;
  text-transform: uppercase; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; color: transparent; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: .96; }
p { margin: 0; }
.dash { border: 0; border-top: 1px dashed var(--drift); margin: 0; }

/* Corpo descritivo: a única voz em caixa mista */
.reveal-body, .contact-body, .numbers-body, .hero-card p, .service-list .d {
  text-transform: none; font-weight: 400;
}

/* Tarja */
.preview-bar { background: var(--bark); text-align: center; padding: 9px 16px; font-size: 11px; letter-spacing: .02em; }
.preview-bar em { font-style: normal; color: var(--ember); }

/* Navegação fixa */
.nav {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut); transition: background .3s, top .3s;
}
.nav.solid { background: rgba(16,9,4,.88); backdrop-filter: blur(8px); top: 0; }
.wordmark { text-decoration: none; font-size: 14px; letter-spacing: .02em; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; font-size: 12px; padding-bottom: 4px; border-bottom: 1px dashed transparent; }
.nav nav a.active, .nav nav a:hover { border-bottom-color: var(--cream); }
.nav-toggle { display: none; background: none; color: var(--cream); font: inherit; font-size: 12px; text-transform: uppercase; border: 1px solid var(--cream); border-radius: var(--r-ghost); padding: 7px 14px; cursor: pointer; }

/* Rótulo vertical */
.side-label {
  position: fixed; right: 10px; top: 50%; z-index: 30;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 10px; letter-spacing: .08em; opacity: .7; pointer-events: none;
}

/* Botões */
.btn-fill {
  display: inline-block; background: var(--bark); color: var(--cream);
  border: 0; border-radius: var(--r-pill); padding: 14px 24px;
  font: 500 13px/1 var(--font); text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.btn-fill:hover { background: #4a3020; }
.ember-link { color: var(--ember); text-transform: uppercase; font-weight: 500; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; margin-left: 6px; white-space: nowrap; }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.85) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(16,9,4,.75) 0%, rgba(16,9,4,.15) 40%, rgba(16,9,4,.2) 60%, rgba(16,9,4,.9) 100%),
  linear-gradient(90deg, rgba(56,36,22,.35), transparent 60%); mix-blend-mode: normal; }
.hero > *:not(.hero-img) { position: relative; z-index: 2; }
.hero-top { position: absolute !important; top: 96px; left: var(--gut); }
.tagline { font-size: 12px; margin-bottom: 14px; max-width: 32ch; }
.hero-word { font-size: clamp(64px, 13vw, 210px); letter-spacing: -.02em; line-height: .86; }
.hero-card {
  position: absolute !important; left: var(--gut); bottom: var(--gut); width: min(420px, calc(100% - 2*var(--gut)));
  background: rgba(16,9,4,.55); backdrop-filter: blur(14px); border: 1px solid rgba(255,237,215,.15);
  border-radius: var(--r-card); padding: 24px; display: grid; gap: 18px;
}
.hero-card h2 { font-size: 15px; line-height: 1.15; }
.hero-card p { font-size: 15px; line-height: 1.4; opacity: .85; }
.hero-card .btn-fill { justify-self: start; }
.hero-thumb {
  position: absolute !important; right: 44px; bottom: var(--gut); width: 210px; aspect-ratio: 4/3;
  border-radius: var(--r-card); overflow: hidden; text-decoration: none; border: 1px solid rgba(255,237,215,.2);
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: transform .5s; }
.hero-thumb:hover img { transform: scale(1.06); }
.play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid var(--cream); border-radius: 50%; }
.play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 13px solid var(--cream); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.thumb-label { position: absolute; left: 12px; bottom: 10px; font-size: 11px; }

/* REVEAL — a peça de vidro (render em CSS) */
.reveal-section { overflow-x: clip; min-height: 100vh; padding: 120px var(--gut) 60px; display: flex; flex-direction: column; justify-content: center; gap: 60px; border-top: 1px dashed var(--cork); }
.reveal-grid { display: grid; grid-template-columns: 1fr minmax(260px, 38%) 1fr; gap: 18px; align-items: center; }
.reveal-title { font-size: clamp(36px, 3.6vw, 51px); align-self: start; }
.reveal-body { font-size: clamp(20px, 2vw, 29px); line-height: 1.26; align-self: end; max-width: 22ch; justify-self: end; }
.pane-stage { position: relative; height: min(70vh, 560px); perspective: 1400px; display: grid; place-items: center; }
.glow { position: absolute; width: 70%; height: 70%; top: 8%; right: -6%; background: radial-gradient(circle, rgba(220,80,0,.32), rgba(220,80,0,0) 65%); filter: blur(20px); }
.pane { position: relative; width: 58%; height: 86%; transform-style: preserve-3d; animation: turn 14s ease-in-out infinite; }
.pane-face {
  position: absolute; inset: 0; border-radius: 4px;
  background:
    linear-gradient(115deg, rgba(255,237,215,0) 30%, rgba(255,237,215,.22) 38%, rgba(255,237,215,0) 46%),
    linear-gradient(115deg, rgba(255,237,215,0) 55%, rgba(255,237,215,.08) 60%, rgba(255,237,215,0) 64%),
    linear-gradient(180deg, rgba(160,200,190,.16), rgba(108,95,81,.10));
  border: 1px solid rgba(255,237,215,.45);
  box-shadow: inset 0 0 40px rgba(255,237,215,.06);
  background-size: 300% 100%, 300% 100%, 100% 100%;
  animation: sheen 7s linear infinite;
  backdrop-filter: blur(2px);
}
.pane-edge { position: absolute; top: 0; bottom: 0; right: 0; width: 10px; transform-origin: right; transform: rotateY(90deg); background: linear-gradient(180deg, rgba(150,200,180,.55), rgba(90,130,120,.35)); border-radius: 2px; }
.etch { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); font-size: clamp(56px, 7vw, 110px); letter-spacing: -.02em; color: rgba(255,237,215,.16); text-shadow: 0 0 1px rgba(255,237,215,.3); }
.pane-spec { position: absolute; left: 14px; bottom: 14px; font-size: 10px; opacity: .7; }
.floor { position: absolute; bottom: 2%; width: 70%; height: 30px; background: radial-gradient(ellipse, rgba(255,237,215,.12), transparent 70%); }
@keyframes turn { 0%,100% { transform: rotateY(-28deg) rotateX(4deg); } 50% { transform: rotateY(22deg) rotateX(-2deg); } }
@keyframes sheen { from { background-position: 100% 0, 100% 0, 0 0; } to { background-position: -200% 0, -200% 0, 0 0; } }

.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px dashed var(--cork); }
.spec-row > div { padding: 18px 18px 0 0; display: grid; gap: 8px; }
.spec-row .k { font-size: 10px; color: var(--drift); }
.spec-row .v { font-size: 14px; }

/* LISTA DE SERVIÇOS */
.services, .work { padding: 120px var(--gut) 60px; position: relative; border-top: 1px dashed var(--cork); }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }
.label { font-size: 11px; color: var(--drift); }
.section-head h2 { font-size: clamp(36px, 4.4vw, 51px); line-height: 1.02; }
.service-list { list-style: none; margin: 0; padding: 0; max-width: 980px; }
.service-list li {
  display: grid; grid-template-columns: 56px 1fr 1fr; gap: 18px; align-items: baseline;
  padding: 22px 0; border-top: 1px dashed var(--cork); cursor: default; transition: padding .25s, color .25s;
}
.service-list li:last-child { border-bottom: 1px dashed var(--cork); }
.service-list .n { font-size: 11px; color: var(--drift); }
.service-list .t { font-size: clamp(18px, 2vw, 24px); line-height: 1.09; }
.service-list .d { font-size: 15px; line-height: 1.4; opacity: .7; }
.service-list li:hover { padding-left: 12px; }
.service-list li:hover .n { color: var(--cream); }
.hover-preview { position: absolute; right: 6%; top: 0; width: 280px; aspect-ratio: 3/4; margin: 0; border-radius: var(--r-card); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.96); transition: opacity .25s, transform .25s; z-index: 5; }
.hover-preview.on { opacity: 1; transform: none; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* TRABALHOS — imagens sem cantos arredondados (regra do estilo) */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 18px; }
.work-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--bark); }
.work-grid img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.work-grid figure:hover img { transform: scale(1.04); }
.work-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; font-size: 11px; background: linear-gradient(transparent, rgba(16,9,4,.85)); }
.w1 { grid-column: 1 / 6; grid-row: span 5; }
.w2 { grid-column: 6 / 13; grid-row: span 3; }
.w3 { grid-column: 6 / 9; grid-row: span 4; }
.w4 { grid-column: 9 / 13; grid-row: span 4; }
.w5 { grid-column: 1 / 6; grid-row: span 2; }

/* NÚMEROS */
.numbers { padding: 100px var(--gut); border-top: 1px dashed var(--cork); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.num { display: grid; gap: 14px; }
.num .big { font-size: clamp(64px, 9vw, 140px); line-height: .85; letter-spacing: -.03em; }
.num .cap { font-size: 12px; color: var(--drift); line-height: 1.3; }
.numbers-body { grid-column: 1 / -1; font-size: clamp(20px, 2vw, 29px); line-height: 1.26; max-width: 36ch; margin-top: 40px; }

/* CONTATO */
.contact { padding: 120px var(--gut) 80px; border-top: 1px dashed var(--cork); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-left { display: grid; gap: 22px; align-content: start; }
.contact-left h2 { font-size: clamp(36px, 4.4vw, 51px); }
.contact-body { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; max-width: 30ch; opacity: .85; }
.quote { display: grid; gap: 22px; margin-top: 12px; max-width: 460px; }
.quote label { display: grid; gap: 8px; font-size: 11px; color: var(--drift); }
.quote input, .quote select {
  background: transparent; border: 0; border-bottom: 1px solid var(--cream); border-radius: 0;
  color: var(--cream); font: 400 17px/1.3 var(--font); padding: 6px 2px; text-transform: none; outline: none;
}
.quote select option { background: var(--walnut); }
.quote input::placeholder { color: var(--drift); }
.quote input:focus, .quote select:focus { border-bottom-color: var(--ember); }
.quote .btn-fill { justify-self: start; margin-top: 6px; }
.contact-right { display: grid; gap: 24px; align-content: start; }
.info { margin: 0; display: grid; }
.info > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-top: 1px dashed var(--cork); }
.info dt { font-size: 11px; color: var(--drift); }
.info dd { margin: 0; font-size: 14px; line-height: 1.4; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { border-radius: var(--r-card); overflow: hidden; height: 300px; border: 1px solid var(--cork); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.35) brightness(.85); }

/* Rodapé */
.footer { border-top: 1px dashed var(--cork); padding: 28px var(--gut) 90px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; font-size: 11px; }
.credit { color: var(--ember); }
.credit a { text-decoration: none; }

/* WhatsApp flutuante (botão fantasma) */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  border: 1px solid var(--cream); border-radius: var(--r-ghost); padding: 11px 20px;
  background: rgba(16,9,4,.7); backdrop-filter: blur(8px); text-decoration: none; font-size: 12px;
}
.wa-float::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ccf6e; margin-right: 9px; vertical-align: 1px; }

/* Revelar ao rolar */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade.on { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .reveal-grid { grid-template-columns: 1fr 1fr; }
  .pane-stage { grid-column: 1 / -1; grid-row: 2; height: 420px; }
  .reveal-body { justify-self: start; align-self: start; }
  .hover-preview { display: none; }
  .service-list li { grid-template-columns: 44px 1fr; }
  .service-list .d { grid-column: 2; }
  .work-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; }
  .w1 { grid-column: 1 / 4; grid-row: span 4; } .w2 { grid-column: 4 / 7; grid-row: span 2; }
  .w3 { grid-column: 4 / 7; grid-row: span 2; } .w4 { grid-column: 1 / 4; grid-row: span 3; } .w5 { grid-column: 4 / 7; grid-row: span 3; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  .side-label { display: none; }
  .nav { top: 30px; }
  .nav-toggle { display: inline-block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--walnut); padding: 0 var(--gut) 12px; border-bottom: 1px dashed var(--cork); }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 16px 0; border-bottom: 1px dashed var(--cork); font-size: 14px; }
  .hero { min-height: 680px; }
  .hero-top { top: 90px; }
  .hero-thumb { display: none; }
  .hero-card { bottom: 16px; }
  .reveal-section { padding: 90px var(--gut) 40px; gap: 32px; }
  .reveal-grid { grid-template-columns: 1fr; }
  .pane-stage { grid-row: auto; height: 360px; }
  .reveal-body { max-width: none; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec-row > div { padding-bottom: 18px; }
  .services, .work { padding: 90px var(--gut) 40px; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .w1 { grid-column: 1 / -1; grid-row: span 3; } .w2 { grid-column: 1 / -1; grid-row: span 2; }
  .w3, .w4 { grid-column: span 1; grid-row: span 2; } .w5 { grid-column: 1 / -1; grid-row: span 2; }
  .numbers { grid-template-columns: 1fr; padding: 80px var(--gut); gap: 36px; }
  .numbers-body { margin-top: 0; }
  .contact { grid-template-columns: 1fr; padding: 90px var(--gut) 60px; gap: 48px; }
  .info > div { grid-template-columns: 1fr; gap: 6px; }
  .wa-float { left: 16px; right: 16px; bottom: 16px; text-align: center; padding: 15px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade { opacity: 1; transform: none; }
}
