@import url("../fonts/fonts.css");

/* =========================================================
   IDFG — Instituto Dom Fernando Gomes
   Modelo de site — R2 Agência Digital
   ========================================================= */

:root {
  /* Marca */
  --navy-900: #0d1738;
  --navy-800: #16255e;
  --navy-700: #263775;
  --navy-600: #33488f;
  --blue-500: #0a9cd8;
  --blue-400: #35b3e6;
  --blue-100: #e4f3fb;
  --blue-50: #f2f9fd;
  --gold: #f2b544;
  --gold-dark: #d99a22;

  /* Neutros */
  --ink: #101828;
  --ink-soft: #475467;
  --ink-mute: #667085;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;

  /* Layout */
  --wrap: 1240px;
  --gut: 24px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(13, 23, 56, .16);

  --ff-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--navy-800);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
  text-wrap: balance;
}
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilitários ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.sec { padding: clamp(64px, 8vw, 110px) 0; }
.sec--soft { background: var(--bg-soft); }
.sec--navy { background: var(--navy-800); color: #cfd8f0; }
.sec--navy h2, .sec--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.sec--navy .eyebrow { color: var(--gold); }

.h-xl { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(2rem, 3.7vw, 2.9rem); }
.h-md { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-soft); }
.sec--navy .lead { color: #b9c5e6; }
.max-60 { max-width: 62ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 20px rgba(10, 156, 216, .3); }
.btn--primary:hover { background: var(--navy-700); box-shadow: 0 12px 28px rgba(38, 55, 117, .32); transform: translateY(-2px); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--line { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn--line:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; color: var(--blue-500);
}
.link-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  background: var(--navy-900); color: #a9b6d8;
  font-size: 13.5px; line-height: 1;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; transition: color .2s; }
.topbar__list a:hover { color: #fff; }
.topbar__list svg { width: 14px; height: 14px; opacity: .8; }
.topbar__sep { width: 1px; height: 15px; background: rgba(255, 255, 255, .15); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.topbar__social a:hover { background: var(--blue-500); color: #fff; }
.topbar__social svg { width: 14px; height: 14px; opacity: 1; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 90; background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 24, 40, .09); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand__mark { color: var(--navy-800); width: 92px; }
.brand__mark svg, .brand__mark img { width: 100%; height: auto; }
.brand__txt { border-left: 1px solid var(--line); padding-left: 13px; }
.brand__txt strong {
  display: block; font-family: var(--ff-display); font-size: 13px; font-weight: 700;
  color: var(--navy-800); line-height: 1.25; letter-spacing: -.01em;
}
.brand__txt span { display: block; font-size: 11.5px; color: var(--blue-500); font-weight: 500; letter-spacing: .04em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li > a {
  display: block; padding: 10px 13px; border-radius: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--navy-800);
  transition: all .2s;
}
.nav__list > li > a:hover { background: var(--blue-50); color: var(--blue-500); }
.nav__list > li > a[aria-current="page"] { color: var(--blue-500); }
.nav__has { position: relative; }
.nav__has > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 2px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); opacity: .5;
}
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s var(--ease);
}
.nav__has:hover .nav__sub, .nav__has:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 10px 14px; border-radius: 9px; font-size: 14.5px;
  font-weight: 500; color: var(--ink-soft); transition: all .18s;
}
.nav__sub a:hover { background: var(--blue-50); color: var(--blue-500); }
.header__cta { flex: none; }
.nav > .btn { display: none; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  place-items: center; margin-left: auto;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; position: relative; transition: all .25s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: inherit; border-radius: 2px;
  transition: all .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--navy-800); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--navy-800); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease);
  background-size: cover; background-position: center 38%;
  transform: scale(1.06);
}
.hero__slide.is-on { opacity: 1; animation: heroZoom 9s linear forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(13, 23, 56, .94) 0%, rgba(13, 23, 56, .82) 42%, rgba(13, 23, 56, .34) 78%, rgba(13, 23, 56, .5) 100%),
    linear-gradient(0deg, rgba(13, 23, 56, .55), rgba(13, 23, 56, 0) 45%);
}
.hero__in { position: relative; z-index: 2; padding-block: clamp(70px, 10vw, 130px) clamp(120px, 12vw, 150px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; color: #fff; font-size: 13.5px; font-weight: 500;
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero__badge b {
  background: var(--gold); color: var(--navy-900); font-family: var(--ff-display);
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em;
  white-space: nowrap;
}
.hero h1 {
  color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.35rem); font-weight: 800;
  letter-spacing: -.035em; max-width: 17ch; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--blue-400); }
