.brand {
  gap: 12px;
}

/* Campanha institucional — Matrículas 2027 */
.institutional-campaign {
  padding-block: 70px !important;
  background: #fff;
}

.institutional-campaign-card {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  min-height: 560px;
  max-width: 1250px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #062e70 0%, #0b58c7 72%, #1475df 100%);
  box-shadow: 0 28px 70px #062e7029;
}

.institutional-campaign-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #f1f4f8;
}

.institutional-campaign-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, #062e70);
  pointer-events: none;
}

.institutional-campaign-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.institutional-campaign-copy {
  display: flex;
  padding: clamp(42px, 6vw, 78px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.campaign-label {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font: 800 12px/1 var(--heading);
  letter-spacing: .13em;
}

.campaign-year {
  margin: 20px 0 -3px;
  color: var(--yellow);
  font: 800 clamp(56px, 7vw, 92px)/.9 var(--heading);
  letter-spacing: -.07em;
}

.institutional-campaign-copy h2 {
  max-width: 650px;
  margin: 18px 0 20px;
  color: #fff;
  font: 800 clamp(38px, 4.6vw, 64px)/1.04 var(--heading);
  letter-spacing: -.045em;
}

.institutional-campaign-copy > p:not(.campaign-year) {
  max-width: 600px;
  margin: 0 0 32px;
  color: #e7efff;
  font-size: 18px;
  line-height: 1.7;
}

.campaign-button {
  gap: 10px;
  background: var(--yellow);
  color: var(--blue);
  box-shadow: 0 12px 30px #001e4f55;
}

.campaign-button:hover {
  background: #ffe264;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .institutional-campaign-card { grid-template-columns: 1fr; }
  .institutional-campaign-photo { min-height: 480px; }
  .institutional-campaign-photo::after { background: linear-gradient(0deg, #062e70 0%, transparent 28%); }
}

@media (max-width: 600px) {
  .institutional-campaign { padding: 52px 20px !important; }
  .institutional-campaign-card { min-height: 0; border-radius: 20px; }
  .institutional-campaign-photo { min-height: 390px; }
  .institutional-campaign-copy { padding: 36px 26px 42px; }
  .campaign-year { font-size: 62px; }
  .institutional-campaign-copy h2 { font-size: 38px; }
  .institutional-campaign-copy > p:not(.campaign-year) { font-size: 16px; }
  .campaign-button { width: 100%; }
}

/* Álbum — Homenagem à Pessoa Idosa */
.event-album { background: linear-gradient(150deg,#062e70 0%,#0b58c7 62%,#1672d8 100%); color:#fff; overflow:hidden; }
.event-album-heading { max-width:1250px; margin:0 auto 42px; display:grid; grid-template-columns:1.05fr .95fr; gap:7vw; align-items:end; }
.event-album .kicker { color:var(--yellow); }
.event-album h2 { margin:12px 0 0; font:800 clamp(36px,4.8vw,58px)/1.07 var(--heading); letter-spacing:-.04em; }
.event-album-heading p { margin:0; color:#dfebff; font-size:18px; line-height:1.7; }
.event-gallery { max-width:1250px; margin:auto; display:grid; grid-template-columns:1.35fr repeat(2,1fr); grid-template-rows:repeat(2,285px); gap:14px; }
.event-photo { position:relative; min-width:0; padding:0; overflow:hidden; border:0; border-radius:16px; background:#dce8f7; cursor:pointer; box-shadow:0 16px 38px #0018404a; }
.event-photo-featured { grid-row:1 / 3; }
.event-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.event-photo-featured img { object-position:center; }
.event-photo:hover img,.event-photo:focus-visible img { transform:scale(1.035); }
.event-photo::after { content:''; position:absolute; inset:55% 0 0; background:linear-gradient(transparent,#031a46e8); }
.event-photo span { position:absolute; z-index:1; left:18px; bottom:16px; color:#fff; font:800 17px/1.2 var(--heading); letter-spacing:-.01em; }
.event-album-note { max-width:1250px; margin:18px auto 0; color:#cbdcff; font-size:13px; text-align:right; }
.photo-lightbox { width:min(92vw,900px); max-height:92vh; padding:12px; border:0; border-radius:18px; background:#071a3b; color:#fff; box-shadow:0 30px 90px #0009; }
.photo-lightbox::backdrop { background:#020916dd; backdrop-filter:blur(4px); }
.photo-lightbox img { display:block; width:100%; max-height:76vh; object-fit:contain; border-radius:11px; }
.photo-lightbox p { margin:12px 46px 2px 6px; line-height:1.45; }
.photo-lightbox-close { position:absolute; z-index:2; top:20px; right:20px; width:42px; height:42px; border:0; border-radius:50%; background:#fff; color:var(--blue); font-size:30px; line-height:1; cursor:pointer; box-shadow:0 5px 18px #0005; }

@media (max-width:950px) {
  .event-album-heading { grid-template-columns:1fr; gap:18px; }
  .event-gallery { grid-template-columns:1fr 1fr; grid-template-rows:420px 310px 310px; }
  .event-photo-featured { grid-column:1 / 3; grid-row:1 / 2; }
}

@media (max-width:600px) {
  .event-album-heading { margin-bottom:28px; }
  .event-album h2 { font-size:38px; }
  .event-album-heading p { font-size:17px; }
  .event-gallery { grid-template-columns:1fr 1fr; grid-template-rows:270px repeat(2,255px); gap:10px; }
  .event-photo { border-radius:12px; }
  .event-photo span { left:12px; bottom:11px; font-size:14px; }
  .event-album-note { text-align:left; }
  .photo-lightbox { width:96vw; padding:8px; }
  .photo-lightbox-close { top:14px; right:14px; }
}

.brand > img {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav .brand {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #073b8f;
  flex-shrink: 0;
}

.nav .brand-wordmark {
  color: #073b8f;
  font: 800 clamp(14px, 1.7vw, 20px)/1.15 'Manrope', sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.hero-art {
  background: linear-gradient(145deg, #8edcf8, #d8f2ff);
}

.mascot-halo {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: #fff9dc;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 18px #ffffff55;
}

.mascot {
  position: absolute;
  width: 82%;
  height: 92%;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center 50%;
  border-radius: 46% 46% 40% 40%;
}

.hero-art .shape {
  z-index: 2;
}

.promo-highlight {
  max-width: 650px;
  margin: 24px 0 4px;
  padding: 19px 21px;
  background: linear-gradient(120deg, #073b8f, #0b58c7);
  border: 3px solid #ffd329;
  border-radius: 18px;
  box-shadow: 0 12px 28px #073b8f28;
  color: #fff;
}

.promo-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffd329;
  color: #073b8f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.promo-highlight strong {
  display: block;
  font: 800 20px/1.25 'Baloo 2', sans-serif;
}

.promo-highlight .promo-validity {
  margin: 12px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.promo-highlight a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: #ffd329;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .025em;
}

.promo-highlight a:hover {
  text-decoration: underline;
}

.promo-highlight a span {
  font-size: 22px;
}

.inverse > img {
  height: 82px;
}

footer .social-links {
  justify-content: flex-end;
  flex-wrap: wrap;
  row-gap: 10px;
}

@media (max-width: 600px) {
  .brand > img { height: 56px; }
  .inverse > img { height: 72px; }
  .mascot { width: 92%; }
  .mascot-halo { width: 300px; height: 300px; }
  footer .social-links { justify-content: flex-start; }
}

/* Avaliação da escola */
.review-section { display:grid; grid-template-columns:.9fr 1.1fr; gap:7vw; align-items:center; background:#f1f6ff; }
.review-copy { max-width:560px; }
.review-copy h2 { margin:13px 0 20px; color:var(--blue); font:800 clamp(38px,5vw,58px)/1.05 'Baloo 2'; }
.review-copy > p { color:var(--muted); font-size:19px; line-height:1.7; }
.review-points { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.review-points span { padding:10px 13px; border-radius:999px; background:#fff; color:var(--blue); font-size:14px; font-weight:800; box-shadow:0 6px 18px #073b8f12; }
.review-card { padding:34px; border:1px solid #dce6f4; border-radius:26px; background:#fff; box-shadow:0 24px 60px #073b8f18; }
.review-card fieldset { margin:0 0 19px; padding:0; border:0; }
.review-card legend { margin-bottom:10px; font-size:14px; font-weight:800; }
.review-card label small { color:var(--muted); font-weight:600; }
.review-card textarea { width:100%; padding:14px 15px; border:1px solid #cfd8e7; border-radius:11px; background:#fff; color:var(--ink); font:16px Nunito; line-height:1.5; resize:vertical; }
.review-card textarea:focus { outline:3px solid #ffd32966; border-color:var(--blue); }
.star-rating { display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:7px; }
.star-rating input { position:absolute; width:1px; height:1px; opacity:0; }
.star-rating label { margin:0; color:#d5dce8; font-size:39px; line-height:1; cursor:pointer; }
.star-rating label:hover,.star-rating label:hover~label,.star-rating input:checked~label { color:#f2bd0b; }
.star-rating input:focus-visible+label { outline:3px solid #073b8f55; border-radius:5px; }
.review-hp { position:absolute; left:-9999px; }
.review-status { min-height:24px; margin:13px 0 0; text-align:center; color:var(--blue); font-weight:800; }
.review-status.error { color:#a61b1b; }
.review-card.submitted { padding:54px 34px; text-align:center; }
.review-success-mark { display:grid; width:68px; height:68px; margin:0 auto 18px; place-items:center; border-radius:50%; background:#e2f8ef; color:#16875f; font-size:34px; }
.review-card.submitted h3 { margin:0 0 8px; color:var(--blue); font:800 30px 'Baloo 2'; }
.review-card.submitted p { margin:0; color:var(--muted); line-height:1.6; }
@media (max-width:950px) { .review-section { grid-template-columns:1fr; } }
@media (max-width:600px) { .review-section { gap:45px; } .review-card { padding:24px; } }

.community-reviews { padding-top:70px; background:#fff; }
.community-reviews-heading { max-width:720px; margin:0 auto 34px; text-align:center; }
.community-reviews-heading h2 { margin:12px 0 10px; color:var(--blue); font:800 clamp(34px,4.6vw,52px)/1.08 var(--heading); letter-spacing:-.035em; }
.community-reviews-heading p { margin:0; color:var(--muted); font-size:18px; line-height:1.6; }
.public-reviews { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; max-width:1180px; margin:0 auto; }
.public-review-card { display:flex; min-height:190px; padding:24px; flex-direction:column; border:1px solid #dce6f4; border-radius:20px; background:#f8fbff; box-shadow:0 12px 32px #073b8f0d; }
.public-review-top { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.public-review-top strong { color:var(--blue); font:800 18px var(--heading); }
.public-review-stars { flex:none; color:#e9b400; font-size:18px; letter-spacing:.05em; }
.public-review-card p { margin:20px 0; color:var(--ink); font-size:16px; line-height:1.65; }
.public-review-card time { margin-top:auto; color:var(--muted); font-size:13px; font-weight:700; }
.reviews-loading { grid-column:1/-1; margin:0; padding:28px; border-radius:18px; background:#f8fbff; color:var(--muted); text-align:center; }
@media (max-width:900px) { .public-reviews { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .community-reviews { padding-top:54px; } .public-reviews { grid-template-columns:1fr; } .public-review-card { min-height:0; } }

/* Modernização institucional */
:root {
  --blue: #062e70;
  --blue2: #0b58c7;
  --cream: #f7f9fc;
  --ink: #14213b;
  --muted: #5a6579;
  --coral: #f36f54;
  --green: #239b75;
  --heading: 'Manrope', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

body { font-family: var(--body); -webkit-font-smoothing: antialiased; }
.nav { height: 88px; padding-inline: max(6vw,30px); background: #ffffffee; backdrop-filter: blur(14px); border-bottom-color: #dce3ed; }
.nav nav { gap: 30px; }
.nav nav a { color: #344056; font-size: 15px; font-weight: 600; transition: .2s; }
.nav nav a:hover { color: var(--blue); }
.nav nav .nav-cta { padding: 13px 20px; border-radius: 10px; box-shadow: 0 8px 20px #062e7024; }
.nav nav .nav-cta:hover { background: #0b4ca8; color: #fff; transform: translateY(-1px); }
.hero { min-height: 690px; padding: 78px max(6vw,30px) 90px; grid-template-columns: 1.08fr .92fr; background: radial-gradient(circle at 80% 18%,#fff1a8 0,transparent 25%),linear-gradient(135deg,#fff 12%,#f3f7ff 58%,#fff8da 100%); border-bottom: 1px solid #e1e7f0; }
.eyebrow,.kicker { font-family: var(--heading); font-size: 12px; letter-spacing: .14em; }
.hero h1 { font-family: var(--heading); font-size: clamp(46px,5.7vw,76px); line-height: 1.02; letter-spacing: -.045em; max-width: 760px; }
.hero p { font-size: 19px; line-height: 1.68; }
.button { border-radius: 10px; font-family: var(--body); font-weight: 700; transition: .2s; }
.hero-art { height: 520px; border-radius: 32px; box-shadow: 18px 18px 0 #ffd329,0 26px 60px #062e7022; }
section:not(.hero) { padding-block: 108px; }
.section-intro h2,.offer h2,.enroll h2 { font-family: var(--heading); font-size: clamp(36px,4.7vw,56px); line-height: 1.08; letter-spacing: -.035em; }
.method-grid article,.feature { border-radius: 16px; }
.method-grid h3,.feature h3 { font-family: var(--heading); letter-spacing: -.02em; }
.quote blockquote { font-family: var(--heading); font-size: clamp(36px,4.8vw,60px); letter-spacing: -.04em; }
.form-card { border-radius: 18px; }
.form-card h3 { font-family: var(--heading); letter-spacing: -.025em; }
input,select { border-radius: 9px; font-family: var(--body); }
.daily-heading h2 { font-family: var(--heading); font-size: clamp(36px,4.8vw,58px); line-height: 1.07; letter-spacing: -.04em; }
.daily-photo,.daily-cta { border-radius: 16px; }
.daily-photo figcaption strong,.daily-cta strong,.promo-highlight strong { font-family: var(--heading); letter-spacing: -.02em; }

@media (max-width: 600px) {
  .nav { height: 74px; padding-inline: 20px; }
  .nav nav { top: 74px; }
  .hero { padding: 48px 20px 76px; }
  .hero h1 { font-size: 43px; }
  .hero-art { height: 370px; border-radius: 22px; }
  section:not(.hero) { padding-block: 76px; }
}

.daily-life { background: #fff; padding-top: 88px !important; }
.daily-heading { max-width: 1250px; margin: 0 auto 38px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: end; }
.daily-heading h2 { font: 800 clamp(38px,5vw,62px)/1.03 'Baloo 2'; color: var(--blue); margin: 12px 0 0; letter-spacing: -.025em; }
.daily-heading > p { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0; }
.daily-gallery { max-width: 1250px; margin: auto; display: grid; grid-template-columns: 1.12fr .88fr .88fr; grid-template-rows: 310px 310px; gap: 16px; }
.daily-photo { position: relative; overflow: hidden; border-radius: 24px; margin: 0; background: #dce8f7; box-shadow: 0 14px 34px #073b8f12; }
.daily-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.daily-photo:hover img { transform: scale(1.035); }
.daily-photo::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,#031a46dd); }
.daily-photo figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; display: flex; flex-direction: column; }
.daily-photo figcaption strong { font: 800 22px/1.15 'Baloo 2'; }
.daily-photo figcaption span { font-size: 14px; line-height: 1.35; margin-top: 4px; color: #edf5ff; }
.learning { grid-row: 1/3; }
.exploring { grid-column: 2/3; grid-row: 1/2; }
.playing { grid-column: 2/3; grid-row: 2/3; }
.belonging { grid-column: 3/4; grid-row: 1/3; }
.daily-photo.learning img, .daily-photo.exploring img { object-position: center 42%; }
.daily-photo.playing img { object-position: center 36%; }
.daily-photo.belonging img { object-position: center 38%; }
.daily-cta { max-width: 1250px; margin: 22px auto 0; padding: 27px 30px; border-radius: 24px; background: linear-gradient(110deg,#073b8f,#0b58c7); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: 0 18px 38px #073b8f25; }
.daily-cta div { display: flex; flex-direction: column; }
.daily-cta div > span { color: var(--yellow); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.daily-cta strong { font: 800 27px/1.15 'Baloo 2'; margin-top: 3px; }
.daily-cta p { margin: 5px 0 0; color: #dceaff; line-height: 1.45; }
.daily-button { background: var(--yellow); color: var(--blue); white-space: nowrap; box-shadow: 0 10px 24px #001c5544; }
.daily-button:hover { background: #ffe15f; transform: translateY(-2px); }

@media (max-width: 950px) {
  .daily-heading { grid-template-columns: 1fr; gap: 18px; }
  .daily-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 330px; }
  .learning { grid-column: 1/2; grid-row: 1/2; }
  .belonging { grid-column: 2/3; grid-row: 1/2; }
  .exploring { grid-column: 1/2; grid-row: 2/3; }
  .playing { grid-column: 2/3; grid-row: 2/3; }
  .daily-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .daily-life { padding-top: 68px !important; }
  .daily-heading { margin-bottom: 28px; }
  .daily-heading h2 { font-size: 39px; }
  .daily-heading > p { font-size: 17px; }
  .daily-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4, 390px); gap: 13px; }
  .learning, .exploring, .playing, .belonging { grid-column: 1/2; }
  .learning { grid-row: 1/2; }
  .exploring { grid-row: 2/3; }
  .playing { grid-row: 3/4; }
  .belonging { grid-row: 4/5; }
  .daily-photo figcaption strong { font-size: 21px; }
  .daily-cta { padding: 24px 21px; }
  .daily-cta strong { font-size: 24px; }
  .daily-button { width: 100%; white-space: normal; }
}

/* Mantém o acabamento profissional sobre os estilos da galeria */
.daily-heading h2 { font-family: var(--heading); font-size: clamp(36px,4.8vw,58px); line-height: 1.07; letter-spacing: -.04em; }
.daily-photo,.daily-cta { border-radius: 16px; }
.daily-photo figcaption strong { font-family: var(--heading); font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.daily-cta strong { font-family: var(--heading); font-size: 25px; line-height: 1.25; letter-spacing: -.025em; }

@media (max-width: 600px) {
  .daily-heading h2 { font-size: 38px; }
  .daily-photo figcaption strong { font-size: 20px; }
  .daily-cta strong { font-size: 23px; }
}

.bac-visit {
  background: linear-gradient(135deg, #eef5ff 0%, #fff9df 100%);
  padding-block: 76px !important;
}

.bac-visit-card {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  align-items: center;
  gap: 48px;
}

.bac-visit-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 22px 50px #062e7026;
  background: #dce8f7;
}

.bac-visit-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bac-visit-copy h2 {
  margin: 12px 0 22px;
  color: var(--blue);
  font: 800 clamp(34px, 4vw, 52px)/1.08 var(--heading);
  letter-spacing: -.04em;
}

.bac-visit-copy p {
  margin: 0;
  padding-left: 22px;
  border-left: 4px solid var(--yellow);
  color: #344056;
  font-size: 19px;
  line-height: 1.7;
}

@media (max-width: 850px) {
  .bac-visit-card { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .bac-visit { padding-block: 58px !important; }
  .bac-visit-photo { border-radius: 14px; }
  .bac-visit-copy h2 { font-size: 34px; }
  .bac-visit-copy p { font-size: 17px; }
}

.school-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, #fff8d8 0%, #edf5ff 100%);
}

.school-app-copy { max-width: 720px; }
.school-app h2 {
  margin: 12px 0 16px;
  color: var(--blue);
  font: 800 clamp(36px, 4.5vw, 56px)/1.05 var(--heading);
  letter-spacing: -.04em;
}
.school-app p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.app-store-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.store-button {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 18px;
  border-radius: 15px;
  background: #101010;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px #071a3b24;
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-button:hover { transform: translateY(-3px); box-shadow: 0 17px 30px #071a3b30; }
.store-button:focus-visible { outline: 4px solid #ffd32999; outline-offset: 3px; }
.store-button span:last-child { display: flex; flex-direction: column; line-height: 1.08; }
.store-button small { font-size: 12px; font-weight: 700; }
.store-button strong { font-size: 20px; }
.store-icon { width: 30px; text-align: center; font-size: 25px; }
.apple-icon { font-size: 28px; }
.play-icon { color: #6ed9ff; }

@media (max-width: 900px) {
  .school-app { grid-template-columns: 1fr; gap: 30px; }
  .app-store-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .app-store-links { display: grid; grid-template-columns: 1fr; }
  .store-button { width: 100%; }
}

/* Identidade da escola no canto superior esquerdo. */
@media (min-width: 951px) and (max-width: 1500px) {
  .nav nav { display: none; top: 88px; }
  .nav nav.open { display: flex; position: absolute; left: 0; right: 0; background: #fff; padding: 24px; flex-direction: column; box-shadow: 0 16px 25px #0002; }
  .menu { display: block; }
}
@media (max-width: 600px) {
  .nav .brand { gap: 10px; min-width: 0; }
  .nav .brand-logo { height: 44px; }
  .nav .brand-wordmark { max-width: 175px; white-space: normal; font-size: 16px; line-height: 1.2; }
  .nav .menu { flex-shrink: 0; }
}

/* Retratos da homenagem à pessoa idosa */
#pessoa-idosa .event-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; }
#pessoa-idosa .event-photo { display:block; aspect-ratio:3 / 4; }
#pessoa-idosa .event-photo img { object-position:center; }
#pessoa-idosa .event-photo:focus-visible { outline:3px solid var(--yellow); outline-offset:4px; }
@media (max-width:950px) { #pessoa-idosa .event-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:none; } }
