/* ==========================================================================
   Sorriso Corte a Laser — main.css
   ========================================================================== */

:root {
  --c-bg: #0e0e10;
  --c-bg-alt: #17181c;
  --c-steel: #2b2e34;
  --c-steel-light: #3c4048;
  --c-silver: #c9ccd1;
  --c-silver-light: #eceef1;
  --c-orange: #f5940f;
  --c-orange-light: #ffb347;
  --c-white: #ffffff;
  --c-ink: #14151a;
  --c-text-muted: #8a8f98;
  --radius: 10px;
  --shadow-lg: 0 20px 50px rgba(0,0,0,.35);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.12);
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--c-orange-light), var(--c-orange));
  color: #201200;
  box-shadow: 0 10px 24px rgba(245,148,15,.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(245,148,15,.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: var(--c-white);
}
.btn-outline:hover { border-color: var(--c-orange); background: rgba(245,148,15,.08); }
.btn-dark {
  background: var(--c-ink);
  color: var(--c-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--c-orange);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #ececee;
  box-shadow: 0 2px 10px rgba(20,20,25,.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.site-branding img { height: 64px; width: auto; display: block; }
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--c-ink);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--c-orange); border-color: var(--c-orange); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { padding: 10px 20px; font-size: 14px; }
.menu-close, .mobile-cta { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,12,.5);
  z-index: 98;
  opacity: 0;
  transition: opacity .25s ease;
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-actions .btn-primary:not(.mobile-cta) { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 85vw);
    background: var(--c-white);
    padding: 24px 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 99;
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-overlay.is-open { display: block; opacity: 1; }

  .menu-close {
    display: block;
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--c-ink);
    cursor: pointer;
    margin-bottom: 12px;
  }

  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid #f0f0f2; }

  .mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, #24262c 0%, var(--c-bg) 55%);
  color: var(--c-white);
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(245,148,15,.16), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--c-orange); }
.hero p.lead {
  font-size: 18px;
  color: var(--c-silver);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-silver); font-weight: 600; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange); flex: none; }
.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-media .badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(14,14,16,.85);
  border: 1px solid rgba(245,148,15,.4);
  color: var(--c-white);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
  .hero-media img, .hero-media video { aspect-ratio: 16/10; }
}

/* ---------- Section basics ---------- */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--c-text-muted); font-size: 16.5px; }
.section-dark { background: var(--c-bg); color: var(--c-white); }
.section-dark .section-head p { color: var(--c-silver); }
.section-alt { background: #f7f7f8; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1px solid #ececee;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.1); }
.service-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 28px; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-orange);
  background: rgba(245,148,15,.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding-left: 24px; margin-bottom: 8px; color: #4b4f57; font-size: 14.5px; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--c-orange); font-weight: 800; }

@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Diferenciais ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.diff-card {
  background: var(--c-bg-alt);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.diff-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-orange-light), var(--c-orange));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.diff-card h3 { font-size: 17px; color: var(--c-white); margin-bottom: 8px; }
.diff-card p { color: var(--c-silver); font-size: 14px; margin: 0; }

@media (max-width: 980px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ---------- Segmentos industriais ---------- */
.segments { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.segment-chip {
  background: var(--c-white);
  border: 1px solid #e6e7ea;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.segment-chip strong { color: var(--c-orange); }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .span-2 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .span-2 { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 28px 20px 20px; text-align: left; }
.process-step .num {
  font-size: 42px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-orange);
  margin-bottom: 6px;
  display: block;
}
.process-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.process-step p { font-size: 14px; color: var(--c-text-muted); margin: 0; }

@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-band {
  background: linear-gradient(120deg, #16171b, #202226);
  color: var(--c-white);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(245,148,15,.25), transparent 55%);
}
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; position: relative; }
.cta-band p { color: var(--c-silver); margin: 0; position: relative; }
.cta-band .actions { display: flex; gap: 14px; position: relative; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--c-white);
  border: 1px solid #ececee;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 12.5px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; font-weight: 700; }
.post-card h3 { font-size: 18px; margin-bottom: 10px; }
.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-orange); }
.post-card p { color: #5b5f68; font-size: 14.5px; flex: 1; }
.post-card .readmore { font-weight: 700; color: var(--c-orange); font-size: 14px; margin-top: 8px; }

@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* single post content */
.single-post-wrap { max-width: 820px; margin: 0 auto; }
.single-post-hero { max-width: var(--maxw); margin: 0 auto 40px; }
.single-post-hero img { border-radius: 16px; aspect-ratio: 16/8; object-fit: cover; }
.post-content { font-size: 17px; color: #2c2e33; }
.post-content h2 { font-size: 26px; margin-top: 1.6em; }
.post-content h3 { font-size: 21px; margin-top: 1.4em; }
.post-content p { margin-bottom: 1.2em; }
.post-content img { border-radius: 12px; margin: 1.6em 0; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.post-content a { color: var(--c-orange); text-decoration: underline; }
.post-title-block { max-width: var(--maxw); margin: 0 auto 32px; padding-top: 48px; }
.post-title-block .meta { color: var(--c-text-muted); font-size: 14px; margin-bottom: 14px; }
.post-title-block h1 { font-size: clamp(28px, 4vw, 42px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-silver);
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 16px; background: #fff; padding: 6px 12px; border-radius: 8px; }
.footer-brand p { font-size: 14px; color: var(--c-text-muted); max-width: 280px; }
.footer-col h4 { color: var(--c-white); font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: var(--c-silver); }
.footer-col a:hover { color: var(--c-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--c-text-muted);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Generic page content (about, etc) ---------- */
.page-content { max-width: 820px; margin: 0 auto; padding: 56px 0 96px; font-size: 17px; }
.page-content h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.page-logo-mark { display: block; width: min(100%, 320px); height: auto; margin: 0 auto 32px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid #e2e3e6; font-weight: 700; font-size: 14px;
}
.pagination .current { background: var(--c-orange); color: #201200; border-color: var(--c-orange); }

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 520px;
  background: var(--c-ink);
  color: var(--c-silver-light);
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: 13.5px; flex: 1 1 260px; }
.cookie-notice a { color: var(--c-orange); text-decoration: underline; }
.cookie-notice .btn { padding: 9px 20px; font-size: 13.5px; flex: none; }
@media (max-width: 560px) {
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
}