.hero__lead { color: #c6d1ee; font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 54ch; margin-bottom: 34px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; }

/* atalhos sobrepostos */
.quick { position: relative; z-index: 3; margin-top: -78px; }
.quick__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.quick__item {
  background: #fff; padding: 30px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: all .25s var(--ease); position: relative;
}
.quick__item:hover { background: var(--navy-800); }
.quick__ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-500); transition: all .25s var(--ease);
}
.quick__ico svg { width: 22px; height: 22px; }
.quick__item:hover .quick__ico { background: var(--blue-500); color: #fff; }
.quick__item h3 { font-size: 17px; transition: color .25s; }
.quick__item p { font-size: 14px; color: var(--ink-mute); line-height: 1.5; transition: color .25s; }
.quick__item:hover h3 { color: #fff; }
.quick__item:hover p { color: #a9b6d8; }

/* =========================================================
   Números
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 0 10px; }
.stat__n {
  font-family: var(--ff-display); font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 800;
  color: var(--navy-800); line-height: 1; letter-spacing: -.04em; display: block;
}
.stat__n span { color: var(--blue-500); }
.stat__l { font-size: 14.5px; color: var(--ink-mute); margin-top: 10px; display: block; }
.sec--navy .stat__n { color: #fff; }
.sec--navy .stat__n span { color: var(--gold); }
.sec--navy .stat__l { color: #a9b6d8; }

/* =========================================================
   Cabeçalho de seção
   ========================================================= */
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { margin-top: 16px; }
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-head--split > div { max-width: 640px; }

/* =========================================================
   Níveis de ensino
   ========================================================= */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.level {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 430px;
  display: flex; align-items: flex-end; isolation: isolate; background: var(--navy-800);
}
.level img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .7s var(--ease);
}
.level::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 23, 56, 0) 28%, rgba(13, 23, 56, .55) 58%, rgba(13, 23, 56, .94) 100%);
  transition: background .4s;
}
.level:hover img { transform: scale(1.07); }
.level:hover::after { background: linear-gradient(180deg, rgba(10, 156, 216, .12) 10%, rgba(13, 23, 56, .7) 50%, rgba(13, 23, 56, .97) 100%); }
.level__body { padding: 26px 24px 28px; color: #fff; width: 100%; }
.level__tag {
  display: inline-block; font-family: var(--ff-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900);
  background: var(--gold); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.level h3 { color: #fff; font-size: 1.32rem; margin-bottom: 8px; }
.level p { font-size: 14.5px; color: #c6d1ee; line-height: 1.55; }
.level__go {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; font-size: 14.5px; color: var(--blue-400);
}
.level__go svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.level:hover .level__go svg { transform: translateX(4px); }

/* =========================================================
   Diferenciais
   ========================================================= */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; transition: all .3s var(--ease);
}
.feat:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.feat__ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff; margin-bottom: 20px;
}
.feat__ico svg { width: 25px; height: 25px; }
.feat h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feat p { font-size: 15px; line-height: 1.6; }
.feats--4 { grid-template-columns: repeat(4, 1fr); }

/* grid de contato */
.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

/* destaque de notícia ocupando a linha toda */
.posts--lead { margin-bottom: 26px; }
.posts--lead .post--wide { grid-column: 1 / -1; }
.posts--lead .post--wide h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.posts--lead .post--wide p { font-size: 16px; }

/* =========================================================
   Bloco split (imagem + texto)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.split__media--stack { padding-bottom: 60px; padding-right: 60px; }
.split__media--stack img:first-of-type { border-radius: var(--r-lg); }
.split__media--stack img:nth-of-type(2) {
  position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid #fff;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.split__badge {
  position: absolute; left: -18px; top: 32px; background: var(--gold); color: var(--navy-900);
  border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-lg); text-align: center;
}
.split__badge b { display: block; font-family: var(--ff-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.split__badge span { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.split__body h2 { margin-bottom: 18px; }
.split__body p + p { margin-top: 15px; }
.split__body .btn { margin-top: 28px; }

.checks { margin-top: 26px; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checks svg { width: 21px; height: 21px; flex: none; color: var(--blue-500); margin-top: 2px; }
.sec--navy .checks li { color: #c6d1ee; }
.sec--navy .checks svg { color: var(--gold); }

/* =========================================================
   Instalações
   ========================================================= */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.room {
  position: relative; border-radius: var(--r); overflow: hidden; background: #000;
  aspect-ratio: 3/2; display: block; box-shadow: var(--shadow-sm);
}
.room img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: all .5s var(--ease); }
.room:hover img { opacity: 1; transform: scale(1.06); }
.room__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 16px; color: #fff;
  background: linear-gradient(0deg, rgba(13, 23, 56, .9), transparent);
  font-family: var(--ff-display); font-weight: 600; font-size: 15px;
}
.room__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.85);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center; color: var(--navy-800); opacity: 0; transition: all .3s var(--ease);
}
.room__play svg { width: 18px; height: 18px; margin-left: 3px; }
.room:hover .room__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* =========================================================
   Notícias
   ========================================================= */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: all .3s var(--ease);
}
.post:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.post__img { aspect-ratio: 16/10; overflow: hidden; background: var(--blue-100); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta {
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-mute);
  margin-bottom: 12px; font-weight: 500;
}
.post__cat {
  background: var(--blue-100); color: var(--blue-500); font-family: var(--ff-display); font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.post h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; }
