/* ===========================================================================
   Construtora Amplo Horizonte — Design System 2026
   Paleta: navy da marca (#04098a) + acento âmbar, superfícies claras.
   =========================================================================== */

:root {
  --navy:        #04098a;
  --navy-700:    #070d6b;
  --navy-900:    #050938;
  --navy-50:     #eef0fb;
  --navy-100:    #dde1f6;
  --accent:      #f4a72c;   /* âmbar — CTAs e destaques */
  --accent-600:  #e0951a;

  --ink:         #14172b;   /* texto principal */
  --muted:       #5b607a;   /* texto secundário */
  --line:        #e6e8f0;   /* bordas sutis */
  --surface:     #ffffff;
  --surface-2:   #f5f7fb;   /* seções alternadas */
  --surface-3:   #eef1f7;

  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 3px rgba(8, 12, 60, .06), 0 1px 2px rgba(8, 12, 60, .04);
  --shadow:      0 10px 30px rgba(8, 12, 60, .10);
  --shadow-lg:   0 24px 60px rgba(8, 12, 60, .16);

  --container:   1200px;
  --header-h:    76px;

  --font-head:   "Sora", system-ui, sans-serif;
  --font-body:   "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy-900); letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--accent); color: var(--navy-900); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(244,167,44,.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(4,9,138,.32); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn-outline:hover { background: var(--navy-50); border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; transition: filter .35s ease; }
/* sobre o hero: logo branco; depois do scroll: logo navy */
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: .94rem; color: #fff; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.site-header.scrolled .nav a { color: var(--ink); }
.nav a:hover { background: rgba(255,255,255,.16); }
.site-header.scrolled .nav a:hover { background: var(--navy-50); color: var(--navy); }
.nav .nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s, background .3s;
}
.site-header.scrolled .nav-toggle span, .site-header.scrolled .nav-toggle::before, .site-header.scrolled .nav-toggle::after { background: var(--navy); }
.nav-toggle::before { top: 15px; } .nav-toggle span { top: 21px; } .nav-toggle::after { top: 27px; }
body.nav-open .nav-toggle::before { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after { top: 21px; transform: rotate(-45deg); }
body.nav-open .nav-toggle span, body.nav-open .nav-toggle::before, body.nav-open .nav-toggle::after { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center;
  color: #fff; padding: calc(var(--header-h) + 40px) 0 60px;
}
.hero::after { /* foto + overlay + fallback navy */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(180deg, rgba(5,9,56,.74) 0%, rgba(5,9,56,.5) 45%, rgba(4,9,138,.6) 100%), var(--hero-img);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: #050938;
}
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  background: rgba(244,167,44,.12); border: 1px solid rgba(244,167,44,.35); padding: 7px 16px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; margin: 22px 0 18px; font-weight: 700; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.86); max-width: 600px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 54px; }
.hero-stats .stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; font-weight: 700; }
.hero-stats .stat span { font-size: .85rem; color: rgba(255,255,255,.72); letter-spacing: .02em; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------- Sections ---------- */
section { scroll-margin-top: var(--header-h); }
.section { padding: 96px 0; }
.section.alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .kicker { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.about-media .badge {
  position: absolute; right: -18px; bottom: -22px; background: var(--navy); color: #fff;
  padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center;
}
.about-media .badge strong { font-family: var(--font-head); font-size: 2rem; display: block; }
.about-media .badge span { font-size: .82rem; color: rgba(255,255,255,.8); }
.about-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.about-text .kicker { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); }
.about-text p { color: var(--muted); margin-top: 18px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.values .pill { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-50); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 9px 16px; border-radius: 999px; }
.values .pill svg { width: 16px; height: 16px; }

/* ---------- Cards (serviços + projetos) ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--navy-100); }

.gallery { position: relative; aspect-ratio: 16/10; background: var(--surface-3); overflow: hidden; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.gallery img.active { opacity: 1; }
.gallery .g-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(5,9,56,.55); color: #fff; display: grid; place-items: center;
  opacity: 0; transition: opacity .25s, background .2s;
}
.gallery:hover .g-btn { opacity: 1; }
.gallery .g-btn:hover { background: var(--navy); }
.gallery .g-prev { left: 10px; } .gallery .g-next { right: 10px; }
.gallery .g-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(5,9,56,.6); color: #fff; font-size: .76rem; padding: 3px 10px; border-radius: 999px; font-family: var(--font-head); }
.gallery .g-zoom { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.92); color: var(--navy); border: 0; cursor: pointer; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.gallery:hover .g-zoom { opacity: 1; }

.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .tag { font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); }
.card-body h3 { font-size: 1.18rem; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; margin-bottom: 4px; }
.card-icon svg { width: 24px; height: 24px; }
.card .meta { margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-size: .85rem; color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Clientes ---------- */
.clients { text-align: center; }
.clients-card { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.clients-card img { margin: 0 auto; border-radius: var(--radius-sm); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .ci { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci:last-of-type { border-bottom: 0; }
.contact-info .ci .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; }
.contact-info .ci .ico svg { width: 22px; height: 22px; }
.contact-info .ci b { font-family: var(--font-head); display: block; color: var(--navy-900); font-size: .98rem; }
.contact-info .ci span, .contact-info .ci a { color: var(--muted); font-size: .96rem; }
.contact-info .ci a:hover { color: var(--navy); }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.contact-social a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: transform .25s, background .25s; }
.contact-social a:hover { transform: translateY(-3px); }
.contact-social a.wa { background: #25d366; }
.contact-social a.ig { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card .hint { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .86rem; margin-bottom: 7px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--surface-2); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px var(--navy-50); }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.map-wrap { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.15); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .f-logo img { height: 46px; margin-bottom: 18px; }
.footer .f-logo p { font-size: .95rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer .f-contact div { display: flex; gap: 10px; margin-bottom: 12px; font-size: .95rem; align-items: flex-start; }
.footer .f-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.5);
  transition: transform .25s ease; animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 18px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3,5,30,.94); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }
.lightbox .lb-close { top: 24px; right: 24px; width: 46px; height: 46px; }
.lightbox .lb-counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-family: var(--font-head); font-size: .9rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media .badge { right: 16px; }
  .cards, .cards.two { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer .f-logo { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 20px 24px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s cubic-bezier(.2,.7,.2,1); max-height: calc(100svh - var(--header-h)); overflow:auto;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { color: var(--ink); padding: 13px 14px; border-radius: 10px; font-size: 1rem; }
  .site-header.scrolled .nav a, .nav a { color: var(--ink); }
  .nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; z-index: 101; }
  /* hambúrguer sempre visível (navy) qdo menu aberto já tratado; sobre hero é branco) */
  .section { padding: 72px 0; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .clients-card { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 18px 28px; }
  .lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }
  .lightbox .lb-btn { width: 44px; height: 44px; }
}

/* ===========================================================================
   Páginas de matéria (serviços)
   =========================================================================== */
.hero--sub { min-height: auto; padding: calc(var(--header-h) + 56px) 0 56px; }
.hero--sub .hero-inner { max-width: 820px; }
.hero--sub h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 14px 0 14px; }
.hero--sub p.lead { font-size: clamp(1rem, 2vw, 1.18rem); }

