:root {
  --navy-950: #073b7a;
  --navy-900: #0b4fa3;
  --navy-800: #1263bd;
  --blue-700: #1976d2;
  --blue-100: #eaf3ff;
  --gold-500: #c7a35a;
  --gold-300: #dec78f;
  --ink: #122432;
  --muted: #61717c;
  --line: #dce5ea;
  --surface: #f5f8fa;
  --white: #fff;
  --shadow: 0 20px 50px rgba(7, 35, 53, .1);
  --radius: 20px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, .institutional-strip h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -.025em;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }
.utility-bar {
  padding: 9px 0;
  color: rgba(255,255,255,.82);
  background: var(--navy-950);
  font-size: .79rem;
}
.utility-bar a { color: inherit; text-decoration: none; }
.utility-bar a:hover { color: #fff; }
.utility-button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
}
.site-header {
  z-index: 1030;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(7,35,53,.08);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 32px rgba(7,35,53,.1); }
.navbar { min-height: 92px; }
.navbar-brand img { width: 218px; height: auto; }
.navbar-nav { gap: .15rem; }
.nav-link {
  padding: .75rem .66rem !important;
  color: var(--navy-900);
  font-size: .87rem;
  font-weight: 600;
}
.nav-link:hover, .nav-link:focus { color: var(--blue-700); }
.btn-brand {
  padding: .72rem 1.15rem;
  color: #fff;
  background: var(--navy-800);
  border: 1px solid var(--navy-800);
  border-radius: 10px;
  font-weight: 700;
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}
.mega-menu {
  width: 680px;
  padding: 1.5rem;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.dropdown-heading {
  margin: 0 0 .5rem;
  color: var(--gold-500);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dropdown-item {
  padding: .4rem .65rem;
  color: #425866;
  border-radius: 7px;
  font-size: .84rem;
}
.dropdown-item:hover { color: var(--navy-900); background: var(--blue-100); }
.offcanvas { max-width: 90%; }
.offcanvas-logo { width: 190px; }
.mobile-nav > a, .mobile-submenu-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}
.mobile-submenu { padding: .75rem 0 1rem 1rem; }
.mobile-submenu strong {
  display: block;
  margin: 1rem 0 .35rem;
  color: var(--gold-500);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.mobile-submenu a {
  display: block;
  padding: .38rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}
.hero {
  position: relative;
  background: var(--navy-950);
}
.hero .carousel-item {
  position: relative;
}
.hero .carousel-item::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(4,24,38,.12), transparent 60%);
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 470;
  object-fit: contain;
}
.carousel-control-prev, .carousel-control-next { width: 7%; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  background-color: rgba(7,35,53,.5);
  background-size: 45%;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
}
.carousel-indicators { bottom: 18px; }
.carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  border-radius: 4px;
}
.quick-access {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}
.quick-panel {
  display: grid;
  grid-template-columns: .85fr 2.15fr;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quick-intro {
  padding: 2rem;
  color: #fff;
  background: var(--navy-900);
}
.eyebrow {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--gold-500);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--gold-300); }
.quick-intro h1 { margin-bottom: .45rem; font-size: 2rem; }
.quick-intro p { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-links > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  padding: 1.65rem 1.35rem;
  color: var(--ink);
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.quick-links > a:last-child { border-right: 0; }
.quick-links > a:hover { background: var(--surface); }
.quick-links strong, .quick-links small { display: block; }
.quick-links strong { font-size: .94rem; }
.quick-links small { margin-top: .14rem; color: var(--muted); font-size: .75rem; }
.quick-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 12px;
  font-size: 1.2rem;
}
.quick-icon-whatsapp { color: #168f51; background: #e8f7ee; }
.quick-icon-protocol { color: #c9343a; background: #fdebed; }
.section-padding { padding: 100px 0; }
.section-heading { margin-bottom: 2.7rem; }
.section-heading h2 { margin: 0; color: var(--navy-900); font-size: clamp(2rem, 4vw, 3.1rem); }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.services-section { background: linear-gradient(180deg, #fff, #f8fafb); }
.service-card {
  position: relative;
  display: flex;
  min-height: 310px;
  height: 100%;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(7,35,53,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199,163,90,.7);
  box-shadow: var(--shadow);
}
.service-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #0b4fa3, #1976d2);
  border-color: #0b4fa3;
}
.service-card.featured p { color: rgba(255,255,255,.68); }
.service-card.featured .service-icon { color: #9a5b00; background: #fff0c7; }
.service-card.featured .card-link, .service-card.featured .secondary-link { color: #fff; }
.service-card.featured .service-number { color: rgba(255,255,255,.09); }
.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 15px;
  font-size: 1.45rem;
}
.services-section .row > div:nth-child(1) .service-icon {
  color: #0b62c4;
  background: #e5f1ff;
}
.services-section .row > div:nth-child(2) .service-icon {
  color: #b96500;
  background: #fff0cf;
}
.services-section .row > div:nth-child(3) .service-icon {
  color: #6d49b8;
  background: #efe9ff;
}
.services-section .row > div:nth-child(4) .service-icon {
  color: #0b8b79;
  background: #ddf7f1;
}
.services-section .row > div:nth-child(5) .service-icon {
  color: #cf4e52;
  background: #ffe8e9;
}
.services-section .row > div:nth-child(6) .service-icon {
  color: #9a4f9f;
  background: #f7e7f8;
}
.service-number {
  position: absolute;
  top: .8rem;
  right: 1.25rem;
  color: rgba(10,41,64,.06);
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
}
.service-card h3 { max-width: 86%; margin-bottom: .7rem; font-size: 1.28rem; font-weight: 700; }
.service-card p { margin-bottom: 1.6rem; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
  margin-top: auto;
}
.card-link, .secondary-link, .all-link, .news-content a {
  color: var(--navy-800);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
}
.secondary-link { color: var(--muted); font-size: .78rem; }
.card-link i, .all-link i, .news-content a i { transition: transform .2s; }
.card-link:hover i, .all-link:hover i, .news-content a:hover i { display: inline-block; transform: translateX(4px); }
.institutional-strip {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% -20%, rgba(255,255,255,.18), transparent 38%),
    linear-gradient(135deg, #08448d, #1976d2);
}
.institutional-strip::before {
  position: absolute;
  top: -120px;
  right: 3%;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.institutional-strip h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.2rem); }
.institutional-strip p { max-width: 700px; margin: 1rem 0 0; color: rgba(255,255,255,.68); }
.stats-grid > div > div {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.25rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.stats-grid strong { color: var(--gold-300); font-family: "Playfair Display", serif; font-size: 1.5rem; }
.stats-grid span { color: rgba(255,255,255,.65); font-size: .75rem; }
.news-section { background: var(--surface); }
.news-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-visual {
  height: 190px;
  overflow: hidden;
}
.news-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.news-card:hover .news-visual img { transform: scale(1.045); }
.news-content { padding: 1.65rem; }
.news-tag {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--gold-500);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-content h3 { min-height: 58px; margin-bottom: .75rem; font-size: 1.18rem; font-weight: 700; }
.news-content p { min-height: 70px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.contact-section { background: #fff; }
.contact-shell { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.contact-info {
  height: 100%;
  padding: 3.2rem;
  color: #fff;
  background:
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.15), transparent 35%),
    linear-gradient(155deg, #08448d, #1263bd);
}
.contact-info h2 { font-size: 2.6rem; }
.contact-lead { color: rgba(255,255,255,.7); }
.contact-list { margin: 2.3rem 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.76); font-size: .9rem; }
.contact-list li > i { color: var(--gold-300); font-size: 1.2rem; }
.contact-list strong { display: block; margin-bottom: .2rem; color: #fff; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-info small { color: rgba(255,255,255,.52); }
.contact-body { padding: 3.2rem; background: #fff; }
.contact-body h3 { color: var(--navy-900); font-size: 1.6rem; font-weight: 700; }
.contact-body > p { color: var(--muted); }
.form-label { color: var(--navy-900); font-size: .82rem; font-weight: 700; }
.form-control {
  min-height: 49px;
  padding: .75rem 1rem;
  background: var(--surface);
  border-color: var(--line);
  border-radius: 10px;
}
.form-control:focus { background: #fff; border-color: var(--blue-700); box-shadow: 0 0 0 .2rem rgba(21,95,145,.12); }
textarea.form-control { min-height: 118px; }
.form-status { color: #237244; font-size: .87rem; }
.map-frame {
  display: block;
  width: 100%;
  height: 250px;
  background: var(--blue-100);
  border: 0;
}
.partners-section { padding: 50px 0 70px; background: #fff; }
.partners-title {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 1.2rem; }
.partners-grid img {
  width: 100%;
  max-width: 130px;
  margin: auto;
  opacity: .7;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s, transform .2s;
}
.partners-grid img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.04); }
.partners-grid img.partner-placeholder { opacity: .78; filter: none; }
.site-footer {
  color: rgba(255,255,255,.75);
  background: linear-gradient(135deg, #073b7a, #0b4fa3);
}
.footer-main { padding: 70px 0 55px; }
.footer-logo {
  width: 220px;
  margin-bottom: 1.2rem;
  padding: .6rem;
  background: #fff;
  border-radius: 10px;
}
.site-footer h2 { margin-bottom: 1.2rem; color: #fff; font-family: "DM Sans", sans-serif; font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin-bottom: .65rem; }
.site-footer a { color: rgba(255,255,255,.66); text-decoration: none; font-size: .87rem; }
.site-footer a:hover { color: #fff; }
.footer-social-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff !important;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  font-size: .95rem !important;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.1rem;
}
.footer-bottom {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .75rem;
}
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  color: #fff;
  background: #1da45c;
  border: 3px solid #fff;
  border-radius: 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  text-decoration: none;
  font-weight: 700;
}
.floating-whatsapp:hover { color: #fff; background: #15894a; }
body.large-text { font-size: 1.12rem; }

@media (max-width: 1199.98px) {
  .navbar { min-height: 80px; }
  .navbar-brand img { width: 198px; }
}
@media (max-width: 991.98px) {
  .utility-bar { display: none; }
  .quick-panel { grid-template-columns: 1fr; }
  .quick-intro { padding: 1.5rem; }
  .quick-links > a { padding: 1.25rem; }
  .section-padding { padding: 76px 0; }
  .contact-info, .contact-body { padding: 2.3rem; }
}
@media (max-width: 767.98px) {
  .quick-access { margin-top: 0; background: var(--surface); }
  .quick-access .container { padding: 0; }
  .quick-panel { border-radius: 0; box-shadow: none; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links > a { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-links > a:last-child { border-bottom: 0; }
  .section-padding { padding: 64px 0; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading h2 { font-size: 2.15rem; }
  .institutional-strip { padding: 64px 0; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-shell { border-radius: 16px; }
  .contact-info, .contact-body { padding: 1.7rem; }
  .contact-info h2 { font-size: 2.15rem; }
  .floating-whatsapp { width: 54px; height: 54px; justify-content: center; padding: 0; border-radius: 50%; font-size: 1.25rem; }
  .floating-whatsapp span { display: none; }
}

/* Versão 3 — fachada e serviços como protagonistas */
:root {
  --v3-blue: #1263bd;
  --v3-blue-dark: #08488f;
  --v3-blue-soft: #edf5ff;
  --v3-green: #17a765;
  --v3-cream: #fbfaf6;
}

body { background: #fff; }
.site-header .navbar { min-height: 86px; }
.site-header .navbar-brand img { width: 200px; }
.site-header .nav-link { position: relative; }
.site-header .nav-link.active::after {
  position: absolute;
  right: .66rem;
  bottom: .3rem;
  left: .66rem;
  height: 2px;
  content: "";
  background: var(--v3-blue);
  border-radius: 2px;
}

.v3-hero {
  position: relative;
  padding: 78px 0 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(18,99,189,.1), transparent 32%),
    linear-gradient(180deg, #f9fbfe 0%, #fff 72%);
}
.v3-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--v3-blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.v3-hero h1 {
  margin: 0 0 22px;
  color: #152b3a;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.6rem, 4.1vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.v3-hero h1 span { color: var(--v3-blue); }
.v3-hero > .container > .row p {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}
.v3-search {
  scroll-margin-top: 118px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 510px;
  padding: 7px 7px 7px 18px;
  background: #fff;
  border: 1px solid #d7e3ed;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(19,52,77,.08);
}
.v3-search > i { color: #718593; }
.v3-search input {
  min-width: 0;
  padding: 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}
.v3-search button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--v3-blue);
  border: 0;
  border-radius: 10px;
}
.v3-search button:hover { background: var(--v3-blue-dark); }
.v3-search-feedback {
  min-height: 24px;
  max-width: 510px;
  padding: 8px 3px 0;
  color: var(--v3-blue-dark);
  font-size: .82rem;
  font-weight: 600;
}
.v3-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  margin: 0;
  border-radius: 32px 6px 32px 6px;
  box-shadow: 0 30px 65px rgba(16,55,86,.18);
}
.v3-hero-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.v3-hero-photo img { width: 100%; height: 440px; object-fit: cover; object-position: center 45%; }
.v3-hero-photo figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  color: #fff;
  background: rgba(7,59,122,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  font-size: .78rem;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}
.v3-hero-photo figcaption > i { font-size: 1.35rem; }

.v3-services {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 28px;
  margin-bottom: -72px;
  background: #fff;
  border: 1px solid #e0e8ee;
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(18,50,74,.09);
}
.v3-services > a {
  position: relative;
  min-height: 218px;
  padding: 27px 18px 44px;
  color: var(--ink);
  border-right: 1px solid #e5ebef;
  text-decoration: none;
  transition: color .22s, background .22s, transform .22s;
}
.v3-services > a:last-child { border-right: 0; }
.v3-services > a:hover,
.v3-services > a.is-search-match {
  z-index: 1;
  color: #fff;
  background: var(--v3-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(18,99,189,.2);
}
.v3-service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--v3-blue);
  background: var(--v3-blue-soft);
  border-radius: 12px;
  font-size: 1.25rem;
}
.v3-services h2 {
  min-height: 43px;
  margin: 0 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.v3-services p { margin: 0; color: #758690; font-size: .78rem; line-height: 1.5; }
.v3-service-arrow { position: absolute; right: 20px; bottom: 19px; color: var(--v3-blue); }
.v3-services > a:hover .v3-service-icon,
.v3-services > a.is-search-match .v3-service-icon { color: var(--v3-blue); background: #fff; }
.v3-services > a:hover p,
.v3-services > a.is-search-match p,
.v3-services > a:hover .v3-service-arrow,
.v3-services > a.is-search-match .v3-service-arrow { color: rgba(255,255,255,.84); }

.v3-journey {
  position: relative;
  background: var(--v3-cream);
}
.v3-about h2 {
  margin: 7px 0 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 3vw, 3.3rem);
}
.v3-action-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  height: 100%;
  padding: 28px;
  border-radius: 18px;
  text-decoration: none;
}
.v3-protocol-card { color: #fff; background: linear-gradient(135deg, var(--v3-blue-dark), var(--v3-blue)); }
.v3-protocol-card h3 { margin: 5px 0 6px; font-size: 1.5rem; }
.v3-protocol-card p { max-width: 390px; margin: 0 0 18px; color: rgba(255,255,255,.75); font-size: .85rem; }
.v3-light-button { position: relative; z-index: 2; color: var(--v3-blue-dark); background: #fff; font-size: .82rem; font-weight: 700; }
.v3-light-button:hover { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.v3-action-watermark { position: absolute; right: 28px; bottom: -18px; color: rgba(255,255,255,.12); font-size: 7rem; }
.v3-whatsapp-card,
.v3-file-card { display: flex; flex-direction: column; justify-content: space-between; }
.v3-whatsapp-card { color: #087244; background: #e7f8ef; }
.v3-file-card { color: var(--v3-blue-dark); background: #e7f1ff; }
.v3-whatsapp-card > i:first-child,
.v3-file-card > i:first-child { font-size: 2rem; }
.v3-whatsapp-card > i:last-child,
.v3-file-card > i:last-child { position: absolute; top: 26px; right: 26px; }
.v3-action-card span { display: flex; flex-direction: column; gap: 5px; }
.v3-action-card span strong { font-size: 1rem; }
.v3-action-card span small { opacity: .75; }
.v3-whatsapp-card:hover,
.v3-file-card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(20,54,80,.1); }

.v3-about { background: #fff; }
.v3-about-photo { overflow: hidden; border-radius: 6px 30px 6px 30px; box-shadow: 0 24px 55px rgba(17,52,78,.16); }
.v3-about-photo img { display: block; width: 100%; height: 480px; object-fit: cover; object-position: center; }
.v3-about h2 { margin-bottom: 22px; }
.v3-about p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.v3-benefits { display: grid; gap: 12px; margin: 25px 0 30px; padding: 0; list-style: none; }
.v3-benefits li { display: flex; gap: 10px; font-weight: 600; }
.v3-benefits i { color: var(--v3-green); font-size: 1.15rem; }

.news-section { background: #f5f8fb; }
.contact-section { background: #fff; }
.partners-section { background: #fafbfd; }
.partners-grid img { opacity: .72; }

@media (max-width: 1199.98px) {
  .v3-services { grid-template-columns: repeat(3, 1fr); }
  .v3-services > a { border-bottom: 1px solid #e5ebef; }
  .v3-services > a:nth-child(3n) { border-right: 0; }
  .v3-services > a:nth-child(n+7) { border-bottom: 0; }
}

@media (max-width: 991.98px) {
  .v3-hero { padding-top: 58px; }
  .v3-hero-photo,
  .v3-hero-photo img { min-height: 0; height: 400px; }
  .v3-services { margin-bottom: -56px; }
  .v3-about-photo img { height: 420px; }
}

@media (max-width: 767.98px) {
  .utility-bar { display: none; }
  .site-header .navbar { min-height: 72px; }
  .site-header .navbar-brand img { width: 170px; }
  .v3-hero { padding-top: 46px; }
  .v3-hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .v3-hero-photo,
  .v3-hero-photo img { height: 315px; }
  .v3-hero-photo figcaption { right: 12px; bottom: 12px; left: 12px; }
  .v3-services { grid-template-columns: repeat(2, 1fr); margin-top: 24px; margin-bottom: -36px; }
  .v3-services > a:nth-child(n) { min-height: 205px; border-right: 1px solid #e5ebef; border-bottom: 1px solid #e5ebef !important; }
  .v3-services > a:nth-child(2n) { border-right: 0; }
  .v3-services > a:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0 !important; }
  .v3-about-photo img { height: 340px; }
}

@media (max-width: 419.98px) {
  .v3-services { grid-template-columns: 1fr; }
  .v3-services > a:nth-child(n) { min-height: 188px; border-right: 0; border-bottom: 1px solid #e5ebef !important; }
  .v3-services > a:last-child { border-bottom: 0 !important; }
  .v3-search { padding-left: 13px; }
  .v3-search input { font-size: .85rem; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { width: 170px; }
  .carousel-control-prev-icon, .carousel-control-next-icon { width: 34px; height: 34px; }
  .service-card { min-height: 285px; padding: 1.6rem; }
  .news-content h3, .news-content p { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Versão 2 — direção editorial premium */
.utility-bar {
  background: linear-gradient(90deg, #073b7a, #0b4fa3);
}
.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.navbar { min-height: 80px; }
.navbar-brand img { width: 202px; }
.nav-link {
  position: relative;
  padding-right: .72rem !important;
  padding-left: .72rem !important;
}
.nav-link::after {
  position: absolute;
  right: .72rem;
  bottom: .42rem;
  left: .72rem;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-link:hover::after,
.nav-link:focus::after { transform: scaleX(1); }
.nav-link.dropdown-toggle::after {
  right: auto;
  bottom: .55rem;
  left: .72rem;
  width: calc(100% - 2.15rem);
  margin: 0;
  border: 0;
}
.site-header .btn-brand {
  padding: .68rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11,79,163,.16);
}

.hero .carousel {
  padding-bottom: 70px;
  background: #fff;
}
.hero .carousel-indicators {
  bottom: 12px;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 1rem;
}
.hero .carousel-indicators [data-bs-target] {
  display: flex;
  width: 156px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  padding: 0 1rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(7,35,53,.06);
  text-indent: 0;
  opacity: 1;
  font-size: .78rem;
  font-weight: 700;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.hero .carousel-indicators [data-bs-target]:hover { transform: translateY(-2px); }
.hero .carousel-indicators .active {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.hero .carousel-control-prev,
.hero .carousel-control-next { bottom: 70px; }
.quick-access { margin-top: 0; padding-top: 22px; }
.quick-panel {
  border: 1px solid rgba(11,79,163,.1);
  box-shadow: 0 18px 45px rgba(7,35,53,.08);
}
.quick-intro {
  background:
    radial-gradient(circle at 0 100%, rgba(255,255,255,.13), transparent 45%),
    var(--navy-900);
}

.services-section { background: #fff; }
.services-section .row > div:nth-child(1) .service-card { --service-accent: #1976d2; }
.services-section .row > div:nth-child(2) .service-card { --service-accent: #c79635; }
.services-section .row > div:nth-child(3) .service-card { --service-accent: #7655bb; }
.services-section .row > div:nth-child(4) .service-card { --service-accent: #168a78; }
.services-section .row > div:nth-child(5) .service-card { --service-accent: #cf565a; }
.services-section .row > div:nth-child(6) .service-card { --service-accent: #98519c; }
.service-card {
  border-top: 3px solid var(--service-accent, var(--blue-700));
  box-shadow: 0 12px 35px rgba(7,35,53,.045);
}
.service-card.featured {
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(222,199,143,.18), transparent 40%),
    #fff;
  border-color: var(--line);
  border-top-color: var(--service-accent);
}
.service-card.featured p { color: var(--muted); }
.service-card.featured .service-icon { color: #9a5b00; background: #fff0c7; }
.service-card.featured .card-link { color: var(--navy-800); }
.service-card.featured .secondary-link { color: var(--muted); }
.service-card.featured .service-number { color: rgba(10,41,64,.055); }
.service-card:hover {
  border-color: var(--line);
  border-top-color: var(--service-accent);
}

.institutional-strip {
  background:
    radial-gradient(circle at 90% -20%, rgba(222,199,143,.25), transparent 38%),
    linear-gradient(120deg, #073b7a, #0b4fa3 60%, #1263bd);
}
.stats-grid > div > div { border-color: rgba(222,199,143,.24); }

.news-section { background: #f5f8fb; }
.news-card-featured .news-visual { height: 270px; }
.news-card-featured .news-content { padding: 2rem; }
.news-card-featured .news-content h3 {
  min-height: auto;
  max-width: 580px;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
}
.news-card-compact .news-visual { height: 165px; }
.news-card-compact .news-content { padding: 1.35rem; }
.news-card-compact .news-content h3 {
  min-height: 88px;
  font-size: 1rem;
}
.news-card-compact .news-content p {
  min-height: 92px;
  font-size: .84rem;
}

.partners-section { padding-top: 42px; }
.partners-grid img { max-width: 108px; opacity: .55; }
.site-footer {
  border-top: 3px solid var(--gold-500);
  background: #073b7a;
}
.footer-logo { width: 198px; }
.footer-social-link {
  border: 1px solid rgba(255,255,255,.16);
  transition: background .2s, transform .2s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .navbar { min-height: 74px; }
  .news-card-featured .news-visual { height: 220px; }
}
@media (max-width: 767.98px) {
  .hero .carousel { padding-bottom: 62px; }
  .hero .carousel-control-prev,
  .hero .carousel-control-next { bottom: 62px; }
  .hero .carousel-indicators [data-bs-target] {
    width: 52px;
    height: 40px;
    padding: 0;
  }
  .hero .carousel-indicators [data-bs-target] span { display: none; }
  .quick-access { padding-top: 0; }
  .news-card-featured .news-visual,
  .news-card-compact .news-visual { height: 210px; }
  .news-card-compact .news-content h3,
  .news-card-compact .news-content p { min-height: auto; }
}

/* Ajustes finais da V3 após a base compartilhada com a V2 */
.site-header .nav-link.active::after {
  background: var(--v3-blue);
  transform: scaleX(1);
}
.partners-grid img { opacity: .72; }

/* Ancorar o menu ao cabeçalho evita cortes junto às bordas da janela. */
@media (min-width: 1200px) {
  .site-header .navbar > .container { position: relative; }
  .site-header .navbar-nav > .dropdown { position: static; }
  .site-header .mega-menu {
    top: 100%;
    right: auto;
    left: 50%;
    width: min(680px, calc(100% - 24px));
    transform: translateX(-50%);
    max-height: calc(100vh - 160px);
    max-height: calc(100dvh - 160px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header .mega-menu .dropdown-item {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.news-visual .news-image-placeholder{height:100%;min-height:240px;display:grid;place-items:center;background:linear-gradient(135deg,#e3edf5,#f2f6fa);color:#8aa3ba;font-size:45px}
