/* ==========================================================================
   ABSOLUT MARMORARIA E PORCELANATARIA — Design System
   Tokens: preto quente, dourado champagne, verde-pedra (acento raro), creme
   Tipografia: Fraunces (display) + Manrope (corpo/UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,ital@9..144,300..700,0..1&family=Manrope:wght@400;500;600;700&family=Anton&display=swap');

:root{
  --black: #0b0a08;
  --black-2: #151310;
  --black-3: #1e1b16;
  --gold: #c6a15b;
  --gold-light: #e9d9ae;
  --gold-dim: #7d693f;
  --stone-green: #4a5a4d;
  --cream: #f4efe4;
  --cream-dim: #cfc6b4;
  --line: rgba(198,161,91,0.22);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --impact: 'Anton', var(--sans);

  --container: 1180px;
  --pad: 20px;
  --section-pad: 88px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 900px){
  :root{ --pad: 48px; --section-pad: 140px; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3{ font-family: var(--serif); font-weight: 500; margin:0; letter-spacing: -0.01em; }
p{ margin:0; }
button{ font-family: var(--sans); cursor:pointer; }

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

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- utility ---------- */
.eyebrow{
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px, 4.5vw, 44px); line-height: 1.12; color: var(--cream); }
.section-head p{ margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--cream-dim); }

