* { box-sizing: border-box; }
:root {
  --page-max: 1320px;
  --page-pad: clamp(16px, 4vw, 48px);
}
html, body, #root { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: hidden; font-family: Inter, Arial, sans-serif; background: #eef3f6; color: #0f172a; }
.dashboard-page,
.plans-page { min-height: 100vh; overflow-x: hidden; }

.msc-global-header,
.top-nav {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 40;
}

.msc-global-header {
  border-radius: 0;
  overflow: visible;
  background: rgba(8, 81, 126, 0.72);
  backdrop-filter: blur(5px);
}

.msc-global-header__inner {
  width: min(100%, var(--page-max)) !important;
  max-width: var(--page-max) !important;
  margin: 0 auto !important;
  padding-left: clamp(16px, 4vw, 48px) !important;
  padding-right: clamp(16px, 4vw, 48px) !important;
  grid-template-columns: minmax(360px, 1.05fr) minmax(520px, 1.9fr) auto !important;
  column-gap: clamp(14px, 1.8vw, 30px) !important;
  min-height: 90px !important;
}

.msc-global-header__brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(14px, 1.5vw, 22px) !important;
  width: auto !important;
}

.msc-global-header__logo-link { justify-self: auto !important; }
.msc-global-header__logo-slot--banclima { width: 190px !important; }
.msc-global-header__logo-slot--terrazul { width: 162px !important; }
.msc-global-header__logo-slot--bridges { width: 76px !important; }
.msc-global-header__title { font-size: clamp(20px, 1.55vw, 30px) !important; font-weight: 700 !important; line-height: 1.02 !important; }
.msc-global-header__subtitle { font-size: clamp(13px, .95vw, 18px) !important; margin-top: 2px !important; }
.msc-global-header__center { transform: translateX(clamp(0px, 1.2vw, 20px)); }

