/* Sagaz — oficina do litoral. Camada compartilhada de todas as páginas. */
:root {
  --navy: #163b4a; --navy-2: #102f3b; --navy-light: #245568;
  --ice: #e9f0ed; --ice-2: #dce8e3; --white: #fff;
  --gray-50: #f6f4ee; --gray-100: #eeece5; --gray-200: #dfdfd5;
  --gray-300: #c5cec7; --gray-400: #83928a; --gray-500: #52645e;
  --gray-600: #40534e; --gray-700: #273e38;
  --orange: #a84417; --orange-dark: #873613; --green: #176a44; --green-dark: #105336;
  --cyan-300: #52645e; --link-hover: #a84417;
  --ff: "Segoe UI", Arial, sans-serif;
  --fs-base: 1rem; --fs-sm: 1rem; --fs-xs: .8125rem; --fs-md: 1.125rem;
  --fs-lg: 1.25rem; --fs-xl: 1.25rem;
  --fs-hero: clamp(2rem, 4.5vw, 3.75rem); --fs-2xl: clamp(1.6rem, 3vw, 2.5rem);
  --r: 10px; --r-sm: 6px; --r-lg: 12px; --r-xl: 16px;
  --wrap: 1160px; --gutter: 24px; --header-h: 80px; --header-h-mobile: 72px;
  --section-py: clamp(3rem, 6vw, 5rem); --section-py-mobile: 2.75rem;
  --shadow: 0 4px 16px #163b4a08; --shadow-lg: 0 10px 30px #163b4a12;
  --shadow-card: none;
}
html { scroll-padding-top: 96px; }
body { padding-top: var(--header-h); background: var(--gray-50); font-size: 1rem; line-height: 1.65; }
body, p, li, a { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif; }
h1 { line-height: 1.08; letter-spacing: -.035em; }
h2 { line-height: 1.18; letter-spacing: -.025em; }
h3 { line-height: 1.35; letter-spacing: -.01em; }
a { text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--wrap)); }
.reveal, .rev-up { opacity: 1; transform: none; transition: none; }
.hdr { background: #f6f4ee; box-shadow: none; border-bottom: 1px solid var(--gray-200); height: var(--header-h); }
.hdr-in { height: 100%; gap: 24px; padding-inline: var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); }
.hdr .brand { gap: 10px; flex-shrink: 1; min-width: 0; }
.hdr .brand img { width: 40px; height: 40px; flex-shrink: 0; }
.brand-txt b { font-family: "Bahnschrift", "Segoe UI", sans-serif; font-size: 1.08rem; letter-spacing: -.025em; }
.brand-txt span { font-size: .7rem; letter-spacing: .04em; margin-top: 3px; }
.hdr-nav { gap: 4px; }
.hdr-nav a { font-size: .9rem; border-radius: 5px; min-height: 44px; }
.hdr-nav a.active { box-shadow: inset 0 -2px var(--orange); background: transparent; }
.hdr-cta { margin-left: 0; }
.hdr-tel { display: none; }
.hdr-cta .btn { font-size: .85rem; min-height: 44px; padding: .7rem 1rem; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 10px; text-decoration: none; color: var(--navy); font-size: .875rem; font-weight: 650; }
.search-trigger svg { width: 20px; height: 20px; }
.burger { width: 44px; min-width: 44px; height: 44px; margin-left: 0; border: 1px solid var(--gray-300); border-radius: 6px; gap: 4px; background: transparent; }
.burger > span { width: 19px; height: 2px; }
.burger > .burger-label { display: none; }
.has-drop .drop { border-radius: 8px; top: 100%; left: 0; transform: none; }
.has-drop .drop.open { display: block; }
.drop-cat { color: var(--gray-500); }
.nav-overlay { background: #102f3b70; }
.nav-mobile { width: min(100%, 420px); background: var(--gray-50); height: 100dvh; bottom: auto; visibility: hidden; box-shadow: none; }
.nav-mobile.open { visibility: visible; }
.nav-mobile-header { min-height: 72px; padding: 12px 20px; }
.mobile-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-close { height: 44px; width: 44px; border-radius: 6px; border: 1px solid var(--gray-300); background: transparent; }
.nav-mobile-body { overflow-y: auto; flex: 1; padding: 8px 0; }
.nav-mobile-body > a { min-height: 54px; padding: 12px 24px; font-size: 1.1rem; }
.nav-mobile-body > .nav-priority { color: var(--orange); font-weight: 750; }
.nav-mobile-body a.active { background: var(--ice); box-shadow: inset 3px 0 var(--orange); }
.nav-acc summary { min-height: 54px; padding: 12px 24px; font-size: 1.1rem; }
.nav-acc-links a { padding: 10px 24px 10px 36px; min-height: 48px; font-size: .95rem; }
.nav-mobile-footer { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); background: var(--gray-50); }
.nav-mobile-footer .btn { min-height: 48px; font-size: .95rem; }
.nav-mobile-footer .btn + .btn { margin: 0; }
.hero, .pghead { background: var(--gray-50); padding: clamp(2rem, 5vw, 4rem) 0; }
.hero::before, .hero::after, .pghead::before, .pghead::after { display: none; }
.hero h1, .pghead h1 { color: var(--navy); max-width: 23ch; font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 span, .pghead h1 span, .grad { color: inherit; background: none; -webkit-text-fill-color: currentColor; white-space: normal; }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
.hero-lead, .hero .lead, .pghead .lead { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.65; max-width: 58ch; }
.hero-badge, .live { display: flex; align-items: center; gap: 8px; width: fit-content; background: none; padding: 0; border: 0; border-radius: 0; color: var(--gray-600); font-size: .8125rem; font-weight: 650; margin-bottom: 20px; box-shadow: none; }
.hero-badge .dot, .live .dot { background: var(--orange); width: 6px; height: 6px; box-shadow: none; animation: none; flex-shrink: 0; }
.hero-img { border: 0; border-radius: 12px; box-shadow: none; aspect-ratio: 4 / 3; background: var(--ice); }
.hero-img::after { display: none; }
.hero-img img { min-height: 0; height: 100%; object-fit: cover; }
.hero-art { width: 100%; min-width: 0; max-width: 100%; padding: 12px; background: var(--ice); border: 1px solid var(--gray-200); border-radius: 12px; }
.hero-art .equip { max-width: 100%; border-radius: 6px; background: transparent; }
.hero-art .selo { width: 72px; height: 72px; bottom: 12px; right: 12px; box-shadow: none; }
.hero-acts, .btn-row, .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-acts .btn { width: auto; min-height: 50px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-trust li { padding: 0; min-height: 0; margin: 0; background: none; border: 0; color: var(--gray-600); font-size: .8rem; }
.hero-trust li svg { color: var(--green); }
nav.crumb, .crumb { padding-top: 18px; padding-bottom: 10px; font-size: .78rem; color: var(--gray-500); line-height: 1.5; }
.btn { min-height: 48px; padding: .85rem 1.15rem; border-radius: 6px; font-size: .9375rem; white-space: normal; line-height: 1.3; box-shadow: none; }
.btn:hover { transform: none; box-shadow: none; }
.btn-wpp, .btn-wpp:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn-wpp:hover { background: var(--green-dark); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-outline, .btn-tel, .btn-ghost { background: transparent; color: var(--navy); border-color: var(--gray-300); }
.btn-outline:hover, .btn-tel:hover, .btn-ghost:hover { background: var(--ice); color: var(--navy); border-color: var(--navy); }
.sec-head .kicker, .eyebrow { color: var(--orange); font-size: .75rem; letter-spacing: .1em; font-weight: 750; }
.sec-head p { color: var(--gray-500); font-size: 1rem; }
.sec-navy { background: var(--navy); }
.sec-navy strong, .sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-navy p { color: #dce8e3; }
.grid, .service-cards, .segment-grid { gap: 16px; }
.card { border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: none; background: #fff; transform: none; text-decoration: none; }
.card:hover { border-color: #adbdb3; transform: none; box-shadow: none; }
.card h3 { font-size: 1.125rem; }
.card p { font-size: .9375rem; color: var(--gray-600); line-height: 1.6; }
.card-body { padding: 22px; }
.card > :is(h2,h3,p,ul,.btn,.more,.eyebrow) { margin-left: 22px; margin-right: 22px; }
.card > :is(h2,h3,p,ul,.btn,.more,.eyebrow):first-child { margin-top: 22px; }
.card > :is(.btn,.more):last-child { margin-bottom: 22px; }
.card > .btn-block { width: calc(100% - 44px); }
.card > h3 { margin-top: 20px; }
.card > p:last-child, .card > ul:last-child { margin-bottom: 22px !important; }
.svc-img { aspect-ratio: 16/9; height: auto !important; background: var(--ice); }
.svc-img img { transform: none !important; object-fit: cover; }
.trust-bar { box-shadow: none; background: transparent; border: 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); border-radius: 0; margin: 0; padding: 22px 0; }
.trust-bar > div { padding: 0 20px; background: transparent; border-radius: 0; box-shadow: none; }
.trust-bar b { font-size: 1rem; background: transparent; border: 0; border-radius: 0; padding: 0; }
.trust-bar span { font-size: .8rem; }
.emerg { background: #f3e6d8; border: 0; border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; box-shadow: none; }
.emerg span { color: var(--gray-600); }
.steps li { border-radius: 8px; box-shadow: none; }
.checks li, .tags li, .chip, .chips a, .cnav a, .localnav a { font-size: .875rem; }
.cnav a, .localnav a { border-radius: 6px; white-space: normal; min-height: 44px; }
.prosa, .prose { font-size: 1rem; line-height: 1.8; max-width: 72ch; }
.faq details { border-radius: 8px; border-color: var(--gray-200); box-shadow: none; }
.faq summary { font-size: 1rem; min-height: 52px; padding: 18px 20px; }
.faq .ans, .faq .faq-body { font-size: .9375rem; padding: 0 20px 20px; }
.cta-band { background: var(--navy); border-radius: 12px; box-shadow: none; padding: clamp(24px, 4vw, 48px); }
.cta-band h2, .cta-band strong { color: #fff; }
.cta-band p { color: #dce8e3; font-size: 1rem; }
.cta-band .btn-tel, .cta-band .btn-outline { color: #fff; background: transparent; border-color: #ffffff66; }
.callcard { border-radius: 10px; box-shadow: none; }
.gal-track { scroll-snap-type: x mandatory; }
.gal-item { scroll-snap-align: start; border-radius: 8px; box-shadow: none; }
iframe { max-width: 100%; }
.ft { background: var(--navy); padding-bottom: 28px; }
.ft .brand-txt b, .ft strong { color: #fff; }
.ft p, .ft li, .ft ul a { color: #dce8e3; font-size: .875rem; }
.ft ul a { min-height: 44px; }
.ft-grid { gap: 32px; }
.ft-bottom { font-size: .75rem; color: #dce8e3; }
.suprema { font-size: .75rem; }
.suprema .pill { box-shadow: none; background: none; border: 0; padding: 0; flex-wrap: wrap; gap: 5px; justify-content: center; }
.credito-heart { animation: none; filter: none; }
#developer-suprema-link { font-size: .75rem; color: #dce8e3; border: 0; font-weight: 600; }
.fabs { bottom: 24px; right: 24px; }
.fab { width: 48px; height: 48px; box-shadow: var(--shadow-lg); }
.fab-wpp { background: var(--green); }
.fab-tel { background: var(--navy); }
.dock { display: none; }
.home-intro { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.home-hero h1 { max-width: 17ch; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.home-hero h1 em { font-style: normal; color: var(--orange); }
.home-hero .hero-lead { max-width: 47ch; margin-top: 18px; margin-bottom: 24px; }
.home-visual { position: relative; background: var(--navy); border-radius: 12px; overflow: hidden; min-height: 390px; }
.home-visual img { width: 100%; height: 390px; object-fit: contain; }
.home-visual figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; color: #fff; font-size: .75rem; border-top: 1px solid #ffffff35; padding-top: 12px; gap: 12px; }
.home-visual figcaption b { font-size: 1rem; color: #fff; }
.quick-search { max-width: 680px; margin: 20px 0 0; }
.quick-search label { font-size: .875rem; }
.search-field { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--gray-300); padding: 6px; border-radius: 8px; }
.search-field svg { width: 20px; height: 20px; margin-left: 8px; flex-shrink: 0; color: var(--gray-500); }
.search-field input { flex: 1; width: 100%; min-width: 0; min-height: 44px; border: 0; outline-offset: -2px; padding: 8px; background: transparent; border-radius: 4px; font-size: 16px; }
.search-field .btn { padding: 10px 14px; min-height: 44px; background: var(--navy); color: #fff; }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-hints a, .search-hints button { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; padding: 5px 12px; border: 1px solid var(--gray-200); background: transparent; color: var(--navy); border-radius: 6px; text-decoration: none; }
.problem-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--gray-200); }
.problem-link { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-bottom: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-decoration: none; color: var(--navy); }
.problem-link:last-child { border-right: 0; }
.problem-link:hover { background: var(--ice); }
.problem-link .problem-num { font-size: .7rem; letter-spacing: .1em; color: var(--orange); }
.problem-link strong { font-size: 1.15rem; line-height: 1.3; }
.problem-link small { font-size: .85rem; color: var(--gray-500); }
.problem-link .problem-arrow { margin-top: auto; color: var(--orange); }
.service-local { padding: 24px; border-left: 3px solid var(--orange); background: var(--ice); margin-top: 28px; }
.service-local h2 { font-size: 1.4rem; margin-bottom: 12px; }
.symptom-detail { scroll-margin-top: 100px; border-top: 1px solid var(--gray-200); padding: 24px 0; }
.symptom-detail h3 { margin-bottom: 10px; }
.symptom-detail .more { display: inline-flex; align-items: center; min-height: 44px; }
.search-dialog { position: fixed; inset: 0; width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; border: 1px solid var(--gray-200); background: var(--gray-50); color: var(--navy); border-radius: 12px; padding: 24px; overflow-y: auto; box-shadow: 0 24px 80px #0003; }
.search-dialog::backdrop { background: #102f3b80; }
.search-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.search-dialog-head h2 { font-size: 1.5rem; }
.search-status { font-size: .875rem; color: var(--gray-500); margin: 18px 0 12px; }
.search-results { display: grid; gap: 12px; }
.search-result { display: block; padding: 20px; border: 1px solid var(--gray-200); background: #fff; border-radius: 8px; text-decoration: none; }
.search-result:hover { border-color: var(--navy); }
.search-result small { display: block; color: var(--orange); font-size: .72rem; margin-bottom: 5px; }
.search-result h3 { font-size: 1.125rem; margin-bottom: 8px; }
.search-result p { font-size: .9rem; color: var(--gray-500); }
.search-empty { padding: 20px; background: var(--ice); border-radius: 8px; }
.search-empty .btn { margin-top: 16px; }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.table-mobile-hint { font-size: .75rem; color: var(--gray-500); margin: 8px 0; }
@media (min-width: 1024px) { .hdr-nav { margin-left: auto; margin-right: 0; } .header-tools { margin-left: 0; } }
@media (max-width: 1023px) {
  body { padding-top: var(--header-h-mobile); }
  .hdr { height: var(--header-h-mobile); }
  .hdr-in { gap: 12px; height: 100%; }
  .hdr-nav, .hdr-cta { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: minmax(0,1fr) !important; gap: 28px; }
  .hero h1 { max-width: 25ch; }
  .home-hero .hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr) !important; gap: 24px; }
  .home-hero h1 { font-size: 2.7rem; }
  .home-visual, .home-visual img { min-height: 340px; height: 340px; }
  .problem-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .problem-link:nth-child(2) { border-right: 0; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --fs-hero: clamp(1.9rem, 7vw, 2.75rem); }
  body { --dock-h: calc(76px + env(safe-area-inset-bottom)); padding-bottom: var(--dock-h); overflow-x: clip; }
  section { padding: 40px 0; }
  .hdr-in { padding-inline: 16px; gap: 8px; }
  .hdr .brand img { width: 34px; height: 34px; }
  .brand-txt b { font-size: .93rem; }
  .brand-txt span { font-size: .65rem; }
  .search-trigger { padding-inline: 7px; }
  .search-trigger span { display: none; }
  .hero, .pghead { padding-bottom: 32px; }
  .hero h1, .pghead h1 { font-size: var(--fs-hero); max-width: 100%; }
  .hero-lead, .hero .lead { font-size: 1rem; }
  .home-hero .hero-grid { grid-template-columns: minmax(0,1fr) !important; gap: 28px; }
  .home-hero h1 { font-size: clamp(2.35rem, 9.5vw, 3.4rem); max-width: 19ch; }
  .home-hero .hero-lead { margin-top: 16px; margin-bottom: 20px; }
  .home-visual, .home-visual img { height: 290px; min-height: 290px; }
  .hero-img { max-height: 300px; }
  .hero-trust { gap: 8px 16px; margin-top: 18px; }
  .hero-acts, .btn-row, .cta-actions { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; }
  .hero-acts .btn, .btn-row .btn, .cta-actions .btn { width: 100%; min-height: 48px; }
  .trust-bar { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .trust-bar > div { padding: 0; border: 0; }
  .emerg { padding: 20px; gap: 16px; }
  .emerg .btn { width: 100%; }
  .problem-link { padding: 20px 14px; }
  .problem-link strong { font-size: 1.03rem; }
  .card-body { padding: 20px; }
  .grid.g2, .grid.g3, .grid.g4, .service-cards, .segment-grid { grid-template-columns: minmax(0,1fr) !important; }
  .steps { grid-template-columns: minmax(0,1fr); }
  .ft-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
  .fabs { display: none; }
  .dock { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); position: fixed; z-index: 110; inset: auto 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; background: var(--gray-50); border-top: 1px solid var(--gray-300); box-shadow: 0 -4px 18px #163b4a08; }
  .dock .btn { min-height: 48px; padding: 10px 12px; font-size: .9rem; border-radius: 6px; }
  .search-dialog { max-height: calc(100dvh - 24px); padding: 18px; width: calc(100% - 24px); }
  .search-dialog-head h2 { font-size: 1.25rem; }
  .search-result { padding: 16px; }
  .tabela-ar { min-width: 640px; }
  .photogrid-arcond { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .hdr-in { padding-inline: 12px; }
  .hdr .brand { gap: 7px; }
  .brand-txt b { font-size: .82rem; }
  .hdr .brand img { width: 30px; height: 30px; }
  .header-tools { gap: 2px; }
  .home-hero h1 { font-size: 2.15rem; }
  .search-field { gap: 2px; }
  .search-field > svg { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { body { padding: 0; } .hdr, .dock, .fabs, .nav-mobile, .nav-overlay, .search-dialog, .search-trigger { display: none !important; } }
