/* webgrowth — base compartilhada dos sites de exemplo (template reutilizável).
   Cada nicho só redefine as variáveis abaixo + o conteúdo. Mesmo esqueleto, marca diferente. */

:root {
  --brand: #1f6feb;          /* cor principal do negócio */
  --brand-2: #0b4fc0;        /* variação escura */
  --brand-ink: #ffffff;      /* texto sobre a cor principal */
  --accent: #f2b705;         /* destaque secundário */
  --bg: #ffffff;
  --surface: #f6f7f9;
  --ink: #16181d;
  --ink-soft: #565b66;
  --muted: #878d99;
  --line: #e6e8ec;
  --radius: 16px;
  --maxw: 1080px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, "Segoe UI", sans-serif;
  --hero-text: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.center { text-align: center; }

/* Buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 13px 24px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.d-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.d-btn.solid { background: var(--brand); color: var(--brand-ink); }
.d-btn.solid:hover { background: var(--brand-2); transform: translateY(-2px); }
.d-btn.ghost { border-color: currentColor; color: var(--hero-text); }
.d-btn.ghost:hover { transform: translateY(-2px); }
.d-btn.outline { border-color: var(--line); color: var(--ink); }
.d-btn.outline:hover { border-color: var(--brand); color: var(--brand); }
.d-btn.lg { padding: 16px 30px; font-size: 16.5px; }

/* Header */
.d-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.d-header .wrap { display: flex; align-items: center; height: 68px; gap: 18px; }
.d-logo { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.d-logo .mk { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: var(--brand-ink);
  display: grid; place-items: center; font-size: 17px; flex: none; }
.d-nav { display: flex; gap: 22px; margin-left: auto; }
.d-nav a { font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.d-nav a:hover { color: var(--brand); }
.d-header .d-btn { flex: none; }

/* Hero */
.d-hero { position: relative; color: var(--hero-text); overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.d-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--hero-text) 30%, transparent) 1px, transparent 0);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.d-hero .wrap { position: relative; z-index: 1; padding: clamp(64px, 11vw, 120px) 22px; max-width: 780px; }
.d-hero .eyebrow { color: color-mix(in srgb, var(--hero-text) 82%, transparent); }
.d-hero h1 { font-size: clamp(38px, 7vw, 66px); font-weight: 700; margin: 16px 0 18px; }
.d-hero p { font-size: clamp(18px, 2.3vw, 21px); color: color-mix(in srgb, var(--hero-text) 88%, transparent); max-width: 40ch; }
.d-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.d-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; font-weight: 600; font-size: 14px;
  color: color-mix(in srgb, var(--hero-text) 85%, transparent); }
.d-hero-meta span { display: flex; align-items: center; gap: 7px; }
.d-hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Sections */
.d-section { padding: clamp(52px, 8vw, 88px) 0; }
.d-section.surface { background: var(--surface); }
.d-section h2 { font-size: clamp(26px, 4.2vw, 40px); }
.d-section .sub { color: var(--ink-soft); font-size: 18px; margin-top: 12px; max-width: 54ch; }
.d-section.center .sub { margin-left: auto; margin-right: auto; }

/* Grid de serviços / cards */
.d-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.d-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 26px -20px rgba(0,0,0,.3); transition: transform .18s, box-shadow .2s; }
.d-section.surface .d-card { background: var(--bg); }
.d-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.d-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 15px; }
.d-card h3 { font-size: 20px; margin-bottom: 7px; }
.d-card p { color: var(--ink-soft); font-size: 15.5px; }

/* Sobre / split */
.d-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.d-split .visual { aspect-ratio: 4/3; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: var(--brand-ink);
  display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.d-split .visual::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: repeating-linear-gradient(45deg, transparent 0 16px, color-mix(in srgb, var(--brand-ink) 12%, transparent) 16px 17px); }