.hairline{ height:1px; background: var(--line); border:0; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 16px 28px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary{ background: var(--gold); color: var(--black); }
.btn-primary:hover{ background: var(--gold-light); transform: translateY(-2px); }
.btn-outline{ border-color: var(--gold-dim); color: var(--cream); }
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-whatsapp{ background: var(--black); border: 1px solid var(--gold); color: var(--gold-light); }
.btn-whatsapp:hover{ background: var(--gold); color: var(--black); }
.btn-block{ width:100%; }

/* ---------- nav ---------- */
.nav{
  position: sticky; top:0; z-index: 40;
  background: rgba(11,10,8,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:40px; height:40px; flex-shrink:0; }
.brand-mark img{ width:100%; height:100%; object-fit:contain; }
.brand-text{ font-family: var(--serif); font-size: 17px; letter-spacing: 0.04em; line-height:1.1; }
.brand-text b{ display:block; color: var(--gold-light); font-weight:600; }
.brand-text span{ display:block; font-size: 10px; color: var(--cream-dim); font-family: var(--sans); letter-spacing: 0.08em; }

.nav-links{ display:none; gap:36px; font-size: 14px; color: var(--cream-dim); }
.nav-links a:hover{ color: var(--gold-light); }
@media (min-width: 900px){ .nav-links{ display:flex; } }

.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn{ padding: 11px 18px; font-size: 13px; }
.nav-cta .btn-outline{ display:none; }
@media (min-width:640px){ .nav-cta .btn-outline{ display:inline-flex; } }

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex; align-items:flex-end;
  padding-top: 76px;
  overflow:hidden;
  background: var(--black);
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(198,161,91,0.16), transparent 42%),
    linear-gradient(200deg, #171410 0%, #0b0a08 46%, #050403 100%);
}
.hero-veins{
  position:absolute; inset:0; opacity:0.55; mix-blend-mode: screen;
  background-image:
    linear-gradient(115deg, transparent 46%, rgba(198,161,91,0.55) 47%, rgba(198,161,91,0.05) 48.5%, transparent 50%),
    linear-gradient(72deg, transparent 22%, rgba(233,217,174,0.22) 23%, transparent 24.5%),
    linear-gradient(160deg, transparent 61%, rgba(198,161,91,0.3) 62%, transparent 63.5%);
  animation: veinDrift 26s ease-in-out infinite alternate;
}
@keyframes veinDrift{ from{ transform: scale(1) translate(0,0);} to{ transform: scale(1.06) translate(-1%,-1%);} }
.hero-glow{
  position:absolute; width:520px; height:520px; border-radius:50%;
  right:-140px; top:-140px;
  background: radial-gradient(circle, rgba(198,161,91,0.24), transparent 70%);
  filter: blur(10px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity:.6;} 50%{ opacity:1;} }
.hero-particles span{
  position:absolute; width:3px; height:3px; background: var(--gold-light);
  border-radius:50%; opacity:.55; animation: rise 9s linear infinite;
}
@keyframes rise{ from{ transform: translateY(0); opacity:0;} 10%{opacity:.7;} to{ transform: translateY(-60vh); opacity:0;} }

.hero-content{ position:relative; z-index:2; padding-bottom: 72px; width:100%; }
.hero-kicker{ color: var(--gold-light); font-size:13px; letter-spacing:0.04em; margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.hero-kicker::before{ content:""; width:28px; height:1px; background: var(--gold); }
.hero h1{
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1.04;
  max-width: 15ch;
  color: var(--cream);
}
.hero h1 em{ font-style: italic; color: var(--gold-light); }
.hero p.sub{
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--cream-dim); line-height:1.6;
}
.hero-ctas{ margin-top: 36px; display:flex; flex-wrap:wrap; gap:14px; }
.hero-strip{
  margin-top: 64px; display:flex; gap:0; border-top:1px solid var(--line);
}
.hero-strip div{ flex:1; padding: 16px 0 0; border-right:1px solid var(--line); }
.hero-strip div:last-child{ border-right:0; }
.hero-strip b{ display:block; font-family: var(--serif); font-size: 20px; color: var(--gold-light); }
.hero-strip span{ display:block; font-size: 11.5px; color: var(--cream-dim); margin-top:4px; letter-spacing:0.03em; }

/* ---------- hero fotográfico (estilo flyer) ---------- */
.hero-photo{ min-height:0; padding-top:76px; display:block; align-items:initial; }
.hero-photo .hero-bg{ background: linear-gradient(200deg, #171410 0%, #0b0a08 55%, #050403 100%); }
.hero-split{ position:relative; z-index:2; display:grid; grid-template-columns: 1fr; gap:0; }
@media (min-width: 980px){ .hero-split{ grid-template-columns: 1fr 1.15fr; min-height: 88vh; } }

.hero-copy{ padding: 40px 0 48px; position:relative; z-index:3; }
@media (min-width: 980px){ .hero-copy{ padding: 88px var(--pad) 60px 0; } }
.hero-kicker2{ color: var(--gold-light); font-size:13px; letter-spacing:0.04em; margin-bottom:20px; display:flex; align-items:center; gap:10px; }
.hero-kicker2::before{ content:""; width:28px; height:1px; background: var(--gold); }

.flyer-heading{
  font-family: var(--impact);
  font-weight:400;
  text-transform: uppercase;
  line-height: 0.98;
  font-size: clamp(34px, 6.4vw, 56px);
  color: var(--cream);
  letter-spacing: 0.005em;
}
.flyer-heading .gold-line{ color: var(--gold); }

.hero-copy .sub{ margin-top:22px; max-width:42ch; font-size:16.5px; line-height:1.6; color: var(--cream-dim); }

.feature-list{ list-style:none; margin: 32px 0 0; padding:0; display:flex; flex-direction:column; gap:18px; }
.feature-list li{ display:flex; align-items:center; gap:16px; }
.feature-list svg{ width:26px; height:26px; stroke: var(--gold); flex-shrink:0; }
.feature-list span{ font-size:14px; font-weight:700; line-height:1.3; color: var(--cream); letter-spacing:0.01em; }

.hero-copy .hero-ctas{ margin-top:34px; }

/* pilha de fotos + selo de whatsapp, à direita, como nos flyers */
.hero-photos{ position:relative; height: 420px; }
@media (min-width: 980px){ .hero-photos{ height:auto; } }
.photo-stack{ position:relative; height:100%; min-height: 420px; }
@media (min-width: 980px){ .photo-stack{ min-height: 88vh; } }
.photo-stack::before{
  content:""; position:absolute; top:0; bottom:0; left:-3vw; width:3px;
  background: linear-gradient(180deg, transparent, var(--gold) 15%, var(--gold-light) 50%, var(--gold) 85%, transparent);
  transform: skewX(-9deg);
  display:none;
}
@media (min-width: 980px){ .photo-stack::before{ display:block; } }

.ph{ position:absolute; object-fit:cover; border:1px solid var(--gold-dim); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.ph-1{ top:0; right:0; width:100%; height:46%; }
.ph-2{ top:44%; right:0; width:88%; height:32%; }
.ph-3{ top:74%; right:0; width:70%; height:26%; }
@media (min-width: 980px){
  .ph-1{ top:6%; height:44%; }
  .ph-2{ top:46%; height:30%; }
  .ph-3{ top:73%; height:24%; }
}

.wa-box{
  position:absolute; left:0; bottom:-18px; z-index:4;
  display:flex; align-items:center; gap:14px;
  background: var(--black); border:1px solid var(--gold);
  padding: 16px 20px; max-width: 88%;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
@media (min-width:980px){ .wa-box{ left:-6%; bottom:6%; max-width:70%; } }
.wa-box .wa-icon{ width:44px; height:44px; border-radius:50%; border:1px solid var(--gold); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-box .wa-icon svg{ width:22px; height:22px; fill: var(--gold-light); }
.wa-box b{ display:block; font-size:14.5px; line-height:1.35; color: var(--cream); letter-spacing:0.01em; }
.wa-box b em{ font-style:normal; color: var(--gold-light); }
.wa-box span{ display:block; margin-top:4px; font-size:18px; font-weight:700; color: var(--cream); }

/* faixa de selos inferior (estilo flyer) */
.trust-strip{ border-top:1px solid var(--line); padding: 26px 0; }
.trust-strip .container{ display:flex; flex-wrap:wrap; gap: 20px 36px; justify-content:space-between; }
.trust-strip .t-item{ display:flex; align-items:center; gap:10px; font-size:12.5px; color: var(--cream-dim); font-weight:600; }
.trust-strip svg{ width:20px; height:20px; stroke: var(--gold); flex-shrink:0; }

/* material card com foto real */
.mat-tex.photo{ background-size: cover; background-position:center; }

/* seção catálogo com mockup real do telefone */
.catalog-photo{ padding: var(--section-pad) 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; }
.cp-grid{ display:grid; gap:40px; align-items:center; }
@media (min-width: 980px){ .cp-grid{ grid-template-columns: 1fr 0.85fr; gap:60px; } }
.cp-copy .flyer-heading{ font-size: clamp(30px,5.5vw,50px); }
.cp-copy p.lead{ margin-top:18px; font-size:16px; color: var(--cream-dim); line-height:1.6; max-width:42ch; }
.cp-copy .btn{ margin-top:30px; }
.cp-image{ position:relative; display:flex; justify-content:center; }
.cp-image{ perspective: 1400px; }
.cp-3d{
  position:relative; width:100%; max-width: 520px;
  border-radius: 6px; overflow:hidden;
  border:1px solid rgba(198,161,91,.45);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.85), 0 0 60px rgba(198,161,91,.18);
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .8s;
}
.cp-3d::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 35%, transparent 70%, rgba(198,161,91,.12) 100%); }
.cp-3d:hover{ transform: rotateY(0) rotateX(0) scale(1.02); box-shadow: 0 50px 90px -20px rgba(0,0,0,.9), 0 0 80px rgba(198,161,91,.3); }
.cp-3d img{ display:block; width:100%; height:auto; }
@media (max-width: 979px){ .cp-3d{ max-width: 460px; transform:none; } }
@media (prefers-reduced-motion: reduce){ .cp-3d{ transform:none; transition:none; } }

/* ---------- autoridade ---------- */
.authority{ padding: 64px 0; border-bottom:1px solid var(--line); }
.authority-grid{ display:grid; grid-template-columns: 1fr; }
@media (min-width: 760px){ .authority-grid{ grid-template-columns: repeat(4,1fr); } }
.authority-item{ display:flex; align-items:center; gap:16px; padding: 20px 0; border-top:1px solid var(--line); }
@media (min-width: 760px){ .authority-item{ border-top:0; border-right:1px solid var(--line); padding: 4px 24px; } .authority-item:last-child{ border-right:0; } }
.authority-item svg{ flex-shrink:0; width:30px; height:30px; stroke: var(--gold); }
.authority-item span{ font-size:14px; color: var(--cream); line-height:1.3; font-weight:600; letter-spacing:0.01em; }

/* ---------- materials ---------- */
.materials{ padding: var(--section-pad) 0; }
.mat-rail{
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom: 12px;
  -webkit-overflow-scrolling: touch; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad);
}
.mat-rail::-webkit-scrollbar{ height:4px; }
.mat-rail::-webkit-scrollbar-thumb{ background: var(--gold-dim); }
@media (min-width: 860px){ .mat-rail{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; overflow:visible; margin:0; padding:0; } }

.mat-card{
  position:relative; scroll-snap-align:start;
  flex: 0 0 78%; min-height: 420px; border: 1px solid var(--line);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 26px; overflow:hidden;
  transition: border-color .4s var(--ease);
}
@media (min-width: 860px){ .mat-card{ flex:auto; min-height: 480px; } .mat-card.tall{ min-height: 560px; } }
.mat-card:hover{ border-color: var(--gold); }
.mat-card:hover .mat-tex{ transform: scale(1.06); }
.mat-tex{ position:absolute; inset:0; z-index:0; transition: transform .8s var(--ease); }
.mat-card::after{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(11,10,8,0.95) 0%, rgba(11,10,8,0.85) 30%, rgba(11,10,8,0.45) 70%, rgba(11,10,8,0.25) 100%); z-index:1; }
.mat-body{ position:relative; z-index:2; }
.mat-body .cat{ text-shadow: 0 1px 8px rgba(0,0,0,.85); font-size:12px; color: var(--gold-light); letter-spacing:0.05em; margin-bottom:8px; display:block; }
.mat-body h3{ font-size:24px; color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.85); }
.mat-body p{ margin-top:10px; font-size:14px; color: var(--cream); text-shadow: 0 1px 8px rgba(0,0,0,.85); line-height:1.55; max-width:32ch; }
.mat-body a{ margin-top:18px; display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color: var(--gold-light); border-bottom:1px solid var(--gold-dim); padding-bottom:3px; }
.mat-body a:hover{ border-color: var(--gold-light); }

