/* ================================================================
   FISCOSEGUR — Brand Design System
   Font: Inter
   Palette: Brand Blue #005A9C / Light #f7f8fa / Dark #1a1a2e
   ================================================================ */

/* --- Tokens --- */
:root {
  --black:    #0a0f1e;
  --dark:     #1a1a2e;
  --gray:     #4b5563;
  --light:    #f7f8fa;
  --white:    #ffffff;
  --accent:   #005A9C;
  --accent-light: #0071C1;
  --accent-dark: #004578;
  --accent-navy: #003c71;
  --accent-deepest: #001a33;
  --link:     #005A9C;
  --link-dark:#4da6e0;
  --card-dark:#1a2332;
  --body:     #374151;
  --light-2:  #eef1f6;
  --success:  #30d158;
  --danger:   #ff453a;
  --r:        8px;
  --r-pill:   980px;
  --font:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease:     cubic-bezier(.42, 0, .58, 1);
  --hdr:      72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent }
html { scroll-behavior: smooth; overflow-x: hidden }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%; display: block; height: auto;
  -webkit-user-drag: none; user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none; user-select: none;
  pointer-events: none;
}
a { text-decoration: none; color: inherit }
ul { list-style: none }
address { font-style: normal }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.07;
  letter-spacing: -0.04em;
  font-weight: 700;
}
h2 em, h1 em { font-style: normal; color: var(--accent) }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px }
.hide-mobile { display: inline-flex }

/* --- Scroll Bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 9999; pointer-events: none;
}

/* --- Reveal Animations --- */
[data-reveal] { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease) }
[data-reveal="up"] { transform: translateY(24px) }
[data-reveal="down"] { transform: translateY(-24px) }
[data-reveal="left"] { transform: translateX(-30px) }
[data-reveal="right"] { transform: translateX(30px) }
[data-reveal="scale"] { transform: scale(.95) }
[data-reveal="fade"] { transform: none }
[data-reveal].shown { opacity: 1; transform: none }
[data-reveal][data-delay="1"] { transition-delay: .1s }
[data-reveal][data-delay="2"] { transition-delay: .2s }
[data-reveal][data-delay="3"] { transition-delay: .3s }
[data-reveal][data-delay="4"] { transition-delay: .4s }
[data-reveal][data-delay="5"] { transition-delay: .5s }

.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
.fade-up.show { opacity: 1; transform: none }
.d1 { transition-delay: .1s } .d2 { transition-delay: .2s } .d3 { transition-delay: .3s } .d4 { transition-delay: .4s } .d5 { transition-delay: .5s }

img[loading="lazy"] { opacity: 0; transition: opacity .5s var(--ease) }
img[loading="lazy"].loaded, img.loaded { opacity: 1 }

@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .55 } 100% { transform: scale(1.9); opacity: 0 } }

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  border: none; cursor: pointer;
  transition: all .3s var(--ease); white-space: nowrap; line-height: 1.4;
}
.btn--accent {
  background: var(--accent); color: #fff;
}
.btn--accent:hover {
  background: var(--accent-light);
}
.btn--glass {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover {
  background: rgba(255,255,255,.22);
}
.btn--outline {
  background: transparent; color: var(--link-dark);
  border: 1px solid rgba(255,255,255,.24);
}
.btn--outline:hover {
  background: rgba(255,255,255,.08);
}
.btn--pill {
  border-radius: var(--r-pill);
  padding: 10px 24px;
  font-size: 14px;
}
.btn--sm { padding: 8px 18px; font-size: 13px }
.btn--block { width: 100%; justify-content: center }

/* Pinned header button overrides */
.header.pinned .btn--outline {
  color: var(--accent);
  border: 1px solid rgba(0,0,0,.12);
  background: transparent;
}
.header.pinned .btn--outline:hover {
  background: var(--light);
}

/* ======================== HEADER ======================== */
.header {
  position: fixed; inset: 0 0 auto; height: var(--hdr); z-index: 200;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; height: 100%; gap: 16px; padding: 12px 0 }
.header .btn--outline { flex-shrink: 0 }
.header .btn:hover { transform: none; box-shadow: none }
.logo { margin-right: 20px }
.logo img { height: 26px; width: auto; filter: brightness(0) invert(1); transition: filter .35s var(--ease) }

.header.pinned {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.header.pinned .logo img { filter: none }
.header.pinned .nav a { color: rgba(0,60,113,.8) }
.header.pinned .nav a:hover, .header.pinned .nav a.active { color: var(--accent-navy) }
.header.pinned .nav__toggle { color: rgba(0,60,113,.8) }
.header.pinned .nav__toggle:hover, .header.pinned .nav__dropdown:hover .nav__toggle { color: var(--accent-navy) }
.header.pinned .btn--outline { color: var(--accent-navy); border-color: var(--accent-navy) }
.header.pinned .btn--outline:hover { background: var(--accent-navy); color: #fff }
.header.pinned .burger span { background: var(--accent-navy) }
.header.pinned .nav__menu { background: rgba(255,255,255,.95); border-color: rgba(0,0,0,.08); box-shadow: 0 4px 24px rgba(0,0,0,.08) }
.header.pinned .nav__menu a { color: rgba(0,60,113,.8) }
.header.pinned .nav__menu a:hover { color: var(--accent-navy); background: rgba(0,60,113,.04) }

/* Light header — active when scrolled past hero */
.header.header--light {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.header.header--light .logo img { filter: none }
.header.header--light .nav a, .header.pinned.header--light .nav a { color: rgba(0,60,113,.8) }
.header.header--light .nav a:hover, .header.header--light .nav a.active,
.header.pinned.header--light .nav a:hover, .header.pinned.header--light .nav a.active { color: var(--accent-navy) }
.header.header--light .nav__toggle, .header.pinned.header--light .nav__toggle { color: rgba(0,60,113,.8) }
.header.header--light .nav__toggle:hover, .header.header--light .nav__dropdown:hover .nav__toggle,
.header.pinned.header--light .nav__toggle:hover, .header.pinned.header--light .nav__dropdown:hover .nav__toggle { color: var(--accent-navy) }
.header.header--light .nav__menu { background: rgba(255,255,255,.95); border-color: rgba(0,0,0,.08); box-shadow: 0 4px 24px rgba(0,0,0,.08) }
.header.header--light .nav__menu a { color: var(--accent) }
.header.header--light .nav__menu a:hover { color: var(--accent-light); background: rgba(0,90,156,.06) }
.header.header--light .btn--outline, .header.pinned.header--light .btn--outline { color: var(--accent-navy); border-color: var(--accent-navy) }
.header.header--light .btn--outline:hover, .header.pinned.header--light .btn--outline:hover { background: var(--accent-navy); color: #fff }
.header.header--light .burger span, .header.pinned.header--light .burger span { background: var(--accent-navy) }

.nav { display: flex; gap: 10px; margin: 0 0 0 auto; align-items: center }
.nav a {
  padding: 8px 18px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.8); letter-spacing: -.01em;
  border-radius: 6px; transition: color .22s;
}
.nav a:hover, .nav a.active { color: #fff }

/* Pinned nav — blue on white */
.header.pinned .nav a { color: rgba(0,60,113,.8) }
.header.pinned .nav a:hover, .header.pinned .nav a.active { color: var(--accent-navy) }

/* --- Nav Dropdowns --- */
.nav__dropdown { position: relative; display: inline-flex; align-items: center }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.8); letter-spacing: -.01em;
  border-radius: 6px; transition: color .22s; cursor: pointer;
}
.nav__toggle i { font-size: 8px; transition: transform .25s var(--ease); opacity: .5 }
.nav__dropdown:hover .nav__toggle i { transform: rotate(180deg); opacity: .8 }
.nav__toggle:hover, .nav__dropdown:hover .nav__toggle { color: #fff }

.nav__menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 190px; background: rgba(0,26,51,.92);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: var(--r); box-shadow: 0 4px 24px rgba(0,26,51,.4);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease); pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
}
.nav__dropdown:hover .nav__menu { opacity: 1; visibility: visible; pointer-events: auto }
.nav__menu a {
  display: block; padding: 9px 18px; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.7); transition: color .15s; letter-spacing: -.01em;
}
.nav__menu a:hover { color: #fff }

.burger {
  display: none; background: 0 0; border: 0; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 4px; z-index: 201;
}
.burger span { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: #fff; transition: transform .3s, opacity .3s }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px) }
.burger.open span:nth-child(2) { opacity: 0 }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px) }

/* ======================== DRAWER ======================== */
.drawer {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(0,26,51,.97);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .32s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: auto }
.drawer__nav { display: flex; flex-direction: column; align-items: center; gap: 20px }
.drawer__nav > a {
  color: rgba(255,255,255,.92); font-family: var(--font); font-size: 28px;
  font-weight: 600; letter-spacing: -0.03em; transition: color .2s;
}
.drawer.open .drawer__nav > a, .drawer.open .drawer__nav > .drawer__group { opacity: 1; transform: none }
.drawer__nav > a, .drawer__nav > .drawer__group {
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.drawer.open .drawer__nav > :nth-child(1) { transition-delay: .04s }
.drawer.open .drawer__nav > :nth-child(2) { transition-delay: .08s }
.drawer.open .drawer__nav > :nth-child(3) { transition-delay: .12s }
.drawer.open .drawer__nav > :nth-child(4) { transition-delay: .16s }
.drawer.open .drawer__nav > :nth-child(5) { transition-delay: .2s }
.drawer.open .drawer__nav > :nth-child(6) { transition-delay: .24s }
.drawer.open .drawer__nav > :nth-child(7) { transition-delay: .28s }
.drawer__nav a:hover { color: var(--link-dark) }

.drawer__group { display: flex; flex-direction: column; align-items: center; width: 100% }
.drawer__toggle {
  background: 0 0; border: 0; color: rgba(255,255,255,.92);
  font-family: var(--font); font-size: 28px; font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .25s;
}
.drawer__toggle:hover { color: var(--link-dark) }
.drawer__toggle i { font-size: 10px; transition: transform .3s var(--ease); opacity: .4 }
.drawer__group.open .drawer__toggle { color: var(--link-dark) }
.drawer__group.open .drawer__toggle i { transform: rotate(180deg); opacity: 1 }
.drawer__sub {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease); padding: 0;
}
.drawer__group.open .drawer__sub { max-height: 350px; padding: 14px 0 4px }
.drawer__sub a {
  color: rgba(255,255,255,.5); font-family: var(--font); font-size: 17px;
  font-weight: 400; padding: 6px 20px; border-radius: 4px; transition: color .2s;
}
.drawer__sub a:hover { color: #fff }
.drawer.open .drawer__group .drawer__toggle { opacity: 1; transform: none }

/* ======================== HERO ======================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-start;
  overflow: hidden;
  background: var(--black) url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,26,51,.85) 0%, rgba(0,69,120,.75) 50%, rgba(0,90,156,.65) 100%);
  z-index: 1;
}
#aurora { display: none }
.hero::after { display: none }

.hero__inner {
  position: relative; z-index: 2;
  padding: calc(var(--hdr) + 48px) 24px 100px;
  text-align: left;
  width: 100%;
}
.hero__text {
  max-width: 700px;
  margin: 0 auto;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  letter-spacing: -0.01em; text-transform: none;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 24px;
}
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); flex-shrink: 0; animation: pulse 2s infinite;
}

.hero__text h1 {
  font-size: clamp(40px, 7vw, 80px);
  color: #fff; margin-bottom: 20px;
  letter-spacing: -0.05em;
  line-height: 1.07;
  font-weight: 700;
}
.hero__text h1 em {
  font-style: normal;
  color: var(--link-dark);
}
.hero__text p {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,.88);
  max-width: 540px; margin: 0 0 36px;
  line-height: 1.47;
  letter-spacing: -0.01em;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start }
.hero__cta .btn { border-radius: var(--r-pill) }

/* KPI strip */
.hero__kpi {
  display: flex; justify-content: center; align-items: center; gap: 32px;
  width: 100%; margin-top: 64px; padding: 0;
  background: transparent; border: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.kpi { text-align: center }
.kpi strong {
  display: block; font-family: var(--font); font-size: 32px;
  color: #fff; font-weight: 700; line-height: 1; letter-spacing: -0.03em;
}
.kpi span {
  font-size: 12px; color: rgba(255,255,255,.4);
  text-transform: none; letter-spacing: 0;
  font-weight: 400; margin-top: 6px; display: block;
}
.kpi__sep { width: 1px; height: 32px; background: rgba(255,255,255,.12) }

/* ======================== SECTION HEADS ======================== */
.sec-head { text-align: left; margin-bottom: 56px }
.sec-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 12px; letter-spacing: -0.04em; line-height: 1.07;
}
.sec-head p {
  color: var(--gray); max-width: 560px; margin: 0;
  font-size: 17px; letter-spacing: -0.01em;
}

.label {
  display: inline-block; font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none;
  color: var(--gray); margin-bottom: 8px;
  padding: 0; border: none; border-radius: 0; background: none;
}
.label--light { color: rgba(255,255,255,.5) }

/* ======================== SERVICES ======================== */
.services { padding: 120px 0; background: var(--light) }
.services__cta { text-align: left; margin-top: 48px }
.grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }

.card {
  background: var(--white); padding: 44px 32px 34px;
  border-radius: var(--r); border: 1px solid rgba(0,0,0,.06);
  box-shadow: none; position: relative;
  transition: border-color 0s, transform 0s, box-shadow 0s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,90,156,.08) }
