:root {
  color: #162033;
  background: #f5f7f4;
  font-family: "Segoe UI", BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ink: #162033;
  --muted: #5c6676;
  --line: #dce2e8;
  --paper: #ffffff;
  --soft: #eef3f0;
  --navy: #182b49;
  --teal: #087a7a;
  --green: #5b7f35;
  --gold: #b98528;
  --shadow: 0 18px 45px rgba(22, 32, 51, 0.11);
}

/* NOSSA HISTORIA */
.history-page { background: #f7f7f2; }
.history-page .site-header { z-index: 20; background: #fff; }
.history-hero { position: relative; overflow: hidden; min-height: 670px; display: grid; align-items: center; color: #fff; background: linear-gradient(125deg, #112841 0%, #183b4e 52%, #0b6b67 100%); }
.history-hero::after { content: "1995"; position: absolute; right: -1vw; bottom: -8vw; color: rgba(255,255,255,.035); font-size: clamp(11rem, 30vw, 29rem); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.history-hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); }
.history-hero-orb-one { width: 430px; height: 430px; top: -230px; right: 18%; background: rgba(72,181,160,.16); }
.history-hero-orb-two { width: 280px; height: 280px; bottom: -180px; left: 8%; border: 70px solid rgba(185,133,40,.12); }
.history-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-top: 90px; padding-bottom: 90px; }
.history-eyebrow, .history-section-heading > span, .history-cta span { display: inline-block; color: #9cd9ce; font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.history-hero h1 { max-width: 720px; margin: 18px 0 24px; font-size: clamp(3.2rem, 6vw, 6.2rem); line-height: .98; letter-spacing: -.055em; }
.history-hero h1 em { color: #e8bd69; font-family: Georgia, serif; font-weight: 400; }
.history-hero-copy > p { max-width: 650px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.75; }
.history-scroll-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 28px; color: #fff; font-weight: 800; text-decoration: none; }
.history-scroll-link span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.history-hero-visual { position: relative; padding: 30px 0 0 30px; }
.history-hero-visual img { display: block; width: 100%; min-height: 420px; object-fit: cover; filter: saturate(.75) contrast(1.05); border-radius: 180px 180px 18px 18px; box-shadow: 0 35px 80px rgba(0,0,0,.3); }
.history-year-mark { position: absolute; z-index: 2; top: 0; left: 0; display: grid; width: 128px; height: 128px; place-content: center; text-align: center; border-radius: 50%; color: #183249; background: #e8bd69; box-shadow: 0 15px 35px rgba(0,0,0,.22); }
.history-year-mark strong { font-size: 2.2rem; line-height: 1; }.history-year-mark span { margin-top: 5px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.history-hero-caption { position: absolute; right: -26px; bottom: 30px; padding: 16px 20px; color: #183249; background: #fff; font-family: Georgia, serif; font-style: italic; box-shadow: var(--shadow); }
.history-intro { padding-top: 110px; padding-bottom: 120px; }
.history-section-heading { max-width: 740px; margin: 0 auto 75px; text-align: center; }.history-section-heading > span { color: var(--teal); }.history-section-heading h2 { margin: 14px 0 16px; font-size: clamp(2.25rem, 4vw, 3.8rem); line-height: 1.07; letter-spacing: -.04em; }.history-section-heading p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.history-timeline { position: relative; }.history-timeline::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--teal), #d7dfd8 90%); }
.history-chapter { position: relative; display: grid; grid-template-columns: 1fr 84px 1fr; align-items: start; margin-bottom: 90px; }.history-chapter-date { grid-column: 1; justify-self: end; padding: 18px 30px; text-align: right; }.history-chapter-date span { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.history-chapter-date strong { display: block; color: #174a55; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.history-chapter-dot { grid-column: 2; justify-self: center; width: 18px; height: 18px; margin-top: 34px; border: 5px solid #f7f7f2; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }.history-chapter-card { grid-column: 3; overflow: hidden; border: 1px solid #e1e5df; border-radius: 24px; background: #fff; box-shadow: 0 25px 60px rgba(24,43,73,.09); }.history-chapter-image { height: 250px; overflow: hidden; background: #e9efea; }.history-chapter-image img { width: 100%; height: 100%; object-fit: cover; }.history-image-contain img { object-fit: contain; padding: 35px; }.history-chapter-copy { padding: 34px; }.history-tag { color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }.history-chapter-copy h3 { margin: 10px 0 20px; color: var(--navy); font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.15; }.history-chapter-copy p { color: #53616b; line-height: 1.75; }.history-chapter-copy p + p { margin-top: 15px; }
.history-chapter-alt .history-chapter-date { grid-column: 3; justify-self: start; text-align: left; }.history-chapter-alt .history-chapter-card { grid-column: 1; grid-row: 1; }.history-future-card { color: #fff; border: 0; background: linear-gradient(145deg, #183249, #0a7470); }.history-future-card h3, .history-future-card p { color: #fff; }.history-future-card p { opacity: .8; }.history-future-card blockquote { margin: 25px 0 0; padding-left: 20px; border-left: 3px solid #e8bd69; color: #fff; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.55; }
.presidents-section { padding: 110px 0 125px; background: #e9efeb; }.presidents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }.president-card { padding: 16px 16px 27px; border-radius: 150px 150px 18px 18px; background: #fff; text-align: center; transition: transform .3s, box-shadow .3s; }.president-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }.president-photo { aspect-ratio: 1 / 1.12; overflow: hidden; margin-bottom: 23px; border-radius: 140px 140px 14px 14px; background: #dce4de; }.president-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(100%); transition: filter .35s, transform .5s; }.president-card:hover img, .president-current img { filter: grayscale(0); transform: scale(1.025); }.president-card > span { color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.president-card h3 { margin: 8px 12px 0; color: var(--navy); font-size: 1.12rem; }.president-current { outline: 2px solid var(--teal); outline-offset: -2px; }
.history-cta { padding: 85px 0; color: #fff; background: var(--navy); }.history-cta-inner { display: flex; justify-content: space-between; gap: 35px; align-items: center; }.history-cta h2 { max-width: 700px; margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }.history-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }.history-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .history-reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 900px) { .history-hero { min-height: auto; }.history-hero-inner { grid-template-columns: 1fr; padding-top: 70px; }.history-hero-visual { max-width: 580px; }.history-timeline::before { left: 16px; }.history-chapter, .history-chapter-alt { grid-template-columns: 42px 1fr; }.history-chapter-dot, .history-chapter-alt .history-chapter-dot { grid-column: 1; grid-row: 2; margin-top: 22px; }.history-chapter-date, .history-chapter-alt .history-chapter-date { grid-column: 2; grid-row: 1; justify-self: start; padding: 0 0 20px; text-align: left; }.history-chapter-card, .history-chapter-alt .history-chapter-card { grid-column: 2; grid-row: 2; }.presidents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .history-hero-inner { padding-top: 54px; padding-bottom: 65px; }.history-hero h1 { font-size: 3rem; }.history-hero-visual { padding-left: 18px; }.history-hero-visual img { min-height: 330px; }.history-year-mark { width: 96px; height: 96px; }.history-hero-caption { right: 0; }.history-intro, .presidents-section { padding-top: 80px; padding-bottom: 80px; }.history-chapter { margin-bottom: 65px; }.history-chapter-copy { padding: 25px; }.history-chapter-image { height: 200px; }.presidents-grid { grid-template-columns: 1fr 1fr; gap: 12px; }.president-card { padding: 9px 9px 20px; }.president-card h3 { font-size: .92rem; }.history-cta-inner { align-items: flex-start; flex-direction: column; } }

/* ESTRUTURA DA FGPA */
.structure-page { background: #f7f8f5; }.structure-hero { position: relative; overflow: hidden; min-height: 640px; display: grid; align-items: center; color: #fff; background: linear-gradient(120deg,#102b48 0%,#153c54 56%,#08766f 100%); }.structure-grid-art { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.7) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.7) 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg,transparent,#000); }.structure-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 6vw; align-items: center; padding-top: 85px; padding-bottom: 85px; }.structure-eyebrow,.structure-heading>span,.structure-clients-inner>div>span { color:#9cd9ce; font-size:.75rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }.structure-hero h1 { margin:18px 0 24px; font-size:clamp(3rem,5.4vw,5.6rem); line-height:1; letter-spacing:-.055em; }.structure-hero h1 em { color:#e8bd69; font-family:Georgia,serif; font-weight:400; }.structure-hero-copy>p { max-width:660px; color:rgba(255,255,255,.78); font-size:1.15rem; line-height:1.75; }.structure-hero-diagram { position:relative; min-height:430px; }.diagram-core { position:absolute; top:50%; left:50%; z-index:2; display:grid; width:190px; height:190px; place-items:center; padding:30px; transform:translate(-50%,-50%); border-radius:50%; background:#fff; box-shadow:0 30px 70px rgba(0,0,0,.28); }.diagram-core img { width:100%; }.diagram-core::before,.diagram-core::after { content:""; position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,.25); }.diagram-core::before { inset:-55px; }.diagram-core::after { inset:-115px; }.diagram-node { position:absolute; z-index:3; display:flex; gap:10px; align-items:center; min-width:180px; padding:15px 18px; border:1px solid rgba(255,255,255,.25); border-radius:12px; background:rgba(10,35,55,.82); box-shadow:0 15px 35px rgba(0,0,0,.2); font-size:.86rem; font-weight:800; backdrop-filter:blur(10px); }.diagram-node span { color:#e8bd69; }.node-one { top:4%; left:4%; }.node-two { right:0; top:28%; }.node-three { bottom:4%; left:4%; }.structure-org { padding-top:110px; padding-bottom:120px; }.structure-heading { max-width:760px; margin:0 auto 70px; text-align:center; }.structure-heading>span { color:var(--teal); }.structure-heading h2 { margin:13px 0 16px; font-size:clamp(2.2rem,4vw,3.8rem); line-height:1.08; letter-spacing:-.04em; }.structure-heading p { color:var(--muted); font-size:1.08rem; line-height:1.7; }.org-flow { max-width:970px; margin:auto; }.org-top-card { position:relative; max-width:440px; margin:auto; padding:30px; border-radius:20px; color:#fff; text-align:center; background:linear-gradient(140deg,#183249,#087a7a); box-shadow:var(--shadow); }.org-top-card span,.org-card>span,.support-card>span { color:#9cd9ce; font-size:.69rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }.org-top-card h3,.org-card h3 { margin:8px 0 10px; font-size:1.55rem; }.org-top-card p { margin:0; color:rgba(255,255,255,.76); }.org-connector { width:2px; height:70px; margin:auto; background:#8bb5ad; }.org-branches { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:70px; }.org-branches::before { content:""; position:absolute; top:-1px; right:25%; left:25%; height:2px; background:#8bb5ad; }.org-card { position:relative; min-height:230px; padding:38px; border:1px solid #dfe5df; border-radius:22px; background:#fff; box-shadow:0 22px 55px rgba(24,43,73,.08); }.org-card::before { content:""; position:absolute; top:-35px; left:50%; width:2px; height:35px; background:#8bb5ad; }.org-number { position:absolute; top:22px; right:25px; color:#d9e5df; font-family:Georgia,serif; font-size:2.3rem; }.org-card>span { color:var(--teal); }.org-card h3 { color:var(--navy); }.org-card p { color:var(--muted); line-height:1.65; }.org-card small { display:inline-block; margin-top:18px; padding:7px 10px; border-radius:20px; color:var(--teal); background:#e9f4f0; font-weight:800; }.org-card-featured { border-top:4px solid var(--gold); }.governance-note { display:grid; grid-template-columns:auto 1fr; gap:25px; max-width:970px; margin:55px auto 0; padding:35px; border-radius:20px; background:#eaf0ec; }.governance-note-mark { display:grid; width:48px; height:48px; place-items:center; border-radius:50%; color:#fff; background:var(--teal); font-family:Georgia,serif; font-size:1.5rem; }.governance-note h3 { margin:0 0 12px; color:var(--navy); }.governance-note p { color:#53616b; line-height:1.7; }.governance-note a { display:inline-block; margin-top:12px; color:var(--teal); font-weight:800; }.structure-support { padding:105px 0; color:#fff; background:#122d47; }.structure-heading-light h2 { color:#fff; }.support-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; max-width:980px; margin:auto; }.support-card { position:relative; overflow:hidden; padding:42px; border:1px solid rgba(255,255,255,.13); border-radius:22px; background:rgba(255,255,255,.06); }.support-icon { display:grid; width:52px; height:52px; margin-bottom:27px; place-items:center; border-radius:14px; color:#173149; background:#e8bd69; font-weight:900; }.support-card h3 { margin:9px 0 15px; font-size:1.6rem; }.support-card p { color:rgba(255,255,255,.7); line-height:1.7; }.executive-section { padding:115px 0; }.executive-inner { display:grid; grid-template-columns:.78fr 1.22fr; gap:clamp(45px,8vw,110px); align-items:center; max-width:1050px; }.executive-photo { position:relative; }.executive-photo img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center top; border-radius:190px 190px 20px 20px; box-shadow:var(--shadow); }.executive-period { position:absolute; right:-25px; bottom:35px; padding:16px 22px; color:#173149; background:#e8bd69; font-weight:900; box-shadow:var(--shadow); }.executive-period span { padding:0 7px; }.executive-copy>span { color:var(--teal); font-size:.75rem; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }.executive-copy h2 { margin:12px 0 20px; color:var(--navy); font-size:clamp(2.3rem,4vw,4rem); line-height:1; }.executive-copy>p { color:var(--muted); font-size:1.08rem; line-height:1.7; }.executive-copy blockquote { margin:28px 0; padding:5px 0 5px 22px; border-left:3px solid var(--gold); color:#254354; font-family:Georgia,serif; font-size:1.18rem; line-height:1.6; }.activity-section { padding:105px 0 120px; background:#eaf0ec; }.activity-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:13px; }.activity-card { min-height:230px; display:flex; flex-direction:column; justify-content:space-between; padding:25px; border-radius:18px; color:#fff; background:#19344c; text-decoration:none; transition:.3s; }.activity-card:nth-child(even) { background:#0b716d; }.activity-card b { color:#e8bd69; font-family:Georgia,serif; font-size:1.6rem; }.activity-card span { font-size:1.2rem; font-weight:850; }.activity-card small { font-size:1.5rem; }.activity-card:hover { transform:translateY(-7px); box-shadow:var(--shadow); }.structure-clients { padding:90px 0; color:#fff; background:linear-gradient(110deg,#087a7a,#17435a); }.structure-clients-inner { display:grid; grid-template-columns:1.2fr 1fr auto; gap:50px; align-items:center; }.structure-clients h2 { margin:10px 0 0; font-size:clamp(2rem,3.3vw,3.2rem); line-height:1.08; }.structure-clients ul { display:grid; gap:9px; margin:0; padding:0; list-style:none; }.structure-clients li::before { content:"✓"; margin-right:10px; color:#e8bd69; font-weight:900; }
@media(max-width:900px){.structure-hero-inner,.executive-inner { grid-template-columns:1fr; }.structure-hero-diagram { max-width:600px; width:100%; margin:auto; }.activity-grid { grid-template-columns:repeat(2,1fr); }.structure-clients-inner { grid-template-columns:1fr; }.structure-clients-inner .button { justify-self:start; }}
@media(max-width:600px){.structure-hero-inner { padding-top:60px; }.structure-hero h1 { font-size:3rem; }.structure-hero-diagram { min-height:390px; transform:scale(.88); }.diagram-node { min-width:155px; padding:12px; font-size:.75rem; }.org-branches,.support-grid { grid-template-columns:1fr; gap:55px; }.org-branches::before { display:none; }.org-card::before { top:-30px; height:30px; }.governance-note { grid-template-columns:1fr; }.activity-grid { grid-template-columns:1fr 1fr; }.activity-card { min-height:180px; }.executive-period { right:0; }}

.structure-page .org-branches {
  padding-top: 34px;
}

.structure-page .org-branches::before {
  top: 0;
  left: calc((100% - 70px) / 4);
  right: calc((100% - 70px) / 4);
}

.structure-page .org-card::before {
  top: -34px;
  height: 34px;
}

.policies-page .policy-document {
  grid-template-columns: 1fr;
}

.policies-page .policies-hero-inner {
  grid-template-columns: 1fr;
  min-height: 540px;
}

.policies-page .policies-hero::before {
  display: none;
}

.policies-page .policies-hero-copy {
  max-width: 920px;
}

.policies-page .policies-hero-copy > p {
  max-width: 720px;
}

/* Abertura editorial da pagina Estrutura */
.structure-intro-hero {
  padding: 58px 0 92px;
  background: #f1f4ef;
}

.structure-intro-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  color: #66716d;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.structure-intro-meta span:first-child {
  color: var(--teal);
}

.structure-intro-main {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(24, 43, 73, 0.1);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(22, 50, 73, 0.12);
}

.structure-intro-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 6vw, 78px);
  color: #ffffff;
  background: linear-gradient(145deg, #132e49, #17475a);
}

.structure-intro-copy > span {
  color: #9cd9ce;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.structure-intro-copy h1 {
  max-width: 610px;
  margin: 18px 0 16px;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.structure-intro-copy h1 em {
  color: #e8bd69;
  font-family: Georgia, serif;
  font-weight: 400;
}

.structure-intro-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}

.structure-intro-copy a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 38px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.structure-intro-copy a span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.structure-intro-summary {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  padding: 34px clamp(28px, 4vw, 58px);
  background: #ffffff;
}

.structure-intro-summary div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #dfe6e1;
}

.structure-intro-summary div:last-child {
  border-bottom: 0;
}

.structure-intro-summary strong {
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.structure-intro-summary span {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .structure-intro-main {
    grid-template-columns: 1fr;
  }

  .structure-intro-summary {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .structure-intro-hero {
    padding: 35px 0 65px;
  }

  .structure-intro-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .structure-intro-main {
    border-radius: 20px;
  }

  .structure-intro-copy h1 {
    font-size: 3.35rem;
  }

  .structure-intro-summary div {
    grid-template-columns: 70px 1fr;
  }

  .structure-intro-summary strong {
    font-size: 3rem;
  }
}

/* PALAVRA DO PRESIDENTE */
.president-message-page {
  background: #f7f8f5;
}

.president-message-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #112d49 0%, #17455a 62%, #08766f 100%);
}

.president-message-hero::before {
  position: absolute;
  right: -8vw;
  bottom: -15vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.025), 0 0 0 14vw rgba(255, 255, 255, 0.02);
  content: "";
}

.president-message-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: end;
  min-height: 660px;
  padding-top: 80px;
}

.president-message-heading {
  align-self: center;
  padding-bottom: 70px;
}

.president-message-heading > a {
  display: inline-block;
  margin-bottom: 55px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.president-message-heading > span {
  display: block;
  color: #9cd9ce;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.president-message-heading h1 {
  max-width: 760px;
  margin: 18px 0 38px;
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.president-message-heading h1 em {
  display: block;
  color: #e8bd69;
  font-family: Georgia, serif;
  font-weight: 400;
}

.president-message-person {
  display: flex;
  gap: 20px;
  align-items: center;
}

.president-message-person strong {
  font-size: 1.03rem;
}

.president-message-person span {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

.president-message-portrait {
  position: relative;
  align-self: end;
  max-width: 475px;
  margin: 0;
  padding: 24px 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  border-radius: 220px 220px 0 0;
  background: rgba(255, 255, 255, 0.06);
}

.president-message-portrait img {
  display: block;
  width: 100%;
  max-height: 565px;
  object-fit: cover;
  object-position: center top;
  border-radius: 200px 200px 0 0;
}

.president-message-portrait figcaption {
  position: absolute;
  right: -28px;
  bottom: 36px;
  padding: 13px 18px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.president-message-year {
  position: absolute;
  top: 21%;
  left: -42px;
  z-index: 2;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #e8bd69;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.president-letter-section {
  padding: 115px 0 125px;
}

.president-letter-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: clamp(50px, 8vw, 110px);
  justify-content: center;
}

.president-letter-aside {
  position: sticky;
  top: 115px;
  align-self: start;
  padding-top: 8px;
}

.president-letter-aside > span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.president-letter-aside > strong {
  display: block;
  margin-top: 15px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
}

.president-letter-aside > div {
  height: 95px;
  margin-top: 25px;
  overflow: hidden;
  color: #dce8e2;
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
}

.president-letter {
  position: relative;
  padding-left: 42px;
  border-left: 1px solid #d6ded8;
}

.president-letter p {
  margin: 0 0 26px;
  color: #485a66;
  font-size: 1.06rem;
  line-height: 1.92;
}

.president-letter .president-letter-lead {
  margin-bottom: 34px;
  color: #193b4e;
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  line-height: 1.7;
}

.president-letter-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid #d6ded8;
}

.president-letter-signature span {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
}

.president-letter-signature strong {
  margin-top: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.president-letter-signature small {
  margin-top: 5px;
  color: var(--muted);
}

.president-message-next {
  padding: 82px 0;
  color: #ffffff;
  background: var(--navy);
}

.president-message-next-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.president-message-next-inner > div > span {
  color: #9cd9ce;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.president-message-next h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.08;
}

/* Chamadas finais: visual independente do rodape */
.president-message-next,
.history-cta {
  padding: 72px 0;
  color: var(--navy);
  background: #e9efeb;
}

.president-message-next-inner,
.history-cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(24, 43, 73, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(24, 43, 73, 0.09);
}

.president-message-next-inner::before,
.history-cta-inner::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(var(--teal), #e8bd69);
  content: "";
}

.president-message-next-inner > div,
.history-cta-inner > div,
.president-message-next-inner > a,
.history-cta-inner > a {
  position: relative;
  z-index: 1;
}

.president-message-next-inner > div > span,
.history-cta span {
  color: var(--teal);
}

.president-message-next h2,
.history-cta h2 {
  color: var(--navy);
}

@media (max-width: 900px) {
  .president-message-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }

  .president-message-heading {
    padding-bottom: 0;
  }

  .president-message-heading > a {
    margin-bottom: 38px;
  }

  .president-message-portrait {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .president-letter-layout {
    grid-template-columns: 1fr;
  }

  .president-letter-aside {
    position: static;
    max-width: 520px;
  }

  .president-letter-aside > div {
    display: none;
  }
}

@media (max-width: 600px) {
  .president-message-heading h1 {
    font-size: 4rem;
  }

  .president-message-person {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .president-message-person span {
    padding-left: 0;
    border-left: 0;
  }

  .president-message-year {
    left: -15px;
    width: 78px;
    height: 78px;
    font-size: 1.05rem;
  }

  .president-message-portrait figcaption {
    right: 0;
  }

  .president-letter-section {
    padding: 80px 0 90px;
  }

  .president-letter {
    padding-left: 22px;
  }

  .president-message-next-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* BIOGRAFIA GERALDO PERLINGEIRO ABREU */
.biography-page { background:#f7f6f1; }
.biography-hero { position:relative; overflow:hidden; background:#edece5; }
.biography-hero::before { content:"1920"; position:absolute; right:-1vw; bottom:-3vw; color:rgba(19,46,73,.045); font-family:Georgia,serif; font-size:clamp(11rem,27vw,27rem); line-height:.75; }
.biography-hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(50px,8vw,110px); align-items:center; min-height:720px; padding-top:75px; padding-bottom:75px; }
.biography-hero-copy>span,.biography-chapter>div>span,.biography-projects-heading>span,.biography-education-copy>span,.biography-recognition-title>span,.biography-marks-heading>span { color:var(--teal); font-size:.72rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }
.biography-hero h1 { margin:18px 0 27px; color:var(--navy); font-size:clamp(3.7rem,6.6vw,7rem); line-height:.91; letter-spacing:-.065em; }
.biography-hero h1 em { color:#a87520; font-family:Georgia,serif; font-weight:400; }
.biography-life-dates { display:flex; gap:15px; align-items:center; margin-bottom:32px; color:#284b58; }.biography-life-dates strong { font-family:Georgia,serif; font-size:1.2rem; }.biography-life-dates i { width:70px; height:1px; background:#87a19a; }
.biography-hero blockquote { max-width:690px; margin:0; padding-left:23px; border-left:3px solid var(--gold); color:#455760; font-family:Georgia,serif; font-size:clamp(1.05rem,1.7vw,1.3rem); line-height:1.65; }.biography-hero cite { display:block; margin:20px 0 0 26px; color:#6c7774; font-size:.76rem; font-style:normal; font-weight:800; text-transform:uppercase; }
.biography-hero-photo { position:relative; max-width:460px; margin:0; padding:18px; border:1px solid #cfd6d0; border-radius:230px 230px 18px 18px; background:#fff; box-shadow:0 30px 70px rgba(22,50,73,.15); }.biography-hero-photo img { display:block; width:100%; aspect-ratio:2/2.7; object-fit:cover; object-position:center top; border-radius:215px 215px 10px 10px; filter:saturate(.72); }.biography-hero-photo figcaption { position:absolute; right:-35px; bottom:40px; max-width:220px; padding:15px 18px; color:#fff; background:var(--navy); font-size:.73rem; font-weight:700; line-height:1.45; box-shadow:var(--shadow); }
.biography-story { padding:120px 0 60px; background:#fff; }.biography-story-grid { display:grid; grid-template-columns:220px minmax(0,800px); gap:clamp(55px,9vw,125px); justify-content:center; }.biography-story-index { position:sticky; top:115px; align-self:start; }.biography-story-index>span { color:var(--teal); font-size:.72rem; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }.biography-story-index nav { display:grid; margin-top:22px; border-top:1px solid #dce3de; }.biography-story-index a { padding:13px 0; border-bottom:1px solid #dce3de; color:#5c6868; font-size:.86rem; font-weight:750; text-decoration:none; }.biography-story-index a:hover { color:var(--teal); }
.biography-chapter { position:relative; display:grid; grid-template-columns:54px 1fr; gap:24px; padding-bottom:80px; }.biography-chapter-number { color:#d5e0da; font-family:Georgia,serif; font-size:2.4rem; }.biography-chapter h2,.biography-projects h2,.biography-education h2,.biography-recognition h2,.biography-marks h2 { margin:10px 0 28px; color:var(--navy); font-size:clamp(2rem,3.7vw,3.4rem); line-height:1.06; letter-spacing:-.04em; }.biography-chapter p,.biography-projects p,.biography-education p,.biography-recognition p { margin:0 0 19px; color:#50606a; font-size:1.02rem; line-height:1.84; }
.biography-inline-photo { display:grid; grid-template-columns:190px 1fr; gap:25px; align-items:end; margin:0 0 85px 78px; padding:22px; border-radius:18px; background:#eaf0eb; }.biography-inline-photo img { width:190px; height:235px; object-fit:cover; object-position:center top; border-radius:9px; filter:grayscale(1); }.biography-inline-photo figcaption { padding-bottom:10px; color:#31505a; font-family:Georgia,serif; font-size:1.15rem; font-style:italic; }
.biography-quote-band { position:relative; overflow:hidden; padding:105px 0; color:#fff; background:linear-gradient(120deg,#122f4a,#0a6e6a); }.biography-quote-band::after { content:"“"; position:absolute; right:4vw; top:-80px; color:rgba(255,255,255,.06); font-family:Georgia,serif; font-size:25rem; }.biography-quote-band .container { position:relative; z-index:1; }.biography-quote-band blockquote { max-width:980px; margin:0 auto; font-family:Georgia,serif; font-size:clamp(1.45rem,2.8vw,2.35rem); line-height:1.55; }.biography-quote-band cite { display:block; max-width:980px; margin:27px auto 0; color:#a6dbd2; font-size:.76rem; font-style:normal; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.biography-projects { padding:115px 0; background:#f1f3ef; }.biography-projects-inner,.biography-recognition-inner { display:grid; grid-template-columns:.75fr 1.25fr; gap:clamp(55px,9vw,120px); }.biography-projects-heading,.biography-recognition-title { align-self:start; }.biography-projects-copy,.biography-recognition-copy { padding-left:42px; border-left:1px solid #ced8d1; }
.biography-education { padding:120px 0; background:#fff; }.biography-education-inner { display:grid; grid-template-columns:.68fr 1.32fr; gap:clamp(55px,9vw,120px); align-items:center; max-width:1060px; }.biography-education-photo { position:relative; margin:0; padding:16px; border:1px solid #d4dcd6; background:#f5f4ee; transform:rotate(-2deg); box-shadow:var(--shadow); }.biography-education-photo img { display:block; width:100%; max-height:570px; object-fit:cover; object-position:center top; filter:grayscale(1) contrast(1.05); }.biography-education-photo figcaption { padding:14px 4px 2px; color:#586461; font-family:Georgia,serif; font-style:italic; text-align:center; }
.biography-recognition { padding:115px 0; background:#e9efeb; }
.biography-marks { padding:115px 0 125px; background:#fff; }.biography-marks-heading { max-width:780px; margin:0 auto 65px; text-align:center; }.biography-marks-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; max-width:1040px; margin:auto; }.biography-mark { display:grid; grid-template-columns:48px 1fr; gap:19px; min-height:150px; padding:29px; border:1px solid #dce3de; border-radius:18px; background:#fafbf9; }.biography-mark>span { color:var(--teal); font-family:Georgia,serif; font-size:1.3rem; }.biography-mark p { margin:0; color:#52616a; line-height:1.7; }.biography-mark-featured { grid-column:1/-1; grid-template-columns:210px 1fr; color:#fff; border:0; background:linear-gradient(120deg,#18364e,#08756f); }.biography-mark-featured>span { color:#e8bd69; font-family:inherit; font-size:.75rem; font-weight:900; letter-spacing:.11em; line-height:1.5; text-transform:uppercase; }.biography-mark-featured p { color:rgba(255,255,255,.82); }
@media(max-width:900px){.biography-hero-inner,.biography-projects-inner,.biography-recognition-inner,.biography-education-inner { grid-template-columns:1fr; }.biography-hero-photo { width:min(100%,470px); }.biography-story-grid { grid-template-columns:1fr; }.biography-story-index { position:static; }.biography-story-index nav { grid-template-columns:repeat(3,1fr); }.biography-story-index a { padding-right:15px; }.biography-projects-copy,.biography-recognition-copy { padding-left:0; border-left:0; }.biography-education-photo { max-width:390px; }.biography-marks-grid { grid-template-columns:1fr; }.biography-mark-featured { grid-column:auto; }}
@media(max-width:600px){.biography-hero-inner { padding-top:60px; }.biography-hero h1 { font-size:4rem; }.biography-hero-photo figcaption { right:0; }.biography-story { padding-top:85px; }.biography-story-index nav { grid-template-columns:1fr 1fr; }.biography-chapter { grid-template-columns:1fr; }.biography-chapter-number { font-size:1.7rem; }.biography-inline-photo { grid-template-columns:1fr; margin-left:0; }.biography-inline-photo img { width:100%; height:320px; }.biography-quote-band { padding:75px 0; }.biography-projects,.biography-education,.biography-recognition,.biography-marks { padding-top:85px; padding-bottom:90px; }.biography-mark,.biography-mark-featured { grid-template-columns:1fr; }}

/* TRANSPARENCIA */
.transparency-page { background:#f7f8f5; }.transparency-hero { position:relative; overflow:hidden; color:#fff; background:linear-gradient(115deg,#102d49 0%,#17495b 64%,#08766f 100%); }.transparency-hero::after { content:""; position:absolute; inset:0; opacity:.08; background-image:linear-gradient(rgba(255,255,255,.65) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.65) 1px,transparent 1px); background-size:72px 72px; mask-image:linear-gradient(90deg,transparent 30%,#000); }.transparency-hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(50px,8vw,110px); align-items:center; min-height:570px; padding-top:80px; padding-bottom:80px; }.transparency-hero-copy>span,.transparency-intro>div>span { color:#9cd9ce; font-size:.72rem; font-weight:900; letter-spacing:.19em; text-transform:uppercase; }.transparency-hero h1 { margin:17px 0 23px; font-size:clamp(3.6rem,6.5vw,6.8rem); line-height:.93; letter-spacing:-.06em; }.transparency-hero h1 em { color:#e8bd69; font-family:Georgia,serif; font-weight:400; }.transparency-hero-copy p { max-width:650px; color:rgba(255,255,255,.75); font-size:1.13rem; line-height:1.75; }
.transparency-hero-mark { position:relative; width:340px; height:340px; margin:auto; }.transparency-sheet { position:absolute; width:225px; height:285px; border-radius:13px; }.sheet-back { top:8px; left:25px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.1); transform:rotate(-9deg); }.sheet-front { right:20px; bottom:8px; padding:37px 31px; color:var(--navy); background:#fff; box-shadow:0 30px 70px rgba(0,0,0,.28); }.sheet-front>span { color:var(--teal); font-size:.78rem; font-weight:900; letter-spacing:.16em; }.sheet-front i { display:block; height:7px; margin-top:24px; border-radius:8px; background:#dce5e1; }.sheet-front i:nth-of-type(2) { width:80%; }.sheet-front i:nth-of-type(3) { width:60%; }.sheet-front strong { position:absolute; right:25px; bottom:25px; display:grid; width:46px; height:46px; place-items:center; border-radius:50%; color:#fff; background:var(--teal); font-size:1.3rem; }.transparency-year-mark { position:absolute; z-index:3; right:-8px; top:35px; padding:11px 15px; border-radius:8px; color:var(--navy); background:#e8bd69; font-size:.73rem; font-weight:900; box-shadow:var(--shadow); }
.transparency-documents { padding:110px 0 125px; }.transparency-documents-inner { max-width:1080px; }.transparency-intro { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:end; margin-bottom:65px; }.transparency-intro>div>span { color:var(--teal); }.transparency-intro h2 { margin:11px 0 0; color:var(--navy); font-size:clamp(2.4rem,4.4vw,4.1rem); line-height:1; letter-spacing:-.045em; }.transparency-intro>p { margin:0; color:var(--muted); line-height:1.75; }
.transparency-years { display:grid; gap:16px; }.transparency-year { overflow:hidden; border:1px solid #dce3de; border-radius:20px; background:#fff; box-shadow:0 12px 32px rgba(24,43,73,.055); }.transparency-year summary { position:relative; display:grid; grid-template-columns:1fr auto 34px; gap:22px; align-items:center; min-height:105px; padding:20px 30px; cursor:pointer; list-style:none; }.transparency-year summary::-webkit-details-marker { display:none; }.transparency-year-number { color:var(--navy); font-family:Georgia,serif; font-size:2.8rem; }.transparency-year-count { color:#76817e; font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.transparency-year-toggle { position:relative; width:32px; height:32px; border:1px solid #cbd7d1; border-radius:50%; }.transparency-year-toggle::before,.transparency-year-toggle::after { content:""; position:absolute; top:50%; left:50%; width:12px; height:2px; transform:translate(-50%,-50%); background:var(--teal); }.transparency-year-toggle::after { transform:translate(-50%,-50%) rotate(90deg); transition:transform .2s; }.transparency-year[open] .transparency-year-toggle::after { transform:translate(-50%,-50%) rotate(0); }.transparency-year[open] summary { border-bottom:1px solid #e0e6e2; background:#f7faf8; }
.transparency-file-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:13px; padding:25px; }.transparency-file { position:relative; display:grid; grid-template-columns:46px 1fr 28px; gap:17px; align-items:center; min-height:105px; padding:19px; border:1px solid #e0e6e2; border-radius:14px; color:inherit; background:#fff; text-decoration:none; transition:transform .2s,border-color .2s,box-shadow .2s; }.transparency-file:hover { transform:translateY(-3px); border-color:rgba(8,122,122,.45); box-shadow:0 14px 30px rgba(24,43,73,.09); }.transparency-file-type { display:grid; width:46px; height:55px; place-items:center; border-radius:7px 7px 11px 7px; color:#fff; background:#b45145; font-size:.66rem; font-weight:900; }.transparency-file div { min-width:0; }.transparency-file small { display:block; margin-bottom:6px; color:#78827f; font-size:.68rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }.transparency-file strong { display:block; color:var(--navy); font-size:1rem; line-height:1.35; }.transparency-file-action { color:var(--teal); font-size:1.2rem; }.transparency-file-wide { grid-column:1/-1; }.transparency-file-wide strong { font-size:1.08rem; }
@media(max-width:800px){.transparency-hero-inner,.transparency-intro { grid-template-columns:1fr; }.transparency-hero-mark { width:300px; height:320px; }.transparency-file-grid { grid-template-columns:1fr; }.transparency-file-wide { grid-column:auto; }}
@media(max-width:520px){.transparency-hero-inner { padding-top:60px; }.transparency-hero h1 { font-size:3.8rem; }.transparency-hero-mark { transform:scale(.88); transform-origin:center; }.transparency-documents { padding:80px 0 90px; }.transparency-year summary { grid-template-columns:1fr auto; padding:18px 20px; }.transparency-year-count { display:none; }.transparency-file-grid { padding:14px; }.transparency-file { grid-template-columns:40px 1fr 20px; gap:12px; padding:15px; }.transparency-file-type { width:40px; height:49px; }}

/* POLITICAS E PROCEDIMENTOS */
.policies-page { background:#f5f7f3; }.policies-hero { position:relative; overflow:hidden; background:#edf1eb; }.policies-hero::before { content:""; position:absolute; top:-250px; right:-170px; width:610px; height:610px; border:1px solid rgba(8,122,122,.13); border-radius:50%; box-shadow:0 0 0 85px rgba(8,122,122,.025),0 0 0 170px rgba(8,122,122,.018); }.policies-hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(50px,8vw,100px); align-items:center; min-height:610px; padding-top:75px; padding-bottom:75px; }.policies-hero-meta { display:flex; gap:26px; margin-bottom:35px; color:#65726f; font-size:.7rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }.policies-hero-meta span:first-child { color:var(--teal); }.policies-hero h1 { margin:0 0 25px; color:var(--navy); font-size:clamp(3.6rem,6.4vw,6.7rem); line-height:.92; letter-spacing:-.06em; }.policies-hero h1 em { color:#a87520; font-family:Georgia,serif; font-weight:400; }.policies-hero-copy>p { max-width:650px; color:#586762; font-size:1.12rem; line-height:1.75; }
.policies-hero-symbol { position:relative; width:380px; height:380px; margin:auto; }.policies-shield { position:absolute; top:50%; left:50%; display:grid; width:205px; height:235px; place-content:center; border-radius:105px 105px 88px 88px; color:#fff; background:linear-gradient(145deg,#17364f,#08766f); transform:translate(-50%,-50%); clip-path:polygon(50% 0,92% 17%,88% 68%,50% 100%,12% 68%,8% 17%); box-shadow:0 25px 60px rgba(22,50,73,.2); }.policies-shield span { font-size:.72rem; font-weight:900; letter-spacing:.18em; }.policies-shield i { width:65px; height:1px; margin:13px auto; background:rgba(255,255,255,.4); }.policies-shield strong { font-size:2.5rem; text-align:center; }.policies-orbit { position:absolute; z-index:2; padding:10px 14px; border:1px solid #d1dcd5; border-radius:30px; color:var(--teal); background:#fff; font-size:.7rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; box-shadow:0 12px 30px rgba(24,43,73,.08); }.orbit-one { top:25px; left:20px; }.orbit-two { top:130px; right:-5px; }.orbit-three { bottom:30px; left:5px; }
.policies-library { padding:110px 0 125px; background:#fff; }.policies-library-inner { max-width:1100px; }.policies-library-heading { max-width:760px; margin:0 auto 80px; text-align:center; }.policies-library-heading>span { color:var(--teal); font-size:.72rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }.policies-library-heading h2 { margin:12px 0 16px; color:var(--navy); font-size:clamp(2.5rem,4.7vw,4.2rem); line-height:1; letter-spacing:-.045em; }.policies-library-heading p { color:var(--muted); font-size:1.05rem; }
.policies-group+.policies-group { margin-top:95px; padding-top:85px; border-top:1px solid #dce3de; }.policies-group-heading { display:flex; gap:22px; align-items:center; margin-bottom:35px; }.policies-group-heading>span { color:#ccdbd4; font-family:Georgia,serif; font-size:2.6rem; }.policies-group-heading small { color:var(--teal); font-size:.68rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }.policies-group-heading h3 { margin:5px 0 0; color:var(--navy); font-size:clamp(1.7rem,3vw,2.5rem); }.policies-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }.policy-document { position:relative; display:grid; grid-template-columns:50px 1fr; gap:22px; min-height:245px; padding:32px; border:1px solid #dce3de; border-radius:18px; color:inherit; background:#fafbf9; text-decoration:none; transition:transform .25s,border-color .25s,box-shadow .25s; }.policy-document:hover { transform:translateY(-5px); border-color:rgba(8,122,122,.4); box-shadow:0 20px 45px rgba(24,43,73,.09); }.policy-document-icon { display:grid; width:48px; height:48px; place-items:center; border-radius:50%; color:var(--teal); background:#e2eee9; font-family:Georgia,serif; }.policy-document small { color:#7a8581; font-size:.67rem; font-weight:850; letter-spacing:.09em; text-transform:uppercase; }.policy-document strong { display:block; margin:8px 0 12px; color:var(--navy); font-size:1.24rem; }.policy-document p { margin:0; color:#62706c; font-size:.9rem; line-height:1.65; }.policy-document-link { position:absolute; right:30px; bottom:25px; color:var(--teal); font-size:.73rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }.policies-grid-three .policy-document:last-child { grid-column:1/-1; min-height:210px; }
.policies-ethics-note { display:flex; justify-content:space-between; gap:45px; align-items:center; margin-top:95px; padding:42px 48px; border:1px solid rgba(24,43,73,.1); border-radius:22px; background:#e9efeb; }.policies-ethics-note>div>span { color:var(--teal); font-size:.68rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }.policies-ethics-note h3 { margin:7px 0 8px; color:var(--navy); font-size:1.7rem; }.policies-ethics-note p { margin:0; color:#61706b; }
@media(max-width:850px){.policies-hero-inner { grid-template-columns:1fr; }.policies-hero-symbol { width:340px; height:340px; }.policies-grid { grid-template-columns:1fr; }.policies-grid-three .policy-document:last-child { grid-column:auto; }.policies-ethics-note { align-items:flex-start; flex-direction:column; }}
@media(max-width:520px){.policies-hero-inner { padding-top:55px; }.policies-hero-meta { align-items:flex-start; flex-direction:column; gap:7px; }.policies-hero h1 { font-size:3.65rem; }.policies-hero-symbol { width:300px; height:320px; transform:scale(.9); }.policies-library { padding:80px 0 90px; }.policy-document { grid-template-columns:40px 1fr; gap:15px; min-height:270px; padding:24px 20px; }.policy-document-icon { width:40px; height:40px; }.policy-document-link { right:20px; bottom:20px; }.policies-ethics-note { padding:30px 25px; }}

/* NOTICIAS */
.news-page { background:#f7f8f5; }.news-hero { padding:85px 0 100px; background:#eaf0eb; }.news-hero-heading { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:end; margin-bottom:55px; }.news-hero-heading>div>span,.news-listing-toolbar>div>span { color:var(--teal); font-size:.72rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }.news-hero-heading h1 { margin:7px 0 0; color:var(--navy); font-size:clamp(4.5rem,8vw,8rem); line-height:.9; letter-spacing:-.065em; }.news-hero-heading>p { max-width:560px; margin:0; color:#586762; font-size:1.12rem; line-height:1.75; }
.news-featured { display:grid; grid-template-columns:1.15fr .85fr; overflow:hidden; min-height:500px; border-radius:25px; background:#fff; box-shadow:0 26px 65px rgba(24,43,73,.13); }.news-featured[hidden],.news-card[hidden] { display:none; }.news-featured-image { overflow:hidden; min-height:500px; }.news-featured-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .7s; }.news-featured:hover .news-featured-image img { transform:scale(1.035); }.news-featured-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(35px,5vw,65px); }.news-label { margin-bottom:20px; padding:8px 12px; border-radius:20px; color:#fff; background:var(--teal); font-size:.67rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }.news-featured time,.news-card time { color:#7b8582; font-size:.72rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }.news-featured h2 { margin:15px 0 20px; font-size:clamp(1.7rem,2.7vw,2.55rem); line-height:1.14; }.news-featured h2 a,.news-card h3 a { color:var(--navy); text-decoration:none; }.news-featured-copy>p { margin:0 0 26px; color:#5d6b67; line-height:1.7; }.news-read-link { display:inline-flex; gap:10px; align-items:center; margin-top:auto; color:var(--teal); font-size:.76rem; font-weight:900; letter-spacing:.07em; text-decoration:none; text-transform:uppercase; }.news-read-link span { font-size:1rem; transition:transform .2s; }.news-read-link:hover span { transform:translate(3px,-3px); }
.news-listing { padding:110px 0 125px; background:#fff; }.news-listing-toolbar { display:flex; justify-content:space-between; gap:40px; align-items:end; margin-bottom:50px; }.news-listing-toolbar h2 { margin:8px 0 0; color:var(--navy); font-size:clamp(2.3rem,4vw,3.8rem); line-height:1; }.news-search { position:relative; width:min(100%,360px); }.news-search input { width:100%; min-height:52px; border:1px solid #ced8d2; border-radius:30px; padding:0 48px 0 20px; color:var(--ink); background:#f8faf8; font:inherit; outline:0; }.news-search input:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(8,122,122,.1); }.news-search i { position:absolute; top:50%; right:20px; width:15px; height:15px; transform:translateY(-60%); border:2px solid var(--teal); border-radius:50%; pointer-events:none; }.news-search i::after { content:""; position:absolute; right:-6px; bottom:-4px; width:7px; height:2px; background:var(--teal); transform:rotate(45deg); }
.news-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }.news-card { overflow:hidden; border:1px solid #dce3de; border-radius:20px; background:#fafbf9; transition:transform .25s,box-shadow .25s; }.news-card:hover { transform:translateY(-6px); box-shadow:0 22px 48px rgba(24,43,73,.1); }.news-card-image { display:block; overflow:hidden; height:285px; background:#e3e9e4; }.news-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .55s; }.news-card:hover .news-card-image img { transform:scale(1.04); }.news-card-copy { display:flex; flex-direction:column; align-items:flex-start; min-height:330px; padding:30px; }.news-card h3 { margin:12px 0 16px; font-size:1.4rem; line-height:1.28; }.news-card-copy>p { margin:0 0 25px; color:#61706b; line-height:1.68; }.news-empty { padding:50px; border-radius:18px; color:var(--muted); background:#eef3ef; text-align:center; }.news-archive-action { margin-top:55px; text-align:center; }
@media(max-width:850px){.news-hero-heading,.news-featured { grid-template-columns:1fr; }.news-featured-image { min-height:390px; }.news-featured-copy { min-height:400px; }.news-listing-toolbar { align-items:flex-start; flex-direction:column; }.news-grid { grid-template-columns:1fr; }.news-search { width:100%; }}
@media(max-width:520px){.news-hero { padding:60px 0 75px; }.news-hero-heading { gap:25px; }.news-hero-heading h1 { font-size:4.8rem; }.news-featured-image { min-height:310px; }.news-featured-copy { min-height:0; padding:30px 25px; }.news-listing { padding:80px 0 90px; }.news-card-image { height:240px; }.news-card-copy { min-height:0; padding:25px; }}

.news-page .news-hero-heading {
  display: flex;
  max-width: 780px;
  align-items: center;
  flex-direction: column;
  gap: 0;
  margin-right: auto;
  margin-bottom: 72px;
  margin-left: auto;
  text-align: center;
}

.news-page .news-hero-heading h1 {
  margin: 10px 0 22px;
  font-size: clamp(3.7rem, 6.5vw, 6rem);
  line-height: 0.95;
}

.news-page .news-hero-heading > p {
  max-width: 650px;
  margin: 0;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 58px;
}

.news-page-numbers {
  display: flex;
  gap: 8px;
}

.news-pagination button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #cdd8d2;
  border-radius: 50%;
  color: var(--navy);
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.news-pagination button:hover:not(:disabled),
.news-pagination button.is-current {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.news-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.news-loading {
  margin: 25px 0 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 520px) {
  .news-pagination {
    gap: 6px;
  }

  .news-page-numbers {
    gap: 5px;
  }

  .news-pagination button {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 901px) {
  .history-chapter-dot {
    grid-row: 1;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CARROSSEL INICIAL */

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 650;
  min-height: 220px;
  max-height: 650px;
  overflow: hidden;
  background: #ffffff;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s ease-in-out;
}

.hero-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mantem banners de outra proporcao inteiros e preenche as laterais sem distorcao. */
.hero-slide--fit {
  overflow: hidden;
  background-size: cover;
}

.hero-slide--fit::before,
.hero-slide--fit::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide--fit::before {
  inset: -24px;
  background-size: cover;
  filter: blur(18px);
  opacity: 0.82;
}

.hero-slide--fit::after {
  background-size: contain;
}

.hero-banner-link {
  position: absolute;
  left: 48.2%;
  z-index: 3;
  width: 18%;
  height: 8.5%;
  border-radius: 8px;
  cursor: pointer;
}

.hero-banner-link--gestao {
  top: 48.5%;
}

.hero-banner-link--educacao {
  top: 59%;
}

.hero-banner-link:hover {
  background: rgba(0, 122, 204, 0.08);
}

.hero-banner-link:focus-visible {
  outline: 3px solid #007acc;
  outline-offset: 2px;
  background: rgba(0, 122, 204, 0.1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 174, 239, 0.28);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  gap: 70px;
}

.hero-year {
  position: relative;
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-year::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 185px;
  border: 5px solid #d7e900;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.hero-year span,
.hero-year strong {
  position: relative;
  z-index: 2;
  color: #009fe3;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  text-align: center;
}

.hero-year span {
  font-size: 58px;
}

.hero-year strong {
  font-size: 72px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text span {
  display: inline-block;
  width: fit-content;
  margin-bottom: 6px;
  padding: 3px 9px;
  background: #d7e900;
  color: #222;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-button {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 22px;
  background: #009fe3;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 15px;
  border-radius: 2px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.16);
  transition: 0.3s ease;
}

.hero-button:hover {
  background: #007fba;
  transform: translateY(-1px);
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-carousel-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-dot.active {
  background: #009fe3;
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .hero-carousel {
    min-height: 180px;
    max-height: 380px;
  }

  .hero-slide-content {
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

  .hero-year {
    width: 240px;
    height: 150px;
  }

  .hero-year::before {
    width: 260px;
    height: 150px;
  }

  .hero-year span {
    font-size: 42px;
  }

  .hero-year strong {
    font-size: 54px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-text span {
    font-size: 20px;
  }
}

@media (max-width: 500px) {
  .hero-carousel {
    min-height: 0;
  }

  .hero-slide-content {
    padding: 30px 20px;
  }

  .hero-text span {
    font-size: 17px;
  }

  .hero-button {
    font-size: 13px;
    padding: 8px 16px;
  }

  .hero-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }
}

.site-header.home-header {
  background: #ffffff;
  border-bottom: 0;
  backdrop-filter: none;
}

.home-header .header-inner {
  justify-content: space-between;
  min-height: 72px;
  gap: 2rem;
}

.home-header .brand-logo {
  width: min(184px, 26vw);
  max-height: 54px;
}

.nav-toggle {
  display: none;
}

.home-header .home-nav {
  margin-left: auto;
  flex-wrap: nowrap;
  gap: 1.15rem;
}

.home-header .home-nav .nav-item,
.home-header .home-nav .nav-subitem {
  position: relative;
}

.home-header .home-nav .nav-link {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease;
}

.home-header .home-nav .nav-link:hover,
.home-header .home-nav .nav-link:focus-visible,
.home-header .home-nav .nav-item:focus-within > .nav-link {
  background: transparent;
  color: #0c3475;
  transform: none;
}

.home-header .home-nav .has-menu {
  gap: 0.38rem;
}

.home-header .home-nav .has-menu::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
}

.home-header .nav-menu {
  position: absolute;
  top: calc(100% + 0.08rem);
  left: 0;
  z-index: 30;
  min-width: 210px;
  display: grid;
  gap: 0.15rem;
  border: 1px solid rgba(24, 43, 73, 0.12);
  border-radius: 8px;
  padding: 0.45rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(22, 32, 51, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-header .nav-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.55rem;
  content: "";
}

.home-header .nav-item:hover > .nav-menu,
.home-header .nav-item:focus-within > .nav-menu,
.home-header .nav-subitem:hover > .nav-submenu,
.home-header .nav-subitem:focus-within > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.home-header .nav-submenu {
  top: -0.45rem;
  left: calc(100% + 0.08rem);
}

.home-header .nav-submenu::before {
  top: 0;
  right: 100%;
  bottom: 0;
  left: auto;
  width: 0.55rem;
  height: auto;
}

.home-header .nav-menu a,
.home-header .nav-menu-link {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 7px;
  padding: 0 0.75rem;
  background: transparent;
  color: #172033;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.home-header .nav-menu a:hover,
.home-header .nav-menu a:focus-visible,
.home-header .nav-menu-link:hover,
.home-header .nav-menu-link:focus-visible,
.home-header .nav-subitem:focus-within > .nav-menu-link {
  background: #eef7f6;
  color: var(--teal);
}

.home-header .nav-menu-link.has-menu {
  width: 100%;
}

.home-header .home-nav .nav-talent::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: currentColor;
  content: "";
}

.home-access-bar {
  position: relative;
  z-index: 12;
  padding: 0.5rem 0;
  background: rgba(245, 247, 244, 0.96);
  backdrop-filter: blur(10px);
}

.home-access-bar.is-stuck {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.1);
}

.home-access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-access::-webkit-scrollbar {
  display: none;
}

.home-access a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d3dce8;
  border-radius: 8px;
  padding: 0 2rem;
  background: #ffffff;
  color: #24364f;
  box-shadow: 0 20px 28px rgba(22, 32, 51, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-access a:first-child {
  border-color: rgba(8, 122, 122, 0.28);
  background: #eef8f7;
  color: #087a7a;
}

.home-access a:hover,
.home-access a:focus-visible {
  border-color: #b9c6d4;
  background: #f7fafc;
  color: #0c3475;
  transform: translateY(-2px);
}

.clients-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.clients-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
}

.clients-carousel {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.clients-track {
  display: flex;
  width: 333.333333%;
  animation: clients-scroll 20s linear infinite;
  will-change: transform;
}

.clients-carousel:hover .clients-track,
.clients-carousel:focus-within .clients-track {
  animation-play-state: paused;
}

.client-logo {
  flex: 0 0 10%;
  min-width: 0;
  height: clamp(72px, 9vw, 104px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.client-logo img {
  display: block;
  width: 100%;
  max-width: 220px;
  max-height: 62px;
  object-fit: contain;
}

.institutional-pillars-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(238, 243, 240, 0.76) 100%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.institutional-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(22, 32, 51, 0.07);
  text-align: center;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.pillar-card:hover,
.pillar-card:focus-within {
  border-color: #c3d0dd;
  box-shadow: 0 18px 42px rgba(22, 32, 51, 0.11);
  transform: translateY(-4px);
}

.pillar-label {
  display: block;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.pillar-label::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  content: "";
}

.pillar-card p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}

.pillar-card strong {
  color: var(--ink);
  font-weight: 900;
}

.institutional-videos-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.institutional-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
  width: min(920px, 100%);
  margin: 0 auto;
}

.video-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 16px 38px rgba(22, 32, 51, 0.12);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.video-card::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.video-card:hover,
.video-card:focus-within {
  border-color: #c3d0dd;
  box-shadow: 0 20px 48px rgba(22, 32, 51, 0.16);
  transform: translateY(-4px);
}

.video-card-trigger {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.video-card-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.video-card-trigger::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 23, 38, 0.08), rgba(14, 23, 38, 0.46));
  content: "";
}

.video-card:hover .video-card-trigger img,
.video-card:focus-within .video-card-trigger img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

.video-card iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card.is-playing:hover,
.video-card.is-playing:focus-within {
  transform: none;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 74px;
  height: 52px;
  border-radius: 14px;
  background: #ff0000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.video-play::before {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #ffffff;
  content: "";
  transform: translate(-50%, -50%);
}

.institutional-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2rem, 5vw, 3.2rem) auto 0;
}

.institutional-stat {
  text-align: center;
}

.institutional-stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
}

.institutional-stat span {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.institutional-stat strong span {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

@keyframes clients-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 900px) {
  .home-header .header-inner {
    min-height: 64px;
    gap: 1.25rem;
  }

  .home-header .brand-logo {
    width: min(156px, 32vw);
  }

  .home-header .home-nav {
    gap: 0.85rem;
  }

  .home-header .home-nav .nav-link {
    font-size: 0.9rem;
  }

  .home-access {
    justify-content: flex-start;
  }

  .clients-track {
    width: 500%;
  }
}

@media (max-width: 720px) {
  .home-header .header-inner {
    min-height: 58px;
    gap: 0.85rem;
    padding-block: 0.35rem;
  }

  .home-header .brand-logo {
    width: min(118px, 32vw);
    max-height: 38px;
  }

  .home-header .home-nav {
    flex: 1 1 0;
    flex-wrap: nowrap;
    gap: 0.75rem;
    min-width: 0;
    width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .home-header .home-nav::-webkit-scrollbar {
    display: none;
  }

  .home-header .home-nav .nav-link {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0;
    font-size: 0.82rem;
  }

  .home-header .home-nav .nav-talent::after {
    bottom: 3px;
  }

  .home-access {
    width: min(100% - 1rem, 1160px);
    gap: 0.45rem;
  }

  .home-access a {
    min-height: 34px;
    padding-inline: 0.7rem;
    font-size: 0.78rem;
    box-shadow: 0 8px 18px rgba(22, 32, 51, 0.06);
  }

  .clients-track {
    width: 1000%;
  }

  .client-logo {
    padding-inline: 2rem;
  }
}

* {
  box-sizing: border-box;
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #ffffff;
  opacity: 1;
  transition: opacity 380ms ease, visibility 380ms ease;
}

.site-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.site-loader-mark {
  width: 108px;
  height: 84px;
  overflow: hidden;
  animation: loader-pulse 900ms ease-in-out infinite;
}

.site-loader-mark img {
  display: block;
  width: auto;
  height: 124px;
  max-width: none;
  transform: translate(-11px, -8px);
}

@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-color: var(--teal) var(--soft);
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--soft);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  border: 2px solid var(--soft);
  border-radius: 999px;
  background-color: var(--teal);
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: #096767;
}

body {
  max-width: 100%;
  margin: 0;
  padding-top: 72px;
  background: #f5f7f4;
  overflow-x: hidden;
  scrollbar-color: var(--teal) var(--soft);
  scrollbar-width: thin;
}

body,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(22, 32, 51, 0.07);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(190px, 34vw);
  max-height: 56px;
  object-fit: contain;
}

.brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 0.8rem;
  color: #334155;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #edf2f7;
  color: var(--navy);
  transform: translateY(-1px);
}

.main-nav .nav-action {
  margin-left: 0.25rem;
  background: var(--navy);
  color: #ffffff;
}

.main-nav .nav-action:hover,
.main-nav .nav-action:focus-visible {
  background: #253c61;
  color: #ffffff;
}

.section-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-kicker,
.column-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(8, 122, 122, 0.25);
  border-radius: 8px;
  padding: 0 0.65rem;
  color: var(--teal);
  background: rgba(8, 122, 122, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.column-label {
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 1.05rem;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button-primary {
  background: var(--teal);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #096767;
  box-shadow: 0 10px 24px rgba(8, 122, 122, 0.22);
  transform: translateY(-2px);
}

.button-whatsapp {
  background: #25d366;
  color: #073b1a;
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #20bd5a;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.26);
  transform: translateY(-2px);
}

.button-icon {
  width: 48px;
  padding: 0;
}

.whatsapp-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  clip-path: circle(45% at center);
  object-fit: cover;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #b9c6d4;
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.08);
  transform: translateY(-2px);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  animation: section-reveal 520ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 24%;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0.7rem 0 0.85rem;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.project-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-column,
.course-card,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(22, 32, 51, 0.07);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.project-column:hover,
.project-column:focus-within,
.course-card:hover,
.course-card:focus-within,
.card:hover,
.card:focus-within {
  border-color: #c3d0dd;
  box-shadow: 0 18px 42px rgba(22, 32, 51, 0.11);
  transform: translateY(-4px);
}

.project-column {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.project-column h3,
.card h3 {
  margin: 0.8rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.project-column p,
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-column ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.project-column li {
  position: relative;
  padding-left: 1.4rem;
  color: #334155;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.project-column li strong {
  color: var(--ink);
}

.project-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.project-public li::before {
  background: var(--green);
}

.project-column .course-list {
  gap: 0.45rem;
  margin: 0.65rem 0 0;
}

.project-column .course-list li {
  color: var(--muted);
  line-height: 1.45;
  padding-left: 1.1rem;
}

.project-column .course-list li::before {
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--teal);
}

.project-public .public-project-list li::before {
  background: var(--green);
}

.partner-project-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 1rem;
  border: 1px solid rgba(185, 133, 40, 0.34);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  background: #fffaf0;
  box-shadow: 0 10px 24px rgba(185, 133, 40, 0.11);
}

.partner-project-callout > div {
  min-width: 0;
}

.partner-project-callout .section-kicker {
  margin-bottom: 0.55rem;
}

.partner-project-callout h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  line-height: 1.2;
}

.partner-project-callout p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.partner-project-callout .partner-interest-trigger {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .partner-project-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-project-callout .partner-interest-trigger {
    width: 100%;
  }
}

.social-strategy-band {
  padding: clamp(1.7rem, 3.6vw, 2.6rem) 0 clamp(1.6rem, 3.2vw, 2.35rem);
  background:
    linear-gradient(90deg, rgba(24, 43, 73, 0.97), rgba(8, 122, 122, 0.9)),
    var(--navy);
  color: #ffffff;
}

.social-strategy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.social-strategy-copy {
  margin-top: -0.45rem;
}

.social-strategy-copy .section-kicker {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: #a7f3d0;
}

.social-strategy-copy h2 {
  max-width: 680px;
  margin: 0.85rem 0 1rem;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.social-strategy-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  line-height: 1.78;
}

.social-strategy-copy p + p {
  margin-top: 1rem;
}

.social-strategy-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.social-strategy-panel h3 {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.social-strategy-panel ul {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-strategy-panel li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.social-strategy-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #eaf7ff;
}

.social-strategy-quote {
  margin-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.15rem;
}

.social-strategy-quote strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.social-strategy-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  line-height: 1.65;
}

.project-photo-band {
  position: relative;
  width: 100%;
  border-block: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
  box-shadow:
    0 -18px 34px rgba(22, 32, 51, 0.06),
    0 18px 34px rgba(22, 32, 51, 0.08);
}

.project-photo-band::after {
  content: "";
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  pointer-events: none;
}

.project-photo-band::after {
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--green));
}

.project-photo-band img {
  display: block;
  width: 100%;
  height: clamp(150px, 20vw, 280px);
  object-fit: cover;
  object-position: center 26%;
}

.course-topic-list {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.course-category-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  width: min(100%, 780px);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(24, 43, 73, 0.1);
  border-radius: 10px;
  padding: 0.35rem;
  background: #f3f6f7;
}

.course-category-tabs a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.course-category-tabs a:hover,
.course-category-tabs a:focus-visible {
  color: var(--teal);
  background: #ffffff;
}

.course-category-tabs a.is-active {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(8, 122, 122, 0.2);
}

.course-category-tabs a.is-active:hover,
.course-category-tabs a.is-active:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.course-topic-section {
  scroll-margin-top: 90px;
}

.course-topic-heading {
  margin-bottom: 1rem;
}

.course-topic-heading h3 {
  margin: 0.75rem 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.12;
}

.course-empty-state {
  border: 1px dashed #b9c6d4;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 1.6rem);
  background: #f8fafc;
}

.course-empty-state p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.course-card img {
  display: block;
  width: 100%;
  height: clamp(170px, 13vw, 190px);
  flex: 0 0 clamp(170px, 13vw, 190px);
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.course-card img.course-card-image-contain {
  padding: 1.25rem;
  object-fit: contain;
}

.course-card img.course-card-image-natalia {
  object-position: center top;
}

.course-card img.course-card-image-karoliny {
  object-position: center top;
}

.course-card img.course-card-image-erlaine {
  object-position: center 12%;
}

.course-card img.course-card-image-mariana {
  object-position: center 18%;
}

.course-card img.course-card-image-orientacao-parental {
  object-position: center 18%;
}

.course-card img.course-card-image-janilda {
  object-position: center 18%;
}

.course-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.course-card h3 {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.course-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
}

.course-availability {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: auto;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #e9f5f4;
  color: #087a7a;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.course-availability[data-state="available"] {
  background: #e6f8ec;
  color: #14743a;
}

.course-availability[data-state="limited"] {
  background: #fff3d4;
  color: #8a5a00;
}

.course-availability[data-state="sold-out"] {
  background: #fbe8e8;
  color: #a32626;
}

.course-availability[data-state="interest"] {
  background: #edf4fb;
  color: #175b91;
}

.course-card .course-availability {
  margin-top: auto;
}

.course-card:focus-visible {
  outline: 3px solid rgba(8, 122, 122, 0.32);
  outline-offset: 3px;
}

.home-header .home-nav .nav-link-active {
  color: #0c3475;
}

.home-header .home-nav .nav-link-active::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #0c3475;
}

.calendar-section {
  padding-top: clamp(2.6rem, 5vw, 4.6rem);
}

.calendar-page-heading {
  margin-bottom: 1.4rem;
}

.calendar-page-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.calendar-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.calendar-filter {
  min-height: 40px;
  border: 1px solid rgba(8, 122, 122, 0.18);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.calendar-filter:hover,
.calendar-filter:focus-visible,
.calendar-filter.is-active {
  border-color: rgba(8, 122, 122, 0.55);
  background: rgba(8, 122, 122, 0.1);
  color: var(--teal);
  transform: translateY(-1px);
}

.calendar-past-toggle {
  border-color: rgba(12, 52, 117, 0.2);
  color: var(--navy);
}

.calendar-search {
  display: grid;
  gap: 0.35rem;
}

.calendar-search span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-search input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 0.9rem;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.calendar-search input:focus {
  border-color: rgba(8, 122, 122, 0.55);
  outline: 3px solid rgba(8, 122, 122, 0.12);
}

.calendar-layout {
  display: block;
}

.calendar-no-results {
  border: 1px solid rgba(24, 43, 73, 0.1);
  border-radius: 16px;
  padding: 1.1rem;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(22, 32, 51, 0.08);
}

.calendar-no-results {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.calendar-month-list {
  display: grid;
  gap: 1.15rem;
}

.calendar-month {
  display: grid;
  gap: 0.85rem;
}

.calendar-month[hidden],
.calendar-event-card[hidden],
.calendar-no-results[hidden] {
  display: none !important;
}

.calendar-month-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(24, 43, 73, 0.12);
  padding-bottom: 0.55rem;
}

.calendar-month-heading span {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 900;
}

.calendar-month-heading strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.calendar-event-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(24, 43, 73, 0.1);
  border-radius: 18px;
  padding: 1rem;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(22, 32, 51, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.calendar-event-card:hover {
  border-color: rgba(8, 122, 122, 0.32);
  box-shadow: 0 20px 42px rgba(22, 32, 51, 0.12);
  transform: translateY(-2px);
}

.calendar-event-card.is-past-event {
  opacity: 0.72;
}

.calendar-event-card.is-past-event time {
  background: linear-gradient(145deg, #64748b, #475569);
}

.calendar-event-card.is-past-event .calendar-event-tag::after {
  content: " encerrado";
  margin-left: 0.25rem;
}

.calendar-event-card time {
  display: grid;
  place-items: center;
  min-height: 78px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0c3475, #087a7a);
  color: #ffffff;
  text-align: center;
}

.calendar-event-card time span {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.calendar-event-card time small {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.calendar-event-content {
  min-width: 0;
}

.calendar-event-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-event-tag-course {
  background: #e6f8ec;
  color: #14743a;
}

.calendar-event-content h3 {
  margin: 0.5rem 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.calendar-event-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.calendar-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.calendar-event-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 0.6rem;
  background: #f2f6fa;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-event-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 0.85rem;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.calendar-event-link:hover,
.calendar-event-link:focus-visible {
  background: #096767;
}

.calendar-no-results {
  margin: 0;
  font-weight: 800;
}

.postgrad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.postgrad-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  background:
    linear-gradient(135deg, rgba(8, 122, 122, 0.08), transparent 42%),
    var(--paper);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 12px 32px rgba(22, 32, 51, 0.07);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.postgrad-card:hover,
.postgrad-card:focus-visible {
  border-color: #c3d0dd;
  box-shadow: 0 18px 42px rgba(22, 32, 51, 0.11);
  outline: 0;
  transform: translateY(-4px);
}

.postgrad-area {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 0.7rem;
  background: rgba(185, 133, 40, 0.13);
  color: #8b611a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.postgrad-card h3 {
  margin: 1rem 0 0.75rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.12;
}

.postgrad-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.postgrad-action {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--teal);
  font-weight: 900;
}

.postgrad-modal {
  width: min(1040px, calc(100% - 2rem));
}

.postgrad-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.45fr);
}

.postgrad-overview-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
  background:
    linear-gradient(160deg, rgba(24, 43, 73, 0.95), rgba(8, 122, 122, 0.9)),
    var(--navy);
  color: #ffffff;
}

.postgrad-overview-panel .section-kicker {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
}

.postgrad-overview-panel h3 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.08;
}

.postgrad-overview-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.postgrad-start-date {
  position: relative;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3.65rem;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(4, 38, 53, 0.18);
}

.postgrad-start-date::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid #a7f3d0;
  border-radius: 6px;
  background:
    linear-gradient(#a7f3d0, #a7f3d0) 0 0.42rem / 100% 2px no-repeat,
    linear-gradient(#a7f3d0, #a7f3d0) 0.38rem 0 / 2px 0.42rem no-repeat,
    linear-gradient(#a7f3d0, #a7f3d0) 1.18rem 0 / 2px 0.42rem no-repeat;
  transform: translateY(-50%);
}

.postgrad-start-date span,
.postgrad-start-date strong {
  display: block;
}

.postgrad-start-date span {
  margin-bottom: 0.15rem;
  color: #a7f3d0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.postgrad-start-date strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.postgrad-facts {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.postgrad-facts div {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.postgrad-facts span,
.postgrad-facts strong {
  display: block;
}

.postgrad-facts span {
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.postgrad-facts strong {
  color: #ffffff;
}

.postgrad-whatsapp-link {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 46px;
  margin: 1rem auto 0;
}

.postgrad-detail-block {
  margin-top: 1.35rem;
}

.modal-open {
  overflow: hidden;
}

.course-modal {
  width: min(1040px, calc(100% - 2rem));
  max-height: min(88vh, 780px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(14, 23, 38, 0.28);
  overflow: hidden;
}

.course-modal::backdrop {
  background: rgba(14, 23, 38, 0.68);
  backdrop-filter: blur(4px);
}

.course-modal-content {
  position: relative;
  max-height: min(88vh, 780px);
  overflow: auto;
  border-radius: inherit;
  background: #ffffff;
}

.course-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.1);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.course-modal-close:hover,
.course-modal-close:focus-visible {
  border-color: #b9c6d4;
  background: #f8fafc;
  transform: translateY(-1px);
}

.course-print-button {
  position: absolute;
  top: 1rem;
  right: 4.25rem;
  z-index: 1;
  min-height: 38px;
  border: 1px solid rgba(8, 122, 122, 0.3);
  border-radius: 8px;
  padding: 0 0.9rem;
  background: #eef8f7;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.course-print-button:hover,
.course-print-button:focus-visible {
  border-color: rgba(8, 122, 122, 0.5);
  background: #e2f3f1;
  transform: translateY(-1px);
}

.course-modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.58fr);
  min-height: min(740px, 88vh);
}

.partner-modal {
  width: min(560px, calc(100% - 2rem));
}

.partner-modal-body {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.partner-modal-body .section-kicker {
  max-width: calc(100% - 3.5rem);
}

.partner-modal-body h3 {
  margin: 0.9rem 0 0.55rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.12;
}

.partner-modal-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.partner-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.15rem;
}

.partner-form label {
  display: grid;
  gap: 0.35rem;
}

.partner-form label span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  border-color: rgba(8, 122, 122, 0.55);
  outline: 3px solid rgba(8, 122, 122, 0.16);
}

.partner-form textarea {
  min-height: 92px;
  resize: vertical;
}

.partner-form .button {
  width: 100%;
  margin-top: 0.15rem;
}

.partner-form-status {
  min-height: 1.3rem;
  font-size: 0.9rem;
}

.facilitator-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.6vw, 1.75rem);
  background: #f4f8f6;
  border-right: 1px solid rgba(220, 226, 232, 0.95);
}

.facilitator-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #dbe5e0;
  box-shadow: 0 14px 30px rgba(22, 32, 51, 0.12);
}

.facilitator-panel img[hidden] {
  display: none;
}

.facilitator-panel img.is-contain {
  padding: 1rem;
  object-fit: contain;
  background: #ffffff;
}

.facilitator-panel img.is-landscape {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.course-facilitator-video {
  display: block;
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 0;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: 0 14px 30px rgba(22, 32, 51, 0.16);
}

.course-facilitator-video[hidden] {
  display: none;
}

.course-video-fallback {
  display: block;
  width: fit-content;
  margin: 0.65rem auto 0;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
}

.course-video-fallback:hover,
.course-video-fallback:focus-visible {
  text-decoration: underline;
}

.course-video-fallback[hidden] {
  display: none;
}

.facilitator-panel h3,
.course-details h3 {
  margin: 1.05rem 0 0.45rem;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.facilitator-panel p,
.course-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.course-details {
  min-width: 0;
  padding: clamp(1.4rem, 3.8vw, 2.65rem);
  background: #ffffff;
}

.course-variant-content {
  will-change: opacity, transform;
}

.course-variant-content.is-entering-next {
  animation: courseVariantEnterNext 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-variant-content.is-entering-previous {
  animation: courseVariantEnterPrevious 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes courseVariantEnterNext {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes courseVariantEnterPrevious {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.course-variant-switch {
  --active-variant-index: 0;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem;
  width: min(100%, 310px);
  margin: 0 0 0.8rem;
  padding: 0.18rem;
  border: 1px solid rgba(8, 122, 122, 0.18);
  border-radius: 7px;
  background: rgba(238, 248, 247, 0.72);
  overflow: hidden;
  isolation: isolate;
}

.course-variant-switch::before {
  position: absolute;
  top: 0.18rem;
  bottom: 0.18rem;
  left: 0.18rem;
  z-index: 0;
  width: calc((100% - 0.54rem) / 2);
  border-radius: 5px;
  background: #087a7a;
  box-shadow: 0 5px 12px rgba(8, 122, 122, 0.14);
  content: "";
  transform: translateX(calc(var(--active-variant-index) * (100% + 0.18rem)));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-variant-switch[hidden] {
  display: none;
}

.course-variant-option {
  position: relative;
  z-index: 1;
  min-height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 0.34rem 0.55rem;
  background: transparent;
  color: #24364f;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.course-variant-option:hover,
.course-variant-option:focus-visible {
  color: #087a7a;
  outline: none;
}

.course-variant-option.is-active {
  color: #ffffff;
}

.course-details > .section-kicker,
.course-variant-content > .section-kicker {
  max-width: calc(100% - 9rem);
  margin-bottom: 1.05rem;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #087a7a;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .course-variant-content.is-entering-next,
  .course-variant-content.is-entering-previous {
    animation: none;
  }
}

.course-action-panel {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  margin: 1.35rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(8, 122, 122, 0.18);
  border-right: 0;
  border-bottom: 1px solid rgba(8, 122, 122, 0.18);
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.course-action-panel > * {
  min-width: 0;
}

.course-action-panel:not(:has(.course-enrollment-link:not([hidden]))) {
  grid-template-columns: 1fr;
}

.course-meta {
  box-sizing: border-box;
  display: grid;
  grid-column: 1;
  grid-row: auto;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
}

.course-meta div {
  box-sizing: border-box;
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.42rem 0;
  background: transparent;
}

.course-meta div:first-child {
  padding-top: 0;
}

.course-meta div + div {
  border-top: 1px solid rgba(203, 213, 225, 0.62);
}

.course-meta span,
.course-meta strong {
  display: block;
}

.course-meta span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.course-meta strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.course-mentoring-note {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: auto;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(8, 122, 122, 0.12);
  border-radius: 8px;
  padding: 0.48rem 0.68rem;
  background: #ffffff;
  color: #24364f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.course-mentoring-note::before {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: #087a7a;
  content: "";
}

.course-mentoring-note[hidden] {
  display: none;
}

.course-meta .course-availability,
.course-meta .course-price {
  display: block;
  width: auto;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #087a7a;
}

.course-meta .course-availability[data-state="available"] {
  background: transparent;
  color: #14743a;
}

.course-meta .course-availability[data-state="limited"] {
  background: transparent;
  color: #8a5a00;
}

.course-meta .course-availability[data-state="sold-out"] {
  background: transparent;
  color: #a32626;
}

.course-meta div[hidden] {
  display: none;
}

.course-location-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  width: fit-content;
  color: var(--brand-blue);
  text-decoration: none;
}

.course-location-link[hidden] {
  display: none;
}

.course-location-link:hover,
.course-location-link:focus-visible {
  color: #07558f;
}

.course-location-link:focus-visible {
  border-radius: 5px;
  outline: 2px solid rgba(8, 104, 178, 0.28);
  outline-offset: 3px;
}

.course-location-action {
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: rgba(8, 104, 178, 0.09);
  color: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.course-details ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.course-details li {
  position: relative;
  padding-left: 1.25rem;
  color: #334155;
  line-height: 1.5;
}

.course-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.course-enrollment-link {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: auto;
  width: calc(100% - 120px);
  min-height: 44px;
  align-self: center;
  margin: 0 0 0 120px;
  padding-inline: 0.75rem;
  font-size: 0.88rem;
  justify-self: start;
}

.course-enrollment-link[hidden] {
  display: none;
}

.course-enrollment-link.is-disabled,
.course-enrollment-link.is-disabled:hover,
.course-enrollment-link.is-disabled:focus-visible {
  background: #d6dde5;
  color: #667085;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.course-details .course-program-item {
  border: 1px solid rgba(203, 213, 225, 0.76);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: #ffffff;
}

.course-details .course-program-item::before {
  display: none;
}

@media (min-width: 721px) and (max-width: 920px) {
  .course-action-panel {
    grid-template-columns: 1fr;
  }

  .course-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .course-enrollment-link {
    grid-column: 1;
    grid-row: auto;
  }

  .course-mentoring-note {
    grid-column: 1;
    grid-row: auto;
  }
}

.course-print-view {
  display: none;
}

@media print {
  @page {
    margin: 12mm;
  }

  body.is-course-printing {
    padding: 0 !important;
    background: #ffffff !important;
  }

  body.is-course-printing > *:not(.course-print-view) {
    display: none !important;
  }

  body.is-course-printing .course-print-view {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    color: #000000;
    background: #ffffff !important;
  }

  body.is-course-printing .course-modal-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  body.is-course-printing .course-print-button,
  body.is-course-printing .course-modal-close,
  body.is-course-printing .course-facilitator-video,
  body.is-course-printing .course-video-fallback,
  body.is-course-printing .course-enrollment-link {
    display: none !important;
  }

  body.is-course-printing .facilitator-panel,
  body.is-course-printing .course-details {
    padding: 0 !important;
    border: 0 !important;
    background: #ffffff !important;
  }

  body.is-course-printing .course-details {
    display: contents !important;
  }

  body.is-course-printing .course-details > .section-kicker {
    order: 1;
  }

  body.is-course-printing .course-details > #course-full-description {
    order: 2;
  }

  body.is-course-printing .course-action-panel {
    order: 3;
  }

  body.is-course-printing .facilitator-panel {
    order: 4;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  body.is-course-printing .course-details > div:last-child {
    order: 5;
  }

  body.is-course-printing .facilitator-panel img:not([hidden]) {
    width: 150px;
    max-height: 190px;
    margin: 0 1rem 0.75rem 0;
    float: left;
    object-fit: cover;
    box-shadow: none;
  }

  body.is-course-printing .facilitator-panel::after {
    display: block;
    clear: both;
    content: "";
  }

  body.is-course-printing .course-details > .section-kicker {
    max-width: none;
    color: #000000;
    font-size: 18pt;
  }

  body.is-course-printing .course-action-panel,
  body.is-course-printing .course-program-item,
  body.is-course-printing .course-meta {
    break-inside: avoid;
    box-shadow: none;
  }

  body.is-course-printing .course-details li,
  body.is-course-printing .course-details p,
  body.is-course-printing .facilitator-panel p {
    color: #000000;
  }
}

.course-program-item strong,
.course-program-item span {
  display: block;
}

.course-program-item strong {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.course-program-item span {
  color: var(--muted);
  line-height: 1.55;
}

.muted-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.card {
  min-height: 220px;
  padding: 1.35rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(185, 133, 40, 0.13);
  color: #8b611a;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.card:hover .card-icon,
.card:focus-within .card-icon {
  background: var(--gold);
  color: #ffffff;
  transform: scale(1.04);
}

.site-footer {
  padding: clamp(1rem, 2.2vw, 1.45rem) 0 0;
  background:
    linear-gradient(90deg, rgba(8, 122, 122, 0.12), transparent 44%),
    #08265a;
  border-top: 3px solid var(--gold);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  gap: 0.85rem;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

.footer-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.85rem;
}

.footer-foundation-summary {
  flex: 1 1 520px;
  min-width: 320px;
  max-width: 700px;
}

.footer-secondary {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(220px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.footer-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  max-width: min(220px, 100%);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.footer-logo {
  display: block;
  width: min(190px, 100%);
  height: auto;
}

.site-footer h2 {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.1;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-address {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem 0.8rem;
}

.footer-quick-links a {
  position: relative;
  width: fit-content;
  padding-left: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
}

.footer-quick-links a::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.footer-quick-links a:hover,
.footer-quick-links a:focus-visible,
.footer-highlight-link:hover,
.footer-highlight-link:focus-visible {
  color: #fff176;
}

.footer-ethics-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-ethics-button:hover,
.footer-ethics-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer-highlight-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: #fff176;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.72rem 0;
  background: rgba(3, 19, 45, 0.34);
}

.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-social-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.28rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.footer-social-links a::before {
  width: 15px;
  height: 15px;
  background: currentColor;
  content: "";
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.footer-social-links .social-instagram::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5A5.5 5.5 0 1 1 12 18a5.5 5.5 0 0 1 0-11Zm0 2A3.5 3.5 0 1 0 12 16a3.5 3.5 0 0 0 0-7Zm5.75-2.4a1.15 1.15 0 1 1-1.15 1.15 1.15 1.15 0 0 1 1.15-1.15Z'/%3E%3C/svg%3E");
}

.footer-social-links .social-facebook::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h3V4h-3c-3.2 0-5 1.9-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E");
}

.footer-social-links .social-youtube::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.6 7.2a3 3 0 0 0-2.1-2.1C17.7 4.5 12 4.5 12 4.5s-5.7 0-7.5.6a3 3 0 0 0-2.1 2.1A31.1 31.1 0 0 0 2 12a31.1 31.1 0 0 0 .4 4.8 3 3 0 0 0 2.1 2.1c1.8.6 7.5.6 7.5.6s5.7 0 7.5-.6a3 3 0 0 0 2.1-2.1A31.1 31.1 0 0 0 22 12a31.1 31.1 0 0 0-.4-4.8ZM10 15.5v-7l6 3.5-6 3.5Z'/%3E%3C/svg%3E");
}

.footer-social-links .social-linkedin::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 8.8H3.3V21h3.2V8.8ZM4.9 3a1.9 1.9 0 1 0 0 3.8A1.9 1.9 0 0 0 4.9 3Zm16 13.1c0-3.3-1.8-4.8-4.1-4.8a3.5 3.5 0 0 0-3.1 1.7v-1.4h-3.1V21h3.2v-6.1c0-1.6.8-2.4 2-2.4s1.8.8 1.8 2.4V21h3.2v-4.9Z'/%3E%3C/svg%3E");
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 0;
  background: #25d366;
  color: #073b1a;
  box-shadow: 0 14px 34px rgba(22, 32, 51, 0.22);
  font-weight: 900;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #20bd5a;
  box-shadow: 0 18px 42px rgba(22, 32, 51, 0.28);
  transform: translateY(-2px);
}

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

  .section {
    animation: none;
  }

  .clients-track {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 920px) {
  .social-strategy-inner,
  .calendar-toolbar,
  .calendar-layout,
  .courses-grid,
  .postgrad-grid,
  .institutional-pillars-grid,
  .institutional-stats,
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-primary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-ethics-button {
    width: fit-content;
  }

  .footer-foundation-summary {
    min-width: min(100%, 360px);
  }

  .footer-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-quick-links {
    grid-column: 1 / -1;
  }

}

@media (max-width: 720px) {
  body {
    padding-top: 58px;
  }

  .course-category-tabs {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }

  .header-inner {
    min-height: 56px;
    gap: 0.55rem;
    padding-block: 0.4rem;
  }

  .brand {
    flex: 0 0 auto;
    gap: 0.45rem;
  }

  .brand-logo {
    width: min(118px, 34vw);
    max-height: 38px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    font-size: 0.72rem;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 0.25rem;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.05rem;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 32px;
    border-radius: 7px;
    padding-inline: 0.55rem;
    font-size: 0.76rem;
    line-height: 1;
  }

  .main-nav .nav-action {
    margin-left: 0;
    padding-inline: 0.7rem;
  }

  .project-split,
  .social-strategy-inner,
  .courses-grid,
  .postgrad-grid,
  .institutional-pillars-grid,
  .institutional-videos-grid,
  .institutional-stats,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .calendar-filter-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .calendar-filter-group::-webkit-scrollbar {
    display: none;
  }

  .calendar-filter {
    flex: 0 0 auto;
  }

  .calendar-event-card {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
  }

  .calendar-event-card time {
    min-height: 64px;
    border-radius: 14px;
  }

  .calendar-event-card time span {
    font-size: 1.45rem;
  }

  .calendar-event-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-primary {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.85rem;
    padding-bottom: 1rem;
  }

  .footer-secondary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-foundation-summary {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
  }

  .footer-logo-link {
    max-width: 190px;
    padding: 0.45rem 0.55rem;
  }

  .footer-logo {
    width: 165px;
  }

  .site-footer h2 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
  }

  .site-footer p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .footer-ethics-button {
    min-height: 36px;
    min-width: 136px;
    margin-top: 0;
    font-size: 0.82rem;
  }

  .footer-ethics-button,
  .footer-quick-links {
    grid-column: auto;
  }

  .footer-link-list {
    display: grid;
    gap: 0.38rem;
  }

  .footer-quick-links a,
  .footer-highlight-link {
    font-size: 0.82rem;
  }

  .footer-legal-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social-links {
    justify-content: flex-start;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 48px;
    height: 48px;
  }

  .course-modal {
    width: min(100% - 1rem, 960px);
    max-height: 90vh;
  }

  .course-modal-content {
    max-height: 90vh;
  }

  .course-modal-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .postgrad-modal-grid,
  .course-action-panel,
  .course-meta {
    grid-template-columns: 1fr;
  }

  .course-enrollment-link {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-left: 0;
    min-height: 48px;
  }

  .course-mentoring-note {
    grid-column: 1;
    grid-row: auto;
  }

  .course-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .course-meta div {
    padding: 0.65rem 0;
  }

  .course-meta div + div {
    border-left: 0;
    border-top: 1px solid rgba(220, 226, 232, 0.95);
  }

  .facilitator-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facilitator-panel img {
    max-width: 240px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 1.2rem, 1160px);
  }

  .section-heading p {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }
}

/* Navegação e composição responsiva */
@media (max-width: 1040px) {
  body {
    padding-top: 58px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .home-header .header-inner {
    position: relative;
    min-height: 58px;
  }

  .home-header .brand-logo {
    width: min(132px, 43vw);
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(24, 43, 73, 0.14);
    border-radius: 9px;
    padding: 0;
    background: #ffffff;
    color: var(--navy);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .home-header .home-nav {
    box-sizing: border-box;
    position: fixed;
    top: 58px;
    right: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    max-height: calc(100vh - 58px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0;
    border-top: 1px solid var(--line);
    padding: 0.75rem max(1rem, calc((100vw - 1160px) / 2));
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 20px 36px rgba(22, 32, 51, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .home-header .home-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-header .home-nav .nav-item,
  .home-header .home-nav .nav-subitem {
    width: 100%;
  }

  .home-header .home-nav > .nav-link,
  .home-header .home-nav .nav-item > .nav-link {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    flex: 0 0 auto;
    justify-content: space-between;
    border-radius: 8px;
    padding: 0 0.75rem;
    font-size: 0.9rem;
  }

  .home-header .home-nav > a.nav-link:hover,
  .home-header .home-nav > a.nav-link:focus-visible,
  .home-header .home-nav .nav-item > .nav-link:hover,
  .home-header .home-nav .nav-item > .nav-link:focus-visible {
    background: #f2f6f8;
  }

  .home-header .nav-menu,
  .home-header .nav-submenu {
    position: static;
    min-width: 0;
    display: none;
    gap: 0.2rem;
    margin: 0.15rem 0 0.4rem 0.75rem;
    border: 0;
    border-left: 2px solid rgba(8, 122, 122, 0.22);
    border-radius: 0 8px 8px 0;
    padding: 0.25rem 0 0.25rem 0.5rem;
    background: #f7faf9;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .home-header .nav-menu::before,
  .home-header .nav-submenu::before {
    display: none;
  }

  .home-header .nav-item:not(.is-expanded) > .nav-menu,
  .home-header .nav-subitem:not(.is-expanded) > .nav-submenu {
    display: none !important;
  }

  .home-header .nav-item.is-expanded > .nav-menu,
  .home-header .nav-subitem.is-expanded > .nav-submenu {
    display: grid !important;
    opacity: 1;
    pointer-events: auto;
  }

  .home-header .nav-menu a,
  .home-header .nav-menu-link {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    white-space: normal;
  }

  .hero-carousel {
    height: 220px;
    min-height: 220px;
    aspect-ratio: auto;
  }

  .hero-slide,
  .hero-slide--fit::after {
    background-size: cover;
    background-position: center;
  }

  .hero-slide:first-child,
  .hero-slide--fit:first-child::after {
    background-position: 38% center;
  }

  .hero-carousel-dots {
    bottom: 10px;
  }

  .home-access-bar {
    padding-block: 0.45rem;
  }

  .home-access {
    justify-content: flex-start;
  }

  .section-heading,
  .section-heading h2,
  .section-heading p,
  .project-column,
  .social-strategy-copy,
  .social-strategy-panel {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

/* Refinamentos visuais exclusivos da página inicial */
.home-page .home-header {
  border-bottom: 1px solid rgba(24, 43, 73, 0.08);
  box-shadow: 0 8px 28px rgba(22, 32, 51, 0.08);
}

.home-page .hero-carousel {
  box-shadow: 0 16px 36px rgba(22, 32, 51, 0.1);
}

.home-page .section-heading h2,
.home-page .social-strategy-copy h2 {
  text-wrap: balance;
}

.home-page .section-heading p,
.home-page .social-strategy-copy p {
  text-wrap: pretty;
}

.home-page #institucional {
  position: relative;
  isolation: isolate;
}

.home-page #institucional::before,
.home-page #institucional::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
  pointer-events: none;
  filter: blur(2px);
}

.home-page #institucional::before {
  top: 4rem;
  left: -12rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(8, 122, 122, 0.08), transparent 68%);
}

.home-page #institucional::after {
  right: -10rem;
  bottom: 2rem;
  width: 19rem;
  height: 19rem;
  background: radial-gradient(circle, rgba(185, 133, 40, 0.09), transparent 68%);
}

.home-page .project-column {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--teal);
  background: linear-gradient(160deg, #ffffff 0%, #fbfdfd 100%);
}

.home-page .project-column::after {
  position: absolute;
  top: -3.5rem;
  right: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(8, 122, 122, 0.045);
  content: "";
  pointer-events: none;
}

.home-page .project-public {
  border-top-color: var(--green);
}

.home-page .project-public::after {
  background: rgba(75, 139, 59, 0.055);
}

.home-page .partner-project-callout {
  background: linear-gradient(135deg, #fff9ed 0%, #ffffff 72%);
  box-shadow: 0 14px 34px rgba(185, 133, 40, 0.12);
}

.home-page .social-strategy-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(112deg, #182b49 0%, #0b5366 56%, #087a7a 100%);
}

.home-page .social-strategy-panel {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.home-page #cursos .card,
.home-page #solucoes .card {
  position: relative;
  overflow: hidden;
}

.home-page #cursos .card::before,
.home-page #solucoes .card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #e5bd60);
  content: "";
}

.home-page #solucoes {
  background:
    radial-gradient(circle at 12% 18%, rgba(8, 122, 122, 0.07), transparent 25%),
    linear-gradient(180deg, #f1f6f5, #edf3f2);
}

.home-page #solucoes .card::before {
  background: linear-gradient(90deg, var(--teal), #56b7ae);
}

.home-page #solucoes .card-icon {
  background: rgba(8, 122, 122, 0.11);
  color: var(--teal);
}

.home-page #solucoes .card:hover .card-icon,
.home-page #solucoes .card:focus-within .card-icon {
  background: var(--teal);
  color: #ffffff;
}

.home-page .button-primary {
  box-shadow: 0 10px 24px rgba(8, 122, 122, 0.2);
}

.home-page .button-primary:hover,
.home-page .button-primary:focus-visible {
  box-shadow: 0 14px 30px rgba(8, 122, 122, 0.26);
}

@media (max-width: 720px) {
  .home-page #institucional::before,
  .home-page #institucional::after {
    opacity: 0.7;
  }

  .home-page .project-column {
    border-top-width: 3px;
  }
}

/* Sistema visual institucional - 2026 */
:root {
  --canvas: #f5f8fa;
  --surface: #ffffff;
  --surface-soft: #eef4f6;
  --surface-blue: #eef6fc;
  --ink: #142033;
  --muted: #5b6778;
  --line: #dce4eb;
  --brand-blue: #0868b2;
  --brand-blue-dark: #07518a;
  --navy: #082f55;
  --teal: #087a7a;
  --green: #537c36;
  --gold: #b77d12;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(20, 32, 51, 0.06);
  --shadow-md: 0 18px 44px rgba(20, 32, 51, 0.1);
  --shadow-lg: 0 28px 72px rgba(9, 31, 54, 0.2);
}

html {
  background: var(--canvas);
}

body {
  color: var(--ink);
  background: var(--canvas);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(8, 104, 178, 0.2);
  color: var(--navy);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(8, 104, 178, 0.35);
  outline-offset: 3px;
}

.section {
  animation: none;
}

.section-heading h1,
.section-heading h2,
.calendar-page-heading h1,
.social-strategy-copy h2 {
  text-wrap: balance;
}

.section-heading p,
.calendar-event-content p,
.card p,
.course-card p,
.postgrad-card p {
  text-wrap: pretty;
}

.section-heading h1,
.section-heading h2 {
  margin: 0.8rem 0 0.9rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.section-heading p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.72;
}

.section-kicker,
.column-label {
  min-height: 30px;
  border-radius: 999px;
  padding-inline: 0.75rem;
  border-color: rgba(8, 104, 178, 0.2);
  background: rgba(8, 104, 178, 0.07);
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
}

.button {
  min-height: 48px;
  border-radius: 12px;
  padding-inline: 1.2rem;
  font-weight: 750;
}

.button-primary {
  background: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(8, 104, 178, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-blue-dark);
  box-shadow: 0 15px 32px rgba(8, 104, 178, 0.26);
}

.button-secondary {
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.site-header.home-header {
  border-bottom: 1px solid rgba(8, 47, 85, 0.09);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(20, 32, 51, 0.07);
  backdrop-filter: blur(18px) saturate(1.2);
}

.home-header .brand-logo {
  filter: saturate(0.96) contrast(1.02);
}

@media (min-width: 1041px) {
  .home-header .home-nav {
    gap: 0.25rem;
  }

  .home-header .home-nav .nav-link {
    min-height: 42px;
    border-radius: 10px;
    padding-inline: 0.68rem;
    color: #24364f;
    font-size: 0.94rem;
    transition: background 180ms ease, color 180ms ease;
  }

  .home-header .home-nav .nav-link:hover,
  .home-header .home-nav .nav-link:focus-visible,
  .home-header .home-nav .nav-item:focus-within > .nav-link {
    background: var(--surface-blue);
    color: var(--brand-blue-dark);
  }

  .home-header .nav-menu {
    top: calc(100% + 0.35rem);
    gap: 0.2rem;
    border-radius: 14px;
    padding: 0.55rem;
    border-color: rgba(8, 47, 85, 0.11);
    box-shadow: 0 18px 46px rgba(20, 32, 51, 0.14);
  }

  .home-header .nav-menu a,
  .home-header .nav-menu-link {
    min-height: 42px;
    border-radius: 10px;
  }

  .home-header .nav-submenu {
    top: -0.55rem;
  }

  .home-header .home-nav .nav-link-active,
  .course-page .home-nav > .nav-item:nth-child(2) > .nav-link,
  .postgrad-page .home-nav > .nav-item:nth-child(2) > .nav-link {
    background: var(--surface-blue);
    color: var(--brand-blue-dark);
  }

  .home-header .home-nav .nav-link-active::before,
  .course-page .home-nav > .nav-item:nth-child(2) > .nav-link::before,
  .postgrad-page .home-nav > .nav-item:nth-child(2) > .nav-link::before {
    right: 0.68rem;
    bottom: 0.18rem;
    left: 0.68rem;
    height: 2px;
    background: var(--brand-blue);
  }
}

.home-header .home-nav > a:not([href]) {
  color: #7a8798;
  cursor: default;
}

.project-column,
.card,
.pillar-card {
  border-color: rgba(8, 47, 85, 0.11);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.project-column:hover,
.project-column:focus-within,
.card:hover,
.card:focus-within,
.pillar-card:hover,
.pillar-card:focus-within {
  border-color: rgba(8, 47, 85, 0.15);
  box-shadow: var(--shadow-sm);
  transform: none;
}

.partner-project-callout {
  border-radius: var(--radius-md);
}

/* Pagina inicial */
.home-page .hero-carousel {
  box-shadow: 0 10px 30px rgba(8, 47, 85, 0.08);
}

.home-page .hero-carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 47, 85, 0.52);
  box-shadow: 0 8px 20px rgba(8, 47, 85, 0.18);
  backdrop-filter: blur(8px);
}

.home-page .hero-carousel-btn:hover,
.home-page .hero-carousel-btn:focus-visible {
  background: rgba(8, 47, 85, 0.78);
}

.home-page .hero-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
}

.home-page .hero-dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  content: "";
  transform: translate(-50%, -50%);
  transition: width 180ms ease, background 180ms ease;
}

.home-page .hero-dot.active::after {
  width: 22px;
  background: #ffffff;
}

.home-page #institucional {
  padding-top: clamp(4rem, 7vw, 6rem);
}

.home-page .project-column {
  border-top-width: 3px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.055);
}

.home-page .partner-project-callout {
  margin-top: 1.25rem;
  border-left-width: 3px;
  background: linear-gradient(135deg, #fffaf0 0%, #ffffff 72%);
  box-shadow: 0 10px 28px rgba(183, 125, 18, 0.09);
}

.home-page .social-strategy-band {
  padding-block: clamp(2.6rem, 5vw, 4.2rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(112deg, #082f55 0%, #07527a 56%, #087a7a 100%);
}

.home-page .social-strategy-panel {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(1, 20, 37, 0.2);
}

.home-page #cursos .card,
.home-page #solucoes .card {
  min-height: 170px;
  padding: 1.5rem;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.home-page #cursos .card::before,
.home-page #solucoes .card::before {
  background-size: 200% 100%;
  transition: background-position 420ms ease;
}

.home-page #cursos .card:hover,
.home-page #cursos .card:focus-within,
.home-page #solucoes .card:hover,
.home-page #solucoes .card:focus-within {
  border-color: rgba(8, 104, 178, 0.2);
  box-shadow: 0 16px 32px rgba(8, 47, 85, 0.12);
  transform: translateY(-5px);
}

.home-page #cursos .card:hover::before,
.home-page #cursos .card:focus-within::before,
.home-page #solucoes .card:hover::before,
.home-page #solucoes .card:focus-within::before {
  background-position: 100% 0;
}

.home-page #cursos .card-icon,
.home-page #solucoes .card-icon {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 3.2rem;
  line-height: 1;
  opacity: 0.12;
}

.home-page #solucoes .card-icon {
  color: var(--teal);
}

.home-page #cursos .card:hover .card-icon,
.home-page #cursos .card:focus-within .card-icon,
.home-page #solucoes .card:hover .card-icon,
.home-page #solucoes .card:focus-within .card-icon {
  background: transparent;
  color: inherit;
  transform: none;
}

.home-page #cursos .card h3,
.home-page #solucoes .card h3 {
  position: relative;
  max-width: 82%;
  margin-top: 0;
  font-size: 1.3rem;
  line-height: 1.22;
}

.home-page #cursos .card h3,
.home-page #solucoes .card h3 {
  max-width: 100%;
  transition: color 220ms ease, transform 220ms ease;
}

.home-page #cursos .card:hover h3,
.home-page #cursos .card:focus-within h3,
.home-page #solucoes .card:hover h3,
.home-page #solucoes .card:focus-within h3 {
  color: var(--brand-blue-dark);
  transform: translateX(3px);
}

.home-page .institutional-pillars-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(8, 104, 178, 0.06), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f1f6f7 100%);
}

.home-page .pillar-card {
  min-height: 240px;
  padding: clamp(1.4rem, 3vw, 1.8rem);
  text-align: left;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.home-page .pillar-card:hover,
.home-page .pillar-card:focus-within {
  border-color: rgba(8, 104, 178, 0.2);
  box-shadow: 0 14px 34px rgba(20, 32, 51, 0.085);
  transform: translateY(-2px);
}

.home-page .pillar-label {
  text-align: center;
}

.home-page .pillar-label::after {
  transition: width 240ms ease;
}

.home-page .pillar-card:hover .pillar-label::after,
.home-page .pillar-card:focus-within .pillar-label::after {
  width: 54px;
}

.home-page .pillar-card p {
  color: var(--muted);
  line-height: 1.68;
}

.home-page .video-card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.home-page .institutional-stats {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 85, 0.1);
  border-radius: var(--radius-md);
  padding-block: clamp(1.25rem, 3vw, 1.9rem);
  background: linear-gradient(135deg, #ffffff, #f5f9fb);
  box-shadow: var(--shadow-sm);
}

.home-page .institutional-stat {
  padding-inline: 1rem;
}

.home-page .institutional-stat + .institutional-stat {
  border-left: 1px solid rgba(8, 47, 85, 0.1);
}

.home-page .institutional-stat strong {
  color: var(--brand-blue-dark);
}

.home-page .clients-section {
  background: #f8fafb;
}

.home-page .clients-carousel {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.home-page .clients-track {
  animation-duration: 26s;
}

.home-page .client-logo {
  padding: 0.55rem;
}

.home-page .client-logo img {
  box-sizing: border-box;
  max-height: 76px;
  border: 1px solid rgba(8, 47, 85, 0.08);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(20, 32, 51, 0.045);
}

.home-page .client-logo-card-unileste {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  height: 76px;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 85, 0.08);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(20, 32, 51, 0.045);
}

.home-page .client-logo-card-unileste img {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: scale(2.8);
}

.home-page .button-primary {
  background: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(8, 104, 178, 0.2);
}

.home-page .button-primary:hover,
.home-page .button-primary:focus-visible {
  background: var(--brand-blue-dark);
  box-shadow: 0 15px 32px rgba(8, 104, 178, 0.26);
}

/* Abertura das paginas internas */
:is(.course-page, .postgrad-page, .calendar-page) main {
  position: relative;
  isolation: isolate;
  min-height: 60vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(8, 104, 178, 0.09), transparent 24rem),
    linear-gradient(180deg, #f8fbfd 0%, var(--canvas) 24rem, var(--canvas) 100%);
}

:is(.course-page, .postgrad-page, .calendar-page) main::before {
  position: absolute;
  top: 0;
  right: -8rem;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(8, 104, 178, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

:is(.course-page, .postgrad-page, .calendar-page) main > .section:first-child {
  padding-top: clamp(4rem, 7vw, 6.2rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.course-page .section-heading,
.postgrad-page .section-heading {
  max-width: 900px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.course-page .section-heading p,
.postgrad-page .section-heading p {
  max-width: 760px;
}

.calendar-page-heading {
  margin-bottom: 1.8rem;
}

.calendar-page-heading h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 780;
  letter-spacing: -0.035em;
}

/* Categorias e cards de cursos */
.course-category-tabs {
  width: min(100%, 820px);
  margin: 0 0 clamp(2.2rem, 4vw, 3.1rem);
  gap: 0.4rem;
  border-color: rgba(8, 47, 85, 0.09);
  border-radius: 16px;
  padding: 0.42rem;
  background: rgba(231, 238, 243, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.course-category-tabs a {
  min-height: 52px;
  border-radius: 12px;
  color: #3b4b61;
  font-size: 0.91rem;
}

.course-category-tabs a:hover,
.course-category-tabs a:focus-visible {
  color: var(--brand-blue-dark);
  background: rgba(255, 255, 255, 0.78);
}

.management-course-page .course-category-tabs a.is-active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  box-shadow: 0 10px 24px rgba(8, 104, 178, 0.22);
}

.education-course-page .course-category-tabs a.is-active {
  background: linear-gradient(135deg, #0b8987, #076b6b);
  box-shadow: 0 10px 24px rgba(8, 122, 122, 0.22);
}

.course-topic-list {
  gap: 2.5rem;
}

.course-topic-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.course-topic-heading::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(8, 104, 178, 0.2), transparent);
  content: "";
}

.course-topic-heading h3 {
  flex: 0 1 auto;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -0.015em;
}

.courses-grid {
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.course-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-color: rgba(8, 47, 85, 0.1);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
}

.course-card:hover,
.course-card:focus-within {
  border-color: rgba(8, 104, 178, 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.education-course-page .course-card:hover,
.education-course-page .course-card:focus-within {
  border-color: rgba(8, 122, 122, 0.26);
}

.course-card img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8eef2;
  transition: filter 260ms ease, transform 320ms ease;
}

.course-card:hover img,
.course-card:focus-within img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.course-card img.course-card-image-contain {
  padding: 1.5rem;
  object-fit: contain;
}

.course-card-body {
  gap: 0;
  padding: 1.25rem 1.25rem 1.2rem;
}

.course-card h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 760;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}

.course-card p {
  -webkit-line-clamp: 3;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.course-availability {
  gap: 0.45rem;
  min-height: 30px;
  padding: 0.35rem 0.72rem;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.course-availability::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.78;
}

.course-availability:empty {
  display: none;
}

@media (min-width: 921px) {
  .course-page .courses-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .course-page .course-card {
    grid-column: span 2;
  }

  .course-page .course-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }
}

/* Pos-graduacao */
@media (min-width: 1021px) {
  .postgrad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.postgrad-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border-color: rgba(8, 47, 85, 0.11);
  border-radius: 18px;
  padding: 1.55rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 104, 178, 0.08), transparent 36%),
    #ffffff;
  box-shadow: var(--shadow-sm);
}

.postgrad-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--teal), var(--gold));
  content: "";
}

.postgrad-card:hover,
.postgrad-card:focus-visible {
  border-color: rgba(8, 104, 178, 0.24);
  box-shadow: var(--shadow-md);
  outline: 3px solid rgba(8, 104, 178, 0.2);
  outline-offset: 3px;
  transform: translateY(-5px);
}

.postgrad-area {
  min-height: 32px;
  border-radius: 999px;
  background: rgba(183, 125, 18, 0.1);
  color: #84580a;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.postgrad-card h3 {
  color: var(--navy);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.postgrad-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.postgrad-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-blue-dark);
}

.postgrad-action::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.postgrad-card:hover .postgrad-action::after,
.postgrad-card:focus-visible .postgrad-action::after {
  transform: translateX(4px);
}

/* Calendario */
.calendar-toolbar {
  align-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(8, 47, 85, 0.09);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.calendar-filter {
  min-height: 42px;
  border-color: rgba(8, 104, 178, 0.16);
  color: #3b4b61;
  font-size: 0.88rem;
}

.calendar-filter:hover,
.calendar-filter:focus-visible,
.calendar-filter.is-active {
  border-color: rgba(8, 104, 178, 0.32);
  background: var(--surface-blue);
  color: var(--brand-blue-dark);
  transform: none;
}

.calendar-filter.is-active {
  box-shadow: inset 0 0 0 1px rgba(8, 104, 178, 0.08);
}

.calendar-search span {
  color: #526176;
  font-size: 0.8rem;
  letter-spacing: 0.035em;
}

.calendar-search input {
  min-height: 48px;
  border-radius: 12px;
  border-color: rgba(8, 47, 85, 0.14);
  background: #ffffff;
}

.calendar-month-list {
  gap: 2.1rem;
}

.calendar-month {
  gap: 1rem;
}

.calendar-month-heading {
  align-items: center;
  border-color: rgba(8, 47, 85, 0.12);
  padding-bottom: 0.7rem;
}

.calendar-month-heading span {
  color: var(--navy);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.calendar-event-card {
  border-color: rgba(8, 47, 85, 0.09);
  border-radius: 16px;
  padding: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.calendar-event-card:hover {
  border-color: rgba(8, 104, 178, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.calendar-event-card time {
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy), var(--brand-blue));
  box-shadow: 0 10px 22px rgba(8, 47, 85, 0.16);
}

.calendar-event-tag,
.calendar-event-meta span {
  font-size: 0.8rem;
}

.calendar-event-content h3 {
  color: var(--navy);
  font-weight: 760;
  letter-spacing: -0.015em;
}

.calendar-event-link {
  min-height: 44px;
  border-radius: 11px;
  padding-inline: 1rem;
  background: var(--brand-blue);
  box-shadow: 0 8px 20px rgba(8, 104, 178, 0.17);
}

.calendar-event-link:hover,
.calendar-event-link:focus-visible {
  background: var(--brand-blue-dark);
}

/* Modais */
.course-modal {
  width: min(1080px, calc(100% - 2rem));
  max-height: min(92dvh, 820px);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.course-modal::backdrop {
  background: rgba(8, 24, 43, 0.72);
  backdrop-filter: blur(7px);
}

.course-modal-content {
  max-height: min(92dvh, 820px);
  overscroll-behavior: contain;
}

.course-modal-close,
.course-print-button {
  min-height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(20, 32, 51, 0.1);
}

.course-modal-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
}

.course-modal-close::before,
.course-modal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.course-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.course-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.course-print-button {
  right: 4.8rem;
  min-width: 92px;
  border-color: rgba(8, 104, 178, 0.22);
  background: #f1f7fc;
  color: var(--brand-blue-dark);
}

.course-modal-grid {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.58fr);
}

.facilitator-panel {
  padding: clamp(1.4rem, 2.8vw, 2rem);
  background:
    radial-gradient(circle at 10% 0%, rgba(8, 122, 122, 0.1), transparent 42%),
    #f2f7f7;
}

.facilitator-panel img,
.course-facilitator-video {
  border-radius: 16px;
}

.course-details {
  padding: clamp(1.7rem, 4vw, 3rem);
}

.course-details > .section-kicker {
  color: var(--brand-blue-dark);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 780;
  letter-spacing: -0.015em;
}

.education-course-page .course-details > .section-kicker {
  color: var(--teal);
}

.course-action-panel {
  gap: 0.9rem;
  margin-block: 1.5rem;
  border: 1px solid rgba(8, 104, 178, 0.11);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(145deg, #f4f9fd, #ffffff);
  box-shadow: inset 0 1px 0 #ffffff;
}

.education-course-page .course-action-panel {
  border-color: rgba(8, 122, 122, 0.12);
  background: linear-gradient(145deg, #f1faf8, #ffffff);
}

.course-meta div {
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 0.85rem;
  padding-block: 0.55rem;
}

.course-meta span {
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}

.course-meta strong {
  font-size: 0.95rem;
  line-height: 1.42;
}

.course-mentoring-note {
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
  font-size: 0.82rem;
}

.course-enrollment-link {
  min-height: 48px;
  border-radius: 11px;
  background: var(--brand-blue);
  box-shadow: 0 10px 22px rgba(8, 104, 178, 0.18);
}

.education-course-page .course-enrollment-link {
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(8, 122, 122, 0.18);
}

.course-details .course-program-item {
  border-radius: 12px;
  border-color: rgba(8, 47, 85, 0.1);
  padding: 1rem;
  background: #fbfcfd;
}

.postgrad-modal {
  border-radius: 22px;
}

.postgrad-overview-panel {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.1), transparent 36%),
    linear-gradient(155deg, var(--navy), #07527a 62%, var(--teal));
}

.postgrad-start-date,
.postgrad-facts div {
  border-radius: 12px;
}

/* Rodape */
.site-footer {
  padding-top: clamp(1.1rem, 2vw, 1.5rem);
  border-top-width: 4px;
  background:
    radial-gradient(circle at 8% 0%, rgba(8, 122, 122, 0.2), transparent 28rem),
    linear-gradient(145deg, #082f55, #061f43 72%);
}

.footer-inner {
  gap: 0.85rem;
  padding-bottom: clamp(0.9rem, 1.8vw, 1.25rem);
}

.footer-primary {
  gap: 1.25rem;
  padding-bottom: 0.85rem;
}

.footer-secondary {
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.footer-logo-link {
  box-sizing: border-box;
  width: min(220px, 100%);
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.footer-logo {
  margin: auto;
  width: min(165px, 100%);
}

.site-footer h2 {
  margin-bottom: 0.3rem;
}

.site-footer p,
.footer-address {
  line-height: 1.38;
}

.footer-link-list {
  gap: 0.35rem 0.55rem;
}

.footer-quick-links a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0.18rem 0.5rem 0.18rem 0.95rem;
  line-height: 1.3;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-quick-links a:hover,
.footer-quick-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.footer-quick-links a[aria-current="page"],
.footer-quick-links a.is-current-section {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer-quick-links a[aria-current="page"]::before,
.footer-quick-links a.is-current-section::before {
  color: #ffd56c;
}

.footer-ethics-button {
  min-height: 44px;
  border-radius: 11px;
}

.footer-legal {
  padding-block: 0.62rem;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
}

.site-footer .reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}

.whatsapp-float {
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(8, 47, 85, 0.22);
}

.site-loader {
  transition-duration: 180ms;
}

/* Tablet */
@media (min-width: 721px) and (max-width: 1020px) {
  .postgrad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 920px) {
  .course-page .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 720px) {
  .container {
    width: min(100% - 1.35rem, 1160px);
  }

  .home-header .home-nav {
    max-height: calc(100dvh - 58px);
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .home-header .home-nav > .nav-link,
  .home-header .home-nav .nav-item > .nav-link,
  .home-header .nav-menu a,
  .home-header .nav-menu-link {
    min-height: 44px;
  }

  .home-header .home-nav .nav-link-active,
  .course-page .home-nav > .nav-item:nth-child(2) > .nav-link,
  .postgrad-page .home-nav > .nav-item:nth-child(2) > .nav-link {
    background: var(--surface-blue);
    color: var(--brand-blue-dark);
  }

  .hero-carousel {
    width: 100%;
    height: clamp(150px, 33.854vw, 352px);
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    background: #edf3f6;
  }

  .hero-slide {
    background-color: #edf3f6;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-slide--fit,
  .hero-slide--fit::before {
    background-size: cover;
  }

  .hero-slide--fit::after {
    background-size: contain;
    background-position: center;
  }

  .hero-carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .hero-prev {
    left: 0.55rem;
  }

  .hero-next {
    right: 0.55rem;
  }

  .hero-carousel-dots {
    bottom: 0.25rem;
    gap: 0;
  }

  .section {
    padding-block: 3.4rem;
  }

  :is(.course-page, .postgrad-page, .calendar-page) main > .section:first-child {
    padding-top: 3.4rem;
    padding-bottom: 3.8rem;
  }

  .section-heading h1,
  .section-heading h2,
  .calendar-page-heading h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.05;
  }

  .course-page .section-heading,
  .postgrad-page .section-heading {
    margin-bottom: 1.6rem;
  }

  .course-category-tabs {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    border-radius: 14px;
    padding: 0.35rem;
  }

  .course-category-tabs a {
    min-height: 46px;
    border-radius: 10px;
    padding-block: 0.55rem;
  }

  .course-topic-heading {
    align-items: flex-start;
  }

  .course-topic-heading::after {
    margin-top: 0.8rem;
  }

  .course-page .courses-grid,
  .postgrad-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .postgrad-card,
  .card,
  .pillar-card {
    min-height: 0;
  }

  .course-card img {
    aspect-ratio: 16 / 9;
  }

  .course-card-body {
    padding: 1.1rem;
  }

  .postgrad-card {
    padding: 1.3rem;
  }

  .calendar-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1rem;
    border-radius: 14px;
    padding: 0.85rem;
  }

  .calendar-filter-group {
    scroll-padding-inline: 0.25rem;
  }

  .calendar-filter {
    min-height: 44px;
  }

  .calendar-event-card {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .course-modal {
    width: calc(100% - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    border-radius: 18px;
  }

  .course-modal-content {
    max-height: calc(100dvh - 0.75rem);
  }

  .course-modal-grid {
    display: flex;
    flex-direction: column;
  }

  .course-details {
    order: 1;
    padding: 4.8rem 1.1rem 1.5rem;
  }

  .facilitator-panel {
    order: 2;
    padding: 1.25rem 1.1rem 1.5rem;
  }

  .course-details > .section-kicker {
    max-width: 100%;
    min-height: 0;
    font-size: 1.15rem;
  }

  .course-modal[open] .course-modal-close,
  .course-modal[open] .course-print-button {
    position: fixed;
    top: calc(0.75rem + env(safe-area-inset-top));
    z-index: 20;
  }

  .course-modal[open] .course-modal-close {
    right: calc(0.75rem + env(safe-area-inset-right));
  }

  .course-modal[open] .course-print-button {
    right: calc(4.25rem + env(safe-area-inset-right));
  }

  .course-action-panel {
    margin-block: 1.15rem;
    border-radius: 13px;
    padding: 0.85rem;
  }

  .course-meta div {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .course-enrollment-link {
    width: 100%;
    margin-left: 0;
  }

  .course-facilitator-video {
    width: min(100%, 240px);
  }

  .postgrad-modal-grid {
    display: flex;
    flex-direction: column;
  }

  .postgrad-overview-panel {
    padding-top: 4.8rem;
  }

  .partner-modal-body {
    padding-top: 4.8rem;
  }

  .home-page .institutional-stat + .institutional-stat {
    border-top: 1px solid rgba(8, 47, 85, 0.1);
    border-left: 0;
  }

  .home-page .institutional-stat {
    padding-block: 1.1rem;
  }

  .home-page #cursos .card,
  .home-page #solucoes .card,
  .home-page .pillar-card {
    padding: 1.35rem;
  }

  .home-page #cursos .card-icon,
  .home-page #solucoes .card-icon {
    top: 0.8rem;
    right: 0.9rem;
    font-size: 2.75rem;
  }

  .site-footer {
    padding-top: 1.35rem;
  }

  .footer-social-links a {
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    right: calc(0.75rem + env(safe-area-inset-right));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 430px) {
  .section-heading p {
    font-size: 0.98rem;
  }

  .calendar-event-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .calendar-event-card time {
    min-height: 58px;
  }

  .course-meta div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Termo de aceite antes do pagamento */
.terms-modal {
  width: min(840px, calc(100% - 2rem));
  max-height: min(94dvh, 900px);
}

.terms-modal .course-modal-content {
  max-height: min(94dvh, 900px);
}

.terms-modal-body {
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 104, 178, 0.07), transparent 18rem),
    #ffffff;
}

.terms-modal-body .section-kicker {
  margin-bottom: 0.75rem;
}

.terms-modal-body h2 {
  max-width: calc(100% - 3.5rem);
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.terms-modal-body > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.terms-course-context {
  margin-top: 0.8rem !important;
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 9px 9px 0;
  padding: 0.55rem 0.75rem;
  background: var(--surface-blue);
}

.terms-course-context strong {
  color: var(--navy);
}

.terms-document-frame {
  display: block;
  width: 100%;
  height: clamp(300px, 43vh, 430px);
  margin-top: 1rem;
  border: 1px solid rgba(8, 47, 85, 0.14);
  border-radius: 14px;
  background: #ffffff;
}

.terms-acceptance {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin-top: 1rem;
  border: 1px solid rgba(8, 104, 178, 0.16);
  border-radius: 13px;
  padding: 0.9rem;
  background: #f5f9fc;
  color: #334155;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.48;
}

.terms-acceptance:hover,
.terms-acceptance:focus-within {
  border-color: rgba(8, 104, 178, 0.32);
  background: #f0f7fc;
}

.terms-acceptance input {
  width: 20px;
  height: 20px;
  margin: 0.08rem 0 0;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

.terms-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.terms-actions .button {
  min-width: 150px;
}

.terms-payment-link.is-disabled,
.terms-payment-link.is-disabled:hover,
.terms-payment-link.is-disabled:focus-visible {
  background: #d8e0e8;
  color: #687487;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

body.terms-document-page {
  margin: 0;
  padding: 0;
  background: #ffffff;
  overflow-x: hidden;
}

.terms-document-content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 1.75rem);
  color: var(--ink);
}

.terms-document-header {
  border-bottom: 2px solid rgba(8, 104, 178, 0.16);
  padding-bottom: 1rem;
}

.terms-document-header span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding-inline: 0.7rem;
  background: var(--surface-blue);
  color: var(--brand-blue-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.terms-document-header h1 {
  margin: 0.7rem 0 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.terms-document-content section {
  border-bottom: 1px solid var(--line);
  padding-block: 0.9rem;
}

.terms-document-content section h2 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

.terms-document-content section p {
  margin: 0;
  color: #4f5e72;
  font-size: 0.92rem;
  line-height: 1.6;
}

.terms-document-content section ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.25rem;
  color: #4f5e72;
  font-size: 0.92rem;
  line-height: 1.6;
}

.terms-document-content section p + ul,
.terms-document-content section ul + p {
  margin-top: 0.55rem;
}

.terms-document-content .terms-final-declaration {
  margin-top: 0.75rem;
  border: 1px solid rgba(8, 104, 178, 0.16);
  border-radius: 12px;
  padding: 1rem;
  background: var(--surface-blue);
}

.terms-original-document {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  border-radius: 10px;
  padding-inline: 0.9rem;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.terms-original-document:hover,
.terms-original-document:focus-visible {
  background: var(--brand-blue-dark);
}

@media (max-width: 720px) {
  .terms-modal {
    width: calc(100% - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
  }

  .terms-modal .course-modal-content {
    max-height: calc(100dvh - 0.75rem);
  }

  .terms-modal-body {
    padding: 4.7rem 1rem 1rem;
  }

  .terms-modal-body h2 {
    max-width: 100%;
    font-size: 1.45rem;
  }

  .terms-document-frame {
    height: 38dvh;
    min-height: 260px;
  }

  .terms-acceptance {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.8rem;
    font-size: 0.86rem;
  }

  .terms-actions {
    flex-direction: column-reverse;
  }

  .terms-actions .button {
    width: 100%;
    min-width: 0;
  }

  .terms-document-content {
    padding: 1rem;
  }
}

/* Página de projetos */
.projects-page {
  background: #ffffff;
}

.projects-page main {
  overflow: hidden;
}

.projects-page #projetos-aprovados,
.projects-page #empresas-parceiras,
.projects-page #projetos-concluidos {
  scroll-margin-top: 88px;
}

.projects-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 7vw, 6.5rem) 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(78, 190, 185, 0.25), transparent 26rem),
    radial-gradient(circle at 6% 100%, rgba(8, 104, 178, 0.32), transparent 30rem),
    linear-gradient(125deg, #082f55 0%, #07527a 54%, #087a7a 100%);
  color: #ffffff;
}

.projects-hero::before {
  position: absolute;
  z-index: -1;
  top: -8rem;
  right: -7rem;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.025),
    0 0 0 8rem rgba(255, 255, 255, 0.018);
  content: "";
}

.projects-hero::after {
  position: absolute;
  z-index: -1;
  top: -55%;
  bottom: -55%;
  left: -24%;
  width: 36%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.055),
    transparent
  );
  content: "";
  pointer-events: none;
  transform: rotate(14deg);
}

.projects-motion-ready .projects-hero::before {
  animation: projectsHaloDrift 11s ease-in-out infinite alternate;
}

.projects-motion-ready .projects-hero::after {
  animation: projectsLightSweep 13s ease-in-out 1.2s infinite;
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.projects-hero-copy {
  max-width: 720px;
}

.projects-motion-ready .projects-hero-copy > * {
  animation: projectsHeroRise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.projects-motion-ready .projects-hero-copy > :nth-child(1) {
  animation-delay: 80ms;
}

.projects-motion-ready .projects-hero-copy > :nth-child(2) {
  animation-delay: 160ms;
}

.projects-motion-ready .projects-hero-copy > :nth-child(3) {
  animation-delay: 250ms;
}

.projects-motion-ready .projects-hero-copy > :nth-child(4) {
  animation-delay: 340ms;
}

.projects-eyebrow {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 0.78rem;
  background: rgba(255, 255, 255, 0.09);
  color: #bff4e9;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.projects-hero h1 {
  max-width: 680px;
  margin: 1rem 0 1.15rem;
  color: #ffffff;
  font-size: clamp(2.5rem, 4.4vw, 3.85rem);
  font-weight: 780;
  letter-spacing: -0.047em;
  line-height: 1.01;
  text-wrap: balance;
}

.projects-hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.projects-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.projects-hero-actions .button-primary {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 14px 34px rgba(1, 22, 39, 0.2);
}

.projects-hero-actions .button-primary:hover,
.projects-hero-actions .button-primary:focus-visible {
  background: #eef7fb;
  color: var(--brand-blue-dark);
}

.projects-button-light {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.projects-button-light:hover,
.projects-button-light:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

.projects-hero-gallery {
  --gallery-rotate-x: 0deg;
  --gallery-rotate-y: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 225px 145px;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 24, 44, 0.24);
  backdrop-filter: blur(12px);
  transform: perspective(1100px) rotateX(var(--gallery-rotate-x)) rotateY(var(--gallery-rotate-y));
  transform-style: preserve-3d;
  transition: transform 220ms ease-out, box-shadow 220ms ease;
  will-change: transform;
}

.projects-motion-ready .projects-hero-gallery {
  animation: projectsGalleryIn 880ms cubic-bezier(0.16, 1, 0.3, 1) 220ms backwards;
}

.projects-hero-gallery:hover {
  box-shadow: 0 34px 82px rgba(0, 24, 44, 0.3);
}

.projects-hero-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(4, 33, 56, 0.5);
}

.projects-hero-gallery-main {
  grid-column: 1 / -1;
}

.projects-hero-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  will-change: transform;
}

.projects-hero-gallery-main img {
  object-position: center top;
}

.projects-motion-ready .projects-hero-gallery-main img {
  animation: projectsImagePanMain 14s ease-in-out infinite alternate;
}

.projects-hero-gallery figure:nth-of-type(2) img {
  object-position: center 38%;
}

.projects-motion-ready .projects-hero-gallery figure:nth-of-type(2) img {
  animation: projectsImagePanLeft 12s ease-in-out 600ms infinite alternate;
}

.projects-hero-gallery figure:nth-of-type(3) img {
  object-position: center;
  transform: scale(1.045);
}

.projects-motion-ready .projects-hero-gallery figure:nth-of-type(3) img {
  animation: projectsImagePanRight 13s ease-in-out 300ms infinite alternate;
}

.projects-hero-gallery-label {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(1, 22, 39, 0.18);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.035em;
  backdrop-filter: blur(8px);
}

.projects-motion-ready .projects-hero-gallery-label {
  animation: projectsLabelIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) 760ms backwards;
}

.projects-section-nav {
  min-height: 64px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.25rem, 2vw, 1.4rem);
  border-radius: 18px 18px 0 0;
  padding-inline: clamp(0.5rem, 3vw, 1.25rem);
  background: #ffffff;
  box-shadow: 0 -10px 32px rgba(0, 31, 57, 0.1);
}

.projects-motion-ready .projects-section-nav {
  animation: projectsNavIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) 480ms backwards;
}

.projects-section-nav a {
  position: relative;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  padding-inline: clamp(0.55rem, 2vw, 1rem);
  color: #4d5d70;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease;
}

.projects-section-nav a::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0;
  left: 0.7rem;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.projects-section-nav a:hover,
.projects-section-nav a:focus-visible,
.projects-section-nav a.is-current {
  color: var(--brand-blue-dark);
}

.projects-section-nav a:hover::after,
.projects-section-nav a:focus-visible::after,
.projects-section-nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.projects-approved-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.projects-approved-section .section-heading {
  max-width: 820px;
}

.projects-flexibility-note {
  max-width: 980px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  margin: -0.25rem auto 2rem;
  border: 1px solid rgba(23, 128, 111, 0.16);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: linear-gradient(110deg, rgba(239, 249, 246, 0.95), rgba(246, 250, 252, 0.95));
  color: #556579;
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: left;
}

.projects-flexibility-note > span:first-child {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #dff3ed;
  color: #15725f;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.projects-flexibility-note strong {
  color: var(--navy);
}

.approved-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.approved-project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 85, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(20, 32, 51, 0.085);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.approved-project-card:hover,
.approved-project-card:focus-within {
  border-color: rgba(8, 104, 178, 0.26);
  box-shadow: 0 24px 58px rgba(20, 32, 51, 0.13);
  transform: translateY(-4px);
}

.approved-project-card-header {
  position: relative;
  min-height: 238px;
  padding: 1.45rem;
  overflow: hidden;
  color: #ffffff;
}

.approved-project-card-header::after {
  position: absolute;
  right: -2.4rem;
  bottom: -3.6rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 2.2rem rgba(255, 255, 255, 0.035);
  content: "";
}

.approved-project-card.is-visible .approved-project-card-header::after {
  animation: projectsCardOrbit 8s ease-in-out infinite alternate;
}

.project-card-blue {
  background: linear-gradient(140deg, #07518a, #087a9a);
}

.project-card-green {
  background: linear-gradient(140deg, #466d31, #17806f);
}

.project-card-gold {
  background: linear-gradient(140deg, #9b6410, #b77d12);
}

.project-status {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.project-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #85f1c9;
  box-shadow: 0 0 0 4px rgba(133, 241, 201, 0.15);
}

.approved-project-card.is-visible .project-status span {
  animation: projectsStatusPulse 2.8s ease-out infinite;
}

.project-type {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 750;
}

.approved-project-card-header h3 {
  position: relative;
  z-index: 1;
  margin: 0.35rem 0 0.7rem;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.approved-project-card-header p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.91rem;
  line-height: 1.55;
}

.approved-project-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 1.25rem;
}

.project-facts div {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding-right: 0.4rem;
}

.project-facts div:last-child {
  border-right: 0;
  padding-right: 0;
}

.project-facts dt {
  color: var(--navy);
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  font-weight: 820;
  line-height: 1.2;
}

.project-facts dd {
  margin: 0.18rem 0 0;
  color: #718096;
  font-size: 0.69rem;
  line-height: 1.25;
}

.project-approval-law {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1rem;
  border: 1px solid rgba(23, 128, 111, 0.2);
  border-left: 3px solid #17806f;
  border-radius: 10px;
  padding: 0.58rem 0.68rem;
  background: linear-gradient(105deg, #f0f9f6, #f7fbfc);
  box-shadow: 0 6px 16px rgba(8, 47, 85, 0.07);
  color: var(--navy);
  animation: projectsApprovalGlow 3.4s ease-in-out infinite;
  will-change: box-shadow, filter;
}

.project-approval-law > span:first-child {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #17806f;
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(23, 128, 111, 0.2);
  font-size: 0.7rem;
  font-weight: 900;
}

.project-approval-law-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.08rem 0.35rem;
  align-items: baseline;
  line-height: 1.25;
}

.project-approval-law-content > strong {
  flex-basis: 100%;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 840;
}

.project-approval-law-content > span {
  color: #4e6b68;
  font-size: 0.61rem;
  font-weight: 720;
}

.project-approval-law-content > small {
  color: #718096;
  font-size: 0.58rem;
}

.project-approval-law-content > small::before {
  margin-right: 0.35rem;
  color: #8aa19d;
  content: "·";
}

.approved-project-card:nth-child(2) .project-approval-law {
  animation-delay: 320ms;
}

.approved-project-card:nth-child(3) .project-approval-law {
  animation-delay: 640ms;
}

.project-summary h4,
.project-details h4 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 820;
}

.project-summary p,
.project-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.project-details {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-details summary {
  position: relative;
  padding: 0.85rem 1.3rem 0.85rem 0;
  color: var(--brand-blue-dark);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 780;
  list-style: none;
}

.project-details summary::-webkit-details-marker {
  display: none;
}

.project-details summary::after {
  position: absolute;
  top: 50%;
  right: 0.1rem;
  color: var(--brand-blue);
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  transform: translateY(-50%);
  transition: transform 220ms ease;
}

.project-details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.project-details > div {
  padding: 0 0 1rem;
}

.project-details[open] > div {
  animation: projectsDetailsReveal 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-details h4:not(:first-child) {
  margin-top: 0.85rem;
}

.project-card-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.project-card-actions .button {
  width: 100%;
}

.project-interest-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project-interest-button::after {
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(18deg) translateX(-220%);
  transition: transform 560ms ease;
}

.project-interest-button:hover::after,
.project-interest-button:focus-visible::after {
  transform: rotate(18deg) translateX(680%);
}

.project-certificate-link {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid rgba(8, 104, 178, 0.16);
  border-radius: 11px;
  padding: 0.48rem 0.72rem;
  background: #f5f9fc;
  color: var(--navy);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.project-certificate-link::before {
  width: 34px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-blue-dark);
  color: #ffffff;
  content: "PDF";
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.project-certificate-link span {
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.25;
}

.project-certificate-link small {
  color: var(--brand-blue-dark);
  font-size: 0.67rem;
  font-weight: 760;
}

.project-certificate-link:hover,
.project-certificate-link:focus-visible {
  border-color: rgba(8, 104, 178, 0.34);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 47, 85, 0.09);
  transform: translateY(-2px);
}

.sponsorship-benefits {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  border-radius: 22px;
  padding: clamp(1.35rem, 3.4vw, 2.1rem);
  background:
    radial-gradient(circle at 100% 0, rgba(68, 202, 180, 0.22), transparent 19rem),
    linear-gradient(135deg, #082f55, #075e73);
  box-shadow: 0 22px 52px rgba(8, 47, 85, 0.17);
}

.sponsorship-benefits::before {
  position: absolute;
  top: -5.5rem;
  right: -4rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.sponsorship-benefits-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 1.3rem;
}

.sponsorship-benefits-heading > span {
  color: #bff4e9;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.sponsorship-benefits-heading h3 {
  margin: 0.4rem 0 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.sponsorship-benefits-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sponsorship-benefits-grid li {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.095);
  backdrop-filter: blur(8px);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.sponsorship-benefits-grid li:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.sponsorship-benefit-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  color: #bff4e9;
  font-size: 1rem;
  font-weight: 900;
}

.sponsorship-benefit-icon-esg {
  font-size: 0.61rem;
  letter-spacing: 0.035em;
}

.sponsorship-benefits-grid strong {
  display: block;
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.3;
}

.sponsorship-benefits-grid sup,
.sponsorship-benefits-note sup {
  color: #bff4e9;
  font-weight: 900;
}

.sponsorship-benefits-grid p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.71rem;
  line-height: 1.5;
}

.sponsorship-benefits-note {
  position: relative;
  z-index: 1;
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.67rem;
  line-height: 1.45;
}

.sponsorship-benefits.is-visible .sponsorship-benefits-grid li {
  animation: projectsMetricRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.sponsorship-benefits.is-visible .sponsorship-benefits-grid li:nth-child(2) {
  animation-delay: 70ms;
}

.sponsorship-benefits.is-visible .sponsorship-benefits-grid li:nth-child(3) {
  animation-delay: 140ms;
}

.sponsorship-benefits.is-visible .sponsorship-benefits-grid li:nth-child(4) {
  animation-delay: 210ms;
}

.sponsorship-benefits.is-visible .sponsorship-benefits-grid li:nth-child(5) {
  animation-delay: 280ms;
}

.projects-official-publication {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.35rem;
  border: 1px solid rgba(8, 47, 85, 0.12);
  border-radius: 18px;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background:
    radial-gradient(circle at 100% 0, rgba(8, 122, 122, 0.08), transparent 17rem),
    #f7fafc;
}

.projects-official-publication-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy), #087a7a);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 47, 85, 0.14);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.projects-official-publication > div > span {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--brand-blue-dark);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.projects-official-publication strong {
  display: block;
  color: var(--navy);
  font-size: 0.96rem;
}

.projects-official-publication p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.project-publication-link {
  min-width: 190px;
  border-color: rgba(8, 104, 178, 0.22);
  background: #ffffff;
  color: var(--brand-blue-dark);
}

.project-publication-link:hover,
.project-publication-link:focus-visible {
  border-color: var(--brand-blue);
  background: var(--surface-blue);
  color: var(--brand-blue-dark);
}

.projects-partner-section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 0 100%, rgba(8, 122, 122, 0.09), transparent 26rem),
    linear-gradient(180deg, #eef6fc 0%, #f7fafc 100%);
}

.projects-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.projects-partner-copy {
  max-width: 700px;
}

.projects-partner-copy .projects-eyebrow {
  border-color: rgba(8, 104, 178, 0.18);
  background: rgba(8, 104, 178, 0.07);
  color: var(--brand-blue-dark);
}

.projects-partner-copy h2 {
  margin: 1rem 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.projects-partner-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.partner-steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.partner-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.partner-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 104, 178, 0.19);
  border-radius: 11px;
  background: #ffffff;
  color: var(--brand-blue-dark);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 850;
}

.partner-steps strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.partner-steps p {
  margin: 0.2rem 0 0;
  color: #6b7788;
  font-size: 0.86rem;
  line-height: 1.5;
}

.partner-security-note {
  margin-top: 2rem;
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.7);
}

.partner-security-note strong {
  color: var(--navy);
  font-size: 0.84rem;
}

.partner-security-note p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.projects-partner-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 100% 0, rgba(57, 196, 174, 0.28), transparent 15rem),
    linear-gradient(145deg, var(--navy), #075f78);
  color: #ffffff;
  box-shadow: 0 24px 64px rgba(8, 47, 85, 0.2);
}

.projects-partner-cta::before {
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.6rem rgba(255, 255, 255, 0.025),
    0 0 0 5.2rem rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.projects-partner-cta.is-visible::before {
  animation: projectsPartnerOrbit 7s ease-in-out infinite alternate;
}

.projects-partner-cta > * {
  position: relative;
  z-index: 1;
}

.projects-partner-cta > span {
  color: #bdebe5;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.projects-partner-cta h3 {
  max-width: 440px;
  margin: 0.7rem 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.projects-partner-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.projects-partner-cta .button {
  width: 100%;
  margin-top: 1.5rem;
  background: #ffffff;
  color: var(--navy);
}

.projects-partner-cta .button:hover,
.projects-partner-cta .button:focus-visible {
  background: #eaf7f5;
}

.projects-partner-cta small {
  display: block;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
}

.projects-interest-modal {
  width: min(820px, calc(100% - 2rem));
  max-height: min(92dvh, 850px);
}

.projects-interest-modal .course-modal-content {
  max-height: min(92dvh, 850px);
}

.projects-interest-modal-body {
  padding: clamp(1.35rem, 4vw, 2.25rem);
}

.projects-interest-modal .projects-form-heading {
  padding-right: 3.5rem;
}

.projects-interest-modal[open] .course-modal-content {
  animation: projectsModalIn 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-interest-modal[open]::backdrop {
  animation: projectsBackdropIn 260ms ease-out;
}

.projects-form-heading {
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.projects-form-heading > span {
  color: var(--brand-blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.projects-form-heading h3 {
  margin: 0.35rem 0 0.4rem;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.projects-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.projects-partner-form {
  display: grid;
  gap: 1rem;
}

.projects-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.projects-partner-form label:not(.projects-consent) {
  min-width: 0;
  display: grid;
  gap: 0.4rem;
}

.projects-partner-form label:not(.projects-consent) > span {
  color: #34445a;
  font-size: 0.79rem;
  font-weight: 760;
}

.projects-partner-form input,
.projects-partner-form select,
.projects-partner-form textarea {
  width: 100%;
  min-height: 47px;
  border: 1px solid #d7e0e8;
  border-radius: 11px;
  padding: 0.72rem 0.82rem;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.projects-partner-form textarea {
  min-height: 108px;
  resize: vertical;
}

.projects-partner-form input:focus,
.projects-partner-form select:focus,
.projects-partner-form textarea:focus {
  border-color: rgba(8, 104, 178, 0.6);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(8, 104, 178, 0.1);
}

.projects-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: #647184;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.5;
}

.projects-consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  padding: 0;
  accent-color: var(--brand-blue);
}

.projects-partner-form > .button {
  width: 100%;
  margin-top: 0.15rem;
}

.projects-form-status {
  min-height: 1.2rem;
  margin: -0.2rem 0 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.completed-projects-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.completed-projects-section .section-heading {
  max-width: 870px;
}

.portfolio-stories {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.portfolio-story {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 85, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(20, 32, 51, 0.09);
}

.portfolio-story[id] {
  scroll-margin-top: 88px;
}

.portfolio-story-media {
  position: relative;
  height: 270px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.portfolio-story-featured .portfolio-story-media {
  height: clamp(245px, 25vw, 310px);
}

.portfolio-story-media::after {
  position: absolute;
  z-index: 1;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 25, 45, 0.78));
  content: "";
  pointer-events: none;
}

.portfolio-story-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 520ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.portfolio-story-featured .portfolio-story-media img {
  object-position: 35% center;
}

.portfolio-story-media-framed {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #0b3347;
}

.portfolio-story-media-framed .portfolio-story-media-backdrop {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  filter: blur(18px) brightness(0.58) saturate(0.88);
  object-fit: cover;
  opacity: 0.82;
}

.portfolio-story-media-framed .portfolio-story-media-main {
  position: relative;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.28);
}

.portfolio-story:hover .portfolio-story-media-framed .portfolio-story-media-backdrop,
.portfolio-story:focus-within .portfolio-story-media-framed .portfolio-story-media-backdrop {
  filter: blur(16px) brightness(0.64) saturate(0.95);
  transform: scale(1.035);
}

.portfolio-story:hover .portfolio-story-media-framed .portfolio-story-media-main,
.portfolio-story:focus-within .portfolio-story-media-framed .portfolio-story-media-main {
  filter: saturate(1.04) contrast(1.01);
  transform: scale(1.012);
}

.portfolio-story-media-duo {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 0.35rem;
  background: #dcebea;
}

.portfolio-story-media-duo img {
  min-width: 0;
  object-position: center;
}

.portfolio-story-media-duo img:first-of-type {
  object-position: center 36%;
}

.portfolio-story-media-archive {
  display: grid;
  isolation: isolate;
  background: #152f3d;
}

.portfolio-story-media-archive .portfolio-story-media-archive-backdrop {
  position: absolute;
  z-index: -1;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: blur(20px) brightness(0.52) saturate(0.82);
}

.portfolio-story-media-archive-grid {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.78fr);
  gap: 0.45rem;
  margin: 0 auto;
  padding: 0.45rem;
}

.portfolio-story-media-archive-grid img {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(4, 28, 43, 0.58);
  object-fit: contain;
  object-position: center;
  box-shadow: 0 8px 24px rgba(2, 18, 30, 0.22);
}

.portfolio-story:hover .portfolio-story-media-archive .portfolio-story-media-archive-backdrop,
.portfolio-story:focus-within .portfolio-story-media-archive .portfolio-story-media-archive-backdrop {
  filter: blur(18px) brightness(0.58) saturate(0.9);
  transform: scale(1.035);
}

.portfolio-story:hover .portfolio-story-media-archive-grid img,
.portfolio-story:focus-within .portfolio-story-media-archive-grid img {
  filter: saturate(1.04) contrast(1.01);
  transform: scale(1.012);
}

#raizes-e-asas .portfolio-story-media img {
  transform: scale(1.07);
}

.portfolio-story:hover .portfolio-story-media img,
.portfolio-story:focus-within .portfolio-story-media img {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.045);
}

#raizes-e-asas:hover .portfolio-story-media img,
#raizes-e-asas:focus-within .portfolio-story-media img {
  transform: scale(1.11);
}

.portfolio-story-media figcaption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.85rem;
  left: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  line-height: 1.4;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-story:hover .portfolio-story-media figcaption,
.portfolio-story:focus-within .portfolio-story-media figcaption {
  transform: translateY(-4px);
}

.portfolio-story-content {
  padding: clamp(1.35rem, 3.2vw, 2.1rem);
}

.portfolio-story-featured .portfolio-story-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 1.15rem clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.portfolio-story-featured .portfolio-story-intro {
  grid-row: 1 / 4;
}

.portfolio-story-featured .portfolio-story-metrics,
.portfolio-story-featured .portfolio-story-detail,
.portfolio-story-featured .portfolio-story-partnership {
  grid-column: 2;
}

.portfolio-story-period {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 0.7rem;
  background: var(--surface-blue);
  color: var(--brand-blue-dark);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-story h3 {
  margin: 0.75rem 0 0.7rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.portfolio-story p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.portfolio-story-highlights {
  margin-top: 1.2rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 1rem;
  background: #f5f9fa;
}

.portfolio-story-highlights h4 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-transform: uppercase;
}

.portfolio-story-highlights ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-story-highlights li {
  position: relative;
  padding-left: 1rem;
  color: #566579;
  font-size: 0.8rem;
  line-height: 1.55;
}

.portfolio-story-highlights li::before {
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.portfolio-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid rgba(8, 104, 178, 0.13);
  border-radius: 15px;
  padding: 1rem 0.25rem;
  background: var(--surface-blue);
}

.portfolio-story-metrics div {
  min-width: 0;
  border-right: 1px solid rgba(8, 104, 178, 0.14);
  padding-inline: 0.65rem;
  text-align: center;
}

.portfolio-story-metrics div:last-child {
  border-right: 0;
}

.portfolio-story-metrics dt {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.portfolio-story-metrics dd {
  margin: 0.35rem 0 0;
  color: #68768a;
  font-size: 0.68rem;
  line-height: 1.32;
}

.portfolio-story-detail {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.84rem !important;
}

.portfolio-story-partnership {
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 0.85rem;
  background: #fffaf0;
  color: #596779 !important;
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
}

.portfolio-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.portfolio-legacy-statement {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.4rem;
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at 100% 0, rgba(87, 211, 195, 0.18), transparent 18rem),
    linear-gradient(120deg, #082f55, #075a73);
  box-shadow: 0 20px 46px rgba(8, 47, 85, 0.16);
}

.portfolio-legacy-statement span {
  color: #bff4e9;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.portfolio-legacy-statement p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 680;
  line-height: 1.55;
}

.projects-partner-copy.is-visible .partner-steps li {
  animation: projectsStepRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.projects-partner-copy.is-visible .partner-steps li:nth-child(1) {
  animation-delay: 220ms;
}

.projects-partner-copy.is-visible .partner-steps li:nth-child(2) {
  animation-delay: 310ms;
}

.projects-partner-copy.is-visible .partner-steps li:nth-child(3) {
  animation-delay: 400ms;
}

.portfolio-story.is-visible .portfolio-story-metrics div {
  animation: projectsMetricRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.portfolio-story.is-visible .portfolio-story-metrics div:nth-child(1) {
  animation-delay: 250ms;
}

.portfolio-story.is-visible .portfolio-story-metrics div:nth-child(2) {
  animation-delay: 340ms;
}

.portfolio-story.is-visible .portfolio-story-metrics div:nth-child(3) {
  animation-delay: 430ms;
}

.project-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.projects-partner-copy.project-reveal {
  transform: translateX(-28px);
}

.projects-partner-cta.project-reveal {
  transform: translateX(28px);
}

.projects-partner-copy.project-reveal.is-visible,
.projects-partner-cta.project-reveal.is-visible {
  transform: translateX(0);
}

.approved-projects-grid .project-reveal:nth-child(2) {
  transition-delay: 90ms;
}

.approved-projects-grid .project-reveal:nth-child(3) {
  transition-delay: 180ms;
}

.portfolio-secondary-grid .project-reveal:nth-child(2) {
  transition-delay: 120ms;
}

.portfolio-secondary-grid .project-reveal:nth-child(3) {
  transition-delay: 240ms;
}

.portfolio-secondary-grid .project-reveal:nth-child(4) {
  transition-delay: 360ms;
}

@keyframes projectsHeroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectsGalleryIn {
  from {
    opacity: 0;
    transform: perspective(1100px) translateX(46px) rotateY(-3deg) scale(0.965);
  }

  to {
    opacity: 1;
    transform: perspective(1100px) translateX(0) rotateY(0) scale(1);
  }
}

@keyframes projectsLabelIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes projectsNavIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectsHaloDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-1.5rem, 1.1rem, 0) scale(1.045);
  }
}

@keyframes projectsLightSweep {
  0%,
  20% {
    opacity: 0;
    transform: translateX(0) rotate(14deg);
  }

  48% {
    opacity: 1;
  }

  78%,
  100% {
    opacity: 0;
    transform: translateX(430%) rotate(14deg);
  }
}

@keyframes projectsImagePanMain {
  from {
    transform: scale(1.015) translateY(0);
  }

  to {
    transform: scale(1.07) translateY(-1.2%);
  }
}

@keyframes projectsImagePanLeft {
  from {
    transform: scale(1.02) translateX(0);
  }

  to {
    transform: scale(1.085) translateX(-1.4%);
  }
}

@keyframes projectsImagePanRight {
  from {
    transform: scale(1.045) translateY(0);
  }

  to {
    transform: scale(1.105) translateY(-1.3%);
  }
}

@keyframes projectsCardOrbit {
  from {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  to {
    transform: translate3d(-0.8rem, -0.55rem, 0) rotate(8deg);
  }
}

@keyframes projectsStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(133, 241, 201, 0.4);
  }

  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(133, 241, 201, 0);
  }
}

@keyframes projectsApprovalGlow {
  0%,
  100% {
    border-color: rgba(23, 128, 111, 0.2);
    box-shadow: 0 5px 13px rgba(8, 47, 85, 0.07);
    filter: brightness(1);
  }

  50% {
    border-color: rgba(23, 128, 111, 0.7);
    box-shadow:
      0 0 0 1px rgba(59, 207, 177, 0.2),
      0 0 22px rgba(34, 184, 154, 0.42),
      0 8px 22px rgba(8, 47, 85, 0.13);
    filter: brightness(1.045);
  }
}

@keyframes projectsDetailsReveal {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectsPartnerOrbit {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-1rem, 0.75rem, 0) scale(1.05);
  }
}

@keyframes projectsModalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.975);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes projectsBackdropIn {
  from {
    background: rgba(8, 24, 43, 0);
    backdrop-filter: blur(0);
  }

  to {
    background: rgba(8, 24, 43, 0.72);
    backdrop-filter: blur(7px);
  }
}

@keyframes projectsStepRise {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes projectsMetricRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .approved-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsorship-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-partner-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
    gap: 2rem;
  }
}

@media (max-width: 920px) {
  .projects-hero-inner {
    grid-template-columns: 1fr;
  }

  .projects-hero-gallery {
    width: min(100%, 700px);
    grid-template-rows: 260px 170px;
  }

  .projects-partner-grid {
    grid-template-columns: 1fr;
  }

  .sponsorship-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-partner-copy {
    position: static;
    max-width: 720px;
  }

  .portfolio-story-featured .portfolio-story-content {
    grid-template-columns: 1fr;
  }

  .portfolio-story-featured .portfolio-story-intro {
    grid-row: auto;
  }

  .portfolio-story-featured .portfolio-story-metrics,
  .portfolio-story-featured .portfolio-story-detail,
  .portfolio-story-featured .portfolio-story-partnership {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .projects-page #projetos-aprovados,
  .projects-page #empresas-parceiras,
  .projects-page #projetos-concluidos {
    scroll-margin-top: 76px;
  }

  .portfolio-story[id] {
    scroll-margin-top: 76px;
  }

  .projects-hero {
    padding-top: 3rem;
  }

  .projects-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
  }

  .projects-hero-actions {
    display: grid;
  }

  .projects-hero-actions .button {
    width: 100%;
  }

  .projects-hero-gallery {
    grid-template-rows: 165px 120px;
    gap: 0.45rem;
    border-radius: 18px;
    padding: 0.45rem;
  }

  .projects-hero-gallery figure {
    border-radius: 12px;
  }

  .projects-hero-gallery-label {
    top: 0.9rem;
    left: 0.9rem;
    min-height: 28px;
    padding-inline: 0.6rem;
    font-size: 0.61rem;
  }

  .projects-section-nav {
    width: 100%;
    min-height: 58px;
    justify-content: flex-start;
    border-radius: 0;
    padding-inline: 0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .projects-section-nav::-webkit-scrollbar {
    display: none;
  }

  .projects-section-nav a {
    min-height: 58px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .approved-projects-grid {
    grid-template-columns: 1fr;
  }

  .sponsorship-benefits {
    border-radius: 18px;
    padding: 1.15rem;
  }

  .sponsorship-benefits-grid {
    grid-template-columns: 1fr;
  }

  .sponsorship-benefits-grid li {
    min-height: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    align-items: start;
    padding: 0.9rem;
  }

  .sponsorship-benefit-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .sponsorship-benefits-grid p {
    margin-top: 0.15rem;
  }

  .projects-official-publication {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .projects-official-publication-icon {
    width: 46px;
    height: 46px;
  }

  .project-publication-link {
    width: 100%;
    grid-column: 1 / -1;
  }

  .approved-project-card-header {
    min-height: 220px;
  }

  .projects-form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-secondary-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-story-media {
    height: 230px;
  }

  .portfolio-story-featured .portfolio-story-media {
    height: 190px;
  }

  .portfolio-legacy-statement {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 430px) {
  .projects-hero-inner {
    gap: 1.5rem;
  }

  .projects-hero-gallery {
    grid-template-rows: 150px 105px;
  }

  .approved-project-card-header,
  .approved-project-card-body,
  .portfolio-story-content {
    padding-inline: 1rem;
  }

  .project-facts dt {
    font-size: 0.82rem;
  }

  .project-facts dd {
    font-size: 0.64rem;
  }

  .portfolio-story-media {
    height: 205px;
  }

  .portfolio-story-featured .portfolio-story-media {
    height: 170px;
  }

  .portfolio-story-media figcaption {
    right: 0.75rem;
    bottom: 0.65rem;
    left: 0.75rem;
  }

  .portfolio-story-metrics div {
    padding-inline: 0.35rem;
  }

  .portfolio-story-metrics dt {
    font-size: 1.18rem;
  }

  .portfolio-story-metrics dd {
    font-size: 0.61rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .approved-project-card,
  .projects-section-nav a::after {
    transition: none;
  }

  .projects-motion-ready .projects-hero::before,
  .projects-motion-ready .projects-hero::after,
  .projects-motion-ready .projects-hero-copy > *,
  .projects-motion-ready .projects-hero-gallery,
  .projects-motion-ready .projects-hero-gallery img,
  .projects-motion-ready .projects-hero-gallery-label,
  .projects-motion-ready .projects-section-nav,
  .approved-project-card.is-visible .approved-project-card-header::after,
  .approved-project-card.is-visible .project-status span,
  .project-approval-law,
  .project-details[open] > div,
  .projects-partner-cta.is-visible::before,
  .projects-interest-modal[open] .course-modal-content,
  .projects-interest-modal[open]::backdrop,
  .projects-partner-copy.is-visible .partner-steps li,
  .sponsorship-benefits.is-visible .sponsorship-benefits-grid li,
  .portfolio-story.is-visible .portfolio-story-metrics div {
    animation: none;
  }

  .projects-hero-gallery {
    transform: none;
    transition: none;
  }

  .approved-project-card:hover,
  .approved-project-card:focus-within,
  .project-certificate-link:hover,
  .project-certificate-link:focus-visible,
  .sponsorship-benefits-grid li:hover,
  .portfolio-story:hover .portfolio-story-media figcaption,
  .portfolio-story:focus-within .portfolio-story-media figcaption {
    transform: none;
  }

  .portfolio-story-media img {
    transition: none;
  }

  .portfolio-story:hover .portfolio-story-media img,
  .portfolio-story:focus-within .portfolio-story-media img {
    transform: none;
  }

  #raizes-e-asas .portfolio-story-media img,
  #raizes-e-asas:hover .portfolio-story-media img,
  #raizes-e-asas:focus-within .portfolio-story-media img {
    transform: scale(1.07);
  }
}

/* Galeria de fotos FGPA */
.gallery-page {
  --gallery-navy: #062d52;
  --gallery-blue: #0872bd;
  --gallery-teal: #0a8d86;
  --gallery-aqua: #8ce3da;
  --gallery-cream: #f7faf9;
  background: var(--gallery-cream);
}

.gallery-page.modal-open {
  overflow: hidden;
}

.gallery-page main {
  overflow: clip;
}

.gallery-skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.75rem;
  z-index: 1000;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: var(--gallery-navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.gallery-skip-link:focus {
  transform: translateY(0);
}

@media (min-width: 1041px) and (max-width: 1220px) {
  .home-header .header-inner {
    width: min(100% - 1.2rem, 1160px);
    gap: 0.75rem;
  }

  .home-header .brand-logo {
    width: 150px;
  }

  .home-header .home-nav {
    gap: 0.05rem;
  }

  .home-header .home-nav .nav-link {
    padding-inline: 0.48rem;
    font-size: 0.84rem;
  }
}

.gallery-hero {
  position: relative;
  min-height: min(780px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(6, 45, 82, 0.98) 0%, rgba(5, 71, 113, 0.97) 51%, rgba(7, 122, 121, 0.94) 100%),
    var(--gallery-navy);
  color: #ffffff;
}

.gallery-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 75%);
}

.gallery-hero::after {
  position: absolute;
  right: -12vw;
  bottom: -42vw;
  z-index: -1;
  width: min(72vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.018);
  content: "";
}

.gallery-hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.gallery-hero-orb-one {
  top: -18rem;
  left: 34%;
  width: 34rem;
  height: 34rem;
  background: rgba(42, 153, 205, 0.22);
}

.gallery-hero-orb-two {
  right: 10%;
  bottom: -16rem;
  width: 31rem;
  height: 31rem;
  background: rgba(98, 211, 171, 0.18);
}

.gallery-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.gallery-hero-copy {
  max-width: 640px;
}

.gallery-eyebrow,
.gallery-section-kicker,
.gallery-viewer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-eyebrow {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding-inline: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: #d5fffa;
  backdrop-filter: blur(10px);
}

.gallery-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93eee4;
  box-shadow: 0 0 0 5px rgba(147, 238, 228, 0.12);
  content: "";
}

.gallery-hero h1 {
  max-width: 760px;
  margin: 1.3rem 0 1.15rem;
  color: #ffffff;
  font-size: clamp(3rem, 5.8vw, 5rem);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 0.96;
  text-wrap: balance;
}

.gallery-hero h1 em {
  color: var(--gallery-aqua);
  font-style: normal;
  font-weight: inherit;
}

.gallery-hero-copy > p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.gallery-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-page .gallery-button-primary,
.gallery-page .gallery-button-ghost,
.gallery-page .gallery-button-white,
.gallery-page .gallery-button-outline {
  gap: 0.6rem;
  border: 1px solid transparent;
  text-decoration: none;
}

.gallery-page .gallery-button-primary {
  background: #ffffff;
  color: var(--gallery-navy);
  box-shadow: 0 15px 35px rgba(1, 22, 45, 0.2);
}

.gallery-page .gallery-button-primary:hover,
.gallery-page .gallery-button-primary:focus-visible {
  background: #e8fffc;
  color: var(--gallery-navy);
  box-shadow: 0 18px 42px rgba(1, 22, 45, 0.28);
  transform: translateY(-2px);
}

.gallery-button-primary svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.gallery-page .gallery-button-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.gallery-page .gallery-button-ghost:hover,
.gallery-page .gallery-button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
}

.gallery-hero-stats {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: clamp(2.2rem, 4vw, 3.25rem) 0 0;
}

.gallery-hero-stats div {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1rem 1.15rem 0.95rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 14px 34px rgba(0, 25, 49, 0.16);
  backdrop-filter: blur(8px);
}

.gallery-hero-stats div::before {
  width: 30px;
  height: 4px;
  display: block;
  margin-bottom: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #8ce3da, #ffffff);
  content: "";
}

.gallery-hero-stats dt {
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#gallery-period-total {
  font-size: clamp(1.08rem, 1.7vw, 1.5rem);
  letter-spacing: -0.025em;
}

.gallery-hero-stats dd {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-hero-visual {
  position: relative;
  min-height: clamp(440px, 48vw, 560px);
  perspective: 1200px;
}

.gallery-hero-visual::before {
  position: absolute;
  top: 7%;
  right: 4%;
  width: 76%;
  height: 78%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 48% 52% 46% 54%;
  content: "";
  transform: rotate(-8deg);
}

.gallery-hero-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: linear-gradient(105deg, #c9dbe2 18%, #edf5f7 42%, #c9dbe2 66%);
  background-size: 220% 100%;
  box-shadow: 0 26px 65px rgba(0, 20, 43, 0.34);
  animation: gallery-hero-loading 1.35s linear infinite;
}

@keyframes gallery-hero-loading {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.gallery-hero-photo.is-loaded {
  background: #d8e7ed;
  animation: none;
}

.gallery-hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 48%, rgba(1, 31, 59, 0.18));
  content: "";
  pointer-events: none;
}

.gallery-hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-hero-photo.is-loaded img {
  opacity: 1;
}

.gallery-hero-photo-main {
  top: 7%;
  right: 22%;
  bottom: 4%;
  left: 0;
  z-index: 2;
  transform: rotate(-2.4deg);
}

.gallery-hero-photo-main img {
  object-position: center;
}

.gallery-hero-photo-top {
  top: 0;
  right: 0;
  z-index: 3;
  width: 42%;
  height: 36%;
  transform: rotate(3.5deg);
}

.gallery-hero-photo-top img {
  object-position: center top;
}

.gallery-hero-photo-bottom {
  right: 1%;
  bottom: 0;
  z-index: 4;
  width: 45%;
  height: 43%;
  transform: rotate(2deg);
}

.gallery-hero-label {
  position: absolute;
  right: 7%;
  bottom: 12%;
  z-index: 5;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding-inline: 0.85rem;
  background: rgba(4, 35, 62, 0.8);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(2, 21, 42, 0.26);
  backdrop-filter: blur(12px);
}

.gallery-hero-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83eee0;
  box-shadow: 0 0 0 4px rgba(131, 238, 224, 0.15);
}

.gallery-scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 5;
  width: 28px;
  height: 44px;
  display: grid;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding-top: 8px;
  transform: translateX(-50%);
}

.gallery-scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  animation: gallery-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes gallery-scroll-cue {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(15px); }
}

.gallery-archive {
  position: relative;
  scroll-margin-top: 84px;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(8, 104, 178, 0.07), transparent 26rem),
    radial-gradient(circle at 4% 55%, rgba(8, 122, 122, 0.065), transparent 27rem),
    var(--gallery-cream);
}

.gallery-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 7vw, 6.5rem);
  align-items: end;
  margin-bottom: 2rem;
}

.gallery-section-kicker {
  color: var(--gallery-blue);
}

.gallery-section-kicker::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--gallery-teal);
  content: "";
}

.gallery-section-heading h2 {
  max-width: 760px;
  margin: 0.85rem 0 0;
  color: var(--gallery-navy);
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.gallery-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.gallery-toolbar {
  position: sticky;
  top: 84px;
  z-index: 15;
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(350px, 1.6fr) minmax(150px, auto);
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(8, 47, 85, 0.1);
  border-radius: 18px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 18px 45px rgba(8, 47, 85, 0.09);
  backdrop-filter: blur(18px) saturate(1.25);
}

.gallery-search,
.gallery-year-filter {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(8, 47, 85, 0.12);
  border-radius: 12px;
  background: #f7fafb;
  color: #54657a;
}

.gallery-search:focus-within,
.gallery-year-filter:focus-within {
  border-color: rgba(8, 104, 178, 0.46);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(8, 104, 178, 0.08);
}

.gallery-search svg {
  width: 19px;
  flex: 0 0 19px;
  margin-left: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.gallery-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.7rem 0.8rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
}

.gallery-search input::placeholder {
  color: #738094;
}

.gallery-filter-scroll {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-filter-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-filter-list {
  display: flex;
  gap: 0.4rem;
}

.gallery-filter {
  min-height: 42px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: transparent;
  color: #536177;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color 170ms ease, background 170ms ease, color 170ms ease, transform 170ms ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
  border-color: rgba(8, 104, 178, 0.16);
  background: var(--surface-blue);
  color: var(--gallery-blue);
}

.gallery-filter.is-active {
  border-color: var(--gallery-blue);
  background: var(--gallery-blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 104, 178, 0.2);
}

.gallery-year-filter {
  min-width: 148px;
}

.gallery-year-filter select {
  width: 100%;
  min-height: 46px;
  appearance: none;
  border: 0;
  outline: 0;
  padding: 0 2.2rem 0 0.85rem;
  background: transparent;
  color: #3c4b61;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.gallery-year-filter svg {
  position: absolute;
  right: 0.8rem;
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  pointer-events: none;
}

.gallery-result-count {
  grid-column: 1 / -1;
  margin: -0.1rem 0 0;
  padding: 0 0.2rem;
  color: #66758a;
  font-size: 0.8rem;
  font-weight: 700;
}

.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 160px;
  gap: 1rem;
}

.gallery-album-card,
.gallery-album-skeleton {
  min-width: 0;
  grid-column: span 4;
  grid-row: span 2;
  border-radius: 22px;
}

.gallery-album-card--feature,
.gallery-album-skeleton-feature {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-album-card--stack {
  grid-column: span 5;
  grid-row: span 1;
}

.gallery-album-skeleton {
  position: relative;
  overflow: hidden;
  background: #dce7eb;
}

.gallery-album-skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.58) 42%, transparent 64%);
  content: "";
  transform: translateX(-100%);
  animation: gallery-skeleton 1.4s infinite;
}

@keyframes gallery-skeleton {
  to { transform: translateX(100%); }
}

.gallery-album-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 85, 0.12);
  background: var(--gallery-navy);
  box-shadow: 0 14px 35px rgba(8, 47, 85, 0.11);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.gallery-album-card:hover,
.gallery-album-card:focus-within {
  box-shadow: 0 25px 58px rgba(8, 47, 85, 0.2);
  transform: translateY(-5px);
}

.gallery-album-card-button {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.gallery-album-card-media,
.gallery-album-card-shade {
  position: absolute;
  inset: 0;
}

.gallery-album-card-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.005);
  transition: opacity 260ms ease, transform 600ms cubic-bezier(0.2, 0.72, 0.25, 1), filter 260ms ease;
}

.gallery-album-card.is-image-loaded .gallery-album-card-media {
  opacity: 1;
}

.gallery-album-card:hover .gallery-album-card-media,
.gallery-album-card:focus-within .gallery-album-card-media {
  filter: saturate(1.06);
  transform: scale(1.045);
}

.gallery-album-card-shade {
  background:
    linear-gradient(180deg, rgba(2, 23, 43, 0.16) 0%, transparent 31%, rgba(2, 24, 46, 0.9) 100%),
    linear-gradient(90deg, rgba(2, 24, 46, 0.2), transparent 65%);
}

.gallery-album-card-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.gallery-album-category,
.gallery-album-count {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding-inline: 0.7rem;
  background: rgba(3, 32, 58, 0.68);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  backdrop-filter: blur(9px);
}

.gallery-album-count {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gallery-navy);
}

.gallery-album-card-content {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  z-index: 2;
}

.gallery-album-meta {
  margin: 0 0 0.42rem;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.gallery-album-card h3 {
  max-width: 650px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.3rem, 2.35vw, 2rem);
  font-weight: 810;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.gallery-album-card--feature h3 {
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
}

.gallery-album-card--stack h3 {
  max-width: calc(100% - 110px);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.gallery-album-description {
  max-width: 620px;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.5;
}

.gallery-album-card:not(.gallery-album-card--feature) .gallery-album-description {
  display: none;
}

.gallery-album-open {
  position: absolute;
  right: 0;
  bottom: 0.05rem;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0 0.75rem 0 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gallery-navy);
  font-size: 0.72rem;
  font-weight: 850;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.gallery-album-card:hover .gallery-album-open,
.gallery-album-card:focus-within .gallery-album-open {
  opacity: 1;
  transform: translateY(0);
}

.gallery-album-open svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.gallery-album-card:hover .gallery-album-open svg,
.gallery-album-card:focus-within .gallery-album-open svg {
  transform: translateX(3px);
}

.gallery-album-card.is-image-error .gallery-album-card-media {
  opacity: 0;
}

.gallery-album-card.is-image-error::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(113, 222, 210, 0.23), transparent 35%),
    linear-gradient(145deg, var(--gallery-navy), #076b79);
  content: "";
}

.gallery-empty-state {
  min-height: 360px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(8, 47, 85, 0.2);
  border-radius: 22px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.gallery-empty-state:not([hidden]) {
  display: grid;
}

.gallery-empty-icon {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 18px;
  background:
    radial-gradient(circle at 65% 34%, #ffffff 0 7%, transparent 8%),
    linear-gradient(145deg, var(--gallery-blue), var(--gallery-teal));
  box-shadow: 0 14px 30px rgba(8, 104, 178, 0.2);
}

.gallery-empty-state h3 {
  margin: 1.1rem 0 0.35rem;
  color: var(--gallery-navy);
  font-size: 1.45rem;
}

.gallery-empty-state p {
  max-width: 440px;
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-noscript {
  border-radius: 14px;
  padding: 1rem;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}

.gallery-story-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(52, 205, 187, 0.2), transparent 24rem),
    linear-gradient(130deg, #062c52 0%, #075a78 58%, #087a7a 100%);
  color: #ffffff;
}

.gallery-story-band::before {
  position: absolute;
  top: -9rem;
  left: -7rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
  content: "";
}

.gallery-story-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.gallery-story-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.gallery-story-mark svg {
  width: 48px;
  fill: none;
  stroke: #b8fff6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.gallery-section-kicker-light {
  color: #b8fff6;
}

.gallery-section-kicker-light::before {
  background: #b8fff6;
}

.gallery-story-band h2 {
  max-width: 760px;
  margin: 0.75rem 0 0.55rem;
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 810;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.gallery-story-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.gallery-story-actions {
  display: grid;
  gap: 0.65rem;
}

.gallery-page .gallery-button-white {
  background: #ffffff;
  color: var(--gallery-navy);
}

.gallery-page .gallery-button-white:hover,
.gallery-page .gallery-button-white:focus-visible {
  background: #e6fffb;
  color: var(--gallery-navy);
  transform: translateY(-2px);
}

.gallery-page .gallery-button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
}

.gallery-page .gallery-button-outline:hover,
.gallery-page .gallery-button-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  transform: translateY(-2px);
}

.gallery-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.gallery-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-album-card.gallery-reveal {
  transition:
    opacity 600ms ease var(--gallery-reveal-delay, 0ms),
    transform 600ms cubic-bezier(0.2, 0.72, 0.25, 1) var(--gallery-reveal-delay, 0ms),
    box-shadow 240ms ease;
}

/* Visualizador em tela cheia */
.gallery-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #041c35;
  color: #ffffff;
}

.gallery-viewer::backdrop {
  background: rgba(2, 15, 29, 0.85);
  backdrop-filter: blur(8px);
}

.gallery-viewer[open] {
  animation: gallery-dialog-in 240ms ease both;
}

.gallery-viewer[open]::backdrop {
  animation: gallery-backdrop-in 240ms ease both;
}

@keyframes gallery-dialog-in {
  from { opacity: 0; transform: scale(0.985); }
}

@keyframes gallery-backdrop-in {
  from { opacity: 0; }
}

.gallery-viewer-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 88% 4%, rgba(8, 122, 122, 0.19), transparent 28rem),
    radial-gradient(circle at 12% 100%, rgba(8, 104, 178, 0.13), transparent 28rem),
    #041c35;
}

.gallery-viewer-header,
.gallery-viewer-footer,
.gallery-viewer-thumbnails,
.gallery-viewer-notice {
  width: min(1440px, calc(100% - 2rem));
  margin-inline: auto;
}

.gallery-viewer-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 0.85rem;
}

.gallery-viewer-kicker {
  color: #8ce3da;
}

.gallery-viewer-header h2 {
  margin: 0.28rem 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.gallery-viewer-header p {
  margin: 0.32rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 650;
}

.gallery-viewer-close {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  cursor: pointer;
  transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

.gallery-viewer-close:hover,
.gallery-viewer-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(4deg);
}

.gallery-viewer-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.gallery-viewer-close span:first-child { transform: rotate(45deg); }
.gallery-viewer-close span:last-child { transform: rotate(-45deg); }

.gallery-viewer-notice {
  box-sizing: border-box;
  margin-top: 0.7rem;
  border: 1px solid rgba(255, 215, 120, 0.22);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 193, 69, 0.1);
  color: #ffe9b6;
  font-size: 0.8rem;
  line-height: 1.4;
}

.gallery-viewer-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  gap: 0.75rem;
  align-items: stretch;
  padding: 1rem max(1rem, calc((100vw - 1510px) / 2));
}

.gallery-viewer-figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  margin: 0;
}

.gallery-viewer-image-wrap {
  position: relative;
  height: 100%;
  min-height: max(320px, calc(100dvh - 220px));
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(315deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 24px 24px,
    rgba(0, 11, 23, 0.52);
}

.gallery-viewer-image-wrap::before {
  position: absolute;
  inset: -8%;
  background-image: var(--gallery-viewer-backdrop, none);
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(28px) brightness(0.42) saturate(0.9);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 260ms ease;
}

.gallery-viewer-image-wrap > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-viewer-image-wrap.is-loaded::before {
  opacity: 0.68;
}

.gallery-viewer-image-wrap.is-loaded > img {
  opacity: 1;
}

.gallery-viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(4, 28, 53, 0.22);
}

.gallery-viewer-loading[hidden] {
  display: none;
}

.gallery-viewer-loading span {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: #8ce3da;
  border-radius: 50%;
  animation: gallery-spin 750ms linear infinite;
}

@keyframes gallery-spin { to { transform: rotate(360deg); } }

.gallery-viewer-image-error {
  position: relative;
  z-index: 3;
  max-width: 430px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.gallery-viewer-image-error[hidden] {
  display: none;
}

.gallery-viewer-image-error > span {
  width: 54px;
  height: 46px;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 30%, #8ce3da 0 7%, transparent 8%),
    linear-gradient(145deg, transparent 48%, rgba(140, 227, 218, 0.4) 49% 58%, transparent 59%);
}

.gallery-viewer-image-error strong {
  margin-top: 1rem;
  color: #ffffff;
}

.gallery-viewer-image-error p {
  margin: 0.35rem 0 0.9rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  line-height: 1.5;
}

.gallery-viewer-image-error button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  padding-inline: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.gallery-viewer-caption {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  pointer-events: none;
}

.gallery-viewer-caption > div:first-child {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: rgba(3, 26, 49, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.gallery-viewer-caption span {
  color: #8ce3da;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-viewer-caption h3 {
  margin: 0.22rem 0 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.gallery-viewer-caption p {
  max-width: 760px;
  margin: 0.28rem 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.83rem;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-viewer-links {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
}

.gallery-viewer-links button,
.gallery-viewer-links a,
.gallery-viewer-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease;
}

.gallery-viewer-links button:hover,
.gallery-viewer-links button:focus-visible,
.gallery-viewer-links a:hover,
.gallery-viewer-links a:focus-visible,
.gallery-viewer-footer a:hover,
.gallery-viewer-footer a:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.gallery-viewer-links svg,
.gallery-viewer-footer svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-viewer-links a[hidden],
.gallery-viewer-footer a[hidden],
.gallery-viewer-notice[hidden] {
  display: none;
}

.gallery-viewer-nav {
  align-self: center;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  cursor: pointer;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease, opacity 170ms ease;
}

.gallery-viewer-nav:hover,
.gallery-viewer-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.13);
  transform: scale(1.05);
}

.gallery-viewer-nav:disabled {
  opacity: 0.22;
  cursor: default;
  transform: none;
}

.gallery-viewer-nav svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-viewer-thumbnails {
  box-sizing: border-box;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 0.7rem;
  scrollbar-color: rgba(140, 227, 218, 0.5) transparent;
  scrollbar-width: thin;
}

.gallery-viewer-thumbnail {
  position: relative;
  width: 88px;
  height: 60px;
  flex: 0 0 88px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  opacity: 0.55;
  transition: border-color 170ms ease, opacity 170ms ease, transform 170ms ease;
}

.gallery-viewer-thumbnail:hover,
.gallery-viewer-thumbnail:focus-visible,
.gallery-viewer-thumbnail.is-active {
  border-color: #8ce3da;
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-viewer-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-viewer-thumbnail span {
  position: absolute;
  right: 4px;
  bottom: 3px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(2, 23, 43, 0.78);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
}

.gallery-viewer-footer {
  display: none;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
}

.gallery-viewer-footer p {
  max-width: 780px;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-height: 700px) and (min-width: 721px) {
  .gallery-viewer-header {
    min-height: 70px;
    padding-block: 0.45rem;
  }

  .gallery-viewer-header h2 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
  }

  .gallery-viewer-close {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .gallery-viewer-stage {
    padding-block: 0.55rem;
  }

  .gallery-viewer-image-wrap {
    min-height: max(260px, calc(100dvh - 166px));
  }

  .gallery-viewer-caption {
    min-height: 0;
  }

  .gallery-viewer-footer {
    display: none;
  }

  .gallery-viewer-thumbnails {
    min-height: 62px;
    padding-block: 0.4rem;
  }

  .gallery-viewer-thumbnail {
    width: 72px;
    height: 48px;
    flex-basis: 72px;
  }
}

@media (max-width: 1040px) {
  .gallery-hero {
    min-height: auto;
  }

  .gallery-hero-inner {
    grid-template-columns: 1fr;
    gap: 3.25rem;
    padding-block: 4.5rem 5.5rem;
  }

  .gallery-hero-copy {
    max-width: 760px;
  }

  .gallery-hero-visual {
    width: min(760px, 100%);
    min-height: 520px;
    margin-inline: auto;
  }

  .gallery-scroll-cue {
    display: none;
  }

  .gallery-toolbar {
    top: 70px;
    grid-template-columns: minmax(210px, 0.75fr) minmax(330px, 1.25fr) minmax(145px, auto);
  }
}

@media (max-width: 900px) {
  .gallery-section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-section-heading p {
    max-width: 650px;
  }

  .gallery-toolbar {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .gallery-filter-scroll {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .gallery-result-count {
    grid-row: 3;
  }

  .gallery-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery-album-card,
  .gallery-album-skeleton {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-album-card--feature,
  .gallery-album-skeleton-feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-album-card--stack {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-album-card--feature .gallery-album-description {
    display: block;
  }

  .gallery-story-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gallery-story-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
  }

  .gallery-viewer-stage {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 0.45rem;
  }

  .gallery-viewer-nav {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 720px) {
  .gallery-hero-inner {
    gap: 2.75rem;
    padding-block: 3.5rem 4.5rem;
  }

  .gallery-hero h1 {
    font-size: clamp(2.75rem, 12.5vw, 4rem);
  }

  .gallery-hero-actions {
    display: grid;
  }

  .gallery-hero-actions .button {
    width: 100%;
  }

  .gallery-hero-stats div {
    padding: 0.9rem 0.95rem 0.85rem;
  }

  .gallery-hero-stats dt {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  #gallery-period-total {
    font-size: clamp(0.9rem, 4.2vw, 1.15rem);
  }

  .gallery-hero-stats dd {
    font-size: 0.63rem;
  }

  .gallery-hero-visual {
    min-height: 390px;
  }

  .gallery-hero-photo {
    border-width: 3px;
    border-radius: 16px;
  }

  .gallery-hero-photo-main {
    right: 18%;
  }

  .gallery-hero-photo-top {
    width: 42%;
    height: 34%;
  }

  .gallery-hero-photo-bottom {
    width: 48%;
    height: 41%;
  }

  .gallery-hero-label {
    right: 4%;
    bottom: 10%;
    min-height: 32px;
    font-size: 0.58rem;
  }

  .gallery-archive {
    scroll-margin-top: 70px;
    padding-top: 4rem;
  }

  .gallery-section-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .gallery-toolbar {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .gallery-filter-scroll,
  .gallery-result-count {
    grid-column: 1;
    grid-row: auto;
  }

  .gallery-filter-scroll {
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
  }

  .gallery-year-filter {
    width: 100%;
  }

  .gallery-album-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .gallery-album-card,
  .gallery-album-skeleton,
  .gallery-album-card--feature,
  .gallery-album-skeleton-feature,
  .gallery-album-card--stack {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-album-card--feature h3 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .gallery-album-card--stack h3 {
    max-width: none;
  }

  .gallery-album-description {
    display: none !important;
  }

  .gallery-album-open {
    opacity: 1;
    transform: none;
  }

  .gallery-story-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gallery-story-mark {
    width: 70px;
    height: 70px;
    border-radius: 21px;
  }

  .gallery-story-mark svg {
    width: 39px;
  }

  .gallery-story-actions {
    grid-column: auto;
    display: grid;
  }

  .gallery-story-actions .button {
    width: 100%;
  }

  .gallery-viewer-shell {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .gallery-viewer-header,
  .gallery-viewer-footer,
  .gallery-viewer-thumbnails,
  .gallery-viewer-notice {
    width: min(100% - 1rem, 1440px);
  }

  .gallery-viewer-header {
    min-height: 78px;
  }

  .gallery-viewer-header p {
    max-width: calc(100vw - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-viewer-close {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .gallery-viewer-stage {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.65rem 0.5rem;
  }

  .gallery-viewer-figure {
    width: 100%;
  }

  .gallery-viewer-image-wrap {
    border-radius: 12px;
  }

  .gallery-viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(3, 26, 49, 0.75);
    backdrop-filter: blur(8px);
  }

  .gallery-viewer-prev { left: 0.85rem; }
  .gallery-viewer-next { right: 0.85rem; }

  .gallery-viewer-caption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    align-items: center;
    gap: 0.75rem;
  }

  .gallery-viewer-caption p {
    max-width: calc(100vw - 2rem);
    white-space: normal;
  }

  .gallery-viewer-links button span {
    display: none;
  }

  .gallery-viewer-links button,
  .gallery-viewer-links a {
    width: 42px;
    min-width: 42px;
    padding: 0;
    font-size: 0;
  }

  .gallery-viewer-links svg {
    width: 17px;
  }

  .gallery-viewer-thumbnails {
    min-height: 75px;
  }

  .gallery-viewer-footer p {
    display: none;
  }

  .gallery-viewer-footer {
    justify-content: flex-end;
  }
}

@media (max-width: 430px) {
  .gallery-hero-inner {
    padding-top: 2.8rem;
  }

  .gallery-hero-visual {
    min-height: 320px;
  }

  .gallery-hero-label {
    max-width: 76%;
    white-space: nowrap;
  }

  .gallery-hero-stats {
    margin-top: 2.3rem;
  }

  .gallery-hero-stats div {
    padding: 0.82rem 0.85rem 0.8rem;
  }

  .gallery-hero-stats dt {
    font-size: 1.5rem;
  }

  .gallery-hero-stats dd {
    letter-spacing: 0.065em;
  }

  .gallery-album-grid {
    grid-auto-rows: 270px;
  }

  .gallery-album-card-top {
    top: 0.8rem;
    right: 0.8rem;
    left: 0.8rem;
  }

  .gallery-album-card-content {
    right: 0.9rem;
    bottom: 0.9rem;
    left: 0.9rem;
  }

  .gallery-album-open {
    min-height: 38px;
    padding-inline: 0.7rem;
  }

  .gallery-viewer-kicker {
    font-size: 0.64rem;
  }

  .gallery-viewer-header h2 {
    font-size: 1.22rem;
  }

  .gallery-viewer-caption {
    min-height: 0;
  }

  .gallery-viewer-caption h3 {
    font-size: 1.05rem;
  }

  .gallery-viewer-caption p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .gallery-viewer-thumbnail {
    width: 76px;
    height: 54px;
    flex-basis: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-scroll-cue span,
  .gallery-hero-photo,
  .gallery-album-skeleton::after,
  .gallery-viewer-loading span {
    animation: none;
  }

  .gallery-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-album-card,
  .gallery-album-card-media,
  .gallery-album-open,
  .gallery-viewer[open],
  .gallery-viewer[open]::backdrop {
    animation: none;
    transition: none;
  }

  .gallery-album-card:hover,
  .gallery-album-card:focus-within,
  .gallery-album-card:hover .gallery-album-card-media,
  .gallery-album-card:focus-within .gallery-album-card-media {
    transform: none;
  }
}
/* Painel administrativo de cursos */
.course-admin-page {
  min-height: 100vh;
  margin: 0;
  color: #123454;
  background: #f3f7f5;
  font-family: Inter, Arial, sans-serif;
}

.course-admin-page [hidden] {
  display: none !important;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.admin-header {
  border-bottom: 1px solid #dce6e2;
  background: #fff;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
}

.admin-header img {
  display: block;
  width: 138px;
  height: auto;
}

.admin-header-inner > div {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid #dce6e2;
}

.admin-header span,
.admin-eyebrow {
  color: #087f82;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.admin-header strong {
  font-size: 1rem;
}

.admin-main {
  padding-block: 56px 90px;
}

.admin-login {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #d7e3df;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(16, 52, 74, .1);
}

.admin-login-copy,
.admin-login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
}

.admin-login-copy {
  color: #fff;
  background: linear-gradient(135deg, #123454, #087f82);
}

.admin-login-copy .admin-eyebrow {
  color: #9ee0d4;
}

.admin-login h1,
.admin-dashboard-heading h1,
.admin-editor h2 {
  margin: 12px 0 16px;
  color: inherit;
  line-height: 1.08;
}

.admin-login h1 {
  max-width: 540px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.admin-login-copy p {
  max-width: 540px;
  margin: 0;
  color: #dbecea;
  font-size: 1.05rem;
  line-height: 1.7;
}

.admin-login-form {
  gap: 12px;
}

.admin-login-form label,
.admin-course-form label,
.admin-topics-title {
  display: grid;
  gap: 8px;
  color: #193b58;
  font-size: .86rem;
  font-weight: 750;
}

.admin-login-form small,
.admin-course-form small {
  color: #6c7c83;
  font-size: .75rem;
  font-weight: 500;
}

.course-admin-page input,
.course-admin-page select,
.course-admin-page textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbdad5;
  border-radius: 10px;
  padding: 12px 14px;
  color: #173650;
  background: #fff;
  font: inherit;
  line-height: 1.45;
  transition: border-color .2s, box-shadow .2s;
}

.course-admin-page textarea {
  resize: vertical;
}

.course-admin-page input:focus,
.course-admin-page select:focus,
.course-admin-page textarea:focus {
  outline: none;
  border-color: #07878a;
  box-shadow: 0 0 0 3px rgba(7, 135, 138, .13);
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s;
}

.admin-button:hover {
  transform: translateY(-1px);
}

.admin-button-primary {
  color: #fff;
  background: #087f82;
}

.admin-button-primary:hover {
  background: #056d70;
}

.admin-button-secondary {
  color: #087f82;
  border-color: #add2cc;
  background: #eef8f5;
}

.admin-button-quiet {
  color: #536b77;
  border-color: #d4dfdc;
  background: #fff;
}

.admin-button-danger {
  color: #a53b3b;
  border-color: #edcccc;
  background: #fff7f7;
}

.admin-button:disabled {
  cursor: wait;
  opacity: .65;
}

.admin-feedback {
  position: sticky;
  z-index: 10;
  top: 12px;
  margin: 0 0 20px;
  border: 1px solid #bfd7d1;
  border-radius: 12px;
  padding: 14px 18px;
  color: #155a59;
  background: #eff9f6;
  box-shadow: 0 8px 28px rgba(16, 52, 74, .1);
}

.admin-feedback[data-type="error"] {
  color: #912e2e;
  border-color: #ebc1c1;
  background: #fff1f1;
}

.admin-dashboard-heading,
.admin-editor-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.admin-dashboard-heading {
  margin-bottom: 28px;
}

.admin-dashboard-heading h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.admin-dashboard-heading p,
.admin-editor-heading p {
  margin: 0;
  color: #61757d;
}

.admin-heading-actions,
.admin-form-actions,
.admin-course-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-course-list {
  display: grid;
  gap: 12px;
  margin-bottom: 56px;
}

.admin-course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #d8e3df;
  border-radius: 16px;
  padding: 20px 22px;
  background: #fff;
}

.admin-course-info {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-course-actions {
  flex: 0 0 182px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

.admin-course-actions .admin-button {
  min-width: 82px;
  justify-content: center;
}

.admin-course-info h3 {
  margin: 5px 0 7px;
  color: #123454;
  font-size: 1.15rem;
}

.admin-course-info code {
  color: #718087;
  font-size: .75rem;
}

.admin-course-meta {
  margin: 0;
  color: #087f82;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-course-meta[data-status="draft"] { color: #a06909; }
.admin-course-meta[data-status="archived"] { color: #7d898d; }

.admin-empty {
  border: 1px dashed #bfcfca;
  border-radius: 16px;
  padding: 32px;
  color: #65787f;
  text-align: center;
  background: rgba(255, 255, 255, .65);
}

.admin-editor {
  border: 1px solid #d7e3df;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 52, 74, .08);
  scroll-margin-top: 20px;
}

.admin-editor-heading {
  align-items: center;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e0e8e5;
}

.admin-editor-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.admin-course-form {
  display: grid;
  gap: 34px;
}

.admin-course-form fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.admin-course-form legend {
  width: 100%;
  margin-bottom: 18px;
  color: #123454;
  font-size: 1.15rem;
  font-weight: 850;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-topics-title {
  max-width: 560px;
  margin-bottom: 18px;
}

.admin-topics-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-field-help {
  margin: -8px 0 18px;
  color: #687b82;
  line-height: 1.6;
}

.admin-variants-list {
  display: grid;
  gap: 18px;
  margin-bottom: 14px;
}

.admin-variant-row {
  border: 1px solid #d8e3df;
  border-radius: 16px;
  padding: 20px;
  background: #f7faf8;
}

.admin-variant-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: #123454;
}

.admin-topic-row {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(260px, 1.6fr) auto;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border-radius: 14px;
  background: #f3f7f5;
}

.admin-topic-remove {
  min-height: 44px;
  border: 0;
  padding: 0 8px;
  color: #a23c3c;
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.course-card-database {
  animation: admin-course-card-in .35s ease both;
}

.courses-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed #bfd1cc;
  border-radius: 18px;
  padding: 34px;
  color: #60747c;
  background: rgba(255, 255, 255, .72);
  text-align: center;
}

.courses-empty[data-state="error"] {
  color: #8b3434;
  border-color: #e3baba;
  background: #fff5f5;
}

.courses-loading {
  grid-column: 1 / -1;
  display: grid;
  gap: 24px;
  width: 100%;
}

.courses-loading-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  color: #173650;
  text-align: left;
}

.courses-loading-heading > span:last-child {
  display: grid;
  gap: 2px;
}

.courses-loading-heading strong,
.courses-loading-heading small {
  display: block;
}

.courses-loading-heading strong {
  font-size: .95rem;
}

.courses-loading-heading small {
  color: #718087;
  font-size: .76rem;
}

.courses-loading-spinner {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 3px solid #d9e8e4;
  border-top-color: #087f82;
  border-radius: 50%;
  animation: courses-loading-spin .8s linear infinite;
}

.courses-loading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.course-loading-card {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 12px;
  border: 1px solid rgba(8, 47, 85, .08);
  border-radius: 18px;
  padding: 0 20px 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 32, 51, .05);
}

.course-loading-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .82) 45%, transparent 65%);
  transform: translateX(-110%);
  animation: courses-loading-shimmer 1.45s ease-in-out infinite;
  content: "";
}

.course-loading-image,
.course-loading-line,
.course-loading-badge {
  display: block;
  border-radius: 8px;
  background: #e7efec;
}

.course-loading-image {
  width: calc(100% + 40px);
  aspect-ratio: 16 / 9;
  margin: 0 -20px 7px;
  border-radius: 0;
  background: #dfeae7;
}

.course-loading-line {
  width: 94%;
  height: 11px;
}

.course-loading-line-title {
  width: 72%;
  height: 18px;
  background: #d5e4e0;
}

.course-loading-line-short {
  width: 58%;
}

.course-loading-badge {
  width: 118px;
  height: 29px;
  margin-top: 8px;
  border-radius: 999px;
  background: #dceae6;
}

.courses-loading-error {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #ead0d0;
  border-radius: 18px;
  padding: 22px 24px;
  color: #6f3434;
  background: #fff8f8;
}

.courses-loading-error-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b55252;
  font-weight: 900;
}

.courses-loading-error > div {
  display: grid;
  flex: 1;
  gap: 3px;
}

.courses-loading-error small {
  color: #8a6767;
}

.courses-loading-error button {
  min-height: 40px;
  border: 1px solid #d9a9a9;
  border-radius: 9px;
  padding: 8px 15px;
  color: #823c3c;
  background: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}

@keyframes courses-loading-spin {
  to { transform: rotate(360deg); }
}

@keyframes courses-loading-shimmer {
  60%, 100% { transform: translateX(110%); }
}

@media (max-width: 920px) {
  .courses-loading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-loading-card:last-child {
    display: none;
  }
}

@media (max-width: 560px) {
  .courses-loading-grid {
    grid-template-columns: 1fr;
  }

  .course-loading-card:nth-child(n + 2) {
    display: none;
  }

  .courses-loading-error {
    align-items: stretch;
    flex-direction: column;
  }

  .courses-loading-error button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .courses-loading-spinner,
  .course-loading-card::after {
    animation: none;
  }
}

@keyframes admin-course-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .admin-login,
  .admin-form-grid,
  .admin-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .admin-login-copy,
  .admin-login-form {
    padding: 36px 28px;
  }

  .admin-dashboard-heading,
  .admin-editor-heading,
  .admin-course-item {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-course-actions {
    flex: none;
    width: 100%;
    justify-content: flex-start;
  }

  .admin-topic-row {
    grid-template-columns: 1fr;
  }

  .admin-topic-remove {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .admin-shell {
    width: min(100% - 24px, 1180px);
  }

  .admin-header-inner > div {
    display: none;
  }

  .admin-header img {
    width: 120px;
  }

  .admin-main {
    padding-top: 28px;
  }

  .admin-editor {
    padding: 22px 16px;
  }

  .admin-heading-actions .admin-button,
  .admin-course-actions .admin-button,
  .admin-form-actions .admin-button {
    flex: 1;
  }
}
.footer-link-list .footer-admin-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}

.footer-link-list .footer-admin-link::before {
  display: none;
}

.footer-link-list .footer-admin-link:hover,
.footer-link-list .footer-admin-link:focus-visible {
  border-color: #efbd5b;
  color: #fff;
  background: rgba(239, 189, 91, .14);
  transform: translateY(-1px);
}
/* Refinamento visual do painel administrativo */
.course-admin-page {
  padding-top: 0 !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(7, 135, 138, .09), transparent 28rem),
    radial-gradient(circle at 92% 84%, rgba(239, 189, 91, .1), transparent 32rem),
    #f2f6f4;
}

.admin-header {
  position: relative;
  z-index: 20;
  border-color: rgba(18, 52, 84, .1);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 28px rgba(18, 52, 84, .04);
  backdrop-filter: blur(16px);
}

.admin-header-inner {
  min-height: 78px;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
}

.admin-header img {
  width: 126px;
}

.admin-header-title {
  line-height: 1.15;
}

.admin-header-title strong {
  color: #153754;
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-left: auto;
  border: 1px solid #d6e1dd;
  border-radius: 9px;
  padding: 7px 13px;
  color: #516a75;
  background: #fff;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .2s, border-color .2s, transform .2s;
}

.admin-back-link:hover,
.admin-back-link:focus-visible {
  color: #087f82;
  border-color: #8dc3bb;
  transform: translateY(-1px);
}

.admin-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 78px);
  padding-block: 44px 64px;
}

.admin-login {
  position: relative;
  grid-template-columns: minmax(0, .94fr) minmax(420px, .86fr);
  width: min(1080px, 100%);
  min-height: 580px;
  margin-inline: auto;
  border: 1px solid rgba(18, 52, 84, .1);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(18, 52, 84, .16);
}

.admin-login-copy {
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(42px, 5vw, 66px);
  background:
    linear-gradient(145deg, rgba(18, 52, 84, .98), rgba(8, 127, 130, .96));
}

.admin-login-copy::before,
.admin-login-copy::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.admin-login-copy::before {
  width: 420px;
  height: 420px;
  right: -245px;
  top: -185px;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .018);
}

.admin-login-copy::after {
  width: 190px;
  height: 190px;
  left: -110px;
  bottom: -115px;
}

.admin-login-copy-content,
.admin-login-highlights {
  position: relative;
  z-index: 1;
}

.admin-login-copy .admin-eyebrow {
  color: #b3e6dc;
}

.admin-login h1 {
  max-width: 520px;
  margin: 20px 0 20px;
  font-size: clamp(2.55rem, 4.5vw, 4.35rem);
  letter-spacing: -.045em;
  line-height: .98;
}

.admin-login-copy p {
  max-width: 460px;
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  line-height: 1.65;
}

.admin-login-highlights {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.admin-login-highlights span {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .84);
  font-size: .83rem;
  font-weight: 600;
}

.admin-login-highlights strong {
  color: #efbd5b;
  font-size: .7rem;
  letter-spacing: .08em;
}

.admin-login-form {
  justify-content: center;
  gap: 18px;
  padding: clamp(42px, 6vw, 74px);
  background: #fff;
}

#admin-setup-form {
  gap: 13px;
  padding-block: clamp(32px, 4vw, 48px);
}

.admin-login-password-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-login-form-heading {
  display: grid;
  justify-items: start;
  margin-bottom: 12px;
}

.admin-login-lock {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 13px;
  color: #087f82;
  background: #e9f5f1;
}

.admin-login-lock svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-login-form-heading h2 {
  margin: 9px 0 10px;
  color: #123454;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.admin-login-form-heading p {
  max-width: 360px;
  margin: 0;
  color: #657981;
  font-size: .9rem;
  line-height: 1.55;
}

.admin-login-form label {
  gap: 9px;
  font-size: .8rem;
}

.admin-login-form input {
  min-height: 56px;
  border-color: #cbdad5;
  border-radius: 12px;
  padding-inline: 16px;
  background: #f9fbfa;
  font-size: .95rem;
}

.admin-login-form input::placeholder {
  color: #99a7ab;
}

.admin-login-submit {
  justify-content: space-between;
  min-height: 54px;
  border-radius: 12px;
  padding-inline: 18px;
  box-shadow: 0 10px 24px rgba(8, 127, 130, .2);
}

.admin-login-submit span {
  font-size: 1.15rem;
  transition: transform .2s;
}

.admin-login-submit:hover span {
  transform: translateX(3px);
}

.admin-login-security {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 2px;
  line-height: 1.45;
}

.admin-login-security > span {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #52ad91;
  box-shadow: 0 0 0 4px #e6f4ef;
}

.admin-current-user {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 7px 14px;
  color: #e2f0ed;
  font-size: .78rem;
  font-weight: 750;
}

#admin-dashboard {
  width: 100%;
}

.admin-dashboard-heading {
  align-items: center;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 22px;
  padding: 34px 38px;
  color: #fff;
  background: linear-gradient(120deg, #123454, #126f76);
  box-shadow: 0 18px 48px rgba(18, 52, 84, .14);
}

.admin-dashboard-heading .admin-eyebrow {
  color: #aee0d7;
}

.admin-dashboard-heading h1 {
  margin-block: 8px 9px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.admin-dashboard-heading p {
  color: rgba(255, 255, 255, .74);
}

.admin-dashboard-heading .admin-button-quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.admin-course-item {
  border-color: rgba(18, 52, 84, .1);
  box-shadow: 0 8px 22px rgba(18, 52, 84, .045);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.admin-course-item:hover {
  border-color: #b7d3cd;
  box-shadow: 0 12px 28px rgba(18, 52, 84, .08);
  transform: translateY(-1px);
}

.admin-editor {
  border-color: rgba(18, 52, 84, .1);
  box-shadow: 0 24px 65px rgba(18, 52, 84, .09);
}

@media (max-width: 860px) {
  .admin-main {
    min-height: 0;
    padding-block: 28px 48px;
  }

  .admin-login {
    grid-template-columns: 1fr;
    max-width: 660px;
  }

  .admin-login-copy {
    min-height: 390px;
  }

  .admin-login h1 {
    max-width: 500px;
    font-size: clamp(2.65rem, 9vw, 4.2rem);
  }

  .admin-dashboard-heading {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .admin-login-password-grid {
    grid-template-columns: 1fr;
  }

  .admin-header-title {
    display: none !important;
  }

  .admin-back-link {
    font-size: .72rem;
  }

  .admin-login {
    border-radius: 20px;
  }

  .admin-login-copy,
  .admin-login-form {
    padding: 32px 24px;
  }

  .admin-login-copy {
    min-height: 350px;
  }

  .admin-login-highlights span {
    font-size: .76rem;
  }

  .admin-dashboard-heading {
    padding: 28px 22px;
  }
}
.admin-identification-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
}

.admin-identification-grid .admin-field-half {
  grid-column: span 3;
}

.admin-identification-grid .admin-field-third {
  grid-column: span 2;
}

@media (max-width: 820px) {
  .admin-identification-grid {
    grid-template-columns: 1fr;
  }

  .admin-identification-grid .admin-field-half,
  .admin-identification-grid .admin-field-third {
    grid-column: auto;
  }
}
.admin-content-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 30px;
  border: 1px solid #d5e1dd;
  border-radius: 12px;
  padding: 5px;
  background: rgba(255, 255, 255, .82);
}

.admin-content-tabs button {
  min-width: 125px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 8px 18px;
  color: #61757d;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-content-tabs button.is-active {
  color: #fff;
  background: #087f82;
  box-shadow: 0 7px 18px rgba(8, 127, 130, .18);
}

.admin-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.admin-section-heading h2 {
  margin: 7px 0 0;
  color: #123454;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -.03em;
}

.admin-checkbox-field {
  display: flex !important;
  align-items: center;
  align-self: end;
  min-height: 56px;
  border: 1px solid #cbdad5;
  border-radius: 10px;
  padding: 10px 13px;
  background: #f9fbfa;
  cursor: pointer;
}

.admin-checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #087f82;
}

.admin-checkbox-field > span {
  display: grid;
  gap: 2px;
}

.admin-checkbox-field strong {
  color: #173650;
  font-size: .82rem;
}

.admin-checkbox-field small {
  color: #73848a;
  font-size: .7rem;
}

.admin-news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.admin-user-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.admin-user-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: #087f82;
  background: #e5f2ee;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.admin-user-password-fields {
  align-items: start;
}

.admin-user-password-fields > label {
  align-self: start;
  align-content: start;
}

.admin-news-thumbnail {
  display: grid;
  overflow: hidden;
  width: 92px;
  height: 70px;
  place-items: center;
  border-radius: 10px;
  color: #087f82;
  background: #e8f2ee;
  font-size: .7rem;
  font-weight: 900;
}

.admin-news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-news-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 38px;
}

#admin-news-list {
  margin-bottom: 0;
}

.admin-news-load-more span {
  color: #667b83;
  font-size: .78rem;
  font-weight: 700;
}

.admin-rich-editor-field {
  display: grid;
  gap: 8px;
}

.admin-rich-editor-label {
  color: #193b58;
  font-size: .86rem;
  font-weight: 750;
}

.admin-rich-editor {
  overflow: hidden;
  border: 1px solid #cbdad5;
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.admin-rich-editor:focus-within {
  border-color: #07878a;
  box-shadow: 0 0 0 3px rgba(7, 135, 138, .13);
}

.admin-rich-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  border-bottom: 1px solid #dce6e2;
  padding: 9px 10px;
  background: #f4f8f6;
}

.admin-editor-toolbar-group {
  display: inline-flex;
  gap: 4px;
}

.admin-rich-editor-toolbar button {
  display: inline-grid;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 10px;
  color: #294b5d;
  background: transparent;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-rich-editor-toolbar button:hover,
.admin-rich-editor-toolbar button:focus-visible {
  outline: none;
  border-color: #b8d3cd;
  color: #087f82;
  background: #fff;
}

.admin-editor-toolbar-divider {
  width: 1px;
  height: 26px;
  background: #d2dfdb;
}

.admin-editor-format-select {
  display: flex !important;
  align-items: center;
  gap: 7px !important;
  font-size: .72rem !important;
}

.course-admin-page .admin-editor-format-select select {
  width: auto;
  min-height: 36px;
  border-radius: 8px;
  padding: 5px 30px 5px 9px;
  font-size: .76rem;
}

.admin-rich-editor-content {
  min-height: 380px;
  max-height: 680px;
  overflow-y: auto;
  padding: 28px 30px;
  color: #314d5c;
  font-size: 1rem;
  line-height: 1.8;
  outline: none;
}

.admin-rich-editor-content:empty::before {
  color: #96a5a8;
  content: attr(data-placeholder);
  pointer-events: none;
}

.admin-rich-editor-content p {
  margin: 0 0 18px;
}

.admin-rich-editor-content h2,
.admin-rich-editor-content h3,
.admin-rich-editor-content h4 {
  margin: 30px 0 12px;
  color: #123454;
  line-height: 1.2;
}

.admin-rich-editor-content h2 { font-size: 1.65rem; }
.admin-rich-editor-content h3 { font-size: 1.3rem; }

.admin-rich-editor-content ul,
.admin-rich-editor-content ol {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding-left: 25px;
}

.admin-rich-editor-content blockquote {
  margin: 24px 0;
  border-left: 4px solid #eab957;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  color: #294b5d;
  background: #f3f7f5;
}

.admin-rich-editor-content a {
  color: #087f82;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-rich-editor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #e1e9e6;
  padding: 9px 14px;
  color: #718187;
  background: #fafcfb;
  font-size: .7rem;
}

.admin-rich-editor-status output {
  flex: 0 0 auto;
  color: #087f82;
  font-weight: 800;
}

.admin-news-preview-dialog {
  width: min(1120px, calc(100% - 32px));
  max-height: 92vh;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 0;
  color: #123454;
  background: #f6f8f5;
  box-shadow: 0 34px 100px rgba(7, 35, 56, .28);
}

.admin-news-preview-dialog::backdrop {
  background: rgba(7, 31, 49, .7);
  backdrop-filter: blur(5px);
}

.admin-news-preview-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dce6e2;
  padding: 16px 22px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}

.admin-news-preview-bar > div {
  display: grid;
  gap: 3px;
}

.admin-news-preview-bar strong {
  font-size: .88rem;
}

.admin-news-preview-article {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 72px);
}

.news-detail-cover.admin-news-preview-cover {
  margin-block: 42px 50px;
}

.news-detail-content.admin-news-preview-content {
  max-width: none;
}

.admin-news-upload {
  display: grid;
  gap: 16px;
}

.admin-upload-drop {
  display: grid !important;
  min-height: 190px;
  place-items: center;
  align-content: center;
  border: 1px dashed #9fc4bc;
  border-radius: 16px;
  padding: 28px;
  color: #173650;
  background: #f2f8f5;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}

.admin-upload-drop:hover {
  border-color: #087f82;
  background: #eaf5f1;
}

.admin-upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #087f82;
  font-size: 1.2rem;
}

.admin-upload-drop strong {
  font-size: .95rem;
}

.admin-upload-drop small {
  max-width: 420px;
  color: #718187;
}

.admin-upload-preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #d5e1dd;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.admin-upload-preview[hidden] {
  display: none !important;
}

.admin-upload-preview img {
  width: 150px;
  height: 92px;
  border-radius: 9px;
  object-fit: cover;
  background: #e9efec;
}

.admin-upload-preview > div {
  display: grid;
  gap: 5px;
}

.admin-upload-preview > div strong {
  color: #173650;
}

.admin-upload-preview > div small {
  color: #718187;
}

.admin-focal-editor {
  display: grid;
  gap: 14px;
  border: 1px solid #d5e1dd;
  border-radius: 16px;
  padding: 18px;
  background: #f8fbf9;
}

.admin-focal-editor[hidden] {
  display: none !important;
}

.admin-focal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-focal-heading > div {
  display: grid;
  gap: 4px;
}

.admin-focal-heading strong {
  color: #173650;
}

.admin-focal-heading small,
#news-focal-output {
  color: #718187;
}

.admin-focal-stage {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 1px solid #b9cec8;
  border-radius: 14px;
  background: #173650;
  cursor: crosshair;
  touch-action: none;
}

.admin-focal-stage:focus-visible {
  outline: 3px solid rgba(8, 127, 130, .24);
  outline-offset: 3px;
}

.admin-focal-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.admin-focal-marker {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(8, 127, 130, .5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.admin-focal-marker::before,
.admin-focal-marker::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.admin-focal-marker::before { width: 12px; height: 2px; }
.admin-focal-marker::after { width: 2px; height: 12px; }

.admin-gallery-hero-editor {
  margin-bottom: 44px;
  border: 1px solid rgba(18, 52, 84, .1);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  box-shadow: 0 20px 55px rgba(18, 52, 84, .08);
}

.admin-gallery-hero-editor .admin-editor-heading {
  margin-bottom: 26px;
}

.admin-gallery-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(145deg, #123454, #087f82);
}

.admin-gallery-hero-slot {
  display: grid;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 32px rgba(4, 32, 54, .18);
}

.admin-gallery-hero-slot-primary {
  grid-row: 1 / 3;
}

.admin-gallery-hero-photo {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  min-height: 215px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #dbeae6, #c5dcd8);
  cursor: pointer;
}

.admin-gallery-hero-slot-primary .admin-gallery-hero-photo {
  min-height: 490px;
}

.admin-gallery-hero-photo::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(5, 35, 58, .74));
  content: "";
  pointer-events: none;
}

.admin-gallery-hero-photo:hover img,
.admin-gallery-hero-photo:focus-visible img {
  transform: scale(1.025);
}

.admin-gallery-hero-photo:focus-visible {
  outline: 3px solid #efbd5b;
  outline-offset: 3px;
}

.admin-gallery-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.admin-gallery-hero-photo img[hidden] {
  display: none !important;
}

.admin-gallery-hero-photo strong {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  text-align: left;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-gallery-hero-placeholder {
  color: #345a68;
  font-size: .84rem;
  font-weight: 850;
}

.admin-gallery-hero-placeholder[hidden] {
  display: none !important;
}

.admin-gallery-hero-position {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.admin-gallery-hero-position label {
  display: grid;
  grid-template-columns: 74px minmax(80px, 1fr);
  gap: 9px;
  align-items: center;
  color: #415f6c;
  font-size: .7rem;
}

.admin-gallery-hero-position input {
  width: 100%;
  accent-color: #087f82;
}

.admin-gallery-hero-position output {
  min-width: 34px;
  color: #087f82;
  font-size: .7rem;
  font-weight: 850;
}

.admin-gallery-hero-picker {
  margin-top: 22px;
}

.admin-gallery-hero-picker .admin-gallery-picker-heading > div {
  display: grid;
  gap: 4px;
}

.admin-gallery-hero-album-filter {
  display: grid;
  grid-template-columns: auto minmax(220px, 420px);
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
  color: #173650;
  font-size: .78rem;
  font-weight: 800;
}

.admin-gallery-hero-album-filter select {
  min-height: 44px;
  border: 1px solid #cbdad5;
  border-radius: 9px;
  padding: 8px 12px;
  color: #173650;
  background: #fff;
  font: inherit;
}

.admin-gallery-hero-actions {
  align-items: center;
  margin-top: 20px;
}

.admin-gallery-hero-actions small {
  color: #718187;
}

.admin-gallery-drive-action {
  display: flex;
  align-self: end;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-height: 56px;
}

.admin-gallery-drive-action .admin-button {
  align-self: flex-start;
}

.admin-gallery-drive-action small,
.admin-gallery-picker-heading small {
  color: #718187;
}

.admin-gallery-picker {
  margin-top: 20px;
  border: 1px solid #cbdad5;
  border-radius: 16px;
  padding: 18px;
  background: #f6faf8;
}

.admin-gallery-picker[hidden] {
  display: none !important;
}

.admin-gallery-picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  color: #173650;
}

.admin-gallery-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding: 2px 5px 2px 2px;
}

.admin-gallery-picker-grid button {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 3px solid transparent;
  border-radius: 11px;
  padding: 0;
  background: #dfeae6;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.admin-gallery-picker-grid button:hover,
.admin-gallery-picker-grid button:focus-visible {
  border-color: #87bdb5;
  outline: none;
  transform: translateY(-2px);
}

.admin-gallery-picker-grid button.is-selected {
  border-color: #087f82;
  box-shadow: 0 0 0 3px rgba(8, 127, 130, .16);
}

.admin-gallery-picker-grid button.is-selected::after {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #087f82;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  content: "✓";
  font-size: .78rem;
  font-weight: 900;
}

.admin-gallery-picker-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gallery-cover {
  display: grid;
  gap: 18px;
}

.admin-gallery-cover-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px dashed #9fc4bc;
  border-radius: 16px;
  padding: 28px;
  color: #657981;
  background: #f2f8f5;
  text-align: center;
}

.admin-gallery-cover-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid #b9cec8;
  border-radius: 16px;
  background: #173650;
}

.admin-gallery-cover-preview[hidden],
.admin-gallery-focal-controls[hidden] {
  display: none !important;
}

.admin-gallery-cover-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gallery-cover-preview span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(18, 52, 84, .84);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-gallery-focal-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid #d5e1dd;
  border-radius: 14px;
  padding: 16px;
  background: #f8fbf9;
}

.admin-gallery-focal-controls > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  align-items: center;
}

.admin-gallery-focal-controls label {
  grid-column: 1 / -1;
}

.admin-gallery-focal-controls input[type="range"] {
  width: 100%;
  accent-color: #087f82;
}

.admin-gallery-focal-controls output {
  color: #087f82;
  font-size: .76rem;
  font-weight: 850;
}

@media (max-width: 720px) {
  .admin-content-tabs {
    display: flex;
  }

  .admin-content-tabs button {
    flex: 1;
    min-width: 0;
  }

  .admin-section-heading,
  .admin-news-item,
  .admin-user-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-section-heading {
    flex-direction: column;
  }

  .admin-news-thumbnail {
    width: 100%;
    height: 150px;
  }

  .admin-news-load-more {
    flex-direction: column;
  }

  .admin-rich-editor-toolbar {
    align-items: stretch;
  }

  .admin-editor-toolbar-divider {
    display: none;
  }

  .admin-rich-editor-content {
    min-height: 320px;
    padding: 22px 18px;
  }

  .admin-rich-editor-status,
  .admin-news-preview-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-news-preview-bar .admin-button {
    width: 100%;
  }

  .admin-news-preview-article {
    padding: 28px 18px 42px;
  }

  .admin-user-avatar {
    width: 46px;
    height: 46px;
  }

  .admin-upload-preview {
    grid-template-columns: 1fr;
  }

  .admin-upload-preview img {
    width: 100%;
    height: 180px;
  }

  .admin-focal-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-gallery-picker-heading,
  .admin-gallery-focal-controls {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-gallery-picker-heading {
    flex-direction: column;
  }

  .admin-gallery-cover-preview {
    aspect-ratio: 4 / 3;
  }

  .admin-gallery-hero-editor {
    padding: 22px 16px;
  }

  .admin-gallery-hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .admin-gallery-hero-slot-primary {
    grid-row: auto;
  }

  .admin-gallery-hero-slot-primary .admin-gallery-hero-photo,
  .admin-gallery-hero-photo {
    min-height: 260px;
  }

  .admin-gallery-hero-album-filter {
    grid-template-columns: 1fr;
  }
}
.news-detail-page {
  background: #f6f8f5;
}

.news-detail-main {
  padding: clamp(70px, 9vw, 125px) 0 120px;
}

.news-detail-article {
  max-width: 1040px;
}

.news-detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 50px;
  border: 1px solid #c7ddd7;
  border-radius: 999px;
  padding: 8px 15px;
  color: #087f82;
  background: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s, border-color .2s, background-color .2s;
}

.news-detail-back:hover {
  border-color: #087f82;
  color: #fff;
  background: #087f82;
}

.news-detail-header {
  max-width: 1000px;
}

.news-detail-header > span {
  color: #087f82;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.news-detail-header time {
  display: block;
  margin-top: 18px;
  color: #728087;
  font-size: .78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.news-detail-header h1 {
  margin: 18px 0 24px;
  color: #123454;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.news-detail-header p {
  max-width: 780px;
  margin: 0;
  color: #596c73;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.news-detail-cover {
  display: flex;
  overflow: hidden;
  justify-content: center;
  margin: 55px 0 65px;
  border-radius: 24px;
  padding: 10px;
  background: #e5ece8;
  box-shadow: 0 24px 60px rgba(18, 52, 84, .12);
}

.news-detail-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 780px;
  border-radius: 16px;
  object-fit: contain;
}

.news-detail-content {
  max-width: 880px;
  margin-inline: auto;
  border: 1px solid rgba(18, 52, 84, .08);
  border-radius: 24px;
  padding: clamp(28px, 6vw, 68px);
  color: #40555e;
  background: #fff;
  font-size: 1.08rem;
  line-height: 1.9;
  box-shadow: 0 20px 55px rgba(18, 52, 84, .07);
}

.news-detail-content p {
  margin: 0 0 25px;
  white-space: pre-line;
}

.news-detail-content > :first-child {
  margin-top: 0;
}

.news-detail-content > :last-child {
  margin-bottom: 0;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
  margin: 44px 0 16px;
  color: #123454;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.news-detail-content h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.news-detail-content h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.news-detail-content ul,
.news-detail-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding-left: 24px;
}

.news-detail-content li::marker {
  color: #087f82;
  font-weight: 800;
}

.news-detail-content a {
  color: #087f82;
  font-weight: 750;
  text-underline-offset: 3px;
}

.news-detail-content blockquote {
  margin: 34px 0;
  border-left: 4px solid #eab957;
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  color: #294a5b;
  background: #f4f8f6;
  font-size: 1.12rem;
}

.news-detail-content figure,
.news-detail-content .wp-block-image {
  margin: 38px 0;
}

.news-detail-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 16px;
}

.news-detail-content figcaption {
  margin-top: 10px;
  color: #74848a;
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}

.news-detail-error {
  margin-top: 35px;
  border-radius: 14px;
  padding: 20px;
  color: #8b3434;
  background: #fff0f0;
}

@media (max-width: 600px) {
  .news-detail-main {
    padding-top: 50px;
  }

  .news-detail-back {
    margin-bottom: 34px;
  }

  .news-detail-cover {
    margin-block: 38px 45px;
    border-radius: 16px;
  }

  .news-detail-content {
    border-radius: 18px;
    padding: 25px 20px;
    font-size: 1rem;
  }
}
