/* =========================================================
   Kretschmer Patrimonial LTDA — Folha de estilos principal
   ========================================================= */
:root {
  --brand: #0f2a44;
  --brand-2: #173c61;
  --brand-3: #1f4f7d;
  --accent: #c8a24a;
  --accent-dark: #a9852f;
  --ink: #1b2430;
  --muted: #5f6b7a;
  --line: #e4e8ee;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 68, .06);
  --shadow: 0 12px 40px rgba(15, 42, 68, .10);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display-font { font-family: var(--font-head); color: var(--brand); letter-spacing: -.01em; }
h4, h5, h6 { font-weight: 700; color: var(--brand); }
a { color: var(--brand-3); text-decoration: none; }
a:hover { color: var(--accent-dark); }
p { color: var(--muted); }
.text-accent { color: var(--accent) !important; }
.bg-soft { background: var(--soft); }
.bg-brand { background: var(--brand); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 767.98px) { .section { padding: 64px 0; } }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--accent); color: var(--brand); padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Eyebrow / títulos de seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
.section-lead { font-size: 1.08rem; max-width: 680px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* Botões */
.btn { font-weight: 600; border-radius: 10px; padding: .8rem 1.5rem; transition: all .25s ease; }
.btn-accent { background: var(--accent); color: var(--brand); border: 2px solid var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,162,74,.35); }
.btn-brand { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.btn-brand:hover { background: var(--brand-3); border-color: var(--brand-3); color: #fff; transform: translateY(-2px); }
.btn-outline-light-soft { border: 2px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline-light-soft:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* Topbar */
.topbar { background: var(--brand); color: rgba(255,255,255,.8); font-size: .85rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); margin-right: .35rem; }

/* Navbar */
.site-nav { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); padding: 1rem 0; transition: padding .25s ease, box-shadow .25s ease; }
.site-nav.scrolled { padding: .55rem 0; box-shadow: var(--shadow-sm); }
.brand-mark { display: flex; align-items: center; gap: .7rem; }
.brand-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: var(--accent); font-size: 1.25rem;
  box-shadow: inset 0 0 0 2px rgba(200,162,74,.35);
}
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--brand); letter-spacing: .01em; }
.brand-text small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .5rem 1rem !important; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s ease; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--brand); font-weight: 600; }
.navbar-toggler { border: 0; font-size: 1.5rem; color: var(--brand); }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200,162,74,.22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(31,79,125,.65), transparent 60%),
    linear-gradient(135deg, #0b2036 0%, var(--brand) 45%, var(--brand-2) 100%);
  padding: 110px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 600px; }