.post:hover h3 { color: var(--blue-500); }
.post p { font-size: 14.5px; line-height: 1.55; }
.post__body .link-more { margin-top: auto; padding-top: 18px; font-size: 14.5px; }

/* destaque grande */
.post--wide { grid-column: span 2; flex-direction: row; }
.post--wide .post__img { aspect-ratio: auto; width: 50%; flex: none; }
.post--wide .post__body { padding: 34px; justify-content: center; }
.post--wide h3 { font-size: 1.45rem; }

/* =========================================================
   Galeria
   ========================================================= */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal__item {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--navy-800);
  display: block;
}
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13, 23, 56, .88) 0%, rgba(13, 23, 56, .1) 55%);
  opacity: .9; transition: opacity .3s;
}
.gal__item:hover img { transform: scale(1.08); }
.gal__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 18px;
  color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 14.5px; line-height: 1.35;
}
.gal__cap span { display: block; font-family: var(--ff-body); font-weight: 400; font-size: 12.5px; color: #a9c8e8; margin-top: 4px; }
.gal__item--tall { grid-row: span 2; aspect-ratio: auto; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--navy-800); padding: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center;
}
.cta img.cta__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .28;
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13, 23, 56, .97) 30%, rgba(38, 55, 117, .78) 100%);
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.6rem); margin-bottom: 14px; }
.cta p { color: #c6d1ee; max-width: 52ch; }
.cta__acts { display: flex; flex-direction: column; gap: 12px; }
.cta__acts .btn { width: 100%; }
.cta__note { font-size: 13px; color: #8ea0cf; text-align: center; margin-top: 4px; }

/* =========================================================
   Parceiros
   ========================================================= */
.brands { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 66px); flex-wrap: wrap; }
.brands img { height: 46px; width: auto; object-fit: contain; opacity: .72; filter: grayscale(1); transition: all .3s; }
.brands img:hover { opacity: 1; filter: none; }

/* =========================================================
   Page header (internas)
   ========================================================= */
.phead { position: relative; background: var(--navy-800); overflow: hidden; isolation: isolate; }
.phead img.phead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .34; }
.phead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(13, 23, 56, .95) 25%, rgba(13, 23, 56, .55) 100%);
}
.phead__in { padding-block: clamp(56px, 7vw, 96px) clamp(52px, 6vw, 84px); position: relative; z-index: 2; }
.phead h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 20ch; }
.phead p { color: #c6d1ee; margin-top: 16px; max-width: 60ch; font-size: 1.08rem; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #93a3cf; margin-bottom: 20px; flex-wrap: wrap; }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }
.crumb b { color: var(--gold); font-weight: 600; }

/* =========================================================
   Timeline
   ========================================================= */
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl__item { position: relative; padding-bottom: 38px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: ""; position: absolute; left: -33px; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue-500);
}
.tl__year {
  font-family: var(--ff-display); font-weight: 800; color: var(--blue-500); font-size: 1.05rem;
  letter-spacing: .02em; margin-bottom: 7px; display: block;
}
.tl__item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tl__item p { font-size: 15.5px; }

