/* ══════════════════════════════════════════════════════
   INSTITUTO PRYLOM — Design System
   #1e5f74 teal · #b5a020 gold · #ffffff white
   ══════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --teal:      #1e5f74;
  --teal-d:    #184f61;
  --teal-l:    #276d85;
  --gold:      #b5a020;
  --gold-l:    #c8b22a;
  --white:     #ffffff;
  --off:       #f6f8f9;
  --gray-100:  #eef0f3;
  --gray-300:  #ced4da;
  --gray-500:  #6c757d;
  --gray-700:  #343a40;

  --ff-head: 'Montserrat', sans-serif;
  --ff-body: 'Open Sans', sans-serif;

  --nav-h:   68px;
  --r:       8px;
  --r-lg:    14px;
  --sh:      0 2px 16px rgba(30,95,116,.09);
  --sh-md:   0 6px 36px rgba(30,95,116,.15);
  --sh-lg:   0 22px 70px rgba(13,43,54,.18);
  --shine:   linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 48%, transparent 100%);

  /* Animation */
  --dur:  0.72s;
  --ease: cubic-bezier(.19,1,.22,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font: inherit; }
::selection { background: rgba(181,160,32,.28); color: var(--teal-d); }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* ── SECTION ── */
.section { padding-block: 96px; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: .03em;
  margin-bottom: 1.25rem;
}
.section-title.centered { text-align: center; }

.section-lead {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.85;
  text-align: justify;
}

.section-sup {
  font-family: var(--ff-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

/* ══════════════════════════════════════════════════════
   ANIMATION SYSTEM
   ══════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(34px) scale(.985); }
[data-animate="fade-left"]  { transform: translateX(-34px) scale(.985); }
[data-animate="fade-right"] { transform: translateX(34px) scale(.985); }
[data-animate="fade-in"]    { transform: none; }

[data-animate].in-view {
  opacity: 1;
  transform: none !important;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(1.18);
  border-bottom: 2px solid var(--teal);
  transition: box-shadow .35s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  border-color: rgba(30,95,116,.82);
  box-shadow: 0 10px 34px rgba(13,43,54,.11);
}

.nav-inner {
  height: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(30,95,116,.12));
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out);
}
.nav-logo:hover .nav-logo-img { transform: translateY(-1px) scale(1.035); }
.nav-logo span {
  font-family: var(--ff-head);
  font-size: .875rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
}
.nav-links a {
  font-family: var(--ff-head);
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .375rem .75rem;
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .2rem;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: var(--gray-100);
  transform: translateY(-1px);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s, opacity .3s, width .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   CHEVRON DECORATIVE PATTERN
   ══════════════════════════════════════════════════════ */
.chev-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chev-col.small  { gap: 10px; }
.chev-col.small .chev { width: 36px; height: 14px; }
.chev-col.small .chev::before,
.chev-col.small .chev::after { border-width: 2px; }

.chev {
  width: 56px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.chev::before,
.chev::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  border: 2.5px solid var(--teal);
}
.chev::before {
  left: 0;
  border-right: none;
  border-bottom: none;
  transform: skewY(-26deg);
}
.chev::after {
  right: 0;
  border-left: none;
  border-bottom: none;
  transform: skewY(26deg);
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  padding-top: var(--nav-h);
}

/* Decorative right blob (matches PDF curve) */
.hero-blob {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 560px;
  background: var(--teal);
  border-radius: 50%;
  opacity: .08;
  pointer-events: none;
  animation: slow-drift 12s var(--ease-out) infinite alternate;
}

/* Inner: chevrons decorative (absolute) + content centered */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 4rem;
}

.hero-chevrons {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  text-align: center;
}

.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(2.5rem, 5.5vw, 5.25rem);
  font-weight: 900;
  color: var(--teal);
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 18px 48px rgba(30,95,116,.12);
}
.hero-subtitle {
  font-family: var(--ff-head);
  font-size: clamp(.95rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .625rem;
  margin-bottom: 2.5rem;
  line-height: 1.25;
  text-align: center;
}

.hero-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  margin-top: 4rem;
}
.hero-logo-img {
  width: clamp(220px, 32vw, 360px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(13,43,54,.16));
  transition: transform .55s var(--ease-out), filter .55s var(--ease-out);
}
.hero-logo-img:hover {
  transform: translateY(-4px) scale(1.025);
  filter: drop-shadow(0 30px 54px rgba(13,43,54,.2));
}
.hero-url {
  font-family: var(--ff-head);
  font-size: .7rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   SOBRE
   ══════════════════════════════════════════════════════ */
.sobre { background: var(--off); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 4rem;
  align-items: center;
}
.sobre-text .section-title { margin-bottom: 1.5rem; }
.sobre-text p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  text-align: justify;
}
.sobre-text p:last-child { margin-bottom: 0; }

