/*
Theme Name: Anula Multa LP
Theme URI: https://anulamultaempresas.com.br/
Author: Anula Multa
Description: Landing page de alta conversão para gestão de multas de frota — paleta laranja âmbar sobre fundo escuro, identidade Anula Multa.
Version: 1.0.0
License: GPL v2 or later
Text Domain: anula-multa-lp
*/

/* ---------- Design tokens (Anula Multa) ---------- */
:root {
  --bg:               #1c1a17;
  --surface:          #26221e;
  --surface-elevated: #322c26;
  --card:             #2a2521;
  --foreground:       #faf7f2;
  --muted:            #a89f92;
  --border:           #3a332c;

  --primary:          #f0a24b;   /* amber laranja Anula Multa */
  --primary-hover:    #f5b46b;
  --primary-fg:       #1c1207;

  --destructive:      #e0553a;
  --success:          #4bbf7a;

  --radius:           0.75rem;
  --radius-lg:        1.25rem;
  --radius-xl:        1.75rem;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans:    "Inter", ui-sans-serif, system-ui, sans-serif;

  --shadow-glow:
    0 0 0 1px rgba(240,162,75,0.30),
    0 20px 60px -20px rgba(240,162,75,0.55);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02","cv03","cv04","cv11";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 6rem 0; }
.section-tight { padding: 4rem 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-xl  { max-width: 36rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

.flex   { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.divider { border-top: 1px solid var(--border); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1rem; }
.btn-primary {
  background: var(--primary); color: var(--primary-fg);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--border); color: var(--foreground);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; gap: 2rem; color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--foreground); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Section label ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .75rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border-radius: 999px;
  font-size: .72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary);
}
.section-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(240,162,75,0.22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(240,162,75,0.12), transparent 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(rgba(250,247,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,247,242,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  padding: 5rem 0 7rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 7fr 5fr; gap: 2rem; padding: 6rem 0 8rem; }
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.4rem, 5vw + 1rem, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
}
.hero h1 .accent { color: var(--primary); position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; inset: auto 0 4px 0; height: 12px;
  background: rgba(240,162,75,0.20); filter: blur(10px); z-index: -1;
}
.hero p.lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.15rem; color: var(--muted); }
.hero .cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .badges { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-size: .9rem; color: var(--muted); }
.hero .badges span { display: inline-flex; align-items: center; gap: .5rem; }
.hero .badges svg { color: var(--primary); }

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,23,0.8), transparent 60%);
}
.stat-bubble {
  position: absolute; z-index: 2;
  padding: .75rem 1rem;
  border-radius: 1rem;
  background: color-mix(in oklab, var(--surface-elevated) 95%, transparent);
  border: 1px solid rgba(240,162,75,0.4);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  max-width: 12rem;
}
.stat-bubble .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-bubble .l { font-size: .75rem; color: var(--muted); line-height: 1.25; }
.stat-1 { top: 2.5rem; left: -1rem; }
.stat-2 { top: 50%; right: -1rem; }
.stat-3 { bottom: -1rem; left: 3rem; }