/* =========================================================
   Cards de pessoa
   ========================================================= */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.person {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
}
.person img { width: 150px; height: 180px; object-fit: cover; border-radius: var(--r); }
.person h3 { font-size: 1.12rem; margin-bottom: 4px; }
.person .role { color: var(--blue-500); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.person p { font-size: 14.5px; line-height: 1.55; }

/* =========================================================
   Prosa (páginas de conteúdo)
   ========================================================= */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin: 30px 0 12px; }
.prose p + p { margin-top: 15px; }
.prose ul { margin: 16px 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue-500);
}
.quote {
  border-left: 4px solid var(--gold); padding: 6px 0 6px 26px; margin: 30px 0;
  font-size: 1.16rem; color: var(--navy-800); font-family: var(--ff-display); font-weight: 500; line-height: 1.5;
}

/* =========================================================
   Formulário
   ========================================================= */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 15.5px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(10, 156, 216, .12);
}
.form__note { font-size: 13px; color: var(--ink-mute); }

.infocard {
  background: var(--navy-800); color: #c6d1ee; border-radius: var(--r-lg); padding: 34px;
}
.infocard h3 { color: #fff; font-size: 1.2rem; margin-bottom: 22px; }
.infocard ul { display: grid; gap: 20px; }
.infocard li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.infocard svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.infocard b { display: block; color: #fff; font-family: var(--ff-display); font-size: 14px; margin-bottom: 2px; }
.infocard a:hover { color: #fff; }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* =========================================================
   Downloads / listas de acesso
   ========================================================= */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); transition: all .25s var(--ease);
}
.tile:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-500); display: grid; place-items: center; flex: none; }
.tile__ico svg { width: 21px; height: 21px; }
.tile b { display: block; font-family: var(--ff-display); font-size: 15.5px; color: var(--navy-800); }
.tile span { font-size: 13px; color: var(--ink-mute); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-900); color: #93a3cf; padding: clamp(56px, 7vw, 86px) 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer h4 {
  color: #fff; font-family: var(--ff-display); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px;
}
.footer ul { display: grid; gap: 11px; }
.footer a:hover { color: var(--blue-400); }
.footer__brand { color: #fff; width: 118px; margin-bottom: 20px; }
.footer__brand svg, .footer__brand img { width: 100%; }
.footer__about { max-width: 42ch; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .07);
  display: grid; place-items: center; color: #fff; transition: all .25s;
}
.footer__social a:hover { background: var(--blue-500); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--blue-400); flex: none; margin-top: 4px; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: #6f81b3;
}
.footer__bar a { color: #93a3cf; }

/* WhatsApp flutuante */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .42); transition: transform .25s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 29px; height: 29px; }

/* =========================================================
   Reveal
   ========================================================= */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* Modal de vídeo */
.vmodal {
  position: fixed; inset: 0; z-index: 120; background: rgba(8, 13, 30, .92);
  display: none; place-items: center; padding: 24px;
}
.vmodal.is-open { display: grid; }
.vmodal__box { width: min(960px, 100%); aspect-ratio: 16/9; position: relative; }
.vmodal iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r); }
.vmodal__x {
  position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
}
.vmodal__x svg { width: 18px; height: 18px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1120px) {
  .nav__list > li > a { padding: 10px 10px; font-size: 14.5px; }
  .brand__txt { display: none; }
}

