:root {
  --orange: #ef572f;
  --orange-dark: #c83b1c;
  --yellow: #ffd43b;
  --gray: #f1f2f3;
  --gray-strong: #d9dcdf;
  --paper: #fff;
  --ink: #202124;
  --muted: #62656a;
  --line: rgba(32, 33, 36, .14);
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --shadow: 0 28px 70px rgba(32, 33, 36, .14);
  --container: 1200px;
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--yellow); color: var(--ink); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 118px 0; }
.section-tight { padding: 70px 0; }
.section-layer { position: relative; isolation: isolate; margin-top: -34px; border-radius: 48px 48px 0 0; scroll-margin-top: 82px; box-shadow: 0 -18px 48px rgba(32,33,36,.12); }
.motion-enabled .section-layer { opacity: .78; clip-path: inset(52px 0 0 round 82px 82px 0 0); transform: translateY(52px) scale(.985); transform-origin: center top; transition: opacity .7s ease, clip-path .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), border-radius .9s ease; }
.motion-enabled .section-layer.section-layer-visible { opacity: 1; clip-path: inset(0 round 48px 48px 0 0); transform: none; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; height: 4px; pointer-events: none; background: var(--yellow); transform: scaleX(0); transform-origin: left; will-change: transform; }

.announcement { background: var(--yellow); color: var(--ink); font-size: .8rem; }
.announcement-inner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.announcement-inner p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announcement-inner a { margin-left: 8px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.announcement-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(239, 87, 47, .18); animation: pulse 2s ease-in-out infinite; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(241, 242, 243, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-width: 250px; display: flex; align-items: center; gap: 11px; }
.brand img { width: 54px; height: 54px; object-fit: contain; border: 2px solid var(--orange); border-radius: 50%; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: .08em; }
.brand-copy small { max-width: 190px; margin-top: 4px; color: var(--muted); font-size: .67rem; }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { position: relative; font-size: .84rem; font-weight: 800; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 3px; border-radius: 9px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-payment { position: relative; isolation: isolate; overflow: hidden; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 850; box-shadow: 0 9px 24px rgba(32,33,36,.16); transition: transform .25s ease, box-shadow .25s ease; }
.nav-payment::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--orange); transform: translateX(-102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.nav-payment:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(239,87,47,.25); }
.nav-payment:hover::before { transform: none; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: absolute; z-index: 99; inset: 100% 0 auto; min-height: calc(100dvh - 72px); overflow-y: auto; padding: 26px 24px; background: var(--orange); color: #fff; box-shadow: 0 24px 60px rgba(32,33,36,.25); }
.mobile-menu a { display: block; padding: 15px 5px; border-bottom: 1px solid rgba(255,255,255,.28); font-size: 1.08rem; font-weight: 800; }

.hero { position: relative; isolation: isolate; min-height: calc(100svh - 120px); overflow: hidden; display: grid; align-items: stretch; padding: 0; background: var(--orange); touch-action: pan-y; }
.hero::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(255,140,26,.5) 0%, rgba(255,140,26,.22) 32%, rgba(255,140,26,0) 50%); pointer-events: none; }
.hero::after { display: none; }
.hero-grid { position: static; min-height: calc(100svh - 120px); display: flex; align-items: center; padding: clamp(52px,7vh,88px) 0 clamp(74px,10vh,108px); }
.eyebrow { margin: 0 0 16px; color: var(--orange); font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-light { color: var(--yellow); }
.hero h1 { position: relative; max-width: 760px; margin: 0; font-size: clamp(3.2rem, 5.6vw, 6.2rem); font-weight: 920; letter-spacing: -.075em; line-height: .88; text-wrap: balance; }
.hero h1 em { position: relative; z-index: 0; font-style: normal; color: var(--orange); animation: heroWord 1s .5s both cubic-bezier(.16,1,.3,1); }
.hero-underline-bar { position: absolute; z-index: -1; background: var(--yellow); border-radius: 99px; transform: scaleX(0); transform-origin: left; transition: transform .8s .2s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.hero-underline-bar.is-visible { transform: scaleX(1); }
.hero .eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 10px 15px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.hero .eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(239,87,47,.5); animation: enrollmentPulse 1.8s ease-out infinite; }
.hero-lead { max-width: 560px; margin: 28px 0 0; color: rgba(32,33,36,.86); font-size: clamp(1.04rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 23px; border: 1px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 850; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px) scale(1.015); }
.button span { transition: transform .25s ease; }
.button:hover span { transform: translate(3px, -3px); }
.button-light { background: var(--orange); color: #fff; box-shadow: 0 14px 34px rgba(239,87,47,.25); }
.button-ghost { border-color: var(--ink); color: var(--ink); }
.button-ghost:hover { background: var(--yellow); border-color: var(--yellow); }
.button-dark { border: 0; background: var(--ink); color: #fff; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.trust-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.hero-visual { position: absolute; z-index: 0; inset: 0; min-height: 0; display: block; transform: none; }
.hero-card-main { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; background: #f7931e; box-shadow: none; transform: none; animation: none; }
.hero-image-frame { position: absolute; inset: 0; display: block; overflow: hidden; border: 0; border-radius: 0; background: #f7931e; }
.hero-image-frame::after { display: none; }
.hero-image-frame picture { position: absolute; inset: 0; display: block; }
.hero-image-frame img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: right 20%; filter: none; transform: none; }
.hero-sticker { display: none; }
.hero-note { display: none; }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { color: var(--orange); font-size: .98rem; }
.hero-note span { font-size: .74rem; }
.note-one { top: 64px; left: -14px; transform: rotate(-5deg); }
.note-two { right: -12px; bottom: 86px; animation-delay: -2.2s; }
.hero-orbit { display: none; }
.orbit-one { width: 440px; height: 440px; top: -180px; left: -120px; animation: spin 26s linear infinite; }
.orbit-one::after { content: ""; position: absolute; width: 34px; height: 34px; top: 42px; right: 46px; border-radius: 50%; background: var(--orange); }
.orbit-two { width: 180px; height: 180px; right: 4%; bottom: -65px; border-color: var(--orange); animation: spinReverse 15s linear infinite; }
.orbit-two::after { content: "+"; position: absolute; top: -18px; left: 50%; color: var(--ink); font-size: 2rem; font-weight: 900; }
.scroll-cue { position: absolute; z-index: 4; bottom: 24px; left: 50%; width: 34px; height: 54px; border: 2px solid var(--ink); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; width: 6px; height: 6px; top: 10px; left: 50%; border-radius: 50%; background: var(--orange); transform: translateX(-50%); animation: scrollCue 1.8s infinite; }

.ticker { overflow: hidden; border-block: 2px solid var(--ink); background: var(--yellow); color: var(--ink); }
.ticker-track { width: max-content; display: flex; gap: 34px; padding: 16px 0; animation: ticker 24s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 34px; font-size: .9rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.ticker span::after { content: "✦"; color: var(--orange); font-size: 1.2rem; }

.quick-access { background: #fff; }
.quick-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.quick-heading h2 { margin: 0; font-size: clamp(2rem,4vw,3.8rem); letter-spacing: -.055em; line-height: 1; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.quick-card { position: relative; overflow: hidden; min-height: 178px; display: flex; flex-direction: column; justify-content: end; padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--gray); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease; }
.quick-card::after { content: ""; position: absolute; width: 110px; height: 110px; top: -70px; left: -70px; border-radius: 50%; background: var(--yellow); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.quick-card:hover { z-index: 2; background: #fff; transform: translateY(-9px) rotate(-1deg); box-shadow: 12px 12px 0 var(--yellow); }
.quick-card:hover::after { transform: scale(3); }
.quick-primary { background: var(--orange); color: #fff; }
.quick-primary:hover { background: var(--orange); box-shadow: 12px 12px 0 var(--ink); }
.quick-icon { position: absolute; z-index: 2; top: 18px; right: 18px; width: 54px; min-width: 54px; height: 54px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: .75rem; font-weight: 950; transition: transform .35s ease, box-shadow .35s ease; }
.quick-icon .icon { width: 25px; height: 25px; stroke-width: 2.2; }
.quick-primary .quick-icon { background: #fff; }
.quick-card:hover .quick-icon { transform: rotate(-9deg) scale(1.1); box-shadow: 2px 2px 0 var(--ink); }
.quick-card strong, .quick-card small { position: relative; z-index: 2; display: block; }
.quick-card strong { font-size: 1rem; }
.quick-card small { margin-top: 5px; opacity: .72; font-size: .75rem; }

.about { overflow: hidden; background: var(--gray); }
.about-grid { display: grid; grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr); align-items: center; gap: 88px; }
.about-art { position: relative; min-height: 530px; }
.about-photo { margin: 0; overflow: hidden; border: 3px solid var(--ink); background: var(--orange); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo[hidden] { display: none; }
.about-photo-main { position: absolute; inset: 0 12% 80px 0; border-radius: 46% 46% 28px 28px; box-shadow: 18px 18px 0 var(--yellow); }
.about-photo-main img { object-position: 30% 55%; }
.about-photo-side { position: absolute; z-index: 3; right: 0; bottom: 34px; width: 52%; aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: 8px 8px 0 var(--orange); transform: rotate(3deg); }
.about-badge { position: absolute; z-index: 5; top: 16px; right: 3%; width: 84px; height: 84px; padding: 11px; object-fit: contain; border: 3px solid var(--ink); border-radius: 50%; background: var(--orange); box-shadow: 5px 5px 0 var(--ink); }
.about-art > p { position: absolute; z-index: 4; bottom: 0; left: 10%; width: 275px; margin: 0; padding: 15px 20px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: .9rem; font-weight: 800; box-shadow: 8px 8px 0 rgba(32,33,36,.14); }
.about-copy h2, .section-heading h2, .calendar-intro h2, .contact-copy h2 { margin: 0; font-size: clamp(2.55rem,5vw,5.3rem); letter-spacing: -.065em; line-height: .96; text-wrap: balance; }
.section-lead { margin: 28px 0 12px; font-size: clamp(1.04rem,1.5vw,1.22rem); font-weight: 650; }
.about-copy > p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
.principles { margin-top: 34px; border-top: 2px solid var(--ink); }
.principles article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s ease, background .25s ease; }
.principles article:hover { padding-left: 12px; background: rgba(255,212,59,.2); }
.principles article > span { color: var(--orange); font-size: .72rem; font-weight: 900; }
.principles h3, .principles p { margin: 0; }
.principles h3 { font-size: .95rem; }
.principles p { margin-top: 3px; color: var(--muted); font-size: .85rem; }

.numbers { overflow: hidden; padding: clamp(44px,6vw,80px) 0 calc(clamp(44px,6vw,80px) + 24px); background: var(--yellow); color: var(--ink); border-block: 2px solid var(--ink); }
/* A quantidade de colunas acompanha a quantidade de numeros cadastrada no CMS para evitar linhas com item sobrando. */
.numbers-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,2vw,26px); }
.numbers-grid[data-count="1"] { grid-template-columns: minmax(0,420px); justify-content: center; }
.numbers-grid[data-count="2"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.numbers-grid[data-count="3"], .numbers-grid[data-count="5"], .numbers-grid[data-count="6"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.number { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: clamp(24px,3vw,40px) clamp(14px,2vw,24px); border: 2px solid var(--ink); border-radius: 26px; background: #fffaf0; text-align: center; box-shadow: 6px 6px 0 var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.number strong, .number span { display: block; }
.number strong { font-size: clamp(2.6rem,4.6vw,4.8rem); font-weight: 950; letter-spacing: -.06em; line-height: 1; }
.number:nth-child(even) strong { color: var(--orange-dark); }
.number:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.number span { max-width: 22ch; margin-top: 12px; font-size: .74rem; font-weight: 900; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; text-wrap: balance; }
.number strong { font-size: clamp(2.7rem,5vw,5.4rem); font-weight: 950; letter-spacing: -.07em; line-height: 1; transition: transform .3s ease; }
.number:hover strong { transform: scale(1.09) rotate(-2deg); color: var(--orange); }
.number span { margin-top: 9px; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.segments { background: #fff; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.48fr); align-items: end; gap: 60px; margin-bottom: 50px; }
.section-heading > p { max-width: 470px; margin: 0 0 5px; color: var(--muted); }
.segments-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.segment-card { position: relative; min-height: 390px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--gray); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
.segment-card::before { content: ""; position: absolute; width: 190px; height: 190px; top: 54px; left: 50%; border: 28px solid var(--orange); border-radius: 50%; transform: translateX(-50%) rotate(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.segment-card::after { content: ""; position: absolute; width: 72px; height: 72px; top: 118px; left: 50%; border-radius: 18px; background: var(--yellow); transform: translateX(-50%) rotate(45deg); transition: transform .5s ease; }
.segment-card:nth-child(2) { background: var(--yellow); }
.segment-card:nth-child(2)::before { border-style: dashed; }
.segment-card:nth-child(3) { background: var(--orange); color: #fff; }
.segment-card:nth-child(3)::before { border-color: var(--yellow); }
.segment-card:hover { z-index: 2; transform: translateY(-12px) rotate(-1.5deg); box-shadow: 14px 14px 0 var(--ink); }
.segment-card:hover::before { transform: translateX(-50%) rotate(140deg) scale(1.12); }
.segment-card:hover::after { transform: translateX(-50%) rotate(135deg) scale(.82); }
.segment-index, .segment-symbol, .segment-card h3, .segment-card p { position: relative; z-index: 2; }
.segment-index { position: absolute; top: 20px; left: 22px; font-size: .72rem; font-weight: 950; }
.segment-symbol { position: absolute; top: 20px; right: 22px; font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.segment-card h3 { margin: 0; font-size: 1.55rem; letter-spacing: -.04em; }
.segment-card p { margin: 9px 0 0; max-width: 320px; opacity: .78; font-size: .88rem; }

.projects { position: relative; overflow: hidden; background: var(--orange); color: #fff; }
.projects::before { content: "PROJETOS"; position: absolute; right: -3vw; bottom: -5vw; color: rgba(255,255,255,.08); font-size: clamp(7rem,20vw,20rem); font-weight: 950; letter-spacing: -.1em; line-height: .8; }
.section-heading-light > p { color: rgba(255,255,255,.82); }
.projects-grid { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.project-card { min-width: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--gray); color: var(--ink); box-shadow: 10px 10px 0 rgba(32,33,36,.2); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.project-card:nth-child(2) { transform: translateY(34px); }
.project-card:hover { transform: translateY(-9px) rotate(1deg); box-shadow: 16px 16px 0 var(--yellow); }
.project-card:nth-child(2):hover { transform: translateY(25px) rotate(-1deg); }
.project-visual { position: relative; aspect-ratio: 1.45; overflow: hidden; background: var(--yellow); }
.project-visual::after { content: ""; position: absolute; inset: 18px; border: 2px dashed var(--ink); border-radius: 50%; animation: spin 24s linear infinite; }
.project-visual img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card:hover img { transform: scale(1.07); }
.project-placeholder { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; font-size: 6rem; font-weight: 950; letter-spacing: -.08em; }
.project-body { position: relative; z-index: 2; padding: 26px; }
.project-body small { color: var(--orange); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.project-body h3 { margin: 8px 0 6px; font-size: 1.35rem; letter-spacing: -.03em; }
.project-body p { margin: 0; color: var(--muted); font-size: .88rem; }
.project-link { display: inline-block; margin-top: 18px; color: var(--orange); font-size: .82rem; font-weight: 850; }

.news { background: var(--gray); }
/* Quadro de avisos: moldura de madeira, cortica e folhas fixadas por tachinhas. */
.notice-board { position: relative; padding: clamp(22px,3vw,42px); border: clamp(10px,1.3vw,16px) solid #6b4423; border-radius: 22px; outline: 2px solid var(--ink); background-color: #c99a5b; background-image: radial-gradient(rgba(92,56,22,.26) 1px, transparent 1.7px), radial-gradient(rgba(255,240,210,.2) 1px, transparent 1.7px); background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.22), inset 0 10px 28px rgba(0,0,0,.24), 12px 12px 0 var(--ink); }
.notice-board-head { display: flex; justify-content: center; margin: 0 0 clamp(22px,3vw,36px); }
.notice-board-plaque { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 8px 16px rgba(40,22,5,.35); }
.notice-board-plaque .icon { grid-row: span 2; width: 30px; height: 30px; color: var(--yellow); }
.notice-board-plaque strong { font-size: clamp(1rem,1.6vw,1.2rem); font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.notice-board-plaque small { color: var(--yellow); font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.4vw,30px); align-items: start; }
.notice { --tilt: -1deg; position: relative; padding: 36px 24px 26px; border-radius: 4px; background: #fffdf7; color: var(--ink); box-shadow: 0 12px 20px rgba(40,22,5,.3), 0 2px 3px rgba(40,22,5,.22); transform: rotate(var(--tilt)); transition: transform .3s ease, box-shadow .3s ease; }
.notice:nth-child(3n+2) { --tilt: .9deg; }
.notice:nth-child(3n) { --tilt: -.4deg; }
.notice:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 18px 28px rgba(40,22,5,.34), 0 2px 3px rgba(40,22,5,.22); }
.notice-featured { background: #fff1b0; }
.notice-pin { position: absolute; top: 11px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #ff9c80 0, var(--orange) 42%, #9c2c16 100%); box-shadow: 2px 5px 5px rgba(0,0,0,.35); transform: translateX(-50%); }
.notice-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed rgba(32,33,36,.28); }
.notice-date { display: grid; place-items: center; min-width: 56px; padding: 7px 8px 6px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; line-height: 1; }
.notice-date strong { font-size: 1.45rem; font-weight: 950; letter-spacing: -.04em; }
.notice-date span { margin-top: 3px; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.notice-category { color: var(--orange-dark); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.notice-stamp { margin-left: auto; padding: 3px 8px; border: 2px solid var(--orange-dark); border-radius: 6px; color: var(--orange-dark); font-size: .58rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-6deg); }
.notice h3 { margin: 16px 0 8px; font-size: 1.28rem; letter-spacing: -.03em; line-height: 1.2; }
.notice p { margin: 0; color: #4b4f55; font-size: .9rem; }
.notice-link { display: inline-block; margin-top: 18px; color: var(--orange-dark); font-size: .82rem; font-weight: 900; }
.notice-empty { grid-column: 1 / -1; margin: 0; padding: 30px; border-radius: 4px; background: #fffdf7; text-align: center; font-weight: 800; }

.calendar { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.calendar::before { content: ""; position: absolute; width: 440px; height: 440px; top: -240px; left: -180px; border: 70px solid var(--orange); border-radius: 50%; animation: spin 28s linear infinite; }
.calendar-shell { position: relative; display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: 80px; }
.calendar-intro { position: sticky; top: 140px; align-self: start; }
.calendar-intro p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.text-link-light { display: inline-flex; gap: 12px; margin-top: 24px; color: var(--yellow); font-size: .85rem; font-weight: 850; }
.event-list { border-top: 1px solid rgba(255,255,255,.24); }
.event { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 23px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.19); transition: padding-left .3s ease, background .3s ease; }
.event:hover { padding-left: 15px; background: rgba(255,212,59,.06); }
.event-date { width: 66px; height: 66px; display: grid; align-content: center; border-radius: 50%; background: var(--yellow); color: var(--ink); text-align: center; transition: transform .35s ease; }
.event:hover .event-date { transform: rotate(-8deg) scale(1.08); }
.event-date strong, .event-date span { display: block; line-height: 1; }
.event-date strong { font-size: 1.45rem; }
.event-date span { margin-top: 4px; font-size: .6rem; font-weight: 900; }
.event h3, .event p { margin: 0; }
.event h3 { font-size: 1rem; }
.event p { margin-top: 4px; color: rgba(255,255,255,.62); font-size: .8rem; }
.event-category { padding: 7px 11px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: .62rem; font-weight: 800; text-transform: uppercase; }

.contact { position: relative; overflow: hidden; background: var(--yellow); }
.contact::after { content: "+"; position: absolute; right: -10px; bottom: -150px; color: rgba(239,87,47,.24); font-size: 28rem; font-weight: 300; line-height: 1; transform: rotate(12deg); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,.85fr) minmax(400px,1.15fr); gap: 72px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.contact-list div { padding-top: 13px; border-top: 2px solid var(--ink); }
.contact-list dt { font-size: .67rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-list dd { margin: 6px 0 0; font-size: .88rem; }
.contact-form { padding: 34px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: #fff; box-shadow: 14px 14px 0 var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 16px; font-size: .75rem; font-weight: 850; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--gray-strong); border-radius: 11px; outline: none; background: var(--gray); color: var(--ink); padding: 12px 13px; transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(239,87,47,.13); }
.contact-form textarea { resize: vertical; }
.trap { position: absolute; left: -9999px; }
.captcha-group { margin-bottom: 14px; }
.captcha-group[hidden] { display: none; }
.form-status { min-height: 20px; margin: 12px 0 0; font-size: .78rem; }
.form-status.success { color: #137249; }
.form-status.error { color: #b42318; }

.icon { width: 1.15em; height: 1.15em; display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { width: 52px; height: 52px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease; }
.icon-button .icon { width: 23px; height: 23px; stroke-width: 2.25; }
.icon-button:hover, .icon-button:focus-visible { background: var(--ink); color: #fff; box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 1px); }
.icon-button-light { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; box-shadow: 4px 4px 0 rgba(32,33,36,.52); }
.icon-button-light:hover, .icon-button-light:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.carousel-arrows { display: flex; gap: 9px; }

.hero-copy, .hero-visual { transition: opacity .24s ease, transform .32s cubic-bezier(.2,.8,.2,1); }
.hero-copy { position: relative; z-index: 4; width: min(50%, 620px); }
.hero-copy.is-changing { opacity: 0; transform: translateX(-26px); }
.hero-visual.is-changing { opacity: 0; transform: none; }
.hero-carousel-nav { max-width: 520px; display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(32,33,36,.3); }
.hero-progress { height: 5px; flex: 1 1 auto; overflow: hidden; border-radius: 999px; background: rgba(32,33,36,.24); }
.hero-progress-fill { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-progress-fill.is-running { animation: heroProgress 6s linear both; }
.hero.hero-autoplay-paused .hero-progress-fill { animation-play-state: paused; }
.hero-next-button { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(32,33,36,.35); border-radius: 50%; background: rgba(255,250,240,.78); color: var(--ink); box-shadow: 0 8px 24px rgba(32,33,36,.12); backdrop-filter: blur(8px); cursor: pointer; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.hero-next-button .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.hero-next-button:hover, .hero-next-button:focus-visible { border-color: var(--ink); background: #fff; transform: translateX(3px); }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .button-light { background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(32,33,36,.24); }
.hero .button-ghost { border-color: var(--ink); background: rgba(255,255,255,.34); color: var(--ink); backdrop-filter: blur(8px); }
.hero h1 em { color: #fff; text-shadow: 0 4px 20px rgba(32,33,36,.2); }

.segment-card { min-height: 430px; display: block; padding: 0; }
.segment-card::before, .segment-card::after { display: none; }
.segment-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; border-bottom: 2px solid var(--ink); background: var(--orange); }
.segment-media::after { content: ""; position: absolute; inset: 16px; border: 2px dashed rgba(255,255,255,.52); border-radius: 50%; animation: spin 26s linear infinite; }
.segment-media img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.segment-card:hover .segment-media img { transform: scale(1.075); }
.segment-fallback-icon { position: relative; z-index: 2; width: 110px; height: 110px; color: var(--yellow); filter: drop-shadow(7px 7px 0 rgba(32,33,36,.35)); stroke-width: 1.4; transition: transform .45s ease; }
.segment-card:hover .segment-fallback-icon { transform: rotate(-8deg) scale(1.08); }
.segment-card:nth-child(2) .segment-media { background: var(--yellow); }
.segment-card:nth-child(2) .segment-fallback-icon { color: var(--orange); }
.segment-card:nth-child(2) .segment-media::after { border-color: rgba(32,33,36,.32); }
.segment-card:nth-child(3) .segment-media { background: var(--ink); }
.segment-body { padding: 25px 28px 29px; }
.segment-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 11px; border: 2px solid currentColor; border-radius: 999px; color: var(--orange); font-size: .7rem; font-weight: 950; letter-spacing: .12em; }
.segment-badge .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.segment-card:nth-child(3) .segment-badge { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.segment-card h3, .segment-card p { position: relative; z-index: 2; }

.gallery-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin: -24px 0 24px; }
.gallery-toolbar > span { color: rgba(255,255,255,.74); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.projects-grid { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--yellow) rgba(255,255,255,.2); padding: 10px 18px 46px 2px; }
.projects-grid::-webkit-scrollbar { display: block; height: 9px; }
.projects-grid::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.2); }
.projects-grid::-webkit-scrollbar-thumb { border: 2px solid var(--orange); border-radius: 999px; background: var(--yellow); }
.project-card { flex: 0 0 calc(50% - 12px); scroll-snap-align: start; }
.project-card:nth-child(2), .project-card:nth-child(2):hover { transform: none; }
.project-card:hover { transform: translateY(-8px) rotate(.5deg); }
.project-detail-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: .82rem; font-weight: 900; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.project-detail-button .icon { width: 21px; height: 21px; stroke-width: 2.2; }
.project-detail-button:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.project-detail-button .icon { transition: transform .25s ease; }
.project-detail-button:hover .icon { transform: scale(1.16); }
.project-placeholder { color: var(--ink); }
.project-placeholder-icon { width: 100px; height: 100px; filter: drop-shadow(6px 6px 0 rgba(32,33,36,.24)); stroke-width: 1.35; }


.contact-list dt { display: flex; align-items: center; gap: 8px; }
.contact-list dt .icon { width: 30px; height: 30px; padding: 5px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); color: #fff; stroke-width: 2.2; }
.contact-form { position: relative; overflow: hidden; padding: 0 36px 36px; }
.contact-form::before { content: ""; position: absolute; width: 170px; height: 170px; top: -105px; right: -70px; border-radius: 50%; background: var(--yellow); }
.form-heading { position: relative; display: flex; align-items: center; gap: 15px; margin: 0 -36px 28px; padding: 24px 36px; border-bottom: 2px solid var(--ink); background: var(--gray); }
.form-heading > div { display: grid; }
.form-heading strong { font-size: 1rem; }
.form-heading small { color: var(--muted); font-size: .73rem; }
.form-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 4px 4px 0 var(--yellow); }
.form-icon .icon { width: 25px; height: 25px; stroke-width: 2.2; }
.contact-form input, .contact-form textarea, .contact-form select { min-height: 50px; border: 2px solid transparent; border-bottom-color: var(--gray-strong); border-radius: 12px 12px 4px 4px; }
.contact-form textarea { min-height: 126px; }
.contact-form .button { width: 100%; margin-top: 4px; }
.contact-form .button .icon { width: 19px; height: 19px; }

.instagram { overflow: hidden; padding-bottom: 76px; background: var(--ink); color: #fff; }
.instagram::before { content: ""; position: absolute; width: min(50vw,680px); aspect-ratio: 1; top: -48%; right: -18%; border: 80px solid rgba(255,212,59,.08); border-radius: 50%; pointer-events: none; }
.instagram-heading { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); align-items: end; gap: 70px; margin-bottom: 52px; }
.instagram-heading h2 { max-width: 820px; margin: 0; font-size: clamp(3rem,6.5vw,6.8rem); letter-spacing: -.075em; line-height: .88; text-wrap: balance; }
.instagram-intro { max-width: 430px; justify-self: end; }
.instagram-intro p { margin: 0 0 24px; color: rgba(255,255,255,.7); }
.instagram-follow { border: 2px solid var(--yellow); background: var(--yellow); color: var(--ink); box-shadow: 7px 7px 0 var(--orange); }
.instagram-follow .icon { width: 22px; height: 22px; stroke-width: 2; }
.instagram-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.instagram-card { position: relative; overflow: hidden; aspect-ratio: 1; border: 2px solid #fff; border-radius: 26px; background: var(--orange); box-shadow: 8px 8px 0 rgba(255,212,59,.92); transform: translateZ(0); transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
.instagram-card:nth-child(even) { margin-top: 36px; }
.instagram-card:hover, .instagram-card:focus-visible { z-index: 3; outline: none; box-shadow: 14px 14px 0 var(--orange); transform: translateY(-10px) rotate(-1.5deg); }
.instagram-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.16,1,.3,1), filter .4s ease; }
.instagram-card:hover img, .instagram-card:focus-visible img { filter: saturate(1.12); transform: scale(1.08); }
.instagram-overlay { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; gap: 10px; padding: 58px 18px 17px; background: linear-gradient(transparent,rgba(32,33,36,.88)); color: #fff; font-size: .74rem; font-weight: 750; transform: translateY(calc(100% - 58px)); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.instagram-overlay > .icon { width: 24px; height: 24px; flex: 0 0 auto; }
.instagram-card:hover .instagram-overlay, .instagram-card:focus-visible .instagram-overlay { transform: none; }
.instagram-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg,var(--orange),#b93b72 55%,#6745c7); }
.instagram-placeholder-icon { width: 72px; height: 72px; color: #fff; stroke-width: 1.2; }
.instagram-marquee { width: calc(100% + 80px); overflow: hidden; margin: 88px -40px -22px; border-block: 2px solid rgba(255,255,255,.32); background: var(--orange); transform: rotate(-2deg); }
.instagram-marquee span { width: max-content; display: block; padding: 13px 0; color: #fff; font-size: clamp(.78rem,1.3vw,1rem); font-weight: 950; letter-spacing: .18em; white-space: nowrap; animation: instagramMarquee 18s linear infinite; }

.site-footer { padding: 74px 0 24px; background: var(--orange); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 60px; }
.footer-brand img { width: 72px; height: 72px; border: 3px solid var(--yellow); border-radius: 50%; object-fit: contain; }
.footer-brand p { max-width: 290px; margin-top: 18px; color: rgba(255,255,255,.78); }
.footer-grid h2 { margin: 0 0 18px; color: var(--yellow); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid a, .footer-grid > div > p { display: block; margin: 8px 0; color: rgba(255,255,255,.8); font-size: .82rem; transition: color .2s ease, transform .2s ease; }
.footer-grid a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 58px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.66); font-size: .72rem; }
.footer-cnpj:not(:empty)::before { content: "·"; margin: 0 .55em; }

.reveal { opacity: 0; filter: blur(9px); transform: translateY(42px) scale(.985); transition: opacity .75s ease, filter .75s ease, transform .85s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--reveal-order, 0) * 70ms); }
.reveal-delay { --reveal-order: 2; }
.reveal.is-visible { opacity: 1; filter: none; transform: none; }
.quick-grid .reveal:nth-child(2), .segments-grid .reveal:nth-child(2), .projects-grid .reveal:nth-child(2), .news-grid .reveal:nth-child(2) { --reveal-order: 1; }
.quick-grid .reveal:nth-child(3), .segments-grid .reveal:nth-child(3), .projects-grid .reveal:nth-child(3), .news-grid .reveal:nth-child(3) { --reveal-order: 2; }
.quick-grid .reveal:nth-child(4), .news-grid .reveal:nth-child(4) { --reveal-order: 3; }

@keyframes pulse { 50% { transform: scale(.72); box-shadow: 0 0 0 9px rgba(239,87,47,0); } }
@keyframes heroWord { from { opacity: 0; transform: translateY(.4em) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes cardFloat { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-12px); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-350deg); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,22px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes artSweep { 0%,100% { transform: translateY(-220px) rotate(-22deg); } 50% { transform: translateY(220px) rotate(-22deg); } }
/* Pagina do projeto: abre em tela cheia, com galeria de ate 5 fotos. */
html.project-open { overflow: hidden; }
.project-page { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow-y: auto; border: 0; background: var(--gray); color: var(--ink); }
.project-page[open] { display: block; animation: dialogIn .35s cubic-bezier(.16,1,.3,1); }
.project-page::backdrop { background: rgba(32,33,36,.6); }
.project-page-bar { position: sticky; top: 0; z-index: 5; border-bottom: 2px solid var(--ink); background: rgba(241,242,244,.95); backdrop-filter: blur(10px); }
.project-page-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.project-back { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 850; cursor: pointer; transition: background .2s ease; }
.project-back:hover, .project-back:focus-visible { background: var(--yellow); }
.project-back .icon { width: 20px; height: 20px; }
.project-page-label { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.dialog-close { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.dialog-close:hover, .dialog-close:focus-visible { background: var(--yellow); }
.project-page-body { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); gap: clamp(28px,4vw,64px); align-items: start; padding: clamp(32px,5vw,72px) 0 clamp(48px,6vw,90px); }
.project-page-copy { position: sticky; top: 112px; }
.project-page-copy h2 { margin: 0; font-size: clamp(2.2rem,4.6vw,4.4rem); letter-spacing: -.06em; line-height: .95; }
.project-page-text { margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.project-page-copy .button { margin-top: 28px; }
.project-gallery-main { position: relative; margin: 0; }
.project-gallery-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--ink); border-radius: 26px; background: var(--ink); box-shadow: 12px 12px 0 var(--yellow); touch-action: pan-y; }
.project-gallery-frame img { width: 100%; height: 100%; object-fit: contain; animation: photoIn .4s ease; }
.project-gallery-empty { display: grid; justify-items: center; gap: 12px; padding: 24px; color: #fff; font-weight: 850; text-align: center; }
.project-dialog-placeholder { width: 110px; height: 110px; color: var(--yellow); stroke-width: 1; }
.project-gallery-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; color: var(--muted); font-size: .86rem; }
.project-gallery-count { color: var(--ink); font-weight: 900; white-space: nowrap; }
.project-gallery-nav { position: absolute; top: calc(50% - 44px); }
.project-gallery-prev { left: 16px; }
.project-gallery-next { right: 16px; }
.project-gallery-nav[hidden], .project-thumbs[hidden], .hero .hero-lead[hidden] { display: none; }
.project-thumbs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.project-thumb { aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 14px; background: #fff; cursor: pointer; opacity: .62; transition: opacity .2s ease, transform .2s ease; }
.project-thumb:hover, .project-thumb:focus-visible { opacity: 1; }
.project-thumb.active { opacity: 1; outline: 3px solid var(--orange); outline-offset: 2px; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Arrastar com o mouse nos carrosseis. */
@media (pointer: fine) {
  .hero { cursor: grab; }
  .hero a, .hero button { cursor: pointer; }
  .projects-grid { cursor: grab; }
}
.hero.is-dragging, .projects-grid.is-dragging { cursor: grabbing; user-select: none; }
.projects-grid.is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
.projects-grid.is-dragging a, .projects-grid.is-dragging button { pointer-events: none; }
.hero img, .projects-grid img { -webkit-user-drag: none; }

/* Anuncio exibido ao entrar no site; editavel e desativavel no painel. */
html.promo-open { overflow: hidden; }
/* Anuncio no estilo da arte de matriculas: fundo claro com faixa diagonal abobora,
   tipografia condensada de alto impacto e faixa escura com a marca e os botoes. */
.promo-dialog { --promo-orange: #f07422; width: min(430px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: hidden auto; padding: 0; border: 0; border-radius: 28px; background: #ededed; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.promo-dialog.promo-has-image { width: min(var(--promo-image-width, 430px), calc(100% - 24px)); overflow: hidden; }
.promo-dialog[open] { display: flex; flex-direction: column; animation: promoIn .45s cubic-bezier(.16,1,.3,1); }
.promo-dialog::backdrop { background: rgba(20,20,22,.78); backdrop-filter: blur(6px); }
.promo-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(32,33,36,.82); color: #fff; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.promo-close:hover, .promo-close:focus-visible { background: var(--ink); transform: rotate(90deg); }
.promo-close .icon { width: 20px; height: 20px; }
.promo-media { background: #ededed; }
.promo-media[hidden] { display: none; }
.promo-media img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 190px); object-fit: contain; }
.promo-has-image .promo-media { width: 100%; flex: none; }
.promo-has-image .promo-media img { width: 100%; max-height: none; object-fit: initial; }
.promo-card { position: relative; overflow: hidden; padding: 30px 26px 62px; background: linear-gradient(122deg, transparent 0 57%, var(--promo-orange) 57% 100%), radial-gradient(circle at 18% 12%, #fff 0, #ededed 60%); }
.promo-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 200px; height: 200px; border: 22px solid rgba(255,212,59,.55); border-radius: 50%; }
.promo-card > * { position: relative; z-index: 1; }
.promo-card > .promo-photo { position: absolute; z-index: 1; right: -18px; bottom: 40px; width: 50%; aspect-ratio: 1; margin: 0; overflow: hidden; border: 5px solid #fff; border-radius: 50%; background: var(--promo-orange); box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.promo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.promo-has-image .promo-card { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; }
.promo-tag { display: inline-block; margin: 0; padding: 5px 16px 6px; border-radius: 10px; background: var(--promo-orange); color: #fff; font-size: clamp(1.05rem,5vw,1.35rem); font-weight: 950; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(240,116,34,.35); }
.promo-title { max-width: 9ch; margin: 14px 0 0; color: #1b1b1d; font-size: clamp(3rem,15vw,4.3rem); font-weight: 950; letter-spacing: -.055em; line-height: .84; text-transform: uppercase; }
.promo-highlight { margin: 14px 0 0; color: var(--promo-orange); font-size: clamp(1.9rem,9vw,2.5rem); font-weight: 950; letter-spacing: -.045em; line-height: 1; text-transform: uppercase; }
.promo-price { margin-top: 18px; }
.promo-price-line { display: flex; align-items: center; gap: 8px; margin: 0; }
.promo-price-prefix { width: min-content; color: #1b1b1d; font-size: 1.45rem; font-weight: 950; line-height: .95; text-transform: uppercase; }
.promo-price-value { color: var(--promo-orange); font-size: clamp(5rem,26vw,6.8rem); font-weight: 950; letter-spacing: -.07em; line-height: .8; }
.promo-price-text { max-width: 15ch; margin: 10px 0 0; font-size: 1.08rem; font-weight: 900; line-height: 1.15; }
.promo-price-note { margin: 6px 0 0; color: #3d3f43; font-size: .82rem; font-weight: 600; }
.promo-card [hidden], .promo-bottom [hidden] { display: none; }
.promo-bottom { position: relative; margin-top: -26px; padding: 26px 20px 22px; background: #2b2c2f; color: #fff; border-radius: 50% 50% 0 0 / 26px 26px 0 0; }
.promo-has-image .promo-bottom { flex: none; margin-top: 0; padding: 10px; border-radius: 0; }
.promo-call { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.promo-logo { width: 68px; height: 68px; flex: none; border: 3px solid #fff; border-radius: 50%; background: var(--orange); }
.promo-call-title { margin: 0; font-size: 1.22rem; font-weight: 950; letter-spacing: -.03em; line-height: 1.08; }
.promo-call-accent { color: var(--promo-orange); }
.promo-call-text { margin: 6px 0 0; color: rgba(255,255,255,.88); font-size: .86rem; line-height: 1.35; }
.promo-actions { display: grid; gap: 10px; }
.promo-actions .button { width: 100%; justify-content: center; min-height: 54px; padding-inline: 14px; font-size: clamp(.84rem,3.7vw,.95rem); white-space: nowrap; }
.promo-has-image .promo-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.promo-has-image .promo-actions .button { min-width: 0; min-height: 50px; padding: 8px; font-size: clamp(.7rem,2.4vw,.8rem); line-height: 1.15; white-space: normal; }
.promo-has-image .promo-contact .icon { width: 18px; height: 18px; flex: none; }
.promo-contact { gap: 10px; border: 0; background: var(--promo-orange); color: #fff; box-shadow: 0 10px 24px rgba(240,116,34,.4); animation: promoPulse 2.4s ease-in-out infinite; }
.promo-contact:hover, .promo-contact:focus-visible { background: #ff8a3a; }
.promo-contact .icon { width: 20px; height: 20px; }
.promo-continue { border: 2px solid rgba(255,255,255,.55); background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 850; }
.promo-continue:hover, .promo-continue:focus-visible { border-color: #fff; background: rgba(255,255,255,.1); }
@keyframes promoIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
@keyframes promoPulse { 50% { transform: scale(1.025); box-shadow: 0 14px 30px rgba(240,116,34,.55); } }
@media (max-height: 700px) { .promo-title { font-size: 2.7rem; } .promo-price-value { font-size: 4.4rem; } .promo-card { padding-top: 24px; } }
@media (prefers-reduced-motion: reduce) { .promo-contact { animation: none; } }

@keyframes photoIn { from { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes enrollmentPulse { 70% { box-shadow: 0 0 0 10px rgba(239,87,47,0); } 100% { box-shadow: 0 0 0 0 rgba(239,87,47,0); } }
@keyframes instagramMarquee { to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
  .hero-image-frame img { object-position: right center; }
  .hero-copy { width: min(56%, 560px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr 390px; gap: 38px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 50px; }
  .segments-grid, .projects-grid, .news-grid { gap: 13px; }
  .project-card { flex-basis: calc(50% - 6.5px); }
  .contact-grid { gap: 42px; }
  .instagram-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .numbers-grid[data-count="4"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .numbers-grid[data-count="5"] .number:last-child { grid-column: span 2; }
}

/* Tablet vertical (arte 1024x1366): texto centralizado na area laranja do topo e trio inteiro na base. */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { min-height: 0; background: #fd8a13; }
  .hero::before { display: none; }
  /* Bloco um pouco mais alto que a arte: o espaco extra fica no topo, em laranja liso, e a foto se funde a ele. */
  .hero-grid { min-height: calc(133.4vw + 64px); display: flex; align-items: flex-start; justify-content: center; padding: clamp(40px,4.5vh,60px) 0 0; }
  .hero-copy { width: min(100%, 680px); margin-inline: auto; text-align: center; }
  .hero-copy.is-changing { transform: translateY(12px); }
  .hero .eyebrow { margin-inline: auto; margin-bottom: 22px; }
  /* Entrelinha maior para o sublinhado amarelo nao invadir a linha de baixo. */
  .hero h1 { max-width: 14ch; margin-inline: auto; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 1.02; letter-spacing: -.06em; }
  .hero-lead { max-width: 52ch; margin-inline: auto; margin-top: 18px; }
  .hero-actions { justify-content: center; margin-top: 28px; }
  .hero-trust { justify-content: center; margin-top: 16px; }
  .hero-carousel-nav { max-width: 360px; margin: 16px auto 0; padding-top: 0; border-top: 0; }
  .hero-visual { inset: auto 0 0; height: 133.4vw; }
  .hero-card-main, .hero-image-frame { background: transparent; }
  .hero-image-frame { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%); }
  .hero-image-frame img { object-position: center bottom; }
  .scroll-cue { display: none; }
}

/* Tablet horizontal (arte 1536x1024): foto em tela cheia, trio a direita e texto sobre a area laranja livre. */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape), (min-width: 761px) and (max-width: 1400px) and (orientation: landscape) and (any-pointer: coarse) {
  .hero { min-height: calc(100svh - 120px); background: #fd8a13; }
  .hero::before { display: block; background: linear-gradient(90deg, rgba(253,138,19,.62) 0%, rgba(253,138,19,.3) 34%, rgba(253,138,19,0) 50%); }
  .hero-grid { min-height: calc(100svh - 120px); display: flex; align-items: center; padding: clamp(28px, 6vh, 64px) 0; }
  .hero-copy { width: min(42%, 540px); }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-trust { margin-top: 20px; }
  .hero-carousel-nav { margin-top: 20px; padding-top: 16px; }
  .hero-visual { position: absolute; inset: 0; }
  .hero-card-main, .hero-image-frame { position: absolute; inset: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  .notice-board { padding: 18px 14px 22px; border-width: 9px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.22), inset 0 8px 20px rgba(0,0,0,.24), 6px 6px 0 var(--ink); }
  .notice-board-plaque { padding: 10px 16px; }
  .notice-board-plaque small { font-size: .62rem; }
  .notice { --tilt: -.6deg; padding: 32px 18px 22px; }
  .notice:nth-child(3n+2) { --tilt: .5deg; }
  .notice:nth-child(3n) { --tilt: -.3deg; }
  .segment-media { aspect-ratio: 4 / 5; }
  .segment-media img { object-position: center 18%; }
  .project-page-label { display: none; }
  .project-page-bar-inner { min-height: 64px; }
  .project-page-body { grid-template-columns: 1fr; padding-top: 22px; }
  .project-gallery { order: -1; }
  .project-page-copy { position: static; }
  .project-page-copy .button { width: 100%; }
  .project-gallery-frame { border-radius: 20px; box-shadow: 6px 6px 0 var(--yellow); }
  .project-gallery-nav { top: calc(50% - 40px); width: 44px; height: 44px; }
  .project-gallery-prev { left: 10px; }
  .project-gallery-next { right: 10px; }
  .project-thumbs { gap: 7px; }
  .project-thumb { border-radius: 10px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .section-tight { padding: 54px 0; }
  .section-layer { margin-top: -22px; border-radius: 30px 30px 0 0; scroll-margin-top: 72px; }
  .motion-enabled .section-layer { clip-path: inset(34px 0 0 round 52px 52px 0 0); transform: translateY(34px) scale(.99); }
  .motion-enabled .section-layer.section-layer-visible { clip-path: inset(0 round 30px 30px 0 0); }
  .announcement-inner { justify-content: flex-start; }
  .announcement-inner a { margin-left: auto; white-space: nowrap; }
  .nav-shell { min-height: 72px; }
  .brand { min-width: 0; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy small { display: none; }
  .nav-payment { display: none; }
  /* Celular: texto sobre a area laranja livre e arte vertical inteira no rodape do banner. */
  .hero { min-height: 0; padding: 0; background: #fd8a13; }
  .hero::before { display: none; }
  .hero-grid { min-height: 0; display: flex; align-items: flex-start; padding: clamp(26px,5vh,46px) 0 0; }
  .hero-visual { inset: auto 0 0; height: 177.78vw; }
  .hero-card-main { background: transparent; }
  .hero-image-frame { background: transparent; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); }
  /* O espaco inferior reserva a area dos formandos; botoes e controles ficam sobre o final da imagem. */
  .hero-copy { width: 100%; padding-bottom: 116vw; }
  .hero .eyebrow { margin-bottom: 9px; }
  .hero h1 { max-width: 10ch; font-size: clamp(2.5rem,12.5vw,3.6rem); line-height: .9; }
  .hero-lead { display: block; max-width: 34ch; margin-top: 18px; color: rgba(32,33,36,.9); font-size: .98rem; }
  .hero-actions { position: absolute; z-index: 2; right: 0; bottom: 78px; left: 0; gap: 9px; margin: 0; }
  .hero .button-ghost { background: rgba(255,250,240,.94); }
  .hero .button { min-width: 0; min-height: 46px; flex: 1 1 0; padding: 10px 9px; font-size: .74rem; }
  .hero-trust { display: none; }
  .hero-carousel-nav { position: absolute; z-index: 2; right: 0; bottom: 16px; left: 0; width: auto; margin: 0; padding: 0; border-top: 0; }
  .hero-progress { height: 4px; background: rgba(255,250,240,.66); box-shadow: 0 1px 8px rgba(32,33,36,.22); }
  .hero-progress-fill { background: var(--yellow); }
  .hero-next-button { width: 40px; height: 40px; background: rgba(255,250,240,.9); }
  .scroll-cue { display: none; }
  .hero-image-frame img { object-position: center bottom; }
  .quick-heading, .section-heading { display: block; }
  .quick-heading h2 { font-size: 2.6rem; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-card { min-height: 154px; padding: 19px; }
  .about-grid { grid-template-columns: 1fr; gap: 58px; }
  .about-art { min-height: 440px; }
  .about-copy h2, .section-heading h2, .calendar-intro h2, .contact-copy h2 { font-size: clamp(2.65rem,12vw,4.3rem); }
  .section-heading > p { margin-top: 18px; }
  .numbers-grid:not([data-count="1"]) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .numbers-grid:not([data-count="1"]) .number:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .number { padding: 22px 12px; border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .number:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
  .number strong { font-size: clamp(2.2rem,11vw,3rem); }
  .number span { margin-top: 8px; font-size: .64rem; letter-spacing: .08em; }
  .segments-grid, .projects-grid, .news-grid { grid-template-columns: 1fr; }
  .segment-card { min-height: 0; }
  .project-card:nth-child(2) { transform: none; }
  .project-card:nth-child(2):hover { transform: translateY(-9px) rotate(-1deg); }
  .projects-grid { gap: 22px; }
  .calendar-shell { grid-template-columns: 1fr; gap: 46px; }
  .calendar-intro { position: static; }
  .event { grid-template-columns: 66px 1fr; gap: 16px; }
  .event-category { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .instagram-heading { grid-template-columns: 1fr; gap: 24px; }
  .instagram-intro { justify-self: start; }
  .instagram-card:nth-child(even) { margin-top: 22px; }
  .contact-form { padding: 0 24px 24px; box-shadow: 9px 9px 0 var(--orange); }
  .form-heading { margin: 0 -24px 24px; padding: 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 440px) {
  .hero-actions { display: flex; }
  .button { width: 100%; }
  .quick-grid, .form-row, .contact-list, .footer-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 145px; }
  .about-art { min-height: 365px; }
  .about-photo-main { inset: 0 8% 65px 0; }
  .about-badge { width: 64px; height: 64px; padding: 8px; top: 10px; }
  .about-art > p { left: 5%; width: 235px; }
  .footer-bottom { display: grid; }
  .instagram-grid { gap: 10px; }
  .instagram-card { border-radius: 18px; box-shadow: 5px 5px 0 var(--yellow); }
  .instagram-overlay { padding-inline: 12px; }
  .instagram-overlay > span { display: none; }
}

@media (max-width: 700px) {
  .gallery-toolbar { justify-content: space-between; margin-top: -16px; }
  .project-card { flex-basis: calc(100vw - 46px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; filter: none; transform: none; }
  .hero-visual { transform: none; }
  .section-layer { opacity: 1; clip-path: none; transform: none; }
}

/* Formulário com mais campos e telefones separados */
.contact-list dd span { display: block; }
.contact-form .form-row { gap: 14px; }
@media (min-width: 1101px) { .news-grid.news-grid-even { grid-template-columns: repeat(2,minmax(0,1fr)); } }