.card h3 {
  font-size: 20px; margin-bottom: 10px;
  letter-spacing: -0.02em; line-height: 1.14; font-weight: 600;
  color: #000;
}
.card p {
  font-size: 15px; color: var(--gray); line-height: 1.47;
  letter-spacing: -0.01em;
}

/* ======================== ABOUT ======================== */
.about { padding: 120px 0; background: url('../images/about-bg.png') center/cover no-repeat; position: relative }
.about::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none }
.about > .wrap { position: relative; z-index: 1 }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center }

.about__visual { position: relative; max-width: 420px; align-self: end }
.about__portrait { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 24px rgba(0,0,0,.12)); margin-top: 40px }
.about__image {
  position: relative; border-radius: var(--r); overflow: hidden;
}
.about__image img { width: 100%; height: auto; display: block }

.about__badge {
  position: absolute; bottom: -12px; right: -12px;
  background: var(--accent); color: #fff;
  padding: 14px 20px; border-radius: var(--r); text-align: center;
}
.about__badge strong {
  display: block; font-family: var(--font); font-size: 28px;
  font-weight: 700; line-height: 1; letter-spacing: -0.03em;
}
.about__badge span {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em;
  opacity: .8; font-weight: 500;
}

.about__body h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px; letter-spacing: -0.04em; line-height: 1.07;
  color: var(--dark);
}
.about__body > p {
  font-size: 17px; margin-bottom: 32px; line-height: 1.47;
  color: var(--body); letter-spacing: -0.01em;
}

.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.about__feat {
  display: flex; gap: 14px; padding: 16px;
  border-radius: 12px; transition: all .3s var(--ease);
  background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.about__feat:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.06) }
.about__feat-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r);
  background: rgba(0,90,156,.08);
  display: grid; place-items: center; color: var(--accent);
  font-size: 16px;
}
.about__feat strong {
  font-size: 14px; display: block; color: var(--dark);
  font-family: var(--font); font-weight: 700;
  margin-bottom: 2px; letter-spacing: -0.01em;
  transition: color .3s var(--ease);
}
.about__feat:hover strong { color: var(--accent) }
.about__feat span { font-size: 13px; color: var(--gray); line-height: 1.4 }

/* ======================== NUMBERS ======================== */
.numbers { padding: 100px 0; background: linear-gradient(135deg, var(--accent-deepest) 0%, var(--accent-dark) 40%, var(--accent) 100%) }
.numbers__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.num {
  text-align: center; padding: 32px 16px; color: #fff;
  background: transparent; border: none; border-radius: var(--r);
}
.num i { font-size: 18px; opacity: .5; margin-bottom: 12px; display: block; color: rgba(255,255,255,.6) }
.num strong {
  display: block; font-family: var(--font);
  font-size: clamp(32px, 4vw, 56px); font-weight: 700;
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.04em;
}
.num > span {
  font-size: 13px; text-transform: none; letter-spacing: -0.01em;
  color: rgba(255,255,255,.4); font-weight: 400;
}

/* ======================== CTA SECTION ======================== */
.cta-section { padding: 120px 0; background: var(--light) }
.cta-box {
  max-width: 600px; margin: 0; text-align: left;
}
.cta-box .label--light { color: var(--gray) }
.cta-box h2 {
  font-size: clamp(28px, 4vw, 48px); color: var(--dark);
  margin-bottom: 14px; letter-spacing: -0.04em; line-height: 1.07;
}
.cta-box p {
  color: var(--gray); font-size: 17px; line-height: 1.47;
  margin-bottom: 32px; letter-spacing: -0.01em;
}
.cta-box .btn { margin-bottom: 20px; border-radius: var(--r-pill) }
.cta-box small {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 8px; font-size: 13px; color: var(--gray);
}

/* ======================== CONTACT ======================== */
.contact { padding: 120px 0; background: var(--white) }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px }

.form {
  background: var(--light); padding: 40px; border-radius: var(--r);
  border: none; box-shadow: none;
}
.field { margin-bottom: 18px }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--dark); margin-bottom: 6px; letter-spacing: -0.01em;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(0,0,0,.1); border-radius: var(--r);
  font: inherit; font-size: 15px; color: var(--dark);
  background: var(--white); transition: border-color .22s, box-shadow .22s;
  letter-spacing: -0.01em;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,90,156,.12);
}
.field textarea { resize: vertical; min-height: 100px }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868b' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }

.contact__aside { display: flex; flex-direction: column; gap: 12px }
.info-card {
  display: flex; gap: 14px; padding: 18px;
  background: var(--light); border-radius: var(--r);
  border: none; transition: transform .25s var(--ease);
}
.info-card:hover { transform: translateX(3px) }
.info-card__ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r);
  background: rgba(0,90,156,.08);
  display: grid; place-items: center; color: var(--accent); font-size: 16px;
}
.info-card strong {
  font-size: 14px; color: var(--dark); display: block;
  margin-bottom: 2px; font-weight: 600; letter-spacing: -0.01em;
}
.info-card p { font-size: 14px; color: var(--gray); line-height: 1.4 }
.info-card a { color: var(--link); font-weight: 500; transition: color .2s }
.info-card a:hover { color: var(--accent) }

