/* ================================================
   Ghia Multi Family Office — style.css
   ================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white:        #FFFFFF;
  --off-white:    #F7F9FB;
  --blue:         #189CD8;
  --blue-light:   #E8F5FC;
  --blue-mid:     #0E7DB0;
  --blue-dark:    #1a3d65;
  --ultra-dark:   #002945;
  --light-blue:   #5cccf2;
  --light-green:  #9ae6db;
  --navy:         #0A1628;
  --text:         #1A2535;
  --muted:        #6B7A8D;
  --border:       #E4E8EE;
  --border-soft:  #F0F3F7;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 40px rgba(10,22,40,0.07);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 1.5rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-svg { height: 54px; transition: opacity 0.3s; }
.nav-logo-svg.dark { display: none; }
nav.scrolled .nav-logo-svg.light { display: none; }
nav.scrolled .nav-logo-svg.dark  { display: block; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95); text-decoration: none; transition: color 0.2s;
}
nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--white) !important; }
nav.scrolled .nav-links a:hover { color: var(--blue) !important; }

.btn-nav {
  font-size: 0.84rem; font-weight: 600;
  color: var(--white); text-decoration: none;
  padding: 0.62rem 1.5rem; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.45);
  transition: all 0.3s; white-space: nowrap; flex-shrink: 0;
}
.btn-nav:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
nav.scrolled .btn-nav { color: var(--blue); border-color: var(--blue); }
nav.scrolled .btn-nav:hover { background: var(--blue); color: var(--white); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; width: 40px; height: 40px;
  cursor: pointer; gap: 5px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}
nav.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 188;
  background: rgba(0,10,25,0.6); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: all; }

.nav-mobile {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 78%; max-width: 300px;
  background: var(--navy); z-index: 190;
  display: flex; flex-direction: column;
  padding: 5rem 1.75rem 2.5rem;
  gap: 0;
  transform: translateX(110%); visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.38s;
  border-radius: 20px 0 0 20px;
  box-shadow: -12px 0 48px rgba(0,0,0,0.4);
}
.nav-mobile.open { transform: translateX(0); visibility: visible; }

.nav-mobile-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); width: 38px; height: 38px;
  border-radius: 50%; font-size: 1.3rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.nav-mobile-close:hover { background: rgba(255,255,255,0.16); color: var(--white); }

.nav-mobile a {
  font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.78); text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:hover { color: var(--white); padding-left: 0.4rem; }
.nav-mobile .btn-mobile-cta {
  margin-top: 1.75rem; background: var(--blue); color: var(--white);
  padding: 0.95rem 1.5rem; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600; text-align: center;
  border-bottom: none; transition: background 0.2s, color 0.2s, padding-left 0s;
}
.nav-mobile .btn-mobile-cta:hover { background: var(--blue-mid); padding-left: 0; color: var(--white); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(160deg, rgba(0,41,69,0.78) 0%, rgba(10,22,40,0.48) 45%, rgba(0,41,69,0.82) 100%),
    var(--hero-bg-url, url('../images/hero-bg.png')) center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to top, rgba(0,15,35,0.7), transparent);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 65% 55% at 18% 65%, rgba(24,156,216,0.14), transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  padding: 10rem 2.5rem 2.5rem; width: 100%;
}
/*
  HIERARQUIA DE TÍTULOS
  .hero-title    → clamp(2.1rem, 3.8vw, 3.4rem)  — hero principal, maior
  .section-title → clamp(1.3rem, 2.1vw, 1.9rem)  — títulos de seção, claramente menores
*/
.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--white); max-width: 680px; margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 0.9s ease 0.2s forwards;
}
.hero-title strong { font-weight: 800; display: block; font-size: 0.88em; }
.hero-title strong em { font-style: normal; }
.hero-inner .hero-title strong { display: inline; font-size: 1em; }
.word-wave {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.word-wave::after {
  content: '';
  position: absolute;
  bottom: -9px; left: 42%; right: -6px;
  height: 26px;
  background: url('../images/onda-titulo.svg') no-repeat center / 100% 100%;
  z-index: -1;
}

.hero-sub {
  font-size: 1.05rem; font-weight: 400; line-height: 1.8;
  color: rgba(255,255,255,0.72); max-width: 520px; margin-bottom: 3.5rem;
  opacity: 0; animation: fadeUp 0.9s ease 0.6s forwards;
}
.hero-sub strong { color: rgba(255,255,255,0.92); font-weight: 600; }
.hero-actions {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: var(--white); text-decoration: none;
  font-size: 0.92rem; font-weight: 600; padding: 0.9rem 2.2rem;
  border-radius: 100px; transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(24,156,216,0.38); letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--blue-mid); transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(24,156,216,0.48);
}
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--white); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; padding: 0.9rem 2rem;
  border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.32); transition: all 0.3s;
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.09);
}

.hero-bottom-bar {
  position: relative; z-index: 5;
  margin-top: 2rem;
  padding-bottom: 110px;
  opacity: 0; animation: fadeUp 0.9s ease 1s forwards;
}
.hero-bottom-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: repeat(6, 165px); gap: 0.5rem;
  justify-content: start;
}
.hero-kpi-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13); border-radius: 14px;
  padding: 0.8rem 0.7rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.2rem;
  transition: background 0.2s;
}
.hero-kpi-card:hover { background: rgba(255,255,255,0.13); }
.hero-award-card {
  background: rgba(24,156,216,0.12);
  border-color: rgba(24,156,216,0.25);
}
.kpi-val {
  font-size: 2.6rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.04em; line-height: 1;
}
.kpi-val span { color: var(--blue); }
.kpi-label {
  font-size: 0.74rem; font-weight: 500; color: rgba(255,255,255,0.78); line-height: 1.3;
}
.kpi-sublabel {
  font-size: 0.58rem; font-weight: 400; color: rgba(255,255,255,0.55);
  line-height: 1.25; text-align: center;
}
.kpi-citywire-footer {
  display: flex; align-items: center; gap: 0.3rem; width: 100%; align-self: stretch;
}
.kpi-citywire-footer .kpi-sublabel {
  flex: 1; text-align: right;
  font-size: 0.6rem; font-weight: 500; color: rgba(255,255,255,0.78); line-height: 1.3;
}
.kpi-year {
  font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
}
.award-img {
  max-height: 58px; max-width: 90%; object-fit: contain;
}
.award-card-leaders { padding: 0.25rem 0.6rem; }
.award-img-leaders { max-height: 72px; max-width: 88%; width: auto; object-fit: contain; }

