/* S.O.S ESCOLAS • FOTOS POR SERVIÇO • V3 - 2026-10-22 */
.sos-gallery-v3,[data-sos-gallery-v3]{background:#f7f6f2;color:#263943}
.sos-gallery-v3{padding:53px 0 78px;scroll-margin-top:175px}
.sos-gallery-v3 [hidden]{display:none!important}
.sos-gallery-v3 .sos-gallery-container{width:min(100% - 72px,1290px);margin:0 auto}
.sos-gallery-v3 button,.sos-gallery-v3 input,.sos-gallery-v3 select{font:inherit}
.sos-gallery-v3 button{cursor:pointer}
.sos-gallery-v3 .sos-gallery-kicker{font-size:11px;color:#af9461;font-weight:750;letter-spacing:.17em;text-transform:uppercase;display:block}
.sos-gallery-v3 .sos-gallery-intro{display:flex;gap:40px;align-items:end;justify-content:space-between;margin-bottom:28px}
.sos-gallery-v3 .sos-gallery-intro h2{font:normal clamp(34px,3.5vw,53px)/1.12 Georgia,serif;letter-spacing:-.045em;color:#20323d;margin:16px 0 0;max-width:700px}
.sos-gallery-v3 .sos-gallery-intro p{max-width:360px;font-size:14px;line-height:1.75;color:#6a7880;margin:0 0 5px}
.sos-gallery-v3 .sos-gallery-search-all{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #dfdfda;padding:17px 22px;margin-bottom:32px}
.sos-gallery-v3 .sos-gallery-search-all label{color:#30454e;font-weight:750;font-size:13px;white-space:nowrap}
.sos-gallery-v3 input[type=search],.sos-gallery-v3 select{background:#fff;color:#293e48;border:1px solid #d8dedf;border-radius:0;min-height:45px;padding:10px 13px;min-width:0}
.sos-gallery-v3 .sos-gallery-search-all input{width:100%;border:0;outline:0;font-size:14px}
.sos-gallery-v3 input:focus-visible,.sos-gallery-v3 select:focus-visible,.sos-gallery-v3 button:focus-visible{outline:3px solid #a68b59;outline-offset:3px}
.sos-gallery-v3 .sos-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 20px}
.sos-gallery-v3 .sos-service-tile{background:#fff;display:block;border:1px solid #e4e3df;text-align:left;padding:0;transition:transform .18s,box-shadow .18s,border-color .18s;color:#263b46;overflow:hidden}
.sos-gallery-v3 .sos-service-tile:hover{transform:translateY(-4px);box-shadow:0 15px 35px #1d32451e;border-color:#c2ad83}
.sos-gallery-v3 .sos-service-tile-cover{display:block;position:relative;width:100%;height:194px;overflow:hidden;background:#e4e7e5}
.sos-gallery-v3 .sos-service-tile-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.sos-gallery-v3 .sos-service-tile:hover img{transform:scale(1.045)}
.sos-gallery-v3 .sos-service-tile-empty{background:linear-gradient(140deg,#263d4c,#102737);display:grid;place-items:center;color:#ffffff9c;font-weight:700;font-size:12px;letter-spacing:.15em}
.sos-gallery-v3 .sos-service-tile-counter{position:absolute;bottom:13px;left:14px;background:#0a2532d9;color:#fff;padding:8px 10px;font-size:10px;letter-spacing:.08em;font-weight:700;text-transform:uppercase}
.sos-gallery-v3 .sos-service-tile-meta{display:flex;align-items:center;gap:9px;justify-content:space-between;min-height:67px;padding:16px}
.sos-gallery-v3 .sos-service-tile-meta strong{font-size:16px;line-height:1.3;color:#253944;font-weight:700}
.sos-gallery-v3 .sos-service-tile-meta span{font-size:11px;color:#a68b58;white-space:nowrap;font-weight:700}
.sos-gallery-v3 .sos-photo-note{color:#758189;font-size:12.5px;line-height:1.7;margin:26px 0 0}
.sos-gallery-v3 .sos-gallery-alert{padding:18px 22px;background:#fff;border:1px solid #e8e2d4;color:#6b757b;margin:20px 0}
.sos-gallery-v3 .sos-gallery-breadcrumbs{display:flex;align-items:center;gap:14px;color:#ac9160;font-size:12px;font-weight:700;letter-spacing:.03em;margin:0 0 29px}
.sos-gallery-v3 .sos-gallery-breadcrumbs button{border:0;background:none;padding:5px 0;color:#546773;font-size:12px;font-weight:750}
.sos-gallery-v3 .sos-gallery-breadcrumbs button:hover{text-decoration:underline}
.sos-gallery-v3 .sos-gallery-title-row{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.sos-gallery-v3 .sos-gallery-title-row h2{font:normal clamp(40px,4vw,60px)/1.12 Georgia,serif;letter-spacing:-.045em;margin:12px 0;color:#20323d}
.sos-gallery-v3 .sos-gallery-title-row p{font-size:14px;color:#718087;line-height:1.8;max-width:680px;margin:0}
.sos-gallery-v3 .sos-gallery-original-link{border-bottom:1px solid #af9461;padding-bottom:9px;font-size:12px;font-weight:750;color:#8c744a;white-space:nowrap;text-decoration:none}
.sos-gallery-v3 .sos-gallery-filter-panel{background:#fff;border:1px solid #e0e1dd;padding:22px 25px;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,290px) auto;gap:18px;align-items:end;margin-bottom:23px}
.sos-gallery-v3 .sos-gallery-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.sos-gallery-v3 .sos-gallery-field label{color:#485b65;font-size:12px;font-weight:750}
.sos-gallery-v3 #sos-photo-reset{height:45px;border:1px solid #d8dedf;background:#f8f7f2;padding:0 15px;font-weight:700;color:#445b68;font-size:12px}
.sos-gallery-v3 .sos-gallery-meta-count{margin:0 0 19px;font-size:12px;color:#967e52;font-weight:700}
.sos-gallery-v3 .sos-photo-records-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.sos-gallery-v3 .sos-photo-record{min-width:0;border:1px solid #e0e2df;background:#fff}
.sos-gallery-v3 .sos-photo-record-button{width:100%;height:205px;position:relative;border:0;padding:0;display:block;background:#dae0e0;overflow:hidden}
.sos-gallery-v3 .sos-photo-record-button img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .28s}
.sos-gallery-v3 .sos-photo-record-button:hover img{transform:scale(1.05)}
.sos-gallery-v3 .sos-photo-record-zoom{position:absolute;bottom:12px;right:12px;padding:6px 10px;color:#20323d;background:#ffffffee;font-size:22px;line-height:1}
.sos-gallery-v3 .sos-photo-record-info{min-height:78px;padding:15px 17px 19px;display:flex;flex-direction:column;gap:7px}
.sos-gallery-v3 .sos-photo-record-info small{font-size:9px;letter-spacing:.12em;color:#ac9368;font-weight:750}
.sos-gallery-v3 .sos-photo-record-info strong{font-size:14px;color:#243b46;line-height:1.35;overflow-wrap:anywhere}
.sos-gallery-v3 .sos-photo-record-info strong.sos-photo-school-pending{font-weight:500;color:#839095}
.sos-gallery-v3 .sos-gallery-more{display:block;margin:30px auto 0;color:#fff;background:#263d4b;border:0;padding:16px 32px;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}
.sos-gallery-v3 .sos-gallery-empty{text-align:center;padding:35px 20px;background:#fff;border:1px solid #e0e1dd;color:#657982;font-size:14px;line-height:1.7}
.sos-gallery-v3 dialog.sos-gallery-modal{position:fixed;width:min(1100px,calc(100% - 38px));max-width:1100px;max-height:calc(100dvh - 38px);margin:auto;border:0;padding:20px;background:#132936;color:#fff;overflow:auto;box-shadow:0 12px 60px #0008}
.sos-gallery-v3 dialog.sos-gallery-modal::backdrop{background:#071722ee}
.sos-gallery-v3 .sos-gallery-modal-layout{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px}
.sos-gallery-v3 .sos-gallery-modal-layout img{display:block;width:100%;height:auto;max-height:calc(100dvh - 225px);object-fit:contain;margin:auto}
.sos-gallery-v3 .sos-gallery-modal-layout button{background:#ffffff20;color:#fff;border:1px solid #ffffff40;padding:0;width:52px;height:62px;font-size:34px}
.sos-gallery-v3 .sos-gallery-modal-close{display:block;margin:0 0 12px auto;border:1px solid #ffffff48;background:#ffffff1a;color:#fff;width:39px;height:39px;font-size:23px}
.sos-gallery-v3 .sos-gallery-modal-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 65px 5px;color:#f0f3f3;font-size:14px}
.sos-gallery-v3 .sos-gallery-modal-info small{display:block;font-size:10px;letter-spacing:.13em;color:#c1ab80;margin-bottom:7px}
.sos-gallery-v3 .sos-gallery-modal-info strong{font-size:17px}
.sos-gallery-v3 .sos-gallery-modal-info p{margin:0;color:#cfdbdb;font-size:12px}
body.sos-gallery-dialog-open{overflow:hidden}
@media(max-width:1150px){.sos-gallery-v3 .sos-service-grid,.sos-gallery-v3 .sos-photo-records-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.sos-gallery-v3 .sos-gallery-intro{display:block}.sos-gallery-v3 .sos-gallery-intro p{max-width:700px;margin-top:18px}.sos-gallery-v3 .sos-gallery-filter-panel{grid-template-columns:1fr 1fr}.sos-gallery-v3 #sos-photo-reset{grid-column:1/-1}.sos-gallery-v3 .sos-service-grid,.sos-gallery-v3 .sos-photo-records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sos-gallery-v3{padding:35px 0 55px}.sos-gallery-v3 .sos-gallery-container{width:calc(100% - 36px)}.sos-gallery-v3 .sos-gallery-search-all{display:block;padding:12px 17px}.sos-gallery-v3 .sos-gallery-search-all label{display:block;margin-bottom:5px}.sos-gallery-v3 .sos-gallery-search-all input{padding:9px 0}.sos-gallery-v3 .sos-service-grid{gap:12px}.sos-gallery-v3 .sos-service-tile-cover{height:135px}.sos-gallery-v3 .sos-service-tile-meta{padding:12px;min-height:66px}.sos-gallery-v3 .sos-service-tile-meta strong{font-size:13px}.sos-gallery-v3 .sos-service-tile-meta span{font-size:10px}.sos-gallery-v3 .sos-gallery-title-row{display:block}.sos-gallery-v3 .sos-gallery-title-row .sos-gallery-original-link{display:inline-block;margin-top:16px}.sos-gallery-v3 .sos-gallery-filter-panel{grid-template-columns:1fr;padding:17px;gap:13px}.sos-gallery-v3 #sos-photo-reset{grid-column:auto}.sos-gallery-v3 .sos-photo-records-grid{gap:11px}.sos-gallery-v3 .sos-photo-record-button{height:143px}.sos-gallery-v3 .sos-photo-record-info{padding:11px;min-height:85px}.sos-gallery-v3 .sos-photo-record-info strong{font-size:12px}.sos-gallery-v3 .sos-gallery-modal-layout{grid-template-columns:29px minmax(0,1fr) 29px;gap:5px}.sos-gallery-v3 .sos-gallery-modal-layout button{width:29px;height:47px;font-size:23px}.sos-gallery-v3 .sos-gallery-modal-info{margin:12px 30px 5px}.sos-gallery-v3 dialog.sos-gallery-modal{padding:11px}}

/* SOS-CANDIDATAS-REVISAO-V1-20261023 */
.sos-gallery-review-toggle{display:flex;align-items:center;gap:9px;cursor:pointer;padding:12px 13px;background:#fff8eb;border:1px solid #e5d5b9;border-radius:3px;font-size:12px;font-weight:600;color:#7f6743;line-height:1.45;max-width:360px}
.sos-gallery-review-toggle input{accent-color:#9b8051;flex:none;width:16px;height:16px}
.sos-photo-review-badge{display:block;font-size:10.5px;color:#967543;font-weight:650;margin-top:7px;line-height:1.4}
@media(max-width:720px){.sos-gallery-review-toggle{max-width:100%;font-size:11px}}
/* SOS-VIDEOS-POR-CATEGORIA-20261023 */
.sos-service-video-panel{margin:42px 0 20px;padding:26px 28px;border-top:1px solid #e3e3da;background:#f7f6f2}
.sos-service-video-heading>span{font-size:10px;letter-spacing:.13em;color:#a78958;font-weight:750}
.sos-service-video-heading h3{font:normal 29px Georgia,serif;color:#263846;margin:12px 0}
.sos-service-video-heading p{font-size:13px;color:#6d797d;line-height:1.65}
.sos-service-video-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.sos-service-video-link{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px;background:#fff;border:1px solid #e3e0d7;color:#2b3d45;text-decoration:none}
.sos-service-video-link strong{font-size:13px}
.sos-service-video-link span{font-size:11px;color:#9c7d4b}
@media(max-width:720px){.sos-service-video-panel{padding:22px 16px}.sos-service-video-list{grid-template-columns:1fr}.sos-service-video-link{flex-direction:column;align-items:flex-start}}

/* SOS-ATALHOS-FOTOS-VIDEOS-20261023 */
.sos-gallery-media-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.sos-gallery-media-shortcuts button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border:1px solid #203b49;border-radius:4px;background:#203b49;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer;transition:background .15s,border-color .15s}
.sos-gallery-media-shortcuts button+button{background:#fff;color:#203b49;border-color:#b19760}
.sos-gallery-media-shortcuts button:hover{background:#304e5d;border-color:#304e5d;color:#fff}
.sos-gallery-media-shortcuts button:focus-visible{outline:3px solid #b19760;outline-offset:3px}
.sos-gallery-media-shortcuts button[hidden]{display:none}
#sos-photo-filters,#sos-service-video-panel{scroll-margin-top:180px}
@media(max-width:720px){.sos-gallery-media-shortcuts{gap:8px;margin-bottom:18px}.sos-gallery-media-shortcuts button{flex:1;padding:12px 14px}#sos-photo-filters,#sos-service-video-panel{scroll-margin-top:120px}}