/* Agência WDRC — páginas de serviço (/servicos/). Identidade: pêssego pastel, roxo/lilás, magenta e ciano. */

:root {
  --bg: #F8DCD6;
  --bg-soft: #FDF3F0;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #FFFFFF;
  --ink: #2C1E40;
  --ink-strong: #1A0E2B;
  --muted: #6B557D;
  --line: rgba(123, 79, 163, 0.16);
  --purple: #7B4FA3;
  --lilac: #8E5EBE;
  --magenta: #E94E89;
  --cyan: #4FB6D8;
  --grad: linear-gradient(135deg, #7B4FA3 0%, #8E5EBE 35%, #E94E89 70%, #4FB6D8 100%);
  --shadow: 0 14px 40px -12px rgba(123, 79, 163, 0.22);
  --radius: 18px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #121012;
  --bg-soft: #1B1620;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: #211B27;
  --ink: #ECE4F3;
  --ink-strong: #FFFFFF;
  --muted: #B3A3C4;
  --line: rgba(190, 150, 230, 0.18);
  --purple: #B48AE0;
  --shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(142, 94, 190, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(79, 182, 216, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(233, 78, 137, 0.08) 0%, transparent 50%);
  line-height: 1.65;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

a { color: var(--purple); }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface-strong); padding: 8px 14px; border-radius: 10px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--purple); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); cursor: pointer; }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; color: var(--ink); cursor: pointer; font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 14px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(123, 79, 163, 0.55); }
.btn-ghost { background: var(--surface); color: var(--ink-strong); border: 1px solid var(--line); }
.btn-whatsapp { background: #1FAF55; color: #fff; }
.nav .btn { padding: 9px 16px; font-size: 13px; color: #fff; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); padding-top: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }

/* Hero */
.hero { padding: 36px 0 56px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--purple); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 18px 0 16px; max-width: 900px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--magenta); font-weight: 800; }

/* Sections */
section.block { padding: 56px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
.section-intro { color: var(--muted); max-width: 760px; margin: 0 0 30px; font-size: 17px; }
.prose p { max-width: 820px; font-size: 17px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon { font-size: 24px; margin-bottom: 10px; }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: #fff; background: var(--grad); border-radius: 999px; padding: 4px 10px; display: inline-block; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.checklist li { padding: 12px 16px 12px 42px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 16px; top: 12px; color: var(--magenta); font-weight: 800; }

/* Cases */
.cases { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.case { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-strong); }
.case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case figcaption { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink-strong); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--purple); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* CTA band */
.cta-band { margin: 56px 0; padding: 40px; border-radius: 26px; background: var(--grad); color: #fff; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn-light { background: #fff; color: #4b2a6e; }

/* Related services */
.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.related a { display: block; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink-strong); font-weight: 700; }
.related a span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }
.related a:hover { border-color: var(--purple); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-strong); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--purple); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 999px; background: #1FAF55; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(0,0,0,.35); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav .btn { margin: 12px 20px; }
  .cta-band { padding: 28px 22px; }
}
