/* ============================================================
   BARRETO.eng Engenharia — Folha de estilo principal
   Paleta: Azul-marinho #0D1B5E | Amarelo-ouro #FFC107
   ============================================================ */

:root {
  --navy: #0D1B5E;
  --navy-900: #081145;
  --navy-800: #0D1B5E;
  --navy-700: #16267a;
  --navy-600: #25368f;
  --gold: #FFC107;
  --gold-600: #e6ac00;
  --gold-300: #ffd451;
  --white: #ffffff;
  --ink: #11131c;
  --muted: #5b6178;
  --muted-light: #8a90a6;
  --line: #e6e8f0;
  --bg-soft: #f5f6fb;
  --bg-softer: #fafbff;
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(13, 27, 94, .06);
  --shadow: 0 12px 34px rgba(13, 27, 94, .10);
  --shadow-lg: 0 26px 60px rgba(13, 27, 94, .18);
  --container: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
section { position: relative; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip-link:focus { left: 12px !important; top: 12px; position: fixed; background: var(--gold); color: var(--navy); padding: 10px 18px; border-radius: 8px; z-index: 200; font-family: var(--font-head); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dfe3f4; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.narrow { max-width: 760px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.section--navy .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.section--navy .section-head p { color: #b9c0e0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; padding: 15px 28px; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s; white-space: nowrap; line-height: 1; }
.btn svg { width: 19px; height: 19px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(255, 193, 7, .32); }
.btn--gold:hover { background: var(--gold-300); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255, 193, 7, .42); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-3px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn--lg { padding: 17px 34px; font-size: 16.5px; }
.btn--block { width: 100%; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: rgba(13, 27, 94, 0); transition: background .3s var(--ease), box-shadow .3s, height .3s; }
.site-header.scrolled { background: rgba(8, 17, 69, .96); box-shadow: 0 6px 24px rgba(0,0,0,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; z-index: 2; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #eef0fb; padding: 10px 14px; border-radius: 8px; position: relative; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: var(--gold); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav > .btn { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 20px; font-size: 14.5px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: transform .3s var(--ease), opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); background: linear-gradient(115deg, rgba(8,17,69,.97) 0%, rgba(13,27,94,.86) 48%, rgba(13,27,94,.66) 100%), radial-gradient(120% 120% at 80% 10%, #25368f 0%, #0D1B5E 55%, #081145 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(circle at 70% 35%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 70% 35%, #000 0%, transparent 70%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .35; pointer-events: none; }
.hero-blob--gold { width: 360px; height: 360px; right: -90px; top: 12%; background: radial-gradient(circle, rgba(255,193,7,.45), transparent 65%); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 50px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; margin-bottom: 26px; color: #fff; }
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #36d07f; box-shadow: 0 0 0 4px rgba(54,208,127,.25); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.6vw, 62px); font-weight: 900; letter-spacing: -.02em; }
.hero h1 .gold { color: var(--gold); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: #c7cdec; margin-top: 22px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; }
.hero-meta .item { display: flex; align-items: center; gap: 12px; }
.hero-meta .num { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--gold); line-height: 1; }
.hero-meta .lbl { font-size: 13.5px; color: #aab2da; line-height: 1.3; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: #aab2da; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: var(--gold); border-radius: 4px; transform: translateX(-50%); animation: scroll-dot 1.6s infinite; }
@keyframes scroll-dot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

.page-hero { padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(120deg, #081145, #0D1B5E 60%, #16267a); }
.page-hero::after { content:""; position:absolute; inset:0; opacity:.4; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:54px 54px; -webkit-mask-image:radial-gradient(circle at 85% 0%,#000,transparent 70%); mask-image:radial-gradient(circle at 85% 0%,#000,transparent 70%); }
.page-hero .inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 50px); font-weight: 900; }
.page-hero p { color: #c2c9ea; font-size: 18.5px; margin-top: 16px; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #97a0cf; margin-bottom: 20px; font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { width: 100%; }
.cat-ico { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: var(--gold); }
.cat-ico svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 21px; margin-bottom: 10px; }
.cat-card p { color: var(--muted); font-size: 15.5px; }
.cat-card .count { display: inline-block; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--gold-600); letter-spacing: .04em; }
.cat-card .arrow { position: absolute; right: 26px; bottom: 30px; color: var(--navy); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.cat-card:hover .arrow { opacity: 1; transform: translateX(0); }

.svc-block { margin-bottom: 70px; scroll-margin-top: 100px; }
.svc-block:last-child { margin-bottom: 0; }
.svc-cat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 2px solid var(--line); }
.svc-cat-head .n { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--navy); background: var(--gold); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.svc-cat-head h2 { font-size: clamp(22px, 3vw, 30px); }
.svc-cat-head p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; position: relative; }
.svc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-item .code { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--gold-600); letter-spacing: .05em; }
.svc-item h3 { font-size: 17.5px; margin: 6px 0 8px; color: var(--navy); }
.svc-item p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-frame { border-radius: var(--radius-lg); aspect-ratio: 4/3; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-600)); display: grid; place-items: center; }
.media-frame img { width: 70%; }
.media-frame::after { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:40px 40px; }
.badge-float { position: absolute; background: var(--gold); color: var(--navy); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-lg); font-family: var(--font-head); }
.badge-float .big { font-weight: 900; font-size: 30px; line-height: 1; }
.badge-float .small { font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.badge-float.br { right: -18px; bottom: -18px; }

.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,193,7,.16); color: var(--gold-600); display: grid; place-items: center; }
.section--navy .feature-list .ic { background: rgba(255,193,7,.18); color: var(--gold); }
.feature-list .ic svg { width: 17px; height: 17px; }
.feature-list h4 { font-size: 16.5px; margin-bottom: 2px; }
.section--navy .feature-list h4 { color: #fff; }
.feature-list p { font-size: 14.5px; color: var(--muted); }
.section--navy .feature-list p { color: #b9c0e0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 14px; }
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 5vw, 50px); color: var(--gold); line-height: 1; }
.stat .lbl { margin-top: 10px; font-size: 14.5px; color: #c2c9ea; font-weight: 500; }

.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tst .stars { color: var(--gold); display: flex; gap: 3px; margin-bottom: 14px; }
.tst .stars svg { width: 18px; height: 18px; }
.tst blockquote { font-size: 16px; color: #2a2f45; font-style: italic; line-height: 1.7; flex: 1; }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tst .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.tst .who .nm { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); }
.tst .who .meta { font-size: 12.5px; color: var(--muted-light); }
.gmaps-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 10px 20px; box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14.5px; }
.gmaps-badge b { color: var(--navy); } .gmaps-badge .rate { color: var(--gold-600); font-family: var(--font-head); font-weight: 800; }

.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle,rgba(255,193,7,.3),transparent 65%); }
.cta-band .inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p { color: #c2c9ea; margin-top: 10px; max-width: 520px; }

.faq-search { max-width: 560px; margin: 0 auto 14px; position: relative; }
.faq-search input { width: 100%; padding: 16px 20px 16px 50px; border: 2px solid var(--line); border-radius: 50px; font-family: var(--font-body); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,27,94,.08); }
.faq-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted-light); }
.faq-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.faq-chip { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; padding: 9px 18px; border-radius: 50px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; }
.faq-chip:hover { border-color: var(--navy); color: var(--navy); }
.faq-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.faq-cat { margin-bottom: 46px; scroll-margin-top: 100px; }
.faq-cat > h2 { font-size: 23px; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.faq-cat > h2 .n { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--navy); background: var(--gold); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }

.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.acc.open { box-shadow: var(--shadow); border-color: transparent; }
.acc-head { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; display: flex; flex-direction: column; gap: 3px; }
.acc-head .code { font-family: var(--font-head); font-weight: 700; font-size: 11.5px; color: var(--gold-600); letter-spacing: .05em; }
.acc-head .q { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--navy); line-height: 1.35; }
.acc-head .plus { position: absolute; right: 22px; top: 22px; width: 24px; height: 24px; flex: none; transition: transform .3s var(--ease); color: var(--navy); }
.acc.open .acc-head .plus { transform: rotate(135deg); color: var(--gold-600); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-body-inner { padding: 0 24px 24px; color: var(--muted); font-size: 15px; }
.acc-body-inner .desc { color: #3a4060; margin-bottom: 16px; }
.docs-title { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.docs-title svg { width: 16px; height: 16px; color: var(--gold-600); }
.docs-list { display: grid; gap: 8px; }
.docs-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #3a4060; }
.docs-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); margin-top: 8px; }
.obs-note { margin-top: 16px; padding: 13px 16px; background: var(--bg-soft); border-left: 3px solid var(--gold); border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.obs-note b { color: var(--navy); }
.no-results { text-align: center; color: var(--muted); padding: 40px; display: none; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 26px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.blog-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: var(--gold); flex: none; }
.blog-ico svg { width: 22px; height: 22px; }
.blog-tag { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600); }
.blog-card h3 { font-size: 20px; line-height: 1.32; margin-bottom: 12px; }
.blog-card h3 a { color: var(--navy); transition: color .2s; }
.blog-card h3 a:hover { color: var(--gold-600); }
.blog-card > p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-light); margin-top: 18px; }
.blog-meta .dotsep { color: var(--line); }
.blog-readmore { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--navy); transition: gap .2s, color .2s; }
.blog-readmore svg { width: 17px; height: 17px; }
.blog-readmore:hover { color: var(--gold-600); gap: 12px; }