.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.78); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.78); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--accent); }

/* conteúdo do artigo */
.article { padding: 80px 0; }
.article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 56px; align-items: start; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; color: var(--navy-900); }
.prose p { color: var(--ink); margin-bottom: 16px; line-height: 1.75; }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; color: var(--ink); }
.prose ul li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--navy); }
.prose .lead-in { font-size: 1.12rem; color: var(--muted); }
.prose .figure { margin: 26px 0; }
.prose .figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-cta { margin: 36px 0 8px; padding: 28px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.article-cta b { font-family: var(--font-head); color: var(--navy-900); font-size: 1.12rem; }
.article-cta p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* FAQ */
.faq { margin-top: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; margin-bottom: 12px; background: #fff; }
.faq summary { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); cursor: pointer; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 16px; }

/* sidebar: outros serviços */
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-size: 1rem; margin-bottom: 14px; }
.aside-card .other { display: grid; gap: 4px; }
.aside-card .other a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: .94rem; transition: background .2s, color .2s; }
.aside-card .other a:hover { background: var(--navy-50); color: var(--navy); }
.aside-card .other a svg { width: 18px; height: 18px; color: var(--navy); flex: none; }
.aside-card.cta-box { background: var(--navy); color: #fff; text-align: center; }
.aside-card.cta-box h4 { color: #fff; }
.aside-card.cta-box p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 16px; }
.aside-card.cta-box .btn { width: 100%; justify-content: center; }

.back-home { text-align: center; padding: 0 24px 70px; }
.back-home a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.back-home a svg { width: 18px; height: 18px; }

/* link "Saiba mais" nos cards de serviço da home */
.card-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* hub /servicos/ */
.hub-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.hub-card .card-icon { margin-bottom: 4px; }
.hub-card h3 { font-size: 1.18rem; }
.hub-card p { color: var(--muted); font-size: .96rem; flex: 1; }

@media (max-width: 920px) {
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; }
}
