/*
 * CERTIFICAÇÕES — ESTILOS
 * Página independente de certificações.
 *
 * Ordem geral:
 * 1. Base, cabeçalho e resumo
 * 2. Filtros, catálogo e modal
 * 3. Tema claro e responsividade
 * 4. Cursor, idioma e acessibilidade
 * 5. Refinos específicos de UX/mobile
 */

:root{--bg:#050505;--panel:#0b0b0b;--panel2:#111;--text:#f4f4f4;--muted:#969696;--line:rgba(255,255,255,.11);--green:#39ff14;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% 0,#121212 0,#080808 34%,#050505 72%);color:var(--text);font-family:"DM Sans",sans-serif;min-height:100vh}a{color:inherit}.cert-shell{width:min(var(--max),calc(100% - 48px));margin:auto}.cert-topbar{height:72px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - var(--max))/2));background:rgba(5,5,5,.82);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.cert-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.cert-brand>span{font:700 21px "Space Grotesk",sans-serif;letter-spacing:-.05em}.cert-brand>span span{color:var(--green)}.cert-brand strong{font-size:13px;font-weight:600;color:#aaa}.cert-topbar-actions{display:flex;align-items:center;gap:10px}.cert-back{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025);font:600 14px "DM Sans",sans-serif;color:#aaa;text-decoration:none;transition:color .2s,border-color .2s,background .2s}.cert-back:hover{color:#fff;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.055)}.cert-theme{width:42px;height:36px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);color:#eee;cursor:pointer}.cert-hero{padding:104px 0 72px}.cert-kicker{margin:0 0 18px;font:600 11px "IBM Plex Mono",monospace;letter-spacing:.14em;color:#8d8d8d;text-transform:uppercase}.cert-title-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.cert-hero h1{margin:0;font:600 clamp(48px,7vw,82px)/.96 "Space Grotesk",sans-serif;letter-spacing:-.035em;max-width:900px}.cert-page-status{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid rgba(57,255,20,.22);border-radius:999px;padding:8px 11px;color:#b6b6b6;font:600 10px "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase}.cert-page-status i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px rgba(57,255,20,.6)}.cert-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:stretch}.cert-summary-card{min-height:98px;border:1px solid var(--line);border-radius:15px;padding:20px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:inherit;text-align:left}.cert-summary-card>strong{display:block;font:600 27px "Space Grotesk",sans-serif;letter-spacing:-.03em}.cert-summary-card:not(.cert-modality-card)>strong{color:var(--green)}.cert-summary-card>span{display:block;margin-top:4px;color:#8e8e8e;font-size:12px}.cert-summary-area-wrap{position:relative}.cert-summary-area{width:100%;height:100%;cursor:pointer}.cert-summary-area strong{display:flex;align-items:center;justify-content:space-between}.cert-summary-area strong i{font:500 14px "DM Sans",sans-serif;color:#777;font-style:normal;transition:color .2s,transform .2s}.cert-summary-area:hover strong i,.cert-summary-area[aria-expanded="true"] strong i{color:var(--green);transform:translate(1px,-1px)}.cert-area-popover{position:absolute;z-index:12;top:calc(100% + 10px);left:0;width:min(320px,calc(100vw - 32px));padding:17px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:rgba(10,10,10,.98);box-shadow:0 18px 55px rgba(0,0,0,.42);backdrop-filter:blur(16px)}.cert-area-popover[hidden]{display:none}.cert-popover-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:16px}.cert-popover-head strong{font:600 15px "Space Grotesk",sans-serif}.cert-popover-head small{color:#777;font-size:10px}.cert-area-row+.cert-area-row{margin-top:14px}.cert-area-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.cert-area-row span{font-size:12px;color:#aaa}.cert-area-row strong{font:600 12px "IBM Plex Mono",monospace}.cert-area-track{display:block;width:100%;height:4px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.cert-area-track i{display:block;height:100%;border-radius:inherit;background:var(--green)}.cert-modality-card>strong{font-size:18px}.cert-modality-breakdown{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:13px}.cert-modality-breakdown span{font-size:11px;color:#888}.cert-modality-breakdown b{color:var(--green);font-weight:600}.cert-section{padding:28px 0 100px}.cert-filter-panel{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:end;gap:18px;padding:22px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.cert-filter-group{min-width:0}.cert-filter-label{display:block;margin-bottom:10px;color:#888;font:600 11px "IBM Plex Mono",monospace;letter-spacing:.07em;text-transform:uppercase}.cert-filter-list{display:flex;flex-wrap:nowrap;gap:7px;overflow:visible}.cert-filter{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;padding:8px 11px;background:rgba(255,255,255,.02);color:#929292;font:500 11px "DM Sans",sans-serif;cursor:pointer;transition:color .2s,border-color .2s,background .2s}.cert-filter:hover:not(:disabled){color:#fff;border-color:rgba(255,255,255,.22)}.cert-filter.active{color:#0b0b0b;border-color:#f1f1f1;background:#f1f1f1}.cert-filter:disabled{opacity:.32;cursor:not-allowed}.cert-collection-filter,.cert-toolbar label{display:flex;align-items:center;gap:10px;color:#888;font:600 12px "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.06em}.cert-collection-filter{flex-direction:column;align-items:flex-start}.cert-collection-filter select,.cert-toolbar select{appearance:none;border:1px solid var(--line);border-radius:999px;background:#0e0e0e;color:#eee;padding:10px 38px 10px 14px;font:500 13px "DM Sans",sans-serif;background-image:linear-gradient(45deg,transparent 50%,#777 50%),linear-gradient(135deg,#777 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;cursor:pointer}.cert-collection-filter select{width:100%}.cert-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0}.cert-toolbar p{margin:0;color:#8c8c8c;font-size:15px}.cert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cert-card{
  --area-accent:#8f8f8f;
  --area-accent-rgb:143,143,143;
  position:relative;
  border:1px solid var(--line);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.014));
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  transition:transform .28s cubic-bezier(.22,1,.36,1),border-color .25s ease,background .25s ease,box-shadow .25s ease
}
.cert-card::before{
  content:"";
  position:absolute;
  z-index:3;
  inset:0 0 auto;
  height:3px;
  background:var(--area-accent);
  opacity:.72;
  transition:opacity .25s ease,box-shadow .25s ease
}
.cert-card:hover{
  transform:translateY(-3px);
  border-color:rgba(var(--area-accent-rgb),.42);
  background:linear-gradient(145deg,rgba(var(--area-accent-rgb),.035),rgba(255,255,255,.018));
  box-shadow:0 14px 34px rgba(0,0,0,.16)
}
.cert-card:hover::before{
  opacity:.98;
  box-shadow:0 0 16px rgba(var(--area-accent-rgb),.22)
}
.cert-area-data{--area-accent:#39ff14;--area-accent-rgb:57,255,20}
.cert-area-marketing{--area-accent:#a100ff;--area-accent-rgb:161,0,255}
.cert-area-ai{--area-accent:#6ec8ff;--area-accent-rgb:110,200,255}
.cert-area-business{--area-accent:#ff4d5a;--area-accent-rgb:255,77,90}
.cert-area-career{--area-accent:#ff7a45;--area-accent-rgb:255,122,69}
.cert-area-other{--area-accent:#858585;--area-accent-rgb:133,133,133}
.cert-image-button{
  position:relative;
  display:block;
  width:100%;
  border:0;
  padding:0;
  background:#111;
  cursor:zoom-in;
  overflow:hidden;
  aspect-ratio:4/3
}
.cert-image-button img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .4s cubic-bezier(.22,1,.36,1),filter .3s ease
}
.cert-card:hover .cert-image-button img{transform:scale(1.018)}
.cert-open-hint{
  position:absolute;
  right:12px;
  top:12px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  background:rgba(8,8,8,.7);
  color:#eee;
  font:600 14px "DM Sans",sans-serif;
  opacity:0;
  transform:translateY(4px) scale(.94);
  backdrop-filter:blur(8px);
  transition:opacity .22s ease,transform .22s ease,border-color .22s ease
}
.cert-image-button:hover .cert-open-hint,
.cert-image-button:focus-visible .cert-open-hint{
  opacity:1;
  transform:none;
  border-color:rgba(var(--area-accent-rgb),.48)
}
.cert-card-body{padding:18px 18px 19px;display:flex;flex-direction:column;flex:1}
.cert-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  font:600 10px "IBM Plex Mono",monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#777
}
.cert-meta-primary{display:flex;align-items:center;gap:7px;min-width:0}
.cert-meta-primary>span:first-child{color:#aaa}
.cert-featured-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 6px;
  border:1px solid rgba(57,255,20,.28);
  border-radius:999px;
  background:rgba(57,255,20,.055);
  color:#39ff14;
  font-size:9px;
  letter-spacing:.06em;
  white-space:nowrap
}
.cert-featured-badge i{
  width:4px;
  height:4px;
  flex:0 0 4px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 7px currentColor
}
.cert-card h3{margin:0;font:600 16px/1.34 "Space Grotesk",sans-serif;letter-spacing:-.01em;text-transform:uppercase}
.cert-details{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.cert-details span{
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 9px;
  color:#9f9f9f;
  font-size:13px;
  max-width:100%;
  white-space:normal;
  transition:border-color .22s ease,background .22s ease,color .22s ease
}
.cert-card:hover .cert-details span{
  border-color:rgba(var(--area-accent-rgb),.18);
  background:rgba(var(--area-accent-rgb),.025)
}
.cert-empty{margin:36px 0 0;color:#8b8b8b;font-size:14px}.cert-reveal-wrap{display:flex;justify-content:center;margin-top:28px}.cert-reveal{border:1px solid var(--line);border-radius:999px;padding:11px 16px;background:rgba(255,255,255,.02);color:#e9e9e9;font:600 14px "DM Sans",sans-serif;letter-spacing:0;cursor:pointer;transition:border-color .2s,background .2s,transform .2s,color .2s}.cert-reveal:hover{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.045);color:#fff;transform:translateY(-1px)}.cert-modal{width:min(1120px,calc(100% - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:#090909;color:#fff;box-shadow:0 30px 100px rgba(0,0,0,.65)}.cert-modal::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(7px)}.cert-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--line)}.cert-modal-head span{font:600 10px "IBM Plex Mono",monospace;color:#777;letter-spacing:.07em;text-transform:uppercase}.cert-modal-head h2{margin:5px 0 0;font:600 18px/1.3 "Space Grotesk",sans-serif;text-transform:uppercase}.cert-modal-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.cert-modal-original{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.025);color:#e8e8e8;text-decoration:none;font:600 12px "DM Sans",sans-serif;white-space:nowrap;transition:border-color .2s,background .2s,color .2s}.cert-modal-original:hover{border-color:rgba(57,255,20,.34);background:rgba(57,255,20,.05);color:#fff}.cert-modal-original b{color:var(--green);font-weight:500}.cert-modal-close{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#111;color:#ddd;font-size:24px;line-height:1;cursor:pointer}.cert-modal>img{display:block;width:100%;height:auto;max-height:calc(100vh - 110px);object-fit:contain;background:#111}.cert-footer{width:min(var(--max),calc(100% - 48px));margin:auto;padding:28px 0 36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#7d7d7d;font-size:12px}
body.light-mode{--bg:#f2f0eb;--panel:#fff;--panel2:#f6f4ef;--text:#171717;--muted:#656565;--line:rgba(0,0,0,.11);background:radial-gradient(circle at 50% 0,#fff 0,#f5f3ee 42%,#efede8 100%)}.light-mode .cert-topbar{background:rgba(246,244,239,.86)}.light-mode .cert-brand strong,.light-mode .cert-back,.light-mode .cert-kicker,.light-mode .cert-toolbar p,.light-mode .cert-toolbar label,.light-mode .cert-filter-label,.light-mode .cert-collection-filter{color:#666}.light-mode .cert-theme{background:rgba(0,0,0,.035);color:#222}.light-mode .cert-back{background:rgba(255,255,255,.45)}.light-mode .cert-back:hover{color:#111;border-color:rgba(0,0,0,.2);background:rgba(255,255,255,.8)}.light-mode .cert-page-status{color:#555;border-color:rgba(18,155,0,.2)}.light-mode .cert-page-status i{background:#129b00;box-shadow:0 0 12px rgba(18,155,0,.35)}.light-mode .cert-summary-card,.light-mode .cert-card{background:rgba(255,255,255,.55)}.light-mode .cert-card:hover{border-color:rgba(var(--area-accent-rgb),.38);background:rgba(255,255,255,.78);box-shadow:0 14px 32px rgba(0,0,0,.08)}.light-mode .cert-open-hint{background:rgba(255,255,255,.82);color:#222;border-color:rgba(0,0,0,.12)}.light-mode .cert-featured-badge{border-color:rgba(18,155,0,.24);background:rgba(18,155,0,.07);color:#129b00}.light-mode .cert-summary-card:not(.cert-modality-card)>strong,.light-mode .cert-modality-breakdown b{color:#129b00}.light-mode .cert-area-popover{background:rgba(248,247,243,.98);border-color:rgba(0,0,0,.14);box-shadow:0 18px 55px rgba(0,0,0,.12)}.light-mode .cert-area-track{background:rgba(0,0,0,.08)}.light-mode .cert-area-track i{background:#129b00}.light-mode .cert-filter{background:rgba(255,255,255,.35);color:#666}.light-mode .cert-filter.active{background:#181818;border-color:#181818;color:#fff}.light-mode .cert-collection-filter select,.light-mode .cert-toolbar select{background-color:#f8f7f3;color:#222}.light-mode .cert-image-button{background:#ddd}.light-mode .cert-reveal{color:#222;border-color:rgba(0,0,0,.11);background:rgba(255,255,255,.42)}.light-mode .cert-reveal:hover{border-color:rgba(0,0,0,.2);background:rgba(255,255,255,.78);color:#111}.light-mode .cert-modal{background:#f6f4ef;color:#171717;border-color:rgba(0,0,0,.15)}.light-mode .cert-modal>img{background:#ddd}.light-mode .cert-modal-original{background:rgba(255,255,255,.48);color:#222}.light-mode .cert-modal-original:hover{border-color:rgba(18,155,0,.32);background:rgba(18,155,0,.05)}.light-mode .cert-modal-original b{color:#129b00}.light-mode .cert-modal-close{background:#eee;color:#222}
@media(min-width:901px){.cert-details{gap:6px}.cert-details span{padding-left:8px;padding-right:8px;font-size:12px}}
@media(max-width:1100px){.cert-filter-panel{grid-template-columns:1fr}.cert-filter-list{flex-wrap:wrap}.cert-collection-filter{width:min(100%,360px)}}
@media(max-width:900px){.cert-summary{grid-template-columns:repeat(2,1fr)}.cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cert-shell,.cert-footer{width:min(100% - 32px,var(--max))}.cert-topbar{height:64px;padding:0 16px}.cert-brand strong{display:none}.cert-back{display:none}.cert-hero{padding:72px 0 52px}.cert-title-row{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:22px}.cert-summary{grid-template-columns:1fr 1fr;gap:8px}.cert-summary-card{min-height:94px;padding:16px}.cert-summary-card>strong{font-size:22px}.cert-modality-card{grid-column:1/-1}.cert-area-popover{position:fixed;left:16px;right:16px;top:auto;bottom:20px;width:auto}.cert-section{padding-bottom:72px}.cert-filter-panel{padding-top:18px}.cert-filter{font-size:11px;padding:8px 11px}.cert-collection-filter{width:100%}.cert-toolbar{align-items:flex-start;flex-direction:column}.cert-toolbar p{font-size:14px}.cert-toolbar label{width:100%;justify-content:space-between}.cert-toolbar select{max-width:220px}.cert-grid{grid-template-columns:1fr}.cert-card h3{font-size:17px}.cert-reveal{width:100%}.cert-footer{gap:14px;flex-direction:column}.cert-modal{width:calc(100% - 16px);max-height:calc(100vh - 16px)}.cert-modal-head{gap:12px}.cert-modal-actions{gap:7px}.cert-modal-original{padding:0 9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cert-card,.cert-card::before,.cert-image-button img,.cert-open-hint,.cert-details span,.cert-back,.cert-summary-area strong i,.cert-filter,.cert-modal-original,.cert-reveal{transition:none}.cert-card:hover,.cert-reveal:hover{transform:none}.cert-card:hover .cert-image-button img{transform:none}.cert-open-hint{transform:none}}


/* Mesmo cursor personalizado usado na home. */
html.custom-cursor,html.custom-cursor body,html.custom-cursor a,html.custom-cursor button,html.custom-cursor [role="button"],html.custom-cursor input,html.custom-cursor textarea,html.custom-cursor select{cursor:none!important}
.custom-cursor-dot,.custom-cursor-ring{position:fixed;left:0;top:0;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);opacity:0}
.custom-cursor-dot{width:6px;height:6px;border-radius:50%;background:#f4f4f4;transition:width .16s,height .16s,opacity .16s,background .25s}
.custom-cursor-ring{width:30px;height:30px;border:1px solid rgba(244,244,244,.72);border-radius:50%;transition:width .2s,height .2s,border-color .2s,background .2s,opacity .16s}
.custom-cursor-ring.is-interactive{width:46px;height:46px;border-color:rgba(244,244,244,.95);background:rgba(255,255,255,.035)}
.custom-cursor-ring.is-clicking{width:54px;height:54px;background:rgba(255,255,255,.055)}
body.light-mode .custom-cursor-dot{background:#202020}
body.light-mode .custom-cursor-ring{border-color:rgba(32,32,32,.7)}
body.light-mode .custom-cursor-ring.is-interactive{border-color:rgba(32,32,32,.92);background:rgba(0,0,0,.035)}
body.light-mode .custom-cursor-ring.is-clicking{background:rgba(0,0,0,.055)}
/* Mantém o cursor personalizado também dentro do modal. */
html.custom-cursor .cert-modal,
html.custom-cursor .cert-modal *{cursor:none!important}


/* Seletor de idioma alinhado ao padrão visual da home. */
.cert-language-switch{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025)}
.cert-language-switch button{border:0;padding:0;background:transparent;color:#777;font:700 10px "DM Sans",sans-serif;letter-spacing:.08em;cursor:pointer;transition:color .2s}
.cert-language-switch button:hover,.cert-language-switch button[aria-pressed="true"]{color:#fff}
.cert-language-switch i{color:#555;font-style:normal;font-size:10px}
.light-mode .cert-language-switch{background:rgba(255,255,255,.45)}
.light-mode .cert-language-switch button{color:#777}
.light-mode .cert-language-switch button:hover,.light-mode .cert-language-switch button[aria-pressed="true"]{color:#111}
.light-mode .cert-language-switch i{color:#aaa}
@media(max-width:620px){.cert-topbar-actions{gap:7px}.cert-language-switch{padding:0 8px;gap:5px}.cert-language-switch button{font-size:9px}}


/* Hero de certificações: fundo decorativo estático, alinhado à linguagem visual da home. */
.cert-hero{
  position:relative;
  overflow:visible;
  isolation:isolate;
  background:
    radial-gradient(circle at 72% 12%,rgba(57,255,20,.035),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.012),transparent 78%)
}
.cert-hero>.cert-shell{position:relative;z-index:2}
.cert-hero::before,.cert-hero::after{
  content:"";
  position:absolute;
  pointer-events:none
}
.cert-hero::after{
  z-index:1;
  width:620px;
  height:620px;
  left:52%;
  top:-275px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(57,255,20,.11) 0,rgba(255,255,255,.035) 30%,transparent 67%);
  filter:blur(20px)
}
body.light-mode .cert-hero{
  background:
    radial-gradient(circle at 72% 12%,rgba(18,155,0,.04),transparent 30%),
    linear-gradient(180deg,rgba(0,0,0,.012),transparent 78%)
}
body.light-mode .cert-hero::after{
  background:radial-gradient(circle,rgba(18,155,0,.065) 0,rgba(0,0,0,.018) 30%,transparent 68%)
}


/* Acessibilidade: foco visível consistente, alvos maiores e contraste reforçado. */
.cert-brand:focus-visible,
.cert-back:focus-visible,
.cert-theme:focus-visible,
.cert-language-switch button:focus-visible,
.cert-summary-area:focus-visible,
.cert-filter:focus-visible,
.cert-collection-filter select:focus-visible,
.cert-toolbar select:focus-visible,
.cert-reveal:focus-visible,
.cert-image-button:focus-visible,
.cert-modal-original:focus-visible,
.cert-modal-close:focus-visible{
  outline:2px solid var(--green);
  outline-offset:3px
}
.cert-language-switch{min-height:40px;padding:0 6px}
.cert-language-switch button{
  min-width:34px;
  min-height:34px;
  display:inline-grid;
  place-items:center;
  border-radius:999px
}
.cert-meta,
.cert-summary-card>span,
.cert-modality-breakdown span,
.cert-filter-label,
.cert-collection-filter,
.cert-toolbar label,
.cert-popover-head small{color:#aaa}
.cert-area-row span{color:#b0b0b0}
.cert-page-status{color:#c0c0c0}
.light-mode .cert-meta,
.light-mode .cert-summary-card>span,
.light-mode .cert-modality-breakdown span,
.light-mode .cert-filter-label,
.light-mode .cert-collection-filter,
.light-mode .cert-toolbar label,
.light-mode .cert-popover-head small,
.light-mode .cert-area-row span{color:#555}

/* Ajustes finais de legibilidade e acessibilidade. */
.cert-page-status{font-size:11px}
.cert-meta{font-size:11px}
.cert-popover-head small{font-size:11px}
.cert-modality-breakdown span{font-size:12px}
.cert-filter-label{font-size:12px}
.cert-filter{font-size:12px}
.cert-language-switch button{font-size:11px}
.cert-area-row span{font-size:12px}


/* Auditoria de acessibilidade: semântica, legibilidade, foco e alvos interativos. */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important
}
.cert-back{min-height:40px}
.cert-theme{height:40px}
.cert-modal-close{width:40px;height:40px}
.cert-modal-original{min-height:40px}
.cert-collection-filter select,.cert-toolbar select{min-height:40px}
.cert-modal-head>div:first-child>span{font-size:11px}
.light-mode .cert-summary-card:not(.cert-modality-card)>strong,
.light-mode .cert-modality-breakdown b{color:#0d7600}
.light-mode .cert-brand:focus-visible,
.light-mode .cert-back:focus-visible,
.light-mode .cert-theme:focus-visible,
.light-mode .cert-language-switch button:focus-visible,
.light-mode .cert-summary-area:focus-visible,
.light-mode .cert-filter:focus-visible,
.light-mode .cert-collection-filter select:focus-visible,
.light-mode .cert-toolbar select:focus-visible,
.light-mode .cert-reveal:focus-visible,
.light-mode .cert-image-button:focus-visible,
.light-mode .cert-modal-original:focus-visible,
.light-mode .cert-modal-close:focus-visible{
  outline-color:#0d7600
}


/* Evita corte do popover de áreas sem criar rolagem horizontal pelo fundo decorativo. */
body{overflow-x:hidden}
.cert-summary-area-wrap{z-index:5}
.cert-area-popover{z-index:30}


/* Refinos de UX: feedback de expansão e melhor separação entre filtros. */
.cert-summary-area{
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease
}
.cert-summary-area:hover{
  border-color:rgba(57,255,20,.24);
  background:linear-gradient(145deg,rgba(57,255,20,.035),rgba(255,255,255,.018))
}
.cert-summary-area[aria-expanded="true"]{
  border-color:rgba(57,255,20,.42);
  background:linear-gradient(145deg,rgba(57,255,20,.055),rgba(255,255,255,.02));
  box-shadow:0 0 0 1px rgba(57,255,20,.04) inset
}
.cert-summary-area strong i{
  min-width:18px;
  text-align:center
}
body.light-mode .cert-summary-area:hover{
  border-color:rgba(13,118,0,.26);
  background:rgba(13,118,0,.035)
}
body.light-mode .cert-summary-area[aria-expanded="true"]{
  border-color:rgba(13,118,0,.42);
  background:rgba(13,118,0,.055)
}

@media(max-width:1100px){
  .cert-filter-panel{gap:22px}
  .cert-collection-filter{
    width:min(100%,420px);
    padding-top:18px;
    border-top:1px solid var(--line)
  }
}
@media(max-width:620px){
  .cert-filter-panel{gap:18px}
  .cert-collection-filter{
    width:100%;
    padding-top:16px
  }
}
@media(prefers-reduced-motion:reduce){
  .cert-summary-area{transition:none!important}
}


/* Alinha verticalmente os dois primeiros indicadores ao card de Áreas profissionais. */
.cert-summary > article.cert-summary-card:not(.cert-modality-card){
  display:flex;
  flex-direction:column;
  justify-content:center
}


/* Mobile: resumo de certificações mais compacto e equilibrado. */
@media(max-width:620px){
  .cert-hero{padding:68px 0 42px}
  .cert-title-row{gap:12px;margin-bottom:18px}

  .cert-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px
  }

  .cert-summary > article.cert-summary-card:not(.cert-modality-card){
    min-height:86px;
    padding:14px
  }

  .cert-summary > article.cert-summary-card:not(.cert-modality-card)>strong{
    font-size:21px
  }

  .cert-summary-area-wrap{
    grid-column:1/-1
  }

  .cert-summary-area{
    min-height:76px;
    padding:14px 16px;
    display:flex;
    flex-direction:column;
    justify-content:center
  }

  .cert-summary-area>strong{
    font-size:21px
  }

  .cert-modality-card{
    grid-column:1/-1;
    min-height:auto;
    padding:15px 16px
  }

  .cert-modality-card>strong{
    font-size:17px
  }

  .cert-modality-breakdown{
    margin-top:10px;
    gap:5px 10px
  }

  .cert-modality-note{
    margin-top:8px!important;
    line-height:1.45
  }

  .cert-section{
    padding-top:20px
  }
}