.info-card__socials { display: flex; gap: 20px; margin-top: 14px }
.info-card__socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--light); border: 1px solid rgba(0,0,0,.06); color: var(--dark);
  font-size: 16px; transition: all .25s var(--ease);
}
.info-card__socials a:hover { transform: translateY(-2px) }
.info-card__socials a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #fff }
.info-card__socials a[aria-label="Instagram"]:hover { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); border-color: transparent; color: #fff }
.info-card__socials a[aria-label="WhatsApp"]:hover { background: #25d366; border-color: #25d366; color: #fff }

/* ======================== FOOTER ======================== */
.footer { background: var(--accent-dark); color: rgba(255,255,255,.5); padding: 60px 0 0 }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__brand img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 16px }
.footer__brand p { font-size: 14px; line-height: 1.47; margin-bottom: 16px; letter-spacing: -0.01em }
.socials { display: flex; gap: 10px }
.socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: none; color: rgba(255,255,255,.7);
  font-size: 14px; transition: all .25s var(--ease);
}
.socials a:hover { color: #fff; background: rgba(255,255,255,.12) }

.footer__col h4 {
  color: rgba(255,255,255,.9); font-family: var(--font);
  font-size: 13px; margin-bottom: 16px; font-weight: 600;
  letter-spacing: -0.01em;
}
.footer__col ul li { margin-bottom: 6px }
.footer__col ul a {
  font-size: 14px; color: rgba(255,255,255,.5);
  transition: color .2s; letter-spacing: -0.01em;
}
.footer__col ul a:hover { color: var(--link-dark) }
.footer__col address p {
  font-size: 13px; margin-bottom: 8px;
  display: flex; gap: 9px; align-items: flex-start;
}
.footer__col address i {
  color: rgba(255,255,255,.3); margin-top: 3px;
  width: 14px; text-align: center; flex-shrink: 0;
}
.footer__col address a { color: inherit; transition: color .2s }
.footer__col address a:hover { color: var(--link-dark) }

.footer__bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: rgba(255,255,255,.3);
}
.footer__bottom a { color: rgba(255,255,255,.5); transition: color .2s }
.footer__bottom a:hover { color: #fff }
.footer__legal a { color: inherit; text-decoration: none }
.footer__legal a:hover { color: #fff }

/* ======================== MARQUEE (hidden) ======================== */
.marquee { display: none }

/* ======================== COOKIE BANNER ======================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  background: rgba(0,26,51,.95);
  backdrop-filter: saturate(180%) blur(20px);
  color: rgba(255,255,255,.8); padding: 16px 0;
  transform: translateY(100%); transition: transform .4s var(--ease);
  border-top: 1px solid rgba(255,255,255,.06);
}
.cookie-banner.show { transform: translateY(0) }
.cookie-banner__inner {
  max-width: 1140px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
  justify-content: center;
}
.cookie-banner__inner p { flex: 0 1 auto; font-size: 12px; line-height: 1.4; letter-spacing: -0.01em; white-space: nowrap }
.cookie-banner__inner p a { color: var(--link-dark); text-decoration: underline; text-underline-offset: 2px }
.cookie-banner__inner p a:hover { color: #fff }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0 }

/* ======================== MODALS ======================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9995;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible }
.modal {
  background: var(--white); border-radius: 14px;
  max-width: 640px; width: 100%; max-height: 85vh;
  display: flex; flex-direction: column; position: relative;
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.modal-overlay.open .modal { transform: none }
.modal h2 {
  font-size: 24px; padding: 28px 32px 0; color: var(--dark);
  letter-spacing: -0.03em; line-height: 1.14;
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: var(--light);
  color: var(--gray); display: grid; place-items: center;
  cursor: pointer; font-size: 14px; transition: all .2s;
}
.modal__close:hover { background: rgba(0,0,0,.08); color: var(--dark) }
.modal__body {
  padding: 20px 32px 32px; overflow-y: auto;
  font-size: 15px; line-height: 1.47; color: var(--gray);
  letter-spacing: -0.01em;
}
.modal__body h3 {
  font-size: 17px; color: var(--dark); margin: 24px 0 8px;
  font-family: var(--font); letter-spacing: -0.02em; line-height: 1.14;
}
.modal__body h3:first-of-type { margin-top: 12px }
.modal__body ul { margin: 8px 0 8px 20px; list-style: disc }
.modal__body ul li { margin-bottom: 4px; font-size: 14px }
.modal__body a { color: var(--link); text-decoration: underline; text-underline-offset: 2px }
.modal__body a:hover { color: var(--accent) }
.modal__body p + p { margin-top: 8px }

/* ======================== WA + TOP ======================== */
.wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: grid; place-items: center; font-size: 24px;
  z-index: 90; box-shadow: 0 4px 16px rgba(48,209,88,.3);
  transition: transform .2s;
}
.wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(48,209,88,.2); animation: wa-ring 2s infinite; z-index: -1;
}
.wa:hover { transform: scale(1.06) }

.totop {
  position: fixed; bottom: 24px; right: 88px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.06); border: none;
  color: var(--gray); display: grid; place-items: center;
  font-size: 12px; cursor: pointer; z-index: 90;
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: all .28s var(--ease);
}
.totop.show { opacity: 1; pointer-events: auto; transform: none }
.totop:hover { background: var(--accent); color: #fff }

/* ======================== CARD LINK ======================== */
.card__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 14px; font-weight: 600;
  color: var(--accent); transition: gap 0s, color 0s; letter-spacing: -0.01em;
}
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1 }
.card { cursor: pointer }
.card__link:hover { gap: 12px }
.card__link span { font-size: 16px; line-height: 1 }

/* ======================== PAGE HERO (inner pages) ======================== */
.page-hero {
  padding: calc(var(--hdr) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--accent-deepest) 0%, var(--accent-dark) 40%, var(--accent) 100%);
  color: #fff; text-align: left;
  position: relative; overflow: hidden;
}
.page-hero--bg {
  background: url('') center/cover no-repeat;
}
.page-hero--bg::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,40,80,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.page-hero--bg .wrap { position: relative; z-index: 2 }
.page-hero .label { color: rgba(255,255,255,.4) }
.page-hero h1 {
  color: #fff; font-size: clamp(32px, 6vw, 64px);
  margin-top: 8px; letter-spacing: -0.05em; line-height: 1.07;
}
.page-hero h1 em { color: var(--link-dark); font-style: normal }
.page-hero p {
  color: rgba(255,255,255,.5); max-width: 560px;
  margin: 16px 0 0; font-size: 19px; letter-spacing: -0.01em;
}

/* ======================== QUEM SOMOS ======================== */

/* --- Intro --- */
.qs { padding: 80px 0 }
.qs__intro {
  max-width: 720px; margin: 0; text-align: left;
}
.qs__lead {
  font-size: clamp(20px, 2.8vw, 26px); font-weight: 400;
  line-height: 1.6; color: var(--dark); letter-spacing: -0.02em;
}
.qs__lead strong { font-weight: 700; color: var(--accent) }
.qs__meta {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 28px;
}
.qs__meta-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--gray);
}
.qs__meta-item i { font-size: 12px; color: var(--accent) }
.qs__meta-sep {
  width: 1px; height: 16px; background: rgba(0,0,0,.1);
}

/* --- Mission & Vision cards --- */
.qs-mv-section { padding: 80px 0; background: var(--light) }
.qs__mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.qs__mv-card {
  background: var(--white); border-radius: 16px; padding: 40px 36px;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.qs__mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,26,51,.08);
}
.qs__mv-card-top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.qs__mv-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 4px 12px rgba(0,90,156,.25);
}
.qs__mv-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent);
}
.qs__mv-card h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.03em; color: var(--dark); line-height: 1.2;
}
.qs__mv-card p {
  font-size: 15px; line-height: 1.65; color: var(--gray);
}
.qs__mv-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0; transition: opacity .35s;
}
.qs__mv-card:hover .qs__mv-line { opacity: 1 }

/* --- Pillars / Values --- */
.qs-pillars {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-deepest) 0%, var(--accent-dark) 40%, var(--accent) 100%);
  color: #fff;
}
.qs-pillars .label { color: rgba(255,255,255,.4) }
.qs-pillars .sec-head h2 { color: #fff }
.qs-pillars .sec-head h2 em { color: rgba(255,255,255,.5); font-style: normal }
.qs__pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.qs__pillar {
  padding: 28px 22px; border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, transform .3s, border-color .3s;
  text-align: left;
}
.qs__pillar:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-4px);
}
.qs__pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-grid; place-items: center; font-size: 20px;
  color: #fff; background: rgba(255,255,255,.1);
  margin-bottom: 16px;
}
.qs__pillar:hover .qs__pillar-icon { background: rgba(255,255,255,.15) }
.qs__pillar h4 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.qs__pillar p {
  font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.55);
}

/* --- Inscrições Oficiais --- */
.qs-oficiais { padding: 72px 0 80px; background: var(--white) }
.qs__oficiais-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 900px; margin: 0 auto;
}
.qs__oficial {
  display: flex; flex-direction: column; align-items: center; text-align: left;
  padding: 32px 28px; border-radius: 16px;
  background: var(--light); border: 1px solid rgba(0,0,0,.04);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.qs__oficial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.qs__oficial-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
  color: var(--accent);
  background: rgba(0,90,156,.08);
  margin-bottom: 16px;
}
.qs__oficial strong {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px; letter-spacing: -0.01em;
}
.qs__oficial span { font-size: 13px; color: var(--gray); line-height: 1.5 }

