/* =========================
   ENQUETE + CLIMA PORTAL PRO
   Estável, responsivo e sem quebra de layout
========================= */

.extras-section{
  margin-top:2px;
  width:100%;
}

.extras-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,0.98fr);
  gap:22px;
  align-items:start;
}

.extras-card{
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:16px;
  border-radius:28px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(72,24,0,0.88), rgba(44,12,0,0.92));
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 24px 60px rgba(0,0,0,0.32);
  isolation:isolate;
}

.extras-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(circle at top right, rgba(255,180,0,0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.05), transparent 32%);
  pointer-events:none;
}

.extras-card > *{
  position:relative;
  z-index:1;
}

.extras-title-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.extras-live-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ffb000;
  box-shadow:0 0 0 0 rgba(255,176,0,0.7);
  animation:extrasPulse 1.8s infinite;
}

@keyframes extrasPulse{
  0%{ box-shadow:0 0 0 0 rgba(255,176,0,0.65); }
  70%{ box-shadow:0 0 0 12px rgba(255,176,0,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,176,0,0); }
}

.extras-card-head h3{
  margin:0 0 8px;
  font-size:clamp(1.9rem, 2vw, 2.35rem);
  line-height:1.1;
  font-weight:900;
  color:#fff;
}

.extras-subtitle{
  margin:0;
  color:rgba(255,245,238,0.9);
  font-size:1.03rem;
  line-height:1.45;
}

.extras-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:flex-start;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:0.9px;
  font-weight:900;
  color:#fff7ed;
  background:rgba(255,176,0,0.18);
  border:1px solid rgba(255,176,0,0.35);
  backdrop-filter:blur(6px);
}

.extras-badge-weather{
  background:rgba(67,181,255,0.16);
  border-color:rgba(67,181,255,0.36);
}

.extras-btn{
  appearance:none;
  border:none;
  border-radius:16px;
  padding:13px 18px;
  min-height:48px;
  font-weight:900;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(90deg, #ff8d05 0%, #ff5c00 100%);
  box-shadow:0 14px 28px rgba(0,0,0,0.22);
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.extras-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

.extras-btn:active{
  transform:translateY(0);
}

.extras-btn-secondary{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:none;
}

/* =========================
   ENQUETE
========================= */

.extras-poll-card{
  min-height:auto;
}

.poll-shell{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
}

.poll-form{
  display:grid;
  gap:12px;
}

.poll-option{
  position:relative;
  display:grid;
  grid-template-columns:20px 18px minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-width:0;
  padding:8px 12px;
  border-radius:20px;
  cursor:pointer;
  background:linear-gradient(145deg, rgba(55,23,5,0.62), rgba(18,8,3,0.48));
  border:1px solid rgba(255,184,74,0.16);
  transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.poll-option:hover{
  transform:translateY(-2px);
  border-color:rgba(255,184,74,0.38);
  box-shadow:0 12px 26px rgba(0,0,0,0.18);
}

.poll-option input{
  appearance:none;
  width:20px;
  height:20px;
  margin:0;
  border-radius:999px;
  border:2px solid rgba(255,255,255,0.95);
  background:transparent;
  position:relative;
}

.poll-option input:checked{
  border-color:#ffb400;
}

.poll-option input:checked::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:999px;
  background:#ffb400;
  box-shadow:0 0 12px rgba(255,180,0,0.45);
}

.poll-option-mark{
  width:18px;
  height:18px;
  border-radius:6px;
  background:linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.08);
}

.poll-option-label{
  display:block;
  min-width:0;
  font-size:clamp(1rem, 1.1vw, 1.2rem);
  font-weight:800;
  color:#fffaf4;
  white-space:normal;
  overflow-wrap:anywhere;
  grid-column:3;
}

.poll-option:has(input:checked){
  border-color:rgba(255,186,59,0.58);
  background:linear-gradient(145deg, rgba(70,30,7,0.72), rgba(28,12,4,0.58));
}

.poll-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  margin-top:8px;
}