.hero .eyebrow { color: var(--accent); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.hero-badges span { color: rgba(255,255,255,.85); font-size: .92rem; }
.hero-badges i { color: var(--accent); margin-right: .4rem; }

.hero-card {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 2rem; backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero-card h2 { color: #fff; font-size: 1.35rem; }
.hero-card .item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.hero-card .item:last-child { border-bottom: 0; }
.hero-card .item i { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,162,74,.16); color: var(--accent); font-size: 1.1rem; }
.hero-card .item strong { color: #fff; display: block; }
.hero-card .item small { color: rgba(255,255,255,.7); }
.hero-card .seal {
  position: absolute; top: -22px; right: 24px; background: var(--accent); color: var(--brand);
  font-weight: 700; font-size: .78rem; padding: .45rem .9rem; border-radius: 999px; letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(200,162,74,.4);
}

/* Page hero (páginas internas) */
.page-hero {
  position: relative; color: #fff; padding: 84px 0 72px; overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(200,162,74,.2), transparent 60%),
    linear-gradient(135deg, #0b2036, var(--brand) 60%, var(--brand-2));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; font-size: 1.08rem; }
.page-hero .breadcrumb { margin-bottom: 1rem; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .9rem; }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* Faixa de confiança */
.trust-strip { margin-top: -54px; position: relative; z-index: 3; }
.trust-box { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 1.75rem 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item i { font-size: 1.4rem; color: var(--accent-dark); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #faf5e8; flex: 0 0 48px; }
.trust-item strong { display: block; color: var(--brand); font-size: .98rem; line-height: 1.3; }
.trust-item small { color: var(--muted); font-size: .82rem; }

/* Cards */
.feature-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: var(--accent); margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.feature-card ul { padding-left: 0; list-style: none; margin: 1rem 0 0; }
.feature-card ul li { padding: .3rem 0; color: var(--muted); font-size: .95rem; }
.feature-card ul li i { color: var(--accent-dark); margin-right: .5rem; }

.mini-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.mini-card i { color: var(--accent-dark); font-size: 1.3rem; margin-top: .2rem; width: 28px; text-align: center; }
.mini-card h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.mini-card p { margin: 0; font-size: .94rem; }

/* Passo a passo */
.steps { counter-reset: step; }
.step { position: relative; padding: 2rem 1.5rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); height: 100%; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -20px; left: 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--brand); box-shadow: 0 8px 18px rgba(200,162,74,.4);
}
.step h4 { margin-top: .5rem; font-size: 1.1rem; }
.step p { font-size: .94rem; margin: 0; }

/* Bloco de imagem decorativa (sem fotos externas) */
.visual-panel {
  position: relative; border-radius: 22px; min-height: 420px; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-2), var(--brand) 70%);
  box-shadow: var(--shadow);
}
.visual-panel .building { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 82%; }
.visual-panel .tag {
  position: absolute; background: #fff; border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow);
  display: flex; gap: .75rem; align-items: center; font-size: .9rem;
}
.visual-panel .tag i { color: var(--accent-dark); font-size: 1.25rem; }
.visual-panel .tag strong { display: block; color: var(--brand); line-height: 1.2; }
.visual-panel .tag small { color: var(--muted); }
.visual-panel .tag.t1 { top: 28px; left: 24px; }
.visual-panel .tag.t2 { bottom: 34px; right: 22px; }

/* Lista com check */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .45rem 0 .45rem 2rem; color: var(--ink); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .5rem; width: 22px; height: 22px; border-radius: 50%; background: #faf5e8; color: var(--accent-dark); font-size: .7rem; display: grid; place-items: center; }

/* Missão, visão, valores */
.mvv-card { background: #fff; border-radius: var(--radius); padding: 2.2rem; height: 100%; border-top: 4px solid var(--accent); box-shadow: var(--shadow-sm); }
.mvv-card i { font-size: 1.8rem; color: var(--accent-dark); margin-bottom: 1rem; }
.mvv-card h3 { font-size: 1.4rem; }

.value-pill { display: flex; gap: .9rem; align-items: flex-start; }
.value-pill .n { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--brand); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.value-pill h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.value-pill p { margin: 0; font-size: .94rem; }

/* Ficha institucional */
.company-sheet { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.company-sheet .head { background: var(--brand); color: #fff; padding: 1.4rem 1.8rem; display: flex; align-items: center; gap: .8rem; }
.company-sheet .head h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.company-sheet .head i { color: var(--accent); font-size: 1.3rem; }
.company-sheet dl { margin: 0; padding: .6rem 1.8rem 1.4rem; }
.company-sheet dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-dark); margin-top: 1.1rem; font-weight: 700; }
.company-sheet dd { margin: .15rem 0 0; color: var(--ink); font-weight: 500; word-break: break-word; }

/* Região */
.region-box { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-radius: 22px; color: #fff; padding: 3rem; position: relative; overflow: hidden; }
.region-box h2, .region-box h3 { color: #fff; }
.region-box p { color: rgba(255,255,255,.8); }
.region-box .fact { border-left: 3px solid var(--accent); padding-left: 1rem; margin-bottom: 1.4rem; }
.region-box .fact strong { color: #fff; display: block; }
.region-box .fact span { color: rgba(255,255,255,.72); font-size: .94rem; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .8rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--brand); padding: 1.2rem 1.4rem; background: #fff; }
.faq .accordion-button:not(.collapsed) { background: #faf7ef; color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(200,162,74,.25); }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; background: #faf7ef; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #d9b866 100%); border-radius: 22px; padding: 3rem; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--brand); }
.cta-band p { color: rgba(15,42,68,.8); }
.cta-band::after { content: "\f1ad"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -10px; bottom: -40px; font-size: 13rem; color: rgba(15,42,68,.07); }

/* Contato */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%; transition: box-shadow .25s; }
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card i { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--accent); font-size: 1.1rem; }
.contact-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .95rem; word-break: break-word; }
.form-panel { background: #fff; border-radius: 18px; padding: 2.4rem; box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 10px; padding: .75rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,162,74,.2); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--brand); }
.map-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Textos legais */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6rem; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li { color: #3d4856; }
.legal .updated { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: #0a1d31; color: rgba(255,255,255,.7); padding-top: 72px; font-size: .94rem; }
.site-footer h5 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: .3rem 0; }
.site-footer .contact-line { display: flex; gap: .75rem; margin-bottom: .8rem; }
.site-footer .contact-line i { color: var(--accent); margin-top: .3rem; width: 16px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer p { color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 1.4rem 0; font-size: .84rem; }

/* Back to top & barra mobile */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: var(--brand); color: var(--accent); box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: all .3s; z-index: 1030;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1031; display: none; background: var(--brand); box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
.mobile-cta a { flex: 1; text-align: center; padding: .85rem .5rem; color: #fff; font-weight: 600; font-size: .92rem; }
.mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.12); }
.mobile-cta a.call { background: var(--accent); color: var(--brand); }
@media (max-width: 767.98px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 54px; }
  .back-to-top { bottom: 72px; }
}

/* Banner de cookies (LGPD) */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 560px; z-index: 1050;
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.2); padding: 1.4rem 1.5rem;
  border-top: 4px solid var(--accent); display: none;
}
.cookie-banner.show { display: block; animation: slideUp .4s ease; }
.cookie-banner p { font-size: .9rem; margin-bottom: 1rem; }
.cookie-banner .btn { padding: .55rem 1.1rem; font-size: .9rem; }
@media (max-width: 767.98px) { .cookie-banner { bottom: 70px; left: 12px; right: 12px; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 404 */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 10rem); color: var(--accent); line-height: 1; }
