/* ═══════════════════════════════════════════════════════════
   CarCor Serralharia — Pro Theme
   Dark navy + gold luxury, matching the CarCor Suite app
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0e16;
  --bg-2: #0c1322;
  --bg-3: #13182a;
  --surface: #1a2138;
  --surface-2: #232b46;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --gold: #c9a961;
  --gold-light: #e6c478;
  --gold-bright: #f3e0a3;
  --gold-deep: #a88a3f;

  --text: #f4f4f5;
  --text-soft: rgba(244, 244, 245, 0.78);
  --text-muted: rgba(244, 244, 245, 0.55);
  --text-faint: rgba(244, 244, 245, 0.35);

  --success: #10b981;
  --whatsapp: #25d366;

  --rad-sm: 6px;
  --rad: 10px;
  --rad-lg: 16px;
  --rad-xl: 22px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .25);
  --shadow: 0 12px 32px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 68px rgba(0, 0, 0, .55);

  --container: 1240px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gold-light); text-decoration: none; transition: color .15s }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 .6em;
  color: var(--text);
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 1em; color: var(--text-soft); }

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

.gold { color: var(--gold-light); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .lead { color: var(--text-soft); font-size: 17px; line-height: 1.6; }

/* ═══ Header / Navigation ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: grid;
  place-items: center;
  color: var(--bg);
  font: 800 20px var(--serif);
  box-shadow: 0 4px 14px rgba(201, 169, 97, .35);
}
.brand-text { line-height: 1.18; }
.brand-name { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.brand-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  border-radius: 7px;
  transition: all .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.active { color: var(--gold-light); background: rgba(201, 169, 97, .08); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 24px;
    background: rgba(10, 14, 22, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .22s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg);
  box-shadow: 0 6px 22px rgba(201, 169, 97, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(201, 169, 97, .5); color: var(--bg); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--text); }
.btn-wa {
  background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .35);
}
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37, 211, 102, .5); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(201, 169, 97, .14), transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(201, 169, 97, .08), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { font-size: clamp(38px, 5.5vw, 64px); margin-bottom: .35em; }
.hero h1 .gold { background: linear-gradient(135deg, var(--gold-light), var(--gold-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; line-height: 1.55; max-width: 580px; color: var(--text-soft); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.trust-row > div { display: flex; align-items: baseline; gap: 8px; }
.trust-row strong { color: var(--gold-light); font-size: 22px; font-family: var(--serif); }
.trust-row span { color: var(--text-muted); font-size: 13px; }

.hero-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card-title {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--gold-light);
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.hero-card-row:last-of-type { border: 0; }
.hero-card-row span:first-child { color: var(--text-soft); }
.hero-card-row span:last-child { font-weight: 700; color: var(--gold-light); font-family: ui-monospace, monospace; }

/* ═══ Sections ═══ */
section { padding: 80px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ═══ Stats Row ═══ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-lg);
  text-align: center;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ═══ Cards / Grid ═══ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 28px;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .45), 0 0 0 1px rgba(201, 169, 97, .15);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(201, 169, 97, .18), rgba(201, 169, 97, .06));
  border: 1px solid rgba(201, 169, 97, .25);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--text-soft); margin-bottom: 16px; flex: 1; }
.card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-soft);
}
.card-features li {
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1.5px;
  background: var(--gold);
}
.card-link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: '→'; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* ═══ Service category cards (bigger, on /servicos) ═══ */
.service-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all .25s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .45);
}
.service-card .icon-lg {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 169, 97, .22), rgba(201, 169, 97, .08));
  border: 1px solid rgba(201, 169, 97, .3);
  display: grid;
  place-items: center;
  color: var(--gold-light);
}
.service-card .icon-lg svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 22px; margin-bottom: 8px; }

/* ═══ Gallery (clean grid) ═══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--rad);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 16px 12px;
  background: linear-gradient(0deg, rgba(10, 14, 22, .85), transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover .gallery-label { opacity: 1; }

/* ═══ Reviews ═══ */
.review-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 24px;
}
.review-stars { color: var(--gold-light); letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }
.review-text { color: var(--text-soft); font-size: 14.5px; font-style: italic; line-height: 1.65; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 11px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--serif);
}
.review-name { font-weight: 600; font-size: 14px; }
.review-loc { color: var(--text-muted); font-size: 12px; }

