/*
Theme Name: Instituto Saber
Theme URI: https://colegioinstitutosaber.com.br
Description: Tema do Instituto Saber, com Home institucional e Mural de avisos, eventos e galerias de fotos.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: instituto-saber
*/

/* =========================================================
   Instituto Saber — estilos
   ========================================================= */

/* ---------- Fontes (hospedadas no tema) ---------- */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --blue: #013CC6;
  --blue-600: #0233AA;
  --blue-800: #022A85;
  --navy: #021A3D;
  --sky: #00A8FF;
  --orange: #D45A29;
  --orange-2: #FC7E06;
  --cream: #FFF7EF;
  --paper: #F5F7FC;
  --ink: #0B1630;
  --muted: #5B6478;
  --line: #E4E8F2;
  --white: #fff;

  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 20px 50px -20px rgba(2, 26, 61, .25);
  --shadow-sm: 0 8px 24px -12px rgba(2, 26, 61, .2);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
svg { flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn svg.wa { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:not(.wa) { transform: translateX(4px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--orange { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: 0 12px 28px -10px rgba(212, 90, 41, .7); }
.btn--orange:hover { box-shadow: 0 18px 34px -10px rgba(212, 90, 41, .8); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange-2); }

.title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.title--light { color: #fff; }

.hl { position: relative; isolation: isolate; color: var(--blue); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em;
  background: var(--orange-2); opacity: .28; border-radius: 6px; z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform .9s .3s var(--ease);
}
.is-visible .hl::after, .is-visible.hl::after, .hero .hl::after { transform: scaleX(1); }
.hl--orange { color: var(--orange-2); }
.hl--orange::after { background: #fff; opacity: .15; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-size: 14px; font-weight: 600;
  backdrop-filter: blur(8px);
}
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 0 0 rgba(252, 126, 6, .7); animation: pulse 2s infinite; }
.pill--light { background: rgba(255, 255, 255, .14); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(252, 126, 6, .7); }
  70% { box-shadow: 0 0 0 10px rgba(252, 126, 6, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 126, 6, 0); }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 16px 0;
  transition: padding .35s var(--ease);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.header.is-scrolled { padding: 10px 0; }
.header.is-scrolled .header__bar {
  background: rgba(1, 50, 170, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 12px 30px -14px rgba(2, 26, 61, .55);
}
.header__logo { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-size: 18px; font-weight: 500; }
.header__logo img { width: 44px; height: auto; }
.header__logo strong { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: color .25s, background .25s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.nav__cta { margin-left: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #0A4DE0 0%, var(--blue) 45%, var(--blue-800) 100%);
  color: #fff;
  padding: calc(var(--header-h) + 70px) 0 150px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: var(--sky); top: -180px; right: -120px; opacity: .4; }
.blob--2 { width: 380px; height: 380px; background: var(--orange-2); bottom: -120px; left: -100px; opacity: .35; animation-delay: -5s; }
.blob--3 { width: 260px; height: 260px; background: #7C9BFF; top: 40%; left: 45%; opacity: .25; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.06); }
  66% { transform: translate(-20px, 25px) scale(.96); }
}

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; }
.hero__title { font-size: clamp(44px, 6.6vw, 84px); font-weight: 800; letter-spacing: -.035em; margin: 26px 0 24px; }
.hero__title .hl { color: #fff; }
.hero__title .hl::after { background: var(--orange-2); opacity: .9; height: .22em; bottom: .02em; }
.hero__word { color: var(--orange-2); display: inline-block; }
.hero__lead { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.stats { display: flex; gap: 40px; margin: 52px 0 0; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .16); }
.stats div { margin: 0; }
.stats dt { font-family: var(--font-head); font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stats dd { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); }

.hero__visual { position: relative; justify-self: center; width: min(460px, 100%); }
.hero__photo {
  position: relative; aspect-ratio: 524 / 614; border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: linear-gradient(180deg, #4F7CFF, var(--orange-2));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  border: 8px solid rgba(255, 255, 255, .14);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__visual:hover .hero__photo img { transform: scale(1.04); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card--a { top: 14%; left: -60px; }
.float-card--b { bottom: 12%; right: -40px; animation-delay: -3s; }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #FFE9D9; color: var(--orange); }
.float-card__icon--blue { background: #E3EBFF; color: var(--blue); }
.float-card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__doodle { position: absolute; width: 120px; top: -30px; right: -20px; fill: none; stroke: var(--orange-2); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--orange); }

/* ---------- Marquee ---------- */
.marquee { background: var(--orange); color: #fff; overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-head); font-weight: 600; font-size: 20px; white-space: nowrap; }
.marquee__track i { font-style: normal; color: #FFD3B8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: 120px 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 30px; margin-bottom: 48px; }
.section__head--row .title { margin-bottom: 0; }
.section__lead { font-size: 18px; color: rgba(255, 255, 255, .75); }
.section__lead--dark { color: var(--muted); }

/* ---------- Sobre ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__gallery {
  position: relative; display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr; grid-template-rows: 150px 120px 150px 120px;
}
.g { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g:hover img { transform: scale(1.07); }
.g--1 { grid-row: 1 / 4; }
.g--2 { grid-row: 1 / 2; }
.g--3 { grid-row: 4 / 5; }
.g--4 { grid-row: 2 / 5; }
.about__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--blue); color: #fff; border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.about__badge strong { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; opacity: .8; }
.about__badge span { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; }
.about__badge::before {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 2px dashed rgba(1, 60, 198, .35); animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about__text p { color: var(--muted); font-size: 17.5px; }
.about__text strong { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checks li::before {
  content: ""; flex: 0 0 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  background: var(--orange-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Diferenciais ---------- */
.features { background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; border-radius: 48px 48px 0 0; }
.features::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 60, 198, .55), transparent 65%);
  top: -250px; right: -200px; z-index: -1;
}
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
  overflow: hidden;
}
.feat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(252, 126, 6, .16), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.feat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); border-color: rgba(252, 126, 6, .4); }
.feat:hover::after { opacity: 1; }
.feat h3 { font-size: 19px; font-weight: 600; margin-top: 22px; }
.feat p { margin: 12px 0 0; color: rgba(255, 255, 255, .7); font-size: 16px; }
.feat__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(252, 126, 6, .14); color: var(--orange-2);
  transition: transform .4s var(--ease), background .4s, color .4s;
}
.feat:hover .feat__icon { transform: rotate(-8deg) scale(1.08); background: var(--orange-2); color: #fff; }
.feat__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.feat--big { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--blue), var(--blue-800)); border-color: transparent; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.feat--big h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
.feat--big p { font-size: 18px; max-width: 420px; }
.feat--big .feat__icon { margin-bottom: auto; background: rgba(255, 255, 255, .14); color: #fff; width: 64px; height: 64px; }
.feat--big:hover { background: linear-gradient(150deg, #0A4DE0, var(--blue)); }
.feat--wide { grid-column: span 2; background: linear-gradient(135deg, var(--orange-2), var(--orange)); border-color: transparent; }
.feat--wide .feat__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.feat--wide p { color: rgba(255, 255, 255, .9); }
.feat--wide:hover { background: linear-gradient(135deg, #FF8B1A, var(--orange)); border-color: transparent; }
.feat--wide:hover .feat__icon { background: #fff; color: var(--orange); }

/* ---------- Programas ---------- */
.programs { background: var(--paper); }
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.journey__line { position: absolute; left: 6%; right: 6%; top: 62px; height: 3px; background: var(--line); border-radius: 3px; }
.journey__progress { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange-2), var(--sky), var(--blue), var(--orange)); border-radius: inherit; transition: width 1.8s var(--ease); }
.journey.is-visible .journey__progress { width: 100%; }

.stage {
  position: relative; padding: 30px 26px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.stage:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.stage::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.stage:hover::before { transform: scaleX(1); }
.stage__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--c); opacity: .14; transition: opacity .4s; }
.stage:hover .stage__num { opacity: .35; }
.stage__icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: var(--c); color: #fff; margin-bottom: 26px;
  box-shadow: 0 12px 24px -10px var(--c);
  transition: transform .45s var(--ease);
}
.stage:hover .stage__icon { transform: rotate(-6deg) scale(1.06); }
.stage__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stage h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.stage p { color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--navy); }

/* ---------- Depoimentos ---------- */
.slider-nav { display: flex; gap: 10px; }
.round-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--navy);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.06); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 2px 30px; scrollbar-width: none; outline: none;
}
.slider::-webkit-scrollbar { display: none; }
.quote {
  scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 34px; border-radius: var(--radius-lg); background: var(--cream);
  border: 1px solid #F7E3D2; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote::before { content: "“"; position: absolute; right: 22px; top: -10px; font-family: Georgia, serif; font-size: 160px; line-height: 1; color: var(--orange-2); opacity: .15; }
.stars { color: var(--orange-2); letter-spacing: 3px; font-size: 18px; }
.quote blockquote { margin: 18px 0 28px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--navy); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption strong { display: block; font-family: var(--font-head); font-size: 15px; }
.quote figcaption small { color: var(--muted); font-size: 13.5px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--orange-2); color: #fff; }
.quote--blue { background: var(--blue); border-color: transparent; }
.quote--blue blockquote, .quote--blue figcaption strong { color: #fff; }
.quote--blue figcaption small { color: rgba(255, 255, 255, .7); }
.quote--blue::before { color: #fff; }
.quote--blue .avatar { background: #fff; color: var(--blue); }

/* ---------- CTA ---------- */
.cta { padding-top: 40px; }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center;
  padding: 56px; border-radius: 40px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 100%);
  color: #fff;
}
.blob--cta { width: 460px; height: 460px; background: var(--orange-2); right: -160px; bottom: -200px; opacity: .45; z-index: -1; }
.cta__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1; border: 6px solid rgba(255, 255, 255, .15); transform: rotate(-2.5deg); transition: transform .6s var(--ease); }
.cta__card:hover .cta__photo { transform: rotate(0); }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta__text h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; margin: 22px 0 18px; }
.cta__text p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 520px; }
.cta__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.cta__phone { font-family: var(--font-head); font-weight: 600; font-size: 18px; opacity: .9; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); margin-top: 120px; padding: 80px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; }
.footer__brand p { margin-top: 20px; max-width: 360px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.footer__col a { transition: color .25s; width: fit-content; }
.footer__col a:hover { color: var(--orange-2); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.to-top:hover { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
  transform: scale(0); transition: transform .45s var(--ease);
}
.wa-float.is-shown { transform: scale(1); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Notícias: componentes comuns ---------- */
.btn--outline { color: var(--blue); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.news-card__link { display: flex; flex-direction: column; height: 100%; }
.news-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__img .tag-cat { position: absolute; top: 14px; left: 14px; }
.news-card__photos {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(2, 26, 61, .7); color: #fff; backdrop-filter: blur(6px);
}
.news-card__photos svg, .news-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.news-card__body time { font-size: 13px; font-weight: 600; color: var(--muted); }
.news-card__body h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 8px 0 10px; line-height: 1.3; }
.news-card__body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; flex: 1; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--orange); }
.news-card__more svg { transition: transform .3s var(--ease); }
.news-card:hover .news-card__more svg { transform: translateX(4px); }

.tag-cat { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.tag-cat--orange { background: var(--orange-2); }
.tag-cat--blue { background: var(--blue); }
.tag-cat--sky { background: var(--sky); }

.home-news { padding-top: 0; }

/* ---------- Página de notícias ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(120% 120% at 0% 0%, #0A4DE0 0%, var(--blue) 45%, var(--blue-800) 100%);
  padding: calc(var(--header-h) + 70px) 0 140px;
}
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.03em; margin: 22px 0 18px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 18px; color: rgba(255, 255, 255, .8); }
.hero__wave--paper { fill: var(--paper); }

.news-page { background: var(--paper); padding: 30px 0 120px; }

.agenda { background: #fff; border-radius: var(--radius-lg); padding: 30px; margin-bottom: 56px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.agenda[hidden] { display: none; }
.agenda__head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.agenda__head .eyebrow { margin: 0; }
.agenda__head h2 { font-size: 26px; color: var(--navy); }
.agenda__list { display: grid; gap: 12px; }
.agenda-item { display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--paper); transition: background .3s, transform .3s var(--ease); }
.agenda-item:hover { background: #FFF1E5; transform: translateX(6px); }
.agenda-item__date, .event-box__date {
  flex: 0 0 68px; height: 68px; border-radius: 16px; display: grid; place-content: center; text-align: center;
  background: var(--orange-2); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; text-transform: uppercase; line-height: 1.1;
}
.agenda-item__date strong, .event-box__date strong { display: block; font-size: 26px; font-weight: 800; }
.agenda-item__info { flex: 1; min-width: 0; }
.agenda-item__info > strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--navy); line-height: 1.3; }
.agenda-item__info small, .event-box small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin-top: 6px; color: var(--muted); font-size: 14px; }
.agenda-item__info small i, .event-box small i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 8px; }
.agenda-item svg, .event-box svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.agenda-item__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); flex-shrink: 0; }
.agenda-item__go svg { width: 18px; height: 18px; }

.news-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  transition: background .25s, color .25s, border-color .25s;
}
.chip small { font-size: 12px; margin-left: 4px; opacity: .55; }
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); min-width: 280px; transition: border-color .25s; }
.search:focus-within { border-color: var(--blue); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; padding: 12px 0; width: 100%; color: var(--ink); }
.news-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Página de uma notícia ---------- */
.article__hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #0A4DE0 0%, var(--blue) 45%, var(--blue-800) 100%);
  padding: calc(var(--header-h) + 56px) 0 200px;
}
.article__hero-inner { max-width: 860px; }
.back-link { display: inline-block; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .75); margin-bottom: 26px; transition: color .25s, transform .25s var(--ease); }
.back-link:hover { color: #fff; transform: translateX(-4px); }
.article__meta { display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.article__hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 20px 0 18px; letter-spacing: -.03em; }
.article__lead { font-size: 19px; color: rgba(255, 255, 255, .82); margin: 0; }
.article__body { max-width: 900px; margin-top: -150px; position: relative; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--paper); border: 6px solid #fff; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__content { max-width: 720px; margin: 50px auto 0; font-size: 18px; color: #2A3550; }
.article__content p { margin-bottom: 1.3em; }

.event-box { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 20px; background: #FFF4EA; border: 1px solid #FBDCC4; margin-bottom: 34px; }
.event-box > div:last-child { display: flex; flex-direction: column; }
.event-box__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.event-box > div > strong { font-family: var(--font-head); font-size: 18px; color: var(--navy); }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 26px; margin-top: 10px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.share__btn { font: inherit; font-size: 14px; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); transition: border-color .25s, color .25s; }
.share__btn:hover { border-color: var(--orange); color: var(--orange); }

.gallery { margin-top: 70px; }
.gallery h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; color: var(--navy); margin-bottom: 24px; }
.gallery h2 svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }
.gallery h2 small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--muted); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--paper); }
.gallery__grid--mosaic .gallery__item:nth-child(5n + 1) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(2, 26, 61, .45)); opacity: 0; transition: opacity .35s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }

.more-news { background: var(--paper); margin-top: 100px; }
.article__missing { text-align: center; padding: calc(var(--header-h) + 120px) 0 80px; }
.article__missing h1 { font-size: 40px; color: var(--navy); margin-bottom: 14px; }
.article__missing p { color: var(--muted); margin-bottom: 28px; }

.subpage .footer { margin-top: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: center;
  background: rgba(2, 14, 34, .95); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { grid-column: 2; grid-row: 1; height: 100%; display: grid; place-items: center; padding: 70px 10px 20px; min-width: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 200px); border-radius: 14px; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .35s, transform .35s var(--ease); user-select: none; -webkit-user-drag: none; }
.lightbox__stage img.is-in { opacity: 1; transform: none; }
.lightbox__nav, .lightbox__close {
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; transition: background .25s;
}
.lightbox__nav:hover, .lightbox__close:hover { background: var(--orange-2); }
.lightbox__nav { margin: 0 20px; grid-row: 1; }
.lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__counter { position: absolute; top: 32px; left: 28px; color: rgba(255, 255, 255, .8); font-family: var(--font-head); font-weight: 600; }
.lightbox__thumbs { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; gap: 10px; padding: 16px 20px 24px; overflow-x: auto; }
.lightbox__thumbs button { flex: 0 0 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .5; background: none; transition: opacity .25s, border-color .25s; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--orange-2); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   WordPress
   ========================================================= */

