/* =========================================================
   SMART Placas e Toldos — stylesheet
   Tema único: dark mode (identidade visual da marca)
   ========================================================= */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-variable.woff2') format('woff2');
}

:root {
  /* Marca — extraída do acervo original (logo + templates de portfólio) */
  --blue-700: #1a3fd6;
  --blue-600: #2d51fe;
  --blue-400: #5b8cff;
  --cyan-300: #6ec1e4;
  --gold-500: #cca43b;
  --gold-300: #e6c777;

  /* Superfícies — dark mode */
  --bg: #090c12;
  --bg-soft: #0d121b;
  --surface: #131a26;
  --surface-2: #1a2333;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Texto */
  --text: #f2f4f8;
  --text-muted: #9aa7bd;
  --text-faint: #6b7789;

  /* Utilidade */
  --whatsapp: #25d366;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --container: 1180px;

  --font-heading: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(45, 81, 254, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(204, 164, 59, 0.09), transparent 55%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.spaced-top { margin-top: 64px; }
.section-cta { text-align: center; margin-top: 40px; }
.btn-spaced-top { margin-top: 28px; }
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-400) 55%, var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(120deg, var(--blue-600), var(--blue-400));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(45, 81, 254, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(45, 81, 254, 0.8); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--blue-400); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(9, 12, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 70px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}
.hero p.lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}
.hero-stats div span { color: var(--text-faint); font-size: 0.78rem; }

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 6 / 5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, rgba(9,12,18,0) 40%, rgba(9,12,18,0.85) 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  background: rgba(9, 12, 18, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.hero-badge svg { width: 26px; height: 26px; color: var(--gold-300); flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--font-heading); font-size: 0.86rem; }
.hero-badge span { font-size: 0.78rem; color: var(--text-muted); }

.hero-glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 81, 254, 0.35), transparent 70%);
  top: -160px; right: -160px;
  z-index: -1;
  filter: blur(10px);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.trust-bar-boxed {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 38px 24px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { width: 30px; height: 30px; color: var(--cyan-300); flex-shrink: 0; }
.trust-item strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.trust-item span { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-400);
  background: var(--surface-2);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(45, 81, 254, 0.22), rgba(110, 193, 228, 0.14));
  border: 1px solid rgba(91, 140, 255, 0.35);
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--blue-400); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 18px; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan-300);
}
.service-more svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* ---------- Process ---------- */
.process {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.process-steps { display: flex; flex-direction: column; gap: 26px; }
.process-step { display: flex; gap: 18px; }
.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-300);
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }
.process-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.process-figure img { width: 100%; display: block; }
.video-links {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.video-links > span { display: block; font-size: 0.82rem; color: var(--text-faint); margin-bottom: 10px; }
.video-links-row { display: flex; flex-wrap: wrap; gap: 8px; }
.video-links-row a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.video-links-row a:hover { border-color: var(--cyan-300); color: var(--cyan-300); }
.video-links-row-spaced { margin-bottom: 52px; }

/* ---------- Vídeos (player próprio) ---------- */
.video-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  background: var(--surface);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.video-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,12,18,0.9) 0%, rgba(9,12,18,0.15) 60%);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--blue-600); border-color: var(--blue-400); }
.video-card-label {
  position: absolute;
  left: 18px; bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.video-card-label strong { font-family: var(--font-heading); font-size: 0.95rem; color: var(--text); }
.video-card-label span { font-size: 0.8rem; color: var(--text-muted); }

.video-choice, .video-lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 7, 11, 0.92);
  backdrop-filter: blur(6px);
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.video-choice.open, .video-lightbox.open { display: flex; }
.video-choice-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.video-choice-box h3 { font-size: 1.3rem; margin-bottom: 24px; }
.video-choice-options { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.video-choice-option {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.video-choice-option svg { width: 28px; height: 28px; color: var(--cyan-300); }
.video-choice-option:hover { border-color: var(--blue-400); transform: translateY(-3px); }

.video-lightbox-inner { position: relative; width: min(1000px, 92vw); }
.video-lightbox-inner video { width: 100%; max-height: 80vh; border-radius: 12px; border: 1px solid var(--border-strong); background: #000; }
.video-lightbox-inner .lightbox-caption { position: static; margin-top: 14px; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,12,18,0.92) 0%, rgba(9,12,18,0.1) 55%);
  display: flex; align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- About / diferenciais ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.about-figure img { width: 100%; }
.diff-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.diff-item { display: flex; gap: 16px; }
.diff-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(204, 164, 59, 0.14);
  border: 1px solid rgba(204, 164, 59, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.diff-icon svg { width: 20px; height: 20px; color: var(--gold-300); }
.diff-item h3 { font-size: 1rem; margin-bottom: 4px; }
.diff-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 24px;
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(120deg, var(--blue-700), var(--blue-600) 60%, #123a9e);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.12);
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 520px; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 480px; }
.cta-banner .btn-ghost { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--cyan-300); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-family: var(--font-heading); font-size: 0.92rem; margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { color: var(--text-muted); font-size: 0.9rem; }
.contact-info-item a:hover { color: var(--cyan-300); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--blue-400); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 14px; }
.form-status { font-size: 0.88rem; margin-top: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #6ee7a3; }
.form-status.err { color: #ff8a8a; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand .logo-chip {
  display: inline-block;
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.footer-brand .logo-chip img { height: 40px; margin-bottom: 0; display: block; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover { border-color: var(--blue-400); background: rgba(45,81,254,0.12); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 { font-family: var(--font-heading); font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer-bottom a.credit { color: var(--text-muted); font-weight: 600; }
.footer-bottom a.credit:hover { color: var(--cyan-300); }

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  animation: float-pulse 2.6s ease-in-out infinite;
}
.float-whatsapp svg { width: 28px; height: 28px; color: #fff; }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.95), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 7, 11, 0.92);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 12px; border: 1px solid var(--border-strong); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-caption {
  position: absolute; bottom: 28px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- Page hero (páginas internas de serviço) ---------- */
.page-hero {
  padding: 150px 0 60px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--cyan-300); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 760px; margin-bottom: 18px; }
.page-hero .lead { color: var(--text-muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 28px; }
.page-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Gallery grid (páginas de serviço) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid .portfolio-item { aspect-ratio: 1 / 1; }
.gallery-grid .portfolio-item img { height: 100%; }

/* ---------- Subservice cards (página hub "Toldos") ---------- */
.subservice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 44px 0 64px;
}
.subservice-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: block;
}
.subservice-card:hover { transform: translateY(-4px); border-color: var(--blue-400); }
.subservice-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.subservice-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.subservice-card .label { padding: 16px 18px; }
.subservice-card .label h3 { font-size: 0.98rem; margin-bottom: 4px; }
.subservice-card .label span { font-size: 0.82rem; color: var(--text-faint); display: block; margin-bottom: 12px; }
.subservice-card .service-more { font-size: 0.8rem; }

/* ---------- Utility classes (evita estilo inline / mantém CSP estrita) ---------- */
.eyebrow-center { justify-content: center; }
.h2-md { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.h2-md.tight { margin-bottom: 28px; }
.lead-muted { color: var(--text-muted); margin-top: 14px; }
.section-flush { padding-top: 0; }
.visually-hidden { position: absolute; left: -9999px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-layout, .process-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 600px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .subservice-grid { grid-template-columns: repeat(2, 1fr); }
  .video-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .hero { padding: 128px 0 70px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 42px 26px; flex-direction: column; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .subservice-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 118px 0 44px; }
  .video-showcase { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 100px 32px 32px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 20px; }
