/* =========================================================
   ServiCont Contabilidade — estilos
   Paleta: laranja #FF7900 / #F28A24 · grafite #242424 · branco · cinza claro #F5F3F1
   Mobile-first · 1em = 16px
   ========================================================= */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --orange: #FF7900;
  --orange-2: #F28A24;
  --orange-soft: #FFE9D6;
  --graphite: #242424;
  --graphite-2: #2E2E2E;
  --white: #FFFFFF;
  --ice: #F5F3F1;
  --text: #2A2A2A;
  --muted: #5E5A56;
  --on-dark: #E9E4DF;
  --line: #E4DFDA;
  --wa: #1FAF54;
  --wa-hover: #17974A;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(36, 36, 36, .09);
  --shadow-lg: 0 20px 50px rgba(36, 36, 36, .16);
  --header-h: 76px;
  --container: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); padding-top: var(--header-h); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-2); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; color: var(--graphite); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--graphite); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.hl { color: var(--orange); }
.eyebrow { font-family: var(--font-head); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 0 .9rem; display: block; }
.h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8em 1.5em; border-radius: 12px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s; text-align: center; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px rgba(255, 121, 0, .30); }
.btn-primary:hover { background: var(--orange-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .75); }
.btn-outline:hover { background: var(--white); color: var(--graphite); }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: #000; color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-hover); color: var(--white); }
.btn-lg { min-height: 58px; padding: .9em 1.8em; font-size: 1.0625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--orange); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; background: var(--graphite); box-shadow: 0 2px 0 var(--orange); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 2px 0 var(--orange); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { height: 64px; width: auto; background: none; border-radius: 0; padding: 0; box-shadow: none; }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .3); cursor: pointer; }
.menu-toggle .ico { width: 26px; height: 26px; }
.menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: inline; }
.main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--graphite); padding: 16px 20px 32px; overflow-y: auto; display: none; flex-direction: column; gap: 16px; }
.main-nav.is-open { display: flex; }
.nav-list { display: flex; flex-direction: column; }
.nav-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.0625rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); cursor: pointer; text-align: left; }
.nav-link .ico { width: 18px; height: 18px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav-link.active, .nav-link[aria-current="page"] { color: var(--orange); }
.sub-menu { display: none; padding: 4px 0 8px 12px; }
.has-sub.is-open .sub-menu { display: block; }
.sub-menu a { display: block; padding: 10px 8px; color: var(--on-dark); text-decoration: none; }
.sub-menu a:hover, .sub-menu a.active { color: var(--orange); }
.header-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.header-actions .btn { width: 100%; }
.header-actions .btn-outline { color: var(--white); }
body.menu-open { overflow: hidden; }

@media (min-width: 1140px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; flex-direction: row; align-items: center; background: none; padding: 0; overflow: visible; margin-left: auto; gap: 14px; }
  .nav-list { flex-direction: row; gap: 2px; align-items: center; }
  .nav-link { width: auto; padding: 10px 12px; border: 0; font-size: .98rem; gap: 6px; }
  .nav-link:hover, .nav-link.active, .nav-link[aria-current="page"] { color: var(--orange); }
  .has-sub { position: relative; }
  .sub-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; padding: 10px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
  .sub-menu a { color: var(--text); border-radius: 8px; padding: 10px 12px; }
  .sub-menu a:hover, .sub-menu a.active { background: var(--ice); color: var(--orange-2); }
  .header-actions { flex-direction: row; margin: 0 0 0 10px; gap: 10px; }
  .header-actions .btn { width: auto; min-height: 46px; padding: .6em 1.1em; font-size: .95rem; }
  .btn-client { border-color: rgba(255, 255, 255, .6); }
}

/* ---------- seções ---------- */
.section { padding: 80px 0; position: relative; }
.section-white { background: var(--white); }
.section-ice { background: var(--ice); }
.section-dark { background: var(--graphite); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--on-dark); }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }
.section-head .lead { margin: 0; }
@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .section-head { margin-bottom: 64px; }
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; }
  .section-head.split .lead { padding-left: 40px; border-left: 3px solid var(--orange); }
}