.sobre-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.deco-orb {
  border-radius: 50%;
  flex-shrink: 0;
}
.deco-orb.teal { width: 108px; height: 108px; background: var(--teal); }
.deco-orb.gold { width: 68px;  height: 68px;  background: var(--gold); }

/* ══════════════════════════════════════════════════════
   CITAÇÃO FUNDADORA
   ══════════════════════════════════════════════════════ */
.citacao-fundadora {
  background: var(--gold);
  padding-block: 5rem;
}

.citacao-inner {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.citacao-quote {
  border-left: 4px solid var(--white);
  padding-left: 1.75rem;
}

.citacao-quote p {
  font-family: var(--ff-body);
  font-size: 1.075rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.9;
  margin-bottom: .85rem;
  text-align: justify;
}

.citacao-quote footer {
  font-family: var(--ff-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.citacao-quote footer cite {
  font-style: normal;
  font-weight: 600;
  color: var(--teal);
  text-transform: none;
  letter-spacing: 0;
}

.citacao-autor {
  color: var(--teal);
  font-weight: 800;
}

.citacao-encerramento {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.85;
  text-align: justify;
  padding-left: 1.75rem;
  border-left: 4px solid transparent;
}

/* ══════════════════════════════════════════════════════
   RAZÃO DE EXISTIR
   ══════════════════════════════════════════════════════ */
.razao { background: var(--white); }

.razao-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.razao-card {
  background: var(--off);
  border-radius: var(--r-lg);
  padding: 2.25rem 1.875rem;
  border-top: 4px solid var(--teal);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out), background .45s var(--ease-out);
}
.razao-card::before,
.metodo-card::before,
.team-card::before,
.seg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--shine);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out), opacity .45s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.razao-card > *,
.metodo-card > *,
.team-card > *,
.seg-card > * {
  position: relative;
  z-index: 1;
}
.razao-card:hover {
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateY(-7px);
}
.razao-card:hover::before,
.metodo-card:hover::before,
.team-card:hover::before,
.seg-card:hover::before {
  opacity: 1;
  transform: translateX(120%);
}
.razao-card--impacto { grid-column: 1 / -1; }

.razao-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: .06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.razao-card h3 {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.35;
  margin-bottom: .875rem;
}
.razao-card h3 span {
  font-size: .88em;
  font-weight: 600;
  color: var(--gold);
}
.razao-card > p {
  font-size: .93rem;
  color: var(--gray-700);
  line-height: 1.8;
  text-align: justify;
}

