/* Página Guarulhos: extensão escopada do design system da homepage. */
.gru-page {
  --creme: #FCF6EA;
  --cinza-claro: #F5F4EF;
  --vermelho: #DA131A;
  --vermelho-vivo: #DA131A;
  --vermelho-secao: #DA131A;
  --azul: #0238CC;
  --azul-escuro: #0238CC;
  --verde: #246A2B;
  --amarelo: #FFCC03;
  --preto: #1A1A1A;
  --branco: #FFFFFF;
  --amarelo-escuro: #1A1A1A;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --container: 1152px;
  --sombra-suave: 0 1px 3px rgba(0, 0, 0, .06);
  color: var(--preto);
  background: var(--creme);
  font-family: var(--font-body);
  font-size: 1rem;
}

.gru-page main,
.gru-page .header + main { padding-top: clamp(80px, 6.6vw, 104px); }
.gru-page .gru-shell { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gru-page .gru-skip { position: absolute; top: 8px; left: -999px; z-index: 200; padding: 10px; color: var(--preto); background: var(--branco); }
.gru-page .gru-skip:focus { left: 8px; }
.gru-heading { overflow: visible; padding-top: .12em; }
.gru-page h1,
.gru-page h2 { overflow: visible; margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.gru-page h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.gru-page h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.gru-page h2 span { color: var(--vermelho); }
.gru-page svg { display: block; }
.gru-page .header__logo img { aspect-ratio: 8630 / 1481; }
.gru-page .footer { padding: 64px 0; }
.gru-page .footer__inner { height: auto; min-height: 0; }
.gru-page .footer__logo { display: block; width: min(250px, 80vw); max-width: 250px; height: auto; aspect-ratio: 5352 / 3165; object-fit: contain; }

/* Hero */
.gru-hero { position: relative; overflow: hidden; padding: 80px 0; color: var(--branco); }
.gru-hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.gru-hero h1 { color: var(--branco); }
.gru-hero h1 > span { display: block; white-space: nowrap; }
.gru-hero h1 b { color: var(--amarelo); font-weight: inherit; }
.gru-hero .btn-hero { display: inline-flex; margin-top: 28px; }
.gru-hero__media { position: relative; padding: 0 0 12px 12px; }
.gru-hero__media::before { position: absolute; bottom: 0; left: 0; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 16px; background: var(--amarelo); content: ""; }
.gru-hero__media picture { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 16px; box-shadow: var(--sombra-suave); }
.gru-hero__media img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 45% center; }
.gru-sticker { position: absolute; z-index: 2; display: grid; place-content: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); font-family: var(--font-redonda); font-weight: 800; line-height: .9; text-align: center; text-transform: uppercase; }
.gru-sticker--trust { top: -22px; right: -18px; width: 146px; height: 146px; padding: 16px; border-radius: 50%; color: var(--preto); background: var(--amarelo); font-size: 1.08rem; transform: rotate(7deg); }
.gru-sticker--trust b { color: var(--vermelho); font-size: 1.22em; }
.gru-sticker__star { position: absolute; bottom: 8px; left: 50%; width: 26px; height: 26px; fill: var(--vermelho); transform: translateX(-50%); }
/* Por que votar */
.gru-why { padding: 80px 0; background: var(--cinza-claro); }
.gru-why__stage { display: grid; gap: 42px; margin-top: 44px; align-items: center; }
.gru-why__stage picture { position: relative; display: block; padding: 0 0 12px 12px; }
.gru-why__stage picture::before { position: absolute; bottom: 0; left: 0; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 16px; background: var(--amarelo); content: ""; }
.gru-why__person { position: relative; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 16px; object-fit: cover; object-position: center top; }
.gru-reasons { display: grid; gap: 20px; align-items: stretch; }
.gru-reasons p { height: 100%; margin: 0; padding: 24px; border: 1px solid rgba(0, 0, 0, .06); border-radius: 16px; color: var(--preto); background: var(--branco); box-shadow: var(--sombra-suave); font-size: 1rem; font-weight: 600; line-height: 1.55; }
.gru-reasons .is-red { border-color: var(--vermelho); color: var(--branco); background: var(--vermelho); }