/* ======================== SERVICE SECTIONS (servicos.html) ======================== */
.svc { padding: 100px 0; background: var(--white) }
.svc--alt { background: var(--light) }
.svc .wrap { max-width: 860px }
.svc__head {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.svc__icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid; place-items: center; font-size: 22px; color: #fff;
}
.svc__head h2 {
  font-size: clamp(24px, 3vw, 32px); margin-bottom: 4px;
  letter-spacing: -0.03em; line-height: 1.14;
  color: #000; transition: color .25s;
}
.svc__head h2:hover { color: var(--accent) }
.svc__head p { font-size: 16px; color: var(--gray); line-height: 1.47; margin: 0; letter-spacing: -0.01em }
.svc__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px }
.svc__item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 15px; color: var(--gray); line-height: 1.47;
  padding: 14px 20px; background: var(--light);
  border: none; border-radius: var(--r);
  transition: background .25s;
  letter-spacing: -0.01em;
}
.svc--alt .svc__item { background: var(--white) }
.svc__item:hover { background: rgba(0,90,156,.04) }
.svc__item i { color: var(--accent); font-size: 12px; min-width: 14px }

.svc__subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px }
.svc__subcard {
  background: var(--light); border: none; border-radius: var(--r); padding: 28px 24px;
}
.svc__subcard h4 {
  font-family: var(--font); font-size: 16px; color: var(--dark);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.02em; line-height: 1.14;
}
.svc__subcard h4 i { color: var(--accent); font-size: 16px }
.svc__subcard ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px }
.svc__subcard li {
  position: relative; padding-left: 16px;
  font-size: 14px; color: var(--gray); line-height: 1.47;
}
.svc__subcard li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.svc__note {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  padding: 16px 20px; background: rgba(0,90,156,.04);
  border: none; border-radius: var(--r);
  font-size: 14px; color: var(--gray); letter-spacing: -0.01em;
}
.svc__note i { color: var(--accent); font-size: 16px; min-width: 20px }

.svc__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px }
.svc__tags span {
  padding: 10px 20px; background: rgba(0,90,156,.04);
  border: 1px solid rgba(0,90,156,.1);
  border-radius: var(--r-pill); font-size: 14px; font-weight: 500;
  color: var(--dark); transition: background .2s, border-color .2s;
  letter-spacing: -0.01em;
}
.svc__tags span:hover { background: rgba(0,90,156,.08); border-color: var(--accent) }

.svc__subtitle {
  font-family: var(--font); font-size: 13px; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 16px; font-weight: 600;
}
.svc__cta-row { display: flex; align-items: center; gap: 18px; margin-bottom: 8px }
.svc__cta-row .btn { border-radius: var(--r-pill) }
.svc__cta-hint { font-size: 14px; color: var(--gray) }
.svc__legal {
  margin-top: 32px; padding: 18px 24px;
  border: none; border-radius: var(--r);
  background: var(--light); display: flex; gap: 14px; align-items: flex-start;
}
.svc__legal > i { color: var(--gray); font-size: 16px; margin-top: 2px; min-width: 16px }
.svc__legal p { font-size: 13px; color: var(--gray); margin: 0 0 2px; line-height: 1.47 }
.svc__legal p:last-child { margin: 0 }
.svc .btn { margin-top: 4px }

/* --- Team Section --- */
.team { padding: 120px 0; background: var(--light) }
.grid--5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px }
.team-card {
  background: var(--white); padding: 36px 20px 28px;
  border-radius: var(--r); border: 1px solid rgba(0,0,0,.04);
  text-align: center; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  cursor: pointer;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,90,156,.1);
  border-color: rgba(0,90,156,.12);
}
.team-card__avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,90,156,.1), rgba(0,113,193,.06));
  display: grid; place-items: center; margin: 0 auto 18px;
  font-size: 36px; color: var(--accent);
  overflow: hidden; position: relative;
  transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .4s var(--ease);
}
.team-card__avatar--photo {
  background: var(--light);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.team-card__avatar img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.team-card:hover .team-card__avatar {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 12px 28px rgba(0,90,156,.2);
}
.team-card:hover .team-card__avatar:not(.team-card__avatar--photo) {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
}
.team-card h4 {
  font-family: var(--font); font-size: 15px; color: var(--dark);
  margin-bottom: 4px; letter-spacing: -0.02em; transition: color .3s var(--ease);
}
.team-card:hover h4 { color: var(--accent) }
.team-card > span { font-size: 13px; color: var(--gray); margin-bottom: 16px }
.team-card__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: -.01em; opacity: 0; transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), gap .3s var(--ease);
}
.team-card:hover .team-card__more { opacity: 1; transform: translateY(0); gap: 10px }
.team-card__more i { font-size: 10px }

/* --- Partners Section --- */
.partners { padding: 120px 0; background: var(--white) }
.partner-card {
  background: var(--light); padding: 36px 28px 30px;
  border-radius: var(--r); border: none; text-align: center;
}
.partner-card:hover { box-shadow: rgba(0,0,0,.22) 3px 5px 30px }
.partner-card__logo {
  width: 100%; height: 80px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; padding: 10px 16px;
  background: var(--white); border: none; border-radius: var(--r);
}
.partner-card__logo img { max-height: 56px; max-width: 100%; object-fit: contain }
.partner-card h4 {
  font-family: var(--font); font-size: 17px; color: var(--dark);
  margin-bottom: 4px; letter-spacing: -0.02em;
}
.partner-card span {
  font-size: 13px; color: var(--accent); font-weight: 500;
  display: block; margin-bottom: 12px;
}
.partner-card p { font-size: 15px; color: var(--gray); line-height: 1.47 }
.partner-card__logo--multi {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; height: auto; padding: 14px 16px;
}
.partner-card__logo--multi img { max-height: 50px; max-width: 32%; object-fit: contain; flex-shrink: 0 }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .nav, .hide-mobile { display: none }
  .burger { display: flex }
  .grid--3 { grid-template-columns: 1fr 1fr }
  .grid--5 { grid-template-columns: repeat(3, 1fr) }
  .about__grid { grid-template-columns: 1fr; gap: 40px }
  .about__visual { margin: 0 auto }
  .about__image img { max-width: 300px }
  .numbers__row { grid-template-columns: 1fr 1fr }
  .contact__grid { grid-template-columns: 1fr }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px }
  .hero__kpi { gap: 24px }
  .svc__subgrid { grid-template-columns: 1fr 1fr }
  .svc .wrap { max-width: 100% }
}

@media (max-width: 768px) {
  .services, .about, .contact, .team, .partners { padding: 80px 0 }
  .cta-section { padding: 80px 0 }
  .grid--3 { grid-template-columns: 1fr }
  .grid--5 { grid-template-columns: repeat(2, 1fr) }
  .hero__text h1 { font-size: 36px; letter-spacing: -0.04em; margin-bottom: 24px }
  .hero__text h1 br { display: none }
  .hero__text p { font-size: 17px }
  .hero__cta { flex-direction: column }
  .hero__cta .btn { width: 100%; justify-content: center }
  .hero__kpi {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 320px;
    margin: 32px auto 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(255,255,255,.12);
    background: none; border-bottom: none;
  }
  .kpi__sep { display: none }
  .kpi {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 0;
    margin: 0;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
  }
  .kpi:last-child { border-bottom: none }
  .kpi strong {
    font-size: 26px;
    font-weight: 700;
    min-width: 0;
    line-height: 1;
    color: #fff;
    flex-shrink: 0;
  }
  .kpi span {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    letter-spacing: -.01em;
    margin: 0;
    line-height: 1.2;
  }
  .qs__mv-grid { grid-template-columns: 1fr }
  .qs__intro { padding: 0 8px }
  .qs__meta { flex-direction: column; gap: 10px }
  .qs__meta-sep { width: 40px; height: 1px }
  .qs__oficiais-grid { grid-template-columns: 1fr }
  .qs__pillars-grid { grid-template-columns: 1fr 1fr }
  .form__row { grid-template-columns: 1fr }
  .footer__grid { grid-template-columns: 1fr; text-align: center }
  .socials { justify-content: center }
  .footer__col address p { justify-content: center; text-align: center }
  .footer__bottom { flex-direction: column; gap: 4px; text-align: center }
  .sec-head { margin-bottom: 48px }
  .about__visual { max-width: 100%; margin: 0 auto }
  .about__badge { bottom: 10px; right: 10px; padding: 12px 16px }
  .about__badge strong { font-size: 22px }
  .about__features { grid-template-columns: 1fr }
  .pill { font-size: 11px; padding: 5px 14px }
  .svc { padding: 64px 0 }
  .svc__grid { grid-template-columns: 1fr }
  .svc__subgrid { grid-template-columns: 1fr }
  .svc__head { flex-direction: column; align-items: flex-start; gap: 14px }
  .cookie-banner__inner { flex-direction: column; text-align: center }
  .cookie-banner__inner p { white-space: normal }
  .cookie-banner__actions { width: 100%; justify-content: center }
  .modal { max-height: 90vh; margin: 16px }
  .modal h2 { padding: 20px 24px 0; font-size: 20px }
  .modal__body { padding: 16px 24px 24px }
  .numbers { padding: 72px 0 }
}

@media (max-width: 480px) {
  .wrap { padding: 0 22px }
  .card { padding: 34px 24px 28px }
  .form { padding: 26px 20px }
  .numbers__row { gap: 14px }
  .num { padding: 22px 14px }
  .num strong { font-size: 28px }
  .hero__inner { padding-top: calc(var(--hdr) + 48px); padding-bottom: 60px }
  .hero__text h1 { font-size: 32px }
  .qs__pillars-grid { grid-template-columns: 1fr }
  .team-card { padding: 28px 14px 22px }
  .team-card__avatar { width: 92px; height: 92px; font-size: 30px; margin-bottom: 14px }
}