.hero-wave { position: absolute; bottom: -3px; left: -2px; right: -2px; z-index: 2; pointer-events: none; }
.hero-wave svg { display: block; width: 100%; }

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem;
}
.section-title {
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.2;
  color: var(--navy); margin-bottom: 1.2rem;
}
.section-title strong { font-weight: 800; }
.section-title.on-dark { color: var(--white); }
.section-title.on-dark strong { color: var(--light-blue); }
.section-sub { font-size: 0.98rem; font-weight: 400; color: var(--muted); line-height: 1.8; max-width: 520px; }
.section-sub.on-dark { color: rgba(255,255,255,0.65); }
.container { max-width: 1440px; margin: 0 auto; padding: 0 2.5rem; }

/* ══════════════════════════════
   HOW IT WORKS
══════════════════════════════ */
.how { padding: 4.5rem 0 6.5rem; background: var(--white); }
.highlight-wave { position: relative; display: inline-block; isolation: isolate; }
.highlight-wave::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -6px;
  width: 3.5rem;
  height: 15px;
  background: url('../images/onda-titulo.svg') no-repeat center / 100% 100%;
  z-index: -1;
  pointer-events: none;
}
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.how-head { }
.how-head .section-sub { max-width: 540px; margin-top: 1.2rem; }
.how-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(0,41,69,0.3), transparent 60%); pointer-events: none;
}
.how-float-card {
  position: absolute; bottom: -1.8rem; right: -1.8rem;
  background: var(--white); border-radius: 18px; padding: 1.6rem;
  box-shadow: 0 24px 64px rgba(10,22,40,0.13); border: 1px solid var(--border); min-width: 215px;
}
.float-card-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.float-card-val { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; margin-bottom: 0.2rem; }
.float-card-val span { color: var(--blue); }
.float-card-sub { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

.how-items { display: flex; flex-direction: column; gap: 0.6rem; }
.how-item {
  background: rgba(0,41,69,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.how-item:hover {
  background: rgba(24,156,216,0.06);
  border-color: rgba(24,156,216,0.3);
  box-shadow: 0 4px 20px rgba(24,156,216,0.08);
}
.how-item-head {
  display: flex; align-items: center; gap: 1rem;
}
.how-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  transition: background 0.3s; flex-shrink: 0;
}
.how-item:hover .how-icon { background: var(--blue); }
.how-icon svg { width: 18px; height: 18px; stroke: var(--blue); stroke-width: 1.8; fill: none; transition: stroke 0.3s; }
.how-item:hover .how-icon svg { stroke: white; }
.how-item-head h3 {
  flex: 1; margin: 0;
  font-size: 1.02rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.01em; transition: color 0.3s;
}
.how-item:hover .how-item-head h3 { color: var(--blue); }
.how-chevron {
  font-size: 1.3rem; line-height: 1; color: var(--blue);
  opacity: 0.4; flex-shrink: 0;
  transition: transform 0.35s ease, opacity 0.3s;
}
.how-item:hover .how-chevron { transform: rotate(90deg); opacity: 1; }
.how-item-body p {
  font-size: 0.86rem; color: var(--muted); line-height: 1.75; margin: 0;
  max-height: 0; overflow: hidden; opacity: 0; padding-top: 0;
  transition: max-height 0.4s ease, opacity 0.25s ease, padding-top 0.3s ease;
}
.how-item:hover .how-item-body p,
.how-item:focus-within .how-item-body p,
.how-item.open .how-item-body p {
  max-height: 220px; opacity: 1; padding-top: 0.8rem;
}
.how-item:hover .how-chevron,
.how-item.open .how-chevron { transform: rotate(90deg); opacity: 1; }
.how-item:hover .how-item-head h3,
.how-item.open .how-item-head h3 { color: var(--blue); }
.how-item:hover .how-icon,
.how-item.open .how-icon { background: var(--blue); }
.how-item:hover .how-icon svg,
.how-item.open .how-icon svg { stroke: white; }

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services {
  padding: 8rem 0; position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(0,41,69,0.88), rgba(10,22,40,0.93)),
    url('../images/ocean-bg.jpg') center/cover no-repeat fixed;
}
.services-head { text-align: left; margin-bottom: 4.5rem; }
.services-head .section-title strong { color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: start; }

.service-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; overflow: hidden; transition: all 0.4s ease;
}
.service-card:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(24,156,216,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.service-header { padding: 1.4rem 2.2rem 0.5rem; display: flex; align-items: center; gap: 1rem; }
.service-label { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 0; }
.service-icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 13px;
  background: rgba(24,156,216,0.15); border: 1px solid rgba(24,156,216,0.2);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(24,156,216,0.28); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--light-blue); stroke-width: 1.6; fill: none; }
.service-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0; letter-spacing: -0.02em; }

.service-questions-wrap { padding: 0 1.6rem 0; }
.service-question-item {
  font-size: 0.875rem; color: rgba(255,255,255,0.55); font-style: italic;
  padding: 0.3rem 0 0.3rem 1.2rem; position: relative; line-height: 1.6;
}
.service-question-item::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-style: normal; font-size: 0.75rem; }