.impacto-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.impacto-item {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.125rem 1rem;
  border-left: 4px solid var(--gold);
}
.impacto-item h4 {
  font-family: var(--ff-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.impacto-item p {
  font-size: .82rem;
  color: var(--gray-700);
  line-height: 1.7;
  text-align: justify;
}

.razao-statement {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  font-size: 1rem;
  line-height: 1.85;
  text-align: center;
  font-style: italic;
  margin-bottom: 2.5rem;
  border: none;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.mvv-card {
  background: var(--off);
  border-radius: var(--r-lg);
  padding: 2rem 1.875rem;
  border-left: 6px solid var(--gold);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  transition: transform .42s var(--ease-out), box-shadow .42s var(--ease-out), background .42s var(--ease-out);
}
.mvv-card:hover {
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}
.mvv-num {
  position: absolute;
  top: .75rem;
  right: 1.25rem;
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  opacity: .08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.mvv-label {
  font-family: var(--ff-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .875rem;
}
.mvv-card > p {
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.8;
  font-style: italic;
  text-align: justify;
}
.mvv-card ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.mvv-card ul li {
  font-family: var(--ff-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal);
  padding-left: .875rem;
  border-left: 3px solid var(--gold);
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════
   OBJETIVOS / METODOS
   ══════════════════════════════════════════════════════ */
.objetivos { background: var(--white); }

.metodos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.metodo-card {
  background: var(--off);
  border-radius: var(--r-lg);
  padding: 2.25rem 1.875rem;
  border-top: 4px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out), background .45s var(--ease-out);
}
.metodo-card:hover {
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateY(-7px);
}
.metodo-icon { width: 60px; height: 60px; flex-shrink: 0; }
.metodo-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 18px rgba(30,95,116,.12));
  transition: transform .45s var(--ease-out), filter .45s var(--ease-out);
}
.metodo-card:hover .metodo-icon svg {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 14px 24px rgba(30,95,116,.18));
}
.metodo-card h4 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
}
.metodo-card > p {
  font-size: .93rem;
  color: var(--gray-700);
  line-height: 1.8;
  flex: 1;
  text-align: justify;
}
.metodo-card ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.metodo-card ul li {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.65;
  padding-left: .875rem;
  border-left: 3px solid var(--gold);
  text-align: justify;
}

/* ══════════════════════════════════════════════════════
   PROFILE SECTIONS (Carla & João)
   ══════════════════════════════════════════════════════ */

.teal-bg { background: var(--teal); }
.light-bg { background: var(--off); }

/* Sidebar bars */
.profile-wrap {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.profile-wrap--reverse {
  grid-template-columns: 1fr 10px;
}
.profile-wrap--reverse .profile-sidebar {
  order: 2;
}
.profile-wrap--reverse .profile-body {
  order: 1;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.profile-sidebar span {
  display: block;
  width: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,.45);
}
.profile-sidebar.gold-bar span { background: var(--gold); }
.profile-sidebar span:nth-child(1) { height: 56px; }
.profile-sidebar span:nth-child(2) { height: 44px; }
.profile-sidebar span:nth-child(3) { height: 34px; }
.profile-sidebar span:nth-child(4) { height: 26px; }
.profile-sidebar span:nth-child(5) { height: 18px; }

.profile-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.75rem;
  align-items: stretch;
}

/* Layout "L" — imagem flutua, texto abraça e continua abaixo */
.profile-body--float {
  display: block;
}
.profile-body--float::after {
  content: '';
  display: table;
  clear: both;
}
.profile-body--float .profile-avatar-wrap {
  float: left;
  width: 280px;
  margin-right: 2.75rem;
  margin-bottom: 1.25rem;
}
.profile-body--float .profile-avatar {
  height: 370px;
}
.profile-body--float .profile-text {
  display: block;
  overflow: visible;
}

/* Avatar */
.profile-avatar-wrap { width: 260px; }
.profile-avatar {
  position: relative;
  width: 260px;
  height: 100%;
  min-height: 260px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid var(--gold);
}
.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.25);
  z-index: 1;
}
.profile-avatar.alt img {
  transform: scale(1.6);
}
.profile-avatar .avatar-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255,255,255,.1);
  z-index: 0;
}
.profile-avatar.alt .avatar-initials {
  color: var(--teal);
  background: var(--gray-100);
}

/* Profile text */
.profile-name {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: .25rem;
}
.teal-bg .profile-name { color: var(--white); }
.light-bg .profile-name.dark { color: var(--teal); }

.profile-role {
  font-family: var(--ff-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .75rem;
}

.profile-tagline {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.4;
  opacity: .9;
}

.light-bg .profile-tagline {
  color: var(--teal);
}

.profile-badge {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--gray-100);
  padding: .25rem .75rem;
  border-radius: var(--r);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.profile-text p {
  font-size: .97rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
  text-align: justify;
}
.profile-text p:last-child { margin-bottom: 0; }
.teal-bg .profile-text p { color: rgba(255,255,255,.88); }
.light-bg .profile-text p { color: var(--gray-700); }

/* ── Fotos de expedição no módulo da Carla ── */
.profile-photos {
  clear: both;
  margin-top: 3rem;
}

.profile-photos-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.profile-photos-label::before,
.profile-photos-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(181, 160, 32, 0.35);
}
.profile-photos-label span {
  font-family: var(--ff-head);
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  white-space: nowrap;
}

.profile-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.profile-photos-grid .galeria-cell {
  aspect-ratio: 3 / 4;
}

/* ══════════════════════════════════════════════════════
   EQUIPE — Circular team cards
   ══════════════════════════════════════════════════════ */
.equipe { background: var(--white); }

/* Each row is a 4-column grid */
.team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.75rem;
  align-items: stretch;
}

/* Card: rectangular container with stretch column */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--off);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem 1.75rem;
  border-top: 4px solid var(--teal);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out), background .45s var(--ease-out);
}

.team-card:hover {
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateY(-7px);
}