/* ---------- topo (home) ---------- */
.hero { position: relative; background: var(--graphite); color: var(--white); overflow: hidden; }
.hero-media { position: relative; height: 300px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 36, 36, 0) 45%, var(--graphite) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 12px; padding-bottom: 64px; }
.hero h1 { color: var(--white); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; margin-bottom: .4em; }
.hero h1 .kicker { display: block; font-family: var(--font-head); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; text-shadow: none; }
.hero h1 .serif { display: block; font-weight: 800; }
.hero h1 .hl { display: block; }
.hero-text { font-size: 1.12rem; color: var(--on-dark); max-width: 560px; }
.hero-meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: var(--white); }
.hero-meta .ico { color: var(--orange); width: 22px; height: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
@media (min-width: 900px) {
  .hero { min-height: 640px; display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; }
  .hero-media img { object-position: right center; }
  .hero-media::after { background: linear-gradient(90deg, var(--graphite) 0%, rgba(36, 36, 36, .85) 22%, rgba(36, 36, 36, 0) 58%); }
  .hero-content { padding-top: 80px; padding-bottom: 80px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
}

.stripe { background: var(--white); border-bottom: 1px solid var(--line); }
.stripe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 30px; padding-bottom: 30px; }
.stripe-item { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--graphite); font-family: var(--font-head); font-size: .98rem; }
.stripe-item .ico { width: 34px; height: 34px; color: var(--orange); }
@media (min-width: 900px) {
  .stripe-grid { grid-template-columns: repeat(4, 1fr); padding-top: 36px; padding-bottom: 36px; }
  .stripe-item { justify-content: center; padding: 0 12px; border-left: 1px solid var(--line); }
  .stripe-item:first-child { border-left: 0; }
}

.about { display: grid; gap: 40px; }
.about-media { position: relative; }
.about-media img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; left: -14px; bottom: -14px; width: 60%; height: 60%; border-left: 6px solid var(--orange); border-bottom: 6px solid var(--orange); border-radius: 0 0 0 var(--radius-lg); z-index: -1; }
.quote { display: flex; gap: 16px; margin: 26px 0 0; padding-left: 18px; border-left: 6px solid var(--orange); font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 1.3rem; color: var(--graphite); line-height: 1.3; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
  .about-media img { height: 420px; }
}

.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-6 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; border: 1px solid rgba(36, 36, 36, .04); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--white); margin-bottom: 20px; box-shadow: 0 8px 18px rgba(255, 121, 0, .28); }
.card-icon .ico { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5em; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
.section-ice .card { background: var(--white); }

.segments { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .segments { grid-template-columns: repeat(4, 1fr); } }
.segment { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--graphite); transition: transform .25s, box-shadow .25s; }
.segment:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.segment img { width: 100%; height: 200px; object-fit: cover; }
.segment-label { display: flex; align-items: center; gap: 12px; padding: 18px 20px 22px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.segment-label .card-icon { width: 46px; height: 46px; margin: -48px 0 0; border: 4px solid var(--white); box-shadow: 0 6px 14px rgba(255, 121, 0, .35); }
.segment-label .card-icon .ico { width: 22px; height: 22px; }
.segment-body { padding: 0 20px 24px; }
.segment-body p { color: var(--muted); margin: 0; font-size: 1rem; }

.benefits { display: grid; gap: 40px; }
.benefits-media { position: relative; }
.benefits-media img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); }
.benefits-media::after { content: ""; position: absolute; inset: auto -10px -10px auto; width: 45%; height: 45%; background: var(--orange); border-radius: var(--radius); z-index: -1; }
.benefit-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .ico { width: 40px; height: 40px; color: var(--orange); margin-top: 2px; }
.benefit h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .3em; }
.benefit p { margin: 0; font-size: 1rem; color: var(--on-dark); }
@media (min-width: 900px) {
  .benefits { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 72px; }
  .benefits-media img { height: 480px; }
}

.values { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { text-align: left; padding: 8px 0 0; border-top: 4px solid var(--orange); }
.value .ico { width: 38px; height: 38px; color: var(--orange); margin-bottom: 14px; }
.value h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .4em; }
.value p { margin: 0; color: var(--muted); font-size: 1rem; }

.cta { position: relative; color: var(--white); overflow: hidden; background: var(--graphite); }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 121, 0, .92) 0%, rgba(242, 138, 36, .78) 55%, rgba(36, 36, 36, .55) 100%); }
.cta-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; display: grid; gap: 28px; }
.cta h2 { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; margin: 0; }
.cta .btn-light { background: var(--white); color: var(--graphite); }
.cta .btn-light:hover { background: var(--graphite); color: var(--white); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; align-items: center; padding-top: 96px; padding-bottom: 96px; gap: 48px; } }