.service-accordion-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.4rem 2.2rem; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.service-accordion-label { font-size: 0.78rem; font-weight: 600; color: var(--blue); letter-spacing: 0.05em; text-transform: uppercase; }
.service-accordion-icon {
  width: 24px; height: 24px; min-width: 24px; background: rgba(24,156,216,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s, background 0.3s;
}
.service-accordion-icon svg { width: 10px; height: 10px; stroke: var(--blue); stroke-width: 2.5; fill: none; }
.service-card.open .service-accordion-icon { transform: rotate(180deg); background: var(--blue); }
.service-card.open .service-accordion-icon svg { stroke: white; }

.service-solutions {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s; padding: 0 2.2rem;
}
.service-card.open .service-solutions { max-height: 400px; padding: 0 2.2rem 2rem; }
.service-divider-line { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 1.2rem; }
.service-list { list-style: none; }
.service-list li {
  font-size: 0.84rem; color: rgba(255,255,255,0.75);
  padding: 0.45rem 0 0.45rem 1.4rem; position: relative; line-height: 1.5;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.services-cta { text-align: left; margin-top: 3.5rem; }
.btn-primary-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--white); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  padding: 0.9rem 2.2rem; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.35); transition: all 0.3s;
}
.btn-primary-outline:hover { background: var(--blue); border-color: var(--blue); }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about { padding: 8rem 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-imgs { position: relative; }
.about-img-wrap { border-radius: 16px; overflow: hidden; position: relative; height: 440px; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.about-img-wrap:hover img { transform: scale(1.04); }
.about-float {
  position: absolute; top: 1.2rem; left: 1.2rem; background: var(--blue); color: white;
  border-radius: 12px; padding: 0.7rem 1rem; font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; z-index: 2;
}
.about-float span { font-size: 0.65rem; font-weight: 500; display: block; margin-top: 0.2rem; opacity: 0.85; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.highlight-item {
  background: var(--off-white); border-radius: 16px; padding: 1.4rem;
  border: 1px solid var(--border); transition: border-color 0.3s;
}
.highlight-item:hover { border-color: var(--blue); }
.highlight-val { font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.4rem; }
.highlight-label { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ══════════════════════════════
   OCEAN QUOTE
══════════════════════════════ */
.ocean-divider { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.ocean-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(0,41,69,0.88), rgba(10,22,40,0.93)),
    url('../images/ocean-bg.jpg') center/cover no-repeat;
}
.ocean-content {
  position: relative; z-index: 2; max-width: 1440px; margin: 0 auto;
  padding: 5rem 2.5rem; width: 100%; text-align: center;
}
.ocean-quote {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,0.8); max-width: 760px; margin: 0 auto 2rem; letter-spacing: -0.01em;
}
.ocean-quote strong { color: var(--white); font-weight: 700; }
.ocean-quote em { font-style: normal; color: var(--light-blue); }
.ocean-line {
  width: 80px; height: 2px;
  background: linear-gradient(to right, transparent, var(--blue), transparent); margin: 0 auto 1.5rem;
}
.ocean-caption { font-size: 0.8rem; color: rgba(255,255,255,0.4); letter-spacing: 0.15em; text-transform: uppercase; }

/* ══════════════════════════════
   INSIGHTS
══════════════════════════════ */
.insights { padding: 8rem 0; background: var(--off-white); }
.insights-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem; }
.btn-link { font-size: 0.86rem; font-weight: 600; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
.btn-link:hover { gap: 0.7rem; }
.podcast-block .section-tag { display: inline-block; margin-bottom: 0.75rem; }
.podcast-block iframe { border-radius: 12px; display: block; }
.insights-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.insights-layout > .insight-card.featured { display: flex; flex-direction: column; height: 100%; }
.insights-layout > .insight-card.featured .insight-thumb { flex: 1 1 0; min-height: 0; overflow: hidden; }
.insights-right { display: flex; flex-direction: column; gap: 1.5rem; }
.insights-right-top { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.insight-card {
  text-decoration: none; display: block; background: var(--white);
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all 0.35s ease;
}
.insight-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(10,22,40,0.1); border-color: transparent; }
.insight-card.featured { background: var(--ultra-dark); border-color: transparent; }
.insight-thumb { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; overflow: hidden; position: relative; }
.insight-card.featured .insight-thumb { height: 260px; }
.insight-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-body { padding: 1.6rem; }
.insight-card.featured .insight-body { padding: 2rem; }
.insight-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem; display: block; }
.insight-card.featured .insight-tag { color: var(--light-blue); }
.insight-title { font-size: 0.97rem; font-weight: 600; color: var(--navy); line-height: 1.55; margin-bottom: 1.2rem; }
.insight-card.featured .insight-title { font-size: 1.15rem; color: var(--white); margin-bottom: 1.6rem; }
.insight-arrow { font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.insight-card.featured .insight-arrow { color: var(--light-blue); }

/* ══════════════════════════════
   NA MÍDIA
══════════════════════════════ */
.newsletter {
  padding: 3rem 0;
  background:
    linear-gradient(160deg, rgba(0,41,69,0.88), rgba(10,22,40,0.93)),
    url('../images/ocean-bg.jpg') center/cover no-repeat fixed;
  overflow: hidden;
}
.midia-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.75rem;
}
.midia-head { text-align: center; }
.midia-head .section-tag { color: rgba(255,255,255,0.9); }
.midia-track-wrap {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.midia-track {
  display: flex; align-items: center; gap: 3.5rem;
  width: max-content;
  animation: midia-scroll 55s linear infinite;
}
@keyframes midia-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .midia-track { animation: none; } }
.ml {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.38);
  white-space: nowrap; user-select: none; flex-shrink: 0;
  font-family: inherit; transition: color 0.25s;
  text-decoration: none; cursor: pointer;
}
.ml:hover { color: rgba(255,255,255,0.78); }
.ml-valor { font-size: 1.25rem; font-weight: 700; font-style: italic; letter-spacing: -0.02em; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; }
.ml-valor em { font-style: normal; font-size: 0.58em; font-weight: 400; letter-spacing: 0.01em; }
.ml-bj { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; }
.ml-bj svg { width: 9px; height: 9px; fill: currentColor; flex-shrink: 0; }
.ml-forbes { font-size: 1.4rem; font-weight: 700; font-style: italic; letter-spacing: -0.02em; }
.ml-veja { font-size: 1.05rem; font-weight: 900; letter-spacing: 0.07em; }
.ml-zh { font-size: 0.88rem; font-weight: 900; letter-spacing: 0.1em; }
.ml-exame { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.04em; }
.ml-estadao { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.08em; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact {
  padding: 8rem 0;
  background:
    linear-gradient(160deg, rgba(0,41,69,0.88), rgba(10,22,40,0.93)),
    url('../images/ocean-bg.jpg') center/cover no-repeat fixed;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: start; }
.contact-info { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 11px;
  background: rgba(24,156,216,0.2); display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 18px; height: 18px; stroke: var(--light-blue); stroke-width: 1.8; fill: none; }
.info-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.info-text strong { display: block; color: var(--white); font-weight: 600; font-size: 0.92rem; }

.contact-form {
  background: var(--white); border-radius: 24px; padding: 3rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.form-title { font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.form-sub { font-size: 0.86rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.8rem 1.1rem; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 0.9rem; color: var(--text);
  background: var(--white); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,156,216,0.1); }
.form-group select {
  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='%236B7A8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-group textarea { resize: none; min-height: 90px; }
.btn-form {
  width: 100%; background: var(--blue); color: white; border: none; border-radius: 10px;
  padding: 0.95rem; font-size: 0.93rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.3s; margin-top: 0.5rem;
}
.btn-form:hover { background: var(--blue-mid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(24,156,216,0.3); }
.btn-form:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-feedback {
  padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.86rem; font-weight: 500;
  margin-top: 1rem; display: none;
}
.form-feedback.success { background: #e8f8ee; color: #1a7a45; border: 1px solid #b6e8c9; }
.form-feedback.error   { background: #fef2f2; color: #c53030; border: 1px solid #fecaca; }
.form-privacy { font-size: 0.74rem; color: var(--muted); text-align: center; margin-top: 1rem; line-height: 1.6; }
.form-privacy a { color: var(--blue); text-decoration: none; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer { background: var(--navy); padding: 5rem 0 2.5rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem;
  margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 1.3rem; }
.footer-logo-img { height: 48px; width: auto; display: block; }
.footer-anbima { display: flex; gap: 1.5rem; margin-top: 1.5rem; align-items: center; }
.footer-anbima img { height: 70px; width: auto; display: block; border-radius: 8px; }
.footer-nav-sub { margin-bottom: 0.35rem; }
.footer-nav-sub a { font-size: 0.78rem; }
.footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--blue); }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.35rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.5rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.social-btn svg { width: 15px; height: 15px; }
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: white; }
.footer-col-group { display: flex; flex-direction: column; gap: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.76rem; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .how-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
  .how-visual { order: -1; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 1rem 1.25rem; }
  .nav-logo-svg { height: 36px; }
  .hero-content { padding: 5.5rem 1.25rem 1.5rem; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.4rem); margin-bottom: 2rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 2rem; }
  .btn-primary, .btn-outline-white { width: 270px; max-width: 100%; justify-content: center; font-size: 1rem; padding: 1rem 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .btn-arrow { display: none; }
  .hero-bottom-bar { padding-bottom: 110px; }
  .hero-bottom-inner { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; gap: 0.45rem; justify-content: start; }
  .hero-kpi-card { padding: 0.8rem 0.65rem; }
  .kpi-val { font-size: 1.9rem; }
  .kpi-label { font-size: 0.69rem; }
  .award-img { max-height: 46px; }
  .award-card-leaders { padding: 0.15rem 0.5rem; }
  .award-img-leaders { max-height: 116px; }
  .kpi-citywire-footer { justify-content: center; }
  .kpi-citywire-footer .kpi-sublabel { flex: none; }
  .container { padding: 0 1.5rem; }
  .how { padding: 1.5rem 0 4rem; }
  .services, .about, .insights, .contact { padding: 5rem 0; }
  .how-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-questions-wrap { padding: 0 0.8rem; }
  .service-question-item { font-size: 0.8rem; padding-left: 0.9rem; }
  .insights-layout { grid-template-columns: 1fr; }
  .insights-right-top { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; align-items: start; }
  .footer-top > div:first-child .footer-logo { grid-column: 1; grid-row: 1; }
  .footer-top > div:first-child .footer-contact { grid-column: 1; grid-row: 2; }
  .footer-top > div:first-child .footer-anbima { grid-column: 2; grid-row: 1 / 3; flex-direction: column; margin-top: 0; align-self: start; }
  .footer-col-group { display: contents; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .midia-inner { padding: 0 1.5rem; gap: 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  /* Como Funciona - less space above, shorter accordion items */
  .how-item { padding: 0.75rem 1rem; }
  .how-icon { width: 32px; height: 32px; min-width: 32px; }
  .how-item-head h3 { font-size: 0.9rem; }
  /* Serviços - less space above, compact cards */
  .services { padding-top: 3rem; }
  .service-header { padding: 1rem 1.4rem 0.3rem; }
  .service-accordion-btn { padding: 0.85rem 1.4rem; }
  /* Contato form - compact */
  .contact-info { display: none; }
  .form-title { font-size: 1rem; margin-bottom: 1.2rem; }
  .contact-form { padding: 1.8rem 1.5rem; }
  .form-group { margin-bottom: 0.75rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 0.6rem 0.9rem; font-size: 0.84rem; }
  .form-group textarea { min-height: 70px; }
  .form-sub { margin-bottom: 1.2rem; }
  /* Insights featured - imagem como fundo com overlay */
  .insights-layout > .insight-card.featured { position: relative; overflow: hidden; min-height: 300px; justify-content: flex-end; }
  .insights-layout > .insight-card.featured .insight-thumb { position: absolute; inset: 0; flex: none; height: 100% !important; }
  .insights-layout > .insight-card.featured .insight-thumb::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,10,30,0.93) 55%, rgba(0,10,30,0.28));
    pointer-events: none;
  }
  .insights-layout > .insight-card.featured .insight-body { position: relative; z-index: 1; }
  /* Cards menores (abaixo do featured) */
  .insights-right-top .insight-card .insight-thumb { height: 150px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .hero-sub { font-size: 0.9rem; }
  .kpi-val { font-size: 1.65rem; }
  .award-img { max-height: 38px; }
  .award-img-leaders { max-height: 65px; margin: 4px; }
  .about-img-wrap { height: 280px; }
}

/* ══════════════════════════════
   HERO INNER (páginas internas — sem KPIs)
══════════════════════════════ */
.hero-inner { min-height: 62vh; }
.hero-inner .hero-content { padding-bottom: 7rem; }

/* ══════════════════════════════
   BLOG / CONTEÚDOS
══════════════════════════════ */
.blog { padding: 5rem 0 6rem; background: var(--off-white); }

.blog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; gap: 1.5rem; flex-wrap: wrap;
}
.blog-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.blog-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.blog-filter-btn {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.5rem 1.2rem; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--muted); cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.blog-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.blog-filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Post em destaque */
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border-radius: 20px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  text-decoration: none; margin-bottom: 2rem;
  transition: all 0.35s ease;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(10,22,40,0.1); border-color: transparent; }
.blog-featured.hidden { display: none; }
.blog-featured-img-wrap { overflow: hidden; min-height: 360px; }
.blog-featured-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.blog-featured:hover .blog-featured-img { transform: scale(1.04); }
.blog-featured-body { padding: 3rem 3rem 3rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.9rem; display: block;
}
.blog-featured-meta {
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.02em; display: flex; gap: 1.2rem; align-items: center;
  margin-bottom: 1rem;
}
.blog-featured-meta span { display: flex; align-items: center; gap: 0.35rem; }
.blog-featured-title {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem); font-weight: 700; color: var(--navy);
  line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 0.9rem;
}
.blog-featured-excerpt {
  font-size: 0.93rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.8rem;
}
.blog-featured-cta {
  font-size: 0.88rem; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* Grid de cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  transition: all 0.35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(10,22,40,0.1); border-color: transparent; }
.blog-card.hidden { display: none; }
.blog-card-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: var(--blue-light); position: relative;
}
.blog-card-img--carta { background: linear-gradient(135deg, #f5f0e8, #ede4d0); }
.blog-card-img--podcast { background: linear-gradient(135deg, #0a1628, #0e4d72); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.6rem; display: block;
}
.blog-card[data-category="carta-mensal"] .blog-card-tag { color: #9A7318; }
.blog-card[data-category="podcast"] .blog-card-tag { color: var(--light-blue); }
.blog-card-title {
  font-size: 0.97rem; font-weight: 700; color: var(--navy);
  line-height: 1.55; letter-spacing: -0.01em; margin-bottom: 0.55rem; flex: 1;
}
.blog-card-excerpt {
  font-size: 0.85rem; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 1.1rem;
}
.blog-card-meta {
  font-size: 0.73rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.02em; display: flex; gap: 1rem; align-items: center;
  border-top: 1px solid var(--border-soft); padding-top: 0.85rem;
  margin-top: auto;
}
.blog-card-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* Podcast */
.blog-podcast {
  background: var(--white);
  padding: 5rem 0;
  border-top: 1px solid #e9eef5;
  border-bottom: 1px solid #e9eef5;
}
.blog-podcast-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.blog-podcast-text .section-tag { color: var(--blue); }
.blog-podcast-title {
  font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 700;
  color: var(--navy); line-height: 1.3; letter-spacing: -0.02em;
  margin: 0.6rem 0 1rem;
}
.blog-podcast-title strong { font-weight: 800; }
.blog-podcast-desc { font-size: 0.95rem; color: #64748b; line-height: 1.8; margin-bottom: 2rem; }
.blog-podcast-desc strong { color: var(--navy); font-weight: 600; }
.blog-podcast-platforms { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.blog-podcast-platform {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.55rem 1.2rem; border-radius: 100px;
  border: 1.5px solid #d1dde8; color: #374151;
  text-decoration: none; transition: all 0.25s;
}
.blog-podcast-platform:hover { border-color: var(--blue); color: var(--blue); }
.blog-podcast-embed iframe { border-radius: 16px; display: block; box-shadow: 0 8px 32px rgba(10,22,40,0.08); }

/* ══════════════════════════════
   NA MÍDIA — páginas públicas
══════════════════════════════ */
.midia-outlet-section { }
.midia-outlet-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.midia-outlet-name {
  font-family: inherit; text-decoration: none; transition: opacity 0.2s;
  color: var(--navy);
}
.midia-outlet-name:hover { opacity: 0.65; }
/* herda estilos de .ml-* mas sem cor branca */
.midia-outlet-name.ml-valor { font-size: 1.4rem; font-weight: 700; font-style: italic; letter-spacing: -0.02em; display: inline-flex; flex-direction: column; line-height: 1.15; gap: 0; }
.midia-outlet-name.ml-valor em { font-style: normal; font-size: 0.58em; font-weight: 400; }
.midia-outlet-name.ml-bj { font-size: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; }
.midia-outlet-name.ml-bj svg { fill: currentColor; }
.midia-outlet-name.ml-forbes { font-size: 1.6rem; font-weight: 700; font-style: italic; letter-spacing: -0.02em; }
.midia-outlet-name.ml-veja { font-size: 1.2rem; font-weight: 900; letter-spacing: 0.07em; }
.midia-outlet-name.ml-zh { font-size: 1rem; font-weight: 900; letter-spacing: 0.1em; }
.midia-outlet-name.ml-exame { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.04em; }
.midia-outlet-name.ml-estadao { font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; }

/* Badge no card */
.midia-card-outlet-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.72); color: white; border-radius: 6px;
  padding: 0.25rem 0.6rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.03em; backdrop-filter: blur(4px);
}
.blog-card-img { position: relative; }

/* Hero logo no outlet.php */
.midia-outlet-hero-logo {
  color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 0.35rem;
}
.midia-outlet-hero-logo.ml-valor { font-size: 2rem; font-weight: 700; font-style: italic; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; }
.midia-outlet-hero-logo.ml-valor em { font-style: normal; font-size: 0.55em; font-weight: 400; }
.midia-outlet-hero-logo.ml-bj { font-size: 1.4rem; font-weight: 600; }
.midia-outlet-hero-logo.ml-forbes { font-size: 2.5rem; font-weight: 700; font-style: italic; }
.midia-outlet-hero-logo.ml-veja { font-size: 1.8rem; font-weight: 900; letter-spacing: 0.07em; }
.midia-outlet-hero-logo.ml-zh { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.1em; }
.midia-outlet-hero-logo.ml-exame { font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; }
.midia-outlet-hero-logo.ml-estadao { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.08em; }

/* Responsivo — blog */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img-wrap { min-height: 280px; max-height: 320px; }
  .blog-featured-body { padding: 2rem 2.5rem; }
  .blog-podcast-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .hero-inner { min-height: 54vh; }
  .blog { padding: 3rem 0 4rem; }
  .blog-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img-wrap { min-height: 220px; max-height: 260px; }
  .blog-featured-body { padding: 1.5rem 1.5rem; }
  .blog-featured-title { font-size: 1.15rem; }
  .blog-podcast { padding: 3rem 0; }
  .blog-podcast-inner { padding: 0 1.25rem; gap: 2rem; }
}

/* ══════════════════════════════════════════
   Página de Post Individual
══════════════════════════════════════════ */

/* Hero do post */
.post-hero-content {
  padding-top: 8rem;
  padding-bottom: 5rem;
  max-width: 800px;
}
.post-back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.post-back-link:hover { color: rgba(255,255,255,0.9); }
.post-hero-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--light-blue);
  margin-bottom: 1rem;
}
.post-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.post-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.post-hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.post-hero-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* Seção de conteúdo */
.post-section {
  background: #f7f9fb;
  padding: 4rem 0 5rem;
}
.post-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.post-main { min-width: 0; }

/* Corpo do post — tipografia editorial */
.post-body {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9eef5;
  padding: 3rem 3.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1a2940;
}
.post-body h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800; color: #0A1628;
  letter-spacing: -0.02em; line-height: 1.3;
  margin: 2.5rem 0 1rem;
}
.post-body h3 {
  font-size: 1.1rem; font-weight: 700; color: #1a2940;
  margin: 2rem 0 0.75rem;
}
.post-body h4 {
  font-size: 0.95rem; font-weight: 700; color: #374151;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 1.5rem 0 0.5rem;
}
.post-body p { margin-bottom: 1.35rem; }
.post-body p:last-child { margin-bottom: 0; }
.post-body strong { font-weight: 700; color: #0A1628; }
.post-body em { font-style: italic; }
.post-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--blue-mid); }