/* ======================== SERVICE OVERVIEW CARDS ======================== */
.svc-overview { padding: 100px 0; background: var(--white) }
.svc-overview__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 0 auto;
}
.svc-card {
  background: var(--light); padding: 40px 32px 36px;
  border-radius: var(--r); border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; text-decoration: none;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.08) }
.svc-card__icon {
  width: 52px; height: 52px; border-radius: var(--r);
  display: grid; place-items: center; font-size: 22px;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-light));
  margin-bottom: 20px; transition: transform .35s var(--ease);
}
.svc-card:hover .svc-card__icon { transform: scale(1.05) }
.svc-card h3 {
  font-size: 20px; margin-bottom: 10px;
  letter-spacing: -0.02em; line-height: 1.14; font-weight: 600;
  color: var(--dark);
}
.svc-card p {
  font-size: 15px; color: var(--gray); line-height: 1.47;
  letter-spacing: -0.01em; flex: 1;
}
.svc-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 14px; font-weight: 600;
  color: var(--accent); transition: gap .25s var(--ease); letter-spacing: -0.01em;
}
.svc-card:hover .svc-card__link { gap: 10px }
.svc-card__link i { font-size: 11px }

@media (max-width: 1024px) {
  .svc-overview__grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .svc-overview { padding: 64px 0 }
  .svc-overview__grid { grid-template-columns: 1fr }
}

/* ======================== BREADCRUMB ======================== */
.breadcrumb {
  padding: 20px 0; background: var(--light);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.breadcrumb a {
  font-size: 14px; color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: -0.01em; transition: gap .2s var(--ease);
}
.breadcrumb a:hover { gap: 10px }
.breadcrumb a i { font-size: 11px }

/* ======================== SERVICE DETAIL PAGE ======================== */
.svc-detail { padding: 80px 0; background: var(--light) }
.svc-detail .wrap { max-width: 860px }
.svc-detail .svc__item { background: var(--white) }
.svc-detail .svc__item:hover { background: rgba(0,90,156,.04) }
.svc-detail .svc__subcard { background: var(--white) }
.svc-detail .svc__legal { background: var(--white) }
.svc-detail__intro {
  text-align: left; margin-bottom: 48px;
}
.svc-detail__intro p {
  font-size: 17px; color: var(--gray); line-height: 1.6;
  max-width: 700px; margin: 0 auto; letter-spacing: -0.01em;
}
.svc-detail__subtitle {
  font-size: 24px; font-weight: 700; color: var(--dark);
  letter-spacing: -0.03em; margin-bottom: 24px;
}

/* ======================== SERVICE PAGE — COMPACT 2-COL ======================== */
.svc-compact { padding: 72px 0 100px; background: var(--white) }
.svc-compact .wrap { max-width: 980px }
.svc-compact__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5);
  margin-top: 20px; transition: color .2s, gap .2s;
}
.svc-compact__back:hover { color: #fff; gap: 12px }
.svc-compact__back i { font-size: 10px }
.svc-compact__grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: start;
}
.svc-compact__left {}
.svc-compact__desc {
  font-size: 17px; line-height: 1.65; color: var(--dark);
  letter-spacing: -0.01em; margin-bottom: 32px;
}
.svc-compact__desc strong { font-weight: 600; color: var(--accent) }
.svc-compact__action {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.svc-compact__action span {
  font-size: 13px; color: var(--gray); letter-spacing: -0.01em;
}
.svc-compact__right {}
.svc-compact__label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid rgba(0,90,156,.12);
}
.svc-compact__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.svc-compact__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; font-size: 15px; color: var(--dark);
  letter-spacing: -0.01em; line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.svc-compact__list li:last-child { border-bottom: none }
.svc-compact__list li i {
  font-size: 11px; color: var(--accent); min-width: 16px;
}

@media (max-width: 768px) {
  .svc-compact { padding: 48px 0 64px }
  .svc-compact__grid { grid-template-columns: 1fr; gap: 40px }
  .svc-compact__action { align-items: stretch }
  .svc-compact__action .btn { justify-content: center }
}

/* ======================== CONSULTORIA CARDS ======================== */
.consult-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 40px;
}
.consult-card {
  background: var(--white); border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px; padding: 36px 28px 32px 46px;
  position: relative;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.consult-card::before {
  content: ""; position: absolute; left: 28px; top: 40px;
  width: 2px; height: 24px; background: var(--accent);
  transition: height .35s var(--ease);
}
.consult-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,90,156,.08);
}
.consult-card:hover::before { height: 40px }
.consult-card__num {
  display: block; font-family: var(--head, inherit);
  font-size: 12px; font-weight: 700; letter-spacing: .22em;
  color: #a7adb5; margin-bottom: 16px; text-transform: uppercase;
}
.consult-card h3 {
  font-size: 18px; font-weight: 700; color: var(--accent);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.consult-card__desc {
  font-size: 14px; color: var(--gray); line-height: 1.5;
  margin-bottom: 12px;
}
.consult-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.consult-card li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 14px; color: var(--dark);
  line-height: 1.4; border-bottom: 1px solid rgba(0,0,0,.03);
}
.consult-card li:last-child { border-bottom: none }
.consult-card li i {
  font-size: 10px; color: var(--accent); min-width: 14px; margin-top: 4px;
}
.consult-note {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px; background: rgba(0,90,156,.04);
  border-radius: 12px; border-left: 3px solid var(--accent);
  margin-bottom: 48px;
}
.consult-note > i {
  font-size: 20px; color: var(--accent); min-width: 24px; margin-top: 2px;
}
.consult-note span {
  font-size: 14px; color: var(--dark); line-height: 1.5; display: block;
}
.consult-note a {
  font-size: 13px; color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.consult-note a:hover { text-decoration: underline }
.consult-note a i { font-size: 10px }

@media (max-width: 1024px) {
  .consult-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .consult-grid { grid-template-columns: 1fr }
  .consult-card { padding: 24px 20px }
  .consult-card::before { display: none }
}

/* ======================== SERVICE PAGE (v2 layout) ======================== */
.svc-page { padding: 0 0 100px; background: var(--white) }
.svc-page .wrap { max-width: 720px }
.svc-page__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  padding: 32px 0 0; letter-spacing: -0.01em;
  transition: gap .2s;
}
.svc-page__back:hover { gap: 12px }
.svc-page__back i { font-size: 11px }
.svc-page__body { padding-top: 48px }
.svc-page__text {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.svc-page__text p {
  font-size: 18px; line-height: 1.7; color: var(--dark);
  letter-spacing: -0.01em;
}
.svc-page__heading {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 24px;
}
.svc-page__heading span {
  display: inline-flex; align-items: center; gap: 12px;
}
.svc-page__heading span::after {
  content: ''; flex: 1; height: 1px; width: 60px;
  background: rgba(0,90,156,.2);
}
.svc-page__list {
  display: flex; flex-direction: column; gap: 0;
}
.svc-page__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.svc-page__item:last-child { border-bottom: none }
.svc-page__bullet {
  width: 32px; height: 32px; min-width: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(0,90,156,.06); color: var(--accent);
  font-size: 12px;
}
.svc-page__item span {
  font-size: 16px; color: var(--dark); line-height: 1.5;
  letter-spacing: -0.01em; padding-top: 5px;
}
.svc-page__cta {
  margin-top: 64px; padding: 48px;
  background: var(--light); border-radius: 16px;
  text-align: left;
}
.svc-page__cta h3 {
  font-size: 24px; font-weight: 700; color: var(--dark);
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.svc-page__cta p {
  font-size: 16px; color: var(--gray); margin-bottom: 24px;
}

@media (max-width: 768px) {
  .svc-page { padding-bottom: 64px }
  .svc-page__text p { font-size: 16px }
  .svc-page__cta { padding: 32px 24px }
  .svc-page__item { gap: 12px; padding: 14px 0 }
}

/* ======================== NOTICIAS ======================== */
.noticias { padding: 100px 0; background: var(--light-2) }
.noticias__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px }
.noticia-card { background: var(--white); border-radius: 12px; border: 1px solid rgba(0,0,0,.06); overflow: hidden; transition: all .3s var(--ease); display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; cursor: pointer }
.noticia-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: -.01em; transition: gap .3s var(--ease) }
.noticia-card__more i { font-size: 10px; transition: transform .3s var(--ease) }
.noticia-card:hover .noticia-card__more { gap: 10px }
.noticia-card:hover .noticia-card__more i { transform: translateX(3px) }
.noticia-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); border-color: transparent }
.noticia-card__img { height: 200px; background-color: var(--light); background-size: cover; background-position: center; background-repeat: no-repeat }
.noticia-card__body { padding: 28px 26px; flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden }
.noticia-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--gray) }
.noticia-card__cat { padding: 3px 10px; border-radius: var(--r-pill); background: rgba(0,90,156,.08); color: var(--accent); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px }
.noticia-card__date { display: flex; align-items: center; gap: 4px }
.noticia-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; line-height: 1.35; font-weight: 600; overflow-wrap: break-word; hyphens: auto }
.noticia-card p { font-size: 14px; color: var(--gray); line-height: 1.6; flex: 1; overflow-wrap: break-word; hyphens: auto }
.noticias__empty { text-align: center; color: var(--gray); font-size: 15px; padding: 40px 0 }
.noticias__cta { display: flex; justify-content: center; margin-top: 48px }
.noticias__cta .btn { border-radius: var(--r-pill) }
@media (max-width: 1024px) { .noticias__grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 768px) { .noticias__grid { grid-template-columns: 1fr } .noticias { padding: 72px 0 } .noticias__cta { margin-top: 36px } .noticias__cta .btn { width: 100%; justify-content: center } }