/* ---------- páginas internas ---------- */
.page-hero { position: relative; background: var(--graphite); color: var(--white); padding: 56px 0 64px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; border-radius: 50%; border: 46px solid rgba(255, 121, 0, .16); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange); }
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800; max-width: 880px; margin-bottom: .4em; }
.page-hero p { color: var(--on-dark); font-size: 1.12rem; max-width: 720px; }
.page-hero .actions { margin-top: 26px; }
.breadcrumb { font-size: .9rem; color: var(--on-dark); margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--orange); }
.breadcrumb a { color: var(--on-dark); }
@media (min-width: 900px) { .page-hero { padding: 84px 0 96px; } }

.content-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .content-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; } }
.prose { font-size: 1.0625rem; color: var(--text); }
.prose h2 { font-size: 1.65rem; color: var(--graphite); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; color: var(--graphite); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose li { margin-bottom: .55em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose figure { margin: 1.5em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose a { word-break: break-word; }
.check-list { display: grid; gap: 12px; margin: 0 0 1.4em; padding: 0 !important; list-style: none !important; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.check-list .ico { color: var(--orange); width: 22px; height: 22px; margin-top: 3px; }
.aside-card { background: var(--graphite); color: var(--white); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--orange); }
.aside-card h2 { color: var(--white); font-size: 1.35rem; }
.aside-card p { color: var(--on-dark); }
.aside-card .btn { width: 100%; }
.aside-card ul { margin: 0 0 22px; display: grid; gap: 10px; }
.aside-card li { display: flex; gap: 10px; align-items: center; color: var(--on-dark); }
.aside-card li .ico { color: var(--orange); width: 20px; height: 20px; }
.aside-card a { color: var(--white); }
@media (min-width: 1000px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(36, 36, 36, .05); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--graphite); font-family: var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; color: var(--orange); transition: transform .2s; flex: none; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details[open] { border-color: var(--orange); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

.steps { display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: st; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 800; }
.step p { color: var(--muted); margin: 0; }

.contact-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-cards .card a { font-weight: 700; text-decoration: none; }
.map-frame { width: 100%; height: 340px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.map-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.links-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }
.link-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); text-decoration: none; color: var(--graphite); font-weight: 700; border-left: 5px solid var(--orange); transition: transform .2s, box-shadow .2s; }
.link-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.link-tile .ico { color: var(--orange); width: 20px; height: 20px; }

/* blog */
.post-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 16 / 10; background: var(--ice); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: .5em; }
.post-card h2 a, .post-card h3 a { color: var(--graphite); text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: 1rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 14px; }
.post-card { position: relative; }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 30px; box-shadow: var(--shadow); }
.post-cover img { width: 100%; }
.post-note { font-size: .98rem; color: var(--muted); background: var(--ice); border-left: 5px solid var(--orange); border-radius: 0 12px 12px 0; padding: 14px 18px; margin-bottom: 26px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--graphite); font-weight: 700; background: var(--white); }
.pagination [aria-current="page"] { background: var(--orange); color: var(--white); border-color: var(--orange); }

.notfound { text-align: center; padding: 110px 0; }
.notfound .big { font-family: var(--font-head); font-size: 6.5rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.notfound .actions { justify-content: center; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark); padding: 64px 0 28px; border-top: 6px solid var(--orange); }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; } }
.footer-brand .brand-logo { height: 64px; }
.footer-brand p { margin: 18px 0 0; font-size: 1rem; }
.footer-title { font-family: var(--font-head); font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: flex-start; gap: 10px; font-size: 1rem; }
.footer-col a:hover { color: var(--orange); text-decoration: underline; }
.footer-col .ico { width: 20px; height: 20px; color: var(--orange); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 26px; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }
.footer-bottom a { color: var(--on-dark); }
.footer-sign a { color: var(--orange); font-weight: 700; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .2s, background-color .2s; }
.wa-float .ico { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-hover); }
body.menu-open .wa-float { display: none; }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; } }