@media (max-width: 1000px) {
  .header__in { min-height: 72px; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: #fff; padding: 22px var(--gut) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease);
    margin: 0; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list > li > a { padding: 14px 12px; font-size: 16.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__has > a::after { float: right; margin-top: 8px; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 4px 0 10px 14px; display: none;
  }
  .nav__has.is-open .nav__sub { display: block; }
  .burger { display: grid; }
  .header__cta { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 22px; width: 100%; }

  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .feats, .feats--4 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .cta { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__in { min-height: 40px; }
  .topbar__list { gap: 16px; }
  .topbar__list li:nth-child(n+2) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal__item--tall { grid-row: span 1; aspect-ratio: 1; }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr; }
  .post--wide { grid-column: span 1; flex-direction: column; }
  .post--wide .post__img { width: 100%; aspect-ratio: 16/10; }
  .post--wide .post__body { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .split__media--stack { padding: 0; }
  .split__media--stack img:nth-of-type(2) { display: none; }
  .split__badge { left: 12px; top: 12px; padding: 12px 16px; }
  .quick { margin-top: -40px; }
}

@media (max-width: 540px) {
  :root { --gut: 18px; }
  .quick__grid { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; }
  .feats, .feats--4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .person img { width: 130px; height: 155px; }
  .hero__acts .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}


/* =========================================================
   Adaptação WordPress / Elementor — R2
   ========================================================= */

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

/* esconder header/footer do tema hello (usamos os nossos) */
#site-header, .site-header, #site-footer, .site-footer { display: none !important; }

/* devolver estilo de lista dentro de conteudo de post (o reset global zera) */
.entry-content ul, .elementor-widget-theme-post-content ul,
.elementor-widget-text-editor ul { list-style: disc; padding-left: 1.35em; }
.entry-content ol, .elementor-widget-theme-post-content ol,
.elementor-widget-text-editor ol { list-style: decimal; padding-left: 1.35em; }

/* secoes elementor com as classes do layout */
.elementor-section.sec > .elementor-container { max-width: var(--wrap); }
.elementor-section .elementor-container { padding-inline: var(--gut); }
.elementor-section.sec { display: block; }

/* heading do elementor herda tipografia display */
.elementor-heading-title { font-family: var(--ff-display); letter-spacing: -.02em; text-wrap: balance; }

/* botoes do elementor no padrao do layout */
.elementor-button {
  font-family: var(--ff-display) !important; font-weight: 600 !important;
  border-radius: 999px !important; padding: 14px 26px !important;
  transition: all .25s var(--ease) !important;
  background: var(--blue-500); color: #fff;
}
.elementor-button:hover { transform: translateY(-2px); }
.btn-el-gold .elementor-button { background: var(--gold) !important; color: var(--navy-900) !important; }
.btn-el-gold .elementor-button:hover { background: #fff !important; }
.btn-el-navy .elementor-button { background: var(--navy-800) !important; color: #fff !important; }
.btn-el-navy .elementor-button:hover { background: var(--navy-600) !important; }
.btn-el-ghost .elementor-button { background: transparent !important; border: 1.5px solid rgba(255,255,255,.45) !important; color: #fff !important; }
.btn-el-ghost .elementor-button:hover { background: #fff !important; color: var(--navy-800) !important; border-color: #fff !important; }
.btn-el-line .elementor-button { background: #fff !important; border: 1.5px solid var(--line) !important; color: var(--navy-800) !important; box-shadow: none !important; }
.btn-el-line .elementor-button:hover { border-color: var(--blue-500) !important; color: var(--blue-500) !important; transform: none; }

/* links dentro de conteudo de texto */
.entry-content a:not(.btn), .elementor-widget-theme-post-content a:not(.btn),
.elementor-widget-text-editor a:not(.btn) { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }

/* paginacao (paginate_links) */
.pagenav { margin-top: 52px; }
.pagenav ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagenav .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--navy-800);
  transition: all .2s var(--ease);
}
.pagenav a.page-numbers:hover { border-color: var(--blue-500); color: var(--blue-500); }
.pagenav .page-numbers.current { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.pagenav .page-numbers.dots { border: 0; background: none; }

/* fotos da galeria individual */
.gfotos__n { font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; }
.gfotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gfotos__item { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--blue-100); display: block; }
.gfotos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gfotos__item:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gfotos { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* lightbox simples */
.lbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 12, 30, .94); display: none; align-items: center; justify-content: center; }
.lbox.is-on { display: flex; }
.lbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 26px; display: grid; place-items: center; transition: background .2s; z-index: 2; }
.lbox button:hover { background: rgba(255,255,255,.25); }
.lbox__x { top: 18px; right: 18px; }
.lbox__p { left: 14px; top: 50%; transform: translateY(-50%); }
.lbox__n { right: 14px; top: 50%; transform: translateY(-50%); }
.lbox__c { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #c6d1ee; font-size: 13.5px; }

/* phead meta (single) */
.phead__meta { display: flex; align-items: center; gap: 12px; color: #c6d1ee !important; margin-top: 16px !important; font-size: 14.5px; }

/* conteudo da noticia (single) */
.post-body { font-size: 16.5px; max-width: 860px; }
.post-body p { margin-bottom: 16px; }
.post-body img { border-radius: var(--r); margin: 20px 0; height: auto; }
.post-body h2, .post-body h3 { margin: 30px 0 12px; }
.post-body a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }
.post-body iframe { max-width: 100%; border-radius: var(--r); }

/* burger nunca herda estilo de botao de tema/kit */
.header .burger, .header .burger:hover, .header .burger:focus {
  background: #fff !important; border: 1px solid var(--line) !important; color: var(--navy-800) !important;
}
