/* ============================================================
   GAE PESQUISA R1.11
   HERO INSTITUCIONAL CANÔNICO — TODAS AS PÁGINAS
   ============================================================ */

:root{
  --hero-a:#0e2447;
  --hero-b:#174b8e;
  --hero-c:#2f73d8;
  --hero-white:#ffffff;
  --hero-soft:rgba(255,255,255,.72);
  --hero-line:rgba(255,255,255,.14);
}

/* Base canônica */
.gae-hero,
.admin-hero,
.dhero,
.dash-hero,
.campaign-hero{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:30px 32px!important;
  margin:0 0 18px!important;
  min-height:190px!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 90% 12%,rgba(112,174,255,.28),transparent 27%),
    radial-gradient(circle at 74% 115%,rgba(91,159,255,.16),transparent 34%),
    linear-gradient(135deg,var(--hero-a) 0%,var(--hero-b) 62%,var(--hero-c) 100%)!important;
  box-shadow:0 20px 52px rgba(17,47,94,.14)!important;
}

/* brilho decorativo discreto */
.gae-hero::after,
.admin-hero::after,
.dhero::after,
.dash-hero::after,
.campaign-hero::after{
  content:""!important;
  position:absolute!important;
  width:280px!important;
  height:280px!important;
  right:-95px!important;
  top:-135px!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:rgba(255,255,255,.025)!important;
  pointer-events:none!important;
}

/* Todo texto do cabeçalho fica branco */
.gae-hero h1,
.admin-hero h1,
.dhero h1,
.dash-hero h1,
.campaign-hero h1,
.gae-hero .g-title,
.admin-hero .g-title{
  color:#fff!important;
  margin:0!important;
  font-size:clamp(32px,3.15vw,48px)!important;
  font-weight:900!important;
  line-height:1.02!important;
  letter-spacing:-.048em!important;
  text-shadow:0 1px 0 rgba(0,0,0,.05)!important;
}

.gae-hero p,
.admin-hero p,
.dhero p,
.dash-hero p,
.campaign-hero p,
.gae-hero .g-sub,
.admin-hero .g-sub{
  color:rgba(255,255,255,.74)!important;
  margin:11px 0 0!important;
  max-width:860px!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* Eyebrow */
.gae-hero .g-eyebrow,
.admin-hero .g-eyebrow,
.dhero .g-eyebrow,
.dash-hero .g-eyebrow,
.campaign-hero .g-eyebrow,
.campaign-hero .eyebrow{
  color:#9dc5ff!important;
  font-size:10.5px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  margin-bottom:9px!important;
}

/* lado direito do hero */
.hero-actions,
.admin-actions,
.dchips,
.d-chips,
.dash-hero-side,
.hero-badge{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

/* botões dentro do azul viram branco institucional */
.admin-hero .g-primary,
.gae-hero .g-primary,
.dhero .g-primary,
.dash-hero .g-primary,
.campaign-hero .g-primary,
.campaign-hero .gae-btn-primary{
  color:#215eb9!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.62)!important;
  box-shadow:0 10px 28px rgba(3,21,50,.14)!important;
}
.admin-hero .g-primary:hover,
.gae-hero .g-primary:hover{
  background:#f6f9ff!important;
}

/* chips / indicadores do hero */
.hero-stat,
.dchip,
.d-chip,
.hero-pill{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:9px 13px!important;
  border-radius:999px!important;
  border:1px solid var(--hero-line)!important;
  background:rgba(255,255,255,.075)!important;
  color:#fff!important;
  font-size:10.5px!important;
  font-weight:820!important;
  backdrop-filter:blur(8px)!important;
  white-space:nowrap!important;
}

/* PÁGINAS INTERNAS R1.10:
   Admin hero passa a ter aparência igual ao dashboard */
.admin-hero{
  align-items:center!important;
  padding-top:29px!important;
  padding-bottom:29px!important;
}
.admin-hero > div:first-child{
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
}
.admin-hero .admin-actions{
  flex:0 0 auto!important;
}

/* ------------------------------------------------------------
   PESQUISA PÚBLICA
   ------------------------------------------------------------ */
.survey-hero{
  position:relative!important;
  overflow:hidden!important;
  text-align:left!important;
  padding:28px 30px!important;
  margin:0 0 16px!important;
  border-radius:24px!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 88% 15%,rgba(112,174,255,.27),transparent 28%),
    linear-gradient(135deg,var(--hero-a),var(--hero-b) 62%,var(--hero-c))!important;
  box-shadow:0 18px 46px rgba(17,47,94,.14)!important;
}
.survey-hero .survey-mark{
  margin:0 0 14px!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.15)!important;
  box-shadow:none!important;
}
.survey-hero .g-eyebrow,
.survey-hero .gae-eyebrow{
  color:#a5caff!important;
}
.survey-hero h1{
  color:#fff!important;
  font-size:clamp(28px,3vw,42px)!important;
}
.survey-hero p{
  color:rgba(255,255,255,.74)!important;
  margin-left:0!important;
  margin-right:0!important;
}
.survey-hero .privacy-strip{
  justify-content:flex-start!important;
}
.survey-hero .g-badge,
.survey-hero .gae-badge{
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
}

