
/* ===== CSS DINÂMICO ===== */
/* =========================
   ROBOTO – LOCAL (CLS SAFE)
========================= */
@font-face{
  font-family:"Roboto";
  src:url("../fonts/roboto-v47-latin-regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Roboto";
  src:url("../fonts/roboto-v47-latin-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

/* Bindings oficiais */
.fa-solid,.fas{ font-family:"Font Awesome 6 Free"; font-weight:900; }
.fa-brands,.fab{ font-family:"Font Awesome 6 Brands"; font-weight:400; }
.fab {
    display: inline-block;
    width: 18px; 
    height: 18px;
}
/* =========================
   VARIÁVEIS DO SISTEMA
========================= */
:root{
  --font-base:"Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head:var(--font-base);
}

/* =========================
   APLICAÇÃO GLOBAL
========================= */
html,body{
  font-family:var(--font-base);
  font-optical-sizing:auto;
  font-synthesis-weight:none;
  font-synthesis-style:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* =========================
   TÍTULOS
========================= */
h1,h2,h3,h4,h5,h6{ font-family:var(--font-head); font-weight:600; }

/* =========================
   COMPONENTES PRINCIPAIS
========================= */
.vsec,
.vhero,
.mdl-hero3,
.mdl-hero-vxrp,
.gridcards-rodape,
.card-rodape,
.mdl-hero3__title,
.mdl-hero3__text,
.ve-editor{ font-family:var(--font-base); }

/* =====================================================
   TEXTO EM NEGRITO
===================================================== */
strong,b{ font-weight:600; }

/* =====================================================
   UTILITÁRIOS
===================================================== */

/* FUNDO (CORES TRANSLÚCIDAS) */
.bg-verde{ background-color:rgba(63,255,164,.15); }
.bg-azul{ background-color:rgba(0,123,255,.15); }
.bg-vermelho{ background-color:rgba(220,53,69,.15); }
.bg-cinza{ background-color:rgba(108,117,125,.15); }
.bg-preto{ background-color:rgba(0,0,0,.3); }

/* TIPOGRAFIA */
.titulo--xs{ font-size:1.25rem; }
.titulo--sm{ font-size:1.5rem; }
.titulo--md{ font-size:2rem; }
.titulo--lg{ font-size:2.5rem; }
.titulo--xl{ font-size:3rem; }
.sub--xs{ font-size:.9rem; }
.sub--sm{ font-size:1rem; }
.sub--md{ font-size:1.125rem; }
.sub--lg{ font-size:1.25rem; }

.bold{ font-weight:700; }
.medium{ font-weight:600; }
.muted{ opacity:.7; }
.brand{ color:var(--brand,#2f855a); }

.mt-0{ margin-top:0 !important; }
.mb-0{ margin-bottom:0 !important; }
.mt-1{ margin-top:.25rem !important; }
.mb-1{ margin-bottom:.25rem !important; }
.mt-2{ margin-top:.5rem !important; }
.mb-2{ margin-bottom:.5rem !important; }

/* =====================================================
   SEÇÕES GENÉRICAS (VSEC)
===================================================== */
.vsec{ position:relative; background:transparent; }
.vsec__inner{ max-width:var(--vsec-max); margin:0 auto; padding:var(--vsec-pad); }
.vgrid{
  display:grid;
  gap:var(--vsec-gap,.6rem);
  grid-template-columns:repeat(var(--vgrid-cols,1), minmax(0,1fr));
}
@media (max-width:992px){
  .vgrid{ grid-template-columns:1fr !important; }
}
.vsec + .vsec{ margin-top:calc(var(--vsec-gap,.6rem) * 1.5); }

/* AGRUPAMENTO DE SEÇÕES HERO */
.vsec[class*="mdl-hero"]{ margin:0; display:flow-root; }
.vsec[class*="mdl-hero"] + .vsec[class*="mdl-hero"]{ margin-top:0; }
.vsec[class*="mdl-hero"] > :first-child{ margin-top:0; }
.vsec[class*="mdl-hero"] > :last-child{ margin-bottom:0; }

/* ====================================================================
   SEÇÃO HOME (HERO SECTION)
==================================================================== */
.container-home{
  --home-font:var(--brand-font,"Epunda Slab",serif);
  --home-text:var(--brand-text,#fff);
  --home-title:var(--brand-title,#b49e48);
  --home-subtitle:var(--brand-subtitle,#000);

  --home-bg-img:var(--brand-bg-img, url('../images/bg-clinica-viva.webp'));
  --home-tint:var(--brand-tint, rgba(255,255,255,.6));

  --home-pad-x:var(--brand-pad-x, clamp(16px,3vw,32px));
  --home-pad-y:var(--brand-pad-y, clamp(12px,2.5vw,32px));
  --home-gap:var(--brand-gap, clamp(12px,3vw,32px));
  --home-flow-gap:var(--brand-flow-gap, var(--home-gap));

  --home-title-size:var(--brand-title-size, clamp(1.6rem,2.4vw + 1rem,3.6rem));
  --home-subtitle-size:var(--brand-subtitle-size, clamp(1rem,1.2vw + .6rem,2rem));

  --home-cta-bg:var(--brand-cta-bg,#25D366);
  --home-cta-text:var(--brand-cta-text,#fff);
  --home-cta-hover:var(--brand-cta-hover,#1ebe57);
  --home-cta-size:var(--brand-cta-size, clamp(.9rem,.6vw + .7rem,1.2rem));
  --home-cta-pad-y:var(--brand-cta-pad-y, clamp(8px,1.2vw,12px));
  --home-cta-pad-x:var(--brand-cta-pad-x, clamp(14px,2vw,20px));
  --home-radius:var(--brand-radius,8px);

  --home-img-max-w:min(100%,900px);
  --home-img-max-h:min(90vh,100%);
  --home-img-pos:bottom right;

  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  min-height:100dvh;
  background:var(--home-bg-img) no-repeat center/cover;
  position:relative;
  color:var(--home-text);
  padding:var(--home-pad-y) var(--home-pad-x);
  padding-bottom:0;
  gap:var(--home-gap);
  font-family:var(--home-font);
  font-weight:400;
  line-height:1.5;
  overflow-x:clip;
}

.container-home::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--home-tint);
  z-index:0;
  pointer-events:none;
}

.logo-home{
  position:absolute;
  top:var(--home-pad-y,24px);
  left:var(--home-pad-x,24px);
  z-index:2;
}
.logo-home img{
  display:block;
  max-width:min(var(--logo-max-w,280px),55vw);
  height:auto;
}

.col-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
  z-index:1;
  gap:var(--home-flow-gap);
  min-width:0;
  box-sizing:border-box;
}
.col-right{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-end;
  height:100%;
  z-index:1;
  min-width:0;
  box-sizing:border-box;
}

.col-right img{
  display:block;
  margin:0;
  width:100%;
  max-width:var(--home-img-max-w);
  max-height:var(--home-img-max-h);
  height:auto;
  object-fit:contain;
  object-position:var(--home-img-pos);
}

.title-home{
  color:var(--home-title);
  font-weight:300;
  line-height:1;
  margin:0;
  font-size:var(--home-title-size);
  overflow-wrap:anywhere;
  word-break:break-word;
}
.subtitle-home{
  color:var(--home-subtitle);
  font-weight:400;
  line-height:1.35;
  margin:0;
  font-size:var(--home-subtitle-size);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.btn-home{
  --_bg:var(--home-cta-bg,#111);
  --_text:var(--home-cta-text,#fff);
  --_hover:var(--home-cta-hover,#0f0f0f);
  --_pad-y:var(--home-cta-pad-y,.75rem);
  --_pad-x:var(--home-cta-pad-x,1rem);
  --_radius:var(--home-radius,.75rem);
  --_size:var(--home-cta-size,1rem);

  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:var(--_pad-y) var(--_pad-x);
  background-color:var(--_bg);
  color:var(--_text);
  font-size:var(--_size);
  font-weight:600;
  border-radius:var(--_radius);
  text-decoration:none;
  transition:background .25s ease, transform .08s ease, filter .2s ease, box-shadow .2s ease;
  width:fit-content;

  border:1px solid rgba(0,0,0,.15);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 2px 6px rgba(0,0,0,.25),
    0 8px 24px rgba(0,0,0,.25);

  max-width:100%;
  white-space:normal;
  box-sizing:border-box;
}
.btn-home:hover{ background-color:var(--_hover); filter:saturate(1.05) contrast(1.03); }
.btn-home:active{ transform:translateY(1px); }
.btn-home:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
  box-shadow:
    0 0 0 3px rgba(37,211,102,.6),
    0 2px 6px rgba(0,0,0,.25),
    0 8px 24px rgba(0,0,0,.25);
}
.btn-home[disabled],.btn-home[aria-disabled="true"]{ opacity:.6; pointer-events:none; }
.btn-home i,.btn-home .icon{ font-size:1.1em; line-height:1; }

.btn-home--whats{
  --_bg:var(--btn-whats-bg,#25D366);
  --_text:var(--btn-whats-text,#fff);
  --_hover:var(--btn-whats-hover,#1ebe57);
}
.btn-home--whats .icon-whats{
  width:1.2em; height:1.2em; flex:0 0 auto;
  display:inline-block; vertical-align:-0.12em;
  color:currentColor;
}

/* HOME – BREAKPOINTS */
@media (max-width:1199.98px){
  .container-home{ grid-template-columns:1.05fr .95fr; }
  .col-right img{ max-width:min(100%,720px); }
}
@media (max-width:991.98px){
  .container-home{
    grid-template-columns:1fr;
    min-height:100dvh;
    padding-bottom:var(--home-pad-y);
    overflow:hidden;
  }
  .col-left{
    justify-content:flex-end;
    align-items:center;
    text-align:center;
    min-height:48vh;
    width:100%;
  }
  .col-right{
    justify-content:flex-end;
    align-items:center;
    height:auto;
    width:100%;
  }
  .col-right img{
    object-position:bottom center;
    max-height:50vh;
  }
}
@media (max-width:575.98px){
  .btn-home{ border-radius:max(6px, calc(var(--home-radius) - 2px)); }
  .title-home{ font-size:clamp(1.6rem,7.2vw,2rem); }
  .subtitle-home{ font-size:clamp(.98rem,4.2vw,1.1rem); }
}
@media (max-width:480px){
  .btn-home{ --_size:0.95rem; }
  .btn-home--whats .icon-whats{ width:1.1em; height:1.1em; }
}
@media (min-width:1600px){
  .col-right img{ max-width:min(100%,980px); }
}
@media (min-width:2000px){
  .container-home{ --home-pad-x:4vw; --home-pad-y:3vw; }
  .col-right img{ max-width:46vw; max-height:80vh; }
}
@media (prefers-reduced-motion:reduce){
  .btn-home{ transition:none; }
}

/* HOME – LANDSCAPE MOBILE/TABLET */
@media (max-width:991.98px) and (orientation:landscape){
  .container-home{
    grid-template-columns:1fr 1fr !important;
    grid-template-rows:auto 1fr !important;
    grid-template-areas:
      "logo logo"
      "left right";
    padding-block:clamp(6px,2.2vh,12px);
    row-gap:clamp(8px,2vh,16px);
  }
  .logo-home{
    position:static !important;
    grid-area:logo;
    margin:0 0 clamp(4px,1.6vh,10px) 0;
  }
  .logo-home img{ max-width:min(var(--logo-max-w,200px),32vw); }
  .col-left{
    grid-area:left;
    justify-content:flex-start !important;
    align-items:flex-start !important;
    text-align:left !important;
    min-height:unset !important;
    gap:clamp(8px,1.8vh,14px);
    margin-top:0;
  }
  .title-home{
    margin:0;
    line-height:1.1;
    font-size:clamp(1.25rem,4vw,1.6rem);
  }
  .subtitle-home{ font-size:clamp(.95rem,2.6vw,1.05rem); }
  .btn-home{
    align-self:flex-start;
    --_pad-y:clamp(6px,1.2vh,10px);
  }
  .col-right{ grid-area:right; }
  .col-right img{
    object-fit:contain;
    object-position:center right;
    max-height:42vh;
  }
}
@media (max-width:768px) and (orientation:landscape){
  .logo-home img{ max-width:min(170px,28vw); }
}

/* ====================================================================
   SEÇÃO ESPECIALISTAS
==================================================================== */
.sec-especialistas{
  min-height:100vh;
  width:100%;
  background:#999189;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:2vw;
  box-sizing:border-box;
  color:#fff;

  overflow-x:clip;
  padding-inline:max(2vw, env(safe-area-inset-left,0));
}
.sec-especialistas__inner{
  width:100%;
  max-width:1100px;
  display:grid;
  gap:clamp(12px,2.5vw,28px);
  box-sizing:border-box;
}
.sec-especialistas__inner > *{ min-width:0; }

.sec-especialistas h1{
  font-size:clamp(1.6rem,4.5vw,3rem);
  margin:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.sec-especialistas p{
  font-size:clamp(1rem,2.2vw,1.25rem);
  margin:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.sec-especialistas .btn{
  border:0;
  padding:.75rem 1.2rem;
  border-radius:.6rem;
  background:#fff;
  color:#333;
  cursor:pointer;

  max-width:100%;
  white-space:normal;
  box-sizing:border-box;
}
.sec-especialistas .btn:hover{ filter:brightness(.95); }

.sec-especialistas img,
.sec-especialistas video,
.sec-especialistas iframe,
.sec-especialistas svg{
  display:block;
  max-width:100%;
  height:auto;
}
@media (max-width:767.98px){
  .sec-especialistas{
    min-height:100svh;
    padding:20px;
  }
  .sec-especialistas__inner{
    gap:clamp(10px,4vw,18px);
    text-align:center;
  }
}
@media (prefers-reduced-motion:reduce){
  .sec-especialistas .btn{ transition:none; }
}

/* ====================================================================
   SEÇÃO DESTAQUES (CARDS)
==================================================================== */
:root{
  --dest-cards:3;
  --dest-gap:clamp(.75rem,2vw,1.25rem);
  --dest-pad-x:50px;
  --cards-offset:-100px;

  --brand:#b49e48;
  --dest-bg:#d1ba95;
  --dest-bg-h:220px;

  --card-radius:14px;
  --card-shadow:0 6px 18px rgba(0,0,0,.06);
  --card-pad:clamp(.9rem,1.6vw,1.25rem);
  --icon-size:38px;
  --icon-gap:.5rem;
}

.destaque-container,
.destaque-bg{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
.destaque-bg{
  background:var(--dest-bg);
  height:var(--dest-bg-h);
}
.destaque-container{
  position:relative;
  z-index:1;
  color:#000;
  padding:clamp(1rem,2vw,2rem)
          max(1rem, env(safe-area-inset-left))
          clamp(1rem,2vw,2rem)
          max(1rem, env(safe-area-inset-right));
}

.destaque-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--dest-gap);
  width:100%;
  box-sizing:border-box;
  padding-inline:clamp(16px,4vw,var(--dest-pad-x));
  margin:var(--dest-offset, var(--cards-offset,0)) 0 clamp(1rem,2vw,1.5rem);
  background:transparent !important;
}

.destaque-card{
  background:rgba(255,255,255,.35);
  border:1px solid rgba(0,0,0,.08);
  border-radius:var(--card-radius);
  padding:var(--card-pad);
  box-shadow:var(--card-shadow);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  transition:transform .12s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}
@supports ((-webkit-backdrop-filter:blur(4px)) or (backdrop-filter:blur(4px))){
  .destaque-card{
    backdrop-filter:saturate(120%) blur(4px);
    -webkit-backdrop-filter:saturate(120%) blur(4px);
  }
}
.destaque-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.destaque-card__head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--icon-gap);
  margin-bottom:.5rem;
}
.destaque-card__icon{
  display:inline-flex;
  color:var(--brand);
  opacity:.95;
  line-height:1;
}
.destaque-card__icon svg,
.destaque-card__icon i{
  width:var(--icon-size);
  height:var(--icon-size);
}

.destaque-card__titulo{
  font-size:clamp(1rem,1.4vw,1.25rem);
  font-weight:600;
  color:#000;
  letter-spacing:.2px;
  margin:0;
}
.destaque-card__texto{
  margin:.4rem 0 0;
  color:#333;
  line-height:1.55;
}

.destaque-titulo{
  text-align:center;
  font-size:clamp(1.25rem,2.2vw,1.75rem);
  font-weight:700;
  color:var(--brand);
  margin:0 auto clamp(.5rem,1.4vw,.75rem);
}

@media (min-width:576px){
  .destaque-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (min-width:992px){
  .destaque-grid{ grid-template-columns:repeat(var(--dest-cards,3), minmax(0,1fr)); }
}
@media (max-width:599px){
  .destaque-card{ padding:max(.85rem, var(--card-pad)); }
}
@media (max-width:576px){
  .destaque-grid{ margin-top:0 !important; }
}
@media (prefers-reduced-motion:reduce){ .destaque-card{ transition:none; } }
@media (forced-colors:active){ .destaque-card{ border:1px solid CanvasText; } }

/* ====================================================================
   SEÇÃO CONTATO (FORMULÁRIOS)
==================================================================== */
:root{
  --bg-dark:#00522d;
  --text-light:#fff;
  --text-muted:#ddd;
  --text-dark:#000;
  --primary:#4a90e2;
  --primary-hover:#357ac9;
  --border-dark:#fff;
  --border-light:#ccc;
  --radius:6px;
  --gap:16px;
  --pad:10px;
}

.form-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  padding:20px;
}
.form-container{
  width:100%;
  max-width:700px;
  padding:25px 30px;
  border-radius:8px;
  background:transparent;
  color:var(--text-light);
}

.form-container form{ display:block; }
.form-container label{
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
}
.form-container :is(input,select,textarea){
  width:100%;
  box-sizing:border-box;
  padding:var(--pad);
  font-size:14px;
  background:var(--bg-dark);
  color:var(--text-light);
  border:1px solid var(--border-dark);
  border-radius:5px;
  appearance:none;
}
.form-container input[type="file"]{ padding:6px; }
.form-container select option{ background:var(--bg-dark); color:var(--text-light); }
.form-container :is(input,textarea)::placeholder{ color:var(--text-muted); }

.form-container input[type="date"]{
  width:100%;
  padding:var(--pad);
  border-radius:5px;
  border:1px solid var(--border-dark);
  background:var(--bg-dark);
  color:var(--text-light);
  min-height:44px;
  line-height:1.2;
  box-sizing:border-box;
  appearance:none;
}
.form-container input[type="date"]::-webkit-calendar-picker-indicator{ filter:invert(1) opacity(.85); cursor:pointer; }
.form-container input[type="date"]::-webkit-datetime-edit{ color:var(--text-light); }
.form-container input[type="date"]:focus{ outline:2px solid var(--primary); outline-offset:2px; }

.form-container button{
  width:100%;
  padding:12px;
  border:0;
  border-radius:var(--radius);
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  color:#fff;
  background:var(--primary);
  transition:background .3s ease;
}
.form-container button:hover{ background:var(--primary-hover); }

.form-container :is(input,select,textarea,button):focus{ outline:2px solid var(--primary); outline-offset:2px; }

.projeto-container.projeto-invertido{
  display:grid;
  grid-template-columns:minmax(320px,1fr) minmax(320px,1fr);
  gap:30px;
  align-items:start;
}

.col-esquerda-contato,
.col-direita-contato{
  display:flex;
  justify-content:center;
  align-items:center;
}
.col-direita-contato p{
  color:#00522d;
  text-align:left;
  margin:0 0 10px 0;
}
.col-esquerda-contato{
  flex:1;
  min-height:100vh;
  background:transparent;
}
.col-direita-contato{
  flex:1;
  max-width:600px;
  background:transparent;
  padding:20px;
  margin:40px 25px;
  border-radius:8px;
  flex-direction:column;
  align-items:flex-start;
}

.col-esquerda-contato .formulario2{
  display:grid !important;
  grid-template-columns:1fr 1fr;
  gap:var(--gap);
}
.col-esquerda-contato .formulario2 .col-span-2{ grid-column:1 / -1; }

.formulario2 :is(input, select, textarea)::placeholder{
  background:#fff !important;
  color:var(--text-dark) !important;
  border:1px solid var(--border-light);
  font-size:1rem;
  border-radius:4px;
}

.titulo-form{
  text-align:center;
  margin-bottom:20px;
  color:var(--text-dark);
}
.col-info{
  color:var(--text-light);
  font-size:1rem;
  line-height:1.6;
}

.btn-area{ text-align:center; }
.btn-area button{
  width:150px;
  min-width:140px;
  padding:12px 24px;
  background-color:#00522d;
}

@media (max-width:1024px){
  .projeto-container.projeto-invertido{
    grid-template-columns:1fr !important;
    min-height:100svh;
  }
  .col-direita-contato{
    margin:20px 16px;
    max-width:720px;
    box-sizing:border-box;
    height:calc(100svh - 40px);
  }
  .col-esquerda-contato .formulario2{
    grid-template-columns:1fr !important;
    gap:14px;
  }
  .col-esquerda-contato .formulario2 .col-span-2{ grid-column:auto !important; }
}
@media (max-width:480px){
  .col-direita-contato{
    margin:0;
    padding:16px;
    min-height:100svh;
  }
  .col-esquerda-contato .formulario2{ gap:12px; }
}

/* ORÇAMENTO */
.form-orcamento-wrapper{
  width:100%;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px 20px;
  background-size:cover;
  background-position:center;
}
.form-orcamento-container{
  width:100%;
  max-width:800px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--gap);
  background:transparent;
}
.form-orcamento-container .linha-cheia{ grid-column:1 / -1; }
.form-orcamento-container .btn-area{ text-align:center; }

@media (max-width:1024px){
  .form-orcamento-container{ grid-template-columns:1fr; }
  .form-orcamento-container .linha-cheia{ grid-column:auto; }
}
@media (max-width:768px){
  .form-orcamento-wrapper{ padding:30px 15px; }
  .form-orcamento-container{ gap:14px; }
}
@media (max-width:480px){
  .form-orcamento-wrapper{ padding:20px 10px; }
  .form-orcamento-container{ gap:12px; }
  .form-orcamento-container button{ padding:10px; font-size:14px; }
}

/* NEWSLETTER */
.form-newsletter{
  width:100%;
  padding:40px 20px;
  text-align:center;
}
.form-newsletter .inner{
  max-width:960px;
  margin:0 auto;
}
.form-newsletter .fn-title{
  margin:0 0 20px 0;
  font-weight:800;
  color:#00522d;
  font-size:clamp(1.4rem,3vw,2rem);
  letter-spacing:.02em;
}
.form-newsletter .fn-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  align-items:center;
}
.form-newsletter input[type="text"],
.form-newsletter input[type="email"]{
  flex:1 1 260px;
  max-width:320px;
  padding:14px;
  border-radius:6px;
  border:1px solid var(--border-dark);
  background:var(--bg-dark);
  color:var(--text-light);
}
.form-newsletter input[type="date"]{
  flex:1 1 260px;
  max-width:320px;
  width:100%;
  padding:14px;
  border-radius:6px;
  border:1px solid var(--border-dark);
  background:var(--bg-dark);
  color:var(--text-light);
  box-sizing:border-box;
  min-height:44px;
  line-height:1.2;
}
.form-newsletter input[type="date"]::-webkit-calendar-picker-indicator{ filter:invert(1) opacity(.85); cursor:pointer; }
.form-newsletter input[type="date"]::-webkit-datetime-edit{ color:var(--text-light); }
.form-newsletter input[type="date"]:focus{ outline:2px solid var(--primary); outline-offset:2px; }
.form-newsletter input::placeholder{ color:var(--text-muted); }
.form-newsletter .fn-btn{
  flex:0 0 auto;
  padding:14px 28px;
  border:0;
  border-radius:6px;
  cursor:pointer;
  font-weight:800;
  color:#fff;
  background:#0fb766;
  transition:filter .2s ease;
}
.form-newsletter .fn-btn:hover{ filter:brightness(.92); }

@media (max-width:640px){
  .form-newsletter .fn-row{ flex-direction:column; gap:10px; }
  .form-newsletter input[type="text"],
  .form-newsletter input[type="email"],
  .form-newsletter .fn-btn{
    width:100%;
    max-width:300px;
    flex:none;
    margin:0 auto;
  }
}

/* HONEYPOT E CAPTCHA */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px;
  height:1px;
  overflow:hidden;
}
.captcha-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  margin:12px 0;
  flex-wrap:nowrap;
}
.captcha-wrap label{
  font-size:1rem;
  font-weight:600;
  white-space:nowrap;
}
.captcha-input{
  width:100px;
  height:40px;
  padding:0 8px;
  font-size:1rem;
  font-weight:bold;
  text-align:center;
  border:1px solid #444;
  border-radius:6px;
}
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.captcha-input{ -moz-appearance:textfield; }
.formulario2 .btn-area{ margin-top:10px; }
#captchaWrap.invalid{ outline:2px solid #dc3545; outline-offset:4px; border-radius:6px; }

@media (max-width:480px){
  .captcha-wrap{ flex-wrap:wrap; gap:8px; }
  .captcha-input{ width:160px; }
}

/* OVERRIDE: OBSERVAÇÕES */
#observacoes + small,
#observacoes + .char-counter,
textarea[maxlength] + .char-counter,
textarea[maxlength] + .textarea-length,
textarea[maxlength] + .textarea-counter,
textarea[maxlength] + small{ display:none !important; }

/* FORM: #contatoForm */
#contatoForm.formulario2{ display:block !important; grid-template-columns:none !important; gap:0 !important; }
#contatoForm{ --gap:12px; --radius:6px; --border:#ccc; --bg:#fff; --fg:#000; }
#contatoForm .grid{ display:grid; grid-template-columns:1fr; gap:var(--gap); }
@media (min-width:768px){
  #contatoForm .grid{ grid-template-columns:1fr 1fr; }
}
#contatoForm .span-2{ grid-column:1 / -1; }
#contatoForm input,#contatoForm select,#contatoForm textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--fg);
  border-radius:var(--radius);
  padding:10px;
  font-size:1rem;
}
#contatoForm .actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap);
  flex-wrap:wrap;
}
#contatoForm .captcha{ flex:0 0 auto; min-width:302px; }
#contatoForm .btn-send{
  flex:0 0 auto;
  padding:12px 24px;
  border:0;
  border-radius:var(--radius);
  background:#2f6edc;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
#contatoForm .btn-send:hover{ filter:brightness(.95); }
#contatoForm .hp-field{
  position:absolute !important;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  opacity:0;
  pointer-events:none;
}

/* ====================================================================
   RODAPÉ (FOOTER)
==================================================================== */
.footer-info{
  margin:20px 0;
  text-align:center;
  font-size:.9rem;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:center;
}
.footer-info .copy{ margin:0; font-weight:600; }

.recaptcha-note{
  font-size:.8rem;
  line-height:1.4;
  color:#fff;
  max-width:600px;
}
.recaptcha-note a{ color:#fff; text-decoration:underline; }

.footer-cols{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:20px;
  max-width:1000px;
  margin:0 auto;
}
.footer-cols .col-left{
  text-align:left;
  font-size:.8rem;
  line-height:1.4;
  color:#064e3b;
}
.footer-cols .col-left a{ color:#064e3b; text-decoration:underline; }
.footer-cols .col-right{ text-align:right; }

.btn-websim{
  display:inline-block;
  background-color:#3ffaa4;
  color:#fff;
  padding:8px 14px;
  border-radius:6px;
  font-weight:bold;
  text-decoration:none;
  font-size:.85rem;
  transition:background-color .2s ease;
}
.btn-websim:hover{ background-color:#49d192; }

@media (max-width:768px){
  .footer-cols{ grid-template-columns:1fr; text-align:center; }
  .footer-cols .col-left,
  .footer-cols .col-right{ text-align:center; }
}
/* ====================================================================
   HERO SECTIONS (MODELOS GENÉRICOS) — SEM HERO 4
==================================================================== */
.vsec[class*="mdl-hero"],
.mdl-hero2,
.mdl-hero3,
.mdl-hero5{
  overflow-x: clip;
}

/* GRID */
.mdl-hero2 .mdl-hero2__grid,
.mdl-hero3 .mdl-hero3__grid{
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* COLS */
.mdl-hero2 .mdl-hero2__col,
.mdl-hero3 .mdl-hero3__col{
  min-width: 0;
  box-sizing: border-box;
}

/* INNER */
.mdl-hero2 .mdl-hero2__inner,
.mdl-hero3 .mdl-hero3__inner,
.mdl-hero5__inner{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* MÍDIAS */
.mdl-hero2 .mdl-hero2__logo,
.mdl-hero2 .mdl-hero2__inner > img,
.mdl-hero3 img,
.mdl-hero5 img,
.mdl-hero2 svg,
.mdl-hero3 svg,
.mdl-hero5 svg,
.mdl-hero2 iframe,
.mdl-hero3 iframe,
.mdl-hero5 iframe{
  display: block;
  max-width: 100%;
  height: auto;
}

/* TIPOGRAFIA (QUEBRA) */
.mdl-hero2 .mdl-hero2__title,
.mdl-hero2 .mdl-hero2__text,
.mdl-hero3 .mdl-hero3__title,
.mdl-hero3 .mdl-hero3__text,
.mdl-hero5__title,
.mdl-hero5__subtitle{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* LINKS/BOTÕES */
.mdl-hero2 .mdl-hero2__btn,
.mdl-hero3 a,
.mdl-hero5 a{
  max-width: 100%;
  white-space: normal;
  box-sizing: border-box;
}

/* COLUNAS COM BG */
.mdl-hero2 .mdl-hero2__col--right,
.mdl-hero3 .mdl-hero3__col--left{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* MOBILE */
@media (max-width: 767.98px){
  .mdl-hero2 .mdl-hero2__grid,
  .mdl-hero3 .mdl-hero3__grid{
    grid-template-columns: 1fr !important;
    overflow: hidden;
  }

  .mdl-hero2 .mdl-hero2__col,
  .mdl-hero3 .mdl-hero3__col{
    width: 100%;
    min-height: auto;
  }

  .mdl-hero2 .mdl-hero2__col--right{ min-height: 52vh; }
  .mdl-hero3 .mdl-hero3__col--left{ min-height: 44vh; }

  .mdl-hero2 .mdl-hero2__inner,
  .mdl-hero3 .mdl-hero3__inner,
  .mdl-hero5__inner{
    text-align: center;
  }
}

@media (max-width: 480px){
  .mdl-hero2 .mdl-hero2__title,
  .mdl-hero3 .mdl-hero3__title,
  .mdl-hero5__title{
    font-size: clamp(1.55rem, 7.5vw, 1.9rem);
  }

  .mdl-hero2 .mdl-hero2__text,
  .mdl-hero3 .mdl-hero3__text,
  .mdl-hero5__subtitle{
    font-size: .98rem;
  }
}
/* ====================================================================
   HERO 4 — BASE (estrutura/normalize)  ✅ sem duplicar regra
==================================================================== */
.mdl-hero4{
  overflow-x: clip;
}

.mdl-hero4 .mdl-hero4__grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:0;
}

/* colunas e inner */
.mdl-hero4 .mdl-hero4__col{
  min-width:0;
  box-sizing:border-box;
}

.mdl-hero4 .mdl-hero4__inner{
  width:100%;
  margin:0 auto;
  box-sizing:border-box;
}

/* mídia base */
.mdl-hero4 :is(img, svg, iframe){
  display:block;
  max-width:100%;
  height:auto;
}

/* tipografia base */
.mdl-hero4 :is(.mdl-hero4__title, .mdl-hero4__text){
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* links base */
.mdl-hero4 a{
  max-width:100%;
  white-space:normal;
  box-sizing:border-box;
}


/* ====================================================================
   HERO 4 — SKIN (vars/visual)
==================================================================== */
.mdl-hero4{
  --hero4-bg-alpha:55%;
  --hero4-blend-mode:normal;

  --hero4-title-color:var(--brand-title,#fff);
  --hero4-text-color:var(--brand-text,#fff);

  --hero4-title-weight:800;
  --hero4-title-line:1.12;

  --hero4-text-weight:400;
  --hero4-text-line:1.34;

  --hero4-title-size-base:clamp(2.3rem,4vw,3.2rem);
  --hero4-text-size-base:clamp(1.05rem,1.6vw,1.25rem);

  --hero4-title-scale:1;
  --hero4-text-scale:1;

  --hero4-cta-bg:color-mix(in oklab, var(--hero4-title-color) 8%, transparent);
  --hero4-cta-text:var(--hero4-title-color,#fff);
  --hero4-cta-border:var(--hero4-title-color,#fff);
  --hero4-cta-radius:999px;
  --hero4-cta-pad:clamp(12px,1.6vw,16px) clamp(18px,2.4vw,28px);
  --hero4-cta-gap:clamp(14px,2vw,18px);
  --hero4-cta-shadow:0 6px 18px rgba(0,0,0,.15);

  background-color:var(--hero4-bg);
  background-image:
    linear-gradient(color-mix(in oklab, var(--hero4-bg) var(--hero4-bg-alpha), transparent)),
    var(--hero4-bg-img, none);
  background-size:cover,cover;
  background-position:center,center;
  background-repeat:no-repeat,no-repeat;
  background-blend-mode:var(--hero4-blend-mode);
}

/* layout hero */
.mdl-hero4 .mdl-hero4__col{ min-height:70dvh; }

.mdl-hero4 .mdl-hero4__col--left{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(28px,6vw,80px);
}

.mdl-hero4 .mdl-hero4__inner{
  max-width:min(720px,92%);
  text-align:center;
}

/* texto */
.mdl-hero4 .mdl-hero4__title{
  color:var(--hero4-title-color);
  font-size:calc(var(--hero4-title-size-base) * var(--hero4-title-scale));
  font-weight:var(--hero4-title-weight);
  line-height:var(--hero4-title-line);
  margin:.25rem 0 .6rem;
  text-align:left;
  font-family:var(--brand-font, inherit);
}

.mdl-hero4 .mdl-hero4__text{
  color:var(--hero4-text-color);
  font-size:calc(var(--hero4-text-size-base) * var(--hero4-text-scale));
  font-weight:var(--hero4-text-weight);
  line-height:var(--hero4-text-line);
  margin:0 0 1rem;
  text-align:left;
  font-family:var(--brand-font, inherit);
}

/* CTA */
.mdl-hero4 .mdl-hero4__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  margin-top:var(--hero4-cta-gap);
  padding:var(--hero4-cta-pad);

  font:700 clamp(.9rem,1.4vw,1.05rem)/1 var(--brand-font, inherit);
  letter-spacing:.02em;

  color:var(--hero4-cta-text);
  background:var(--hero4-cta-bg);
  border:2px solid var(--hero4-cta-border);
  border-radius:var(--hero4-cta-radius);
  box-shadow:var(--hero4-cta-shadow);

  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  will-change:transform;
}

.mdl-hero4 .mdl-hero4__btn:hover,
.mdl-hero4 .mdl-hero4__btn:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,.2);
  background:color-mix(in oklab, var(--hero4-cta-bg) 40%, var(--hero4-cta-border));
  outline:none;
}

.mdl-hero4 .mdl-hero4__btn:active{
  transform:translateY(0);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

@media (prefers-reduced-motion: reduce){
  .mdl-hero4 .mdl-hero4__btn{ transition:none; }
}


/* CLS guard: reserva espaço pro conteúdo da direita (imagem/vídeo) */
.mdl-hero4 .mdl-hero4__media{
  width:100%;
  max-width:min(800px,95%);
  padding:10px;
  border:2px solid var(--hero4-border, transparent);
  border-radius:16px;
  background:transparent;

  /* ajuda CLS: o card não “cresce do nada” quando a mídia carrega */
  min-height: clamp(260px, 40vh, 560px);
}

.mdl-hero4 .mdl-hero4__media img{
  width:100%;
  border-radius:12px;
  object-fit:cover;

  /* ajuda CLS em imagem lenta */
  aspect-ratio: 16 / 9;
}


/* ====================================================================
   HERO 4 — VARIANTES
==================================================================== */

/* coluna direita como BG */


/* cards grid */
.mdl-hero4 .mdl-hero4__cards-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(3, minmax(0,1fr));
  align-items:stretch;
}


/* ====================================================================
   HERO 4 — RESPONSIVO
==================================================================== */
@media (max-width:991.98px){
  .mdl-hero4 .mdl-hero4__grid{ grid-template-columns:1fr; }
  .mdl-hero4 .mdl-hero4__col{ min-height:auto; }
  .mdl-hero4 .mdl-hero4__media{
    max-width:min(360px,90%);
    padding:8px;
    min-height: clamp(220px, 36vh, 420px);
  }
  .mdl-hero4{ --hero4-title-scale:.95; --hero4-text-scale:.98; }
}

@media (max-width:767.98px){
  .mdl-hero4 .mdl-hero4__grid{ overflow:hidden; }
  .mdl-hero4 .mdl-hero4__inner{ text-align:center; }
  .mdl-hero4 .mdl-hero4__cards-grid{ grid-template-columns:1fr !important; gap:14px; }
  .mdl-hero4 .mdl-hero4__card{ padding:12px !important; }
}

@media (max-width:480px){
  .mdl-hero4{
    --hero4-title-size-base:clamp(1.8rem,8.5vw,2.1rem);
    --hero4-text-size-base:.98rem;
  }
  .mdl-hero4 .mdl-hero4__title{ font-size:clamp(1.55rem,7.5vw,1.9rem); }
  .mdl-hero4 .mdl-hero4__text{ font-size:.98rem; }
}

/* ====================================================================
   COLUNA DIREITA (CONTEÚDO) - REESTRUTURADO PARA ZERO CLS
   ==================================================================== */
.mdl-hero4 .mdl-hero4__col--right {
    /* Layout Base */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    
    /* Background Base */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* Reserva de espaço CRÍTICA para evitar salto de layout */
    min-height: 450px; 
}

/* Variante com Background Dinâmico (quando a imagem vem do style inline) */
.mdl-hero4 .mdl-hero4__col--right.mdl-hero4__col--bg {
    position: relative;
    background-image: var(--hero4-bg-img, none);
    background-color: var(--hero4-bg, transparent);
    background-blend-mode: var(--hero4-blend-mode);
}

/* Se for background, esconde o elemento de mídia interno */
.mdl-hero4 .mdl-hero4__col--right.mdl-hero4__col--bg .mdl-hero4__media {
    display: none;
}

/* ====================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ==================================================================== */
@media (max-width: 991.98px) {
    .mdl-hero4 .mdl-hero4__grid { 
        grid-template-columns: 1fr; 
    }
    
    .mdl-hero4 .mdl-hero4__col { 
        min-height: auto; 
    }

    .mdl-hero4 .mdl-hero4__col--right { 
        /* Trocado VH por PX: Isso trava o CLS no mobile */
        min-height: 400px; 
        padding: 16px; 
    }

    .mdl-hero4 .mdl-hero4__media {
        max-width: min(360px, 90%);
        padding: 8px;
        /* Trava a altura do vídeo/imagem para não empurrar o texto */
        min-height: 420px; 
    }
}

@media (max-width: 767.98px) {
    .mdl-hero4 .mdl-hero4__grid { 
        overflow: hidden; 
    }

    .mdl-hero4 .mdl-hero4__inner { 
        text-align: center; 
    }

    /* Estabilização dos cards inferiores */
    .mdl-hero4 .mdl-hero4__cards-grid { 
        grid-template-columns: 1fr !important; 
        gap: 14px; 
    }

    .mdl-hero4 .mdl-hero4__card { 
        padding: 12px !important; 
    }
}

/* ====================================================================
   HERO PALESTRANTE (variante do hero4) — tudo escopado  ✅ sem vazar
==================================================================== */
.hero-palestrante{
  --hp-title:clamp(1.6rem,2.2vw,2.2rem);
  --hp-h3:clamp(1.05rem,1.2vw,1.25rem);
  --hp-text:clamp(.98rem,1.05vw,1.08rem);
  --hp-list:clamp(.95rem,1.0vw,1.05rem);
  --hp-lh:1.55;
  --hp-muted:.92;
}

.hero-palestrante .mdl-hero4__title{
  font-size:var(--hp-title);
  font-weight:700;
  line-height:1.1;
  margin:0 0 .35rem;
}

.hero-palestrante .mdl-hero4__text{
  font-size:var(--hp-text);
  line-height:var(--hp-lh);
  opacity:var(--hp-muted);
}

.hero-palestrante :is(.hero-media__sub, .hero-media__book){
  opacity:var(--hp-muted);
  color:#fff;
}

/* 1. Container Principal - Trava o espaço no layout */
.hero-media__video {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16; 
    background-image: url("/images/poster-mobile.webp");
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
}

/* 2. O elemento de vídeo - Preenche o container sem "pular" */
.video-lcp {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 3. Ajustes Mobile */
@media (max-width: 768px) {
    .hero-palestrante .mdl-hero4__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 10px;
    }

   .hero-media__video {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16; 
    background-image: url("/images/poster-mobile.webp");
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
}

   /* 2. Garante que o vídeo (e o poster) preencham o espaço */
.video-lcp {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
    /* Importante: Estabilize o texto que vem logo após o vídeo */
    .hero-palestrante .hero-name {
        margin-top: 10px !important;
        min-height: 1.2em; 
    }
}

@media (min-width: 769px) {
    .hero-media__video {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16; 
   background-image: url("/images/poster-mobile.webp");
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
}

  /* 2. Garante que o vídeo (e o poster) preencham o espaço */
.video-lcp {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
}

/* ====================================================================
   CONTROLES DE VÍDEO (Estabilização de Layout)
   Resolve CLS: media-controls-enclosure
==================================================================== */

/* 1. Trava o container de controles para não expandir o vídeo */
video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
    position: absolute !important; 
    bottom: 0;
    width: 100%;
}

/* 2. Remove elementos de interface que geram recalque de layout (Timeline e Contadores) */
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-segmented-track,
video::-webkit-media-controls-segmented-track-container,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

/* 3. Limpa botões e funções desnecessárias em um único seletor */
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-picture-in-picture-button,
video::-webkit-media-controls-download-button,
video::-webkit-media-controls-playback-rate-button,
video::-webkit-media-controls-airplay-button,
video::-webkit-media-controls-volume-control-container,
video::-webkit-media-controls-mute-button {
    display: none !important;
}

/* 4. Mantém apenas o Play/Pause visível */
video::-webkit-media-controls-play-button {
    display: flex !important;
}

/* ====================================================================
   ÍCONES SOCIAIS (se isso não é do hero4, tira daqui e põe em “footer”)
==================================================================== */
.svg-social-icon{
  width:24px;
  height:24px;
  fill:#ffffff;
  display:block;
  transition:transform .2s;
}
.fsoc-btn:hover .svg-social-icon{ transform:scale(1.1); }
.fsoc-btn{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ====================================================================
   CARROSSEL (RELPOSTS)
==================================================================== */
.vxrp-section{
  --vxrp-max:1280px;
  --vxrp-pad-x:clamp(12px,3vw,32px);
  --vxrp-pad-y:clamp(16px,3vw,40px);
  --vxrp-fg:inherit;
  --vxrp-overlay:transparent;
  --vxrp-bg-color:transparent;
  --vxrp-bg-img:none;
  position:relative;
  width:100%;
  color:var(--vxrp-fg);
  background:
    linear-gradient(var(--vxrp-overlay), var(--vxrp-overlay)),
    var(--vxrp-bg-img),
    var(--vxrp-bg-color);
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-position:center,center,center;
  background-size:cover,cover,auto;
}
.vxrp-section__inner{
  width:100%;
  max-width:var(--vxrp-max);
  margin-inline:auto;
  padding:var(--vxrp-pad-y) var(--vxrp-pad-x);
  box-sizing:border-box;
}
.vxrp-section--grid2 .vxrp-section__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(16px,3vw,32px);
  align-items:center;
}
@media (max-width:768px){
  .vxrp-section--grid2 .vxrp-section__inner{ display:block; }
}
.vxrp-section .vxrp{ width:100%; }

.vxrp{
  background:var(--section-bg, transparent);
  color:var(--section-fg, inherit);

  --vxrp-max:1280px;
  --vxrp-cards:4;

  --vxrp-card-bg:#fff;
  --vxrp-card-fg:#6c757d;
  --vxrp-card-title:#111;
  --vxrp-card-pad-x:12px;
  --vxrp-card-pad-y:12px;
  --vxrp-card-radius:12px;
  --vxrp-card-border-w:1px;
  --vxrp-card-border-c:rgba(0,0,0,.075);
  --vxrp-card-title-size:1rem;
  --vxrp-card-title-weight:700;
  --vxrp-card-title-transform:none;
  --vxrp-card-title-align:left;
  --vxrp-card-text-size:.9rem;
  --vxrp-card-text-lh:1.5;
  --vxrp-card-text-align:left;
  --vxrp-card-cta:#0d6efd;
  --vxrp-card-cta-whats:#25D366;

  position:relative;
  width:100%;
  color:#000;
  z-index:1;
}
.vxrp__wrap{
  width:100%;
  max-width:var(--vxrp-max);
  margin-inline:auto;
  padding-inline:clamp(12px,3vw,32px);
}

.vxrp__header{ margin-bottom:clamp(8px,1.8vw,16px); }
.vxrp__header.left{ text-align:left; }
.vxrp__header.center{ text-align:center; }
.vxrp__header.right{ text-align:right; }

.carrossel__titulo{
  margin:0;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.2px;
  text-align:inherit;
  font-size:clamp(1.6rem,2.2vw + .6rem,3rem);
  overflow-wrap:anywhere;
  word-break:break-word;
  text-wrap:balance;
}
.carrossel__titulo-link{ text-decoration:none; color:#fff; }
.carrossel__titulo-link:hover,
.carrossel__titulo-link:focus{ text-decoration:underline; }
.carrossel__subtitulo{
  margin:.5rem 0 0 0;
  line-height:1.4;
  font-weight:400;
  opacity:.9;
  text-align:inherit;
  color:#fff;
}
.carrossel__titulo.is-hashtag{
  overflow-wrap:anywhere;
  word-break:break-word;
  letter-spacing:0;
}

.vxrp__carousel{ position:relative; }
.vxrp__viewport{ position:relative; overflow:hidden; width:100%; }
.vxrp__track{
  display:flex;
  gap:12px;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  padding:6px 6px;
}

.vxrp-card,.vxrp-card--m2,.vxrp-card--m3{
  flex:0 0 calc(100% / var(--vxrp-cards,4) - 12px);
  scroll-snap-align:start;
  background:var(--vxrp-card-bg);
  color:var(--vxrp-card-fg);
  border-radius:var(--vxrp-card-radius);
  border:var(--vxrp-card-border-w) solid var(--vxrp-card-border-c);
  overflow:hidden;
  padding:15px;
}
.vxrp-card__img,
.vxrp-card--m2 .vxrp-card__img,
.vxrp-card--m3 .vxrp-card__img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:15px;
}
.vxrp-card__body{ padding:var(--vxrp-card-pad-y) var(--vxrp-card-pad-x); }
.vxrp-card__titulo{
  margin:0 0 6px 0;
  font-size:20px;
  font-weight:normal;
  line-height:1.3;
  text-transform:var(--vxrp-card-title-transform);
  color:var(--vxrp-card-title);
  text-align:center;
}
.vxrp-card__link{ color:inherit; text-decoration:none; }
.vxrp-card__link:hover,
.vxrp-card__link:focus{ text-decoration:underline; }
.vxrp-card__texto{
  margin:0 0 12px 0;
  color:var(--vxrp-card-fg);
  font-size:var(--vxrp-card-text-size);
  line-height:var(--vxrp-card-text-lh);
  text-align:var(--vxrp-card-text-align);
}
.vxrp-card__acoes{
  display:flex;
  gap:8px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  width:100%;
}

.vxrp-btn{
  display:inline-block;
  padding:.4rem .75rem;
  border-radius:8px;
  border:0;
  text-decoration:none;
  color:#fff;
  background:#0d6efd;
  font-size:.875rem;
}
.vxrp-btn--saiba{ background:var(--vxrp-card-cta); }
.vxrp-btn--whats{ background:var(--vxrp-card-cta-whats); }

:root{
  --vxrp-ctrl-size:40px;
  --vxrp-ctrl-inset:8px;
  --vxrp-ctrl-top:50%;
  --vxrp-ctrl-bg:rgba(0,0,0,.35);
  --vxrp-ctrl-color:#fff;
}
.vxrp__ctrl{
  position:absolute;
  top:var(--vxrp-ctrl-top);
  width:var(--vxrp-ctrl-size);
  height:var(--vxrp-ctrl-size);
  border:0;
  border-radius:999px;
  background:var(--vxrp-ctrl-bg);
  color:var(--vxrp-ctrl-color);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:5;
  transform:translateY(-50%);
  -webkit-tap-highlight-color:transparent;
  user-select:none;
}
.vxrp__ctrl--prev{ left:var(--vxrp-ctrl-inset); }
.vxrp__ctrl--next{ right:var(--vxrp-ctrl-inset); }
.vxrp__ctrl:before{ content:'›'; font-size:22px; line-height:1; transform:rotate(180deg); }
.vxrp__ctrl--next:before{ transform:none; }
.vxrp__ctrl:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.vxrp__ctrl[disabled]{ opacity:.45; cursor:default; }

@media (max-width:992px){
  .vxrp-card,.vxrp-card--m2,.vxrp-card--m3{ flex-basis:calc(100% / 2 - 10px); }
}
@media (max-width:768px){
  .vxrp__ctrl{
    --vxrp-ctrl-size:34px;
    --vxrp-ctrl-top:58%;
  }
  .vxrp__viewport{ padding-bottom:10px; }
}
@media (max-width:576px){
  .vxrp-card,.vxrp-card--m2,.vxrp-card--m3{ flex-basis:100%; }
}
@media (max-width:480px){
  .carrossel__titulo{ font-size:clamp(1.2rem,5.2vw,1.7rem); }
}
@media (max-width:380px){
  .carrossel__titulo{ font-size:clamp(1.15rem,5vw,1.6rem); }
  .carrossel__titulo.is-hashtag{ font-size:clamp(.95rem,4vw,1.35rem); }
}
@media (max-width:480px){
  .carrossel__titulo.is-hashtag{ font-size:clamp(1rem,4.2vw,1.45rem); }
}
@media (prefers-reduced-motion:reduce){ .vxrp__track{ scroll-behavior:auto; } }
@media (forced-colors:active){
  .vxrp-card,.vxrp__ctrl{ border:1px solid CanvasText; }
  .vxrp__ctrl{ background:Canvas; color:CanvasText; }
}

/* HERO COM CARROSSEL (mdl-hero-vxrp) */
.mdl-hero-vxrp{
  min-height:var(--hero-min,100dvh);
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:clamp(20px,5vw,64px);

  background:var(--hero-bg, transparent);
  color:var(--hero-fg, inherit);
  background-image:var(--hero-bg-img, none);
  background-size:cover;
  background-position:center;
}
.mdl-hero-vxrp__inner{
  width:100%;
  max-width:var(--hero-max,1280px);
  margin:0 auto;
}
.mdl-hero-vxrp .vxrp,
.mdl-hero-vxrp .vxrp__header{
  text-align:initial;
  color:inherit;
}
.mdl-hero-vxrp .vxrp__wrap{
  margin-inline:auto;
  padding-inline:clamp(12px,3vw,32px);
}
.mdl-hero-vxrp .vxrp{
  --vxrp-cards:var(--cartoes, var(--cards, var(--vxrp-cards,4)));
  --vxrp-heading-align:var(--alinhamento_titulo, var(--heading_align,left));
}
.mdl-hero-vxrp .vxrp__header{
  text-align:var(--vxrp-heading-align,left) !important;
}
.mdl-hero-vxrp .vxrp{
  --section-bg:var(--fundo_secao, var(--section_bg,transparent));
  --section-fg:var(--texto_secao, var(--section_fg,inherit));
  color:var(--section-fg);

  --vxrp-card-bg:var(--fundo_cartao, var(--card_bg,#fff));
  --vxrp-card-fg:var(--texto_cartao, var(--card_fg,#6c757d));
  --vxrp-card-title:var(--titulo_cartao, var(--card_title,#111));
  --vxrp-card-cta:var(--cta_cartao, var(--card_cta,#0d6efd));
  --vxrp-card-cta-whats:var(--cta_whats_cartao, var(--card_cta_whats,#25D366));
  --vxrp-card-border-w:var(--largura_borda_cartao, var(--card_border_width,1px));
  --vxrp-card-border-c:var(--cor_borda_cartao, var(--card_border_color,rgba(0,0,0,.075)));
  --vxrp-card-radius:var(--raio_cartao, var(--card_radius,12px));
  --vxrp-card-pad-x:var(--padding_cartao_x, var(--card_pad_x,12px));
  --vxrp-card-pad-y:var(--padding_cartao_y, var(--card_pad_y,12px));
  --vxrp-card-title-size:var(--tam_titulo, var(--title_size,1rem));
  --vxrp-card-title-weight:var(--peso_titulo, var(--title_weight,700));
  --vxrp-card-title-transform:var(--transform_titulo, var(--title_transform,none));
  --vxrp-card-title-align:var(--alinhamento_titulo_card, var(--card_title_align,left));
  --vxrp-card-text-size:var(--tam_texto, var(--card_text_size,.9rem));
  --vxrp-card-text-lh:var(--lh_texto, var(--card_text_lh,1.5));
  --vxrp-card-text-align:var(--alinhamento_texto, var(--card_text_align,left));
  --vxrp-max:var(--largura_max, var(--max_width,1280px));
}
.mdl-hero-vxrp .vxrp-card__titulo,
.mdl-hero-vxrp .vxrp-card__texto{ text-align:center; }

/* ====================================================================
   SEÇÃO CONTRATAÇÃO - COMPLETO E JUSTO (3 COLUNAS)
==================================================================== */
.tema-contratar-container {
    background-color: #575757;
    color: #fff;
    font-family: var(--font-base, sans-serif);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.tema-contratar-inner {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* Faltava esta classe para o título principal */
.tema-contratar-title {
    color: #f67760;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 40px;
    line-height: 1.1;
}

.tema-contratar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    min-height: 800px;
}

.tema-contratar-card {
    background-color: #4a4848;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #3c3c3c;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Base estável para o CLS */
    contain: layout;
}

/* Faltava esta classe que envolve a imagem e textos superiores */
.tema-contratar-card-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Classe da imagem circular */
.tema-contratar-img {
    display: block;
    width: 120px;
    height: 120px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 15px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f67760;
    background-color: #333;
}

.tema-contratar-card h3 {
    color: #f67760;
    font-size: 1.1rem;
    margin: 10px 0;
    font-weight: 700;
    line-height: 1.2;
    height: 2.4em; /* Justo: 2 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tema-contratar-card p {
    color: #ccc;
    margin: 0 0 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    height: 4.2em; /* Justo: 3 linhas */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Classe do Botão CTA */
.tema-contratar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 8px;
    background-color: #f67760;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: auto;
    height: 52px;
    transition: transform .2s ease, background-color .2s ease;
}

.tema-contratar-cta:hover {
    background-color: #e56655;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .tema-contratar-grid { 
        grid-template-columns: 1fr; 
    }

    .tema-contratar-card { 
        /* Em vez de auto, mantenha um valor mínimo que comporte o conteúdo */
        min-height: 380px; 
    }

    .tema-contratar-card h3 {
        /* Não use height: auto. No mobile, os títulos podem quebrar em 3 linhas. 
           Reserve esse espaço fixo para evitar que o parágrafo abaixo "pule" */
        height: 3.6em; 
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tema-contratar-card p {
        /* Mantemos o clamp. Se o texto variar muito, o layout fica instável */
        height: 5.6em; 
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
/* ====================================================================
   GALERIA + POPUP
==================================================================== */
.galeria{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(110px,1fr));
  gap:12px;
  max-width:1200px;
  margin:24px auto 0;
}
.galeria img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}
.galeria img:hover{
  transform:scale(1.04);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.popup{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.85);
  z-index:99999;
}
.popup.open{ display:flex; }

.popup__inner{
  max-width:min(1100px,94vw);
  max-height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.popup__inner img{
  max-width:100%;
  max-height:90vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.55);
}

.popup-close{
  position:fixed;
  top:22px;
  right:26px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:22px;
  font-weight:bold;
  line-height:1;
  cursor:pointer;
  z-index:100000;
  box-shadow:0 4px 12px rgba(0,0,0,.35);
}

.popup-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  color:#000;
  font-size:26px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  z-index:100000;
}
.popup-nav.prev{ left:24px; }
.popup-nav.next{ right:24px; }
.popup-nav.hidden{ display:none; }

@media (max-width:600px){
  .galeria{ gap:8px; }
  .popup__inner img{ max-height:82vh; }
  .popup-nav.prev{ left:10px; }
  .popup-nav.next{ right:10px; }
  .popup-close{ top:14px; right:14px; }
}

body.noscroll{ overflow:hidden; }
