
  :root{
    --petrol:#174A4E;
    --petrol-d:#0F3639;
    --petrol-l:#2A666A;
    --sky:#A8D0D6;
    --sky-soft:#D2E6E8;
    --gold:#C49A4A;
    --gold-d:#A87F32;
    --cream:#F8F5EE;
    --cream-2:#F0EBE0;
    --ink:#1E2D2F;
    --ink-soft:#546466;
    --line:#E2DCCE;
    --white:#FFFFFF;
    --radius:16px;
    --radius-lg:24px;
    --shadow-sm:0 4px 16px -8px rgba(23,74,78,0.25);
    --shadow:0 20px 48px -24px rgba(23,74,78,0.35);
    --maxw:1180px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;background:var(--cream);color:var(--ink);
    font-family:'Work Sans',sans-serif;font-size:16px;line-height:1.65;
    -webkit-font-smoothing:antialiased;overflow-x:hidden;
  }
  h1,h2,h3,h4{font-family:'Lora',serif;font-weight:600;color:var(--petrol);margin:0;line-height:1.15;letter-spacing:-0.01em;}
  p{margin:0;}
  a{color:inherit;text-decoration:none;}
  img,svg{display:block;max-width:100%;}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 26px;}
  section{padding:92px 0;}

  .eyebrow{
    display:inline-flex;align-items:center;gap:9px;
    font-size:0.76rem;letter-spacing:0.16em;text-transform:uppercase;
    color:var(--gold-d);font-weight:700;font-family:'Work Sans',sans-serif;
  }
  .eyebrow::before{content:"";width:22px;height:2px;background:var(--gold);border-radius:2px;}

  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    padding:14px 28px;border-radius:999px;font-weight:600;font-size:0.95rem;
    font-family:'Work Sans',sans-serif;cursor:pointer;border:1.5px solid transparent;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
    white-space:nowrap;
  }
  .btn svg{width:18px;height:18px;}
  .btn-primary{background:var(--petrol);color:var(--white);}
  .btn-primary:hover{background:var(--petrol-d);transform:translateY(-2px);box-shadow:var(--shadow);}
  .btn-gold{background:var(--gold);color:var(--petrol-d);}
  .btn-gold:hover{background:var(--gold-d);color:var(--white);transform:translateY(-2px);box-shadow:var(--shadow);}
  .btn-ghost{background:transparent;color:var(--petrol);border-color:var(--petrol);}
  .btn-ghost:hover{background:var(--petrol);color:var(--white);}
  .btn-wa{background:#25D366;color:var(--white);}
  .btn-wa:hover{background:#1EBE5A;transform:translateY(-2px);box-shadow:var(--shadow);}

  .section-head{max-width:660px;margin:0 auto 56px;text-align:center;}
  .section-head.left{margin-left:0;text-align:left;}
  .section-head h2{font-size:clamp(1.9rem,3.4vw,2.6rem);margin-top:14px;}
  .section-head p{color:var(--ink-soft);margin-top:16px;font-size:1.05rem;}
  .alt{background:var(--cream-2);}
  .dark{background:var(--petrol);}
  .dark h2,.dark h3,.dark h4{color:var(--white);}
  .dark p{color:var(--sky-soft);}

  /* ---------- HEADER ---------- */
  header{position:sticky;top:0;z-index:60;background:rgba(248,245,238,0.88);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);}
  .nav{display:flex;align-items:center;padding:14px 0;gap:36px;}
  .brand-logo{height:46px;width:46px;object-fit:cover;border-radius:12px;box-shadow:var(--shadow-sm);}
  .nav-links{display:flex;align-items:center;gap:28px;}
  .nav-links a{font-size:0.92rem;font-weight:500;color:var(--ink-soft);transition:color .15s;}
  .nav-links a:hover{color:var(--petrol);}
  .nav-cta{display:flex;align-items:center;gap:12px;margin-left:auto;}
  .menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
  .menu-toggle svg{width:26px;height:26px;}
  @media (max-width:980px){
    .nav-links{
      position:fixed;inset:0 0 0 auto;top:73px;width:80%;max-width:330px;height:calc(100vh - 73px);
      background:var(--white);flex-direction:column;align-items:flex-start;padding:32px 28px;gap:22px;
      border-left:1px solid var(--line);transform:translateX(100%);transition:transform .28s ease;overflow-y:auto;
    }
    .nav-links.open{transform:translateX(0);}
    .menu-toggle{display:block;}
  }

  /* ---------- BRAND BANNER ---------- */
  .brand-banner{position:relative;padding:0;overflow:hidden;}
  .brand-banner-img{width:100%;display:block;height:auto;}
  .brand-banner::after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:38%;pointer-events:none;
    background:linear-gradient(to bottom, rgba(248,245,238,0) 0%, var(--cream) 92%);
  }

  /* ---------- HERO ---------- */
  .hero{position:relative;background:var(--cream);padding:96px 0 84px;overflow:hidden;}
  .hero .wrap{display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center;}
  .hero h1{font-size:clamp(2.4rem,4.6vw,3.7rem);margin:20px 0 20px;}
  .hero h1 em{font-style:italic;color:var(--gold-d);font-weight:500;}
  .hero .lead{font-size:1.12rem;color:var(--ink-soft);max-width:500px;margin-bottom:20px;}
  .hero .slogan{font-family:'Lora',serif;font-style:italic;font-size:1.18rem;color:var(--petrol-l);margin-bottom:32px;}
  .hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px;}
  .trust-row{display:flex;gap:24px;flex-wrap:wrap;}
  .trust-item{display:flex;align-items:center;gap:8px;font-size:0.84rem;color:var(--ink-soft);font-weight:600;}
  .trust-item svg{width:18px;height:18px;color:var(--petrol-l);flex-shrink:0;}
  .hero-photo-wrap{position:relative;}
  .hero-photo{border-radius:var(--radius-lg);box-shadow:var(--shadow);width:100%;object-fit:cover;aspect-ratio:3/2.4;}
  .hero-badge{
    position:absolute;bottom:-22px;left:-18px;background:var(--white);border-radius:14px;
    box-shadow:var(--shadow);padding:14px 18px;display:flex;align-items:center;gap:12px;
  }
  .hero-badge .ic{width:42px;height:42px;border-radius:11px;background:var(--sky-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .hero-badge .ic svg{width:22px;height:22px;color:var(--petrol);}
  .hero-badge strong{display:block;font-size:0.92rem;color:var(--petrol);font-family:'Lora',serif;}
  .hero-badge span{display:block;font-size:0.76rem;color:var(--ink-soft);}
  @media (max-width:980px){
    .hero .wrap{grid-template-columns:1fr;gap:52px;}
    .hero-photo-wrap{max-width:460px;margin:0 auto;}
  }

  /* ---------- SOBRE ---------- */
  .sobre .wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
  .sobre-list{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-direction:column;gap:14px;}
  .sobre-list li{display:flex;align-items:flex-start;gap:12px;font-weight:500;color:var(--ink);}
  .sobre-list svg{width:22px;height:22px;color:var(--gold-d);flex-shrink:0;margin-top:2px;}
  .sobre-photo{border-radius:var(--radius-lg);box-shadow:var(--shadow);width:100%;aspect-ratio:4/3;object-fit:cover;}
  @media (max-width:900px){.sobre .wrap{grid-template-columns:1fr;gap:40px;}.sobre-photo-col{order:-1;}}

  /* ---------- ESPECIALIDADES ---------- */
  .esp-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:24px;}
  .esp-grid .esp-card:nth-child(1){grid-column:1/3;}
  .esp-grid .esp-card:nth-child(2){grid-column:3/5;}
  .esp-grid .esp-card:nth-child(3){grid-column:5/7;}
  .esp-grid .esp-card:nth-child(4){grid-column:2/4;}
  .esp-grid .esp-card:nth-child(5){grid-column:4/6;}
  @media (max-width:900px){.esp-grid{grid-template-columns:1fr 1fr;}.esp-grid .esp-card{grid-column:auto;}}
  @media (max-width:560px){.esp-grid{grid-template-columns:1fr;}}
  .esp-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px;transition:transform .18s ease,box-shadow .18s ease;}
  .esp-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
  .esp-ic{width:52px;height:52px;border-radius:13px;background:var(--sky-soft);display:flex;align-items:center;justify-content:center;margin-bottom:20px;}
  .esp-ic svg{width:26px;height:26px;color:var(--petrol);}
  .esp-card h3{font-size:1.18rem;margin-bottom:10px;}
  .esp-card p{color:var(--ink-soft);font-size:0.93rem;}

  /* ---------- PROCESSO (como funciona) ---------- */
  .proc .wrap{display:grid;grid-template-columns:0.85fr 1.15fr;gap:56px;align-items:center;}
  .proc-steps{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
  @media (max-width:620px){.proc-steps{grid-template-columns:1fr;}}
  .proc-step{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px 22px;position:relative;}
  .proc-step .num{font-family:'Lora',serif;font-size:2rem;color:var(--gold);line-height:1;margin-bottom:12px;display:block;}
  .proc-step h4{font-size:1.02rem;color:var(--petrol);margin-bottom:8px;}
  .proc-step p{font-size:0.88rem;color:var(--ink-soft);}
  .proc-cta{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap;}
  @media (max-width:900px){.proc .wrap{grid-template-columns:1fr;gap:36px;}}

  /* ---------- AGENDAR / PAGAR ---------- */
  .agenda-layout{max-width:820px;margin:0 auto;}

  /* caixa branca onde o widget do SmartDoctor é carregado */
  .agenda-widget{
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:34px;box-shadow:var(--shadow);min-height:420px;
  }
  @media (max-width:560px){.agenda-widget{padding:22px;}}
  /* deixa os campos do widget no visual do site */
  .agenda-widget input,.agenda-widget select,.agenda-widget textarea{
    font-family:'Work Sans',sans-serif !important;font-size:0.95rem !important;
    border-radius:10px !important;border:1px solid var(--line) !important;
    padding:12px 14px !important;color:var(--ink) !important;background:var(--white) !important;
    width:100%;
  }
  .agenda-widget input:focus,.agenda-widget select:focus,.agenda-widget textarea:focus{
    outline:none !important;border-color:var(--petrol-l) !important;
    box-shadow:0 0 0 3px rgba(168,208,214,0.4) !important;
  }
  .agenda-widget label{font-family:'Work Sans',sans-serif !important;font-size:0.86rem !important;font-weight:600 !important;color:var(--ink-soft) !important;}
  .agenda-widget button,.agenda-widget input[type="submit"]{
    font-family:'Work Sans',sans-serif !important;font-weight:600 !important;
    background:var(--petrol) !important;color:var(--white) !important;
    border:none !important;border-radius:999px !important;padding:14px 28px !important;cursor:pointer;
    transition:background .18s ease;
  }
  .agenda-widget button:hover,.agenda-widget input[type="submit"]:hover{background:var(--petrol-d) !important;}

  /* ---------- DEPOIMENTOS ---------- */
  .rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  @media (max-width:900px){.rev-grid{grid-template-columns:1fr;}}
  .rev-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:14px;}
  .rev-top{display:flex;align-items:center;gap:12px;}
  .rev-avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:700;font-family:'Lora',serif;font-size:1.1rem;flex-shrink:0;}
  .rev-name{font-weight:700;font-size:0.95rem;color:var(--ink);}
  .rev-date{font-size:0.76rem;color:var(--ink-soft);}
  .rev-stars{color:var(--gold);letter-spacing:2px;font-size:0.95rem;}
  .rev-text{font-size:0.92rem;color:var(--ink-soft);line-height:1.6;}
  .rev-g{margin-left:auto;width:22px;height:22px;flex-shrink:0;}

  /* ---------- FAQ ---------- */
  .faq-list{max-width:820px;margin:0 auto;}
  .faq-item{background:var(--white);border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden;}
  .faq-q{width:100%;display:flex;align-items:center;gap:14px;background:none;border:none;text-align:left;cursor:pointer;padding:20px 22px;font-family:'Work Sans',sans-serif;font-size:0.98rem;font-weight:600;color:var(--petrol);}
  .faq-q .plus{width:24px;height:24px;flex-shrink:0;border-radius:50%;background:var(--sky-soft);color:var(--petrol);display:flex;align-items:center;justify-content:center;font-size:1.1rem;line-height:1;transition:transform .2s ease;}
  .faq-item.open .faq-q .plus{transform:rotate(45deg);background:var(--gold);color:var(--white);}
  .faq-a{max-height:0;overflow:hidden;transition:max-height .28s ease;}
  .faq-item.open .faq-a{max-height:480px;}
  .faq-a p{padding:0 22px 22px;color:var(--ink-soft);font-size:0.93rem;}

  /* ---------- BLOG ---------- */
  .blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
  @media (max-width:900px){.blog-grid{grid-template-columns:1fr;max-width:440px;margin:0 auto;}}
  .blog-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease;display:flex;flex-direction:column;}
  .blog-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
  .blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover;}
  .blog-body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1;}
  .blog-tag{align-self:flex-start;font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;font-weight:700;color:var(--gold-d);background:var(--cream-2);padding:4px 10px;border-radius:6px;}
  .blog-card h3{font-size:1.12rem;}
  .blog-card p{font-size:0.88rem;color:var(--ink-soft);flex:1;}
  .blog-more{font-weight:600;font-size:0.82rem;color:var(--petrol);letter-spacing:0.04em;display:inline-flex;align-items:center;gap:6px;}
  .blog-more svg{width:15px;height:15px;}

  /* ---------- CONTATO ---------- */
  .contato .wrap{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;}
  @media (max-width:900px){.contato .wrap{grid-template-columns:1fr;gap:36px;}}
  .contato-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:34px;}
  .contato-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);}
  .contato-row:last-child{border-bottom:none;}
  .contato-row .ic{width:44px;height:44px;border-radius:11px;background:var(--sky-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .contato-row .ic svg{width:20px;height:20px;color:var(--petrol);}
  .contato-row strong{display:block;font-size:0.95rem;color:var(--ink);}
  .contato-row span{display:block;font-size:0.85rem;color:var(--ink-soft);}

  /* ---------- FOOTER ---------- */
  footer{background:var(--petrol-d);color:var(--sky-soft);padding:60px 0 26px;}
  .foot-grid{margin-bottom:44px;text-align:center;}
  .foot-brand{display:flex;flex-direction:column;align-items:center;}
  .foot-brand p{max-width:420px;font-size:0.88rem;color:#9FB8BA;}
  .foot-brand p strong{color:var(--white);font-family:'Lora',serif;font-size:0.98rem;}
  .foot-bottom{border-top:1px solid rgba(255,255,255,0.12);padding-top:22px;display:flex;justify-content:center;flex-wrap:wrap;gap:24px;font-size:0.78rem;color:#7E9799;text-align:center;}

  /* ---------- FLOATING WHATSAPP ---------- */
  .wa-float{position:fixed;bottom:24px;right:24px;z-index:80;width:58px;height:58px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px -6px rgba(37,211,102,0.5);transition:transform .2s ease;}
  .wa-float:hover{transform:scale(1.08);}
  .wa-float svg{width:30px;height:30px;color:#fff;}

/* Nexus Care Elementor integration */
.nexus-care-site { width:100%; }
.nexus-care-site .editable-agenda {
  max-width:760px;margin:0 auto;background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:38px;text-align:center;box-shadow:var(--shadow-sm);
}
.nexus-care-site .editable-agenda p{color:var(--ink-soft);margin:0 auto 22px;max-width:620px;}
.nexus-care-site .blog-placeholder{
  aspect-ratio:16/10;background:var(--cream-2);display:flex;align-items:center;justify-content:center;
  color:var(--ink-soft);font-size:.82rem;
}
.nexus-care-site .hero-bg-custom{background-position:center;background-size:cover;background-repeat:no-repeat;}
.elementor-editor-active .nexus-care-site header{position:relative;top:auto;}


/* =========================================================
   V1.0.2 — CORREÇÕES DE INTEGRAÇÃO / MOBILE
   ========================================================= */

.elementor-widget-nexus_care_site,
.elementor-widget-nexus_care_site > .elementor-widget-container{
  width:100% !important;
  max-width:none !important;
}
.nexus-care-site{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  overflow-x:hidden;
}
.nexus-care-site section[id]{scroll-margin-top:86px;}

.nexus-care-site .btn-primary,
.nexus-care-site .btn-primary:link,
.nexus-care-site .btn-primary:visited,
.nexus-care-site .btn-primary:hover,
.nexus-care-site .btn-primary:focus,
.nexus-care-site .btn-primary:active,
.nexus-care-site .btn-gold,
.nexus-care-site .btn-gold:link,
.nexus-care-site .btn-gold:visited,
.nexus-care-site .btn-gold:hover,
.nexus-care-site .btn-gold:focus,
.nexus-care-site .btn-gold:active,
.nexus-care-site .btn-wa,
.nexus-care-site .btn-wa:link,
.nexus-care-site .btn-wa:visited,
.nexus-care-site .btn-wa:hover,
.nexus-care-site .btn-wa:focus,
.nexus-care-site .btn-wa:active{
  color:#fff !important;
  text-decoration:none !important;
}
.nexus-care-site .btn-gold{background:var(--gold) !important;}
.nexus-care-site .btn-gold:hover,
.nexus-care-site .btn-gold:focus{background:var(--gold-d) !important;}
.nexus-care-site .btn-primary{background:var(--petrol) !important;}
.nexus-care-site .btn-primary:hover,
.nexus-care-site .btn-primary:focus{background:var(--petrol-d) !important;}
.nexus-care-site .btn-wa{background:#25D366 !important;}
.nexus-care-site .btn-wa:hover,
.nexus-care-site .btn-wa:focus{background:#1EBE5A !important;}
.nexus-care-site .btn-wa svg{width:19px;height:19px;fill:currentColor;}

.nexus-care-site .wa-float,
.nexus-care-site .wa-float:link,
.nexus-care-site .wa-float:visited,
.nexus-care-site .wa-float:hover,
.nexus-care-site .wa-float:focus,
.nexus-care-site .wa-float:active{
  color:#fff !important;
  background:#25D366 !important;
  text-decoration:none !important;
}
.nexus-care-site .wa-float svg{fill:#fff !important;color:#fff !important;}

.nexus-care-site button.menu-toggle,
.nexus-care-site button.menu-toggle:hover,
.nexus-care-site button.menu-toggle:focus,
.nexus-care-site button.menu-toggle:active{
  background:transparent !important;
  background-color:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  color:var(--petrol) !important;
}

.nexus-care-site .faq-q,
.nexus-care-site .faq-q:hover,
.nexus-care-site .faq-q:focus,
.nexus-care-site .faq-q:active{
  background:transparent !important;
  background-color:transparent !important;
  color:var(--petrol) !important;
  box-shadow:none !important;
  outline:none !important;
}
.nexus-care-site .faq-q{
  white-space:normal !important;
  min-width:0;
  overflow-wrap:anywhere;
}

.nexus-care-site .contato-row .ic svg{
  width:21px !important;
  height:21px !important;
  stroke:var(--petrol);
  color:var(--petrol);
}
.nexus-care-site .contato-row > div:last-child{
  min-width:0;
}
.nexus-care-site .contato-row span{
  overflow-wrap:anywhere;
  word-break:normal;
}

.nexus-care-site .blog-all{
  display:flex;
  justify-content:center;
  margin-top:36px;
}

.nce-blog-shell{
  min-height:100vh;
  background:var(--cream);
  color:var(--ink);
  font-family:'Work Sans',sans-serif;
}
.nce-blog-shell *{box-sizing:border-box;}
.nce-blog-shell a{text-decoration:none;}
.nce-blog-hero{
  padding:72px 0 54px;
  background:var(--cream-2);
  text-align:center;
}
.nce-blog-hero h1{
  font-size:clamp(2.2rem,4vw,3.4rem);
  margin-top:14px;
}
.nce-blog-hero p{
  max-width:680px;
  margin:16px auto 0;
  color:var(--ink-soft);
}
.nce-blog-main{padding:72px 0 92px;}
.nce-blog-main .blog-grid{margin-bottom:42px;}
.nce-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.nce-pagination .page-numbers{
  min-width:42px;height:42px;padding:0 12px;
  border:1px solid var(--line);border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--petrol);background:#fff;font-weight:600;
}
.nce-pagination .page-numbers.current{
  background:var(--petrol);color:#fff;border-color:var(--petrol);
}
.nce-post-wrap{max-width:850px;margin:0 auto;}
.nce-post-head{text-align:center;margin-bottom:36px;}
.nce-post-head .blog-tag{display:inline-flex;margin-bottom:18px;}
.nce-post-head h1{font-size:clamp(2.1rem,4vw,3.5rem);}
.nce-post-meta{margin-top:14px;color:var(--ink-soft);font-size:.9rem;}
.nce-post-cover{
  width:100%;border-radius:var(--radius-lg);
  margin:0 0 42px;box-shadow:var(--shadow-sm);
}
.nce-post-content{
  font-size:1.05rem;line-height:1.8;color:var(--ink);
}
.nce-post-content h2,
.nce-post-content h3,
.nce-post-content h4{margin:1.7em 0 .7em;}
.nce-post-content p,
.nce-post-content ul,
.nce-post-content ol,
.nce-post-content blockquote{margin:0 0 1.25em;}
.nce-post-content img{height:auto;border-radius:12px;}
.nce-post-back{margin-top:44px;}
.nce-site-footer{background:var(--petrol-d);padding:42px 0;color:#9FB8BA;text-align:center;}
.nce-site-footer strong{color:#fff;font-family:'Lora',serif;}
.nce-blog-shell header .nav-links a.current-blog{color:var(--petrol);font-weight:700;}

@media (max-width:980px){
  .nexus-care-site .nav{gap:12px;padding:10px 0;}
  .nexus-care-site .brand-logo{width:40px;height:40px;}
  .nexus-care-site .nav-cta{gap:6px;}
  .nexus-care-site .nav-cta .btn{
    padding:10px 16px !important;
    font-size:.82rem !important;
  }
  .nexus-care-site .menu-toggle{
    width:44px !important;
    height:44px !important;
    padding:8px !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }
  .nexus-care-site .menu-toggle svg{
    width:28px !important;
    height:28px !important;
  }
  .nexus-care-site .hero{
    padding-top:46px !important;
    padding-bottom:66px !important;
  }
}

@media (max-width:560px){
  .nexus-care-site .wrap{
    padding-left:20px !important;
    padding-right:20px !important;
  }
  .nexus-care-site .nav{gap:8px !important;}
  .nexus-care-site .brand-logo{
    width:38px !important;
    height:38px !important;
  }
  .nexus-care-site .nav-cta{gap:4px !important;}
  .nexus-care-site .nav-cta .btn{
    padding:9px 14px !important;
    font-size:.78rem !important;
  }
  .nexus-care-site .menu-toggle{
    width:40px !important;
    height:40px !important;
    padding:6px !important;
  }
  .nexus-care-site .hero{
    padding-top:34px !important;
    padding-bottom:58px !important;
  }
  .nexus-care-site .hero h1{
    font-size:clamp(2.25rem,12vw,3.1rem) !important;
  }

  .nexus-care-site .faq-list{
    width:100% !important;
    max-width:100% !important;
  }
  .nexus-care-site .faq-item{
    width:100% !important;
    max-width:100% !important;
  }
  .nexus-care-site .faq-q{
    width:100% !important;
    max-width:100% !important;
    padding:17px 16px !important;
    gap:11px !important;
    align-items:flex-start !important;
    line-height:1.35 !important;
    font-size:.95rem !important;
  }
  .nexus-care-site .faq-q .plus{margin-top:1px;}
  .nexus-care-site .faq-a p{
    padding:0 16px 18px !important;
  }

  .nexus-care-site .contato{
    padding-top:64px !important;
    padding-bottom:64px !important;
  }
  .nexus-care-site .contato .wrap{gap:28px !important;}
  .nexus-care-site .contato-card{
    width:100% !important;
    max-width:100% !important;
    padding:20px 18px !important;
  }
  .nexus-care-site .contato-row{
    gap:12px !important;
    padding:14px 0 !important;
    align-items:flex-start !important;
  }
  .nexus-care-site .contato-row .ic{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
  }
  .nexus-care-site .contato-row strong{font-size:.94rem !important;}
  .nexus-care-site .contato-row span{
    font-size:.82rem !important;
    line-height:1.45 !important;
  }

  .nce-blog-hero{padding:54px 0 40px;}
  .nce-blog-main{padding:54px 0 72px;}
}


/* =========================================================
   V1.0.3 — MENU STICKY TRANSLÚCIDO + FILTROS/BUSCA NO BLOG
   ========================================================= */

/* Restaura o comportamento do cabeçalho do HTML aprovado. */
.nexus-care-site > header,
.nce-blog-shell .nexus-care-site > header{
  position:sticky !important;
  top:0 !important;
  z-index:999 !important;
  background:rgba(248,245,238,.88) !important;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

/* No editor do Elementor, evita comportamento estranho durante a edição. */
.elementor-editor-active .nexus-care-site > header{
  position:relative !important;
  top:auto !important;
}

/* Barra de navegação do Blog */
.nce-blog-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin:0 0 34px;
}
.nce-blog-categories{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.nce-blog-categories a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 15px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--petrol) !important;
  font-size:.84rem;
  font-weight:600;
  transition:.18s ease;
}
.nce-blog-categories a:hover,
.nce-blog-categories a:focus,
.nce-blog-categories a.is-active{
  background:var(--petrol) !important;
  border-color:var(--petrol) !important;
  color:#fff !important;
}

.nce-blog-search{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:min(100%,320px);
}
.nce-blog-search input[type="search"]{
  width:100%;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  padding:9px 16px;
  font-family:'Work Sans',sans-serif;
  color:var(--ink);
  outline:none;
}
.nce-blog-search input[type="search"]:focus{
  border-color:var(--petrol-l);
  box-shadow:0 0 0 3px rgba(42,102,106,.1);
}
.nce-blog-search button{
  min-width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:var(--petrol) !important;
  color:#fff !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}
.nce-blog-search button:hover,
.nce-blog-search button:focus{
  background:var(--petrol-d) !important;
}
.nce-blog-search button svg{
  width:18px;
  height:18px;
  stroke:currentColor;
}

.nce-blog-results-title{
  margin:0 0 24px;
  font-family:'Lora',serif;
  font-size:1.15rem;
  color:var(--petrol);
}

@media (max-width:700px){
  .nce-blog-tools{
    align-items:stretch;
  }
  .nce-blog-categories,
  .nce-blog-search{
    width:100%;
  }
  .nce-blog-search{
    min-width:0;
  }
}


/* =========================================================
   V1.0.4 — HEADER FIXO COMPATÍVEL COM ELEMENTOR
   ========================================================= */

/* O Elementor pode impedir position:sticky por overflow/transform
   em containers ancestrais. Para reproduzir o comportamento visual
   do HTML aprovado, o cabeçalho passa a ser fixed no front-end. */
.nexus-care-site > header,
.nce-blog-shell .nexus-care-site > header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:9999 !important;
  background:rgba(248,245,238,.88) !important;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

/* Compensa a altura do menu fixo para o conteúdo não ficar escondido. */
.nexus-care-site{
  padding-top:74px;
}

/* Blog/Post usam o mesmo espaçamento. */
.nce-blog-shell .nexus-care-site{
  padding-top:74px;
}

/* No editor do Elementor o cabeçalho volta a participar do fluxo normal. */
.elementor-editor-active .nexus-care-site{
  padding-top:0 !important;
}
.elementor-editor-active .nexus-care-site > header{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
}

/* Âncoras consideram a altura do cabeçalho fixo. */
.nexus-care-site section[id]{
  scroll-margin-top:88px !important;
}

@media (max-width:980px){
  .nexus-care-site,
  .nce-blog-shell .nexus-care-site{
    padding-top:64px;
  }
  .nexus-care-site section[id]{
    scroll-margin-top:76px !important;
  }
}

@media (max-width:560px){
  .nexus-care-site,
  .nce-blog-shell .nexus-care-site{
    padding-top:58px;
  }
  .nexus-care-site section[id]{
    scroll-margin-top:70px !important;
  }
}


/* =========================================================
   V1.0.5 — CORPO CLÍNICO, CARROSSEL, LEGAIS E AJUSTES
   ========================================================= */

/* Banner: mostra a imagem integral e reduz o esmaecimento inferior. */
.nexus-care-site .brand-banner{
  background:var(--cream);
}
.nexus-care-site .brand-banner-img{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
}
.nexus-care-site .brand-banner::after{
  height:20% !important;
  background:linear-gradient(
    to bottom,
    rgba(248,245,238,0) 0%,
    rgba(248,245,238,.72) 100%
  ) !important;
}

/* Depoimentos: carrossel horizontal infinito. */
.nexus-care-site .rev{
  overflow:hidden;
}
.nexus-care-site .rev-grid[data-nce-carousel="true"]{
  display:flex !important;
  grid-template-columns:none !important;
  gap:22px !important;
  overflow-x:hidden;
  overflow-y:visible;
  scroll-behavior:auto;
  scrollbar-width:none;
  width:100%;
}
.nexus-care-site .rev-grid[data-nce-carousel="true"]::-webkit-scrollbar{
  display:none;
}
.nexus-care-site .rev-grid[data-nce-carousel="true"] .rev-card{
  flex:0 0 360px;
  min-width:0;
}

/* Links legais no rodapé. */
.nce-legal-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin:24px 0 18px;
}
.nce-legal-links a,
.nce-legal-links a:visited{
  color:inherit !important;
  font-size:.82rem;
  text-decoration:none;
  opacity:.9;
}
.nce-legal-links a:hover,
.nce-legal-links a:focus{
  color:var(--gold) !important;
  opacity:1;
}

/* Corpo Clínico */
.nce-clinical-main{
  padding:76px 0 92px;
  background:var(--cream);
}
.nce-specialty-section{
  padding:0 0 76px;
}
.nce-specialty-section:last-child{
  padding-bottom:0;
}
.nce-specialty-head{
  max-width:760px;
  margin-bottom:30px;
}
.nce-specialty-head h2{
  font-size:clamp(1.8rem,3vw,2.4rem);
  margin-top:12px;
}
.nce-specialty-head p{
  margin-top:12px;
  color:var(--ink-soft);
}
.nce-doctor-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
.nce-doctor-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.nce-doctor-photo{
  aspect-ratio:4/3;
  background:var(--cream-2);
}
.nce-doctor-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.nce-doctor-placeholder{
  width:100%;
  height:100%;
  min-height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  color:var(--ink-soft);
}
.nce-doctor-body{
  padding:24px;
}
.nce-doctor-body h3{
  font-size:1.3rem;
  margin:0;
}
.nce-doctor-crm{
  margin-top:8px;
  color:var(--gold-d);
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.nce-doctor-bio,
.nce-doctor-body p{
  margin-top:14px;
  color:var(--ink-soft);
  font-size:.92rem;
  line-height:1.65;
}

/* Páginas legais */
.nce-legal-main{
  padding:78px 0 92px;
  background:var(--cream);
}
.nce-legal-wrap{
  max-width:900px;
}
.nce-legal-head{
  margin-bottom:36px;
}
.nce-legal-head h1{
  font-size:clamp(2.1rem,4vw,3.3rem);
  margin-top:14px;
}

/* Rodapé: acomoda CNPJ sem apertar o layout. */
.nexus-care-site .foot-bottom{
  gap:12px 24px;
  flex-wrap:wrap;
}

/* Menu mais longo: reduz levemente os gaps em desktop. */
@media (min-width:981px){
  .nexus-care-site .nav{
    gap:24px;
  }
  .nexus-care-site .nav-links{
    gap:18px;
  }
  .nexus-care-site .nav-links a{
    font-size:.84rem;
  }
}

@media (max-width:900px){
  .nce-doctor-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:560px){
  .nexus-care-site .rev-grid[data-nce-carousel="true"] .rev-card{
    flex-basis:calc(100vw - 52px);
  }
  .nce-doctor-grid{
    grid-template-columns:1fr;
  }
  .nce-clinical-main,
  .nce-legal-main{
    padding-top:58px;
    padding-bottom:72px;
  }
}


/* =========================================================
   V1.0.6 — ÂNCORAS + CARROSSEL DE DEPOIMENTOS
   ========================================================= */

.nce-reviews-carousel{
  position:relative;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  gap:14px;
  align-items:center;
  width:100%;
}

.nce-reviews-viewport{
  overflow:hidden;
  min-width:0;
}

.nexus-care-site .rev-grid[data-nce-carousel="true"]{
  display:flex !important;
  gap:22px !important;
  width:auto !important;
  overflow:visible !important;
  scroll-behavior:auto !important;
  will-change:transform;
}

.nexus-care-site .rev-grid[data-nce-carousel="true"] .rev-card{
  flex:0 0 calc((100% - 44px) / 3);
  width:calc((100% - 44px) / 3);
  min-width:0;
}

.nce-carousel-arrow{
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid var(--line) !important;
  background:#fff !important;
  color:var(--petrol) !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0 !important;
  box-shadow:var(--shadow-sm);
  transition:background .18s ease,color .18s ease,border-color .18s ease;
  z-index:3;
}

.nce-carousel-arrow:hover,
.nce-carousel-arrow:focus{
  background:var(--petrol) !important;
  border-color:var(--petrol) !important;
  color:#fff !important;
}

.nce-carousel-arrow svg{
  width:20px;
  height:20px;
}

@media (max-width:900px){
  .nce-reviews-carousel{
    grid-template-columns:42px minmax(0,1fr) 42px;
    gap:8px;
  }

  .nce-carousel-arrow{
    width:40px;
    height:40px;
  }

  .nexus-care-site .rev-grid[data-nce-carousel="true"] .rev-card{
    flex:0 0 100%;
    width:100%;
  }
}

@media (max-width:560px){
  .nce-reviews-carousel{
    grid-template-columns:36px minmax(0,1fr) 36px;
    gap:6px;
  }

  .nce-carousel-arrow{
    width:36px;
    height:36px;
  }

  .nce-carousel-arrow svg{
    width:17px;
    height:17px;
  }
}