/* Page hero icon for individual service pages */
.page-hero__icon {
  width: 64px; height: 64px; border-radius: var(--r);
  display: grid; place-items: center; font-size: 28px;
  color: var(--link-dark); background: rgba(255,255,255,.08);
  margin: 0 auto 20px;
}

/* Service pages: center hero content */
.page-hero--center { text-align: center !important }
.page-hero--center .wrap { display: flex; flex-direction: column; align-items: center; text-align: center }
.page-hero--center h1 { max-width: 800px }
.page-hero--center p { max-width: 560px; margin-left: auto; margin-right: auto }
.page-hero--center .page-hero__icon { margin: 0 auto 20px }
.page-hero--center .svc-compact__back { margin-left: auto; margin-right: auto }

/* CTA section dark variant */
.cta-section--dark { background: linear-gradient(135deg, var(--accent-deepest) 0%, var(--accent-dark) 40%, var(--accent) 100%) }
.cta-section--dark .cta-box h2 { color: #fff }
.cta-section--dark .cta-box p { color: rgba(255,255,255,.5) }

/* ================================================================
   v74 — Enhanced animations, lazy reveals & interactive hovers
   ================================================================ */

/* --- Reduce motion safeguard --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Keyframes library --- */
@keyframes fs-fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes fs-fade-down { from { opacity: 0; transform: translateY(-14px) } to { opacity: 1; transform: none } }
@keyframes fs-fade-up { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }
@keyframes fs-fade-left { from { opacity: 0; transform: translateX(-22px) } to { opacity: 1; transform: none } }
@keyframes fs-fade-right { from { opacity: 0; transform: translateX(22px) } to { opacity: 1; transform: none } }
@keyframes fs-zoom-in { from { opacity: 0; transform: scale(.92) } to { opacity: 1; transform: none } }
@keyframes fs-shimmer { 0% { background-position: -200% 0 } 100% { background-position: 200% 0 } }
@keyframes fs-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@keyframes fs-underline { from { transform: scaleX(0); transform-origin: left } to { transform: scaleX(1); transform-origin: left } }
@keyframes fs-spin-slow { to { transform: rotate(360deg) } }
@keyframes fs-sheen { 0% { transform: translateX(-120%) skewX(-22deg) } 100% { transform: translateX(240%) skewX(-22deg) } }
@keyframes fs-bounce-in { 0% { opacity: 0; transform: scale(.8) } 60% { opacity: 1; transform: scale(1.03) } 100% { transform: scale(1) } }
@keyframes fs-nav-in { from { opacity: 0; transform: translateY(-10px) } to { opacity: 1; transform: none } }

/* --- Page load animation --- */
body { animation: fs-fade-in .55s var(--ease) both }

/* --- Navbar entrance & link staging --- */
.header { animation: fs-fade-down .7s var(--ease) both; animation-delay: .05s }
.header .nav a,
.header .nav__toggle,
.header .logo,
.header .btn--outline {
  opacity: 0; animation: fs-nav-in .55s var(--ease) forwards;
}
.header .logo { animation-delay: .15s }
.header .nav > *:nth-child(1) { animation-delay: .22s }
.header .nav > *:nth-child(2) { animation-delay: .28s }
.header .nav > *:nth-child(3) { animation-delay: .34s }
.header .nav > *:nth-child(4) { animation-delay: .40s }
.header .nav > *:nth-child(5) { animation-delay: .46s }
.header .btn--outline { animation-delay: .52s }

/* Navbar nav — hover underline effect */
.nav a, .nav__toggle {
  position: relative;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.nav a::after, .nav__toggle::after {
  content: ''; position: absolute;
  left: 18px; right: 18px; bottom: 4px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease); opacity: .85;
}
.nav a:hover::after, .nav a.active::after,
.nav__dropdown:hover .nav__toggle::after, .nav__toggle:hover::after {
  transform: scaleX(1); transform-origin: left;
}
.nav a:hover, .nav__toggle:hover { transform: translateY(-1px) }

/* Nav dropdown menu — slide + fade */
.nav__menu {
  transform: translateX(-50%) translateY(-6px) scale(.98);
  transition: opacity .22s var(--ease), transform .28s var(--ease), visibility .22s;
}
.nav__dropdown:hover .nav__menu {
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav__menu a {
  position: relative; transition: color .2s, background .25s, padding-left .25s var(--ease);
}
.nav__menu a:hover { padding-left: 20px }
.nav__menu a::before {
  content: ''; position: absolute; left: 8px; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%) scale(0);
  transition: transform .25s var(--ease);
}
.nav__menu a:hover::before { transform: translateY(-50%) scale(1) }

/* Logo — subtle interactive lift */
.logo { transition: transform .3s var(--ease) }
.logo:hover { transform: translateY(-1px) scale(1.02) }

/* --- Scroll-triggered universal reveal --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform }
.reveal.in { opacity: 1; transform: none }
.reveal--left { transform: translateX(-30px) }
.reveal--right { transform: translateX(30px) }
.reveal--zoom { transform: scale(.94) }
.reveal--blur { filter: blur(10px) }
.reveal--blur.in { filter: blur(0) }
.reveal--left.in, .reveal--right.in { transform: none }

/* Auto-stagger reveal delays */
.stagger > * { transition-delay: 0s }
.stagger.in > *:nth-child(1) { transition-delay: .05s }
.stagger.in > *:nth-child(2) { transition-delay: .12s }
.stagger.in > *:nth-child(3) { transition-delay: .19s }
.stagger.in > *:nth-child(4) { transition-delay: .26s }
.stagger.in > *:nth-child(5) { transition-delay: .33s }
.stagger.in > *:nth-child(6) { transition-delay: .40s }
.stagger.in > *:nth-child(7) { transition-delay: .47s }
.stagger.in > *:nth-child(8) { transition-delay: .54s }

/* --- Buttons — enhanced hover with sheen --- */
.btn {
  position: relative; overflow: hidden;
  transition: all .35s var(--ease), transform .25s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%) skewX(-22deg); pointer-events: none;
}
.btn:hover::before { animation: fs-sheen .9s var(--ease) }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,90,156,.24) }
.btn:active { transform: translateY(0); transition-duration: .1s }
.btn--accent:hover { box-shadow: 0 12px 32px rgba(0,90,156,.32) }
.btn--glass:hover { box-shadow: 0 8px 24px rgba(255,255,255,.12) }
.btn i { transition: transform .35s var(--ease) }
.btn:hover i { transform: translateX(3px) }
.btn[type="submit"]:hover i.fa-paper-plane { transform: translate(4px,-2px) rotate(-8deg) }

/* --- Cards — subtle editorial hover --- */
.card h3 { transition: color 0s }
.card:hover h3 { color: var(--accent) }

/* --- About cards feat hover --- */
.about__feat { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease) }
.about__feat:hover { transform: translateY(-3px); border-color: rgba(0,90,156,.2); box-shadow: 0 10px 28px rgba(0,0,0,.08) }
.about__feat-icon { transition: transform .45s var(--ease), background .3s var(--ease), color .3s var(--ease) }
.about__feat:hover .about__feat-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff }

/* --- Numbers — pop on reveal --- */
.num { transition: transform .35s var(--ease) }
.num:hover { transform: translateY(-4px) }
.num:hover i { animation: fs-float 1.2s var(--ease) infinite }

/* --- Info cards (contactos) --- */
.info-card { transition: transform .35s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease) }
.info-card:hover { transform: translateX(4px) translateY(-2px); background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.06) }
.info-card__ic { transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease) }
.info-card:hover .info-card__ic { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.06) }

.info-card__socials a { position: relative; overflow: hidden }
.info-card__socials a::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: currentColor; opacity: 0; transform: scale(0);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.info-card__socials a:hover { transform: translateY(-3px) scale(1.08) }
.socials a { transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease) }
.socials a:hover { transform: translateY(-3px) scale(1.08) }

/* --- Footer — link shimmer on hover --- */
.footer__col ul a, .footer__col address a {
  position: relative; display: inline-block;
  transition: color .25s var(--ease), transform .25s var(--ease), padding-left .25s var(--ease);
}
.footer__col ul a::before {
  content: ''; position: absolute; left: -12px; top: 50%;
  width: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.footer__col ul a:hover { padding-left: 10px }
.footer__col ul a:hover::before { transform: scaleX(1) }
.footer__brand img { transition: transform .4s var(--ease) }
.footer__brand img:hover { transform: scale(1.04) }

/* --- Noticias cards enhanced --- */
.noticia-card { overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s }
.noticia-card__img { transition: transform .6s var(--ease); transform-origin: center }
.noticia-card:hover .noticia-card__img { transform: scale(1.07) }
.noticia-card h3 { transition: color .3s var(--ease) }
.noticia-card:hover h3 { color: var(--accent) }
.noticia-card__cat { transition: background .3s var(--ease), color .3s var(--ease) }
.noticia-card:hover .noticia-card__cat { background: var(--accent); color: #fff }

/* --- Seguros page hovers --- */
.seg-intro { padding-bottom: 56px }
.seg-checks { margin-bottom: 32px }
.seg-checks li i { transition: transform .35s var(--ease) }
.seg-checks li:hover i { transform: scale(1.3) rotate(8deg) }
.seg-info__tags span { cursor: default }
.seg-info__tags span { transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease) }
.seg-info__tags span:hover { transform: translateY(-2px); background: var(--accent); color: #fff; border-color: var(--accent) }
.seg-highlight__inner { transition: transform .5s var(--ease), box-shadow .5s var(--ease) }
.seg-highlight__inner:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,.08) }
.seg-highlight__list li i { transition: transform .3s var(--ease) }
.seg-highlight__list li:hover i { transform: translateX(6px) }
.seg-protect__icon { transition: transform .45s var(--ease), background .35s, color .35s }
.seg-protect__head:hover .seg-protect__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff }
.seg-types__grid label { transition: all .3s var(--ease) }
.seg-types__grid label:hover { transform: translateY(-2px) scale(1.03) }

