:root{
  --green:#007a4d; --green-dark:#07583d; --red:#c91f35; --red-dark:#9d1728; --ink:#14201c;
  --muted:#5c6a64; --line:#dfe8e3; --paper:#ffffff; --soft:#f4f8f6; --soft-green:#e8f5ef;
  --radius:22px; --radius-sm:14px; --shadow:0 18px 50px rgba(8,42,29,.12); --max:1180px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.62} a{color:inherit} img{max-width:100%;height:auto} .sr-only{position:absolute;left:-9999px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,122,77,.12);display:flex;align-items:center;justify-content:space-between;padding:12px clamp(18px,5vw,72px)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.brand-logo{width:67px;height:67px;object-fit:contain}.brand-text{display:flex;flex-direction:column;line-height:1.1;color:var(--green-dark)}.brand-text strong{font-size:1.25rem;letter-spacing:.05em}.brand-text small{font-size:.89rem;color:var(--muted);max-width:330px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.main-nav{display:flex;gap:6px;align-items:center}.main-nav a{font-size:.93rem;font-weight:750;text-decoration:none;padding:10px 12px;border-radius:999px;color:#263832}.main-nav a:hover{background:var(--soft-green);color:var(--green-dark)}.nav-cta,.btn.cta-gradient{background:linear-gradient(135deg,var(--green),var(--red));color:#fff!important;box-shadow:0 10px 24px rgba(201,31,53,.18);border-color:rgba(255,255,255,.9);min-height:54px}.btn.cta-gradient:hover{filter:brightness(.96);transform:translateY(-1px)}.nav-toggle{display:none;background:transparent;border:0;font-size:2rem;color:var(--green-dark)}
.main-nav a.is-active{
  color:var(--red);
  font-weight:850;
  background:transparent;
  position:relative;
}
.main-nav a.is-active:hover{
  color:var(--red);
  background:transparent;
}
.main-nav a.is-active::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:4px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--green),var(--red));
}

.hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 70% 18%,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,rgba(0,91,61,.98),rgba(0,122,77,.92) 45%,rgba(177,24,44,.92));}.hero:before{content:"";position:absolute;inset:auto -10% -35% auto;width:650px;height:650px;border:80px solid rgba(255,255,255,.08);border-radius:50%}.hero:after{content:"";position:absolute;inset:12% auto auto -120px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.06)}.hero-social{position:absolute;z-index:3;top:1cm;right:1cm;display:flex;gap:10px}.hero-social a{width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--green-dark);display:grid;place-items:center;box-shadow:0 10px 24px rgba(0,0,0,.16);text-decoration:none}.hero-social a:hover{transform:translateY(-1px);background:#fff}.hero-social svg{width:20px;height:20px;fill:currentColor}.hero-inner{position:relative;z-index:1;max-width:var(--max);margin:auto;padding:90px 22px;display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}.hero-visual{display:flex;justify-content:center}.hero-logo-card{background:rgba(255,255,255,.95);padding:34px;border-radius:36px;box-shadow:0 28px 70px rgba(0,0,0,.22);transform:rotate(1.5deg)}.hero-logo-card img{width:min(360px,70vw);display:block}.eyebrow{text-transform:uppercase;font-weight:900;letter-spacing:.16em;font-size:.78rem;color:#d7ffe9}.hero h1,.page-hero h1{font-size:clamp(2.65rem,6vw,5.8rem);line-height:1.02;margin:14px 0 18px;letter-spacing:-.05em}.lead{font-size:clamp(1.1rem,2.4vw,1.35rem);max-width:800px;color:inherit;opacity:.9}.hero-actions,.actions,.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 20px;text-decoration:none;font-weight:850;border:2px solid transparent;cursor:pointer;font:inherit}.btn.primary{background:var(--red);color:#fff}.btn.primary:hover{background:var(--red-dark)}.btn.secondary{background:#fff;color:var(--green-dark)}.btn.outline{border-color:rgba(255,255,255,.78);color:#fff}.btn.green{background:var(--green);color:#fff}.btn.ghost{border-color:var(--green);color:var(--green-dark);background:#fff}
.section{padding:76px 22px}.section.alt{background:linear-gradient(180deg,var(--soft),#fff)}.content{max-width:var(--max);margin:auto}.section-header{max-width:820px;margin:0 auto 34px;text-align:center}.section h2{font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.08;margin:0 0 14px;letter-spacing:-.04em;color:var(--green-dark)}.section h3{font-size:1.25rem;margin:0 0 10px;color:var(--green-dark)}p{margin-top:0}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 10px 25px rgba(0,0,0,.04)}.card:hover{box-shadow:var(--shadow);transform:translateY(-2px);transition:.2s ease}.card.accent{border-top:6px solid var(--red)}.card.green{border-top:6px solid var(--green)}.icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--soft-green);color:var(--green-dark);font-size:1.5rem;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;text-align:center;box-shadow:var(--shadow)}.stat strong{display:block;font-size:clamp(2.4rem,5vw,4rem);line-height:1;color:var(--red)}.stat span{font-weight:800;color:var(--green-dark)}.band{background:linear-gradient(135deg,var(--green-dark),var(--green) 60%,var(--red));color:#fff;text-align:center}.band h2{color:#fff}.pill-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.pill{border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:#fff;font-weight:750;color:var(--green-dark)}
.page-hero{background:linear-gradient(135deg,var(--green-dark),var(--green) 65%,var(--red));color:#fff;padding:72px 22px}.page-hero .content{max-width:var(--max)}.page-hero h1{font-size:clamp(2.4rem,5vw,4.6rem)}.crumb{font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--red-dark);font-size:.78rem}.page-hero .crumb{color:#d7ffe9}.timeline{border-left:4px solid var(--green);padding-left:24px}.timeline-item{margin:0 0 26px;position:relative}.timeline-item:before{content:"";position:absolute;left:-36px;top:2px;width:18px;height:18px;border-radius:50%;background:var(--red);border:4px solid #fff;box-shadow:0 0 0 2px var(--red)}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.news-card{display:flex;flex-direction:column;min-height:100%;overflow:hidden;padding:0}.news-thumb{height:150px;background:linear-gradient(135deg,var(--green),var(--red));display:flex;align-items:end;padding:18px;color:#fff;font-weight:900}.news-body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}.news-meta{font-size:.85rem;color:var(--muted);font-weight:800}.news-body .btn{margin-top:auto;align-self:flex-start}.article{max-width:850px;margin:auto}.article h2{margin-top:34px}.article p,.article li{font-size:1.05rem}.article .date{color:var(--muted);font-weight:850}
.form-wrap{max-width:860px;margin:0 auto;background:#fff;padding:30px;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--line)}label{display:block;font-weight:800;margin-top:16px;color:var(--green-dark)}input,select,textarea{width:100%;padding:13px;margin-top:7px;border:1px solid #cddbd4;border-radius:12px;font:inherit;background:#fff}textarea{min-height:130px;resize:vertical}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:10px}.checkbox-grid label{font-weight:500;margin:0;display:flex;gap:8px;align-items:center;color:var(--ink)}.checkbox-grid input{width:auto;margin:0}.hint{font-size:.92rem;color:var(--muted)}.notice{padding:16px 18px;border-radius:14px;margin:18px 0;background:var(--soft-green);color:var(--green-dark);font-weight:700}.error{background:#fff2f2;color:#8d1020}.conditional{display:none}.conditional.show{display:block}.hp{display:none!important}
.site-footer{background:#0d1714;color:#fff;padding:44px 22px 24px}.footer-grid{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:32px;align-items:start}.footer-brand{display:flex;gap:16px;align-items:center}.footer-brand img{width:76px;background:#fff;border-radius:18px;padding:7px}.footer-brand strong{font-size:1.45rem}.footer-brand p,.footer-address p{color:rgba(255,255,255,.82);margin:6px 0}.site-footer h3{margin:0 0 12px;font-size:1rem;color:#d7ffe9}.site-footer a{color:#fff;text-decoration:none}.site-footer a:hover{text-decoration:underline}.footer-social{display:flex;flex-direction:column;gap:8px}.footer-social .social-link{display:inline-flex;align-items:center;gap:8px}.footer-social .social-icon{width:18px;height:18px;display:inline-block;flex:0 0 18px;fill:currentColor}.footer-bottom{max-width:var(--max);margin:28px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.16);display:flex;gap:18px;justify-content:space-between;color:rgba(255,255,255,.7);font-size:.92rem}.footer-version{max-width:var(--max);margin:14px auto 0;text-align:center;color:rgba(255,255,255,.55);font-size:.82rem}
@media(max-width:980px){.brand-text small{display:none}.main-nav{display:none;position:absolute;top:81px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:16px 22px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.main-nav.open{display:flex}.nav-toggle{display:block}.main-nav a{padding:13px 14px}.hero-inner{grid-template-columns:1fr;padding-top:64px;padding-bottom:64px}.hero-visual{order:-1}.hero-logo-card{padding:18px}.grid-3,.grid-4,.news-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}}
@media(max-width:640px){.hero-social{top:16px;right:16px}.site-header{padding:10px 16px}.brand-logo{width:58px;height:58px}.brand-text strong{font-size:1.05rem}.section{padding:56px 18px}.page-hero{padding:56px 18px}.grid-2,.grid-3,.grid-4,.news-grid,.inline-fields,.checkbox-grid{grid-template-columns:1fr}.hero-actions .btn,.actions .btn,.button-row .btn{width:100%}.footer-brand{align-items:flex-start}.form-wrap{padding:22px}.hero-inner{padding-left:18px;padding-right:18px}.hero h1{font-size:2.7rem}}


/* Área Reservada */
.section-heading{max-width:840px;margin-bottom:24px}.reserved-auth-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;align-items:start}.reserved-admin-link{text-align:center;margin-top:22px;color:#555}.reserved-login{max-width:520px;margin:0 auto}.notice.error{background:#fdecec;color:#8a1010}.reserved-top{margin-top:42px}.folder-card{display:flex;align-items:center;gap:16px;text-decoration:none;color:inherit}.folder-icon{font-size:2.2rem;line-height:1}.folder-card:hover{transform:translateY(-2px);transition:.2s ease;border-color:#d7d7d7}.table-wrap{width:100%;overflow-x:auto;background:#fff;border:1px solid #ececec;border-radius:18px;box-shadow:0 8px 22px rgba(0,0,0,.04)}.reserved-table{width:100%;border-collapse:collapse;min-width:760px}.reserved-table th,.reserved-table td{padding:14px 16px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}.reserved-table th{background:#f6f7f8;font-size:.9rem;text-transform:uppercase;letter-spacing:.04em;color:var(--green-dark)}.reserved-table tr:last-child td{border-bottom:0}.actions-cell{display:flex;gap:8px;flex-wrap:wrap}.actions-cell form{display:inline;margin:0}.mini-btn{display:inline-block;border:0;border-radius:999px;background:#f1f1f1;color:#151515;padding:8px 12px;text-decoration:none;font-weight:700;cursor:pointer;font:inherit;font-size:.88rem}.mini-btn.danger{background:#fdecec;color:#8a1010}@media(max-width:860px){.reserved-auth-grid{grid-template-columns:1fr}.reserved-table{min-width:680px}}

/* Gestão de notícias e destaque homepage */
.news-image{width:100%;height:190px;object-fit:cover;display:block}.article-image{width:100%;max-height:460px;object-fit:cover;border-radius:22px;margin:0 0 28px;box-shadow:var(--shadow)}.news-list-archive{display:flex;flex-direction:column;gap:10px}.archive-row{display:grid;grid-template-columns:120px 1fr 140px;gap:14px;align-items:center;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px}.archive-row:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.archive-row span{color:var(--muted);font-weight:800}.archive-row em{font-style:normal;color:var(--green-dark);font-weight:800;text-align:right}.feature-section{background:linear-gradient(180deg,#fff,var(--soft))}.feature-home-card{display:grid;grid-template-columns:1.1fr minmax(260px,420px);gap:34px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:32px;padding:34px;box-shadow:var(--shadow)}.feature-home-copy h2{font-size:clamp(2rem,3.8vw,3.7rem);line-height:1.04;margin:10px 0 14px;color:var(--green-dark)}.feature-meta{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 22px}.feature-meta span{background:var(--soft-green);color:var(--green-dark);font-weight:850;border-radius:999px;padding:8px 13px}.feature-square{aspect-ratio:1/1;border-radius:28px;overflow:hidden;background:linear-gradient(135deg,var(--green),var(--red));box-shadow:0 18px 45px rgba(0,0,0,.16)}.feature-square img,.feature-square video{width:100%;height:100%;object-fit:cover;display:block}.feature-square-placeholder{height:100%;display:flex;flex-direction:column;justify-content:space-between;color:#fff;padding:30px;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.22),transparent 26%),linear-gradient(135deg,var(--green),var(--red))}.feature-square-placeholder strong{font-size:1rem;letter-spacing:.14em}.feature-square-placeholder span{font-size:clamp(1.6rem,3vw,2.7rem);line-height:1.05;font-weight:950}.admin-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.admin-tabs a{display:inline-flex;text-decoration:none;border-radius:999px;background:var(--soft-green);color:var(--green-dark);font-weight:850;padding:9px 14px}.admin-tabs a:hover{background:var(--green);color:#fff}.contact-pair{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field-note{font-size:.9rem;color:var(--muted);margin:7px 0 0}.large-textarea{min-height:230px}.check-line{display:flex;gap:9px;align-items:center;margin-top:0}.check-line input{width:auto;margin:0}.eyebrow.dark{color:var(--red-dark)}
@media(max-width:860px){.feature-home-card{grid-template-columns:1fr}.archive-row{grid-template-columns:1fr;gap:4px}.archive-row em{text-align:left}.contact-pair{grid-template-columns:1fr}}


/* Ajuste: ícones sociais no topo da homepage com cores originais */
.hero-social a[aria-label*="Facebook"]{
  color:#1877F2;
}
.hero-social a[aria-label*="Instagram"]{
  color:#fff;
  background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
}
.hero-social a[aria-label*="Instagram"]:hover{
  background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
  filter:brightness(1.04);
}
.hero-social a[aria-label*="Instagram"] svg{
  fill:#fff;
}

/* Ícones sociais globais no topo das páginas */
main{position:relative}
.hero > .hero-social{display:none!important}
.site-social-global{position:absolute;z-index:40;top:1cm;right:1cm;display:flex;gap:10px}
.site-social-global a{width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.94);display:grid;place-items:center;box-shadow:0 10px 24px rgba(0,0,0,.16);text-decoration:none;transition:.18s ease}
.site-social-global a:hover{transform:translateY(-1px);filter:brightness(1.04)}
.site-social-global svg{width:20px;height:20px;fill:currentColor}
.site-social-global .site-social-fb{color:#1877F2}
.site-social-global .site-social-insta{color:#fff;background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%)}
@media(max-width:640px){.site-social-global{top:16px;right:16px}.site-social-global a{width:34px;height:34px}.site-social-global svg{width:18px;height:18px}}

/* Galeria editável da homepage */
.homepage-gallery-section{background:linear-gradient(180deg,#fff,var(--soft))}
.gallery-theme{margin-bottom:54px}
.gallery-theme:last-child{margin-bottom:0}
.gallery-main-header{margin-bottom:30px}
.gallery-theme-title{display:block;margin:0 0 18px}
.homepage-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.homepage-gallery-item{margin:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(0,0,0,.05);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.homepage-gallery-item:hover,.homepage-gallery-item:focus-visible{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,0,0,.11);outline:none}
.gallery-media-preview{position:relative;overflow:hidden;background:#111}.homepage-gallery-item img,.homepage-gallery-item video{width:100%;height:190px;display:block;object-fit:cover;background:#111}.gallery-open-icon{position:absolute;right:10px;bottom:10px;width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--red);font-weight:900;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.homepage-gallery-item figcaption{padding:14px 17px;font:inherit;font-size:1rem;line-height:1.62;font-weight:400;color:var(--ink)}
.admin-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.admin-gallery-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.04)}
.admin-gallery-card img,.admin-gallery-card video{width:100%;height:190px;display:block;object-fit:cover;background:#111}
.admin-gallery-card-body{padding:16px}
.admin-gallery-card-body h3{margin:12px 0}
.admin-gallery-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-gallery-actions form{margin:0}
.admin-gallery-edit-form{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.admin-gallery-edit-form[hidden]{display:none}.admin-gallery-edit-form label{font-size:.9rem}.admin-gallery-edit-form input{padding:10px 12px}
@media(max-width:1100px){.homepage-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.homepage-gallery-grid,.admin-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.homepage-gallery-grid,.admin-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage-gallery-item img,.homepage-gallery-item video{height:180px}}
@media(max-width:420px){.homepage-gallery-grid,.admin-gallery-grid{grid-template-columns:1fr}.homepage-gallery-item img,.homepage-gallery-item video{height:240px}}

.gallery-lightbox[hidden]{display:none}.gallery-lightbox{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(0,0,0,.88)}.gallery-lightbox-content{max-width:min(96vw,1500px);max-height:90vh;display:flex;align-items:center;justify-content:center}.gallery-lightbox-media{display:block;max-width:100%;max-height:90vh;width:auto;height:auto;object-fit:contain;background:#000}.gallery-lightbox-close{position:fixed;top:18px;right:22px;width:48px;height:48px;border:0;border-radius:999px;background:#fff;color:#111;font-size:2rem;line-height:1;cursor:pointer;box-shadow:0 8px 25px rgba(0,0,0,.35)}.gallery-lightbox-open{overflow:hidden}


/* Página Futebol de Amputados */
.amputee-history-section{background:linear-gradient(180deg,#fff,var(--soft))}
.amputee-history-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:26px;align-items:stretch}
.amputee-history-card,.amputee-links-card{min-height:min(680px,calc(100vh - 120px));display:flex;flex-direction:column}
.amputee-history-card h2,.amputee-links-card h2{margin-top:10px}
.amputee-history-card p{font-size:1.06rem;line-height:1.78}
.history-card-actions{margin-top:auto;padding-top:24px}
.useful-links-list{display:flex;flex-direction:column;gap:11px;margin-top:14px}
.useful-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);text-decoration:none;font-weight:800;line-height:1.35;transition:.18s ease}
.useful-link:hover{border-color:rgba(22,143,92,.45);box-shadow:0 9px 22px rgba(0,0,0,.07);transform:translateY(-1px);color:var(--red)}
.useful-link strong{color:var(--red);font-size:1.15rem}
.amputee-gallery-section{background:#fff}
.amputee-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.amputee-gallery-item{margin:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(0,0,0,.05);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.amputee-gallery-item:hover,.amputee-gallery-item:focus-visible{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,0,0,.11);outline:none}
.amputee-gallery-item img,.amputee-gallery-item video{width:100%;height:190px;display:block;object-fit:cover;background:#111}
.amputee-gallery-item figcaption{padding:14px 15px}
.amputee-gallery-theme{display:block;margin-bottom:5px;color:var(--red);font-size:1rem;line-height:1.25}
.amputee-gallery-item figcaption span{display:block;color:var(--ink);font-size:.94rem;line-height:1.48;font-weight:400}
.history-full-content{max-width:920px}
.history-section{padding:0 0 34px;margin:0 0 34px;border-bottom:1px solid var(--line)}
.history-section:last-of-type{border-bottom:0}
.history-section h2{font-size:clamp(1.55rem,2.4vw,2.15rem);color:var(--green-dark)}
.history-section p,.history-section li{font-size:1.04rem;line-height:1.78}
.history-section ul{padding-left:22px}
.admin-af-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:1100px){.amputee-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.amputee-history-grid{grid-template-columns:1fr}.amputee-history-card,.amputee-links-card{min-height:auto}.amputee-gallery-grid,.admin-af-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.amputee-gallery-grid,.admin-af-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amputee-gallery-item img,.amputee-gallery-item video{height:180px}}
@media(max-width:420px){.amputee-gallery-grid,.admin-af-gallery-grid{grid-template-columns:1fr}.amputee-gallery-item img,.amputee-gallery-item video{height:240px}}


/* Página Parceiros */
.partner-intro-grid{align-items:stretch}
.partner-intro-grid>div:first-child p{font-size:1.04rem;line-height:1.72}
.partner-levels-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:stretch}
.partner-levels-grid .card{height:100%}
.partner-level-card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:24px}
.partner-level-card h3{margin:8px 0 10px}
.partner-level-card p{margin:0;max-width:28ch}
.partner-level-seal{display:block;width:min(100%,190px);height:auto;margin:0 auto 4px;filter:drop-shadow(0 12px 24px rgba(0,0,0,.10))}
.partner-full-content{max-width:940px}
.partner-full-intro{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--soft);margin-bottom:40px}
.partner-full-intro p,.partner-full-section p{font-size:1.04rem;line-height:1.78}
.partner-full-section{padding:0 0 30px;margin:0 0 34px;border-bottom:1px solid var(--line)}
.partner-full-section:last-of-type{border-bottom:0}
.partner-full-section h2{font-size:clamp(1.65rem,2.6vw,2.25rem)}
.partner-final-actions{margin-top:34px;flex-wrap:wrap}
@media(max-width:1100px){.partner-levels-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.partner-levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.partner-levels-grid{grid-template-columns:1fr}}


/* Flyer da página Parceiros */
.partner-flyer{
  margin:0;
  align-self:start;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 16px 38px rgba(0,0,0,.09);
}
.partner-flyer img{
  display:block;
  width:100%;
  height:auto;
}


/* Alinhamento do CTA no texto de entrada da página Parceiros */
.partner-intro-actions{
  margin-top:auto;
  justify-content:flex-end;
  padding-top:42px;
}

.partner-intro-grid>div:first-child{display:flex;flex-direction:column;min-width:0}
.partner-intro-actions{margin-top:auto;justify-content:flex-end;padding-top:42px}
.partner-flyer{height:100%}
.partner-flyer img{height:100%;object-fit:cover}

/* CTA abaixo dos tipos de parceria */
.partner-levels-actions{
  justify-content:flex-end;
  margin-top:30px;
}


/* Imagens e vídeos nas Notícias e no Destaque */
.news-video{
  background:#111;
}
.article-video{
  background:#111;
  display:block;
}
.feature-square video{
  background:#111;
}


/* v1.26 hero update: lower height and integrated team image */
.hero{min-height:auto;}
.hero-bg-photo{
  position:absolute;
  z-index:0;
  top:68px;
  bottom:0;
  left:35%;
  right:0;
  background-image:linear-gradient(90deg,rgba(0,91,61,.96) 0%,rgba(0,91,61,.76) 14%,rgba(0,91,61,.34) 34%,rgba(0,91,61,0) 57%),url("../img/home-hero-equipa.png");
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
  opacity:.84;
  pointer-events:none;
}
.hero-inner{
  grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);
  padding-top:68px;
  padding-bottom:68px;
  min-height:0;
}
.hero-copy{max-width:720px;position:relative;z-index:2}
.hero h1{margin-top:0;}
.hero-actions{margin-top:24px;}
@media(max-width:980px){
  .hero-bg-photo{top:64px;left:30%;opacity:.7;}
  .hero-inner{padding-top:64px;padding-bottom:64px;}
}
@media(max-width:640px){
  .hero-bg-photo{top:56px;left:0;opacity:.25;background-position:center top;}
  .hero-inner{padding-top:56px;padding-bottom:56px;}
}


/* v1.26.3 - bloco baixo de entidades afiliadas com emblemas oficiais */
.affiliations-strip{
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 24px rgba(0,0,0,.035);
}
.affiliations-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:0;
  padding-top:12px;
  padding-bottom:12px;
}
.affiliations-label{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  margin-right:40px;
  color:var(--green-dark);
  font-weight:950;
  letter-spacing:.02em;
}
.affiliations-logos{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}
.affiliations-logos a{
  height:54px;
  min-width:62px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:18px;
  border:1px solid rgba(0,91,61,.14);
  background:#fff;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(0,0,0,.045);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.affiliations-logos a:hover{
  transform:translateY(-1px);
  border-color:rgba(177,24,44,.34);
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}
.affiliations-logos img{
  display:block;
  max-height:42px;
  max-width:118px;
  width:auto;
  height:auto;
  object-fit:contain;
}
@media(max-width:780px){
  .affiliations-inner{align-items:flex-start;flex-direction:column;gap:12px;min-height:auto;}
  .affiliations-label{margin-right:0;}
  .affiliations-logos{gap:10px;}
  .affiliations-logos a{height:50px;min-width:58px;padding:7px 10px;}
  .affiliations-logos img{max-height:38px;max-width:105px;}
}


/* v1.26.4 - fundos dos botões alinhados com os emblemas */
.affiliations-logos .affiliate-logo-idipd{
  background:#b70b0c;
  border-color:#b70b0c;
}
.affiliations-logos .affiliate-logo-fundacao-fpf{
  background:#000036;
  border-color:#000036;
}
.affiliations-logos .affiliate-logo-eaff{
  background:#102556;
  border-color:#102556;
}
.affiliations-logos .affiliate-logo-idipd:hover,
.affiliations-logos .affiliate-logo-fundacao-fpf:hover,
.affiliations-logos .affiliate-logo-eaff:hover{
  border-color:rgba(255,255,255,.8);
}


/* v1.26.5 - WAFF mais próximo do limite do botão */
.affiliations-logos .affiliate-logo-waff{
  padding:3px 7px;
}
.affiliations-logos .affiliate-logo-waff img{
  max-height:50px;
  max-width:50px;
}
@media(max-width:780px){
  .affiliations-logos .affiliate-logo-waff img{
    max-height:46px;
    max-width:46px;
  }
}


/* Cookie consent / Analytics */
.cookie-consent{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  padding:18px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
}
.cookie-consent[hidden]{display:none!important;}
.cookie-consent__box{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:center;
  padding:18px 20px;
  border:1px solid rgba(0,91,61,.18);
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}
.cookie-consent__text{max-width:760px;}
.cookie-consent__text strong{display:block;color:var(--green);font-size:1.05rem;margin-bottom:4px;}
.cookie-consent__text p{margin:0;color:var(--muted);line-height:1.45;}
.cookie-consent__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.footer-cookie-link{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-decoration:underline;
  cursor:pointer;
  padding:0;
}
.footer-cookie-link:hover{opacity:.85;}
@media(max-width:780px){
  .cookie-consent{padding:12px;}
  .cookie-consent__box{align-items:flex-start;flex-direction:column;padding:16px;}
  .cookie-consent__actions{width:100%;justify-content:flex-start;}
}