/* ------------------------------------------------------------
   CONFIRMAÇÃO / THANKS
   ------------------------------------------------------------ */
.thanks-card{
  position:relative!important;
  overflow:hidden!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 88% 10%,rgba(112,174,255,.26),transparent 27%),
    linear-gradient(135deg,var(--hero-a),var(--hero-b) 62%,var(--hero-c))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 20px 55px rgba(17,47,94,.15)!important;
}
.thanks-card h1{color:#fff!important}
.thanks-card p{color:rgba(255,255,255,.74)!important}
.thanks-card .g-eyebrow,
.thanks-card .gae-eyebrow{color:#a5caff!important}
.thanks-card .thanks-icon{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:none!important;
}

/* ------------------------------------------------------------
   LOGIN
   O lado institucional já é azul; apenas alinha a identidade
   ao mesmo degradê canônico.
   ------------------------------------------------------------ */
.login-brand{
  background:
    radial-gradient(circle at 84% 16%,rgba(112,174,255,.28),transparent 25%),
    radial-gradient(circle at 14% 88%,rgba(69,199,222,.10),transparent 27%),
    linear-gradient(135deg,var(--hero-a),var(--hero-b) 62%,var(--hero-c))!important;
}

/* ------------------------------------------------------------
   CORRIGE RESPIRO:
   o hero passa a iniciar imediatamente como bloco de destaque.
   ------------------------------------------------------------ */
.g-main > .admin-hero:first-child,
.g-main > .dhero:first-child,
.g-main > .dash-hero:first-child,
.g-main > .campaign-page:first-child .campaign-hero{
  margin-top:6px!important;
}

/* campanha mantém estrutura de duas colunas, mas hero igual */
.campaign-page .campaign-hero{
  min-height:190px!important;
}
.campaign-page .campaign-hero h1{
  color:#fff!important;
}

/* Contraste de texto em qualquer conteúdo eventual dentro do hero */
.admin-hero strong,
.gae-hero strong,
.dhero strong,
.dash-hero strong,
.campaign-hero strong{color:#fff!important}

/* Responsividade */
@media(max-width:960px){
  .gae-hero,
  .admin-hero,
  .dhero,
  .dash-hero,
  .campaign-hero{
    align-items:flex-start!important;
    flex-direction:column!important;
    min-height:auto!important;
    padding:25px 24px!important;
  }
  .hero-actions,
  .admin-actions,
  .dchips,
  .d-chips,
  .dash-hero-side,
  .hero-badge{
    justify-content:flex-start!important;
  }
}
@media(max-width:600px){
  .gae-hero,
  .admin-hero,
  .dhero,
  .dash-hero,
  .campaign-hero,
  .survey-hero{
    border-radius:20px!important;
    padding:22px 20px!important;
  }
  .gae-hero h1,
  .admin-hero h1,
  .dhero h1,
  .dash-hero h1,
  .campaign-hero h1{
    font-size:30px!important;
  }
}