/* Metrô */
.gru-metro { position: relative; padding: 80px 0; color: var(--preto); background: var(--cinza-claro); }
.gru-metro .gru-shell { position: relative; z-index: 1; }
.gru-metro h2 { color: var(--preto); font-size: clamp(2.5rem, 5vw, 4rem); }
.gru-metro h2 span { color: var(--vermelho); font-family: var(--font-script); font-style: normal; text-transform: none; }
.gru-metro__head { display: grid; gap: 32px; align-items: center; }
.gru-metro__head p { max-width: 58ch; margin: 22px 0 0; color: var(--preto); font-size: 1.125rem; line-height: 1.65; }
.gru-metro__head picture { display: block; justify-self: center; overflow: hidden; width: min(100%, 360px); max-height: 520px; border-radius: 16px; box-shadow: var(--sombra-suave); }
.gru-metro__head img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.gru-metro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.gru-metro-link,
.gru-share { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 8px; font-size: .875rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
.gru-metro-link { color: var(--preto); background: var(--amarelo); }
.gru-share { border: 1.5px solid var(--azul); color: var(--azul); background: transparent; }
.gru-metro-link svg,
.gru-share svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gru-timeline { margin: 48px 0; }
.gru-timeline__heading { margin-bottom: 24px; text-align: center; }
.gru-timeline__heading h3 { margin: 0; padding-top: .12em; color: var(--preto); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.gru-timeline__list { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.gru-timeline__list::before { position: absolute; top: 20px; bottom: 20px; left: 19px; width: 3px; border-radius: 3px; background: var(--azul); content: ""; }
.gru-timeline__item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.gru-timeline__marker { position: relative; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--azul); background: color-mix(in srgb, var(--azul) 12%, var(--cinza-claro)); box-shadow: 0 0 0 6px var(--cinza-claro); }
.gru-timeline__marker svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gru-timeline__item article { position: relative; padding: 20px; border: 1px solid rgba(0, 0, 0, .06); border-radius: 16px; color: var(--preto); background: var(--creme); box-shadow: var(--sombra-suave); }
.gru-timeline__year { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 5px 15px 3px; border-radius: 999px; color: var(--branco); background: var(--vermelho); font-family: var(--font-display); font-size: 1.45rem; line-height: 1; }
.gru-timeline picture { display: block; margin-top: 16px; overflow: hidden; border-radius: 12px; }
.gru-timeline img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.gru-timeline__item p { margin: 16px 0 0; color: var(--preto); font-size: 1rem; line-height: 1.6; }
.gru-timeline__item p b { color: var(--vermelho); }
.gru-timeline__item.is-text-only article { align-self: center; }
.gru-timeline__item.is-current article { border: 2px solid var(--amarelo); }
.gru-timeline__item.is-current .gru-timeline__marker { color: var(--azul); background: var(--amarelo); }
.gru-line { padding: 24px; border: 1px solid rgba(0, 0, 0, .06); border-radius: 16px; color: var(--preto); background: var(--creme); box-shadow: var(--sombra-suave); }
.gru-line__title { display: flex; flex-direction: column; font-size: 1rem; }
.gru-line__title b { color: var(--verde); font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; line-height: 1; text-transform: uppercase; }
.gru-line ol { position: relative; display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.gru-line ol::before { position: absolute; top: 9px; bottom: 9px; left: 8px; width: 4px; background: var(--verde); content: ""; }
.gru-line li { position: relative; min-height: 38px; padding: 0 0 20px 38px; color: var(--verde); font-size: .875rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.gru-line li:last-child { min-height: 18px; padding-bottom: 0; }
.gru-line li::before { position: absolute; z-index: 1; top: 1px; left: 0; width: 20px; height: 20px; border: 4px solid var(--creme); border-radius: 50%; background: var(--verde); content: ""; }
.gru-line .is-destination::before { background: var(--amarelo); }

/* Propostas */
.gru-proposals { padding: 80px 0; color: var(--branco); background: var(--vermelho); }
.gru-linecopy { margin: 0 0 12px; color: var(--amarelo); font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.gru-proposals h2 { max-width: 20ch; color: var(--branco); }
.gru-proposal-grid { display: grid; gap: 16px; margin-top: 44px; align-items: start; }
.gru-proposal-grid article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px; border: 1px solid rgba(0, 0, 0, .06); border-radius: 16px; color: var(--preto); background: var(--creme); box-shadow: var(--sombra-suave); font-size: 1rem; break-inside: avoid; }
.gru-proposal-grid p { margin: 0; color: var(--preto); line-height: 1.6; }
.gru-proposal-grid b { color: var(--azul); }
.gru-proposal-grid small { display: block; margin-top: 7px; color: var(--preto); font-size: .875rem; line-height: 1.55; opacity: .78; }
.gru-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--azul); background: rgba(2, 56, 204, .12); }
.gru-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Cadastro compartilhado com a homepage */
.gru-registration .cadastro__foto img { aspect-ratio: 933 / 1400; }
.gru-registration .gru-heading { margin-bottom: 14px; }
.gru-registration .section__title { color: var(--branco); }
.gru-registration .section__title em { color: var(--amarelo); text-transform: none; }

/* Entregas */
.gru-deliveries { padding: 80px 0; background: var(--amarelo); }

/* chamada "Faça sua foto" depois do cadastro (visual em style.css) */
.gru-facafoto { padding: 56px 0 72px; }
.gru-deliveries h2 { max-width: 18ch; color: var(--preto); }
.gru-deliveries__band { display: inline-block; margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; color: var(--branco); background: var(--azul); font-family: var(--font-display); font-size: clamp(1.55rem, 4vw, 2.65rem); line-height: 1; text-transform: uppercase; }
.gru-delivery-grid { display: grid; gap: 20px; margin-top: 42px; align-items: stretch; }
.gru-delivery-grid article { display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; overflow: hidden; border: 1px solid rgba(0, 0, 0, .06); border-radius: 16px; background: var(--creme); box-shadow: var(--sombra-suave); }
.gru-delivery__photo,
.gru-delivery__photos { display: block; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; }
.gru-delivery__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.gru-delivery__photo.is-ubs img { object-position: center top; }
.gru-delivery__photo.is-restaurante img { object-position: 42% center; }
.gru-delivery__photos { display: grid; grid-template-columns: 1fr 1fr; }
.gru-delivery__photos picture { min-width: 0; min-height: 0; overflow: hidden; }
.gru-delivery__photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.gru-delivery__content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 18px; }
.gru-delivery__meta { display: flex; align-items: center; gap: 10px; }
.gru-delivery__chip { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 10px; color: var(--azul); background: rgba(2, 56, 204, .12); }
.gru-delivery__chip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gru-delivery__label { min-width: 0; color: var(--azul); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.gru-delivery-grid p { margin: 14px 0; color: var(--preto); font-size: 1rem; line-height: 1.5; }
.gru-delivery-grid small { display: inline-flex; margin-top: auto; padding: 4px 8px; border-radius: 999px; color: var(--branco); background: var(--azul); font-size: .6875rem; font-weight: 700; letter-spacing: .05em; line-height: 1.25; text-transform: uppercase; }

/* Rodapé e comportamento */
.gru-footer__sticker { margin: 0; padding-top: .12em; color: var(--amarelo); font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1; text-transform: uppercase; }
.gru-footer__sticker b { color: var(--branco); }
.gru-coalition { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; color: var(--amarelo); font-family: var(--font-display); font-size: clamp(1rem, 2.5vw, 1.4rem); line-height: 1.3; }
.gru-coalition span { display: inline-flex; align-items: center; }
.gru-coalition span + span::before { width: 5px; height: 5px; margin: 0 10px; border-radius: 50%; background: var(--branco); content: ""; }
.gru-motion .gru-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2, .8, .2, 1), transform .55s cubic-bezier(.2, .8, .2, 1); }
.gru-motion .gru-reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .gru-page { font-size: 1.0625rem; }
  .gru-hero,
  .gru-why,
  .gru-metro,
  .gru-proposals,
  .gru-deliveries { padding-top: 112px; padding-bottom: 112px; }
  .gru-hero__grid { grid-template-columns: .92fr 1.08fr; }
  .gru-reasons p,
  .gru-metro__head p,
  .gru-proposal-grid article,
  .gru-delivery-grid p { font-size: 1.0625rem; }
  .gru-why__stage { grid-template-columns: minmax(270px, .72fr) 1.28fr; }
  .gru-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gru-metro__head { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); }
  .gru-metro__head p { font-size: 1.25rem; }
  .gru-metro__head picture { width: min(100%, 400px); }
  .gru-timeline { margin: 56px 0; }
  .gru-timeline__heading { margin-bottom: 32px; }
  .gru-timeline__list { display: block; }
  .gru-timeline__list::before { top: 20px; bottom: 20px; left: calc(50% - 1.5px); }
  .gru-timeline__item { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 0; padding-bottom: 16px; }
  .gru-timeline__item:last-child { padding-bottom: 0; }
  .gru-timeline__marker { grid-row: 1; grid-column: 2; justify-self: center; }
  .gru-timeline__item article { grid-row: 1; }
  .gru-timeline__item:nth-child(odd) article { grid-column: 1; }
  .gru-timeline__item:nth-child(even) article { grid-column: 3; }
  .gru-timeline__item:nth-child(odd) article::after,
  .gru-timeline__item:nth-child(even) article::after { position: absolute; top: 19px; width: 16px; height: 3px; background: var(--azul); content: ""; }
  .gru-timeline__item:nth-child(odd) article::after { right: -16px; }
  .gru-timeline__item:nth-child(even) article::after { left: -16px; }
  .gru-timeline__item p { font-size: 1.0625rem; }
  .gru-line ol { grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 30px; }
  .gru-line ol::before { top: 8px; right: calc(100% / 14); bottom: auto; left: calc(100% / 14); width: auto; height: 4px; }
  .gru-line li { min-height: 0; padding: 34px 8px 0; text-align: center; }
  .gru-line li:nth-child(5) { padding-right: 2px; padding-left: 2px; font-size: .72rem; letter-spacing: -.02em; white-space: nowrap; }
  .gru-line li:last-child { min-height: 0; padding-bottom: 0; }
  .gru-line li::before { top: 0; left: 50%; transform: translateX(-50%); }
  .gru-proposal-grid { display: block; column-count: 2; column-gap: 20px; }
  .gru-proposal-grid article { width: 100%; margin: 0 0 20px; }
  .gru-delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gru-delivery-grid__wide { grid-column: span 2; }
  .gru-delivery-grid article { grid-template-columns: 156px minmax(0, 1fr); }
  .gru-delivery__photo,
  .gru-delivery__photos { align-self: start; width: 140px; margin: 16px 0 16px 16px; border-radius: 12px; }
}