.top-nav {
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.top-nav__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, #0d2f4a 0%, #0a2842 100%) !important;
}
.top-nav__item {
  color: rgba(236,247,255,.92) !important;
  text-decoration: none;
  padding: 12px 2px 10px !important;
  line-height: 1.2 !important;
  border-bottom: 2px solid transparent !important;
  font-size: clamp(11px, .82vw, 14px);
  font-weight: 500;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-nav__item.is-active { color: #fff !important; border-bottom: 2px solid #7ed34a !important; font-weight: 600; }

@media (max-width: 1500px) {
  .top-nav__container {
    justify-content: space-between;
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Mantem o menu publico com a mesma distribuicao visual da Home e ESG. */
.dashboard-page .top-nav__container,
.plans-page .top-nav__container {
  width: min(100%, var(--page-max, 1400px)) !important;
  max-width: var(--page-max, 1400px) !important;
  margin: 0 auto !important;
  padding-left: var(--page-pad, clamp(16px, 4vw, 48px)) !important;
  padding-right: var(--page-pad, clamp(16px, 4vw, 48px)) !important;
  gap: 8px !important;
  justify-content: space-between !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.dashboard-page .top-nav__item,
.plans-page .top-nav__item {
  flex: 0 0 auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  padding: 12px 2px 10px !important;
  line-height: 1.2 !important;
}

@media (max-width: 900px) {
  .dashboard-page .top-nav__container,
  .plans-page .top-nav__container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    gap: 4px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    white-space: normal !important;
  }

  .dashboard-page .top-nav__item,
  .plans-page .top-nav__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 7px 4px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    font-size: 11px !important;
  }

  .dashboard-page .top-nav__item[href*="baixe-o-app.php"],
  .plans-page .top-nav__item[href*="baixe-o-app.php"] {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: min(100%, 220px) !important;
    min-height: 38px !important;
    margin-top: 4px !important;
    border: 1px solid #7ed34a !important;
    border-radius: 999px !important;
    background: rgba(126, 211, 74, 0.12) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
  }
}

.plans-main { width: 100%; margin: 0 auto; padding: 0 0 48px; }
.plans-hero-shell {
  width: min(100%, var(--page-max));
  max-width: var(--page-max);
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}
.plans-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 16px;
  align-items: stretch;
  min-height: clamp(420px, 58vh, 760px);
  padding: clamp(16px,2vw,28px);
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0 0 16px 16px;
  background: url('/images/planos/hero%20planos.png') center/cover no-repeat;
  color: #fff;
  border: 1px solid rgba(15,52,91,.42);
  border-top: 0;
  isolation: isolate;
}
.plans-hero::after {
  content: "";
  position: absolute;
  top: clamp(16px, 2vw, 30px);
  right: clamp(16px, 2.4vw, 30px);
  width: clamp(190px, 28vw, 360px);
  aspect-ratio: 1;
  background: url('/images/Heros/h9.png') center/contain no-repeat;
  filter: drop-shadow(0 20px 40px rgba(7, 22, 39, 0.28));
  pointer-events: none;
  z-index: 0;
}
.plans-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  align-self: end;
  margin-bottom: 14px;
}
.plans-hero__title { margin: 0; font-size: clamp(28px,2.45vw,44px); line-height: 1.04; font-weight: 700; color: #f2f7ff; }
.plans-hero__title span { color: #dfcc4d; }
.plans-hero__body { margin: 12px 0 0; max-width: 720px; font-size: clamp(13px,.9vw,16px); line-height: 1.35; color: rgba(236,244,255,.94); }
.plans-hero__actions { width: 100%; max-width: 760px; display: flex; gap: 10px; margin-top: 8px; flex-wrap: nowrap; }
.plans-hero__btn { min-height: 40px; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(128,203,255,.58); text-decoration: none; font-weight: 700; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; flex: 1 1 0; color: #fff; }
.plans-hero__btn--primary { background: #63C132; border-color: #63C132; color: #082b1a; }
.plans-hero__btn--ghost { background: rgba(2,76,123,.42); }
.plans-hero-pillars { margin-top: 8px; display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); border: 1px solid rgba(137,194,150,.3); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, rgba(4,32,54,.62), rgba(3,26,46,.74)); max-width: 980px; }
.plans-hero-pillar { border-right: 1px solid rgba(137,194,150,.22); padding: 8px 7px; font-size: .62rem; color: #eef7ff; font-weight: 600; line-height: 1.18; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 66px; }
.plans-hero-pillar:last-child { border-right: 0; }
.plans-hero-pillar i { width: 16px; height: 16px; color: #90de59; stroke-width: 2.2; }

.plans-hero-impact { align-self: end; margin: 0 10px 14px 0; border: 1px solid rgba(94,153,124,.35); border-radius: 16px; background: linear-gradient(180deg, rgba(4,35,44,.86), rgba(3,26,35,.92)); padding: 12px; color: #e8f5ff; }
.plans-hero-impact__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.plans-hero-impact__head h3 { margin:0; font-size:.92rem; font-weight:800; letter-spacing:.02em; color:#d9f16b; text-transform:uppercase; }
.plans-hero-impact__filter { font-size:.68rem; color:#c8d9e7; border:1px solid rgba(114,164,186,.36); border-radius:999px; padding:4px 8px; background:rgba(7,43,56,.52); }
.plans-hero-impact__kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:10px; }
.plans-hero-impact__kpi { border:1px solid rgba(84,141,167,.34); border-radius:10px; background:rgba(6,40,52,.7); padding:8px 7px; }
.plans-hero-impact__kpi strong { display:block; color:#f6fbff; font-size:1.05rem; line-height:1.05; }
.plans-hero-impact__kpi span { display:block; color:#d3e5f3; font-size:.68rem; line-height:1.2; margin-top:3px; }
.plans-hero-impact__kpi--green strong { color:#8fda53; }
.plans-hero-impact__charts { display:grid; grid-template-columns:1.35fr 1fr; gap:8px; }
.plans-hero-impact__chart { border:1px solid rgba(84,141,167,.34); border-radius:10px; background:rgba(6,40,52,.64); padding:8px; min-height:176px; }
.plans-hero-impact__chart h4 { margin:0 0 6px; font-size:.72rem; font-weight:700; color:#dbe9f3; }
.plans-hero-impact__line { width:100%; height:132px; display:block; overflow:hidden; }
.plans-hero-impact__donut { width:112px; height:112px; margin:8px auto 10px; border-radius:50%; background:conic-gradient(#9adb50 0 46%, #54a7df 46% 80%, #2d7fba 80% 100%); position:relative; }
.plans-hero-impact__donut::after { content:""; position:absolute; inset:28px; border-radius:50%; background:#08273a; }
.plans-hero-impact__legend { list-style:none; margin:0; padding:0; display:grid; gap:4px; font-size:.68rem; color:#d5e6f2; }
.plans-hero-impact__legend li { display:flex; align-items:center; gap:6px; }
.plans-hero-impact__legend i { width:8px; height:8px; border-radius:50%; display:inline-block; }
.plans-hero-impact__legend b { margin-left:auto; color:#f2fbff; font-weight:700; }

.plans-section {
  margin-top: 26px;
  width: min(100%, var(--page-max));
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #d4e2ef;
  border-radius: 28px;
  background: radial-gradient(circle at 20% 8%, #ffffff 0%, #f5f8fc 55%, #eef3f8 100%);
  padding: 20px;
}
.plans-section__intro { text-align:center; margin-bottom:18px; }
.plans-section__leaf { font-size:34px; line-height:1; margin-bottom:8px; }
.plans-section__intro h2 { margin:0; font-size:clamp(34px,3.2vw,58px); line-height:1.1; color:#102b52; }
.plans-section__intro p { margin:12px auto 0; max-width:760px; font-size:clamp(18px,1.2vw,26px); color:#516985; line-height:1.45; }

.plans-implantation { display:grid; grid-template-columns:1.1fr 1fr; gap:16px; background:#f8fbff; border:1px solid #cfdeec; border-radius:18px; padding:16px; }
.plans-implantation__left { display:grid; grid-template-columns:86px 1fr; gap:14px; align-items:center; }
.plans-implantation__icon { width:86px; height:86px; border-radius:50%; display:grid; place-items:center; font-size:34px; background:radial-gradient(circle at 32% 32%, #dcf6de, #b2eeb6 68%, #9ddfa4 100%); box-shadow:0 10px 22px rgba(66,144,90,.18); }
.plans-implantation__left h3 { margin:0; color:#102947; font-size:1.95rem; }
.plans-implantation__left p { margin:8px 0 0; color:#4f6680; line-height:1.55; }
.plans-implantation__right { display:grid; gap:8px; }
.plans-implantation__option { background:#fff; border:1px solid #d7e5f2; border-radius:12px; padding:10px 12px; color:#203b5a; }

.plans-grid { margin-top:18px; display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:16px; }
.plan-card { position:relative; display:flex; flex-direction:column; gap:14px; min-height:100%; border-radius:20px; padding:18px; border:1px solid #dbe2ea; background:#f4f7fa; box-shadow:0 10px 28px rgba(15,23,42,.08); }
.plan-card--entry { background: linear-gradient(180deg, #eef9ff 0%, #ffffff 60%); border-color: #9ed0ec; }
.plan-card--growth { background: linear-gradient(180deg, #eefaf2 0%, #ffffff 60%); border-color: #9fd8ad; }
.plan-card--premium { background: linear-gradient(180deg, #fff6dc 0%, #ffffff 60%); border-color: #dfbf63; }
.plan-card__badge { position:absolute; top:16px; right:16px; border-radius:999px; padding:6px 12px; background:#174c86; color:#fff; font-size:10px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
.plan-card--growth .plan-card__badge { background:#1b8d5f; }
.plan-card--premium .plan-card__badge { background:#d88600; }
.plan-card__head { display:flex; flex-direction:column; gap:12px; }
.plan-card__head h3 { margin:0; padding-right:92px; font-size:2rem; line-height:1.08; color:#0f172a; }
.plan-card__description { margin:6px 0 0; font-size:1.02rem; line-height:1.45; color:#475569; }
.plan-card__price { display:flex; align-items:baseline; gap:6px; color:#0e7cb4; }
.plan-card__price strong { font-size:2.7rem; line-height:1; }
.plan-card__price span { font-size:.98rem; font-weight:600; color:#64748b; }
.plan-card__meta { margin-top:0; padding-top:8px; border-top:1px solid #dce8f4; font-size:13px; font-weight:700; color:#0e7cb4; text-transform:uppercase; letter-spacing:.04em; }
.plan-card__benefits { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.plan-card__benefits li { display:grid; grid-template-columns:20px 1fr; gap:10px; align-items:start; font-size:.99rem; line-height:1.5; color:#1e293b; }
.plan-card__benefit-icon { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; margin-top:1px; border-radius:999px; background:rgba(14,124,180,.08); color:#0e7cb4; font-size:12px; font-weight:800; }
.btn { width:100%; border:0; border-radius:12px; margin-top:auto; min-height:46px; padding:12px 16px; font-size:1.03rem; font-weight:700; display:flex; align-items:center; justify-content:center; text-decoration:none; color:#fff; }
.btn-subscribe { background: linear-gradient(135deg, #1460ab 0%, #0d4e93 100%); }
.plan-card--growth .btn-subscribe { background: linear-gradient(135deg, #189f65 0%, #0f7c4f 100%); }
.plan-card--premium .btn-subscribe { background: linear-gradient(135deg, #f39a16 0%, #dc7f00 100%); }

.plans-services--chips { margin-top:16px; border-radius:16px; border:1px solid #d5e4f2; background:#f8fbff; padding:18px 20px; }
.plans-services--chips h3 { margin:0; font-size:1.75rem; color:#0f355a; }
.plans-services__chips { margin-top:10px; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.plans-services__chips span { display:inline-flex; align-items:center; justify-content:center; text-align:center; border-radius:999px; border:1px solid #cfe0ee; background:#fff; min-height:48px; padding:8px 10px; color:#355574; font-size:.9rem; }

.plans-bottom-cta { margin-top:14px; border:1px solid #cfe0dd; border-radius:16px; background:linear-gradient(90deg, #ecf6ef 0%, #f4faf6 100%); padding:16px; display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; }
.plans-bottom-cta h4 { margin:0; font-size:1.5rem; color:#1d4f36; }
.plans-bottom-cta p { margin:6px 0 0; color:#4d6f5e; }
.plans-bottom-cta__btn { min-height:44px; padding:0 18px; border-radius:10px; background:linear-gradient(135deg, #39a647 0%, #2f8d3a 100%); color:#fff; text-decoration:none; font-weight:700; display:inline-flex; align-items:center; }

@media (max-width: 1180px) {
  .plans-hero { grid-template-columns: 1fr; }
  .plans-hero__content { margin-bottom: 0; }
  .plans-hero-impact { width: 100%; margin: 10px 0 0; }
  .plans-hero-impact__kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plans-hero-impact__charts { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-implantation { grid-template-columns: 1fr; }
  .plans-services__chips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plans-bottom-cta { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .plans-hero-shell { width: 100%; border-radius: 0 0 14px 14px; }
  .plans-hero { padding: 22px; border-radius: 0 0 14px 14px; }
  .plans-hero::after { width: clamp(124px, 26vw, 180px); top: 14px; right: 14px; }
  .plans-hero__content {
    margin-bottom: 0;
    justify-items: center;
    text-align: center;
  }
  .plans-hero__title,
  .plans-hero__body {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .plans-hero__title { letter-spacing: 0; }
  .plans-hero__actions {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .plans-hero-pillars {
    width: 100%;
    max-width: 760px;
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
  }
  .plans-hero-pillar {
    min-height: 76px;
    padding: 12px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(137,194,150,.22);
  }
  .plans-hero-pillar:last-child { border-bottom: 0; }
  .plans-services__chips { grid-template-columns: 1fr; }
}
/* --- Planos reference layout overrides --- */
.plans-section {
  margin-top: 26px;
  width: min(100%, var(--page-max));
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #dde4ec;
  border-radius: 34px;
  background: #f7fafc;
  padding: clamp(20px, 2.2vw, 34px);
}

.plans-section__intro { text-align: center; margin-bottom: 18px; }
.plans-section__leaf { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.plans-section__intro h2 { margin: 0; font-size: clamp(24px, 2.7vw, 46px); line-height: 1.12; color: #0e254a; letter-spacing: -.01em; }
.plans-section__intro p { margin: 10px auto 0; max-width: 820px; color: #5e6f86; font-size: clamp(13px, .95vw, 20px); line-height: 1.45; }

.plans-implantation {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(340px, 1fr) minmax(360px, 1.2fr);
  gap: 14px;
  border: 1px solid #d8e1ea;
  border-radius: 20px;
  padding: 14px;
  background: #ffffff;
}
.plans-implantation__cover {
  width: 100%;
  height: 196px;
  object-fit: cover;
  border-radius: 16px;
}
.plans-implantation__copy h3 { margin: 2px 0 8px; color: #152c4f; font-size: clamp(18px, 1.25vw, 28px); line-height: 1.2; }
.plans-implantation__copy p { margin: 0; color: #4d617d; font-size: clamp(12px, .78vw, 15px); line-height: 1.5; }

.plans-implantation__options { display: grid; gap: 8px; }
.plans-implantation__option {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 104px;
  align-items: start;
  justify-items: start;
  gap: 12px;
  border: 1px solid #d7e2ec;
  border-radius: 12px;
  padding: 10px 12px;
  color: #2f4867;
  font-size: clamp(11px, .72vw, 14px);
  line-height: 1.35;
  background: #fdfefe;
  text-align: left;
}
.plans-implantation__option b { justify-self: start; text-align: left; }
.plans-implantation__option-text { display: block; grid-column: 2; justify-self: start; width: 100%; text-align: left !important; }
.plans-implantation__option strong { justify-self: end; text-align: right; }
.plans-implantation__option strong { color: #2f9457; white-space: nowrap; }

.plans-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.plan-card {
  border: 1px solid #d7dfea;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(19, 35, 56, 0.05);
  padding: 14px;
  display: grid;
  gap: 10px;
}
.plan-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.plan-card__kicker { margin: 0; font-size: 12px; font-weight: 700; color: #1f6f4b; }
.plan-card__header h3 { margin: 4px 0 0; font-size: clamp(18px, 1.35vw, 26px); line-height: 1.12; color: #0f2345; }
.plan-card__badge {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  background: #184983;
  white-space: nowrap;
}
.plan-card--growth .plan-card__badge { background: #1f8f5f; }
.plan-card--premium .plan-card__badge,
.plan-card--master .plan-card__badge { background: #b88626; }

.plan-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: stretch;
}
.plan-card__media { width: 100%; height: 156px; object-fit: cover; border-radius: 14px; }
.plan-card__price { font-size: clamp(22px, 1.75vw, 34px); line-height: 1.04; font-weight: 800; color: #0f4a93; }
.plan-card__summary { margin: 4px 0 0; color: #5b6f87; font-size: 12px; }
.plan-card__projects { margin: 2px 0 0; color: #5b6f87; font-size: 11px; font-weight: 600; }
.plan-card__meta { margin: 0; color: #58718f; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }

.plan-card__benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plan-card__benefits li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: #1f334f; font-size: 11px; line-height: 1.35; }
.plan-card__benefit-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5f4ea;
  color: #257b4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}

.btn-subscribe {
  min-height: 38px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0f4c93 0%, #0d3f7b 100%);
}
.plan-card--growth .btn-subscribe { background: linear-gradient(90deg, #1b8f57 0%, #18794a 100%); }
.plan-card--premium .btn-subscribe,
.plan-card--master .btn-subscribe { background: linear-gradient(90deg, #c88f35 0%, #b17a28 100%); }

.plans-services--chips {
  margin-top: 12px;
  border: 1px solid #d7e0e9;
  border-radius: 16px;
  background: #ffffff;
  padding: 12px;
}
.plans-services--chips h3 { margin: 0; color: #19325a; font-size: clamp(16px, 1.3vw, 26px); }
.plans-services__chips { margin-top: 12px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.plans-services__chips span {
  min-height: 54px;
  border: 1px solid #d8e2ed;
  border-radius: 10px;
  background: #f9fbfd;
  color: #2b4868;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  padding: 8px;
}

.plans-bottom-cta {
  margin-top: 12px;
  border: 1px solid #d6e0ea;
  border-radius: 18px;
  min-height: 164px;
  padding: 28px 20px;
  background-position: center;
  background-size: cover;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.plans-bottom-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 56, 0.74) 0%, rgba(6, 26, 56, 0.35) 65%, rgba(6, 26, 56, 0.15) 100%);
}
.plans-bottom-cta > * { position: relative; z-index: 1; }
.plans-bottom-cta h4 { margin: 0; color: #fff; font-size: clamp(22px, 1.6vw, 32px); line-height: 1.15; }
.plans-bottom-cta p { margin: 8px 0 0; color: #e8f1ff; font-size: 13px; }
.plans-bottom-cta__btn {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: #f8fcff;
  color: #15355b;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

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

@media (max-width: 900px) {
  .plans-hero-shell,
  .plans-section {
    width: 100%;
    max-width: none;
  }

  .plans-implantation__copy,
  .plans-implantation__copy h3,
  .plans-implantation__copy p {
    text-align: center;
  }

  .plans-implantation__copy h3,
  .plans-implantation__copy p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .plans-grid { grid-template-columns: 1fr; }
  .plan-card__top { grid-template-columns: 1fr; }
  .plan-card__media { height: 190px; }
  .plans-services__chips { grid-template-columns: 1fr; }
  .plans-services--chips h3 { text-align: center; }
  .plans-bottom-cta { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .plans-main { padding-bottom: 28px; }

  .plans-section {
    margin-top: 18px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 16px 14px;
  }

  .plans-implantation {
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .plans-implantation__cover {
    height: clamp(170px, 48vw, 220px);
    border-radius: 14px;
  }

  .plans-implantation__option {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
    column-gap: 10px;
    padding: 12px;
  }

  .plans-implantation__option b {
    grid-column: 1;
    grid-row: 1;
  }

  .plans-implantation__option strong {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .plans-implantation__option-text {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
}

.plan-form-page {
  padding: 24px 0 40px;
}

.plans-page {
  background:
    radial-gradient(circle at top left, rgba(85, 141, 207, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(63, 193, 133, 0.08), transparent 24%),
    #edf4fa;
}

.plan-form-shell {
  width: min(100%, var(--page-max));
  max-width: var(--page-max);
  margin: 0 auto;
}

.plan-form-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.plan-form-summary {
  position: sticky;
  top: 18px;
  height: 100%;
}

.plan-form-summary__inner,
.plan-form-content {
  border: 1px solid #d7e1eb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 35, 58, 0.07);
}

.plan-form-summary__inner {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(15, 53, 90, 0.05) 0%, rgba(15, 53, 90, 0) 100%),
    #ffffff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.plan-form-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.plan-form-summary__hero {
  margin-top: 18px;
  padding: 24px;
  min-height: 264px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(8, 40, 78, 0.98) 0%, rgba(18, 84, 157, 0.9) 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.plan-form-summary__hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 245, 112, 0.16), rgba(223, 245, 112, 0));
  pointer-events: none;
}

.plan-form-summary__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 62%);
}

.plan-form-summary__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(44%, 232px);
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.plan-form-summary__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 74, 133, 0.9) 0%, rgba(22, 74, 133, 0.42) 34%, rgba(22, 74, 133, 0.12) 100%);
}

.plan-form-summary__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.plan-form-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-form-kicker,
.plan-form-section-label,
.plan-form-side-panel__eyebrow,
.plans-hero__eyebrow {
  margin: 0;
  color: #61809e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-form-summary__hero .plan-form-kicker {
  margin-top: 16px;
  color: rgba(229, 240, 255, 0.76);
}

.plan-form-summary__hero h1 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(32px, 2.8vw, 48px);
  line-height: 1.02;
  position: relative;
  z-index: 1;
}

.plan-form-price {
  margin: 16px 0 0;
  color: #dff570;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 800;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.plan-form-price span {
  font-size: 18px;
  color: rgba(238, 246, 255, 0.88);
  font-weight: 700;
}

.plan-form-description {
  margin: 16px 0 0;
  color: rgba(240, 247, 255, 0.94);
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.plan-form-benefits-wrap,
.plan-form-summary-card,
.plan-form-side-panel,
.plan-form-side-note,
.plan-form-support-card {
  margin-top: 16px;
  border: 1px solid #d8e3ed;
  border-radius: 18px;
  background: #f8fbfe;
}

.plan-form-benefits-wrap {
  padding: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
}

.plan-form-benefits {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-form-benefits li,
.plan-form-side-panel__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #223a56;
  font-size: 14px;
  line-height: 1.45;
}

.plan-form-benefits li span:first-child,
.plan-form-side-panel__list li span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
}

.plan-form-benefits li.is-active span:first-child,
.plan-form-side-panel__list li span:first-child {
  background: #e1f4e7;
  color: #26814f;
}

.plan-form-benefits li.is-inactive {
  color: #7a8ca0;
}

.plan-form-benefits li.is-inactive span:first-child {
  background: #eef2f6;
  color: #7e8c9c;
}

.plan-form-summary-card,
.plan-form-side-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.plan-form-summary-card__icon,
.plan-form-side-note__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e7f3ff 0%, #d4e9ff 100%);
  color: #164a85;
  font-size: 22px;
}

.plan-form-summary-card__title,
.plan-form-side-note__title {
  margin: 0;
  color: #102b52;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.plan-form-summary-card__text,
.plan-form-side-note__text {
  margin: 8px 0 0;
  color: #556b84;
  font-size: 14px;
  line-height: 1.55;
}

.plan-form-side-info {
  display: grid;
  gap: 16px;
}

.plan-form-support-card {
  padding: 14px 16px;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(17, 72, 133, 0.06) 0%, rgba(17, 72, 133, 0.02) 100%),
    #f8fbfe;
}

.plan-form-support-card h3 {
  margin: 10px 0 0;
  color: #12355d;
  font-size: 19px;
  line-height: 1.18;
}

.plan-form-support-card > p:last-of-type {
  margin: 10px 0 0;
  color: #546b85;
  font-size: 14px;
  line-height: 1.58;
}

.plan-form-support-card__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.plan-form-support-card__list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
  color: #21405f;
  font-size: 14px;
  line-height: 1.45;
}

.plan-form-support-card__list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 5px;
  background: linear-gradient(180deg, #6fc43f 0%, #4aa22a 100%);
  box-shadow: 0 0 0 3px rgba(111, 196, 63, 0.12);
}

.plan-form-side-panel {
  padding: 18px;
}

.plan-form-side-panel__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.plan-form-content {
  padding: 26px;
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(18, 74, 140, 0.03) 0%, rgba(18, 74, 140, 0) 20%),
    #ffffff;
}

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

.plan-form-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-form-head__chip {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #eef5fb;
  border: 1px solid #d8e6f3;
  color: #315474;
  font-size: 12px;
  font-weight: 700;
}

.plan-form-head__chip--plan {
  background: #163f73;
  border-color: #163f73;
  color: #ffffff;
}

.plan-form-head h2 {
  margin: 0;
  color: #102b52;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.08;
}

.plan-form-head > p:last-of-type {
  margin: 0;
  color: #5c738d;
  font-size: 15px;
  line-height: 1.6;
}

.plan-form-head__notice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid #d7e5f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fcff 0%, #f2f8fd 100%);
}

.plan-form-head__notice-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  margin-top: 2px;
  background: linear-gradient(180deg, #74c946 0%, #52ab29 100%);
  box-shadow: 0 0 0 4px rgba(116, 201, 70, 0.14);
}

.plan-form-head__notice strong,
.plan-form-head__notice span {
  display: block;
}

.plan-form-head__notice strong {
  color: #123862;
  font-size: 14px;
  font-weight: 800;
}

.plan-form-head__notice span {
  margin-top: 4px;
  color: #5d738c;
  font-size: 14px;
  line-height: 1.5;
}

.project-form {
  display: grid;
  gap: 18px;
}

.form-section {
  border: 1px solid #dce5ee;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 251, 253, 1) 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2e76c2 0%, #66c53b 100%);
}

.form-section h4 {
  margin: 0 0 16px;
  color: #14345c;
  font-size: 20px;
  line-height: 1.2;
  padding-left: 4px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #244463;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfdcea;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #15314f;
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #2a74c2;
  box-shadow: 0 0 0 4px rgba(42, 116, 194, 0.12);
}

.plan-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.btn-outline {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #cbd9e8;
  border-radius: 12px;
  background: #ffffff;
  color: #173b67;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plan-form-footer .btn-subscribe {
  min-width: 280px;
  box-shadow: 0 10px 24px rgba(15, 76, 147, 0.18);
}

@media (max-width: 1180px) {
  .plan-form-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .plan-form-summary {
    position: static;
    height: auto;
  }
}

@media (max-width: 900px) {
  .plan-form-page {
    padding: 18px 0 28px;
  }

  .plan-form-shell {
    width: 100%;
    max-width: none;
  }

  .plan-form-summary__inner,
  .plan-form-content {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .plan-form-head__notice {
    grid-template-columns: 1fr;
  }

  .plan-form-head__notice-icon {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .plan-form-summary__inner,
  .plan-form-content {
    padding: 16px;
  }

  .plan-form-summary__hero,
  .form-section {
    padding: 16px;
  }

  .plan-form-summary__hero {
    min-height: 0;
  }

  .plan-form-summary__copy {
    width: 100%;
  }

  .plan-form-summary__media {
    width: 42%;
    opacity: 0.46;
  }

  .plan-form-summary-card,
  .plan-form-side-note {
    grid-template-columns: 1fr;
  }

  .plan-form-support-card {
    min-height: 0;
  }

  .plan-form-footer {
    flex-direction: column-reverse;
  }

  .plan-form-footer .btn,
  .plan-form-footer .btn-outline {
    width: 100%;
  }
}