/* --- Page hero icon — floating --- */
.page-hero__icon { animation: fs-float 3.2s var(--ease) infinite; transition: transform .4s var(--ease), background .3s }
.page-hero__icon:hover { transform: scale(1.08) rotate(-6deg); background: rgba(255,255,255,.16) }

/* --- Hero KPI interactive --- */
.kpi { transition: transform .35s var(--ease) }
.kpi:hover { transform: translateY(-3px) }
.kpi:hover strong { text-shadow: 0 0 24px rgba(255,255,255,.25) }

/* --- Lazy image fade-in + blur-up (scoped to lazy imgs only) --- */
img[loading="lazy"] {
  opacity: 0; transform: scale(1.01);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
img[loading="lazy"].loaded {
  opacity: 1; transform: none;
}

/* --- Images in cards / about — zoom on hover --- */
.about__image { overflow: hidden }
.about__image img { transition: transform .7s var(--ease) }
.about__image:hover img { transform: scale(1.05) }

/* --- Scroll progress — glow --- */
.scroll-progress {
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--link-dark));
  box-shadow: 0 0 12px rgba(0,90,156,.5);
}

/* --- TO TOP — spin on hover --- */
.totop i { transition: transform .4s var(--ease) }
.totop:hover i { transform: translateY(-2px) }
.totop:hover { transform: translateY(-3px) scale(1.08) }

/* --- WhatsApp — pulse glow --- */
.wa { transition: transform .35s var(--ease), box-shadow .35s var(--ease) }
.wa:hover { transform: scale(1.12) rotate(-6deg); box-shadow: 0 10px 32px rgba(48,209,88,.5) }

/* --- Link hover underline accent --- */
.link-accent { position: relative; display: inline-block }
.link-accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.link-accent:hover::after { transform: scaleX(1); transform-origin: left }

/* --- Interactive tilt helpers (3D) --- */
.tilt { transform-style: preserve-3d; transition: transform .3s var(--ease) }

/* --- Section heading underline reveal --- */
.sec-head h2 { position: relative }
.sec-head h2::after {
  content: ''; position: absolute; left: 0; bottom: -10px;
  width: 48px; height: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .3s;
}
.sec-head.in h2::after, .sec-head .in h2::after, .in.sec-head h2::after { transform: scaleX(1) }

/* --- Form field focus lift --- */
.field input, .field textarea, .field select,
.seg-field input, .seg-field textarea {
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus,
.seg-field input:focus, .seg-field textarea:focus {
  transform: translateY(-1px);
}

/* --- Burger — smoother --- */
.burger { transition: transform .3s var(--ease) }
.burger:hover { transform: scale(1.1) }

/* --- Cookie banner entry animation --- */
.cookie-banner.show { animation: fs-fade-up .5s var(--ease) both }

/* --- Modal bounce-in --- */
.modal-overlay.open .modal { animation: fs-bounce-in .45s var(--ease) both }

/* ================================================================
   v75 — Coherence pass: inner-page hovers aligned with main cards
   ================================================================ */

/* --- svc-v2 cards (servicos.html) — match .card polish --- */
.svc-v2 {
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.svc-v2:hover { transform: translateY(-3px); border-color: var(--accent) }
.svc-v2 h3 { transition: color .3s var(--ease) }
.svc-v2:hover h3 { color: var(--accent) }
.svc-v2__highlights span { transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease) }
.svc-v2__highlights span:hover { background: var(--accent); color: #fff; transform: translateY(-1px) }

/* --- svc-compact list items (inner service pages) --- */
.svc-compact__list li {
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.svc-compact__list li:hover { transform: translateX(6px); color: var(--accent) }
.svc-compact__list li i { transition: transform .35s var(--ease), color .3s var(--ease) }
.svc-compact__list li:hover i { transform: scale(1.25) rotate(8deg); color: var(--accent) }

/* --- svc-why items --- */
.svc-why__item { transition: transform .35s var(--ease), border-top-color .35s var(--ease) }
.svc-why__item:hover { transform: translateY(-4px) }

/* --- svc-stats items --- */
.svc-stats__item { transition: transform .35s var(--ease) }
.svc-stats__item:hover { transform: translateY(-3px) }
.svc-stats__item:hover .svc-stats__num { text-shadow: 0 0 22px rgba(255,255,255,.25) }

/* --- Partner cards (sobre.html) --- */
.partner-card {
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.08); border-color: rgba(0,90,156,.15) }
.partner-card__logo img { transition: transform .5s var(--ease), filter .4s var(--ease) }
.partner-card:hover .partner-card__logo img { transform: scale(1.06); filter: brightness(1.05) }

/* --- Back-link arrow reveal --- */
.svc-compact__back, .seg-intro__back { transition: gap .3s var(--ease), color .3s var(--ease), transform .3s var(--ease) }
.svc-compact__back:hover, .seg-intro__back:hover { gap: 14px; color: var(--accent-light); transform: translateX(-2px) }

/* --- svc-cta button white polish (sheen coherent with .btn) --- */
.svc-cta .btn--white { position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease) }
.svc-cta .btn--white::before {
  content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,90,156,.18), transparent);
  transform: translateX(-120%) skewX(-22deg); pointer-events: none;
}
.svc-cta .btn--white:hover::before { animation: fs-sheen .9s var(--ease) }
.svc-cta .btn--white:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.25) }

/* --- Certification badges (OCC + ASF) --- */
.cert-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.cert-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.cert-badge:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.cert-badge__icon {
  width: 30px; height: 30px;
  border-radius: 7px; background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,.9); font-size: 13px;
  flex-shrink: 0;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.cert-badge:hover .cert-badge__icon {
  background: var(--link-dark); color: #fff;
}
.cert-badge__text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.cert-badge__text strong {
  font-size: 11px; color: rgba(255,255,255,.95);
  font-weight: 700; letter-spacing: -.01em;
}
.cert-badge__text span {
  font-size: 10px; color: rgba(255,255,255,.5);
  margin-top: 2px; letter-spacing: -.01em;
}

/* Light variant (for white/light sections) */
.cert-badges--light .cert-badge {
  background: rgba(0,90,156,.04);
  border: 1px solid rgba(0,90,156,.1);
}
.cert-badges--light .cert-badge:hover {
  background: rgba(0,90,156,.07);
  border-color: rgba(0,90,156,.22);
  box-shadow: 0 6px 20px rgba(0,90,156,.08);
}
.cert-badges--light .cert-badge__icon {
  background: rgba(0,90,156,.08); color: var(--accent);
}
.cert-badges--light .cert-badge:hover .cert-badge__icon {
  background: var(--accent); color: #fff;
}
.cert-badges--light .cert-badge__text strong { color: var(--dark) }
.cert-badges--light .cert-badge__text span { color: var(--gray) }

/* Compact horizontal strip for home / about sections */
.cert-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  padding: 24px 0; margin-top: 32px;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* --- Focus-visible a11y outlines --- */
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px }
.btn:focus-visible, .nav a:focus-visible, .nav__toggle:focus-visible { outline-offset: 4px }

/* --- Área Reservada: lock opens on hover --- */
.btn--outline .fa-lock {
  transition: transform .35s var(--ease);
  display: inline-block;
  width: 1em; text-align: center;
}
.btn--outline:hover .fa-lock {
  transform: rotate(-6deg) translateY(-1px);
}
.btn--outline:hover .fa-lock::before {
  content: "\f3c1"; /* fa-lock-open */
}

/* ================================================================
   v102 — Mobile hardening pass (no overflow, everything visible)
   ================================================================ */

/* --- Global safety nets --- */
html, body { max-width: 100%; overflow-x: hidden }
img, video, iframe, svg { max-width: 100%; height: auto }
table { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word }
h1, h2, h3, h4, h5, h6, p, li, span, a, strong, em {
  overflow-wrap: break-word; word-wrap: break-word;
}

/* --- 1024px and below (tablets) --- */
@media (max-width: 1024px) {
  .about__visual { max-width: 360px }
  .about__portrait { margin-top: 24px }
}

