/* ==========================================================================
   Tema AGS Metálica — estilos (feito a partir do tema Base)
   Tokens no :root. Mobile tratado no final (breakpoints 1024 / 768 / 480).
   ========================================================================== */
:root {
  /* Cores da marca AGS: editáveis no painel (Configurações › Identidade) */
  --primary: #1d3a78;
  --accent: #ffc611;
  --dark: #061a35;
  --primary-d: color-mix(in srgb, var(--primary) 85%, #000);
  --accent-d: color-mix(in srgb, var(--accent) 86%, #000);
  --dark-2: color-mix(in srgb, var(--dark) 82%, #000);
  --on-accent: #061a35;
  --ink: #0b1b33;
  --text: #545b67;
  --soft: #f3f4f6;
  --line: #e2e5ea;
  --primary-t: color-mix(in srgb, var(--primary) 12%, #fff);
  --white: #fff;
  --r-xl: 0;
  --r-lg: 0;
  --r-md: 0;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-h: 'Raleway', var(--font);
  --shadow: 0 18px 40px -18px rgba(6, 26, 53, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.7 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-h); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.hl { color: inherit; background: linear-gradient(transparent 64%, color-mix(in srgb, var(--accent) 75%, transparent) 64%, color-mix(in srgb, var(--accent) 75%, transparent) 92%, transparent 92%); padding: 0 .06em; }
.hero .hl, .dark .hl, .quote-band .hl, .page-banner .hl { color: var(--accent); background: none; padding: 0; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin: 0 0 16px; }
.kicker::before { content: ""; width: 32px; height: 3px; background: var(--accent); border-radius: 0; }
.kicker-light { color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.bg-soft { background: var(--soft); }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.mt { margin-top: 48px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 0; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 0; }
.ico { width: 20px; height: 20px; flex: none; }

/* Linhas de grade sutis (hero, banners, CTA) */
.grid-lines { position: relative; }
.grid-lines::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 72px 72px; }

/* Etiquetas e botões */
.tag { display: inline-block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1; padding: 7px 14px; border-radius: 0; background: var(--primary-t); color: var(--primary); margin-bottom: 18px; }
.tag-light { background: rgba(255,255,255,.22); color: #fff; }
.tag-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.tag-dark { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; padding: 16px 30px; border-radius: 0; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; line-height: 1.2; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff !important; color: var(--dark); border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--primary) !important; }
.btn:hover { background: var(--accent-d); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: #fff; }
.site-header.is-stuck { position: fixed; background: color-mix(in srgb, var(--dark) 96%, transparent); backdrop-filter: blur(8px); box-shadow: 0 8px 30px rgba(0,0,0,.15); animation: slideDown .35s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header-in { display: flex; align-items: center; gap: 28px; height: 120px; transition: height .3s; }
.is-stuck .header-in { height: 76px; }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 84px; width: auto; transition: height .3s; }
.is-stuck .logo-img { height: 54px; }
.logo-text { font-size: 26px; font-weight: 700; color: currentColor; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 600; font-size: 14px; border-radius: 0; transition: color .2s; }
.nav > ul > li > a:hover, .nav li.current > a { color: var(--accent); }
.caret { width: 16px; height: 16px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; width: max-content; max-width: min(440px, 90vw); list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--accent); background: #fff; border-radius: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub li + li { border-top: 1px solid var(--line); }
.sub a { display: block; padding: 14px 22px; color: var(--ink); border-radius: 0; font-size: 14px; font-weight: 500; white-space: nowrap; }
.sub a:hover { background: var(--accent); color: var(--dark); }
.burger { display: none; margin-left: auto; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 0; cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }

/* Menu mobile (painel lateral) */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20,24,30,.55); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw); background: #fff; padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer-head .logo-img { height: 42px; }
.drawer-x { width: 44px; height: 44px; border-radius: 0; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.m-nav { list-style: none; margin: 0; padding: 0; }
.m-nav > li { border-bottom: 1px solid var(--soft); }
.m-row { display: flex; align-items: center; }
.m-row a { flex: 1; padding: 14px 4px; color: var(--ink); font-weight: 500; font-size: 17px; }
.m-nav li.current > .m-row a { color: var(--primary); }
.m-toggle { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .25s; }
.m-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--primary); }
.m-sub { list-style: none; margin: 0 0 10px; padding: 4px 0 4px 14px; border-left: 2px solid var(--primary-t); }
.m-sub a { display: block; padding: 8px 4px; font-size: 15px; color: var(--text); }
.drawer-contact { margin-top: auto; display: grid; gap: 10px; font-size: 14px; }
.drawer-contact a { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.drawer-contact .ico { color: var(--primary); }
/* Menu aberto: a página atrás não rola. Vai no html para valer mesmo se o tema ganhar um overflow no html. */
html.no-scroll, html.no-scroll body { overflow: hidden; }
.drawer-bg { touch-action: none; }
.drawer-panel { height: 100dvh; overscroll-behavior: contain; }

/* ---------- Hero (fotos em fade) ---------- */
.hero { position: relative; background: var(--dark); color: #fff; min-height: min(860px, 100svh); display: flex; flex-direction: column; justify-content: center; padding: 150px 0 170px; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -1; }
.hero-slides .slide { position: absolute; inset: 0; transition: opacity 1.2s ease, visibility 1.2s; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slides .slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, color-mix(in srgb, var(--dark) 94%, transparent) 0%, color-mix(in srgb, var(--dark) 78%, transparent) 45%, color-mix(in srgb, var(--dark) 30%, transparent) 100%),
  linear-gradient(0deg, color-mix(in srgb, var(--dark) 70%, transparent), transparent 40%); }
.hero-in { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 12.5em; margin-bottom: 20px; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; }
.hero-text { max-width: 560px; font-size: 16px; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 2; }
.hero-dots .dots { justify-content: flex-start; margin: 0; }
.hero-dots .dots button { background: rgba(255,255,255,.4); height: 4px; width: 28px; border-radius: 0; }
.hero-dots .dots button.is-active { background: var(--accent); width: 56px; }

/* Destaques sobrepostos ao hero */
.pillars { position: relative; z-index: 3; margin-top: -90px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 0; box-shadow: 0 30px 60px -30px rgba(6,26,53,.35); overflow: hidden; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 34px 32px; border-top: 4px solid transparent; transition: border-color .25s, background .25s; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:hover { border-top-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.pillar-ico { flex: none; width: 56px; height: 56px; border-radius: 0; background: var(--dark); color: var(--accent); display: grid; place-items: center; }
.pillar-ico .ico { width: 28px; height: 28px; }
.pillar h3 { font-size: 19px; margin: 4px 0 6px; }
.pillar p { margin: 0; font-size: 14px; line-height: 1.6; }

/* ---------- Quem somos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
/* Foto inclinada sobre o grafismo amarelo (usada no Quem somos e no FAQ) */
.shape-media { position: relative; padding: 0 0 9%; }
.shape-media::before { content: ""; position: absolute; left: 0; right: 0; top: 10%; bottom: 0; background: var(--accent); clip-path: polygon(0 0, 84% 0, 100% 100%, 16% 100%); }
.shape-photo { position: relative; clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.shape-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.about-badge { position: absolute; right: 2%; top: -6%; width: clamp(120px, 11vw, 170px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 20px 50px -14px rgba(6,26,53,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.about-badge strong { display: block; font-family: var(--font-h); font-size: clamp(34px, 3.4vw, 52px); line-height: 1; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.about-badge span { display: block; max-width: 8em; margin-top: 8px; font-size: clamp(12px, 1vw, 15px); font-weight: 600; color: var(--ink); line-height: 1.3; }
.about-text .rich { margin-bottom: 30px; font-size: 16px; }
.about-text .rich strong { color: var(--text); font-weight: 700; }

/* ---------- Serviços ---------- */
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.split-head h2 { margin: 0; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.center-head .kicker { justify-content: center; }
.split-head > p { margin: 0; }
.split-btn { justify-self: end; }
.dark .split-head > p { color: rgba(255,255,255,.75); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 24px; }
.svc-card { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: 0; overflow: hidden; color: #fff; isolation: isolate; background: var(--dark-2); }
.svc-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--dark) 96%, transparent) 0%, color-mix(in srgb, var(--dark) 60%, transparent) 45%, transparent 75%); transition: background .4s; }
.svc-card:hover > img { transform: scale(1.06); }
.svc-num { position: absolute; top: 20px; left: 22px; font-family: var(--font-h); font-weight: 800; font-size: 15px; color: var(--dark); background: var(--accent); padding: 6px 10px; border-radius: 0; line-height: 1; }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 24px; display: flex; flex-direction: column; }
.svc-card h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.svc-ex { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.svc-more .ico { width: 18px; height: 18px; transition: transform .25s; }
.svc-card:hover .svc-more .ico { transform: translateX(5px); }

/* ---------- Clientes ---------- */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-tile { aspect-ratio: 226 / 126; border-radius: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: transform .25s, box-shadow .25s; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile span { padding: 10px; text-align: center; font-weight: 600; color: var(--ink); font-size: 14px; }

/* ---------- Depoimentos ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.testi-card { position: relative; margin: 0; background: #fff; border-radius: 0; padding: 34px 30px 28px; display: flex; flex-direction: column; border-bottom: 4px solid var(--accent); box-shadow: 0 20px 40px -28px rgba(6,26,53,.3); }
.testi-card .quote { position: absolute; top: 28px; right: 28px; width: 38px; height: 28px; fill: color-mix(in srgb, var(--primary) 14%, #fff); }
.testi-card .stars { margin-bottom: 16px; }
.testi-card blockquote { margin: 0 0 24px; color: var(--ink); font-size: 16px; line-height: 1.65; flex: 1; }
.testi-card p { margin: 0; }
.testi-card figcaption { display: flex; gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-card figcaption strong { display: block; color: var(--ink); font-size: 15px; }
.testi-card figcaption small { display: block; font-size: 13px; }
.tc-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.tc-photo.initials { display: grid; place-items: center; background: var(--dark); color: var(--accent); font-weight: 700; font-family: var(--font-h); font-size: 18px; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; fill: #d9d9d9; }
.stars svg.on { fill: var(--accent); }
.slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 0; border: 0; background: #b9bec7; cursor: pointer; transition: width .3s, background .3s; }
.dots button.is-active { background: var(--primary); width: 26px; }

/* ---------- FAQ da home ---------- */
.faq-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.faq-grid.no-img { grid-template-columns: minmax(0, 820px); justify-content: center; }
.mt-sm { margin-top: 28px; }

/* ---------- Vídeos do YouTube (capa leve, player só no clique) ---------- */
.videos { position: relative; background: linear-gradient(180deg, #fff 0 70%, var(--dark) 70% 100%); padding: 0 0 20px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-grid.count-1 { grid-template-columns: minmax(0, 860px); justify-content: center; }
.video-grid.count-3 { grid-template-columns: repeat(3, 1fr); }
.video-item, .video-single { box-shadow: 0 30px 60px -24px rgba(6,26,53,.55); background: #000; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; color: #fff; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.65), transparent); pointer-events: none; }
.yt-title { position: absolute; left: 22px; right: 22px; top: 18px; z-index: 2; font-family: var(--font-h); font-weight: 700; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.yt-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 68px; height: 48px; transform: translate(-50%, -50%); transition: transform .2s; }
.yt-play svg { width: 100%; height: 100%; display: block; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.yt.is-playing::before, .yt.is-playing .yt-title, .yt.is-playing .yt-play { display: none; }
.videos + .solutions { padding-top: calc(var(--sec) * .8); }

/* ---------- Página Quem somos ---------- */
.banner-text { max-width: 640px; margin: 0 auto 18px; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.5; color: rgba(255,255,255,.9); }
.video-band { position: relative; overflow: hidden; isolation: isolate; }
.video-map { position: absolute; left: 50%; top: 50%; z-index: -1; width: min(1080px, 120%); transform: translate(-50%, -38%); opacity: .18; }
.video-map img { width: 100%; height: auto; }
.video-band .narrow { max-width: 760px; }
.video-single { margin: 0 auto 56px; max-width: 700px; }
.video-band h2 { max-width: 15em; margin-left: auto; margin-right: auto; }
.video-band .rich { font-size: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { padding: 34px 30px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); border-top: 4px solid var(--accent); }
.value .pillar-ico { background: var(--accent); color: var(--dark); margin-bottom: 20px; }
.value h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.value p { margin: 0; font-size: 15px; color: rgba(255,255,255,.78); }
.logo-grid-sm { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 0 auto; }

/* ---------- Página de cada serviço (estrutura do site antigo) ---------- */
.with-sidebar { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 72px); }
.svc-main .rich { font-size: 16px; }
.benefits-title { font-size: clamp(22px, 2.2vw, 28px); margin: 34px 0 18px; }
.benefits { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.benefits .ico { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.benefits strong { color: var(--ink); }
.svc-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 28px; }
.side-box.side-svc { background: #fff; padding: 34px 32px; box-shadow: 0 20px 50px -24px rgba(6,26,53,.3); }
.side-svc h2 { font-size: 26px; margin: 0 0 18px; }
.side-svc ul { list-style: none; margin: 0; padding: 0; }
.side-svc li + li { border-top: 1px solid var(--line); }
.side-svc a { display: flex; gap: 10px; align-items: center; padding: 13px 0; color: var(--text); font-size: 15px; transition: color .2s, padding .2s; }
.side-svc a .ico { width: 16px; height: 16px; color: var(--ink); flex: none; }
.side-svc a:hover, .side-svc a.on { color: var(--ink); font-weight: 600; padding-left: 4px; }
.side-svc a.on .ico, .side-svc a:hover .ico { color: var(--accent); }
.side-box.side-help { background: var(--dark); color: rgba(255,255,255,.82); padding: 34px 32px; border-bottom: 5px solid var(--accent); }
.side-help h2 { color: #fff; font-size: 26px; font-weight: 600; margin: 0 0 12px; }
.side-help > p { font-size: 14px; margin-bottom: 22px; }
.side-help .quote-contacts { margin: 0; }
.side-help .quote-contacts strong { font-size: 17px; }

/* ---------- Clientes e Galeria ---------- */
.logo-grid-all { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.logo-grid-all .logo-tile a { display: block; width: 100%; height: 100%; }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-grid a { position: relative; display: block; overflow: hidden; background: var(--soft); }
.photo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.photo-grid a::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--dark) 45%, transparent); opacity: 0; transition: opacity .3s; }
.photo-grid a::before { content: "+"; position: absolute; left: 50%; top: 50%; z-index: 1; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; background: var(--accent); color: var(--dark); font: 700 28px/1 var(--font-h); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid a:hover::after, .photo-grid a:focus-visible::after { opacity: 1; }
.photo-grid a:hover::before, .photo-grid a:focus-visible::before { opacity: 1; transform: none; }
/* Foto ampliada */
.lb { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 60px 70px; background: rgba(4, 14, 30, .94); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lb figcaption { color: rgba(255,255,255,.85); font-size: 14px; text-align: center; }
.lb button { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.lb button:hover { background: var(--accent); color: var(--dark); }
.lb button .ico { width: 24px; height: 24px; }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; margin-top: -25px; }
.lb-prev .ico { transform: rotate(180deg); }
.lb-next { right: 12px; top: 50%; margin-top: -25px; }
.lb-count { position: absolute; top: 28px; left: 24px; color: rgba(255,255,255,.7); font-size: 13px; }

/* ---------- FAQ e Contato ---------- */
.faq-page .faq-light .faq-item { background: #fff; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.info-card { background: #fff; padding: 40px 32px; text-align: center; box-shadow: 0 24px 50px -30px rgba(6,26,53,.35); border-bottom: 4px solid var(--accent); }
.info-card .pillar-ico { margin: 0 auto 18px; }
.info-card h3 { font-size: 21px; margin-bottom: 10px; }
.info-card p { margin: 0; font-size: 15px; line-height: 1.75; }
.info-card a:hover { color: var(--primary); text-decoration: underline; }
.contact-box { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; box-shadow: 0 30px 70px -40px rgba(6,26,53,.4); }
.contact-box.no-img { grid-template-columns: minmax(0, 720px); justify-content: center; }
.contact-photo img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.contact-form { padding: clamp(28px, 5vw, 64px); }
.contact-form h2 { margin-bottom: 10px; }
.contact-form > p { margin-bottom: 24px; }
.map-full iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- FAQ ---------- */
.dark { background: var(--dark); color: rgba(255,255,255,.85); }
.dark h2 { color: #fff; }
.faq-cols { display: grid; gap: 18px; }
.faq-cols.cols-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.faq-col { display: grid; gap: 14px; }
.faq-item { border: 1px solid rgba(255,255,255,.5); border-radius: 0; transition: border-color .2s; }
.faq-item[open]:not(.js-faq), .faq-item.is-open { border-color: var(--primary); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 18px; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--primary); transition: transform .25s; }
.faq-item[open]:not(.js-faq) summary .ico, .faq-item.is-open summary .ico { transform: rotate(180deg); }
.faq-item summary .ico { flex: none; }
.faq-a { margin: 0 18px; padding: 14px 0 16px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-size: 14px; }
.faq-light .faq-item { border-color: var(--line); background: #fff; }
.faq-light .faq-item summary { color: var(--ink); }
.faq-light .faq-item[open]:not(.js-faq), .faq-light .faq-item.is-open { border-color: var(--primary); }

/* ---------- Blog (estrutura do site antigo) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; display: flex; flex-direction: column; box-shadow: 0 20px 45px -28px rgba(6,26,53,.35); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -28px rgba(6,26,53,.45); }
.pc-img { position: relative; display: block; overflow: hidden; }
.pc-img img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; transition: transform .5s; }
.post-card:hover .pc-img img { transform: scale(1.05); }
.pc-cat { position: absolute; top: 16px; right: 16px; background: var(--accent); color: var(--dark); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 6px 12px; line-height: 1.2; }
.pc-body { padding: 26px 28px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: 14px; line-height: 1.65; }
.pc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.more .ico { width: 15px; height: 15px; color: var(--accent); transition: transform .2s; }
.more:hover .ico { transform: translateX(4px); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.pager a.on, .pager a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.blog-list { background: var(--soft); }
/* Post */
.post-hero { background: var(--dark); color: #fff; padding: 170px 0 150px; }
.post-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); max-width: 24em; margin: 10px 0 18px; }
.post-hero .crumbs ol { justify-content: flex-start; font-size: 13px; color: rgba(255,255,255,.7); }
.post-cat { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.post-hero .post-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: rgba(255,255,255,.85); margin: 0; }
.post-hero .post-meta span { display: inline-flex; gap: 8px; align-items: center; }
.post-hero .post-meta .ico { width: 16px; height: 16px; color: var(--accent); }
.post-wrap { padding-bottom: var(--sec); }
.post-wrap .with-sidebar { margin-top: -100px; }
.post-card-main { background: #fff; padding: clamp(22px, 3.4vw, 48px); box-shadow: 0 30px 70px -40px rgba(6,26,53,.4); }
.post-cover { margin-bottom: 30px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { font-size: 16px; line-height: 1.8; }
.post-side { top: 110px; }
.post-side .side-box { padding: 28px; }
.side-search form { display: flex; }
.side-search input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--soft); padding: 13px 16px; font: inherit; font-size: 14px; color: var(--ink); }
.side-search input:focus { outline: none; border-color: var(--primary); }
.side-search button { width: 50px; border: 0; background: var(--accent); color: var(--dark); cursor: pointer; display: grid; place-items: center; }
.side-search .ico { width: 20px; height: 20px; }
.side-box.side-yellow { background: linear-gradient(135deg, var(--accent-d), var(--accent)); color: var(--dark); box-shadow: none; }
.side-yellow h2 { font-size: 24px; margin: 0 0 14px; color: var(--dark); }
.side-yellow ul { list-style: none; margin: 0; padding: 0; }
.side-yellow li + li { border-top: 1px solid rgba(6,26,53,.15); }
.side-yellow a { display: flex; gap: 10px; align-items: center; padding: 11px 0; font-size: 15px; font-weight: 500; }
.side-yellow a .ico { width: 15px; height: 15px; flex: none; }
.side-yellow a:hover { padding-left: 4px; font-weight: 700; }
.side-recent h2 { font-size: 22px; margin: 0 0 18px; }
.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.recent a { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: start; }
.recent img, .recent-ph { width: 78px; height: 66px; object-fit: cover; background: var(--soft); display: block; }
.recent strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 600; }
.recent a:hover strong { color: var(--primary); }
.recent small { display: block; margin-top: 4px; font-size: 12px; }

/* ---------- Orçamento (antes do rodapé) e rodapé ---------- */
.quote-band { position: relative; background: var(--dark); color: rgba(255,255,255,.85); padding: var(--sec) 0; overflow: hidden; isolation: isolate; scroll-margin-top: 60px; }
.quote-bg { position: absolute; inset: 0; z-index: -2; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--dark) 94%, transparent) 0%, color-mix(in srgb, var(--dark) 78%, transparent) 50%, color-mix(in srgb, var(--dark) 45%, transparent) 100%); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quote-info h2 { color: #fff; }
.quote-info > p { font-size: 16px; max-width: 520px; }
.quote-contacts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; max-width: 460px; }
.quote-contacts > li > a, .qc-fixos { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 0; background: rgba(255,255,255,.04); transition: border-color .2s, background .2s; }
.quote-contacts > li > a:hover { border-color: var(--accent); background: rgba(255,255,255,.08); }
.qc-ico { flex: none; width: 44px; height: 44px; border-radius: 0; background: var(--accent); color: var(--dark); display: grid; place-items: center; }
.qc-ico .ico { width: 22px; height: 22px; }
.quote-contacts small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.6); }
.quote-contacts strong { color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.qc-fixos a { display: inline-block; margin-right: 14px; }
.qc-fixos a:hover strong { color: var(--accent); }
.quote-form { background: #fff; border-radius: 0; padding: clamp(26px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); color: var(--text); }
.quote-form .form-title { background: none; padding: 0; border-radius: 0; text-align: left; font-family: var(--font-h); font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.site-footer { background: var(--dark-2); color: rgba(255,255,255,.68); padding: 72px 0 0; font-size: 14px; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1fr; gap: 48px; }
.site-footer .logo-img { height: 70px; margin-bottom: 20px; }
.f-about p { max-width: 380px; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: center; }
.f-contact .ico { color: var(--accent); width: 18px; height: 18px; }
.f-contact em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.55); margin-left: 4px; }
.f-contact a:hover { color: var(--accent); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.socials a:hover { background: var(--accent); color: var(--dark); }
.socials .ico { width: 18px; height: 18px; }
.f-col h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 18px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-col a:hover { color: var(--accent); }
.f-bottom { margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.f-bottom p { margin: 0; }
.f-legal a { color: inherit; opacity: .8; }
.f-legal a:hover { opacity: 1; }
.form-note { margin: 12px 0 0; font-size: 13px; opacity: .75; text-align: center; }
.form-note a { color: inherit; text-decoration: underline; }

/* ---------- Páginas internas ---------- */
.page-banner { background: var(--primary); color: #fff; text-align: center; padding: 170px 0 90px; overflow: hidden; }
.page-banner.has-bg { background: var(--dark); }
.banner-bg { position: absolute; inset: 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--dark) 78%, transparent); }
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs [aria-current] { color: var(--accent); font-weight: 500; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.content-grid.no-img { grid-template-columns: minmax(0, 820px); justify-content: center; }
.content-img img { width: 100%; border-radius: 0; position: sticky; top: 110px; }
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.4em; }
.rich h3 { margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich li { margin-bottom: .4em; }
.rich a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: 0; margin: 1.5em 0; }
.rich blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--primary); background: var(--soft); border-radius: 0; color: var(--ink); }
.rich strong { color: var(--ink); }
.svc-title { font-size: clamp(28px, 3vw, 40px); }
.round-img { margin-bottom: 30px; }
.round-img img { width: 100%; border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; }
.dash-list { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; color: var(--ink); }
.dash-list li { position: relative; padding-left: 26px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 2px; background: var(--ink); }
.gallery { margin-top: 36px; }
.gallery .slides { display: flex; gap: 20px; overflow: hidden; scroll-behavior: smooth; }
.gallery .slide { flex: 0 0 calc(50% - 10px); opacity: 1; visibility: visible; }
.gallery img { border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gallery .dots button { background: #cfcfcf; }
.gallery .dots button.is-active { background: var(--ink); width: 10px; }
.side-box { background: #fff; border-radius: 0; padding: 30px; box-shadow: 0 10px 40px -10px rgba(0,0,0,.12); }
.side-form { background: var(--primary-t); box-shadow: none; }
.side-title, .form-title { font-size: 18px; text-align: center; background: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--ink); border-radius: 0; padding: 12px 16px; margin: 0 0 22px; font-weight: 600; letter-spacing: 0; }
.side-form .form-title { background: #fff; }
.side-links { list-style: none; margin: 0; padding: 0 6px; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--ink); font-weight: 500; font-size: 15px; }
.side-links a:hover { color: var(--primary); }
.side-links .ico { width: 18px; height: 18px; color: #fff; background: var(--primary); border-radius: 0; padding: 3px; }
.side-links em { color: var(--text); font-style: normal; font-size: 13px; }
.post-body { font-size: 16px; line-height: 1.8; }
.author-box { display: flex; gap: 20px; margin-top: 48px; padding: 28px; background: var(--soft); border-radius: 0; align-items: flex-start; }
.ab-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.author-box strong { color: var(--ink); font-size: 18px; }
.ab-job { display: block; font-size: 13px; color: var(--primary); margin-bottom: 8px; }
.author-box p { margin: 0; font-size: 14px; }

/* Formulários */
.form { display: grid; gap: 14px; }
.fld span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fld input, .fld select, .fld textarea { width: 100%; border: 1px solid transparent; background: #fff; border-radius: 0; padding: 15px 18px; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s; }
.fld textarea { border-radius: 0; resize: vertical; min-height: 140px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--primary); }
.form:not(.form-side) .fld input, .form:not(.form-side) .fld textarea, .form:not(.form-side) .fld select { background: var(--soft); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: 14px; font-weight: 500; color: var(--primary-d); min-height: 1em; text-align: center; }
.form-msg.err { color: #c0392b; }
.form.sending button { opacity: .6; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.info-cards { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.info-cards li { display: flex; gap: 18px; align-items: center; }
.info-cards .dia { color: var(--primary); width: 54px; height: 54px; margin: 6px 10px 6px 6px; flex: none; }
.info-cards small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.info-cards a, .info-cards span:not(.dia) { display: block; color: var(--ink); font-weight: 600; }
.map iframe { width: 100%; height: 400px; border: 0; border-radius: 0; }

/* ---------- Bolha WhatsApp ---------- */
.wa-bubble { position: fixed; bottom: 22px; z-index: 90; font-size: 14px; }
.wa-right { right: 22px; }
.wa-left { left: 22px; }
.wa-btn { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(0,0,0,.35); position: relative; transition: transform .2s; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn .ico { width: 32px; height: 32px; }
.wa-badge { position: absolute; top: -2px; right: -2px; background: #ff3b30; color: #fff; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.wa-tip { position: absolute; bottom: 12px; white-space: nowrap; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 0; box-shadow: var(--shadow); font-weight: 500; animation: pop .3s ease; }
.wa-right .wa-tip { right: 76px; }
.wa-left .wa-tip { left: 76px; }
.wa-box { position: absolute; bottom: 78px; width: min(340px, calc(100vw - 44px)); background: #e5ddd5; border-radius: 0; overflow: hidden; box-shadow: 0 20px 50px -10px rgba(0,0,0,.35); animation: pop .3s ease; }
.wa-right .wa-box { right: 0; transform-origin: bottom right; }
.wa-left .wa-box { left: 0; transform-origin: bottom left; }
.wa-head { display: flex; align-items: center; gap: 12px; background: var(--wa); color: #fff; padding: 14px 16px; }
.wa-head strong { display: block; font-size: 15px; line-height: 1.2; }
.wa-head span { font-size: 12px; opacity: .9; }
.wa-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: rgba(255,255,255,.25); display: grid; place-items: center; }
.wa-photo-ico .ico { width: 24px; height: 24px; }
.wa-x { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; width: 36px; height: 36px; border-radius: 0; display: grid; place-items: center; }
.wa-x:hover { background: rgba(255,255,255,.15); }
.wa-body { padding: 18px 16px; display: grid; gap: 8px; max-height: 50vh; overflow-y: auto; }
.wa-msg { background: #fff; color: #303030; padding: 9px 12px; border-radius: 0; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); line-height: 1.5; animation: pop .3s ease both; }
.wa-msg:nth-child(2) { animation-delay: .4s; }
.wa-msg:nth-child(3) { animation-delay: .8s; }
.wa-go { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px 16px; background: var(--wa); color: #fff; border-radius: 0; padding: 12px; font-weight: 600; }
.wa-go .ico { width: 18px; height: 18px; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .about-grid, .contact-grid, .content-grid, .split-head, .faq-grid, .quote-grid { grid-template-columns: 1fr; }
  .split-head { gap: 16px; margin-bottom: 36px; }
  .split-btn { justify-self: start; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar:hover { border-top-color: var(--line); }
  .shape-media { max-width: 700px; }
  .svc-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .values-grid, .video-grid.count-3 { grid-template-columns: 1fr; }
  .logo-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .logo-grid-all, .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-box { grid-template-columns: 1fr; }
  .contact-photo img { aspect-ratio: 16 / 9; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-wrap .with-sidebar { margin-top: -80px; }
  .faq-cols.cols-2 { grid-template-columns: 1fr; }
  .content-img img { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header-in { height: 76px; }
  .logo-img { height: 52px; }
  .is-stuck .logo-img { height: 44px; }
  .hero { min-height: 0; padding: 130px 0 150px; }
  .hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--dark) 72%, transparent) 0%, color-mix(in srgb, var(--dark) 82%, transparent) 60%, color-mix(in srgb, var(--dark) 92%, transparent) 100%); }
  .hero-text { font-size: 15px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-dots { bottom: 110px; }
  .pillars { margin-top: -70px; }
  .pillar { padding: 24px 22px; }
  .about-badge { width: 100px; right: 0; }
  .about-badge strong { font-size: 30px; }
  .about-badge span { font-size: 11px; margin-top: 2px; }
  .svc-grid, .svc-list, .post-grid, .testi-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .logo-grid-sm { grid-template-columns: repeat(2, 1fr); }
  .logo-grid-all, .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lb { padding: 60px 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .map-full iframe { height: 320px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
  .yt-title { left: 14px; right: 14px; top: 12px; }
  .svc-card { aspect-ratio: 4 / 3.6; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dash-list { grid-template-columns: 1fr; }
  .gallery .slide { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-contacts strong { font-size: 17px; }
  .page-banner { padding: 130px 0 64px; }
  .post-hero { padding: 120px 0 110px; }
  .post-wrap .with-sidebar { margin-top: -60px; }
  .side-box { padding: 22px; }
  .author-box { flex-direction: column; }
  .wa-bubble { bottom: 16px; }
  .wa-right { right: 16px; }
  .wa-left { left: 16px; }
  .wa-tip { display: none; }
}
@media (max-width: 1024px) { .wa-dev-desktop { display: none; } }
@media (min-width: 1025px) { .wa-dev-mobile { display: none; } }

/* ---------- Busca ---------- */
.search-btn { flex: none; width: 44px; height: 44px; margin: 0 -16px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.search-btn:hover, .search-btn:focus-visible { background: rgba(255,255,255,.14); transform: scale(1.06); }
.search-btn .ico { width: 22px; height: 22px; stroke-width: 2; }
/* Janela: fundo e caixa entram e saem com transição (sem "piscar") */
.search-pop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; width: 100%; max-width: 100vw; padding: clamp(96px, 24vh, 240px) 24px 24px; overflow-x: hidden; overflow-y: auto; background: color-mix(in srgb, var(--dark) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.search-pop.open { opacity: 1; visibility: visible; }
.search-form { width: min(680px, 100%); min-width: 0; text-align: center; color: #fff; transform: translateY(18px) scale(.97); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.search-pop.open .search-form { transform: none; opacity: 1; transition-delay: .08s; }
.search-form label { display: block; font-size: clamp(24px, 3.4vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 26px; }
.search-field { display: flex; align-items: center; min-width: 0; max-width: 100%; background: #fff; border-radius: 0; padding: 6px 6px 6px 26px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
.search-field input { flex: 1; width: 100%; min-width: 0; border: 0; border-radius: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); padding: 14px 0; -webkit-appearance: none; appearance: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input::-webkit-search-decoration { -webkit-appearance: none; }
.search-field button { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; transition: background .2s; }
.search-field button:hover { background: var(--accent-d); }
.search-field button .ico { width: 22px; height: 22px; stroke-width: 2; }
.search-form small { display: block; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.search-x { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s, transform .3s; }
.search-x:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.search-x .ico { width: 22px; height: 22px; }
/* Resultados ao digitar */
.search-live { margin-top: 14px; background: #fff; border-radius: 0; padding: 8px; text-align: left; max-height: min(52vh, 460px); overflow-y: auto; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); animation: searchIn .3s ease; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-8px); } }
.search-item { display: block; padding: 12px 16px; border-radius: 0; color: var(--text); transition: background .15s; }
.search-item:hover, .search-item:focus-visible { background: var(--soft); outline: none; }
.search-item small { display: block; margin: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); opacity: .8; }
.search-item strong { display: block; font-size: 16px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.search-item span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.search-all { display: block; margin-top: 4px; padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; font-weight: 600; color: var(--primary); }
.search-all:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.search-none { margin: 0; padding: 16px; text-align: center; font-size: 14px; color: var(--text); }
.search-pop.has-results .search-form > small { display: none; }
/* Página de resultados */
.search-again { max-width: 680px; margin: 0 auto 40px; }
.search-again .search-field { background: var(--soft); box-shadow: none; }
.search-count { text-align: center; margin: 0 0 28px; }
.search-results { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 14px; }
.search-hit { display: block; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.search-hit:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.search-hit .tag { margin-bottom: 10px; }
.search-hit h3 { font-size: 19px; margin: 0 0 6px; }
.search-hit p { margin: 0; font-size: 14px; }
@media (max-width: 1100px) {
  .search-btn { margin: 0 -16px 0 auto; }
  .search-btn ~ .burger { margin-left: 0; }
}
@media (max-width: 640px) {
  .search-pop { padding-left: 16px; padding-right: 16px; }
  .search-x { top: 16px; right: 16px; }
  .search-field { padding-left: 20px; }
  .search-field input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .search-pop, .search-form { transition: none; }
}

/* Aviso de cookies do núcleo: cantos retos como o resto do site */
.cc, .cc-b button { border-radius: 0 !important; }