.post-body ul,
.post-body ol {
  margin: 0 0 1.35rem 1.5rem;
}
.post-body li { margin-bottom: 0.5rem; }

.post-body blockquote {
  border-left: 4px solid var(--blue);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #f0f9ff;
  border-radius: 0 10px 10px 0;
  color: #374151;
  font-style: italic;
}
.post-body blockquote p { margin-bottom: 0; }

.post-body img {
  max-width: 100%; height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: block;
}
.post-body figure {
  margin: 1.5rem 0;
}
.post-body figcaption {
  font-size: 0.8rem; color: #94a3b8;
  text-align: center; margin-top: 0.5rem;
}

/* YouTube / iframe embed */
.post-body iframe {
  width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: block;
  border: none;
}
.post-body .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin: 1.5rem 0;
}
.post-body .video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  margin: 0; border-radius: 0;
}

.post-body hr {
  border: none;
  border-top: 2px solid #f1f5f9;
  margin: 2.5rem 0;
}
.post-body pre {
  background: #1a2940;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}
.post-body code {
  background: #f1f5f9;
  color: #0A1628;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}
.post-body pre code { background: none; color: inherit; padding: 0; }

/* Rodapé do post */
.post-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9eef5;
}
.post-footer-back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--blue); text-decoration: none;
  font-size: 0.875rem; font-weight: 600;
  transition: gap 0.2s;
}
.post-footer-back:hover { gap: 0.65rem; }