/* ── Circular photo area ── */
.team-circle {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  margin-bottom: 1.125rem;
  margin-inline: auto;
  box-shadow: 0 4px 18px rgba(30,95,116,.12);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.team-card:hover .team-circle {
  border-color: var(--teal);
  box-shadow: 0 14px 34px rgba(30,95,116,.2);
  transform: translateY(-3px) scale(1.03);
}

/* Real photo overlays the fallback */
.team-circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

/* Fallback: initials or icon — always visible behind img */
.team-circle-fb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Named person: teal background + large initials */
.team-circle-fb.initials {
  background: var(--teal);
  font-family: var(--ff-head);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .04em;
}

/* Anonymous role: light background + SVG icon */
.team-circle-fb.icon {
  background: var(--gray-100);
}
.team-circle-fb.icon svg {
  width: 58px;
  height: 58px;
}

/* ── Text below the circle ── */
.team-cat {
  display: block;
  font-family: var(--ff-head);
  font-size: .65rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .375rem;
  line-height: 1.3;
  text-align: left;
}

.team-name {
  font-family: var(--ff-head);
  font-size: .9rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.3;
  margin-bottom: .75rem;
  text-align: left;
}

.team-desc {
  font-size: .82rem;
  color: var(--gray-700);
  line-height: 1.72;
  text-align: justify;
  flex: 1;
}

/* ══════════════════════════════════════════════════════
   PESQUISA DE CAMPO
   ══════════════════════════════════════════════════════ */
.pesquisa { background: var(--white); }

/* ── Opener ── */
.pesquisa-opener { max-width: 680px; margin-bottom: 3rem; }

.pesquisa-tag {
  font-family: var(--ff-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  display: block;
  margin-bottom: .75rem;
}
.pesquisa-title {
  text-align: left;
  margin-bottom: .5rem;
}
.pesquisa-deck {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.pesquisa-rule {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 2px;
}

/* ── Lead ── */
.pesquisa-lead {
  margin-bottom: 4rem;
  padding: 2rem 2.75rem;
  background: var(--off);
  border-left: 5px solid var(--teal);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.pesquisa-lead p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.9;
}

/* ── Feature: imagem + insights ── */
.pesquisa-feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.pesquisa-photo { height: 100%; }

.pesquisa-photo-frame {
  position: relative;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: var(--sh-md);
}
.pesquisa-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease);
}
.pesquisa-photo-frame:hover img { transform: scale(1.015); }

/* Insights numerados */
.pesquisa-insights { display: flex; flex-direction: column; justify-content: space-between; }

.pesquisa-insight {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  padding: 1.875rem 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}
.pesquisa-insight:last-child { border-bottom: none; }

.insight-num {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: .12;
  line-height: 1;
  padding-top: .15rem;
  user-select: none;
}
.insight-content h4 {
  font-family: var(--ff-head);
  font-size: .88rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  margin-bottom: .75rem;
}
.insight-content p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.82;
  text-align: justify;
}

/* ── Mosaico ── */
.pesquisa-mosaic { margin-bottom: 3.5rem; }

.mosaic-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px;
  gap: .875rem;
  margin-bottom: 2rem;
}
.mosaic-cell {
  border-radius: var(--r);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--sh);
}
.mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease);
}
.mosaic-cell:hover img { transform: scale(1.06); }

.pesquisa-adventure {
  background: var(--off);
  border-radius: var(--r-lg);
  padding: 2rem 2.75rem;
  border-left: 5px solid var(--gold);
}
.pesquisa-adventure p {
  font-size: .97rem;
  color: var(--gray-700);
  line-height: 1.85;
  text-align: justify;
}

/* ── Closing statement ── */
.pesquisa-closing {
  background: var(--teal);
  border-radius: var(--r-lg);
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.pesquisa-closing::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.closing-headline {
  font-family: var(--ff-head);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .04em;
  line-height: 1;
  display: block;
}
.closing-body {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  font-style: italic;
  line-height: 1.8;
  max-width: 600px;
  display: block;
}

/* ══════════════════════════════════════════════════════
   ACERVO
   ══════════════════════════════════════════════════════ */
.acervo { background: var(--gray-100); }

.acervo-layout {
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: 4rem;
  align-items: start;
}

.acervo-book {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.acervo-book > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: var(--sh-md);
  display: block;
  background: var(--gray-100);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), filter .55s var(--ease-out);
}
.acervo-book > img:hover,
.acervo-book > img:focus-visible {
  box-shadow: var(--sh-lg);
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(-8px) rotate(-1deg);
}

.acervo-pullquote {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  line-height: 1.45;
  text-align: center;
  border-top: 2px solid var(--gold);
  padding-top: 1.1rem;
  letter-spacing: .01em;
}

