/* =========================================================
  empresas.css — Landing B2B (Rota do Ensino para Empresas)
  Depende do base.css para variáveis, botões e tipografia base.
========================================================= */

.b2b {
  width: 100%;
}

.b2b-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 10px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

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

.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.65);
  font-weight: 700;
}

.b2b-hero__title {
  margin: 12px 0 10px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.b2b-hero__subtitle {
  margin: 0 0 14px;
  max-width: 56ch;
  opacity: 0.9;
}

.b2b-hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* KPIs */
.b2b-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 620px) {
  .b2b-hero__trust {
    grid-template-columns: 1fr;
  }
}

.b2b-kpi {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.75);
}

.b2b-kpi__num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #002ed6;
}

.b2b-kpi__label {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.85;
}

/* Card */
.b2b-hero__card {
  display: flex;
  align-items: stretch;
}

.b2b-card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  padding: 16px;
}

.b2b-card__title {
  font-weight: 800;
  margin-bottom: 10px;
}

.b2b-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.b2b-checklist li {
  padding-left: 22px;
  position: relative;
  margin: 8px 0;
}

.b2b-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.b2b-card__mini {
  border-top: 1px solid rgba(0,0,0,0.10);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.b2b-mini__label {
  opacity: 0.85;
}

/* Sections */
.b2b-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 18px;
}

.b2b-section__head {
  margin-bottom: 14px;
}

.b2b-h2 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.b2b-p {
  margin: 0;
  max-width: 70ch;
  opacity: 0.9;
}

.b2b-grid {
  display: grid;
  gap: 12px;
}

.b2b-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.b2b-feature {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.75);
  padding: 14px;
}

.b2b-feature h3 {
  margin: 0 0 6px;
}

/* Tabs */
.b2b-tabs {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.75);
}

.b2b-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
}

.b2b-tab {
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.90);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  opacity: 0.85;
}

.b2b-tab.is-active {
  opacity: 1;
}

.b2b-tabs__panes {
  padding: 14px;
}

.b2b-pane {
  display: none;
}

.b2b-pane.is-active {
  display: block;
}

.b2b-pane h3 {
  margin: 0 0 6px;
}

.b2b-pane ul {
  margin: 10px 0 0;
}

/* ROI */
.b2b-roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.75);
}

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

.b2b-field {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.b2b-field span {
  font-weight: 800;
  font-size: 14px;
}

.b2b-field input,
.b2b-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.95);
  outline: none;
}

.b2b-roi__result {
  display: grid;
  gap: 10px;
}

.b2b-roi__box {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  padding: 12px;
}

.b2b-roi__label {
  opacity: 0.85;
  margin-bottom: 6px;
}

.b2b-roi__value {
  font-size: 26px;
  font-weight: 900;
  color: #002ed6;
}

.b2b-roi__note {
  font-size: 13px;
  opacity: 0.8;
}


/* Accordion */
.b2b-accordion {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.75);
}

.b2b-acc__q {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.90);
  cursor: pointer;
  font-weight: 900;
}

.b2b-acc__q:first-child {
  border-top: 0;
}

.b2b-acc__a {
  display: none;
  padding: 0 14px 14px;
  opacity: 0.92;
}

.b2b-acc__a.is-open {
  display: block;
}

.b2b-acc__q.is-open + .b2b-acc__a {
  display: block;
}

/* Slider */
.b2b-slider {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.75);
}

.b2b-slider__track {
  overflow: hidden;
  display: flex;
  scroll-behavior: smooth;
}

.b2b-testimonial {
  min-width: 100%;
  margin: 0;
  padding: 8px 10px;
}

.b2b-testimonial blockquote {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.b2b-testimonial figcaption {
  opacity: 0.85;
  font-weight: 800;
}

.b2b-slider__controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.b2b-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.b2b-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.95);
  cursor: pointer;
}

.b2b-dot.is-active {
  background: rgba(0,0,0,0.65);
}

/* CTA */
.b2b-section--cta {
  padding-top: 10px;
  padding-bottom: 34px;
}

.b2b-cta {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 20px;
  background: rgba(255,255,255,0.85);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

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

.b2b-form__fineprint {
  margin: 10px 0 0;
  font-size: 12px;
  opacity: 0.75;
}

/* =========================================================
   PLANOS (PORTADOS DO planos.css)
   - mantém padrão 1:1 com a página de planos
========================================================= */

#planos .plans-container{
  max-width: 1120px;
  margin: 0 auto;
}

/* GRID – DESKTOP */
#planos .plans-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px){
  #planos .plans-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) and (max-width: 899px){
  #planos .plans-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #planos .plan-liderar{
    grid-column: span 2;
  }
}

/* CARD DOS PLANOS */
#planos .plan-card{
  background: #fff9f2;
  border-radius: 20px;
  padding: 32px 35px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  color: #262118;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#planos .plan-featured{
  border: 1px solid rgba(0,0,0,0.10); /* ou transparente, mas melhor manter padrão */
}

#planos .plan-ribbon{
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #FE5D03;
  color: #fff9f2;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Títulos / textos */
#planos .plan-card h3{
  font-family: "Fira Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 6px;
}

#planos .plan-tagline{
  font-size: 14px;
  color: #262118;
  opacity: 0.85;
  margin-bottom: 12px;
}