.poll-footer{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.poll-status{
  display:flex;
  align-items:center;
  min-height:24px;
  margin:0;
  color:rgba(255,244,236,0.86);
  font-size:13px;
  line-height:1.4;
}

.poll-results{
  min-height:0;
  display:grid;
  align-content:start;
  gap:12px;
  overflow:auto;
  padding-right:6px;
  max-height:260px;
}

.poll-results::-webkit-scrollbar{
  width:8px;
}

.poll-results::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,0.14);
  border-radius:999px;
}

.poll-result-item{
  padding:14px 15px;
  border-radius:18px;
  background:rgba(255,255,255,0.045);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(2px);
  animation:pollFadeIn .35s ease both;
}

@keyframes pollFadeIn{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}

.poll-result-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin-bottom:10px;
}

.poll-result-name{
  min-width:0;
  font-weight:800;
  font-size:1.02rem;
  color:#fff;
  overflow-wrap:anywhere;
}

.poll-result-count{
  font-size:12px;
  text-align:right;
  color:rgba(255,244,236,0.8);
}

.poll-progress{
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,0.08);
}

.poll-progress-bar{
  position:relative;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, #ffbe1a 0%, #ff7a00 100%);
  transition:width .55s ease;
}

.poll-progress-bar::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.2), rgba(255,255,255,0.0));
  transform:translateX(-100%);
  animation:barShine 2.8s infinite;
}

@keyframes barShine{
  to{ transform:translateX(100%); }
}

/* =========================
   CLIMA
========================= */

.extras-weather-card{
  min-height:auto;
}

.weather-topbar{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
  margin-bottom:14px;
}

.weather-update-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,0.92);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.1);
}

.weather-hero{
  display:grid;
  grid-template-columns:124px minmax(0,1fr);
  align-items:center;
  gap:18px;
  margin-bottom:10px;
}

.weather-current-icon-wrap{

width:110px;
height:110px;

display:flex;
align-items:center;
justify-content:center;

border-radius:20px;

background:rgba(255,255,255,0.05);

overflow:hidden;
position:relative;

}

.weather-current-icon{
  width:100%;
  height:100%;
  position:relative;
}

.weather-current-icon lottie-player{

position:absolute;
top:50%;
left:50%;

width:82px;
height:82px;

transform:translate(-50%, -50%);

}

.weather-current-main{
  min-width:0;
}

.weather-current-temp-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:12px 14px;
  margin-bottom:16px;
}

.weather-current-temp{
  font-size:clamp(3.4rem, 6vw, 5rem);
  line-height:0.95;
  font-weight:900;
  color:#fff;
}

.weather-current-desc{
  font-size:clamp(1rem, 1.2vw, 1.3rem);
  font-weight:800;
  color:rgba(255,248,244,0.95);
  text-transform:capitalize;
}

.weather-meta-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.weather-meta-item{
  min-width:0;
  padding:14px 15px;
  border-radius:18px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
}

.weather-meta-item strong{
  display:block;
  min-width:0;
  font-size:1.06rem;
  color:#fff;
  overflow-wrap:anywhere;
}

.weather-meta-label{
  display:block;
  margin-bottom:6px;
  color:rgba(255,247,241,0.72);
  font-size:12px;
  letter-spacing:0.2px;
}

.weather-forecast-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:24px;
  margin-bottom:12px;
}

.weather-forecast-head span{
  font-size:1.25rem;
  font-weight:900;
  color:#fff;
}

.weather-forecast-head small{
  color:rgba(255,247,241,0.72);
  font-weight:700;
}

.weather-forecast{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}

.weather-day{
  min-width:0;
  padding:14px 10px;
  border-radius:18px;
  text-align:center;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  transition:transform .18s ease, background .18s ease;
}

.weather-day:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,0.07);
}

.weather-day-name{
  font-size:12px;
  font-weight:900;
  color:rgba(255,255,255,0.92);
  text-transform:capitalize;
  margin-bottom:8px;
}

.weather-day-icon{
  width:50px;
  height:50px;
  object-fit:contain;
  margin-bottom:8px;
}

.weather-day-desc{
  min-height:32px;
  font-size:11px;
  line-height:1.2;
  color:rgba(255,248,244,0.78);
  text-transform:capitalize;
  margin-bottom:8px;
  overflow-wrap:anywhere;
}