.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

a.chip { display: inline-block; }

/* Paginação */
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; background: #fff; border: 1.5px solid var(--line); color: var(--navy);
  transition: background .25s, color .25s, border-color .25s;
}
.pagination a.page-numbers:hover { border-color: var(--blue); }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border: 0; background: none; }

/* Conteúdo vindo do editor */
.entry > * + * { margin-top: 1.2em; }
.entry p { margin: 0; }
.entry h2, .entry h3 { color: var(--navy); margin-top: 1.6em; }
.entry h2 { font-size: 28px; }
.entry h3 { font-size: 22px; }
.entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry img { border-radius: 16px; height: auto; }
.entry figure { margin: 1.6em 0; }
.entry figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange-2); font-size: 1.08em; color: var(--navy); }
.entry .wp-block-gallery { gap: 10px; }
.entry .alignwide, .entry .alignfull { max-width: none; }

/* Páginas genéricas */
.page-hero--compact { padding-bottom: 120px; }
.page-content { max-width: 820px; padding: 40px 0 120px; font-size: 18px; color: #2A3550; }
.page-list-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.page-list-item h2 { font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.page-list-item p { margin: 0; color: var(--muted); }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal--scale { transform: scale(.92); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Topo das páginas: visível desde o primeiro quadro (sem esperar o JS), só desliza */
.rise { animation: rise .9s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { transform: translateY(26px); } to { transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .stats { justify-content: center; }
  .float-card--a { left: -30px; }
  .float-card--b { right: -20px; }
  .about__inner { grid-template-columns: 1fr; gap: 60px; }
  .about__gallery { max-width: 560px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey__line { display: none; }
  .slider { grid-auto-columns: calc((100% - 24px) / 2); }
  .cta__card { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .cta__photo { max-width: 380px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px;
    background: rgba(2, 26, 61, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a:not(.btn) { font-family: var(--font-head); font-size: 26px; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s var(--ease); }
  .nav .nav__cta { margin: 20px 0 0; font-size: 16px; padding: 16px 28px; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open a:nth-child(4) { transition-delay: .15s; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 84px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 120px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .stats { gap: 22px; justify-content: space-between; }
  .stats dt { font-size: 30px; }
  .stats dd { font-size: 12.5px; }
  .float-card { padding: 10px 14px 10px 10px; }
  .float-card--a { left: -6px; top: 8%; }
  .float-card--b { right: -6px; }
  .float-card__icon { width: 36px; height: 36px; }
  .header__logo span { display: none; }
  .about__gallery { grid-template-rows: 110px 90px 110px 90px; gap: 10px; }
  .about__badge { width: 104px; height: 104px; }
  .about__badge span { font-size: 26px; }
  .bento, .journey { grid-template-columns: 1fr; }
  .feat--big, .feat--wide { grid-column: auto; }
  .feat--big { min-height: 260px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .slider { grid-auto-columns: 88%; }
  .quote { padding: 28px; }
  .cta__card { padding: 28px 22px; border-radius: 28px; }
  .cta__actions .btn { width: 100%; }
  .footer { margin-top: 84px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .features { border-radius: 32px 32px 0 0; }
  .news-grid { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .agenda { padding: 22px 18px; }
  .agenda-item { gap: 14px; }
  .agenda-item__go { display: none; }
  .agenda-item__date, .event-box__date { flex-basis: 58px; height: 58px; }
  .article__body { margin-top: -130px; }
  .article__content { font-size: 17px; margin-top: 34px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__stage { grid-column: 1; padding: 70px 12px 10px; }
  .lightbox__nav { display: none; }
  .page-hero p, .article__lead { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__doodle { stroke-dashoffset: 0; }
  .journey__progress { width: 100%; }
  .wa-float { transform: scale(1); }
}