#planos .plan-price{
  margin-bottom: 16px;
}

#planos .plan-price span{
  font-family: "Fira Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fe5d03;
}

#planos .plan-price small{
  font-size: 14px;
  margin-left: 4px;
  color: #262118;
}

/* Lista de benefícios */
#planos .plan-features{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 14px;
}

#planos .plan-features li{
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

#planos .plan-features li::before{
  content: "•";
  margin-top: 2px;
  font-size: 16px;
  color: #fe5d03;
}

/* BOTÕES */
#planos .plan-cta{
  appearance: none;
  border-radius: 100px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid #262118;
  background: transparent;
  color: #262118;
}

#planos .plan-cta:hover{
  filter: brightness(1.02);
  transform: translateY(-1px);
}

#planos .plan-cta-primary:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* =========================
   LAYOUT NETFLIX MOBILE
   ========================= */

#planos .plans-mobile{
  display: none;
}

#planos .plans-step{
  font-size: 12px;
  color: #737373;
  margin-bottom: 6px;
}

#planos .plans-mobile-title{
  font-family: "Fira Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  color: #262118;
  margin-bottom: 16px;
}

#planos .plans-mobile-cards{
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

#planos .plan-pill{
  flex: 1;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  padding: 8px 10px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;

  white-space: normal;
  word-break: break-word;
  min-height: 55px;

  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

#planos .plan-pill-name{
  font-size: 13px;
  font-weight: 700;
  color: #262118;
  line-height: 1.1;
}

#planos .plan-pill-extra{
  font-size: 11px;
  color: #737373;
  margin-top: 2px;
  line-height: 1.1;
}

#planos .plan-pill--selected{
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, #002ed6, #bb91e5, #fe5d03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

#planos .plan-pill--selected .plan-pill-name,
#planos .plan-pill--selected .plan-pill-extra{
  color: #ffffff;
}

#planos .plan-pill-check{
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 12px;
  pointer-events: none;
}

#planos .plans-mobile-details{
  border-top: 1px solid #e5e5e5;
  margin-top: 4px;
}

#planos .plans-mobile-details .detail-row{
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

#planos .plans-mobile-details .detail-label{
  font-size: 13px;
  color: #737373;
  max-width: 55%;
}

#planos .plans-mobile-details .detail-value{
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  color: #262118;
}

#planos .plans-mobile-cta{
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  background: #fe5d03;
  color: #fff9f2;
  box-shadow: 0 8px 16px rgba(254, 93, 3, 0.4);
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

/* Ativa layout Netflix e esconde grid no mobile */
@media (max-width: 768px){
  #planos .plans-mobile{
    display: block;
    background: #fff9f2;
    border-radius: 18px;
    padding: 20px 16px 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    margin-bottom: 24px;
  }
  #planos .plans-grid{
    display: none;
  }
}
/* =========================================================
   PLAN CARD SELECIONADO (ACTIVE STATE)
========================================================= */

#planos .plan-card {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Estado ativo (igual ao Plano Crescer da imagem) */
#planos .plan-card.is-active {
  border: 2px solid #FE5D03;
  box-shadow: 0 18px 40px rgba(254, 93, 3, 0.25);
}

/* Botão padrão */
#planos .plan-card .plan-cta {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Botão quando card está ativo */
#planos .plan-card.is-active .plan-cta {
  background: #FE5D03;
  color: #fff9f2;
  border-color: #FE5D03;
}

/* Hover refinado */
#planos .plan-card:hover {
  transform: translateY(-2px);
}

/* =========================================================
   BACKGROUND DA PÁGINA EMPRESAS
========================================================= */

body {
  background-color: #FAEEDF;
}

/* =========================================================
   BOTÕES PRIMÁRIOS – PADRÃO LARANJA (CRESCER)
========================================================= */

/* Alvos:
   - Botão Calcular (ROI)
   - Botões Anterior / Próximo (slider)
*/
#roiCalc,
#planos .plans-mobile-cta,
.b2b-slider__controls button {
  appearance: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;

  background: #FE5D03;
  color: #fff9f2;
  border: 1px solid #FE5D03;

  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 16px rgba(254, 93, 3, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

/* Hover */
#roiCalc:hover,
#planos .plans-mobile-cta:hover,
.b2b-slider__controls button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(254, 93, 3, 0.45);
}

/* Active (clique) */
#roiCalc:active,
#planos .plans-mobile-cta:active,
.b2b-slider__controls button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(254, 93, 3, 0.3);
}

/* Focus acessível */
#roiCalc:focus-visible,
#planos .plans-mobile-cta:focus-visible,
.b2b-slider__controls button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(254, 93, 3, 0.35),
    0 8px 16px rgba(254, 93, 3, 0.35);
}

/* =========================================
   HOVER — ITENS DO DROPDOWN DE PERFIL
========================================= */

.header-dropdown .dropdown-item {
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Hover e foco (mouse + teclado) */
.header-dropdown .dropdown-item:hover,
.header-dropdown .dropdown-item:focus-visible {
  background-color: #faeedf;   /* tom claro da identidade */
  color: #002ed6;              /* laranja da marca */
}

/* Remove aparência padrão de botão */
.header-dropdown button.dropdown-item {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
