/* Diverti Tickets Comercializacao de Ingressos Ltda. - site styles */
:root {
  --bg: #ffffff;
  --bg-soft: #eefaf7;
  --ink: #0f2a2c;
  --muted: #4f6668;
  --line: #d8ebe7;
  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --accent: #f97316;
  --dark: #082f33;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(8, 47, 51, 0.08);
  --max: 1160px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo span b { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover, .nav a.active { color: var(--brand); background: var(--bg-soft); }
.nav a.btn { color: #fff; background: var(--brand); margin-left: 6px; }
.nav a.btn:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1rem; transition: transform .15s, background .15s;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); color: var(--ink); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--dark) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,47,51,.95) 0%, rgba(8,47,51,.75) 45%, rgba(15,118,110,.35) 100%);
}
.hero .container { position: relative; padding-block: 120px 110px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 760px; }
.hero p { font-size: 1.2rem; max-width: 620px; color: rgba(255,255,255,.85); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #c2410c; margin-bottom: 14px;
}
.hero .eyebrow { color: #fdba74; }

.page-hero { background-color: var(--dark); }
.page-hero .container { padding-block: 90px 80px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding-block: 90px; }
.section-soft { background: var(--bg-soft); }
@media (max-width: 640px) { .section { padding-block: 60px; } .hero .container { padding-block: 80px 70px; } }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.service-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(22,18,46,.14); color: var(--ink); }
.service-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card .more { font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more { gap: 10px; }

/* ---------- Feature / stat blocks ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.feature .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--brand); margin-bottom: 16px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-size: 2.4rem; color: var(--brand); letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-weight: 600; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } }
.detail .lead { font-size: 1.2rem; color: var(--ink); }
.detail .content p { color: var(--muted); }
.detail .content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.detail .cover { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 36px; box-shadow: var(--shadow); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.steps { counter-reset: step; display: grid; gap: 16px; margin-bottom: 1.5em; }
.step { counter-increment: step; display: flex; gap: 16px; background: var(--bg-soft); border-radius: 12px; padding: 18px 20px; }
.step::before {
  content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h4 { margin: 4px 0 4px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.side-card h3 { font-size: 1.1rem; }
.side-card.cta { background: linear-gradient(145deg, var(--brand), #14958a 60%, var(--accent)); color: #fff; border: 0; }
.side-card.cta p { color: rgba(255,255,255,.88); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-links a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.side-links a:hover, .side-links a.active { background: var(--bg-soft); color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--dark), #0d5750 60%, var(--brand));
  color: #fff; border-radius: 24px; padding: 56px; display: flex; gap: 30px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 36px 26px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--brand); display: grid; place-items: center; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { padding: 24px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal .toc { position: static; } }
.legal .toc { position: sticky; top: 96px; border-left: 2px solid var(--line); padding-left: 18px; }
.legal .toc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.legal .toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.legal .toc a { color: var(--muted); }
.legal .toc a:hover { color: var(--brand); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; scroll-margin-top: 96px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: #3d3857; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.updated { display: inline-block; background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-size: .88rem; color: rgba(255,255,255,.9); }
.notice { background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: 10px; padding: 18px 20px; margin-bottom: 1.5em; }
.notice p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding-top: 70px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo span b { color: #5eead4; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.company-id { font-size: .88rem; line-height: 1.7; }
.company-id strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem;
}