/* ---------- animação discreta ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== ajustes de layout (rodada 2) ===== */
/* topo: botões na mesma linha no computador */
@media (min-width: 900px) {
  .hero-copy { max-width: 700px; }
  .hero .actions { flex-wrap: nowrap; }
  .hero .actions .btn { white-space: nowrap; }
}
/* textos de cabeçalho de seção centralizados verticalmente */
.section-head.split { align-items: center; }
/* seção Sobre: foto com recorte diagonal e faixa laranja */
.about-media { position: relative; }
.about-media img { clip-path: polygon(7% 0, 100% 0, 100% 90%, 93% 100%, 0 100%, 0 10%); border-radius: 0 !important; box-shadow: none !important; }
.about-media::before { content: ""; position: absolute; inset: 0; background: var(--orange); clip-path: polygon(7% 0, 100% 0, 100% 90%, 93% 100%, 0 100%, 0 10%); transform: translate(-16px, 16px); z-index: -1; }
.about-media::after { content: none; }
/* Diferenciais: foto à esquerda, faixa diagonal laranja e 2 colunas */
.benefits-section { position: relative; overflow: hidden; padding: 0; }
.benefits-photo { position: relative; height: 280px; }
.benefits-photo img { width: 100%; height: 100%; object-fit: cover; }
.benefits-band { display: none; }
.benefits { padding-top: 56px; padding-bottom: 64px; display: block; }
.benefits-copy { max-width: 640px; }
.benefits-copy .h2 { margin-bottom: 0; color: var(--white); }
.benefit-grid { gap: 34px 40px !important; }
.benefit .ico { color: var(--orange) !important; }
.benefit h3 { font-size: 1.15rem; }
@media (min-width: 900px) {
  .benefits-section { min-height: 520px; display: flex; align-items: stretch; }
  .benefits-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; height: auto; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
  .benefits-band { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 49%; background: var(--orange); clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%); z-index: 1; }
  .benefits-photo { z-index: 2; }
  .benefits { position: relative; z-index: 3; margin-left: auto; margin-right: 0; padding-top: 96px; padding-bottom: 96px; display: flex; justify-content: flex-end; }
  .benefits-copy { width: 58%; max-width: none; }
  .benefits-copy .h2 { font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.4rem); }
}

/* ===== rodada 3: foto Sobre com moldura em L; faixa fina; texto mais à direita ===== */
.about-media { position: relative; }
.about-media img { clip-path: none !important; border-radius: 22px !important; box-shadow: var(--shadow-lg) !important; position: relative; z-index: 1; }
.about-media::before { content: none !important; }
.about-media::after { content: ""; position: absolute; left: -16px; bottom: -16px; width: 62%; height: 62%; border-left: 7px solid var(--orange); border-bottom: 7px solid var(--orange); border-radius: 0 0 0 22px; z-index: 0; }
@media (min-width: 900px) {
  .benefits-section { min-height: 540px; }
  .benefits-photo { width: 46%; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
  .benefits-band { width: 48.5%; clip-path: polygon(0 0, 100% 0, 86.7% 100%, 0 100%); }
  .benefits.container { max-width: none; width: 100%; margin: 0; padding-left: 60%; padding-right: 40px; display: block; }
  .benefits-copy { width: auto; max-width: 540px; }
}

/* ===== rodada 4: texto de Diferenciais mais largo, como na referência ===== */
@media (min-width: 900px) {
  .benefits.container { padding-left: 46%; padding-right: 3%; }
  .benefits-copy { max-width: none; width: 100%; }
  .benefits-copy .h2 { font-size: clamp(1.55rem, 1rem + 1.3vw, 2.2rem); white-space: normal; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 40px 56px !important; margin-top: 40px !important; }
  .benefit { gap: 18px; }
  .benefit p { font-size: 1.02rem; }
  .benefit h3 { font-size: 1.12rem; }
}

/* ===== rodada 5: texto mais perto da faixa e faixa laranja mais fina ===== */
@media (min-width: 900px) {
  .benefits-band { width: 47.6%; clip-path: polygon(0 0, 100% 0, 85.4% 100%, 0 100%); }
  .benefits.container { padding-left: 51%; padding-right: 3%; }
}

/* ===== rodada 6: rodapé em linha, como a referência ===== */
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.15fr 1fr 1.1fr 1.1fr; align-items: start; gap: 0; }
  .footer-grid > div { padding: 0 28px; }
  .footer-grid > div:first-child { padding-left: 0; }
  .footer-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .18); }
  .footer-brand .brand-logo { height: 130px; }
  .footer-title { font-size: 1.02rem; margin-bottom: 14px; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a, .footer-col span { font-size: .95rem; }
}

/* ===== rodada 7: texto com folga fixa do traço, em qualquer largura de tela ===== */
@media (min-width: 900px) {
  .benefits.container { padding-left: calc(47.6% + 24px); padding-right: 3%; }
}

