/* FDR Consultoria — identidade: laranja #F27815, Montserrat (títulos) + Open Sans (texto) */

:root {
  --primary: #F27815;
  --primary-dark: #C9630E;
  --primary-light: #FF9D4D;
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --text: #171717;
  --muted: #52616f;
  --border: #e5e7eb;
  --font-display: 'Montserrat', 'Segoe UI', -apple-system, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0A0A;
    --surface: #171717;
    --text: #F9FAFB;
    --muted: #9aa7b3;
    --border: #2a2a2a;
  }
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }

a { color: var(--primary-dark); }
@media (prefers-color-scheme: dark) { a { color: var(--primary-light); } }

img { max-width: 100%; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; max-width: 1060px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: 38px; }
.brand strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(at 0% 0%, hsla(28, 100%, 74%, 0.16) 0, transparent 50%),
    radial-gradient(at 85% 10%, hsla(28, 100%, 50%, 0.08) 0, transparent 45%);
}
@media (prefers-color-scheme: dark) {
  .hero { background: radial-gradient(at 0% 0%, hsla(28, 100%, 30%, 0.14) 0, transparent 50%); }
}
.hero .eyebrow {
  color: var(--primary); font-weight: 700; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
}
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; margin: 0.7rem 0 1rem; }
.hero p.lead { font-size: 1.13rem; color: var(--muted); max-width: 46rem; }
.hero-cta { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 0.8rem 1.6rem; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff !important; box-shadow: 0 6px 18px rgba(242, 120, 21, 0.35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text) !important; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary) !important; }

/* Sections */
section { padding: 4rem 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 44rem; margin-bottom: 2.4rem; }
.section-head .tag {
  display: inline-block; background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary-dark); font-family: var(--font-display); font-weight: 700;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 0.9rem;
}
@media (prefers-color-scheme: dark) { .section-head .tag { color: var(--primary-light); } }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 0.7rem; }
.section-head p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem;
}
section.alt .card { background: var(--bg); }
.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--muted); }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary); font-size: 1.3rem;
}
.card .icon svg { width: 22px; height: 22px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 800; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* Compliance strip */
.compliance {
  margin-top: 2rem; padding: 1.1rem 1.4rem; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
  font-size: 0.92rem; color: var(--muted);
}
.compliance strong { color: var(--text); }

/* Contact */
.contact-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 18px; padding: 3rem 2rem; text-align: center; color: #fff;
}
.contact-box h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.6rem; }
.contact-box p { opacity: 0.92; max-width: 34rem; margin: 0 auto 1.6rem; }
.contact-box .btn { background: #fff; color: var(--primary-dark) !important; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 2.5rem 0; font-size: 0.88rem; color: var(--muted); }
footer .cols { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
footer .legal-links { display: flex; gap: 1.2rem; list-style: none; }
footer a { color: var(--muted); }
footer a:hover { color: var(--primary); }
footer .brand-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; color: var(--text); font-family: var(--font-display); font-weight: 700; }
footer .brand-line img { width: 28px; height: 28px; }

/* Placeholder de dados legais — remover a classe quando preencher */
.ph {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: 4px; padding: 0 0.25rem;
  font-style: normal; color: inherit;
}

/* Páginas legais */
.legal { max-width: 760px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.legal h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 0.4rem; }
.legal .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.6rem; }
.legal p, .legal li { font-size: 0.95rem; color: var(--muted); }
.legal ul { padding-left: 1.3rem; margin: 0.5rem 0; }
.legal strong { color: var(--text); }
