/* Seguro Garantia V2 - engenharia visual alinhada a RC Profissional V15 */
:root{--theme:#123F66;--theme-deep:#0A2944;--theme-soft:#EAF3F8}
.skip-link{position:fixed;left:12px;top:-80px;z-index:5000;background:#fff;color:#111;padding:10px 14px;border-radius:8px}.skip-link:focus{top:12px}
body.modality-page{--line:color-mix(in srgb,var(--theme) 14%,#e6edf2);--soft:color-mix(in srgb,var(--theme-soft) 72%,#fff);accent-color:var(--theme)}
.site-header{height:84px;background:var(--theme-deep)!important;color:#fff;position:sticky;top:0;z-index:900;box-shadow:0 4px 24px color-mix(in srgb,var(--theme-deep) 30%,transparent);border:0;backdrop-filter:none;transition:background .25s ease,box-shadow .25s ease}
.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand img{width:205px;max-height:64px;object-fit:contain}.main-nav{display:flex;align-items:center;gap:28px;color:#fff}.main-nav a,.main-nav button{color:#fff;text-decoration:none;font-size:14px;font-weight:800}.main-nav a:hover{opacity:.78}.nav-other{border-left:1px solid rgba(255,255,255,.25);padding-left:24px}.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:26px;width:auto;height:auto;padding:6px}.main-nav .btn{min-height:44px;padding:10px 18px}.main-nav .btn-light{background:#fff;color:var(--theme-deep)!important;box-shadow:0 12px 30px rgba(0,0,0,.16)}.main-nav .btn-light:hover{background:#fff;color:var(--theme-deep)!important;opacity:1}
/* A modalidade assume toda a página */
.modality-page .hero{background:linear-gradient(135deg,var(--theme-deep),var(--theme))}.modality-page .section-dark{background:linear-gradient(135deg,var(--theme-deep),var(--theme))}.modality-page .site-footer{background:linear-gradient(145deg,color-mix(in srgb,var(--theme-deep) 92%,#000),var(--theme-deep))}.modality-page .footer-bottom{border-color:rgba(255,255,255,.15)}
.modality-page .hero-modality{position:relative}.modality-page .hero-modality:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 79% 18%,color-mix(in srgb,var(--theme) 45%,transparent),transparent 31%),linear-gradient(90deg,color-mix(in srgb,var(--theme-deep) 97%,transparent),color-mix(in srgb,var(--theme-deep) 80%,transparent) 52%,color-mix(in srgb,var(--theme) 35%,transparent));pointer-events:none}.modality-page .hero-grid{position:relative;z-index:1}.modality-page .hero-visual img{filter:drop-shadow(0 26px 34px color-mix(in srgb,var(--theme-deep) 42%,transparent))}.modality-page .hero .btn-light{color:var(--theme-deep)}
.modality-page .section-soft{background:linear-gradient(180deg,var(--theme-soft),color-mix(in srgb,var(--theme-soft) 40%,#fff))}.modality-page .text-card,.modality-page .audience-grid article,.modality-page .attention-grid article,.modality-page .document-list article,.modality-page .claims-card,.modality-page .faq-list details{border-color:color-mix(in srgb,var(--theme) 18%,#dde6ec)}.modality-page .audience-grid article span,.modality-page .cover-list span,.modality-page .document-list b,.modality-page .attention-grid article span{background:var(--theme-soft);color:var(--theme)}.modality-page .claims-card{box-shadow:0 26px 70px color-mix(in srgb,var(--theme) 13%,transparent)}.modality-page .claim-mini-flow span{border-color:color-mix(in srgb,var(--theme) 22%,#d8e2e9);background:var(--theme-soft);color:var(--theme-deep)}.modality-page .faq-list details[open]{border-color:color-mix(in srgb,var(--theme) 38%,#dbe4ea);box-shadow:0 16px 34px color-mix(in srgb,var(--theme) 10%,transparent)}
.site-footer{color:#fff;padding:64px 0 26px}.footer-grid button{border:0;background:none;padding:0;text-align:left;font:inherit}.footer-grid a,.footer-grid span,.footer-grid button{color:rgba(255,255,255,.75)}
/* WhatsApp idêntico ao comportamento visual da RC V15 */
.floating-whatsapp{position:fixed!important;right:24px!important;bottom:24px!important;z-index:1350!important;min-height:58px!important;padding:8px 20px 8px 9px!important;border-radius:999px!important;background:#25D366!important;color:#fff!important;display:flex!important;align-items:center!important;gap:11px!important;text-decoration:none!important;font-weight:900!important;box-shadow:0 18px 48px rgba(13,97,47,.34)!important;isolation:isolate!important;transition:transform .2s ease,box-shadow .2s ease!important}.floating-whatsapp:hover{transform:translateY(-3px)!important;box-shadow:0 22px 55px rgba(13,97,47,.42)!important}.floating-whatsapp .wa-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#fff;color:#25D366;display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.14)}.floating-whatsapp .wa-icon svg{width:25px;height:25px}.floating-whatsapp strong{font-size:15px;line-height:1.1;white-space:nowrap}.floating-whatsapp .wa-pulse{position:absolute;left:3px;top:3px;width:52px;height:52px;border:2px solid rgba(37,211,102,.58);border-radius:50%;z-index:-1;pointer-events:none;animation:sg-wa-pulse 2.2s ease-out infinite}@keyframes sg-wa-pulse{0%{transform:scale(.75);opacity:.9}75%,100%{transform:scale(1.65);opacity:0}}
.back-to-top{position:fixed;right:28px;bottom:98px;z-index:1300;width:42px;height:42px;border:0;border-radius:50%;background:var(--theme-deep);color:#fff;box-shadow:0 12px 28px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s}.back-to-top.is-visible{opacity:1;visibility:visible;transform:none}
/* Formulários com identidade da modalidade */
.modal-large .modal-heading{margin:-34px -34px 28px;padding:31px 76px 26px 34px;border-radius:24px 24px 20px 20px;background:linear-gradient(135deg,var(--theme-deep),var(--theme));color:#fff}.modal-large .modal-heading .mini-eyebrow{color:#fff}.modal-large .modal-heading p{color:rgba(255,255,255,.8)}.modal-panel{border:1px solid color-mix(in srgb,var(--theme) 16%,#fff)}.modal-close{z-index:5}.modal-large>.modal-close{background:rgba(255,255,255,.16);color:#fff}.quick-form .btn,.result-panel .btn-primary{background:var(--theme)}.result-icon{background:var(--theme-soft);color:var(--theme)}
/* Política de Privacidade com a mesma engenharia da RC */
.modal-layer{position:fixed;inset:0;z-index:1600;background:rgba(17,8,12,.72);backdrop-filter:blur(7px);display:none;align-items:center;justify-content:center;padding:20px}.modal-layer.is-open{display:flex}.privacy-dialog{width:min(930px,100%);height:min(88vh,790px);background:#fff;border-radius:25px;position:relative;padding:30px;display:grid;grid-template-rows:auto 1fr auto;gap:15px;box-shadow:0 30px 90px rgba(0,0,0,.34)}.privacy-dialog h2{margin:0;color:var(--theme-deep)}.privacy-dialog iframe{width:100%;height:100%;border:1px solid color-mix(in srgb,var(--theme) 18%,#dce5eb);border-radius:14px;background:#fff}.cookie-preferences{background:var(--theme-soft);border:1px solid color-mix(in srgb,var(--theme) 18%,#dce5eb);border-radius:14px;padding:15px}.cookie-preferences h3{margin:0 0 10px;color:var(--theme-deep)}.cookie-preferences label{display:inline-flex;align-items:center;gap:6px;margin-right:16px;font-size:13px}.cookie-preferences input{width:17px;height:17px}.cookie-preferences .btn{min-height:42px;padding:10px 15px;margin-left:4px}
.cookie-banner{position:fixed!important;right:22px!important;left:auto!important;bottom:94px!important;width:min(360px,calc(100% - 28px))!important;z-index:1450!important;background:#fff!important;border:1px solid color-mix(in srgb,var(--theme) 18%,#dce5eb)!important;border-radius:19px!important;box-shadow:0 22px 70px rgba(0,0,0,.25)!important;padding:22px!important;display:none!important}.cookie-banner.is-visible{display:block!important}.cookie-banner.is-hidden{display:none!important}.cookie-icon{width:38px;height:38px;border-radius:12px;background:var(--theme-soft);color:var(--theme);display:grid;place-items:center;margin-bottom:12px}.cookie-banner strong{font-size:17px;display:block}.cookie-banner p{font-size:13px;color:var(--muted);margin:5px 0 16px}.cookie-banner>.btn{width:100%}.cookie-links{display:flex!important;justify-content:center;gap:15px;margin-top:12px!important}.cookie-links button{border:0;background:none;color:var(--theme);font-size:11px;padding:0}.cookie-banner>div:last-child{margin:0!important;display:flex!important}
@media(max-width:980px){.main-nav{position:absolute;top:84px;left:0;right:0;background:var(--theme-deep)!important;padding:22px;display:none;flex-direction:column;align-items:stretch;gap:17px;box-shadow:0 20px 35px rgba(0,0,0,.22)}.main-nav.is-open{display:flex}.nav-other{border-left:0;padding-left:0}.menu-toggle{display:block}.main-nav .btn{width:100%}.site-header{height:84px}}
@media(max-width:680px){.site-header{height:72px}.main-nav{top:72px}.brand img{width:168px}.floating-whatsapp{right:12px!important;bottom:14px!important;min-height:52px!important;padding:6px 14px 6px 7px!important}.floating-whatsapp .wa-icon{width:38px;height:38px;flex-basis:38px}.floating-whatsapp .wa-icon svg{width:23px;height:23px}.floating-whatsapp strong{font-size:13px}.floating-whatsapp .wa-pulse{left:1px;top:1px;width:50px;height:50px}.back-to-top{right:16px;bottom:79px}.cookie-banner{right:10px!important;bottom:82px!important;width:calc(100% - 20px)!important}.modal-layer{padding:8px;align-items:flex-start;overflow:auto}.privacy-dialog{height:94vh;padding:20px;margin:8px 0}.cookie-preferences label{display:flex;margin:7px 0}.cookie-preferences .btn{margin:8px 0 0;width:100%}.modal-large .modal-heading{margin:-24px -18px 24px;padding:28px 58px 23px 20px;border-radius:24px 24px 18px 18px}}
/* Modal principal no mesmo padrão estrutural da RC Profissional */
.analysis-dialog{width:min(1110px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:28px;display:grid;grid-template-columns:330px 1fr;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.analysis-side{background:linear-gradient(150deg,var(--theme-deep),var(--theme));color:#fff;padding:38px;position:sticky;top:0;min-height:700px}.analysis-side img{width:190px;margin-bottom:50px}.analysis-side h2{font-size:42px;line-height:1.06;letter-spacing:-.035em;margin:15px 0}.analysis-side p{color:rgba(255,255,255,.76)}.analysis-side ul{padding-left:18px}.analysis-side li{margin:8px 0}.form-side-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:17px;padding:18px;margin:24px 0}.form-side-card strong,.form-side-card span{display:block}.form-side-card span{font-size:13px;opacity:.78;margin-top:5px}.analysis-form{padding:38px;min-width:0}.analysis-form .form-progress{margin-bottom:25px}.analysis-form .form-actions{margin-top:25px}.analysis-form .form-step h3{font-size:27px;font-weight:850;margin-bottom:18px}.analysis-modal>.analysis-dialog>.modal-close{background:#fff;color:var(--theme-deep)}
@media(max-width:980px){.analysis-dialog{grid-template-columns:260px 1fr}.analysis-side{padding:28px}}
@media(max-width:680px){.analysis-dialog{grid-template-columns:1fr;margin:8px 0;border-radius:19px}.analysis-side{position:relative;min-height:0;padding:25px}.analysis-side img{width:155px;margin-bottom:30px}.analysis-side h2{font-size:34px}.analysis-form{padding:25px 18px}.analysis-form .form-grid.two{grid-template-columns:1fr}.analysis-form .form-grid .full{grid-column:auto}}


/* V3 — Hero fotográfico com a mesma engenharia visual da RC Profissional V15 */
.hero{
  min-height:650px;
  display:flex;
  align-items:center;
  background:var(--theme-deep);
  isolation:isolate;
}
.hero:before,
.modality-page .hero-modality:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(90deg,
      var(--theme-deep) 0%,
      color-mix(in srgb,var(--theme-deep) 95%,transparent) 34%,
      color-mix(in srgb,var(--theme-deep) 68%,transparent) 55%,
      rgba(0,0,0,.10) 82%),
    var(--hero-image);
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
  pointer-events:none;
  z-index:0;
}
.portal-page .hero-home:before{
  background-image:
    linear-gradient(90deg,
      var(--theme-deep) 0%,
      color-mix(in srgb,var(--theme-deep) 96%,transparent) 31%,
      color-mix(in srgb,var(--theme-deep) 72%,transparent) 52%,
      rgba(0,0,0,.10) 82%),
    var(--hero-image);
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  height:auto;
  border-radius:0;
  transform:none;
  background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.18));
  pointer-events:none;
  z-index:0;
}
.hero-grid{
  min-height:auto;
  display:block;
  width:100%;
  padding-top:76px;
  padding-bottom:76px;
  position:relative;
  z-index:1;
}
.hero-copy,
.hero-modality .hero-copy{
  width:min(660px,59%);
  position:relative;
  z-index:2;
}
.portal-page .hero-copy{width:min(660px,57%)}
.hero-visual{display:none!important}

@media(max-width:980px){
  .hero-grid{display:block;grid-template-columns:none}
  .hero-copy,.hero-modality .hero-copy,.portal-page .hero-copy{width:min(620px,68%)}
}

@media(max-width:720px){
  .hero{
    min-height:720px;
    align-items:flex-end;
  }
  .hero:before,
  .modality-page .hero-modality:before,
  .portal-page .hero-home:before{
    background-image:
      linear-gradient(180deg,
        rgba(0,0,0,.05) 0%,
        color-mix(in srgb,var(--theme-deep) 78%,transparent) 43%,
        var(--theme-deep) 61%,
        var(--theme-deep) 100%),
      var(--hero-image);
    background-position:65% top;
    background-size:auto 58%,auto 58%;
    background-repeat:no-repeat;
    background-color:var(--theme-deep);
  }
  .hero-grid{
    padding-top:300px;
    padding-bottom:52px;
  }
  .hero-copy,
  .hero-modality .hero-copy,
  .portal-page .hero-copy{
    width:100%;
  }
}

/* V4 - acabamento mobile dos formularios */
@media(max-width:520px){.analysis-form{padding:28px 18px}.form-actions{display:grid;grid-template-columns:1fr;gap:10px}.form-actions .btn{width:100%;min-height:48px;padding:13px 16px}.result-actions{display:grid;grid-template-columns:1fr;gap:10px}.result-actions .btn{width:100%;min-height:48px}.modal-small{padding:28px 18px}.modal-close{width:42px;height:42px}}

/* V7 - credibilidade e prova social na home */
.broker-highlight{margin-top:24px;padding:20px 22px;border-radius:18px;background:var(--theme-soft);border:1px solid color-mix(in srgb,var(--theme) 16%,#dfe8ee);display:grid;gap:5px}.broker-highlight strong{color:var(--theme-deep);font-size:1rem}.broker-highlight span{color:var(--muted);font-size:.9rem;line-height:1.55}
.social-proof-section{position:relative;overflow:hidden}.social-proof-section:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-180px;top:-210px;background:radial-gradient(circle,color-mix(in srgb,var(--theme) 13%,transparent),transparent 68%);pointer-events:none}.social-proof-section .container{position:relative;z-index:1}.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}.testimonial-card{position:relative;min-height:300px;padding:34px 30px 28px;border-radius:24px;background:#fff;border:1px solid color-mix(in srgb,var(--theme) 14%,#dfe7ec);box-shadow:0 22px 55px color-mix(in srgb,var(--theme) 9%,transparent);display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.testimonial-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--theme) 34%,#dfe7ec);box-shadow:0 28px 65px color-mix(in srgb,var(--theme) 14%,transparent)}.testimonial-quote{width:48px;height:48px;border-radius:15px;background:var(--theme-soft);color:var(--theme);display:grid;place-items:center;font:800 2.7rem/1 Georgia,serif;padding-top:9px;margin-bottom:22px}.testimonial-card>p{font-size:1.02rem;line-height:1.72;color:var(--ink);margin:0 0 28px}.testimonial-author{margin-top:auto;padding-top:20px;border-top:1px solid color-mix(in srgb,var(--theme) 12%,#e4eaee);display:grid;gap:4px}.testimonial-author b{font-size:.9rem;color:var(--theme-deep)}.testimonial-author small{font-size:.75rem;color:var(--muted);font-weight:700}.social-proof-foot{margin-top:22px;padding:18px 22px;border-radius:18px;background:linear-gradient(135deg,var(--theme-deep),var(--theme));display:grid;grid-template-columns:repeat(3,1fr);gap:12px;color:#fff}.social-proof-foot span{display:flex;align-items:center;gap:10px;font-size:.82rem;font-weight:800}.social-proof-foot span:before{content:"✓";width:27px;height:27px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:0 0 27px}
@media(max-width:980px){.testimonial-grid{grid-template-columns:1fr 1fr}.testimonial-card:last-child{grid-column:1/-1;min-height:auto}.social-proof-foot{grid-template-columns:1fr}}
@media(max-width:680px){.testimonial-grid{grid-template-columns:1fr;margin-top:28px}.testimonial-card,.testimonial-card:last-child{grid-column:auto;min-height:auto;padding:27px 23px}.social-proof-foot{padding:17px}.broker-highlight{padding:18px}}



/* V7 - thumbnails das modalidades, ajuste de margens e banner de privacidade mais seguro */
.hero-grid{padding-inline:clamp(4px,.6vw,10px)}
.hero-copy,.hero-modality .hero-copy,.portal-page .hero-copy{padding-left:clamp(2px,.35vw,8px)}
.modality-page .hero-grid{padding-top:88px;padding-bottom:84px}
.modality-page .hero-copy{width:min(650px,56%)}
.modality-card{padding:0!important;min-height:100%!important;display:flex!important;flex-direction:column!important}
.modality-card:before{display:none!important}
.modality-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:22px 22px 0 0;background:linear-gradient(135deg,var(--card-soft),#fff)}
.modality-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.18))}
.modality-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.modality-card:hover .modality-thumb img{transform:scale(1.04)}
.modality-card-content{position:relative;display:flex;flex-direction:column;flex:1;padding:24px 24px 26px}
.modality-card small{margin-top:18px}
.cookie-banner p.cookie-warning{font-size:.78rem;color:var(--theme-deep);font-weight:700;background:var(--theme-soft);border:1px solid color-mix(in srgb,var(--theme) 16%,#dce5eb);border-radius:12px;padding:10px 12px;margin:0 0 15px}
.cookie-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:2px}
.cookie-read-btn{border-color:color-mix(in srgb,var(--theme) 18%,#dce5eb)!important}
.cookie-banner .btn[disabled],.cookie-banner .btn.is-disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.08);box-shadow:none}
.cookie-banner .btn[disabled]:hover{transform:none}
@media(max-width:980px){.modality-page .hero-copy{width:min(640px,68%)}}
@media(max-width:720px){.hero-grid{padding-inline:0}.modality-page .hero-grid{padding-top:310px;padding-bottom:56px}.modality-page .hero-copy,.portal-page .hero-copy,.hero-copy{padding-left:0;width:100%}}
@media(max-width:680px){.modality-card-content{padding:20px 20px 23px}.modality-thumb{aspect-ratio:16/11}}


/* V8 - correções finais: hero compatível, cookies iguais ao RCP e WhatsApp à esquerda */
.floating-whatsapp{
  left:24px!important;
  right:auto!important;
  bottom:24px!important;
  min-width:220px!important;
  min-height:60px!important;
  padding:10px 20px 10px 10px!important;
  gap:12px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  background:linear-gradient(180deg,#31d66a 0%,#19b952 100%)!important;
  box-shadow:0 18px 42px rgba(24,168,78,.34),0 0 0 6px rgba(37,211,102,.13)!important;
  animation:sgWaFloatV8 2.8s ease-in-out infinite!important;
}
.floating-whatsapp:hover{transform:translateY(-3px) scale(1.015)!important;box-shadow:0 22px 48px rgba(24,168,78,.42),0 0 0 8px rgba(37,211,102,.16)!important}
.floating-whatsapp .wa-icon{background:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)!important}
.floating-whatsapp .wa-pulse{left:4px!important;top:4px!important;width:54px!important;height:54px!important;border-color:rgba(37,211,102,.55)!important;animation:sgWaPulseV8 1.9s ease-out infinite!important}
@keyframes sgWaPulseV8{0%{transform:scale(.82);opacity:.75}100%{transform:scale(1.85);opacity:0}}
@keyframes sgWaFloatV8{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

.cookie-banner{left:auto!important;right:22px!important;bottom:92px!important;width:min(350px,calc(100% - 28px))!important;padding:22px!important;display:none!important}
.cookie-banner.is-visible{display:block!important}.cookie-banner.is-hidden{display:none!important}
.cookie-banner .cookie-icon{margin-bottom:12px!important}
.cookie-banner strong{font-size:17px!important;display:block!important}
.cookie-banner p{font-size:13px!important;color:var(--muted)!important;margin:5px 0 16px!important}
.cookie-banner>.btn{width:100%!important;margin-top:0!important}
.cookie-links{display:flex!important;justify-content:center!important;gap:15px!important;margin-top:12px!important}.cookie-links button{border:0;background:none;color:var(--theme);font-size:11px;padding:0}

/* Hero compatível sem color-mix: evita o sumiço das imagens em alguns navegadores */
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background-size:cover;background-position:center right;background-repeat:no-repeat}
.portal-page .hero-home::before{
  background-image:linear-gradient(90deg,rgba(10,41,68,.96) 0%,rgba(10,41,68,.90) 31%,rgba(10,41,68,.66) 52%,rgba(10,41,68,.12) 82%),url('../img/hero-home.jpg')!important;
}
.modality-page[data-theme="bidbond"] .hero-modality::before{background-image:linear-gradient(90deg,rgba(13,82,70,.96) 0%,rgba(13,82,70,.88) 34%,rgba(13,82,70,.56) 56%,rgba(13,82,70,.10) 82%),url('../img/hero-licitante.jpg')!important}
.modality-page[data-theme="performance"] .hero-modality::before{background-image:linear-gradient(90deg,rgba(5,57,104,.96) 0%,rgba(5,57,104,.88) 34%,rgba(5,57,104,.56) 56%,rgba(5,57,104,.10) 82%),url('../img/hero-execucao.jpg')!important}
.modality-page[data-theme="judicial"] .hero-modality::before{background-image:linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.88) 34%,rgba(0,0,0,.56) 56%,rgba(0,0,0,.10) 82%),url('../img/hero-judicial.jpg')!important}
.modality-page[data-theme="advance"] .hero-modality::before{background-image:linear-gradient(90deg,rgba(154,95,24,.96) 0%,rgba(154,95,24,.88) 34%,rgba(154,95,24,.56) 56%,rgba(154,95,24,.10) 82%),url('../img/hero-adiantamento.jpg')!important}
.modality-page[data-theme="customs"] .hero-modality::before{background-image:linear-gradient(90deg,rgba(11,84,40,.96) 0%,rgba(11,84,40,.88) 34%,rgba(11,84,40,.56) 56%,rgba(11,84,40,.10) 82%),url('../img/hero-aduaneira.jpg')!important}
.modality-page[data-theme="realestate"] .hero-modality::before{background-image:linear-gradient(90deg,rgba(67,42,130,.96) 0%,rgba(67,42,130,.88) 34%,rgba(67,42,130,.56) 56%,rgba(67,42,130,.10) 82%),url('../img/hero-imobiliaria.jpg')!important}

@media(max-width:720px){
  .portal-page .hero-home::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(10,41,68,.22) 35%,rgba(10,41,68,.96) 64%,rgba(10,41,68,1) 100%),url('../img/hero-home.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:var(--theme-deep)!important}
  .modality-page[data-theme="bidbond"] .hero-modality::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(13,82,70,.20) 35%,rgba(13,82,70,.96) 64%,rgba(13,82,70,1) 100%),url('../img/hero-licitante.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:var(--theme-deep)!important}
  .modality-page[data-theme="performance"] .hero-modality::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(5,57,104,.20) 35%,rgba(5,57,104,.96) 64%,rgba(5,57,104,1) 100%),url('../img/hero-execucao.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:var(--theme-deep)!important}
  .modality-page[data-theme="judicial"] .hero-modality::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.20) 35%,rgba(0,0,0,.96) 64%,rgba(0,0,0,1) 100%),url('../img/hero-judicial.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:#000000!important}
  .modality-page[data-theme="advance"] .hero-modality::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(154,95,24,.20) 35%,rgba(154,95,24,.96) 64%,rgba(154,95,24,1) 100%),url('../img/hero-adiantamento.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:var(--theme-deep)!important}
  .modality-page[data-theme="customs"] .hero-modality::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(11,84,40,.20) 35%,rgba(11,84,40,.96) 64%,rgba(11,84,40,1) 100%),url('../img/hero-aduaneira.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:var(--theme-deep)!important}
  .modality-page[data-theme="realestate"] .hero-modality::before{background-image:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(67,42,130,.20) 35%,rgba(67,42,130,.96) 64%,rgba(67,42,130,1) 100%),url('../img/hero-imobiliaria.jpg')!important;background-position:center top!important;background-size:auto 58%,auto 58%!important;background-repeat:no-repeat!important;background-color:var(--theme-deep)!important}
  .floating-whatsapp{left:12px!important;right:auto!important;bottom:14px!important;min-width:auto!important;width:auto!important;padding:8px 14px 8px 8px!important}
  .floating-whatsapp .wa-icon{width:38px!important;height:38px!important;flex-basis:38px!important}
  .floating-whatsapp .wa-icon svg{width:23px!important;height:23px!important}
  .floating-whatsapp strong{font-size:13px!important;display:block!important}
  .floating-whatsapp .wa-pulse{left:1px!important;top:1px!important;width:50px!important;height:50px!important}
  .cookie-banner{left:10px!important;right:10px!important;bottom:82px!important;width:auto!important}
}


/* V9 - correção definitiva de alinhamento do hero, espelhando o comportamento da RC */
.portal-page .hero,
.modality-page .hero-modality{min-height:650px!important;display:flex!important;align-items:center!important;overflow:hidden!important}
.portal-page .hero-grid,
.modality-page .hero-grid{
  min-height:650px!important;
  display:flex!important;
  align-items:center!important;
  position:relative!important;
  z-index:2!important;
  padding:75px 0!important;
  width:min(1180px,calc(100% - 40px))!important;
  margin:0 auto!important;
}
.portal-page .hero-copy{width:min(610px,55%)!important;padding-left:0!important;margin-left:0!important}
.modality-page .hero-copy{width:min(650px,60%)!important;padding-left:0!important;margin-left:0!important}
.portal-page .hero-copy > p{font-size:20px!important;max-width:590px!important;color:rgba(255,255,255,.9)!important}
.modality-page .hero-copy > p{font-size:20px!important;max-width:590px!important;color:rgba(255,255,255,.9)!important}
.portal-page .hero-copy h1{font-size:clamp(3rem,5.2vw,5.05rem)!important;line-height:1.03!important;letter-spacing:-.055em!important;margin:18px 0 22px!important}
.modality-page .hero-copy h1{font-size:clamp(2.7rem,4.8vw,4.4rem)!important;line-height:1.05!important;letter-spacing:-.05em!important;margin:18px 0 22px!important}

@media(max-width:980px){
  .portal-page .hero-copy{width:67%!important}
  .modality-page .hero-copy{width:67%!important}
}

@media(max-width:720px){
  .portal-page .hero,
  .modality-page .hero-modality{min-height:720px!important;align-items:flex-end!important}
  .portal-page .hero-grid,
  .modality-page .hero-grid{min-height:720px!important;display:block!important;padding:300px 0 52px!important;width:min(100% - 26px,1180px)!important}
  .portal-page .hero-copy,
  .modality-page .hero-copy{width:100%!important;padding-left:0!important;margin-left:0!important}
  .portal-page .hero-copy h1,
  .modality-page .hero-copy h1{font-size:45px!important}
  .portal-page .hero-copy > p,
  .modality-page .hero-copy > p{font-size:17px!important;max-width:none!important}
}


/* V9.1 - fallback universal para imagens dos heróis internos */
.modality-page .hero-modality::before{
  background-image:linear-gradient(90deg,var(--theme-deep) 0%,var(--theme-deep) 34%,rgba(0,0,0,.42) 58%,rgba(0,0,0,.08) 82%),var(--hero-image)!important;
  background-size:cover!important;
  background-position:center right!important;
  background-repeat:no-repeat!important;
}
@media(max-width:720px){
  .modality-page .hero-modality::before{
    background-image:linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.18) 35%,var(--theme-deep) 66%,var(--theme-deep) 100%),var(--hero-image)!important;
    background-position:center top!important;
    background-size:auto 58%,auto 58%!important;
    background-repeat:no-repeat!important;
    background-color:var(--theme-deep)!important;
  }
}


/* Correção da caixa de privacidade: links funcionais e melhor espaçamento */
.cookie-banner>.btn{margin-bottom:14px!important}
.cookie-links{margin-top:0!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
.cookie-links button{
  min-height:32px!important;
  padding:6px 9px!important;
  border-radius:8px!important;
  font-size:11px!important;
  line-height:1.2!important;
  cursor:pointer!important;
}
.cookie-links button:hover{background:var(--theme-soft)!important;text-decoration:underline!important}


/* Garantia Judicial - identidade preta */
.modality-page[data-theme="judicial"]{
  --theme:#1a1a1a;
  --theme-deep:#000000;
  --theme-soft:#f1f1f1;
}
.modality-page[data-theme="judicial"] .site-header{
  background:#000000!important;
}
@media(max-width:980px){
  .modality-page[data-theme="judicial"] .main-nav{
    background:#000000!important;
  }
}


/* V11.1 - aviso de modelo demonstrativo no rodape */
.demo-notice{
  margin-top:36px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  background:rgba(255,255,255,.07);
}
.demo-notice strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
.demo-notice p{
  margin:0;
  max-width:1050px;
  color:rgba(255,255,255,.76);
  font-size:13px;
  line-height:1.65;
}
.demo-notice + .footer-bottom{margin-top:24px}
@media(max-width:680px){
  .demo-notice{margin-top:28px;padding:18px}
  .demo-notice p{font-size:12px}
}