/* ═══ Contact form ═══ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 28px;
}
.contact-info-card h3 { font-size: 18px; color: var(--gold-light); }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border: 0; }
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(201, 169, 97, .12);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-row .label { font-size: 11px; color: var(--text-muted); letter-spacing: 1.3px; text-transform: uppercase; font-weight: 600; }
.contact-row .value { font-size: 14.5px; font-weight: 600; color: var(--text); }
.contact-row a.value { color: var(--gold-light); }

form.contact-form { display: grid; gap: 14px; }
form.contact-form label { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  font-family: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color .15s;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus { border-color: var(--gold); }
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { form.contact-form .form-row { grid-template-columns: 1fr; } }

/* ═══ Footer ═══ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-2), #060810);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-col h4 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-light); margin: 0 0 14px; font-weight: 700; font-family: var(--sans); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; font-size: 14px; }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--gold-light); }
.footer-about p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: .3px;
}
.footer-bottom a { color: var(--text-muted); }

/* ═══ CTA Banner ═══ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-3), var(--surface));
  border: 1px solid var(--gold);
  border-radius: var(--rad-xl);
  padding: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, .12), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: .35em; }
.cta-banner p { color: var(--text-soft); max-width: 540px; margin: 0 auto 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ═══ WhatsApp floater ═══ */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 50;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ═══ Page header (sub-pages) ═══ */
.page-header {
  padding: 70px 0 50px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(201, 169, 97, .14), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--text-soft); max-width: 680px; margin: 0 auto; font-size: 17px; }
.breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ═══ Process steps ═══ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 22px;
  position: relative;
}
.process-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  opacity: .35;
}
.process-step h4 { margin: 8px 0 6px; font-size: 16px; }
.process-step p { font-size: 13.5px; color: var(--text-soft); margin: 0; }

/* ═══ Comparison table ═══ */
.compare-wrap { overflow-x: auto; border-radius: var(--rad-lg); border: 1px solid var(--border-strong); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--surface);
}
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--bg-3); color: var(--gold-light); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.compare-table td:first-child { font-weight: 600; color: var(--text); }
.compare-table td { color: var(--text-soft); font-size: 14px; }
.compare-table tr:last-child td { border-bottom: 0; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--rad);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold-light); font-size: 22px; font-weight: 300; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--gold-light); }
.faq-item-body { padding: 0 22px 18px; color: var(--text-soft); font-size: 14.5px; line-height: 1.65; }

/* ═══ Utility ═══ */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }

/* ═══ Reveal animation ═══ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ═══ Cookie banner / etc reset ═══ */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════
   WOW / Visual effects — galeria, hero, animations
   ═══════════════════════════════════════════════════════════ */

/* Mesh gradient animated background */
.mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, .25), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(102, 80, 180, .18), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(201, 169, 97, .12), transparent 60%);
  animation: meshShift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshShift {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.05) translate(-2%, -1%); }
  100% { transform: scale(1.02) translate(2%, 1%); }
}
.hero { position: relative; }
.hero > .container { position: relative; z-index: 2; }

/* Floating spotlight on hero */
.hero-spotlight {
  position: absolute;
  top: -300px; left: 50%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(201, 169, 97, .18), transparent 65%);
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 1;
}