/* ===== rodada 8: rodapé largo, logo maior e divisores como a referência ===== */
.footer-hours { display: inline-block; line-height: 1.5; }
@media (min-width: 1000px) {
  .site-footer .footer-grid, .site-footer .footer-bottom { max-width: 1680px; padding-left: clamp(24px, 3vw, 64px); padding-right: clamp(24px, 3vw, 64px); }
  .footer-grid { grid-template-columns: 1.3fr 1.1fr 1.4fr 1.5fr; }
  .footer-grid > div + div { padding-left: clamp(24px, 3vw, 56px); }
  .footer-brand .brand-logo { height: 100px; }
}
.footer-brand .footer-crc { font-size: 12px; }

/* ===== rodada 9: cabeçalho como o modelo (sem linha laranja, logo grande, transparente na home) ===== */
.site-header { box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.header-actions .btn-outline:hover { color: var(--graphite); }
@media (min-width: 1140px) {
  .brand-logo { height: 60px; transition: height .25s; }
  .header-actions .btn-client { background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .35); border-radius: 0; box-shadow: none; min-height: 28px; padding: 0 0 0 22px; margin-right: 6px; color: var(--white); font-weight: 600; }
  .header-actions .btn-client:hover { background: none; color: var(--orange); transform: none; }
  .header-actions .btn-client .ico { color: var(--orange); }

  body.is-home { padding-top: 0; }
  body.is-home .site-header { background: transparent; transition: background .25s, box-shadow .25s; }
  body.is-home .site-header .header-inner { height: 104px; }
  body.is-home .site-header .brand { align-self: flex-start; }
  body.is-home .site-header .brand-logo { height: 79px; margin-top: 10px; }
  body.is-home .nav-link { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
  body.is-home .site-header.is-scrolled { background: var(--graphite); }
  body.is-home .site-header.is-scrolled .header-inner { height: 100%; }
  body.is-home .site-header.is-scrolled .brand { align-self: center; }
  body.is-home .site-header.is-scrolled .brand-logo { height: 60px; margin-top: 0; }
  body.is-home .site-header.is-scrolled .nav-link { text-shadow: none; }
  body.is-home .hero { min-height: auto; }
  body.is-home .hero-content { padding-top: 170px; padding-bottom: 70px; }
  body.is-home .hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; background: linear-gradient(180deg, rgba(20, 20, 20, .7), rgba(20, 20, 20, 0)); z-index: 1; pointer-events: none; }
}

/* rodada 9b: faixa do cabeçalho mais larga e sem quebra de linha no menu */
@media (min-width: 1140px) {
  .site-header .header-inner.container { max-width: 1480px; padding-left: 32px; padding-right: 32px; }
  .nav-link, .header-actions .btn { white-space: nowrap; }
}
@media (min-width: 1140px) {
  body.is-home .hero .container.hero-content { max-width: 1480px; padding-left: 32px; padding-right: 32px; }
}

/* ===== rodada 10/12: celular — foto vira fundo do bloco e o texto sobe sobre as pessoas, com a mesma margem das páginas internas ===== */
@media (max-width: 899px) {
  .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-media img { object-position: 75% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(36, 36, 36, .5) 0%, rgba(36, 36, 36, .66) 40%, rgba(36, 36, 36, .88) 100%); }
  .hero-content { margin-top: 0; padding-top: 56px; padding-bottom: 64px; }
  .hero h1, .hero-text { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
}

/* ===== rodada 11: foto do artigo mais panorâmica ===== */
.post-cover img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 55%; }

/* ===== rodada 13: cinco segmentos na home (3 em cima e 2 maiores embaixo) ===== */
@media (min-width: 640px) {
  .segments .segment:nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .segments { grid-template-columns: repeat(6, 1fr); }
  .segments .segment { grid-column: span 2; }
  .segments .segment:nth-child(4), .segments .segment:nth-child(5) { grid-column: span 3; }
}

/* ===== rodada 14: nova foto do topo ocupa o bloco todo no computador (o escurecimento à esquerda já vem na imagem) ===== */
@media (min-width: 900px) {
  .hero-media { inset: 0; width: 100%; }
  .hero-media img { object-position: center center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(36, 36, 36, .55) 0%, rgba(36, 36, 36, .25) 38%, rgba(36, 36, 36, 0) 62%); }
}