@media (min-width: 1024px) {
  .gru-proposal-grid { column-count: 3; }
}

@media (max-width: 640px) {
  .gru-page .gru-shell { padding-right: 24px; padding-left: 24px; }
  .gru-hero h1 { font-size: clamp(2.5rem, 11.5vw, 3rem); }
  .gru-hero .btn-hero { position: static; width: auto; max-width: 100%; justify-content: flex-start; margin-top: 28px; padding: 18px 22px; border-radius: 12px; }
  .gru-sticker--trust { top: -16px; right: -10px; width: 120px; height: 120px; padding: 13px; font-size: .9rem; }
  .gru-sticker__star { bottom: 6px; left: 50%; width: 23px; height: 23px; }
  .gru-why__stage { gap: 32px; margin-top: 32px; }
  .gru-metro__head picture { width: min(100%, 360px); }
  .gru-metro__actions { align-items: stretch; flex-direction: column; }
  .gru-metro-link,
  .gru-share { width: 100%; }
  .gru-proposal-grid { gap: 16px; margin-top: 34px; }
  .gru-proposal-grid article { padding: 20px; }
  .gru-delivery-grid { gap: 16px; margin-top: 32px; }
  .gru-delivery__content { padding: 16px; }
  .gru-delivery-grid p { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .gru-motion .gru-reveal { opacity: 1; transform: none; transition: none; }
}