.book-mock {
  position: absolute;
  inset: 0;
  display: none;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.book-spine { width: 26px; background: var(--teal-d); flex-shrink: 0; }
.book-cover {
  flex: 1;
  background: linear-gradient(155deg, #2d5a2e 0%, #1a3a1b 100%);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.bk-publisher {
  font-family: var(--ff-head);
  font-size: .52rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: .5rem;
}
.bk-author {
  font-family: var(--ff-head);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  font-style: italic;
}
.bk-title {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,.95);
  line-height: 1.3;
  flex: 1;
}
.bk-title strong { font-size: 1.85rem; font-weight: 900; display: block; }
.bk-sub {
  font-size: .62rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: .5rem;
}
.bk-logo {
  font-family: var(--ff-head);
  font-size: .75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .1em;
  text-align: center;
}

.acervo-text h3 {
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.acervo-author {
  font-family: var(--ff-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.5rem;
}
.acervo-text p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  text-align: justify;
}
.acervo-text p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════
   SEGURANÇA
   ══════════════════════════════════════════════════════ */
.seguranca { background: var(--off); }

.seguranca .section-lead { max-width: 920px; }

.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.seg-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1rem 1.875rem 2.25rem;
  border-left: 6px solid var(--teal);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out), background .45s var(--ease-out);
}
.seg-card:hover {
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateY(-7px);
}
.seg-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: .06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.seg-card h4 {
  font-family: var(--ff-head);
  font-size: .975rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.35;
  margin-bottom: 1rem;
  text-align: left;
}
.seg-card p {
  font-size: .925rem;
  color: var(--gray-700);
  line-height: 1.8;
  text-align: justify;
}

/* ══════════════════════════════════════════════════════
   CHANCELAS
   ══════════════════════════════════════════════════════ */
.chancelas { background: var(--white); }

.chancelas-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chancela-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1.625rem 1.875rem;
  background: var(--off);
  border-radius: var(--r-lg);
  border-left: 5px solid var(--teal);
  transition: box-shadow .38s var(--ease-out), transform .38s var(--ease-out), background .38s var(--ease-out);
}
.chancela-item:hover {
  background: #fff;
  box-shadow: var(--sh-md);
  transform: translateX(8px);
}
.chancela-badge {
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 800;
  color: var(--white);
  background: var(--teal);
  padding: .5rem .75rem;
  border-radius: var(--r);
  text-align: center;
  letter-spacing: .04em;
  line-height: 1.45;
  white-space: nowrap;
}
.chancela-body strong {
  font-family: var(--ff-head);
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
  margin-bottom: .375rem;
}
.chancela-body p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.7;
  text-align: justify;
}

/* ══════════════════════════════════════════════════════
   GALERIA
   ══════════════════════════════════════════════════════ */
.galeria {
  background: linear-gradient(160deg, #0d2b36 0%, #1a5468 100%);
  position: relative;
  overflow: hidden;
}
.galeria::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 25%, rgba(181,160,32,.06) 0%, transparent 55%);
  pointer-events: none;
}

.galeria-tag {
  font-family: var(--ff-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  display: block;
  margin-bottom: .75rem;
}
.galeria-heading { color: var(--white); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.galeria-cell:nth-child(1),
.galeria-cell:nth-child(2),
.galeria-cell:nth-child(3),
.galeria-cell:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 1;
}

.galeria-cell {
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  background: #0d2b36;
  border-radius: 18px;
  cursor: pointer;
  display: block;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.galeria-cell:hover,
.galeria-cell:focus-visible {
  box-shadow: 0 22px 54px rgba(0,0,0,.26);
  transform: translateY(-5px);
}
.galeria-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  transition: transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.galeria-cell:hover img,
.galeria-cell:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.08);
}
.galeria-cell:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,54,.78) 0%, rgba(13,43,54,.08) 45%, transparent 65%);
  border-radius: 18px;
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  pointer-events: none;
}
.galeria-overlay-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: var(--white);
  font-family: var(--ff-head);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.galeria-cell:hover .galeria-overlay,
.galeria-cell:focus-visible .galeria-overlay { opacity: 1; }


/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  transform: scale(.94);
  transition: transform .35s var(--ease);
  display: block;
}
.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

/* ══════════════════════════════════════════════════════
   PARCERIAS
   ══════════════════════════════════════════════════════ */