/* ── Sidebar do post ──────────────────────── */
.post-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 6rem;
}

/* Widget: Newsletter */
.post-aside-nl {
  background: linear-gradient(135deg, #0a1628 0%, #1a3d65 100%);
  border-radius: 16px;
  padding: 1.75rem;
}
.post-aside-nl-icon {
  width: 40px; height: 40px;
  background: rgba(24,156,216,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--light-blue);
}
.post-aside-nl h3 {
  font-size: 1rem; font-weight: 700;
  color: #fff; line-height: 1.35;
  margin-bottom: 0.5rem;
}
.post-aside-nl p {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  line-height: 1.6; margin-bottom: 1.25rem;
}
.post-aside-nl-form { display: flex; flex-direction: column; gap: 0.5rem; }
.post-aside-nl-form input {
  padding: 0.625rem 0.875rem;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: #fff; font-family: inherit; font-size: 0.82rem;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.post-aside-nl-form input::placeholder { color: rgba(255,255,255,0.32); }
.post-aside-nl-form input:focus { border-color: var(--blue); }
.post-aside-nl-form button {
  width: 100%;
  background: var(--blue); color: #fff;
  border: none; border-radius: 8px;
  padding: 0.65rem; font-family: inherit;
  font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s; min-height: 44px;
}
.post-aside-nl-form button:hover { background: var(--blue-mid); }

/* Widget: Leia também */
.post-aside-related {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 16px;
  overflow: hidden;
}
.post-aside-related-head {
  padding: 1.1rem 1.4rem 0.65rem;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #94a3b8; border-bottom: 1px solid #f1f5f9;
}
.post-aside-related-item {
  display: flex; gap: 0.875rem; align-items: flex-start;
  padding: 1rem 1.4rem;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.post-aside-related-item:last-child { border-bottom: none; }
.post-aside-related-item:hover { background: #fafbfc; }
.post-aside-related-thumb {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a1628, #1a3d65);
  overflow: hidden; flex-shrink: 0;
}
.post-aside-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-aside-related-info { flex: 1; min-width: 0; }
.post-aside-related-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.2rem; display: block;
}
.post-aside-related-title {
  font-size: 0.8rem; font-weight: 600; color: #1a2940;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Popup de captura ─────────────────────── */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,0.72);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box {
  background: #fff;
  border-radius: 20px;
  max-width: 460px; width: 100%;
  overflow: hidden;
  transform: translateY(24px);
  transition: transform 0.35s;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  position: relative;
}
.popup-overlay.active .popup-box { transform: translateY(0); }
.popup-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.popup-img-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, #0a1628, #0e4d72);
  display: flex; align-items: center; justify-content: center;
}
.popup-body { padding: 1.75rem 2rem 2rem; }
.popup-title {
  font-size: 1.2rem; font-weight: 800; color: #0a1628;
  line-height: 1.3; margin-bottom: 0.65rem; letter-spacing: -0.02em;
}
.popup-desc {
  font-size: 0.875rem; color: #64748b; line-height: 1.7; margin-bottom: 1.5rem;
}
.popup-cta {
  display: block; width: 100%; text-align: center;
  background: var(--blue); color: #fff;
  border: none; border-radius: 10px;
  padding: 0.9rem; font-family: inherit;
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s; min-height: 44px;
}
.popup-cta:hover { background: var(--blue-mid); }
.popup-close {
  position: absolute; top: 0.875rem; right: 0.875rem;
  width: 32px; height: 32px;
  background: rgba(10,22,40,0.45); border: none;
  border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1;
  transition: background 0.2s; font-size: 1rem; line-height: 1;
}
.popup-close:hover { background: rgba(10,22,40,0.75); }

/* Responsivo — post */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: 1fr 260px; gap: 2rem; }
}
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; max-width: 760px; }
  .post-aside {
    position: static;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 768px) {
  .post-hero-content { padding-top: 6rem; padding-bottom: 4rem; }
  .post-body { padding: 1.75rem 1.5rem; font-size: 1rem; }
  .post-section { padding: 2rem 0 3rem; }
}
@media (max-width: 600px) {
  .post-aside { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   SVC — TABS SIDEBAR (página /servicos/)
══════════════════════════════════════════════════════════ */
.svc {
  padding: 6rem 0 7rem;
  background: var(--white);
}
.svc-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.5rem;
  align-items: center;
}
.svc-head {
  max-width: 520px;
}
.svc-tabs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.svc-tab-list {
  background: #f7f9fb;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 14px 0 0 14px;
  display: flex;
  flex-direction: column;
}
.svc-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.4rem;
  padding-left: calc(1.4rem - 3px);
  border: none;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-right: 1.5px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  min-height: 52px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.3;
}
.svc-tab-btn:first-child { border-radius: 12px 0 0 0; }
.svc-tab-btn:last-child { border-bottom: none; border-radius: 0 0 0 12px; }
.svc-tab-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 1.8;
  flex-shrink: 0;
}
.svc-tab-btn:hover { background: rgba(255,255,255,0.8); color: var(--navy); }
.svc-tab-btn.active {
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  border-left-color: var(--blue);
  border-right-color: var(--white);
  position: relative;
  z-index: 1;
}
.svc-panels {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: none;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 4px 28px rgba(10,22,40,0.07);
}
.svc-tab-panel {
  display: none;
  padding: 2.5rem;
}
.svc-tab-panel.active {
  display: block;
  animation: fadeUp 0.25s ease both;
}
.svc-tab-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.svc-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.svc-tab-panel ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}
.svc-tab-panel ul li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 1.2rem;
  position: relative;
}
.svc-tab-panel ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.58em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.svc-tab-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .svc { padding: 0.75rem 0 4rem; }
  .svc-layout { grid-template-columns: 1fr; gap: 2rem; }
  .svc-head { max-width: 100%; }
  .svc-tabs-layout { grid-template-columns: 1fr; gap: 0.75rem; overflow: visible; }
  .svc-tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    border: none;
    border-radius: 0;
    background: transparent;
    padding-bottom: 3px;
    overflow: visible;
  }
  .svc-tab-btn {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 0.75rem;
    font-size: 0.75rem;
    text-align: left;
    white-space: normal;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #f7f9fb;
    height: 56px;
    box-sizing: border-box;
  }
  .svc-tab-btn:first-child { border-radius: 10px; }
  .svc-tab-btn:last-child { border-radius: 10px; }
  .svc-tab-btn.active { border-color: var(--blue); background: var(--white); color: var(--navy); font-weight: 700; }
  .svc-tab-btn.active svg { stroke: var(--blue); }
  .svc-panels { border-radius: 12px; border: 1.5px solid var(--border); }
  .svc-tab-panel { padding: 1.25rem; }
  .svc-tab-panel h3 { font-size: 0.95rem; }
  .svc-tab-panel ul { grid-template-columns: 1fr; }
  .svc-tab-panel ul li { font-size: 0.8rem; }
  .svc-card-desc { font-size: 0.8rem; }
}

