/* ===========================================================
   HERO MODERNA DOS SETORES DE ATUAÇÃO
   Estrutura comum — imagem, gradiente e ícone variam por setor
   =========================================================== */

.sector-hero {
    position: relative;
    min-height: 620px;
    padding: 140px 0 110px;
    overflow: hidden;
    color: #fff;
    background: #0a0f1c;
    isolation: isolate;
}

.sector-hero .sector-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(.25) contrast(1.05) brightness(.55);
    transform: scale(1.05);
    z-index: -3;
}

.sector-hero .sector-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 12% 30%, rgba(153,206,42,.22), transparent 60%),
        radial-gradient(700px 500px at 90% 80%, rgba(0,180,255,.12), transparent 65%),
        linear-gradient(135deg, rgba(8,12,24,.92) 0%, rgba(8,12,24,.70) 45%, rgba(8,12,24,.92) 100%);
    z-index: -2;
}

.sector-hero .sector-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 50%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 85%);
    z-index: -1;
}

.sector-hero .sector-hero-rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(153,206,42,.55), rgba(255,255,255,.6), rgba(153,206,42,.55), transparent);
    opacity: .6;
    z-index: -1;
    animation: sectorRailGlow 6s ease-in-out infinite;
}
.sector-hero .sector-hero-rail.alt {
    bottom: 10%;
    opacity: .35;
    animation-delay: 2s;
}
@keyframes sectorRailGlow {
    0%, 100% { transform: translateY(0); opacity: .6; }
    50% { transform: translateY(-4px); opacity: .85; }
}

.sector-hero .sector-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 22px;
}
.sector-hero .sector-breadcrumb a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .3s;
}
.sector-hero .sector-breadcrumb a:hover { color: #99ce2a; }
.sector-hero .sector-breadcrumb .sep { opacity: .45; }
.sector-hero .sector-breadcrumb .current { color: #99ce2a; font-weight: 600; }

.sector-hero .sector-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border-radius: 999px;
    background: rgba(153,206,42,.12);
    border: 1px solid rgba(153,206,42,.35);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #d6ee9c;
    margin-bottom: 26px;
    backdrop-filter: blur(6px);
}
.sector-hero .sector-kicker .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #99ce2a;
    box-shadow: 0 0 12px #99ce2a, 0 0 4px #fff;
    animation: kickerPulse 1.8s ease-in-out infinite;
}
@keyframes kickerPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.7); opacity: .55; }
}

.sector-hero .h1-title {
    color: #fff;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 22px;
    letter-spacing: -.01em;
}
.sector-hero .h1-title .grad {
    background: linear-gradient(120deg, #b9e25a 0%, #99ce2a 40%, #6dd7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sector-hero .lead {
    color: rgba(231,236,250,.85);
    font-size: 17px;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 0 36px;
}

.sector-hero .sector-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 46px;
}
.sector-hero .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    border: 1px solid transparent;
}
.sector-hero .btn-hero.primary {
    background: linear-gradient(135deg, #99ce2a, #7bb82a);
    color: #0a0f1c;
    box-shadow: 0 12px 30px rgba(153,206,42,.35);
}
.sector-hero .btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(153,206,42,.45);
    color: #0a0f1c;
}
.sector-hero .btn-hero.ghost {
    background: rgba(255,255,255,.06);
    color: #fff;
    border-color: rgba(255,255,255,.22);
    backdrop-filter: blur(8px);
}
.sector-hero .btn-hero.ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(153,206,42,.5);
    color: #fff;
}
.sector-hero .btn-hero svg { transition: transform .25s; }
.sector-hero .btn-hero:hover svg { transform: translateX(4px); }

.sector-hero .sector-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
}
.sector-hero .pillar {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    transition: transform .3s, border-color .3s, background .3s;
}
.sector-hero .pillar:hover {
    transform: translateY(-3px);
    border-color: rgba(153,206,42,.45);
    background: rgba(153,206,42,.08);
}
.sector-hero .pillar .pillar-ico {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(153,206,42,.18);
    color: #b9e25a;
    margin-bottom: 10px;
    font-size: 15px;
}
.sector-hero .pillar .pillar-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}
.sector-hero .pillar .pillar-sub {
    display: block;
    font-size: 11.5px;
    color: rgba(231,236,250,.6);
    margin-top: 2px;
    line-height: 1.35;
}

/* Painel visual lateral */
.sector-hero .sector-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sector-hero .sector-visual .ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(153,206,42,.35);
    animation: ringSpin 30s linear infinite;
}
.sector-hero .sector-visual .ring.r1 { width: 380px; height: 380px; }
.sector-hero .sector-visual .ring.r2 { width: 280px; height: 280px; animation-direction: reverse; animation-duration: 22s; border-color: rgba(109,215,255,.3); }
.sector-hero .sector-visual .ring.r3 { width: 180px; height: 180px; animation-duration: 16s; border-color: rgba(255,255,255,.25); }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.sector-hero .sector-visual .core {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(153,206,42,.55), rgba(10,15,28,.95) 70%);
    box-shadow: 0 0 60px rgba(153,206,42,.45), inset 0 0 30px rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: #fff;
}
.sector-hero .sector-visual .floater {
    position: absolute;
    background: rgba(10,15,28,.78);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    display: flex; align-items: center; gap: 8px;
    animation: floatY 5s ease-in-out infinite;
}
.sector-hero .sector-visual .floater .ic { color: #b9e25a; }
.sector-hero .sector-visual .floater.f1 { top: 8%;  left: 4%;  }
.sector-hero .sector-visual .floater.f2 { top: 18%; right: 2%; animation-delay: 1.5s; }
.sector-hero .sector-visual .floater.f3 { bottom: 12%; left: 6%; animation-delay: 2.8s; }
.sector-hero .sector-visual .floater.f4 { bottom: 6%; right: 4%; animation-delay: .8s; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
    .sector-hero { padding: 110px 0 80px; min-height: auto; }
    .sector-hero .sector-visual { min-height: 320px; margin-top: 30px; }
    .sector-hero .sector-pillars { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 575px) {
    .sector-hero .sector-pillars { grid-template-columns: 1fr 1fr; }
    .sector-hero .sector-visual .ring.r1 { width: 280px; height: 280px; }
    .sector-hero .sector-visual .ring.r2 { width: 210px; height: 210px; }
    .sector-hero .sector-visual .ring.r3 { width: 140px; height: 140px; }
    .sector-hero .sector-visual .core { width: 110px; height: 110px; font-size: 40px; }
}