.weather-day-temps{
  font-size:12px;
  font-weight:800;
  color:#fff;
}

/* =========================
   Ajustes de robustez
========================= */

.extras-section,
.extras-grid,
.extras-card,
.poll-shell,
.poll-form,
.poll-footer,
.poll-results,
.weather-hero,
.weather-meta-grid,
.weather-forecast,
.weather-day,
.poll-result-item{
  box-sizing:border-box;
}

/* =========================
   Responsivo
========================= */

@media (max-width: 1180px){
  .weather-forecast{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 980px){
  .extras-grid{
    grid-template-columns:1fr;
  }

  .extras-poll-card,
  .extras-weather-card{
    min-height:auto;
  }

.poll-results{
  min-height:0;
  display:grid;
  align-content:start;
  gap:12px;
  overflow:auto;
  padding-right:6px;
  max-height:220px;
}
}

@media (max-width: 700px){
  .extras-card{
    padding:20px;
    border-radius:22px;
  }

  .poll-option{
    grid-template-columns:20px 14px minmax(0,1fr);
    padding:14px 15px;
  }

  .poll-actions{
    grid-template-columns:1fr;
  }

  .weather-hero{
    grid-template-columns:1fr;
    justify-items:start;
  }

.weather-current-icon-wrap{

width:110px;
height:110px;

display:flex;
align-items:center;
justify-content:center;

border-radius:18px;

background:rgba(255,255,255,0.05);

overflow:hidden;
position:relative;

}

.weather-current-icon{
  width:100%;
  height:100%;
  position:relative;
}
.weather-current-icon lottie-player{

position:absolute;
top:50%;
left:50%;

width:82px;
height:82px;

transform:translate(-50%, -50%);

}

  .weather-meta-grid{
    grid-template-columns:1fr 1fr;
  }

  .weather-forecast{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 480px){
  .extras-section{
    margin-top:22px;
  }

  .extras-card-head h3{
    font-size:1.7rem;
  }

  .extras-subtitle{
    font-size:0.96rem;
  }

  .weather-current-temp{
    font-size:3.2rem;
  }

  .weather-meta-grid,
  .weather-forecast{
    grid-template-columns:1fr;
  }

  .poll-results{
  min-height:0;
  display:grid;
  align-content:start;
  gap:12px;
  overflow:auto;
  padding-right:6px;
  max-height:260px;
}
}
/* ALTURA IGUAL AO BLOCO DE NOTÍCIAS */

.extras-section{
  max-height:420px;
}

.extras-grid{
  height:420px;
}

.extras-card{
  height:420px;
  overflow:hidden;
}

/* enquete scroll interno */

.poll-results{
  max-height:220px;
  overflow-y:auto;
}

/* previsão do clima compacta */

.weather-forecast{
  margin-top:10px;
}
.weather-scroll-area{
height:100%;
max-height:100%;
overflow-y:auto;
overflow-x:hidden;
padding-right:6px;
display:flex;
flex-direction:column;
}

/* Scroll igual da enquete */

.weather-scroll-area::-webkit-scrollbar{
width:6px;
}

.weather-scroll-area::-webkit-scrollbar-track{
background:transparent;
}

.weather-scroll-area::-webkit-scrollbar-thumb{
background:rgba(255,255,255,0.25);
border-radius:20px;
}

.weather-scroll-area::-webkit-scrollbar-thumb:hover{
background:rgba(255,255,255,0.45);
}
/* CONTAINER PAI ENQUETE + CLIMA */

.extras-wrapper{

margin-top:30px;
margin-bottom:30px;

padding:22px;

border-radius:18px;

background:rgba(0,0,0,0.20);

border:1px solid rgba(255,255,255,0.05);

box-shadow:none;

}

/* titulo do bloco */

.extras-wrapper-header{

margin-bottom:20px;

}

.extras-wrapper-header h2{

font-size:28px;
color:#fff;
font-weight:800;
margin-bottom:5px;

}

.extras-wrapper-header p{

color:rgba(255,255,255,0.7);
font-size:14px;

}