/* ══════════════════════════════════════════════════════════
   SERVIÇOS PAGE (legacy modifier — mantido para compatibilidade)
══════════════════════════════════════════════════════════ */
.services-head .section-sub {
  color: rgba(255,255,255,0.75);
  margin-top: 0.75rem;
  max-width: 640px;
}
.services--page .service-solutions {
  max-height: 600px;
  padding: 0 2.2rem 2rem;
  overflow: visible;
}
.services--page .service-questions-wrap { padding-bottom: 1rem; }

/* ══════════════════════════════════════════════════════════
   PLANEJADOR FINANCEIRO — TREEMAP INTERATIVO
══════════════════════════════════════════════════════════ */
.planner {
  padding: 6rem 0 7rem;
  background:
    linear-gradient(160deg, rgba(0,41,69,0.88), rgba(10,22,40,0.93)),
    url('../images/ocean-bg.jpg') center/cover no-repeat fixed;
}

/* Desktop: treemap à esquerda, texto à direita */
.planner-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

/* Coluna direita: textos em branco */
.planner-left { max-width: 400px; }
.planner-left .section-tag {
  background: transparent;
  color: #5cccf2;
  border-color: rgba(92,204,242,0.3);
}
.planner-left .section-title { color: #fff; margin-bottom: 0.75rem; }
.planner-left .section-title strong { color: #fff; }
.planner-left .section-sub { color: rgba(255,255,255,0.65); line-height: 1.8; }

/* ── Treemap container ── */
.treemap {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}

/* ── Cartões (absolute — JS controla left/top/width/height) ── */
.tm-card {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.07);
  transition:
    left        0.62s cubic-bezier(0.4,0,0.2,1),
    top         0.62s cubic-bezier(0.4,0,0.2,1),
    width       0.62s cubic-bezier(0.4,0,0.2,1),
    height      0.62s cubic-bezier(0.4,0,0.2,1),
    background  0.35s,
    border-color 0.35s,
    box-shadow  0.35s;
}
.tm-card::before { display: none; }

/* Hover: destaque sutil glass */
.tm-card:not(.tm-active):hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.38);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Hub (Planejador) — igual aos outros no glass */
.tm-card-hub {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

/* Estado selecionado — fundo branco, textos escuros */
.tm-card.tm-active,
.tm-card-hub.tm-active {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 16px 56px rgba(0,0,0,0.28);
  cursor: default;
}

/* Label (não selecionado) — centralizado */
.tm-condensed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  gap: 0.6rem;
  transition: opacity 0.2s, transform 0.22s;
}
.tm-card.tm-active .tm-condensed {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
}
.tm-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
}