.acervo-pdf-trigger {
  cursor: pointer;
}
.acervo-pdf-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(13,43,54,.86);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.pdf-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.pdf-modal-content {
  width: min(980px, 92vw);
  max-height: min(820px, 86vh);
  background:
    radial-gradient(circle at 78% 48%, rgba(30,95,116,.08), transparent 28%),
    linear-gradient(180deg, rgba(246,248,249,.65), var(--white) 42%);
  border-radius: var(--r);
  box-shadow: 0 34px 96px rgba(0,0,0,.68);
  overflow: auto;
  display: flex;
  flex-direction: column;
  transform: scale(.96);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.hero-chevrons .chev,
.footer-deco .chev {
  animation: chevron-breathe 4.8s var(--ease-out) infinite;
  animation-delay: calc(var(--i, 0) * 120ms);
}
.pdf-modal.open .pdf-modal-content { transform: scale(1); }

.popup-hero {
  background:
    linear-gradient(145deg, rgba(13,43,54,.96), rgba(30,95,116,.95)),
    var(--teal);
  color: var(--white);
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem) clamp(2.75rem, 5vw, 4.25rem);
  position: relative;
  overflow: visible;
}
.popup-hero::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 42px solid rgba(181,160,32,.18);
  border-radius: 50%;
}
.popup-kicker {
  font-family: var(--ff-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold-l);
  letter-spacing: .09em;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.popup-hero h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.18;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.popup-hero p:not(.popup-kicker) {
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255,255,255,.86);
  position: relative;
  z-index: 1;
}
.popup-hero span {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 800;
  color: var(--gold-l);
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.popup-scroll {
  padding: clamp(1.5rem, 4vw, 3rem);
}
.popup-section {
  border-left: 4px solid rgba(30,95,116,.18);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
}
.popup-section:last-child { margin-bottom: 0; }
.popup-section h3,
.popup-section h4 {
  font-family: var(--ff-head);
  color: var(--teal);
  line-height: 1.35;
}
.popup-section h3 {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  margin-bottom: .9rem;
}
.popup-section h4 {
  color: var(--gold);
  font-size: .95rem;
  margin: 1.25rem 0 .4rem;
}
.popup-section p {
  color: var(--gray-700);
  font-size: .98rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  text-align: justify;
}
.popup-section p:last-child { margin-bottom: 0; }
.popup-intro {
  background: var(--off);
  border-left-color: var(--gold);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem;
}
.popup-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0;
}
.popup-gallery img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  background: var(--off);
  border: 1px solid var(--gray-100);
  border-radius: var(--r);
  box-shadow: var(--sh);
}
.popup-gallery img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 540px;
}
.popup-author {
  margin-top: 1.35rem;
  padding: 1.2rem;
  background: var(--off);
  border-radius: var(--r);
}
.popup-author strong,
.popup-author span {
  display: block;
  font-family: var(--ff-head);
}
.popup-author strong {
  color: var(--teal);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}
.popup-author span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin: .2rem 0 .75rem;
}
.popup-author p {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.popup-references {
  border-left-color: var(--gold);
}
.popup-references p {
  font-size: .92rem;
}
.pdf-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.pdf-modal-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

@media (max-width: 720px) {
  .pdf-modal {
    padding: .75rem;
  }
  .pdf-modal-content {
    width: 100%;
    max-height: 88vh;
  }
  .pdf-modal-close {
    top: .75rem;
    right: .75rem;
    width: 40px;
    height: 40px;
  }
  .popup-hero {
    padding: 2.25rem 1.35rem 2.25rem;
  }
  .popup-scroll {
    padding: 1.25rem;
  }
  .popup-section {
    padding-left: 1rem;
  }
  .popup-intro {
    padding: 1.1rem;
  }
  .popup-gallery {
    grid-template-columns: 1fr;
  }
  .popup-gallery img:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .popup-section p {
    text-align: left;
  }
}

.parcerias { background: var(--gray-100); }
.parcerias .section-lead { text-align: center; }

.parcerias-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.parceria-card {
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parceria-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--shine);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out), opacity .35s var(--ease-out);
  pointer-events: none;
}
.parceria-card:hover {
  border-color: var(--teal);
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}
.parceria-card:hover::after {
  opacity: 1;
  transform: translateX(120%);
}
.parceria-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Modal */
.parceria-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parceria-modal[hidden] { display: none; }

.parceria-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 95, 116, .55);
  backdrop-filter: blur(4px);
}

.parceria-modal-box {
  position: relative;
  background:
    linear-gradient(180deg, rgba(246,248,249,.8), var(--white) 36%),
    var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  z-index: 1;
}

.parceria-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.parceria-modal-close:hover { background: var(--gray-300); }