/* ---------- Foto de perfil (Quem Somos) ---------- */
.profile-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy), var(--navy-600)); margin: 0; }
.profile-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.profile-fallback { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 90px; color: var(--gold); }
.profile-card.no-photo .profile-fallback { display: grid; }
.profile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 24px 22px; display: flex; flex-direction: column; gap: 3px; background: linear-gradient(transparent, rgba(8,17,69,.92)); color: #fff; }
.profile-info .nm { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: #fff; }
.profile-info .rl { font-size: 14px; color: #c2c9ea; }
.profile-info .crea-chip { align-self: flex-start; margin-top: 10px; background: rgba(255,193,7,.18); color: var(--gold); padding: 6px 14px; border-radius: 50px; font-size: 12.5px; font-weight: 700; font-family: var(--font-head); }


/* ---------- Portfolio / projetos ---------- */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.port-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); cursor: default; }
.port-card .ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: rgba(255,255,255,.22); }
.port-card .ph svg { width: 60px; height: 60px; }
.port-card .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(transparent 40%, rgba(8,17,69,.88)); color: #fff; transition: background .3s; }
.port-card:hover .ov { background: linear-gradient(transparent 10%, rgba(8,17,69,.92)); }
.port-card .tag { font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.port-card h3 { color: #fff; font-size: 18px; margin-top: 6px; }

/* ---------- Clientes ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.client-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 132px; display: flex; align-items: center; justify-content: center; padding: 22px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.client-logo:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); opacity: .72; transition: filter .3s, opacity .3s; }
.client-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------- Artigo (post do blog) ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article-back { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:700; font-size:14.5px; color:var(--navy); margin-bottom: 26px; }
.article-back svg { width:18px; height:18px; transform: rotate(180deg); }
.article-back:hover { color: var(--gold-600); }
.article-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; color:var(--muted-light); font-size:14px; margin-bottom:14px; }
.article-meta .dotsep { color: var(--line); }
.article-tagchip { display:inline-block; background:rgba(255,193,7,.16); color:var(--gold-600); font-family:var(--font-head); font-weight:700; font-size:12px; letter-spacing:.05em; text-transform:uppercase; padding:5px 12px; border-radius:50px; }
.article-lead { font-size:19px; color:#2a3050; line-height:1.6; margin:0 0 30px; padding-bottom:24px; border-bottom:1px solid var(--line); font-weight:500; }
.article-body h2 { font-size:24px; margin:36px 0 14px; }
.article-body h3 { font-size:18.5px; margin:26px 0 10px; color:var(--navy); }
.article-body p { color:#3a4060; font-size:16.5px; line-height:1.8; margin-bottom:16px; }
.article-body ul { margin:0 0 18px; display:grid; gap:10px; }
.article-body ul li { position:relative; padding-left:26px; color:#3a4060; font-size:16px; line-height:1.7; }
.article-body ul li::before { content:""; position:absolute; left:4px; top:11px; width:8px; height:8px; border-radius:2px; background:var(--gold); }
.article-body strong { color: var(--navy); }
.article-cta { margin-top:40px; padding:30px; background:var(--bg-soft); border-radius:var(--radius-lg); border-left:4px solid var(--gold); }
.article-cta h3 { font-size:20px; margin-bottom:8px; }
.article-cta p { color:var(--muted); margin-bottom:16px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.cc { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.cc .ic { flex: none; width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: var(--gold); display: grid; place-items: center; }
.cc .ic svg { width: 24px; height: 24px; }
.cc .lbl { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-light); }
.cc .val { font-size: 16.5px; color: var(--navy); font-weight: 600; margin-top: 3px; word-break: break-word; }
.cc .val a:hover { color: var(--gold-600); }
.cc .sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.contact-aside { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 34px; }
.contact-aside h3 { font-size: 22px; margin-bottom: 8px; }
.contact-aside > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.hours { display: grid; gap: 10px; margin-top: 8px; }
.hours .row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours .row:last-child { border-bottom: 0; }
.hours .day { color: var(--ink); font-weight: 600; } .hours .time { color: var(--muted); }
.hours .row.closed .time { color: #c0392b; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 14px; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

.site-footer { background: var(--navy-900); color: #aab2da; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: #97a0cf; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: #aab2da; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13.5px; color: #8088b8; }
.footer-bottom .crea { font-family: var(--font-head); font-weight: 600; color: #aab2da; font-size: 13px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .2s var(--ease), box-shadow .2s; animation: wa-pulse 2.6s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0%{box-shadow:0 12px 28px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 12px 28px rgba(37,211,102,.45),0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 12px 28px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,0)} }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .wa-float { animation: none; } }

@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); height: 100vh; background: var(--navy-900); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; padding: calc(var(--header-h) + 16px) 22px 30px; transform: translateX(110%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.4); z-index: 105; overflow-y: auto; }
  .nav.open { display: flex; transform: translateX(0); }
  .nav a { font-size: 17px; padding: 14px 16px; }
  .nav a.active::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 14px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 99; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (max-width: 980px) {
  .cat-grid, .tst-grid, .port-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .profile-card { max-width: 420px; }
}
@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .cat-grid, .tst-grid, .port-grid, .blog-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 38px 26px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .hero-meta .num { font-size: 25px; }
  .btn { padding: 13px 22px; }
  .cta-band { padding: 32px 22px; }
}