/* Ícone no estado compacto */
.eg-icon {
  width: 46px; height: 46px; min-width: 46px;
  border-radius: 13px;
  background: rgba(24,156,216,0.15);
  border: 1px solid rgba(24,156,216,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.eg-icon svg { width: 22px; height: 22px; stroke: #189CD8; stroke-width: 1.6; fill: none; }

/* Landscape: ícone à esquerda do label */
.eg-horizontal .tm-condensed {
  flex-direction: row;
  text-align: left;
  gap: 0.75rem;
  justify-content: center;
}

/* Header do conteúdo expandido: ícone pequeno + título */
.eg-full-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}
.eg-icon-sm {
  width: 34px; height: 34px; min-width: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent, #189CD8);
  border: none;
}
.eg-icon-sm svg { width: 16px; height: 16px; stroke: #ffffff; stroke-width: 1.6; fill: none; }

/* Conteúdo expandido */
.tm-full {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s 0.15s;
}
.tm-card.tm-active .tm-full {
  opacity: 1;
  pointer-events: auto;
}
.tm-full-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #002945;
  margin-bottom: 0;
  flex-shrink: 0;
}
.tm-desc {
  font-size: 0.8rem;
  color: rgba(0,41,69,0.6);
  line-height: 1.7;
  margin-bottom: 0.7rem;
  flex-shrink: 0;
}
.tm-list {
  list-style: none;
  flex: 1;
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.tm-list li {
  font-size: 0.72rem;
  color: rgba(0,41,69,0.75);
  line-height: 1.5;
  padding-left: 0.9rem;
  position: relative;
  margin-bottom: 0.25rem;
}
.tm-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent, #189CD8);
}
.tm-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  flex-shrink: 0;
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: var(--accent, #189CD8);
  color: #ffffff;
  border: none;
  transition: gap 0.2s, opacity 0.2s;
  margin-top: auto;
}
.tm-cta::after { content: '→'; }
.tm-cta:hover { gap: 0.65rem; opacity: 0.85; }

@media (max-width: 1024px) {
  .treemap { height: 440px; }
  .planner-layout { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .planner { padding: 4rem 0 5rem; }
  .planner-layout { grid-template-columns: 1fr; gap: 2rem; }
  .planner-left { order: -1; }

  .treemap {
    height: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
  }
  /* Acordeão: cantos retos com arredondamento só nos extremos */
  .tm-card {
    position: relative !important;
    left: 0 !important; top: 0 !important;
    width: 100% !important; height: auto !important;
    border-radius: 0 !important;
    margin-bottom: -1px;
    transition: background 0.35s, border-color 0.35s;
  }
  .tm-card:last-child { margin-bottom: 0; }
  .tm-card:first-child {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
  }
  .tm-card:last-child {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
  }
  /* Condensed: ícone + título em linha, esquerda */
  .tm-condensed,
  .eg-horizontal .tm-condensed {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 0.55rem !important;
    padding: 0.6rem 0.9rem !important;
    min-height: unset !important;
    overflow: hidden;
    max-height: 70px;
    opacity: 1;
    transition: max-height 0.55s ease, opacity 0.4s ease, padding 0.4s ease !important;
    inset: auto !important;
    position: relative !important;
  }
  .tm-card.tm-active .tm-condensed {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    pointer-events: none;
  }
  .eg-icon {
    width: 34px !important; height: 34px !important; min-width: 34px !important;
    border-radius: 9px !important; flex-shrink: 0;
  }
  .eg-icon svg { width: 18px !important; height: 18px !important; }
  /* Full: animação de abrir */
  .tm-full {
    position: relative !important;
    inset: auto !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 0 0.9rem !important;
    transition: max-height 0.6s ease, opacity 0.45s ease, padding 0.45s ease !important;
  }
  .tm-card.tm-active .tm-full {
    max-height: 700px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 1rem 0.9rem 1.25rem !important;
  }
  .tm-card.tm-active .tm-full-label { font-weight: 800 !important; }
  .tm-desc { font-size: 0.75rem; }
  .tm-list li { font-size: 0.67rem; }
}

/* ══════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════ */
.faq {
  background: #f7f9fb;
  padding: 5rem 0 6rem;
}
.faq-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}
.faq-head { max-width: 320px; }
.faq-list {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
}
.faq-item {
  background: var(--white);
  border-bottom: 1px solid rgba(10,22,40,0.07);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: inherit;
  min-height: 44px;
}
.faq-q-text {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}
.faq-q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(24,156,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s;
}
.faq-q-icon svg {
  width: 12px; height: 12px;
  stroke: var(--blue); fill: none; stroke-width: 2.5;
  transition: stroke 0.2s;
}
.faq-item.open .faq-q-icon { transform: rotate(180deg); background: var(--blue); }
.faq-item.open .faq-q-icon svg { stroke: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 1.75rem;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.75rem 1.5rem; }
.faq-a p { font-size: 0.92rem; color: var(--muted); line-height: 1.8; margin: 0; }
@media (max-width: 768px) {
  .faq { padding: 3.5rem 0 4rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .faq-head { max-width: 100%; }
  .faq-q { padding: 0.8rem 1rem; }
  .faq-q-text { font-size: 0.875rem; }
  .faq-a { padding: 0 1rem; }
  .faq-item.open .faq-a { padding: 0 1rem 1rem; }
}

/* ─── ESCRITÓRIOS ─────────────────────────────────── */
.offices {
  background:
    linear-gradient(135deg, rgba(24,156,216,0.45) 0%, rgba(0,41,69,0.85) 40%, rgba(10,22,40,0.92) 100%),
    url('../images/office-bg.png') center/cover no-repeat;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.offices::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 65% 50%, rgba(24,156,216,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.offices-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}
.offices .section-tag { color: #5cccf2; border-color: rgba(92,204,242,0.3); background: transparent; }
.offices-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0.75rem 0 2rem;
}
.offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.office-info { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.office-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.office-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(24,156,216,0.35); }
.office-city {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.office-state { font-weight: 400; color: var(--blue); }
.office-address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  flex: 1;
}
.office-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.office-action {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.office-action:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.office-action:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.office-action svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) {
  .offices-layout { grid-template-columns: 1fr 2.5fr; gap: 3rem; align-items: center; }
  .offices-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
/* ── Variação clara (foto + overlay branco 40%) ── */
.offices--light {
  background:
    linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(232,245,252,0.70) 100%),
    url('../images/office-bg.png') center/cover no-repeat;
}
.offices--light::before { display: none; }
.offices--light .section-tag { color: var(--blue); border-color: rgba(24,156,216,0.3); background: rgba(24,156,216,0.06); }
.offices--light .section-title { color: var(--ultra-dark); }
.offices--light .section-title strong { color: var(--blue); }
.offices--light .office-card {
  background: rgba(255,255,255,0.80);
  border-color: rgba(24,156,216,0.18);
}
.offices--light .office-card:hover { background: rgba(255,255,255,0.90); border-color: rgba(24,156,216,0.4); }
.offices--light .office-city { color: var(--ultra-dark); }
.offices--light .office-address { color: #3d5a72; }
.offices--light .office-action { border-color: rgba(24,156,216,0.25); color: var(--blue); background: rgba(24,156,216,0.07); }
.offices--light .office-action:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

@media (max-width: 768px) {
  .offices {
    padding: 3.5rem 0;
    background:
      linear-gradient(to bottom, rgb(10,22,40) 0%, rgba(0,41,69,0.95) 55%, rgba(24,156,216,0.74) 100%),
      url('../images/office-bg.png') center/cover no-repeat;
  }
  .offices--light {
    background:
      linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(232,245,252,0.70) 100%),
      url('../images/office-bg.png') center/cover no-repeat;
  }
  .offices-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .office-card { flex-direction: row; align-items: center; padding: 1.1rem 1.25rem; gap: 1rem; }
  .office-actions { flex-direction: column; margin-top: 0; gap: 0.4rem; flex-shrink: 0; }
  .office-action { width: 40px; height: 40px; border-radius: 8px; }
}