.parceria-modal-body h3 {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 1rem;
}
.parceria-modal-body p {
  font-size: .975rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--teal);
  position: relative;
  overflow: hidden;
}
.footer-inner {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  min-height: 280px;
  max-width: 1160px;
  margin-inline: auto;
  padding: 3rem 2rem;
  gap: 2rem;
}
.footer-deco { display: flex; align-items: center; }
.footer-blob {
  width: 100px;
  height: 200px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  justify-self: end;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.footer-logo {
  width: 160px;
  height: auto;
  margin-inline: auto;
  margin-bottom: .75rem;
  mix-blend-mode: multiply;
}
.footer-title {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: .05em;
}
.footer-subtitle {
  font-family: var(--ff-head);
  font-size: clamp(.8rem, 1.4vw, 1rem);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-address {
  max-width: 620px;
  font-family: var(--ff-body);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  margin-top: .35rem;
}
.footer-url {
  font-family: var(--ff-head);
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .12em;
  margin-top: .25rem;
}

/* Footer chevron colors */
.footer .chev::before,
.footer .chev::after { border-color: rgba(255,255,255,.35); }

@keyframes slow-drift {
  from { transform: translateY(-50%) translateX(0) scale(1); }
  to   { transform: translateY(-52%) translateX(-18px) scale(1.04); }
}

@keyframes chevron-breathe {
  0%, 100% { opacity: .72; transform: translateX(0); }
  50%      { opacity: 1; transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Tablet large (≤ 1024px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Grids: 3 → 2 columns */
  .metodos-grid { grid-template-columns: repeat(2, 1fr); }
  .seg-grid     { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid     { grid-template-columns: repeat(2, 1fr); }
  .impacto-sub  { grid-template-columns: 1fr; }

  /* Team: 4 → 2 columns */
  .team-row    { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .team-circle { width: 120px; height: 120px; }

  /* Pesquisa de Campo */
  .pesquisa-feature { grid-template-columns: 300px 1fr; gap: 2.5rem; }
  .mosaic-strip     { grid-template-rows: 220px; }

  /* Galeria: 4 cols mantidas, nada a ajustar */

  /* Acervo: narrower book column */
  .acervo-layout { grid-template-columns: 200px 1fr; gap: 2.5rem; }

  /* Profile: smaller avatar, keep height stretch */
  .profile-body        { grid-template-columns: 210px 1fr; gap: 2rem; }
  .profile-avatar-wrap { width: 210px; }
  .profile-avatar      { width: 210px; height: 100%; min-height: 210px; }

  /* Sobre: narrow deco column */
  .sobre-grid { grid-template-columns: 1fr 140px; }

  /* Footer: shrink side columns */
  .footer-inner { grid-template-columns: 72px 1fr 72px; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Tablet small (≤ 768px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Sobre: collapse deco below text */
  .sobre-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sobre-deco { flex-direction: row; justify-content: center; gap: 1.25rem; }

  /* Footer: collapse to single center column */
  .footer-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    gap: 1.25rem;
    padding: 2.5rem 2rem;
  }
  .footer-deco,
  .footer-blob { display: none; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 700px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  :root { --nav-h: 60px; }
  .section { padding-block: 60px; }

  /* ── Navbar ── */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 2px solid var(--teal);
    box-shadow: var(--sh-md);
    padding: .5rem 0;
    gap: 0;
    z-index: 901;
  }
  .nav-links.open { display: flex; }
  .nav-links a    { padding: .875rem 2rem; border-radius: 0; font-size: .82rem; }
  /* Prevent logo text overflow */
  .nav-logo span  { font-size: .78rem; }

  /* ── Hero ── */
  .hero-inner {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding-block: 2.5rem;
  }
  .hero-title    { font-size: 2.1rem; }
  .hero-subtitle { font-size: .88rem; letter-spacing: .04em; margin-bottom: 1.75rem; }
  .hero-blob     { display: none; }
  .hero-logo-img { width: clamp(88px, 22vw, 130px); }

  /* ── Razão de Existir ── */
  .razao-grid  { grid-template-columns: 1fr; }
  .impacto-sub { grid-template-columns: 1fr; }
  .mvv-grid    { grid-template-columns: 1fr; }

  /* ── Metodos ── */
  .metodos-grid { grid-template-columns: 1fr; }

  /* ── Profile (Carla & João) ── */
  .profile-wrap,
  .profile-wrap--reverse { grid-template-columns: 1fr; }
  /* Reset order overrides */
  .profile-wrap--reverse .profile-sidebar,
  .profile-wrap--reverse .profile-body { order: unset; }
  /* Sidebar becomes a top horizontal bar */
  .profile-sidebar            { flex-direction: row; width: 100%; }
  .profile-sidebar span       { height: 6px !important; flex: 1; width: auto; border-radius: 3px; }
  /* Body: stack avatar + text — restore fixed height when stacked */
  .profile-body               { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile-avatar-wrap        { width: 120px; margin-inline: auto; }
  .profile-avatar             { width: 120px; height: 120px; min-height: 0; }
  .profile-avatar .avatar-initials { font-size: 2rem; }
  .profile-avatar.alt img     { transform: scale(1.1); object-position: center center; }

  /* ── Float layout: desfaz o float no mobile ── */
  .profile-body--float .profile-avatar-wrap {
    float: none;
    width: 120px;
    margin-right: 0;
    margin-bottom: 1.5rem;
    margin-inline: auto;
  }
  .profile-body--float .profile-avatar { width: 120px; height: 120px; }

  /* ── Citação Fundadora ── */
  .citacao-fundadora  { padding-block: 3rem; }
  .citacao-quote      { padding-left: 1.25rem; }

  /* ── Parcerias ── */
  .parceria-card { width: 140px; }

  /* ── Modal de parceria ── */
  .parceria-modal-box { padding: 1.75rem 1.25rem; }

  /* ── Equipe — 1 column, mesma estrutura vertical do desktop ── */
  .team-row    { grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
  .team-circle { width: 100px; height: 100px; }
  .team-circle-fb.initials { font-size: 1.6rem; }
  .team-circle-fb.icon svg { width: 42px; height: 42px; }

  /* ── Pesquisa de Campo ── */
  .pesquisa-feature       { grid-template-columns: 1fr; }
  .pesquisa-photo         { height: auto; }
  .pesquisa-photo-frame   { height: auto; aspect-ratio: 4 / 3; max-width: 420px; margin-inline: auto; }
  .mosaic-strip           { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic-cell            { aspect-ratio: 4 / 3; }
  .mosaic-cell--wide      { grid-column: 1 / -1; }
  .pesquisa-closing       { padding: 2.5rem 2rem; }

  /* ── Galeria ── */
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-photos-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Acervo ── */
  .acervo-layout { grid-template-columns: 1fr; gap: 2rem; }
  .acervo-book   { max-width: 300px; margin-inline: auto; min-height: 280px; }

  /* ── Segurança ── */
  .seg-grid { grid-template-columns: 1fr; }

  /* ── Chancelas ── */
  .chancela-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤ 420px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 420px) {
  .section    { padding-block: 48px; }
  .container  { padding-inline: 1.125rem; }

  /* ── Hero ── */
  .hero-inner        { padding-inline: 1.125rem; grid-template-columns: 1fr; gap: .75rem; }
  .hero-chevrons     { display: none; }
  .hero-title        { font-size: 1.85rem; }
  .hero-subtitle     { font-size: .8rem; margin-bottom: 1.5rem; }

  /* ── Sobre: hide decorative orbs ── */
  .sobre-deco { display: none; }

  /* ── Profile ── */
  .profile-avatar-wrap { width: 100px; height: auto; }
  .profile-avatar      { width: 100px; height: 100px; }
  .profile-avatar .avatar-initials { font-size: 1.75rem; }
  .profile-avatar.alt img { transform: scale(1.1); object-position: center center; }
  .profile-body--float .profile-avatar-wrap { width: 100px; }
  .profile-body--float .profile-avatar      { width: 100px; height: 100px; }

  /* ── Citação Fundadora ── */
  .citacao-fundadora { padding-block: 2.5rem; }
  .citacao-inner     { gap: 1.25rem; }
  .citacao-quote p   { font-size: .975rem; }

  /* ── Parcerias ── */
  .parceria-card { width: 120px; }

  /* ── Equipe: mesma estrutura vertical do desktop ── */
  .team-circle { width: 88px; height: 88px; }
  .team-circle-fb.initials { font-size: 1.4rem; }
  .team-circle-fb.icon svg { width: 36px; height: 36px; }

  /* ── Pesquisa de Campo ── */
  .pesquisa-lead      { padding: 1.5rem 1.5rem; }
  .pesquisa-adventure { padding: 1.5rem 1.5rem; }
  .pesquisa-closing   { padding: 2rem 1.5rem; }
  .mosaic-strip       { grid-template-columns: 1fr; }
  .mosaic-cell--wide  { grid-column: auto; }

  /* ── Galeria ── */
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-photos-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Acervo ── */
  .acervo-book { min-height: 240px; }

  /* ── Grids gap ── */
  .metodos-grid,
  .seg-grid { gap: .875rem; }

  /* ── Chancelas: stack badge above text ── */
  .chancela-item  { grid-template-columns: 1fr; gap: .75rem; padding: 1rem; }
  .chancela-badge { display: inline-block; text-align: left; }

  /* ── Section header spacing ── */
  .section-header { margin-bottom: 2.25rem; }
}