/* ---------- Social proof ---------- */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 40%, transparent);
  padding: 2.5rem 0;
}
.social-proof .label {
  text-align: center; font-size: .72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.marquee-wrap {
  margin-top: 1.5rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.marquee {
  display: flex; gap: 3.5rem; width: max-content;
  animation: marquee 40s linear infinite;
  white-space: nowrap; align-items: center;
}
.marquee span {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: color-mix(in oklab, var(--muted) 70%, transparent);
  transition: color .2s ease;
}
.marquee span:hover { color: var(--foreground); }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Cards & tiles ---------- */
.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(240,162,75,0.5); }
.card .icon-tile {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: .6rem;
  background: rgba(240,162,75,0.15); color: var(--primary);
  transition: background .2s ease, color .2s ease;
}
.card:hover .icon-tile { background: var(--primary); color: var(--primary-fg); }

/* ---------- Comparison ---------- */
.compare {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.compare.compare-good {
  border-color: rgba(240,162,75,0.5);
  background: linear-gradient(135deg, var(--surface-elevated), var(--surface));
  box-shadow: var(--shadow-glow);
}
.compare .tag {
  position: absolute; top: -0.75rem; right: 1.5rem;
  background: var(--primary); color: var(--primary-fg);
  font-size: .72rem; font-weight: 600; padding: .25rem .75rem; border-radius: 999px;
}
.compare .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.compare .head .b {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .5rem;
}
.compare.compare-bad .head .b { background: rgba(224,85,58,0.15); color: var(--destructive); }
.compare.compare-good .head .b { background: rgba(240,162,75,0.20); color: var(--primary); }
.compare h3 { font-size: 1.25rem; font-weight: 600; }
.compare li { display: flex; gap: .75rem; padding: .5rem 0; align-items: flex-start; }
.compare.compare-bad li { color: var(--muted); }
.compare .mark { flex: none; margin-top: .15rem; }

/* ---------- How it works ---------- */
.steps { position: relative; }
.step {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(240,162,75,0.6); }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-n { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: rgba(240,162,75,0.3); }
.step h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 600; }
.step p { margin-top: .75rem; color: var(--muted); font-size: .95rem; }

/* ---------- Calculator ---------- */
.calc {
  padding: 2rem;
  border: 1px solid rgba(240,162,75,0.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface-elevated), var(--surface));
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .calc { grid-template-columns: repeat(3, 1fr); padding: 2.5rem; } }
.calc label {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.calc input[type="range"] { width: 100%; margin-top: .75rem; accent-color: var(--primary); }
.calc .big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-top: .5rem; }
.calc select {
  margin-top: .75rem; width: 100%;
  padding: .875rem 1rem; border-radius: .6rem;
  background: var(--bg); border: 1px solid var(--border); color: var(--foreground);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  outline: none;
}
.calc select:focus { border-color: var(--primary); }
.calc .result {
  background: var(--primary); color: var(--primary-fg);
  padding: 1.5rem; border-radius: 1rem;
}
.calc .result .k { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.calc .result .v { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-top: .5rem; line-height: 1; }
.calc .result .s { font-size: .9rem; margin-top: .5rem; opacity: .85; }

/* ---------- Table ---------- */
.table-wrap {
  margin-top: 2.5rem; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table.savings {
  width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem;
}
table.savings thead {
  background: var(--surface); color: var(--muted);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
}
table.savings th, table.savings td { padding: 1rem 1.25rem; text-align: right; }
table.savings th:first-child, table.savings td:first-child { text-align: left; }
table.savings tbody tr { border-top: 1px solid var(--border); }
table.savings td.level { font-weight: 600; color: var(--foreground); }
table.savings td.muted { color: var(--muted); }
table.savings td.strike { color: color-mix(in oklab, var(--destructive) 90%, transparent); text-decoration: line-through; }
table.savings td.good { color: var(--primary); font-weight: 600; }
table.savings td.total { font-weight: 700; color: var(--foreground); }

/* ---------- Testimonials ---------- */
.quote {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--surface); border-radius: var(--radius-lg);
  transition: border-color .2s ease;
}
.quote:hover { border-color: rgba(240,162,75,0.5); }
.quote blockquote { font-size: 1.1rem; color: var(--foreground); }
.quote blockquote::before {
  content: "“"; font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); line-height: 0.5; margin-right: .25rem;
}
.quote figcaption { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.quote figcaption .n { font-weight: 600; }
.quote figcaption .r { font-size: .9rem; color: var(--muted); }
.quote figcaption .r .c { color: var(--primary); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item.open { border-color: rgba(240,162,75,0.6); background: var(--surface); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.faq-q .chev { color: var(--primary); transition: transform .2s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.5rem 1.5rem; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ---------- Contact ---------- */
.contact-wrap {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(240,162,75,0.4);
  background: linear-gradient(135deg, var(--surface-elevated), var(--surface) 60%, var(--bg));
  box-shadow: var(--shadow-glow);
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) { .contact-wrap { padding: 3.5rem; grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-wrap h2 { margin-top: 1.25rem; font-size: clamp(1.75rem, 2vw + 1rem, 3rem); }
.contact-wrap .lead { margin-top: 1.25rem; color: var(--muted); font-size: 1.1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: .75rem; font-size: .95rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; }
.contact-list .b { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: rgba(240,162,75,0.2); color: var(--primary); }

form.contact {
  padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: rgba(28,26,23,0.7); backdrop-filter: blur(6px);
  display: grid; gap: 1rem;
}
form.contact label {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .35rem;
}
form.contact input, form.contact select {
  width: 100%; padding: .875rem 1rem;
  border: 1px solid var(--border); background: var(--bg); color: var(--foreground);
  border-radius: .6rem; outline: none;
}
form.contact input:focus, form.contact select:focus { border-color: var(--primary); }
form.contact button {
  margin-top: .5rem;
  width: 100%; padding: 1rem;
  border-radius: 999px;
  background: var(--primary); color: var(--primary-fg);
  font-weight: 600; box-shadow: var(--shadow-glow);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
form.contact button:hover { filter: brightness(1.08); }
form.contact .fine { font-size: .75rem; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 3rem 1rem; }
.form-success .check {
  margin: 0 auto; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-fg);
}
.form-success h3 { margin-top: 1.25rem; font-size: 1.5rem; }
.form-success p { margin-top: .5rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg);
}
.site-footer .inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 2.5rem 0;
}
@media (min-width: 800px) { .site-footer .inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer img { height: 40px; width: auto; }
.site-footer .legal { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* ---------- Utility ---------- */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-lg { font-size: 1.1rem; }
.font-display { font-family: var(--font-display); }
.bold { font-weight: 700; }
.h2 { font-size: clamp(1.8rem, 2vw + 1rem, 3rem); font-weight: 700; }
