* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #171513;
  --panel: rgba(20,18,16,.44);
  --panel-strong: rgba(20,18,16,.58);
  --text: #f5f1eb;
  --muted: #ddd4cb;
  --red: #c84438;
  --gold: #d7b374;
  --line: rgba(255,255,255,.14);
}
html { background: #141210; }
body {
  position: relative;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.62;
  isolation: isolate;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(8,7,6,.40), rgba(8,7,6,.52)),
    url("images/carousel-02.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(0);
  pointer-events: none;
  opacity: 1;
  animation: seo-bg-carousel 32s infinite ease-in-out;
  will-change: opacity, background-image;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(200,68,56,.08), transparent 38%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
  pointer-events: none;
}
@keyframes seo-bg-carousel {
  0%, 20% {
    opacity: 1;
    background-image: linear-gradient(rgba(8,7,6,.40), rgba(8,7,6,.52)), url("images/carousel-02.webp");
  }
  23% { opacity: .22; }
  25%, 45% {
    opacity: 1;
    background-image: linear-gradient(rgba(8,7,6,.40), rgba(8,7,6,.52)), url("images/carousel-03.webp");
  }
  48% { opacity: .22; }
  50%, 70% {
    opacity: 1;
    background-image: linear-gradient(rgba(8,7,6,.40), rgba(8,7,6,.52)), url("images/carousel-04.webp");
  }
  73% { opacity: .22; }
  75%, 95% {
    opacity: 1;
    background-image: linear-gradient(rgba(8,7,6,.40), rgba(8,7,6,.52)), url("images/carousel-05.webp");
  }
  98% { opacity: .22; }
  100% {
    opacity: 1;
    background-image: linear-gradient(rgba(8,7,6,.40), rgba(8,7,6,.52)), url("images/carousel-02.webp");
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 3.5vw, 38px);
  background: rgba(14,12,11,.66);
  border-bottom: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(10px) saturate(.92);
  -webkit-backdrop-filter: blur(10px) saturate(.92);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 10px 15px; }
nav a {
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .10em;
}
main { padding: clamp(22px, 4vw, 48px) clamp(14px, 3.5vw, 34px) 46px; }
.hero-lite {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  padding: clamp(18px, 2.6vw, 28px);
  background: rgba(18,16,14,.38);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 16px 38px rgba(0,0,0,.13);
}
.hero-lite > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 390px;
  object-fit: cover;
  object-position: center;
  border: 0;
  outline: 0;
  box-shadow: none;
  opacity: .72;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse 96% 94% at 50% 50%, #000 0%, #000 70%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.22) 94%, transparent 100%);
}
.hero-lite > div { min-width: 0; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .15em;
  margin-bottom: 8px;
}
h1 {
  font-size: clamp(2.15rem, 6.4vw, 4.85rem);
  line-height: .97;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-wrap: balance;
}
h2 {
  color: var(--gold);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 22px 0 7px;
  text-wrap: balance;
}
p { color: var(--muted); max-width: 820px; }
.hero-lite p { max-width: 700px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  margin-top: 18px;
  padding: 12px 20px;
  background: rgba(200,68,56,.92);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .09em;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}
.content {
  width: min(920px, 100%);
  margin: 24px auto 0;
  padding: clamp(18px, 3vw, 28px);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.content > h2:first-child { margin-top: 0; }
.content p + p { margin-top: 10px; }
.content a { text-underline-offset: 3px; }
@media (max-width: 780px) {
  body::before {
    background-position: 58% center;
    background-size: cover;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 11px 14px 12px;
  }
  .brand { gap: 9px; font-size: .96rem; line-height: 1.15; }
  .brand img { width: 38px; height: 38px; }
  nav { gap: 7px 13px; }
  nav a { font-size: .70rem; letter-spacing: .08em; }
  main { padding: 16px 11px 32px; }
  .hero-lite {
    display: block;
    padding: 16px;
    background: rgba(16,14,12,.31);
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
  }
  .hero-lite > img {
    display: none;
  }
  .eyebrow { margin-bottom: 7px; font-size: .73rem; }
  h1 {
    font-size: clamp(2rem, 12.2vw, 3.45rem);
    line-height: .96;
    margin-bottom: 11px;
  }
  h2 {
    font-size: clamp(1.22rem, 6.7vw, 1.65rem);
    margin: 18px 0 6px;
  }
  p { max-width: none; }
  .btn { margin-top: 14px; min-height: 47px; padding: 11px 16px; }
  .content {
    margin-top: 14px;
    padding: 16px;
    background: rgba(18,16,14,.35);
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
  }
}


/* Release 2.036: accessible local-page navigation and practical course tables. */
.breadcrumbs{width:min(1080px,100%);margin:0 auto 16px;color:var(--muted);font-size:.85rem}
.content ul,.content ol{padding-left:1.35rem;margin:14px 0;color:var(--muted)}
.content li+li{margin-top:9px}.content h3{margin:18px 0 7px;color:var(--gold)}
.table-wrap{overflow-x:auto;margin:18px 0}table{width:100%;border-collapse:collapse;text-align:left}
caption{text-align:left;margin-bottom:10px;font-weight:bold;color:var(--gold)}
th,td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--gold)}
.site-local-footer{width:min(1080px,100%);margin:24px auto;padding:20px 16px;border-top:1px solid var(--line);font-size:.9rem}
.site-local-footer nav{margin-bottom:12px}.site-local-footer p{font-size:.85rem}
a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:780px){.content{background:rgba(18,16,14,.68)}th,td{font-size:.87rem;padding:10px 7px}}


/* Mobile header correction 2026-10-18 — local SEO pages only.
   Keep brand logos together, navigation on a compact scrollable row. */
@media (max-width:780px) {
  body > header.topbar {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    column-gap:8px;
    row-gap:9px;
    padding:9px 12px 10px;
  }
  body > header.topbar .brand {
    grid-column:1;
    grid-row:1;
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:6px;
    min-width:0;
    font-size:clamp(10px,2.7vw,13px);
    line-height:1.15;
    letter-spacing:.02em;
  }
  body > header.topbar .ifa-home-identity,
  body > header.topbar .ifa-antiterrorismo-header-link {
    flex:0 0 auto;
  }
  body > header.topbar .ifa-header-logo {
    width:43px!important;height:43px!important;
  }
  body > header.topbar .ifa-antiterrorismo-header-logo {
    width:71px!important;height:43px!important;
  }
  body > header.topbar .ifa-brand-label {
    display:block;
    min-width:0;
    text-decoration:none;
    white-space:normal;
  }
  body > header.topbar .fenalc-header-logo {
    grid-column:2;grid-row:1;
    width:38px!important;height:43px!important;
    margin:0!important;
    object-fit:contain;
  }
  body > header.topbar > nav {
    grid-column:1 / -1;
    grid-row:2;
    display:flex;
    flex-wrap:nowrap;
    gap:17px;
    width:100%;
    min-width:0;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    padding:3px 0 6px;
  }
  body > header.topbar > nav a {
    flex:0 0 auto;
    white-space:nowrap;
    font-size:clamp(10px,2.7vw,12px);
    letter-spacing:.05em;
  }
}
@media(max-width:370px) {
  body > header.topbar .ifa-brand-label{font-size:10px}
  body > header.topbar .ifa-antiterrorismo-header-logo{width:62px!important}
  body > header.topbar > nav{gap:13px}
}