/* stone textures (CSS-only placeholders — substituir por fotos reais do catálogo) */
.tex-marmore{ background: linear-gradient(135deg,#1c1a16,#0d0c0a 55%), linear-gradient(60deg, transparent 40%, rgba(233,217,174,.35) 41%, transparent 43%), linear-gradient(20deg, transparent 60%, rgba(198,161,91,.25) 61%, transparent 63%); background-blend-mode: screen; }
.tex-granito{ background: linear-gradient(150deg,#141311,#050403 60%), radial-gradient(circle at 30% 30%, rgba(198,161,91,.18), transparent 40%), radial-gradient(circle at 70% 70%, rgba(233,217,174,.12), transparent 35%); }
.tex-quartzito{ background: linear-gradient(120deg,#1a2420,#0a0d0b 55%), linear-gradient(50deg, transparent 45%, rgba(74,90,77,.55) 46%, transparent 48%), linear-gradient(10deg, transparent 65%, rgba(198,161,91,.18) 66%, transparent 68%); }
.tex-porcelanato{ background: linear-gradient(160deg,#201d18,#0b0a08 60%), linear-gradient(80deg, transparent 30%, rgba(233,217,174,.14) 31%, transparent 32%), linear-gradient(100deg, transparent 55%, rgba(233,217,174,.14) 56%, transparent 57%); }

/* ---------- catalog cta band ---------- */
.catalog-band{
  padding: 76px 0; text-align:center; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(198,161,91,0.05), transparent);
}
.catalog-band .container{ max-width: 640px; }
.catalog-band .eyebrow{ display:block; margin-bottom:16px; }
.catalog-band h2{ font-size: clamp(26px,4vw,38px); }
.catalog-band p{ margin: 18px 0 32px; color: var(--cream-dim); font-size:16px; line-height:1.6; }

/* ---------- projects gallery ---------- */
.projects{ padding: var(--section-pad) 0; }
.proj-grid{ display:grid; gap:14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px){ .proj-grid{ grid-template-columns: repeat(6,1fr); grid-auto-rows: 250px; } }
.proj-item{ position:relative; overflow:hidden; border:1px solid var(--line); }
.proj-item .mat-tex{ transition: transform 1s var(--ease); }
.proj-item:hover .mat-tex{ transform: scale(1.08); }
.proj-item span{ position:absolute; left:14px; bottom:12px; z-index:2; font-size:12.5px; color: var(--cream); letter-spacing:0.03em; font-weight:600; }
.proj-item::after{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(11,10,8,0.8) 0%, rgba(11,10,8,0.6) 50%, rgba(11,10,8,0.2) 100%); z-index:1; }
.proj-item.a{ grid-column: span 2; height:min(125vw,560px); }
.proj-item.b{ grid-column: span 2; height:min(105vw,480px); }
@media (min-width:760px){
  .proj-item.a{ grid-column: span 3; grid-row: span 2; height:auto; }
  .proj-item.b{ grid-column: span 3; grid-row: span 2; height:auto; }
  .proj-item.c{ grid-column: span 2; height:auto; }
  .proj-item.d{ grid-column: span 2; height:auto; }
  .proj-item.e{ grid-column: span 2; height:auto; }
}

/* ---------- differentiators ---------- */
.diff{ padding: var(--section-pad) 0; }
.diff-list{ display:grid; gap:0; }
.diff-row{
  display:grid; grid-template-columns: 56px 1fr; gap:20px; align-items:baseline;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.diff-list .diff-row:last-child{ border-bottom: 1px solid var(--line); }
.diff-row .num{ font-family: var(--serif); font-size: 34px; color: var(--gold-dim); font-style: italic; }
.diff-row h3{ font-size: 19px; color: var(--cream); font-family: var(--sans); font-weight:700; }
.diff-row p{ margin-top:6px; font-size:14.5px; color: var(--cream-dim); max-width: 52ch; line-height:1.55; }

/* ---------- how it works ---------- */
.how{ padding: var(--section-pad) 0; background: var(--black-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.how-grid{ display:grid; gap:40px; }
@media (min-width: 860px){ .how-grid{ grid-template-columns: repeat(3,1fr); } }
.how-step{ position:relative; padding-top: 26px; border-top: 1px solid var(--gold-dim); }
.how-step .n{ font-family: var(--serif); font-style:italic; color: var(--gold-light); font-size:15px; }
.how-step h3{ margin-top:12px; font-size:20px; color: var(--cream); }
.how-step p{ margin-top:10px; font-size:14.5px; color: var(--cream-dim); line-height:1.6; }

/* ---------- final cta ---------- */
.final-cta{ padding: 100px 0; text-align:center; position:relative; overflow:hidden; }
.final-cta .container{ position:relative; z-index:2; max-width:680px; }
.final-cta h2{ font-size: clamp(28px,5vw,46px); }
.final-cta p{ margin:18px 0 34px; color: var(--cream-dim); font-size:16px; }
.final-cta .ctas{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- footer ---------- */
footer{ padding: 56px 0 120px; border-top:1px solid var(--line); }
@media (min-width: 900px){ footer{ padding-bottom:56px; } }
.foot-grid{ display:grid; gap:32px; }
@media (min-width: 760px){ .foot-grid{ grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .brand{ margin-bottom:14px; }
.foot-brand p{ color: var(--cream-dim); font-size:14px; line-height:1.6; max-width:36ch; }
.foot-col h4{ font-size:12.5px; letter-spacing:0.05em; color: var(--gold-light); margin-bottom:16px; font-weight:600; }
.foot-col a, .foot-col p{ display:block; font-size:14px; color: var(--cream-dim); margin-bottom:10px; }
.foot-col a:hover{ color: var(--gold-light); }
.foot-bottom{ margin-top:48px; padding-top:24px; border-top:1px solid var(--line); font-size:12.5px; color: var(--cream-dim); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- whatsapp float ---------- */
.wa-float{
  position: fixed; right:16px; bottom:16px; z-index:50;
  display:flex; align-items:center; gap:10px;
  background: var(--black); border:1px solid var(--gold); color: var(--gold-light);
  padding: 13px 18px; border-radius: 999px; font-size:13.5px; font-weight:700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.wa-float:hover{ background: var(--gold); color: var(--black); transform: translateY(-2px); }
.wa-float svg{ width:18px; height:18px; }

/* ---------- reveal on scroll (single orchestrated pattern, not per-card) ---------- */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- landing-specific ---------- */
.pain{ padding: var(--section-pad) 0; }
.pain-cols{ display:grid; gap:32px; }
@media (min-width: 860px){ .pain-cols{ grid-template-columns: 1fr 1fr; } }
.pain-col{ padding: 32px; border:1px solid var(--line); }
.pain-col.neg{ background: rgba(0,0,0,0.2); }
.pain-col.pos{ background: linear-gradient(160deg, rgba(198,161,91,0.08), transparent); border-color: var(--gold-dim); }
.pain-col h3{ font-family: var(--sans); font-weight:700; font-size:15px; letter-spacing:0.03em; color: var(--gold-light); margin-bottom:18px; }
.pain-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.pain-col li{ font-size:15px; color: var(--cream-dim); line-height:1.5; padding-left:22px; position:relative; }
.pain-col li::before{ content:"—"; position:absolute; left:0; color: var(--gold-dim); }
.pain-col.pos li::before{ content:"—"; color: var(--gold); }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-top: 28px; }
.badge-row span{ font-size:12.5px; color: var(--cream-dim); display:flex; align-items:center; gap:8px; }
.badge-row span::before{ content:""; width:6px; height:6px; background: var(--gold); border-radius:50%; }

/* ---------- hero banner (arte final como visual do hero) ---------- */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

.hero-banner{
  /* proporção da arte: desktop 1672×823 · celular 852×1846 */
  --ratio: 1672 / 823;
  --hs1-l:4.78%;  --hs1-t:65.74%; --hs1-w:19.74%; --hs1-h:7.78%;
  --hs2-l:25.54%; --hs2-t:65.86%; --hs2-w:13.22%; --hs2-h:7.65%;
  position:relative; display:block; min-height:0; padding:0;
  width:100%; aspect-ratio: var(--ratio);
  overflow:hidden; background: var(--black);
}
.hero-banner-media, .hero-banner-media img{ position:absolute; inset:0; width:100%; height:100%; }
.hero-banner-media img{ object-fit:cover; object-position: left center; }

/* palco com a mesma proporção da imagem, centralizado como o "cover" — mantém os botões clicáveis alinhados */
.hero-banner-stage{
  position:absolute; left:0; top:50%; width:100%;
  aspect-ratio: var(--ratio); transform: translateY(-50%);
}
.hero-hotspot{ position:absolute; border-radius:999px; transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.hero-hotspot:hover{ background: rgba(233,217,174,0.08); box-shadow: 0 0 0 1px rgba(233,217,174,0.35), 0 10px 30px rgba(198,161,91,0.25); }
.hero-hotspot:focus-visible{ outline:2px solid var(--gold-light); outline-offset:3px; }
.hs-orcamento{ left:var(--hs1-l); top:var(--hs1-t); width:var(--hs1-w); height:var(--hs1-h); }
.hs-materiais{ left:var(--hs2-l); top:var(--hs2-t); width:var(--hs2-w); height:var(--hs2-h); }

/* celular e tablet em pé: recorte da área de texto + bancada, sem perder legibilidade */
@media (max-width: 759px), (max-width: 1100px) and (orientation: portrait){
  .hero-banner{
    --ratio: 852 / 1846;
    --hs1-l:7.98%; --hs1-t:44.64%; --hs1-w:48.36%; --hs1-h:4.12%;
    --hs2-l:8.45%; --hs2-t:49.84%; --hs2-w:35.45%; --hs2-h:3.58%;
  }
  .hero-banner-media img{ object-position: left top; }
}

/* Cozinhas: foto grande, overlay leve só na base para o texto */
.proj-item.a .mat-tex{ background-size:cover; background-position:center 60%; }
.proj-item.a::after{ background: linear-gradient(0deg, rgba(11,10,8,.75) 0%, rgba(11,10,8,.15) 28%, rgba(11,10,8,0) 100%); }
.proj-item.a span{ font-size:16px; left:22px; bottom:20px; text-shadow:0 1px 8px rgba(0,0,0,.85); }

/* Lavabos: mesmo padrão do card Cozinhas */
.proj-item.b .mat-tex{ background-size:cover; background-position:center 55%; }
.proj-item.b::after{ background: linear-gradient(0deg, rgba(11,10,8,.75) 0%, rgba(11,10,8,.15) 28%, rgba(11,10,8,0) 100%); }
.proj-item.b span{ font-size:16px; left:22px; bottom:20px; text-shadow:0 1px 8px rgba(0,0,0,.85); }

/* Carrossel do card Cozinhas */
.proj-item[data-carousel]::after{ pointer-events:none; }
.pc-track{ position:absolute; inset:0; z-index:0; display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.pc-track::-webkit-scrollbar{ display:none; }
.pc-slide{ flex:0 0 100%; scroll-snap-align:center; background-size:cover; background-position:center 60%; }
.pc-dots{ position:absolute; right:20px; bottom:24px; z-index:3; display:flex; gap:7px; pointer-events:none; }
.pc-dots i{ width:7px; height:7px; border-radius:50%; background:rgba(244,239,228,.45); transition:all .3s; }
.pc-dots i.on{ background:var(--gold-light); width:20px; border-radius:4px; }

/* ---------- vitrine em vídeo ---------- */
.showcase{ padding: clamp(56px,9vw,110px) 0; text-align:center; position:relative; overflow:hidden; }
.showcase::before{ content:""; position:absolute; left:50%; top:55%; width:min(900px,120vw); aspect-ratio:1; transform:translate(-50%,-50%);
  background: radial-gradient(circle, rgba(198,161,91,.16) 0%, rgba(198,161,91,0) 60%); pointer-events:none; }
.showcase-head{ position:relative; margin-bottom: clamp(28px,4vw,48px); }
.showcase-head h2{ font-family: var(--serif); font-weight:500; font-size: clamp(30px,4.6vw,52px); line-height:1.1; margin:10px 0 0; color: var(--cream); }
.showcase-head h2 em{ font-style:italic; color: var(--gold-light); }
.showcase-frame{ position:relative; margin:0 auto; width:min(100%, 460px);
  aspect-ratio: 9/16; max-height: 86svh; border-radius:8px; overflow:hidden;
  border:1px solid rgba(198,161,91,.5);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(198,161,91,.06), 0 0 80px rgba(198,161,91,.2); background:#000; }
.showcase-frame::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(0deg, rgba(11,10,8,.7) 0%, rgba(11,10,8,0) 22%), linear-gradient(115deg, rgba(255,255,255,.08) 0%, transparent 30%); }
.showcase-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.showcase-tag{ position:absolute; left:0; right:0; bottom:18px; z-index:2; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-light); text-shadow:0 1px 8px rgba(0,0,0,.85); }
@media (min-width: 980px){ .showcase-frame{ width: 480px; } }

/* Bancadas: foto da ilha em mármore, overlay leve */
.proj-item.d .mat-tex{ background-size:cover; background-position:center 55%; }
.proj-item.d::after{ background: linear-gradient(0deg, rgba(11,10,8,.75) 0%, rgba(11,10,8,.15) 30%, rgba(11,10,8,0) 100%); }
.proj-item.d span{ text-shadow:0 1px 8px rgba(0,0,0,.85); }

/* Áreas gourmet: foto da cozinha com ilha, overlay leve */
.proj-item.e .mat-tex{ background-size:cover; background-position:60% center; }
.proj-item.e::after{ background: linear-gradient(0deg, rgba(11,10,8,.75) 0%, rgba(11,10,8,.15) 30%, rgba(11,10,8,0) 100%); }
.proj-item.e span{ text-shadow:0 1px 8px rgba(0,0,0,.85); }

/* Banheiros: foto da bancada em mármore, overlay leve */
.proj-item.c .mat-tex{ background-size:cover; background-position:center 62%; }
.proj-item.c::after{ background: linear-gradient(0deg, rgba(11,10,8,.75) 0%, rgba(11,10,8,.15) 30%, rgba(11,10,8,0) 100%); }
.proj-item.c span{ text-shadow:0 1px 8px rgba(0,0,0,.85); }

/* ================= CELULAR: mostrar tudo que aparece no PC ================= */
html{ scroll-padding-top: 120px; }
.nav-orc{ display:none; }
@media (max-width: 899px){
  .nav .container{ flex-wrap:wrap; height:auto; padding-top:10px; padding-bottom:0; row-gap:4px; }
  .nav-links{ display:flex; order:3; flex:0 0 100%; justify-content:space-between; gap:12px; font-size:13px;
    padding:10px 0 11px; border-top:1px solid var(--line); margin-top:6px; overflow-x:auto; scrollbar-width:none; white-space:nowrap; }
  .nav-links::-webkit-scrollbar{ display:none; }
  .nav-links a{ color: var(--cream); font-weight:500; }
  .nav-orc{ display:inline; color: var(--gold-light) !important; font-weight:700 !important; }
}
@media (min-width: 640px){ .nav-orc{ display:none !important; } }

/* materiais: as 4 categorias aparecem juntas (grade 2x2), sem carrossel escondido */
@media (max-width: 859px){
  .mat-rail{ display:grid; grid-template-columns:1fr 1fr; gap:12px; overflow:visible; margin:0; padding:0; }
  .mat-card, .mat-card.tall{ flex:auto; min-height: 360px; padding:16px; }
  .mat-rail .reveal{ opacity:1; transform:none; }
  .mat-body h3{ font-size:17px; line-height:1.2; }
  .mat-body p{ font-size:12.5px; line-height:1.45; }
  .mat-body .cat{ font-size:11px; }
  .mat-body a{ font-size:12px; margin-top:12px; }
}
@media (max-width: 420px){ .mat-card, .mat-card.tall{ min-height: 400px; } }

/* autoridade em 2x2 no celular, como a faixa de 4 do PC */
@media (max-width: 759px){
  .authority-grid{ grid-template-columns: 1fr 1fr; column-gap:16px; }
  .authority-item{ gap:10px; padding:16px 0; }
  .authority-item span{ font-size:13px; }
  .authority-item svg{ width:26px; height:26px; }
}

/* Projetos no celular: mesmo layout do PC (2 grandes em cima + 3 menores embaixo) */
@media (max-width: 759px){
  .proj-grid{ grid-template-columns: repeat(6,1fr); gap:8px; grid-auto-rows:auto; }
  .proj-item.a, .proj-item.b{ grid-column: span 3; grid-row:auto; height: 64vw; }
  .proj-item.c, .proj-item.d, .proj-item.e{ grid-column: span 2; grid-row:auto; height: 40vw; }
  .proj-item.a span, .proj-item.b span{ font-size:13px; left:10px; bottom:10px; }
  .proj-item.c span, .proj-item.d span, .proj-item.e span{ font-size:10.5px; left:8px; bottom:8px; right:6px; line-height:1.2; }
  .proj-item .reveal, .proj-item.reveal{ opacity:1; transform:none; }
  .pc-dots{ right:10px; bottom:14px; gap:5px; }
  .pc-dots i{ width:5px; height:5px; } .pc-dots i.on{ width:14px; }
}
@media (max-width: 380px){ .nav-links{ font-size:12px; gap:8px; } }

/* botões do hero: área de toque maior e retorno visual ao tocar */
.hero-hotspot{ cursor:pointer; -webkit-tap-highlight-color: rgba(233,217,174,.25); z-index:5; }
.hero-hotspot::before{ content:""; position:absolute; inset:-8px -6px; }
.hero-hotspot:active{ background: rgba(233,217,174,.14); box-shadow: 0 0 0 1px rgba(233,217,174,.5); }

/* ---------- localização (arte inteira clicável → Google Maps) ---------- */
.location{ padding: clamp(48px,8vw,100px) 0; position:relative; overflow:hidden; }
.location::before{ content:""; position:absolute; left:50%; top:50%; width:min(1100px,130vw); aspect-ratio:1; transform:translate(-50%,-50%);
  background: radial-gradient(circle, rgba(198,161,91,.14) 0%, rgba(198,161,91,0) 62%); pointer-events:none; }
.location-card{ position:relative; display:block; width:100%; max-width:1100px; margin:0 auto; border-radius:8px; overflow:hidden;
  border:1px solid rgba(198,161,91,.5);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(198,161,91,.06), 0 0 80px rgba(198,161,91,.18);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); -webkit-tap-highlight-color: rgba(233,217,174,.2); }
.location-card img{ display:block; width:100%; height:auto; }
.location-card:hover{ transform: translateY(-6px); box-shadow: 0 60px 110px -30px rgba(0,0,0,.95), 0 0 0 8px rgba(198,161,91,.1), 0 0 100px rgba(198,161,91,.3); }
.location-card:focus-visible{ outline:2px solid var(--gold-light); outline-offset:6px; }
.location-card::after{ content:""; position:absolute; inset:0; pointer-events:none; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, transparent 30%); }
/* faixa de ação sobre o botão da arte: some no desktop, ajuda o toque no celular */
.location-cta{ position:absolute; z-index:2; left:4%; bottom:4.5%; width:46.5%; height:11.6%; display:flex; align-items:center; justify-content:center;
  font-size:0; border-radius:10px; }
.location-cta i{ display:none; }
.location-cta:hover{ background: rgba(255,255,255,.08); }
.foot-col a[href*="maps.app.goo.gl"]{ border-bottom:1px solid var(--gold-dim); }
@media (max-width: 759px){
  .location{ padding: 36px 0; }
  .location .container{ padding-left:0; padding-right:0; }
  .location-card{ border-radius:0; border-left:0; border-right:0; }
}

/* vídeo da vitrine: enquadrado na proporção real (540×954), sem cortes */
.showcase-frame{ aspect-ratio: 540 / 954; max-height:none; }
@media (max-width: 759px){
  .showcase .container{ padding-left:0; padding-right:0; }
  .showcase-head{ padding: 0 var(--pad); }
  .showcase-frame{ width:100%; border-radius:0; border-left:0; border-right:0; }
}
@media (min-width: 760px){
  .showcase-frame{ width:auto; height: min(88svh, 960px); }
}
