/* CORTELASER SP — Landing Page (usa tokens/classes do Design System) */

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-9) 0; }
.section--tight { padding: var(--space-8) 0; }
hr.cl-beam { margin: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--ls-wide);
  font-size: var(--fs-sm); line-height: 1;
  padding: 0.95rem 1.5rem; border-radius: var(--radius-md);
  border: var(--border-thin) solid transparent; cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn--primary, .btn--on-dark {
  background: linear-gradient(135deg, #2F7BE0 0%, #1E5FBE 60%, #154A9B 100%);
  color:#fff;
  box-shadow: 0 8px 22px rgba(30,95,190,.42), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:hover, .btn--on-dark:hover {
  /* color:#fff trava o branco — vence o `a:hover{color:azul}` global do DS (0,2,0 > 0,1,1) */
  color: #fff;
  background: linear-gradient(135deg, #3B88E6 0%, #2A6FD6 58%, #1E5FBE 100%);
  box-shadow: 0 12px 30px rgba(47,123,224,.6), inset 0 1px 0 rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--ink-900); color:#fff; }
.btn--lg { font-size: var(--fs-md); padding: 1.1rem 1.9rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Tarja promocional (topo) ---------- */
.promobar {
  background: var(--accent); color:#fff;
  border-bottom: var(--border-thin) solid var(--laser-300);
}
.promobar .container {
  display:flex; align-items:center; justify-content:center; gap: var(--space-3);
  min-height: 42px; padding-top:6px; padding-bottom:6px; text-align:center;
}
.promobar .txt {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--ls-wide); font-size: var(--fs-sm);
}
.promobar .txt b { font-family: var(--font-mono); }
.promobar a {
  color:#fff; font-family: var(--font-display); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--ls-wide); font-size: var(--fs-xs);
  border: var(--border-hairline) solid rgba(255,255,255,.6); border-radius: var(--radius-pill);
  padding: 3px 12px; white-space: nowrap;
}
.promobar a:hover { background: #fff; color: var(--accent); }
@media (max-width:560px){ .promobar a{ display:none; } .promobar .txt{ font-size: var(--fs-xs); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--steel-950);
  border-bottom: var(--border-hairline) solid var(--border-on-dark);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: var(--space-3); }
.header .brand { display:flex; align-items:center; gap: 10px; flex: 0 1 auto; min-width:0; }
.header .brand-mark { height: 38px; width:auto; }
.header .brand-wm { font-family: var(--font-display); font-weight: var(--fw-extra); text-transform: uppercase; letter-spacing: 0.03em; color:#fff; font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.header .brand-wm em { font-style: normal; font-weight: var(--fw-bold); color: var(--laser-300); margin-left: 0.32em; font-size: 0.66em; vertical-align: 0.18em; }
.header .nav { display:flex; align-items:center; gap: var(--space-5); flex: 0 0 auto; }
.header .hdr-cta { color:#fff; }
.header .hdr-cta .wa-ico { display:block; width:18px; height:18px; }
.header .btn .short{ display:none; }
@media (max-width: 560px){
  .header .brand-wm{ display:none; }
  .header .hdr-cta .full, .header .hdr-cta .short{ display:none; }
  .header .hdr-cta{ padding:.7rem; }
}
/* selo do hero some no mobile — a tarja do topo já carrega a oferta */
@media (max-width: 700px){ .seal.hero-seal{ display:none; } }

/* ---------- Hero full-bleed ---------- */
.hero { position: relative; color: var(--text-on-dark); background: var(--steel-950); overflow: hidden; }
.hero::before {                       /* foto do corte de fundo */
  content:""; position:absolute; inset:0;
  background: url('../img/01-corte-laser-chapa-faisca.jpg') center right / cover no-repeat;
}
.hero::after {                        /* gradiente: escuro à esquerda (texto), faísca à direita */
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, var(--steel-950) 4%, rgba(10,20,32,0.92) 34%, rgba(10,20,32,0.55) 66%, rgba(10,20,32,0.25) 100%),
    linear-gradient(0deg, var(--steel-950) 2%, transparent 36%);
}
.hero .container { position: relative; z-index:1; display:flex; align-items:center; min-width:0; min-height: 86vh; padding-top: var(--space-8); padding-bottom: var(--space-8); }
.hero-copy { max-width: 620px; min-width: 0; }
.hero h1 { overflow-wrap: break-word; }
.hero h1 { color:#fff; font-size: var(--fs-5xl); margin-bottom: var(--space-4); }
.hero h1 .accent { color: var(--laser-400); }
.hero .lead { font-size: var(--fs-lg); color:#fff; opacity:.92; max-width: 40ch; margin-bottom: var(--space-6); }
.hero .cta-row { display:flex; flex-wrap:wrap; gap: var(--space-3); margin-bottom: var(--space-5); }
.hero .trust { font-size: var(--fs-sm); color: var(--text-on-dark-muted); display:flex; gap: var(--space-4); flex-wrap:wrap; }
.hero .trust b { color: var(--laser-300); font-weight: var(--fw-semibold); }
.seal.hero-seal { position:absolute; z-index:2; right: 6%; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 168px; height:168px; }
.seal.hero-seal .pct { font-size: 3rem; }

/* ---------- Selo promocional ---------- */
.seal {
  position:absolute; right: -14px; top: -22px;
  width: 150px; height: 150px; border-radius: var(--radius-pill);
  background: var(--accent); color:#fff; box-shadow: var(--glow-laser);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  transform: rotate(-8deg); border: var(--border-thick) solid var(--laser-300);
}
.seal .pct { font-family: var(--font-display); font-weight: var(--fw-extra); font-size: 2.6rem; line-height:.9; }
.seal .lbl { font-family: var(--font-mono); font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: var(--ls-wide); margin-top: 4px; padding: 0 10px; }

/* ---------- Faixa de specs (metal escovado escuro) ---------- */
.specs { position: relative; background: var(--steel-900); color: var(--text-on-dark); overflow:hidden; }
.specs::before {
  content:""; position:absolute; inset:0;
  background: url('../assets/logo-texture-metal.png') center / cover;
  opacity:.22; filter: grayscale(.2) contrast(1.05);
}
.specs::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,20,32,.55), rgba(10,20,32,.78)); }
.specs > .container { position: relative; z-index:1; }
.specs .head h2 { color:#fff; }
.specs .grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.spec { padding: var(--space-6); background: rgba(20,32,46,0.62); backdrop-filter: blur(6px); border: var(--border-hairline) solid var(--border-on-dark); border-radius: var(--radius-md); }
.spec .k { font-family: var(--font-body); font-size: var(--fs-2xs); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--laser-300); margin-bottom: var(--space-2); }
.spec .v { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-xl); color:#fff; text-transform: uppercase; line-height: var(--lh-snug); }
.spec .s { font-size: var(--fs-sm); color: var(--text-on-dark-muted); margin-top: 4px; }

/* ---------- Section heads ---------- */
.head { max-width: 60ch; margin-bottom: var(--space-7); }
.head h2 { font-size: var(--fs-3xl); text-transform: uppercase; }
.head p { font-size: var(--fs-lg); color: var(--text-secondary); }

/* ---------- Por que laser ---------- */
.why .row { display:grid; grid-template-columns: 1fr 0.9fr; gap: var(--space-8); align-items:center; }
.feat { display:flex; gap: var(--space-4); padding: var(--space-4) 0; border-top: var(--border-hairline) solid var(--border-subtle); }
.feat:first-child{ border-top: 0; }
.feat .ico { flex:0 0 auto; width:44px; height:44px; border-radius: var(--radius-md); background: var(--laser-100); color: var(--laser-600); display:flex; align-items:center; justify-content:center; }
.feat .ico svg{ width:24px; height:24px; }
.feat h4 { margin:0 0 2px; text-transform:uppercase; font-size: var(--fs-lg); }
.feat p { margin:0; color: var(--text-secondary); font-size: var(--fs-sm); }
.why-media img { width:100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); border: var(--border-hairline) solid var(--border-subtle); }

/* ---------- Como funciona ---------- */
.steps { background: var(--color-surface-sunk); }
.steps .grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--space-5); }
.step { background: var(--white); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); position:relative; }
.step .n { font-family: var(--font-mono); font-weight: var(--fw-semibold); color: var(--accent); font-size: var(--fs-lg); }
.step h4 { text-transform:uppercase; margin:.5rem 0 .35rem; font-size: var(--fs-xl); }
.step p { margin:0; color: var(--text-secondary); font-size: var(--fs-sm); }