/* ═══ Hero showcase carousel ═══ */
.hero-showcase {
  position: relative;
  border-radius: var(--rad-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  border: 1px solid rgba(201, 169, 97, .25);
}
.hero-showcase-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 8s ease-out;
}
.hero-showcase-img.active { opacity: 1; transform: scale(1); }
.hero-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 22, .65) 100%);
  pointer-events: none;
}
.hero-showcase-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.hero-showcase-caption .title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.hero-showcase-caption .sub { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.hero-showcase-dots {
  display: flex; gap: 6px;
  background: rgba(10, 14, 22, .6);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hero-showcase-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: all .25s;
  cursor: pointer; border: 0; padding: 0;
}
.hero-showcase-dot.active { background: var(--gold-light); width: 24px; border-radius: 999px; }

/* ═══ Marquee — slide-through project names ═══ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, .05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text-muted);
  font-style: italic;
  white-space: nowrap;
  display: flex; align-items: center; gap: 14px;
}
.marquee-item::after {
  content: '★';
  color: var(--gold);
  font-size: 14px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ Counter animation ═══ */
.counter { display: inline-block; transition: opacity .3s; }

/* ═══ Gallery — masonry-ish with parallax hover ═══ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}
@media (max-width: 880px) { .showcase-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 520px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }
.showcase-item {
  position: relative;
  border-radius: var(--rad-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.showcase-item.span-2 { grid-column: span 6; grid-row: span 2; }
.showcase-item.span-3 { grid-column: span 4; grid-row: span 2; }
.showcase-item.span-4 { grid-column: span 4; grid-row: span 1; }
.showcase-item.span-6 { grid-column: span 6; grid-row: span 1; }
.showcase-item.span-8 { grid-column: span 8; grid-row: span 2; }
@media (max-width: 880px) {
  .showcase-item.span-2 { grid-column: span 6; }
  .showcase-item.span-3 { grid-column: span 3; }
  .showcase-item.span-4 { grid-column: span 6; }
  .showcase-item.span-6 { grid-column: span 6; }
  .showcase-item.span-8 { grid-column: span 6; }
}
@media (max-width: 520px) {
  .showcase-item.span-2, .showcase-item.span-3, .showcase-item.span-4, .showcase-item.span-6, .showcase-item.span-8 { grid-column: span 2; grid-row: span 1; }
}
.showcase-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .4s;
  filter: saturate(.85) brightness(.92);
}
.showcase-item:hover { transform: translateY(-4px); border-color: var(--gold); }
.showcase-item:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.showcase-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 22, .85) 100%);
  pointer-events: none;
  opacity: .9;
  transition: opacity .3s;
}
.showcase-item:hover::after { opacity: 1; }
.showcase-cap {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform .3s, opacity .3s;
}
.showcase-item:hover .showcase-cap { transform: none; opacity: 1; }
.showcase-cap .tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(201, 169, 97, .25);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.showcase-cap .name { color: #fff; font-weight: 600; font-size: 16px; font-family: var(--serif); }
.showcase-cap .loc { color: var(--text-muted); font-size: 12px; }

/* ═══ Before / After slider ═══ */
.ba-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--rad-xl);
  overflow: hidden;
  user-select: none;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  touch-action: none;
}
.ba-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.ba-before { z-index: 1; }
.ba-after { z-index: 2; clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-light));
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 22px rgba(201, 169, 97, .55);
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(10, 14, 22, .6), 0 8px 24px rgba(201, 169, 97, .5);
}
.ba-handle::after {
  content: '⇆';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--bg);
  font-weight: 700;
  z-index: 4;
}
.ba-label {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(10, 14, 22, .8);
  backdrop-filter: blur(8px);
  color: #fff;
}
.ba-label-before { left: 18px; }
.ba-label-after { right: 18px; color: var(--gold-light); border: 1px solid rgba(201, 169, 97, .3); }

/* ═══ Stat tile with shine ═══ */
.shine-card {
  position: relative;
  overflow: hidden;
}
.shine-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 80%; height: 200%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .08), transparent);
  transform: skewX(-15deg);
  animation: shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 100% { left: -100%; }
  60%, 100% { left: 120%; }
}

/* ═══ Stagger reveal ═══ */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.stagger.in > *:nth-child(1) { transition-delay: 0.02s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: 0.06s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(3) { transition-delay: 0.10s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(4) { transition-delay: 0.14s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(5) { transition-delay: 0.18s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(6) { transition-delay: 0.22s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(7) { transition-delay: 0.26s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(8) { transition-delay: 0.30s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(9) { transition-delay: 0.34s; opacity: 1; transform: none; }
.stagger.in > *:nth-child(n+10) { transition-delay: 0.38s; opacity: 1; transform: none; }

/* ═══ Floating particles backdrop ═══ */
canvas.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .45;
}

/* ═══ Tilted card 3D hover ═══ */
.tilt { transform-style: preserve-3d; transition: transform .35s ease-out; will-change: transform; }

/* ═══ Featured project hero ═══ */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-xl);
  padding: 50px;
  position: relative;
  overflow: hidden;
}
.featured-project::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(201, 169, 97, .15), transparent 60%);
  pointer-events: none;
}
.featured-project-image {
  aspect-ratio: 4/3;
  border-radius: var(--rad-lg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transition: transform .5s;
}
.featured-project:hover .featured-project-image { transform: scale(1.02); }
.featured-project-content { position: relative; z-index: 2; }
@media (max-width: 880px) { .featured-project { grid-template-columns: 1fr; padding: 32px; } }

/* ═══ Numero gigantesco para projecto destacado ═══ */
.giant-num {
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 180px);
  line-height: .85;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep) 60%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

/* ═══ Iron/Inox illustration cards ═══ */
.iron-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.iron-card {
  background: linear-gradient(180deg, #1a2138, #0c1322);
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.iron-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(201,169,97,.2);
}
.iron-card .render {
  aspect-ratio: 4/3;
  background: radial-gradient(ellipse at 50% 30%, #2a3550 0%, #0c1322 80%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.iron-card .render svg {
  width: 100%;
  height: 100%;
  display: block;
}
.iron-card .render::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(201,169,97,.12), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0,0,0,.4), transparent 50%);
  pointer-events: none;
}
.iron-card-info { padding: 18px 20px; }
.iron-card-info .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(201,169,97,.18);
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.iron-card-info .name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.iron-card-info .desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

/* Print */
@media print {
  .site-header, .wa-float, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
