/* CoreDiet Index - camada de conversao v1 (2026-08-02) */
.skip-link{
  position:fixed;
  z-index:10000001;
  top:10px;
  left:10px;
  transform:translateY(-180%);
  padding:11px 15px;
  border-radius:10px;
  background:#07182b;
  color:#fff;
  font:800 13px/1.2 'DM Sans',sans-serif;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(7,24,43,.24);
}
.skip-link:focus{transform:translateY(0);outline:3px solid #68c8ff;outline-offset:2px}
.gallery-stage:focus-visible{outline:3px solid rgba(30,136,229,.42);outline-offset:5px}
.cd-core-public-page .gallery-stage{padding:18px!important;border:1px solid #dce6ef!important;border-radius:24px!important;background:#fff!important;box-shadow:0 24px 62px rgba(19,47,78,.10)!important}
.cd-core-public-page .gallery-stage::before{display:none!important;content:none!important}
.cd-core-public-page .gallery-toolbar{padding:5px 4px 15px!important;color:#102a46!important}
.cd-core-public-page .gallery-toolbar strong{font-size:15px!important;font-weight:800!important}
.cd-core-public-page .gallery-img-wrap{aspect-ratio:16/9;border:1px solid #dce6ef!important;border-radius:17px!important;background:#f7fafe!important}
.cd-core-public-page .gallery-img-wrap img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#fff}
.gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.gallery-thumb{min-width:0;padding:6px;display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #dce6ef;border-radius:12px;background:#fff;color:#52677c;font-family:'Montserrat','DM Sans',sans-serif;font-size:10px;font-weight:750;line-height:1.25;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.gallery-thumb img{width:56px;height:38px;display:block;object-fit:cover;object-position:top center;border:1px solid #e5ebf2;border-radius:7px;background:#f6f9fc}
.gallery-thumb span{min-width:0}
.gallery-thumb:hover{border-color:#b9d3ef;background:#f8fbff}
.gallery-thumb.is-active{border-color:#7dcfba;background:#effbf7;color:#08775f;box-shadow:0 5px 14px rgba(18,154,119,.10)}
.gallery-thumb:focus-visible{outline:3px solid rgba(30,136,229,.24);outline-offset:2px}

.hero-layout{
  grid-template-columns:minmax(0,1.04fr) minmax(420px,.96fr)!important;
  align-items:center!important;
  gap:clamp(24px,2.8vw,38px)!important;
}
.hero-copy{max-width:700px}
.hero-copy h1{max-width:650px!important;text-wrap:balance}
.hero-copy h1 .mark{white-space:normal}
.hero-product-visual{
  position:relative;
  width:min(640px,100%)!important;
  justify-self:end;
  overflow:hidden!important;
}
.hero-product-visual::before{
  content:none;
  display:none;
}
.hero-product-visual img{
  display:block;
  width:100%!important;
  max-width:100%!important;
  height:auto;
  margin:0 auto;
  object-fit:contain;
  border:0;
  border-radius:18px;
  box-shadow:none;
  filter:none;
  transform:none!important;
}

/* Preserva a escala editorial da home quando o shell acrescenta classes internas. */
body.cd-core-public-page.cd-core-internal .hero-copy h1,
body.cd-core-public-page.cd-core-nutri-page .hero-copy h1{
  max-width:650px!important;
  font-size:clamp(42px,4.25vw,62px)!important;
  line-height:1.02!important;
  letter-spacing:-.05em!important;
}
.cdx-hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:25px;
}
.cdx-proof-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border:1px solid rgba(7,24,43,.1);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#203750;
  font-size:12px;
  font-weight:850;
  box-shadow:0 8px 26px rgba(7,24,43,.05);
}
.cdx-proof-pill i{color:#1686e5}
.cdx-demo-shell{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(164,188,214,.55);
  border-radius:28px;
  background:#eef4fa;
  box-shadow:0 30px 80px rgba(7,37,73,.16);
}
.cdx-demo-shell:before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-80px;
  top:-95px;
  border-radius:50%;
  background:rgba(61,161,241,.18);
  filter:blur(2px);
}
.cdx-demo-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 17px;
  border-bottom:1px solid rgba(139,169,200,.27);
  background:rgba(255,255,255,.82);
}
.cdx-demo-title{display:flex;align-items:center;gap:10px;min-width:0}
.cdx-demo-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:linear-gradient(135deg,#0b3159,#168ae7);
  color:#fff;
}
.cdx-demo-title strong{display:block;font-size:13px;line-height:1.2}
.cdx-demo-title small{display:block;margin-top:3px;color:#748399;font-size:10px;font-weight:750}
.cdx-demo-label{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#e7f8f1;
  color:#087957;
  font-size:9px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.cdx-demo-body{position:relative;z-index:1;padding:15px}
.cdx-demo-score{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:13px;
  align-items:center;
  padding:14px;
  border:1px solid #dce7f2;
  border-radius:19px;
  background:#fff;
}
.cdx-score-ring{
  width:74px;
  height:74px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:conic-gradient(#18b985 0 82%,#e9eff5 82% 100%);
}
.cdx-score-ring:before{
  content:"82%";
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#082848;
  font:900 17px/1 'Sora',sans-serif;
}
.cdx-demo-score strong{font-size:13px}
.cdx-demo-score p{margin:5px 0 0;color:#69798f;font-size:10.5px;line-height:1.45;font-weight:700}
.cdx-demo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:9px;
}
.cdx-demo-stat{
  min-width:0;
  min-height:70px;
  padding:11px;
  border:1px solid #dce7f2;
  border-radius:15px;
  background:rgba(255,255,255,.94);
}
.cdx-demo-stat i{display:block;margin-bottom:8px;color:#168ae7;font-size:12px}
.cdx-demo-stat strong{display:block;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.cdx-demo-stat span{display:block;margin-top:3px;color:#7c8b9e;font-size:9px;font-weight:750}
.cdx-demo-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:9px;
  padding:11px 13px;
  border-radius:15px;
  background:#082c51;
  color:#fff;
  font-size:10px;
  font-weight:800;
}
.cdx-demo-foot span{display:flex;align-items:center;gap:7px}
.cdx-demo-foot i{color:#66d6b5}

.cdx-section-head{max-width:790px;margin-bottom:30px}
.cdx-section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.cdx-section-head .lead{margin-top:14px}
.cdx-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cdx-journey-card{
  position:relative;
  overflow:hidden;
  min-height:330px;
  padding:25px;
  border:1px solid rgba(7,24,43,.09);
  border-radius:26px;
  background:#fff;
  box-shadow:0 20px 55px rgba(7,24,43,.06);
}
.cdx-journey-card:after{
  content:attr(data-step);
  position:absolute;
  right:15px;
  top:4px;
  color:rgba(9,64,112,.045);
  font:900 86px/1 'Sora',sans-serif;
}
.cdx-journey-icon{
  position:relative;
  z-index:1;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#e9f4ff;
  color:#1179d2;
  font-size:18px;
}
.cdx-journey-card:nth-child(2) .cdx-journey-icon{background:#e8f8f2;color:#0a9368}
.cdx-journey-card:nth-child(3) .cdx-journey-icon{background:#fff2eb;color:#df633d}
.cdx-journey-card h3{position:relative;z-index:1;margin:18px 0 8px;font:900 20px/1.2 'Sora',sans-serif}
.cdx-journey-card>p{position:relative;z-index:1;margin:0;color:#65758a;font-size:14px;line-height:1.55;font-weight:650}
.cdx-check-list{position:relative;z-index:1;display:grid;gap:10px;margin-top:19px}
.cdx-check-list span{display:flex;align-items:flex-start;gap:9px;color:#253950;font-size:12.5px;line-height:1.4;font-weight:780}
.cdx-check-list i{margin-top:2px;color:#13a777;font-size:11px}
.cdx-inline-cta{margin-top:27px;display:flex;justify-content:center}

.cdx-spotlight{background:linear-gradient(180deg,#eef5fb 0%,#f8fbfd 100%)}
.cdx-spotlight-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(520px,1.15fr);gap:34px;align-items:center}
.cdx-spotlight-copy .lead{margin:16px 0 0}
.cdx-benefits{display:grid;gap:11px;margin-top:23px}
.cdx-benefit{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start}
.cdx-benefit i{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#137dd8;box-shadow:0 9px 25px rgba(7,52,96,.08)}
.cdx-benefit strong{display:block;font-size:13px}
.cdx-benefit span{display:block;margin-top:3px;color:#69798e;font-size:12px;line-height:1.45;font-weight:650}
.cdx-spotlight-board{padding:17px;border:1px solid #d7e4f0;border-radius:28px;background:#f3f7fb;box-shadow:0 28px 70px rgba(7,37,73,.12)}
.cdx-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.cdx-board-head strong{font:900 14px/1.2 'Sora',sans-serif}
.cdx-board-head span{padding:6px 9px;border-radius:999px;background:#fff;color:#62768e;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.cdx-board-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.cdx-board-kpi{min-height:85px;padding:12px;border:1px solid #dce6ef;border-radius:16px;background:#fff}
.cdx-board-kpi i{color:#1688e5;font-size:12px}
.cdx-board-kpi b{display:block;margin-top:10px;color:#0b2948;font-size:13px}
.cdx-board-kpi small{display:block;margin-top:3px;color:#8290a1;font-size:9px;font-weight:750}
.cdx-board-main{display:grid;grid-template-columns:1.1fr .9fr;gap:8px;margin-top:8px}
.cdx-board-panel{padding:13px;border:1px solid #dce6ef;border-radius:17px;background:#fff}
.cdx-board-panel h4{margin:0 0 11px;font-size:11px}
.cdx-board-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #edf1f5;font-size:9.5px;font-weight:780}
.cdx-board-row:first-of-type{border-top:0}
.cdx-board-row span{display:flex;align-items:center;gap:7px;color:#53677f}
.cdx-board-row i{color:#1589e6}
.cdx-board-row b{font-size:9px;color:#0b3158}
.cdx-adherence-bars{display:grid;gap:9px}
.cdx-adherence-line span{display:flex;justify-content:space-between;margin-bottom:5px;color:#64768c;font-size:9px;font-weight:800}
.cdx-adherence-line div{height:7px;overflow:hidden;border-radius:999px;background:#edf1f5}
.cdx-adherence-line div:after{content:"";display:block;width:var(--value);height:100%;border-radius:inherit;background:linear-gradient(90deg,#168ae7,#15b987)}

.cdx-growth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cdx-growth-card{min-height:290px;padding:25px;border:1px solid rgba(7,24,43,.09);border-radius:26px;background:#fff;box-shadow:0 18px 50px rgba(7,24,43,.055)}
.cdx-growth-card.featured{background:#fff;color:#07182b;border-color:rgba(7,24,43,.09)}
.cdx-growth-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:#e9f4ff;color:#127bd5;font-size:18px}
.cdx-growth-card.featured .cdx-growth-icon{background:#e9f4ff;color:#127bd5}
.cdx-growth-card h3{margin:18px 0 8px;font:900 18px/1.25 'Sora',sans-serif}
.cdx-growth-card p{margin:0;color:#65758a;font-size:13px;line-height:1.55;font-weight:650}
.cdx-growth-card.featured p{color:#65758a}
.cdx-growth-card ul{list-style:none;display:grid;gap:9px;margin:18px 0 0;padding:0}
.cdx-growth-card li{display:flex;gap:8px;font-size:11.5px;line-height:1.4;font-weight:760}
.cdx-growth-card li:before{content:"\2713";color:#16b985}
.cdx-growth-card.featured li:before{color:#16b985}
.cdx-safe-note{margin-top:24px;padding:14px 16px;border:1px solid #d9e8f4;border-radius:16px;background:#f4f9fd;color:#50667d;font-size:12px;line-height:1.55;font-weight:700}

.cdx-risk{background:#07182b;color:#fff}
.cdx-risk .eyebrow{color:#71d9bb}
.cdx-risk .h2{color:#fff}
.cdx-risk .lead{color:rgba(255,255,255,.68)}
.cdx-risk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:28px}
.cdx-risk-card{min-height:185px;padding:21px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(255,255,255,.055)}
.cdx-risk-card i{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:rgba(113,217,187,.12);color:#71d9bb}
.cdx-risk-card strong{display:block;margin-top:16px;font-size:13px}
.cdx-risk-card p{margin:7px 0 0;color:rgba(255,255,255,.64);font-size:11.5px;line-height:1.5;font-weight:650}
.cdx-risk-actions{display:flex;align-items:center;gap:15px;margin-top:25px}
.cdx-risk-actions small{color:rgba(255,255,255,.56);font-size:11px;font-weight:750}

.cdx-billing-toggle{display:flex;width:max-content;gap:4px;margin:68px auto 0;padding:5px;border:1px solid #d7e3ee;border-radius:15px;background:#edf3f8}
.cdx-billing-btn{min-height:40px;padding:0 16px;border:0;border-radius:11px;background:transparent;color:#61748a;cursor:pointer;font:850 12px/1 'DM Sans',sans-serif}
.cdx-billing-btn[aria-pressed="true"]{background:#fff;color:#092b4e;box-shadow:0 7px 20px rgba(7,43,79,.1)}
.cdx-billing-save{display:inline-flex;margin-left:6px;padding:4px 7px;border-radius:999px;background:#e2f7ef;color:#087a57;font-size:9px;font-weight:900;text-transform:uppercase}
.cdx-price-view[hidden],.cdx-cycle-actions[hidden]{display:none!important}
.cdx-price-view .price{margin-bottom:4px}
.cdx-price-view .cdx-equivalent{display:block;color:#65758b;font-size:11px;font-weight:750}
.cdx-saving{display:inline-flex;margin-top:8px;padding:6px 9px;border-radius:999px;background:#e8f8f1;color:#087b57;font-size:10px;font-weight:900}
.cdx-cycle-actions{display:grid;grid-template-columns:1fr;gap:8px}
.cdx-trial-btn{background:#07182b!important;border-color:#07182b!important;color:#fff!important}
.cdx-checkout-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;color:#4d6279;font-size:11px;font-weight:850;text-decoration:none}
.price-card.featured .cdx-trial-btn{background:#167fe0!important;border-color:#167fe0!important}

.cdx-faq-list{display:grid;gap:10px;margin-top:24px}
.cdx-faq-item{overflow:hidden;border:1px solid rgba(7,24,43,.1);border-radius:18px;background:#fff}
.cdx-faq-trigger{width:100%;min-height:66px;padding:16px 19px;border:0;background:transparent;color:#102b49;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;cursor:pointer;font:850 14px/1.35 'DM Sans',sans-serif}
.cdx-faq-trigger i{font-size:11px;transition:transform .2s ease}
.cdx-faq-trigger[aria-expanded="true"] i{transform:rotate(180deg)}
.cdx-faq-trigger:focus-visible{outline:3px solid rgba(30,136,229,.3);outline-offset:-3px}
.cdx-faq-panel{padding:0 19px 18px;color:#64758a;font-size:13px;line-height:1.65;font-weight:650}
.cdx-faq-panel[hidden]{display:none}

.cdx-final-cta{padding:28px 0 10px}
.cdx-final-card{position:relative;overflow:hidden;padding:46px;border-radius:34px;background:linear-gradient(135deg,#0b3159,#0a6daf);color:#fff;box-shadow:0 28px 70px rgba(7,53,95,.18)}
.cdx-final-card:after{content:"";position:absolute;width:330px;height:330px;right:-100px;top:-150px;border-radius:50%;background:rgba(109,222,190,.17)}
.cdx-final-card>*{position:relative;z-index:1}
.cdx-final-card h2{max-width:720px;margin:0;font:900 clamp(30px,4vw,52px)/1.02 'Sora',sans-serif;letter-spacing:-.055em}
.cdx-final-card p{max-width:670px;margin:15px 0 0;color:rgba(255,255,255,.76);font-size:16px;line-height:1.55;font-weight:650}
.cdx-final-card .hero-actions{margin-top:24px}
.cdx-final-card .btn-main.dark{background:#fff;color:#092b4d}
.cdx-final-card .cdx-microcopy{color:rgba(255,255,255,.72)}
.cdx-final-card .cdx-microcopy i{color:#78e0c2}

@media(max-width:1050px){
  .gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero-layout{grid-template-columns:1fr!important;gap:38px!important}
  .hero-copy{max-width:820px;margin-inline:auto}
  .hero-copy h1,
  body.cd-core-public-page.cd-core-internal .hero-copy h1,
  body.cd-core-public-page.cd-core-nutri-page .hero-copy h1{max-width:820px!important}
  .hero-product-visual{justify-self:center;width:min(620px,100%)!important}
  .cdx-spotlight-layout{grid-template-columns:1fr}
  .cdx-spotlight-board{max-width:760px}
  .cdx-risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .cdx-journey-grid,.cdx-growth-grid{grid-template-columns:1fr}
  .cdx-journey-card,.cdx-growth-card{min-height:0}
  .cdx-board-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .cd-core-public-page .gallery-stage{padding:10px!important;border-radius:17px!important}
  .cd-core-public-page .gallery-img-wrap{border-radius:12px!important}
  .gallery-thumbs{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:none}
  .gallery-thumbs::-webkit-scrollbar{display:none}
  .gallery-thumb{flex:0 0 174px;scroll-snap-align:start}
  body.cd-core-public-page.cd-core-internal .hero-copy h1,
  body.cd-core-public-page.cd-core-nutri-page .hero-copy h1{
    font-size:clamp(34px,10vw,42px)!important;
    line-height:1.02!important;
  }
  .hero-product-visual{width:min(100%,520px)!important;margin-inline:auto;padding:16px 16px 20px!important}
  .hero-product-visual img{width:100%!important;max-width:100%!important;transform:none!important}
  .cdx-hero-proof{display:grid;grid-template-columns:1fr}
  .cdx-proof-pill{justify-content:flex-start}
  .cdx-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cdx-demo-stat:last-child{grid-column:1/-1}
  .cdx-journey-card,.cdx-growth-card{padding:21px;border-radius:22px}
  .cdx-spotlight-layout{gap:25px}
  .cdx-spotlight-board{padding:10px;border-radius:22px}
  .cdx-board-kpis{grid-template-columns:1fr 1fr}
  .cdx-board-main{grid-template-columns:1fr}
  .cdx-risk-grid{grid-template-columns:1fr}
  .cdx-risk-card{min-height:0}
  .cdx-risk-actions{align-items:flex-start;flex-direction:column}
  .cdx-billing-toggle{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .cdx-billing-btn{padding:0 8px}
  .cdx-billing-save{display:block;margin:3px 0 0}
  .cdx-final-card{padding:31px 22px;border-radius:27px}
}
@media(prefers-reduced-motion:reduce){
  .cdx-faq-trigger i{transition:none}
}

/* ==========================================================
   Navegação da Index — desktop e mobile
   Integrada ao CSS existente em 2026-08-05.
   ========================================================== */
/* CoreDiet — navegação pública da Index */
.topbar .nav .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.topbar .nav .nav-links > .cd-menu-text,
.topbar .nav .nav-links > .cd-menu-text:link,
.topbar .nav .nav-links > .cd-menu-text:visited,
.topbar .nav .nav-links > .cd-menu-text:hover,
.topbar .nav .nav-links > .cd-menu-text:focus,
.topbar .nav .nav-links > .cd-menu-text:focus-visible,
.topbar .nav .nav-links > .cd-menu-text:active,
.topbar.scrolled .nav .nav-links > .cd-menu-text,
.topbar.scrolled .nav .nav-links > .cd-menu-text:link,
.topbar.scrolled .nav .nav-links > .cd-menu-text:visited,
.topbar.scrolled .nav .nav-links > .cd-menu-text:hover,
.topbar.scrolled .nav .nav-links > .cd-menu-text:focus,
.topbar.scrolled .nav .nav-links > .cd-menu-text:focus-visible,
.topbar.scrolled .nav .nav-links > .cd-menu-text:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  min-height: 30px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  outline: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transform: none !important;
  color: #0B4C92 !important;
  -webkit-text-fill-color: #0B4C92 !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.015em !important;
  cursor: pointer !important;
}

.topbar .nav .nav-links > .cd-menu-text::before,
.topbar .nav .nav-links > .cd-menu-text::after,
.topbar.scrolled .nav .nav-links > .cd-menu-text::before,
.topbar.scrolled .nav .nav-links > .cd-menu-text::after {
  display: none !important;
  content: none !important;
}

.topbar .nav .nav-links > .cd-menu-text:hover,
.topbar .nav .nav-links > .cd-menu-text:focus-visible,
.topbar.scrolled .nav .nav-links > .cd-menu-text:hover,
.topbar.scrolled .nav .nav-links > .cd-menu-text:focus-visible {
  color: #083B72 !important;
  -webkit-text-fill-color: #083B72 !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}
.topbar .nav .nav-links > .cd-menu-text:focus-visible,
.topbar.scrolled .nav .nav-links > .cd-menu-text:focus-visible {
  opacity: 1 !important;
  outline: 3px solid rgba(30, 136, 229, .46) !important;
  outline-offset: 6px !important;
  border-radius: 999px !important;
}
#cdLoginTrigger:focus-visible,
.topbar.scrolled #cdLoginTrigger:focus-visible {
  outline: 3px solid rgba(30, 136, 229, .46) !important;
  outline-offset: 3px !important;
}

#nav-capsule { display: none !important; }

/* Botão do menu aparece somente no mobile. */
.topbar .hamb,
.topbar.scrolled .hamb {
  display: none !important;
}

/* O menu móvel nunca pode participar do layout desktop. */
.cd-core-public-page .mobile-drawer,
.cd-core-public-page .mobile-menu-backdrop {
  display: none !important;
}


/* Menu mobile refeito: compacto, legível e sem vazamento do menu desktop. */
@media (max-width: 1050px) {
  html { scroll-padding-top: 82px; }

  body.mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .topbar,
  .topbar.scrolled {
    padding: 10px 0 !important;
  }

  .topbar .wrap {
    width: min(100% - 20px, 1180px) !important;
  }

  .topbar .nav,
  .topbar.scrolled .nav {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 7px 8px 7px 14px !important;
    gap: 14px !important;
    border-radius: 18px !important;
    background: rgba(248, 250, 252, .94) !important;
    border: 1px solid rgba(7, 24, 43, .08) !important;
    box-shadow: 0 12px 30px rgba(7, 24, 43, .10) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
  }

  .topbar .nav .nav-links,
  .topbar .nav .nav-actions,
  .topbar.scrolled .nav .nav-links,
  .topbar.scrolled .nav .nav-actions {
    display: none !important;
  }

  .topbar .brand,
  .topbar.scrolled .brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: calc(100% - 54px) !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .topbar .hamb,
  .topbar.scrolled .hamb {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: #07182b !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: none !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: transform .18s ease, background .18s ease !important;
  }

  .topbar .hamb:active { transform: scale(.96) !important; }
  .topbar .hamb:focus-visible {
    outline: 3px solid rgba(47, 141, 240, .28) !important;
    outline-offset: 2px !important;
  }

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 88;
    background: rgba(7, 24, 43, .36);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer,
  .mobile-drawer.open {
    display: flex !important;
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    top: 78px !important;
    bottom: auto !important;
    z-index: 92 !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 90px) !important;
    flex-direction: column !important;
    padding: 10px !important;
    margin: 0 !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    border-radius: 22px !important;
    border: 1px solid rgba(7, 24, 43, .09) !important;
    background: #fff !important;
    box-shadow: 0 28px 72px rgba(7, 24, 43, .24) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(.985);
    transform-origin: top center;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .mobile-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 12px;
    border-bottom: 1px solid #e8eef5;
  }

  .mobile-drawer-head > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-drawer-kicker {
    color: #6b7d92;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .mobile-drawer-head strong {
    color: #07182b;
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -.03em;
  }

  .mobile-drawer-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border: 1px solid #dfe7f0;
    border-radius: 12px;
    background: #f7f9fc;
    color: #07182b;
    font-size: 16px;
    cursor: pointer;
  }

  .mobile-drawer-nav {
    display: grid;
    gap: 4px;
    padding: 8px 0 6px;
  }

  .mobile-drawer .mobile-drawer-nav > a,
  .mobile-drawer .mobile-drawer-nav > a:link,
  .mobile-drawer .mobile-drawer-nav > a:visited {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    gap: 11px !important;
    min-height: 58px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #07182b !important;
    -webkit-text-fill-color: #07182b !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .mobile-drawer .mobile-drawer-nav > a:hover,
  .mobile-drawer .mobile-drawer-nav > a:focus-visible {
    background: #f3f6fa !important;
  }
  .mobile-drawer .mobile-drawer-nav > a:focus-visible {
    outline: 3px solid rgba(30, 136, 229, .4) !important;
    outline-offset: 2px !important;
  }

  .mobile-menu-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #edf4fb;
    color: #0e568f;
    font-size: 15px;
  }

  .mobile-drawer-nav a > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .mobile-drawer-nav a strong {
    color: #07182b;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
  }

  .mobile-drawer-nav a small {
    color: #708198;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 600;
  }

  .mobile-menu-arrow {
    color: #8a9aad;
    font-size: 11px;
  }

  .mobile-drawer-access {
    padding: 12px 8px 8px;
    border-top: 1px solid #e8eef5;
  }

  .mobile-access-title {
    display: block;
    margin-bottom: 9px;
    color: #6b7d92;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .mobile-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .mobile-drawer .mobile-access-grid > a,
  .mobile-drawer .mobile-access-grid > a:link,
  .mobile-drawer .mobile-access-grid > a:visited {
    display: flex !important;
    min-width: 0 !important;
    min-height: 66px !important;
    padding: 10px 6px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 1px solid #dfe7f0 !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #173452 !important;
    -webkit-text-fill-color: #173452 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .mobile-access-grid a i { color: #0e568f; font-size: 15px; }
  .mobile-access-grid a span {
    overflow: hidden;
    max-width: 100%;
    color: #173452;
    font-family: 'Sora', sans-serif;
    font-size: 10.5px;
    line-height: 1.15;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-drawer .mobile-trial-cta,
  .mobile-drawer .mobile-trial-cta:link,
  .mobile-drawer .mobile-trial-cta:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 58px !important;
    margin-top: 9px !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #07182b !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .mobile-trial-cta > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .mobile-trial-cta strong {
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
  }

  .mobile-trial-cta small {
    color: rgba(255,255,255,.68);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
  }
}

@media (max-width: 380px) {
  .mobile-drawer { left: 6px !important; right: 6px !important; padding: 8px !important; }
  .mobile-drawer-nav a small { display: none; }
  .mobile-drawer .mobile-drawer-nav > a { min-height: 52px !important; }
  .mobile-access-grid { grid-template-columns: 1fr; }
  .mobile-drawer .mobile-access-grid > a {
    min-height: 46px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    padding: 8px 12px !important;
  }
  .mobile-access-grid a span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-menu-backdrop { transition: none !important; }
}