/* ---------- Galeria / prova ---------- */
.gallery { position: relative; background: var(--color-surface-dark); color: var(--text-on-dark); border-top: var(--border-hairline) solid var(--border-on-dark); }
.gallery .head h2 { color:#fff; }
.gallery .grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--space-5); }
.shot { border-radius: var(--radius-lg); overflow:hidden; border: var(--border-hairline) solid var(--border-on-dark); background: var(--steel-800); }
.shot .ph { overflow:hidden; }
.shot img { width:100%; height: 380px; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.shot:hover img { transform: scale(1.06); }
.shot .cap { padding: var(--space-4) var(--space-5); font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--laser-300); border-top: var(--border-hairline) solid var(--border-on-dark); }

/* ---------- Oferta ---------- */
.offer { background: linear-gradient(160deg, var(--steel-800), var(--steel-950)); color: var(--text-on-dark); }
.offer .box { display:grid; grid-template-columns: 200px 1fr auto; gap: var(--space-7); align-items:center;
  border: var(--border-thin) solid var(--border-on-dark); border-radius: var(--radius-lg); padding: var(--space-7); background: rgba(255,255,255,0.02); }
.offer .seal-big { position: static; transform: rotate(-6deg); width: 200px; height: 200px; }
.offer .seal-big .pct { font-size: 3.6rem; }
.offer h2 { color:#fff; text-transform:uppercase; margin-bottom: var(--space-2); }
.offer p { color: var(--text-on-dark); opacity:.9; margin-bottom: var(--space-4); }
.pays { display:flex; gap: var(--space-3); flex-wrap:wrap; }
.pay { display:inline-flex; align-items:center; gap:8px; padding:.5rem .9rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06); border: var(--border-hairline) solid var(--border-on-dark);
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform:uppercase; letter-spacing: var(--ls-wide); color:#fff; }
.pay svg{ width:14px; height:14px; color: var(--laser-300); }

/* ---------- CTA final ---------- */
.final { background: var(--steel-950); color:#fff; text-align:center; }
.final h2 { color:#fff; font-size: var(--fs-4xl); text-transform:uppercase; }
.final p { color: var(--text-on-dark-muted); font-size: var(--fs-lg); margin-bottom: var(--space-6); }

/* ---------- Footer ---------- */
.footer { background: var(--steel-950); color: var(--text-on-dark-muted); border-top: var(--border-hairline) solid var(--border-on-dark); padding: var(--space-7) 0; }
.footer .row { display:flex; justify-content:space-between; align-items:center; gap: var(--space-5); flex-wrap:wrap; }
.footer img { height: 30px; }
.footer .fine { font-size: var(--fs-xs); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px){
  .hero .container { display:block; }
  .why .row { grid-template-columns: 1fr; }
  .specs .grid, .steps .grid, .gallery .grid { grid-template-columns: 1fr 1fr; }
  .offer .box { grid-template-columns: 1fr; text-align:center; justify-items:center; }
  .hero h1 { font-size: var(--fs-4xl); }
}
@media (max-width: 560px){
  .section { padding: var(--space-8) 0; }
  .specs .grid, .steps .grid, .gallery .grid { grid-template-columns: 1fr; }
  .seal { width: 120px; height:120px; right: 8px; top:-16px; }
  .seal .pct{ font-size: 2rem; }
  .hero h1 { font-size: var(--fs-3xl); }
  .hero .btn, .offer .btn, .final .btn { width: 100%; justify-content:center; }
}

/* ===== Botão flutuante WhatsApp ===== */
.wpp-float{
  position:fixed; right:22px; bottom:22px; z-index:50;
  width:60px; height:60px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#25D366; color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.55);
  animation:wppPulse 2.6s ease-in-out infinite;
  transition:transform .15s ease;
}
.wpp-float:hover{ transform:scale(1.07); color:#fff; }
.wpp-float svg{ width:34px; height:34px; }
@keyframes wppPulse{
  0%   { box-shadow:0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow:0 8px 24px rgba(0,0,0,.28), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow:0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width:700px){
  .wpp-float{ width:54px; height:54px; right:16px; bottom:16px; }
  .wpp-float svg{ width:30px; height:30px; }
}

/* ============================================================
   REFINO — UX mobile+desktop, a11y e motion
   cortelaser-sp-design · ui-ux-pro-max · emil-design-eng · design-taste
   ============================================================ */
:root{ --ease-strong: cubic-bezier(0.23, 1, 0.32, 1); }

/* foco visível para navegação por teclado (a11y) */
a:focus-visible, .btn:focus-visible, button:focus-visible{
  outline: 3px solid var(--laser-400); outline-offset: 3px;
}

/* tap sem 300ms de delay + botões que quebram linha em vez de cortar texto */
.btn, .promobar a, .pay, .wpp-float, .shot{ touch-action: manipulation; }
.btn{
  transition: transform 160ms var(--ease-strong), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  white-space: normal; text-align: center; line-height: 1.15;
}

/* hover só em dispositivos com ponteiro fino (sem sticky-hover no touch) */
@media (hover: hover) and (pointer: fine){
  .btn--primary:hover, .btn--on-dark:hover{ transform: translateY(-2px); }
}
@media (hover: none){
  .btn--primary:hover, .btn--on-dark:hover{ transform: none;
    box-shadow: 0 8px 22px rgba(30,95,190,.42), inset 0 1px 0 rgba(255,255,255,.22); }
  .shot:hover img{ transform: none; }
}

/* feedback tátil de pressão (emil) — depois do hover p/ vencer no tie de especificidade */
.btn:active{ transform: scale(0.97); }
.wpp-float:active{ transform: scale(0.94); }

/* hero: altura estável no mobile (dvh evita o pulo do iOS Safari) + texto sem corte */
.hero .container{ min-height: 86dvh; }
.hero .lead{ max-width: 46ch; }

/* eyebrow do hero como chip legível sobre a foto (texto claro + fundo escuro + borda laser) */
.hero .cl-eyebrow{
  display: inline-block;
  color: var(--laser-300);
  background: rgba(10,20,32,.6);
  border: 1px solid rgba(120,185,255,.4);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}

/* imagens fluidas (sem altura fixa estourando no mobile) */
.why-media img{ height: clamp(260px, 42vw, 480px); }
.shot img{ height: clamp(220px, 28vw, 380px); }

/* tablet e abaixo: esconde o selo do hero (a tarja do topo já carrega a oferta) */
@media (max-width: 900px){
  .promo--hero{ display:none !important; }
  .hero .lead{ max-width: none; }
  .hero::before{ background-position: 62% center; }
  .hero::after{ background: linear-gradient(180deg, rgba(10,20,32,.92) 0%, rgba(10,20,32,.82) 50%, rgba(10,20,32,.96) 100%); }
  .hero .container{ min-height: 72dvh; padding-top: var(--space-7); padding-bottom: var(--space-8); }
  .offer .box{ grid-template-columns: 1fr; }
}

/* phones: specs em 2 colunas (compacto), CTAs full-width */
@media (max-width: 640px){
  .specs .grid{ grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .spec{ padding: var(--space-4); }
  .spec .v{ font-size: var(--fs-lg); }
  .steps .grid, .gallery .grid{ grid-template-columns: 1fr; }
  .hero .cta-row{ width: 100%; }
  .hero .cta-row .btn{ width: 100%; }
}

/* respeita prefers-reduced-motion: mantém opacidade/cor, remove movimento */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 120ms !important;
  }
  .promo--hero.v1, .wpp-float{ animation: none !important; }
  .btn:active, .wpp-float:active{ transform: none !important; }
}

/* ===== Barra fixa de oferta (mobile) — substitui o botão redondo no mobile ===== */
.offerbar{ display:none; }
@media (max-width: 900px){
  .offerbar{
    display:flex; align-items:center; justify-content:space-between; gap: var(--space-3);
    position:fixed; left:0; right:0; bottom:0; z-index:60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #14202E 0%, var(--steel-950) 100%);
    border-top: 2px solid var(--laser-400);
    box-shadow: 0 -10px 28px rgba(0,0,0,.4);
    text-decoration:none; color:#fff;
  }
  .offerbar-info{ display:flex; flex-direction:column; line-height:1.02; }
  .offerbar-info b{ font-family: var(--font-display); font-weight: var(--fw-extra); font-size: 1.4rem; color:#fff; }
  .offerbar-info small{ font-size: .7rem; color: var(--laser-300); text-transform:uppercase; letter-spacing:.05em; margin-top:2px; }
  .offerbar-cta{
    display:inline-flex; align-items:center; gap:8px; flex:0 0 auto;
    background: linear-gradient(135deg, #2F7BE0 0%, #1E5FBE 60%, #154A9B 100%); color:#fff;
    font-family: var(--font-display); font-weight: var(--fw-bold);
    text-transform:uppercase; letter-spacing: var(--ls-wide); font-size:.8rem;
    padding: .85rem 1.1rem; border-radius: var(--radius-md);
    box-shadow: 0 6px 18px rgba(30,95,190,.5), inset 0 1px 0 rgba(255,255,255,.25);
    animation: offerGlow 2.4s var(--ease-in-out) infinite;
  }
  .offerbar-cta svg{ width:18px; height:18px; }
  .offerbar:active .offerbar-cta{ transform: scale(0.97); }
  /* no mobile, a barra carrega o CTA — esconde o botão redondo */
  .wpp-float{ display:none; }
  /* reserva espaço pra barra não cobrir o rodapé */
  body{ padding-bottom: 84px; }
}
@keyframes offerGlow{
  0%,100%{ box-shadow: 0 6px 18px rgba(30,95,190,.5), inset 0 1px 0 rgba(255,255,255,.25); }
  50%{ box-shadow: 0 6px 26px rgba(59,136,230,.85), 0 0 0 3px rgba(120,185,255,.18), inset 0 1px 0 rgba(255,255,255,.3); }
}
