/* One source of layout rules for the school header and banner. */
.header.header{position:sticky;top:0;z-index:40;background:var(--header);border:0;border-radius:0;backdrop-filter:none;isolation:isolate;overflow:visible;box-shadow:none;filter:drop-shadow(0 5px 9px rgb(7 45 34 / var(--header-shadow,.13)))}
.header.header:before{display:none}
.header .nav-inner{position:relative;display:flex;align-items:center;min-height:64px;gap:18px;z-index:1}
.header .brand{position:relative;flex:0 0 175px;width:175px;align-self:flex-start;z-index:2;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.header .brand:before{content:"";position:absolute;top:0;left:-12px;right:-12px;height:calc(var(--logo-height) + 14px);background:var(--header);border-radius:0 0 20px 20px;z-index:-1;pointer-events:none}
.header .brand img{display:block;object-fit:contain;width:100%;height:var(--logo-height);max-height:105px;margin:2px 0 -26px}
.header .nav-inner nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 19px;flex:1;min-width:0;font-size:var(--menu-size);font-weight:600;white-space:nowrap}
.header .nav-inner nav a{padding:6px 0}
.header .nav-inner nav .current{color:var(--button);border-bottom:2px solid var(--button)}
.header-phone{display:flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid #bad7c4;border-radius:30px;font-size:11px;white-space:nowrap}
.header-phone svg{width:22px;height:22px;background:#0bb450;border-radius:50%;padding:4px;color:white}
.header .nav-visit{margin:0;padding:11px 18px;font-size:12px;white-space:nowrap;min-width:145px;background:var(--yellow);color:var(--green)}
.header .nav-toggle{display:none;padding:7px;background:transparent;border:0;color:var(--green)}
.header .header-leaves{top:-90px;right:0;width:180px;height:160px;transform:rotate(180deg);z-index:0;pointer-events:none}
.hero.hero{position:relative;isolation:isolate;display:block;width:min(1180px,calc(100% - 64px));max-width:1180px;height:440px;min-height:0;margin:0 auto;padding:0;background:var(--paper);overflow:hidden}
.hero.hero .hero-slide{display:block;position:absolute;inset:0;height:100%;min-height:0;overflow:hidden;opacity:0;transition:opacity .8s ease-in-out;pointer-events:none}
.hero.hero .hero-slide.active{opacity:1}
.hero.hero .hero-copy{position:absolute;left:22px;top:0;width:43%;max-width:none;height:100%;padding:52px 0 95px;display:flex;flex-direction:column;align-items:flex-start;background:none;z-index:5;overflow:visible}
.hero.hero h1,.hero.hero .hero-slide-title{font:800 46px/.99 Arial,'Segoe UI',sans-serif;letter-spacing:-.045em;color:var(--green);max-height:none;overflow:visible;margin:0 0 8px;flex-shrink:0}
.hero.hero h1 em,.hero.hero .hero-slide-title em{color:var(--sun-orange);font-style:normal}
.hero.hero .hero-subtitle{font-size:22px;line-height:1.1;letter-spacing:-.04em;margin:0 0 13px;color:var(--green);white-space:normal;flex-shrink:0}
.hero.hero .hero-description{font-size:13px;line-height:1.3;max-width:360px;max-height:none;overflow:visible;margin:0;color:#365268}
.hero.hero .hero-actions{position:absolute;left:0;right:0;bottom:78px;min-height:38px;margin:0;display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.hero.hero .hero-actions .button,.hero.hero .hero-actions .text-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:30px;padding:10px 15px;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap;text-decoration:none}
.hero.hero .hero-actions .text-link{border:1px solid var(--button);background:var(--paper);color:var(--green)}
.hero.hero .hero-actions svg{width:15px;height:15px}
.hero.hero .hero-location{display:none}
.hero.hero .hero-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;overflow:hidden;background:var(--paper);z-index:1}
.hero.hero .hero-photo>img{position:absolute;left:auto;right:calc(30% - 65px);top:0;width:auto;max-width:none;height:100%;object-fit:contain;object-position:right center;mask:none;transform:none;border-radius:0}
.hero.hero .hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,var(--paper) 20%,color-mix(in srgb,var(--paper) 95%,transparent) 29%,color-mix(in srgb,var(--paper) 38%,transparent) 39%,transparent 51%);pointer-events:none;z-index:2}
.hero.hero .hero-photo:after{display:none}
.hero.hero .hero-facade{position:absolute;right:0;top:0;bottom:0;width:30%;overflow:hidden;border-left:0;border-radius:0;box-shadow:none;z-index:3}
.hero.hero .hero-facade>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0;mask:url(facade-s-mask.svg) center/100% 100% no-repeat}
.hero.hero .hero-facade .photo-note{position:absolute;left:calc(var(--note-x,50)*1%);top:calc(var(--note-y,45)*1%);right:auto;width:80%;max-width:none;margin:0;padding:0;transform:translate(calc(var(--note-x,50)*-1%),calc(var(--note-y,45)*-1%)) rotate(-5deg);font:italic 700 var(--note-size,32px)/1.08 'Segoe Print','Comic Sans MS',cursive;text-align:center;color:#fff;background:none;text-shadow:0 0 3px #000,0 0 8px #000a,0 3px 14px #0009;z-index:4}
.hero .note-line{display:block;white-space:nowrap;line-height:1.08}
.hero .photo-note:after{content:"";display:block;width:78%;height:4px;margin:8px auto 0;background:var(--sun-orange);border-radius:50%;transform:rotate(-7deg)}
.hero.hero .hero-leaves{display:none}
.hero.hero .carousel-controls{position:absolute;left:52%;bottom:16px;top:auto;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;height:34px;max-width:calc(100% - 24px);padding:4px 9px;margin:0;border:1px solid #d8e5d8;border-radius:30px;background:#fffffff0;white-space:nowrap;z-index:6}
.hero .carousel-controls button{display:grid;place-items:center;border:0;background:transparent;color:var(--green);font-size:12px;font-weight:600;padding:3px 8px;min-width:23px;min-height:23px;line-height:1.2;cursor:pointer}
.hero .carousel-dots{display:flex;align-items:center;gap:9px}
.hero .carousel-dots button{display:block;width:9px;height:9px;min-width:9px;min-height:9px;max-height:9px;padding:0;border:1px solid var(--green);border-radius:50%}
.hero .carousel-dots button[aria-pressed=true]{background:var(--green)}
@media(max-width:1100px) and (min-width:761px){
 .header .nav-inner{gap:12px}.header .brand{width:155px;flex-basis:155px}.header .nav-inner nav{gap:4px 13px;font-size:var(--menu-size)}.header-phone{font-size:10px;padding:8px 10px}.header .nav-visit{min-width:126px;font-size:11px;padding:10px 12px}
 .hero.hero{height:420px}.hero.hero .hero-copy{left:18px;width:44%;padding-top:48px}.hero.hero h1,.hero.hero .hero-slide-title{font-size:42px}.hero.hero .hero-subtitle{font-size:19px}.hero.hero .hero-description{font-size:12px;max-width:320px}.hero.hero .hero-actions{gap:8px}.hero.hero .hero-actions .button,.hero.hero .hero-actions .text-link{font-size:11px;padding:10px 12px}
}
@media(max-width:900px) and (min-width:761px){.header-phone{display:none}.hero.hero h1,.hero.hero .hero-slide-title{font-size:38px}.hero.hero .hero-copy{padding-top:48px}.hero.hero .hero-subtitle{font-size:18px}.hero.hero .hero-actions{gap:6px}.hero.hero .hero-actions .button,.hero.hero .hero-actions .text-link{padding:9px 10px;font-size:10px}.hero.hero .hero-facade .photo-note{font-size:min(var(--note-size,32px),25px)}}
@media(max-width:760px){
 .header .nav-inner{min-height:64px;gap:10px}.header .brand{width:135px;flex-basis:135px}.header .brand img{height:78px;margin:2px 0 -18px}.header .brand:before{height:90px;left:-9px;right:-9px;border-radius:0 0 17px 17px}.header-phone{display:none}.header .nav-visit{min-width:0;margin-left:auto;font-size:11px;padding:10px 12px}.header .nav-toggle{display:block}.header .header-leaves{display:none}.header .nav-inner nav{display:none;position:absolute;top:64px;left:-16px;right:-16px;padding:20px;background:var(--header);font-size:var(--menu-size);gap:14px;white-space:normal;flex-direction:column;flex-wrap:nowrap;max-height:calc(100dvh - 100px);overflow-y:auto}.header .nav-inner nav.open{display:flex}
 .hero.hero{width:calc(100% - 32px);height:630px;margin:0 auto}.hero.hero .hero-copy{left:16px;right:16px;top:0;width:auto;max-width:none;height:320px;padding:48px 0 75px}.hero.hero h1,.hero.hero .hero-slide-title{font-size:36px;line-height:1}.hero.hero .hero-subtitle{font-size:18px;line-height:1.1;margin-bottom:10px}.hero.hero .hero-description{font-size:12px;line-height:1.25;max-width:100%}.hero.hero .hero-actions{bottom:12px;gap:8px;min-height:38px;flex-wrap:nowrap}.hero.hero .hero-actions .button,.hero.hero .hero-actions .text-link{font-size:10px;padding:9px 10px;gap:6px}
 .hero.hero .hero-photo>img{left:0;top:320px;width:70%;height:290px;object-fit:contain;object-position:right center}.hero.hero .hero-photo:before{background:linear-gradient(180deg,var(--paper) 0%,var(--paper) 47%,color-mix(in srgb,var(--paper) 85%,transparent) 52%,transparent 61%)}.hero.hero .hero-facade{top:332px;width:30%;border-left-width:6px;border-radius:0;box-shadow:none}.hero.hero .hero-facade .photo-note{width:90%;font-size:min(var(--note-size,32px),17px)}.hero .photo-note:after{height:3px;margin-top:6px}.hero.hero .hero-leaves{width:74px}.hero.hero .carousel-controls{left:48%;bottom:16px;height:33px;gap:5px;padding:4px 6px}.hero .carousel-controls button{font-size:11px;padding:3px 6px}.hero .carousel-dots{gap:7px}
}
@media(max-width:360px){.header .brand{width:118px;flex-basis:118px}.header .nav-visit{font-size:10px;padding:10px}.hero.hero h1,.hero.hero .hero-slide-title{font-size:33px}.hero.hero .hero-actions{gap:5px}.hero.hero .hero-actions .button,.hero.hero .hero-actions .text-link{font-size:9px;padding:9px}}

@media(max-width:760px){.hero.hero{height:550px}.hero.hero .hero-photo>img{top:320px;width:100%;height:180px;object-position:center top}.hero.hero .hero-facade{top:320px;width:35%}.hero.hero .carousel-controls{left:32%;top:auto;bottom:16px}.hero.hero .hero-photo:before{background:linear-gradient(180deg,var(--paper) 0%,var(--paper) 50%,color-mix(in srgb,var(--paper) 65%,transparent) 56%,transparent 66%)}}

.hero.hero .carousel-controls [data-slide]{display:block;width:9px;height:9px;min-width:9px;min-height:9px;max-width:9px;max-height:9px;padding:0;margin:0;line-height:0;border:1px solid var(--green);border-radius:50%;flex:none}

.hero .carousel-controls button:focus-visible{outline:2px solid var(--green);outline-offset:3px}

/* Editable full-width background behind the aligned banner. */
.hero.hero{overflow:visible}
.hero.hero:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:linear-gradient(180deg,var(--banner-band,#EAF5E8) 0%,color-mix(in srgb,var(--banner-band,#EAF5E8) 55%,var(--paper)) 60%,var(--paper) 100%);z-index:-1;pointer-events:none}

.hero.hero .hero-facade:before{content:"";position:absolute;inset:0;background:var(--yellow);mask:url(facade-s-edge.svg) center/100% 100% no-repeat;z-index:2;pointer-events:none}
@media(max-width:760px){.hero.hero .hero-photo>img{top:320px;left:auto;right:calc(35% - 20px);width:auto;max-width:none;height:230px}.hero.hero .hero-facade{border-left-width:0}}

@media(prefers-reduced-motion:reduce){.hero.hero .hero-slide{transition:none}}

/* Filetes de identidade: menu, banner e início do rodapé. */
.header.header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--sun-orange);z-index:0;pointer-events:none}
.hero.hero:after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:18px;background:var(--sun-orange);z-index:7;pointer-events:none}
.intro-values{border-radius:20px}
.footer.footer{border-top:0}
.footer.footer:before{content:"";position:absolute;top:0;left:0;width:58%;height:4px;background:var(--sun-orange);z-index:3;pointer-events:none}
@media(max-width:760px){
 .footer.footer:before{width:62%}
}

/* The size chosen in Logo e cores also applies on narrow screens. */
@media(max-width:760px){
 .header .brand img{height:var(--logo-height);max-height:105px}
 .header .nav-inner nav{top:100%}
}

/* Fotos da estrutura abrem a galeria administrada no painel. */
.space-item .space-open{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.space-item .space-open img{width:100%;height:105px;object-fit:cover;border:1px solid #c4d4af;border-radius:13px;margin:0;transition:filter .18s ease,transform .18s ease}
.space-item .space-open:hover img{filter:brightness(1.08)}
.space-item .space-open:focus-visible{outline:3px solid var(--yellow);outline-offset:4px;border-radius:13px}
.space-item .space-open h3{color:white;font-size:12px;line-height:1.12;margin:5px 3px 0}
.space-open-hint{display:inline-block;margin:2px 3px 0;color:#e6f7df;font-size:10px;text-decoration:underline;text-underline-offset:2px}
.structure-gallery-dialog{width:min(980px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);margin:auto;padding:0;border:0;border-radius:20px;background:#fff;color:#173e31;box-shadow:0 24px 85px #001b14a8;overflow:hidden}
.structure-gallery-dialog::backdrop{background:#00170fba;backdrop-filter:blur(5px)}
.structure-gallery-shell{max-height:calc(100dvh - 28px);display:flex;flex-direction:column}
.structure-gallery-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px;background:var(--green);color:#fff}
.structure-gallery-top p{color:inherit;font-size:11px;font-weight:800;letter-spacing:.14em}
.structure-gallery-top button{width:37px;height:37px;border:1px solid #ffffff75;border-radius:50%;background:#ffffff17;color:#fff;font-size:27px;line-height:1;cursor:pointer}
.structure-gallery-view{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;min-height:0;overflow:auto;background:#edf4ec}
.structure-gallery-slides{min-width:0}
.structure-gallery-slide{margin:0;min-width:0}
.structure-gallery-slide[hidden]{display:none}
.structure-gallery-slide img{display:block;width:100%;height:min(59dvh,600px);object-fit:contain;background:#102d23}
.structure-gallery-slide figcaption{padding:18px 22px 20px;background:#fff;line-height:1.45}
.structure-gallery-slide figcaption strong{display:block;color:#123e2d;font-size:21px;line-height:1.2}
.structure-gallery-slide figcaption p{margin-top:7px;color:#42594b;font-size:14px;line-height:1.55}
.structure-gallery-arrow{justify-self:center;align-self:center;width:40px;height:48px;border:1px solid #b8cdbc;border-radius:12px;background:#fff;color:#075a2a;font-size:31px;line-height:1;cursor:pointer}
.structure-gallery-arrow:hover,.structure-gallery-top button:hover{filter:brightness(.92)}
.structure-gallery-dialog button:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.structure-gallery-bottom{display:flex;justify-content:space-between;gap:15px;padding:11px 20px;background:#f5faf4;color:#47634e;font-size:12px}
body.structure-gallery-open{overflow:hidden}
@media(max-width:760px){.space-item .space-open img{height:125px}.space-item .space-open h3{font-size:13px}.structure-gallery-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.structure-gallery-shell{max-height:calc(100dvh - 16px)}.structure-gallery-view{grid-template-columns:36px minmax(0,1fr) 36px}.structure-gallery-arrow{width:31px;height:40px;font-size:25px}.structure-gallery-slide img{height:min(52dvh,460px)}.structure-gallery-slide figcaption{padding:15px}.structure-gallery-slide figcaption strong{font-size:17px}.structure-gallery-bottom span:last-child{display:none}}