.d-split .visual .big-ic { font-size: clamp(60px, 12vw, 120px); position: relative; z-index: 1; }
.d-split h2 { margin-bottom: 14px; }
.d-split p { color: var(--ink-soft); margin-bottom: 14px; }
.d-stats { display: flex; gap: 30px; margin-top: 22px; flex-wrap: wrap; }
.d-stat b { font-family: var(--font-display); font-size: 30px; color: var(--brand); display: block; line-height: 1; }
.d-stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* Lista de preços / menu */
.d-list { margin-top: 38px; display: grid; gap: 2px; max-width: 720px; }
.d-list.two { grid-template-columns: 1fr 1fr; gap: 2px 44px; max-width: none; }
.d-item { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.d-item .nm { font-weight: 700; font-family: var(--font-display); font-size: 17.5px; }
.d-item .ds { color: var(--muted); font-size: 14px; }
.d-item .dots { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 25%, transparent); margin: 0 4px 5px; }
.d-item .pr { font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Galeria (tiles CSS, sem imagem externa) */
.d-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.d-tile { aspect-ratio: 1; border-radius: 14px; position: relative; overflow: hidden;
  display: grid; place-items: center; font-size: 40px; color: var(--brand-ink);
  background: linear-gradient(140deg, var(--brand), var(--brand-2)); }
.d-tile:nth-child(2n) { background: linear-gradient(140deg, var(--brand-2), var(--brand)); }
.d-tile:nth-child(3n) { background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--accent) 60%, var(--brand))); }
.d-tile::after { content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand-ink) 40%, transparent), transparent 60%); }

/* Depoimentos */
.d-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.d-quote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.d-quote .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.d-quote p { font-size: 15.5px; color: var(--ink); }
.d-quote .who { margin-top: 14px; font-weight: 700; font-size: 14px; }
.d-quote .who span { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

/* Contato */
.d-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.d-info { display: grid; gap: 18px; }
.d-info .row { display: flex; gap: 14px; align-items: flex-start; }
.d-info .row .ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: 18px; }
.d-info .row b { display: block; font-size: 15px; }
.d-info .row span { color: var(--ink-soft); font-size: 15px; }
.d-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; position: relative;
  background:
    linear-gradient(color-mix(in srgb, var(--brand) 8%, var(--surface)), color-mix(in srgb, var(--brand) 8%, var(--surface))),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px);
  display: grid; place-items: center; }
.d-map .pin { color: var(--brand); font-size: 40px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }

/* Footer */
.d-footer { background: var(--ink); color: color-mix(in srgb, #fff 78%, transparent); padding: 46px 0 30px; }
.d-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.d-footer .d-logo { color: #fff; }
.d-footer .d-logo .mk { background: var(--brand); }
.d-footer p { font-size: 14px; margin-top: 10px; max-width: 320px; }
.d-footer a { color: color-mix(in srgb, #fff 78%, transparent); }
.d-footer a:hover { color: #fff; }
.d-foot-bottom { border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); margin-top: 30px; padding-top: 20px; font-size: 13px; color: color-mix(in srgb, #fff 55%, transparent); }

/* WhatsApp float */
.d-wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37,211,102,.6);
  transition: transform .18s; }
.d-wa:hover { transform: scale(1.08); }
.d-wa svg { width: 31px; height: 31px; }

/* Selo demo (link de volta pra webgrowth) */
.demo-badge { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; font-family: system-ui, sans-serif; font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.demo-badge b { color: #2ECC71; }
.demo-badge:hover { transform: translateY(-1px); }

@media (max-width: 860px) {
  .d-grid, .d-quotes { grid-template-columns: 1fr 1fr; }
  .d-gallery { grid-template-columns: repeat(3, 1fr); }
  .d-split, .d-contact { grid-template-columns: 1fr; gap: 28px; }
  .d-list.two { grid-template-columns: 1fr; }
  .d-nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .d-grid, .d-quotes { grid-template-columns: 1fr; }
  .d-gallery { grid-template-columns: repeat(2, 1fr); }
  .d-header .d-logo span.hide { display: none; }
}