/* --- 768px and below (small tablets / large phones) --- */
@media (max-width: 768px) {
  /* Wrap padding */
  .wrap { padding: 0 24px }

  /* Hero */
  .hero__text h1 { font-size: clamp(32px, 9vw, 40px); letter-spacing: -0.03em; margin-bottom: 22px }
  .hero__text p { font-size: 16px; max-width: 100%; margin-bottom: 32px }
  .hero__text p br { display: none }
  .hero__inner { padding: calc(var(--hdr) + 56px) 24px 88px }

  /* Cert badges adapt */
  .cert-badges { gap: 8px }
  .cert-badge { padding: 7px 10px; max-width: 100% }
  .cert-badge__text strong { font-size: 10px; white-space: normal }
  .cert-badge__text span { font-size: 9px }
  .cert-badge__icon { width: 26px; height: 26px; font-size: 11px }

  /* Page hero */
  .page-hero { padding: calc(var(--hdr) + 60px) 0 70px }
  .page-hero h1 { font-size: clamp(30px, 8vw, 44px) }
  .page-hero p { font-size: 16px; max-width: 100% }
  .page-hero--bg { background-position: center }
  .page-hero__icon { width: 54px; height: 54px; font-size: 22px }

  /* Section heads */
  .sec-head h2 { font-size: clamp(26px, 6.5vw, 38px) }
  .sec-head p { font-size: 15px; max-width: 100% }

  /* Services / cards */
  .services { padding: 72px 0 }
  .grid--3 { gap: 18px }
  .card { padding: 32px 24px 28px !important }

  /* About section */
  .about { padding: 72px 0 }
  .about__grid { gap: 32px }
  .about__features { gap: 12px }
  .about__body h2 { font-size: clamp(26px, 6vw, 36px) }
  .about__body > p { font-size: 15px; margin-bottom: 24px }

  /* Numbers */
  .numbers { padding: 72px 0 }
  .numbers__row { gap: 14px }
  .num strong { font-size: clamp(28px, 7vw, 40px) }
  .num > span { font-size: 12px }

  /* CTA */
  .cta-section { padding: 72px 0 }
  .cta-box h2 { font-size: clamp(26px, 6vw, 36px) }
  .cta-box p { font-size: 15px }
  .cta-box .btn { width: 100%; justify-content: center }
  .cta-box small { justify-content: center; text-align: center }

  /* Contact */
  .contact { padding: 72px 0 }
  .contact__grid { gap: 32px }
  .form { padding: 28px 22px }

  /* Team */
  .team { padding: 72px 0 }
  .team-card { padding: 28px 18px 24px }
  .team-card__avatar { width: 96px; height: 96px }

  /* Partners */
  .partners { padding: 72px 0 }
  .partner-card { padding: 28px 22px 24px }
  .partner-card__logo--multi img { max-width: 30% }

  /* QS pages */
  .qs { padding: 56px 0 }
  .qs-mv-section, .qs-pillars, .qs-oficiais { padding: 64px 0 }
  .qs__mv-card { padding: 32px 24px }
  .qs__pillar { padding: 22px 18px }
  .qs__oficial { padding: 24px 20px }

  /* Service inner pages */
  .svc { padding: 64px 0 }
  .svc .wrap { padding: 0 20px }
  .svc__head { gap: 14px; margin-bottom: 28px; padding-bottom: 18px }
  .svc__head h2 { font-size: clamp(22px, 5vw, 28px) }
  .svc__head p { font-size: 14px }
  .svc__item { padding: 12px 16px; font-size: 14px }
  .svc__subcard { padding: 22px 18px }

  /* Navigation dropdown on smaller nav */
  .header .wrap { padding: 12px 20px }

  /* Buttons full width in tight spots */
  .hero__cta .btn, .cta-box .btn { min-height: 48px }

  /* Footer */
  .footer { padding: 56px 0 0 }
  .footer__grid { gap: 36px }
  .footer__brand p { max-width: 480px; margin-left: auto; margin-right: auto }
  .footer__col address p { justify-content: center }
  .cert-badges { justify-content: center }

  /* Cookie banner */
  .cookie-banner__actions .btn { flex: 1 }

  /* Noticias */
  .noticia-card { border-radius: 10px }
  .noticia-card__body { padding: 22px 20px }

  /* Seguros mobile fine-tuning */
  .seg-intro { padding: 56px 0 0 }
  .seg-sim { padding: 48px 0 80px }
}

/* --- 480px and below (phones) --- */
@media (max-width: 480px) {
  .wrap { padding: 0 22px }

  /* Hero */
  .hero__text h1 { font-size: 30px }
  .hero__inner { padding: calc(var(--hdr) + 36px) 22px 60px }
  .hero__cta { gap: 10px }
  .kpi strong { font-size: 22px }
  .kpi span { font-size: 11px }

  /* Page hero */
  .page-hero h1 { font-size: clamp(26px, 8.5vw, 34px); line-height: 1.15 }
  .page-hero p { font-size: 15px }
  .page-hero__icon { width: 48px; height: 48px; font-size: 20px }

  /* Section heads */
  .sec-head { margin-bottom: 32px }
  .sec-head h2 { font-size: clamp(24px, 7vw, 30px) }

  /* Grids */
  .grid--5 { grid-template-columns: 1fr 1fr; gap: 14px }
  .team-card { padding: 24px 14px 20px }
  .team-card__avatar { width: 84px; height: 84px; margin-bottom: 12px }
  .team-card h4 { font-size: 14px }
  .team-card > span { font-size: 12px }
  .team-card__more { font-size: 11px }

  /* Cert badges — keep on one line each but smaller */
  .cert-badge { gap: 8px; padding: 6px 10px }
  .cert-badge__icon { width: 24px; height: 24px; font-size: 10px }
  .cert-badge__text strong { font-size: 10px }
  .cert-badge__text span { display: none }

  /* Cards */
  .card { padding: 28px 22px 22px !important }
  .card h3 { font-size: 18px }
  .card p { font-size: 14px }

  /* About */
  .about__body h2 { font-size: 26px }
  .about__features { gap: 10px }
  .about__feat { padding: 14px 12px }

  /* Footer */
  .footer { padding: 48px 0 0 }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; text-align: center }
  .footer__brand img { display: block; margin-left: auto; margin-right: auto }
  .footer__brand p { font-size: 13px }
  .footer__col h4 { margin-bottom: 10px }
  .footer__col ul li { margin-bottom: 4px }
  .footer__bottom { padding: 18px 0; font-size: 11px }
  .socials { justify-content: center }
  .cert-badges { flex-direction: column; align-items: center }
  .cert-badges .cert-badge { width: auto; max-width: 280px }

  /* Numbers */
  .numbers__row { grid-template-columns: 1fr 1fr; gap: 10px }
  .num { padding: 22px 10px }
  .num strong { font-size: 28px }

  /* Modal */
  .modal { margin: 12px; max-height: 90vh }
  .modal h2 { padding: 22px 22px 0; font-size: 19px }
  .modal__body { padding: 14px 22px 22px; font-size: 14px }
  .modal__body h3 { font-size: 15px }

  /* Cookie banner */
  .cookie-banner__inner { padding: 0 16px }
  .cookie-banner__inner p { font-size: 11px }

  /* Floating actions — tighter */
  .wa { width: 48px; height: 48px; font-size: 22px; bottom: 20px; right: 20px }
  .totop { bottom: 20px; right: 76px; width: 34px; height: 34px }
}

/* --- 380px and below (very small phones) --- */
@media (max-width: 380px) {
  .hero__text h1 { font-size: 28px }
  .page-hero h1 { font-size: 26px }
  .sec-head h2 { font-size: 24px }
  .grid--5 { grid-template-columns: 1fr }
  .cert-badges { gap: 8px }
}

/* ===== VÍDEO DE APRESENTAÇÃO ===== */
.qs-video-section { padding: 60px 0 20px }
.qs-video-section .qs__intro { text-align: center; max-width: 720px; margin: 0 auto 28px }
.qs-video {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  background: #000;
}
.qs-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.qs-video:hover .qs-video__player { opacity: .9; transition: opacity .3s var(--ease) }
.qs-video.is-playing:hover .qs-video__player { opacity: 1 }
.qs-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 90, 156, .92);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.qs-video:hover .qs-video__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent-light);
}
.qs-video.is-playing { cursor: default }
.qs-video.is-playing .qs-video__play { display: none }
@media (max-width: 640px) {
  .qs-video-section { padding: 40px 0 10px }
  .qs-video__play { width: 64px; height: 64px; font-size: 22px }
}

/* ===== GALERIA ESCRITÓRIO ===== */
.qs-galeria { padding: 60px 0; background: var(--light) }
.qs-galeria .qs__intro { text-align: center; max-width: 720px; margin: 0 auto 32px }
.qs-galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.qs-galeria__item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.qs-galeria__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.qs-galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.qs-galeria__item:hover img { transform: scale(1.08) }
.qs-galeria__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 90, 156, .35);
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.qs-galeria__item:hover .qs-galeria__zoom { opacity: 1 }

@media (max-width: 1088px) {
  .qs-galeria__grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 640px) {
  .qs-galeria { padding: 40px 0 }
  .qs-galeria__grid { grid-template-columns: 1fr; gap: 12px }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.lightbox.is-open { display: flex }
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  user-select: none;
}
.lightbox__btn {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  backdrop-filter: blur(4px);
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); transform: scale(1.08) }
.lightbox__btn--close { top: 24px; right: 24px }
.lightbox__btn--prev { left: 24px; top: 50%; transform: translateY(-50%) }
.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.08) }
.lightbox__btn--next { right: 24px; top: 50%; transform: translateY(-50%) }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.08) }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,.5);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
@media (max-width: 640px) {
  .lightbox__btn { width: 40px; height: 40px; font-size: 17px }
  .lightbox__btn--close { top: 14px; right: 14px }
  .lightbox__btn--prev { left: 10px }
  .lightbox__btn--next { right: 10px }
}

