@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap");

:root{
  --kst-navy:#061b2b;
  --kst-navy-2:#0a2940;
  --kst-navy-3:#123b55;
  --kst-blue:#168fbd;
  --kst-pale:#eef5f8;
  --kst-muted:#b8cbd5;
  --kst-line:rgba(10,41,64,.12);
}

#kinsman-global-header,#kinsman-global-footer{width:100%}
.kst-global-header,.kst-global-footer,.kst-whatsapp{
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  box-sizing:border-box;
}
.kst-global-header *,.kst-global-footer *,.kst-whatsapp *{box-sizing:border-box}

/* HEADER DESKTOP */
.kst-global-header{
  position:sticky;top:0;z-index:10000;width:100%;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--kst-line);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.kst-header-inner{
  width:min(1180px,calc(100% - 40px));height:84px;margin:0 auto;
  display:flex;align-items:center;gap:28px;
}
.kst-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.kst-brand img{display:block;width:220px;max-width:220px;height:auto;max-height:62px;object-fit:contain}
.kst-nav{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-left:auto;min-width:0}
.kst-nav a{color:#2a4352;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.kst-nav a:hover,.kst-nav a[aria-current="page"]{color:#087cab}
.kst-header-cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;
  border-radius:10px;background:var(--kst-navy-2);color:#fff!important;
  font-size:13px!important;font-weight:800!important;text-decoration:none;white-space:nowrap
}
.kst-header-cta:hover{background:var(--kst-navy-3)!important}
.kst-menu-toggle{
  display:none;width:44px;height:44px;flex:0 0 44px;border:1px solid var(--kst-line);
  border-radius:12px;background:#fff;color:var(--kst-navy);align-items:center;justify-content:center;cursor:pointer;padding:0
}
.kst-menu-toggle span{position:relative;display:block;width:20px;height:2px;background:currentColor}
.kst-menu-toggle span::before,.kst-menu-toggle span::after{
  content:"";position:absolute;left:0;width:20px;height:2px;background:currentColor
}
.kst-menu-toggle span::before{top:-6px}.kst-menu-toggle span::after{top:6px}

/* FOOTER DESKTOP */
.kst-global-footer{width:100%;margin:0;padding:58px 0 24px;background:var(--kst-navy);color:var(--kst-muted)}
.kst-footer-grid{
  width:min(1180px,calc(100% - 40px));margin:0 auto;
  display:grid;grid-template-columns:1.35fr 1fr 1.05fr 1.1fr;gap:42px;align-items:start
}
.kst-footer-brand img{
  display:block;width:210px;max-width:100%;height:auto;background:#fff;border-radius:12px;padding:8px 12px
}
.kst-footer-brand p{max-width:320px;margin:18px 0 0;font-size:14px;line-height:1.65;color:#c1d0d7}
.kst-footer-col{display:grid;gap:10px;align-content:start;min-width:0}
.kst-footer-col strong{color:#fff;font-size:14px;margin-bottom:5px}
.kst-footer-col a,.kst-footer-cookie{
  color:#c1d0d7;text-decoration:none;font-size:13px;line-height:1.45;background:none;border:0;padding:0;
  text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere
}
.kst-footer-col a:hover,.kst-footer-cookie:hover{color:#fff}
.kst-footer-bottom{
  width:min(1180px,calc(100% - 40px));margin:40px auto 0;padding-top:20px;
  border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;
  gap:18px;flex-wrap:wrap;font-size:12px;line-height:1.5;color:#9fb5c1
}

/* WHATSAPP — SOMENTE BOTÃO FLUTUANTE */
.kst-whatsapp{
  position:fixed;right:24px;bottom:24px;z-index:10001;
  width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
  max-width:54px!important;max-height:54px!important;padding:0!important;
  display:flex!important;align-items:center;justify-content:center;border-radius:50%!important;
  background:#25d366!important;color:#fff!important;text-decoration:none!important;
  box-shadow:0 10px 28px rgba(4,23,34,.24);overflow:visible
}
.kst-whatsapp svg{
  width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;
  max-width:29px!important;max-height:29px!important;display:block;flex:0 0 29px
}
.kst-whatsapp-tooltip{
  position:absolute;right:67px;white-space:nowrap;padding:8px 11px;border-radius:8px;
  background:var(--kst-navy);color:#fff;font-size:12px;font-weight:700;line-height:1;
  opacity:0;visibility:hidden;pointer-events:none
}
.kst-whatsapp:hover .kst-whatsapp-tooltip{opacity:1;visibility:visible}

/* remove duplicados/legados */
body>a.float,body>.float,a.float[href*="wa.me"],a.float[href*="whatsapp"],
.whatsapp-bar,.whatsapp-bottom-bar,.fale-conosco-bar{display:none!important}

/* MOBILE */
@media(max-width:1000px){
  .kst-header-inner{width:calc(100% - 28px);height:68px;gap:12px}
  .kst-brand{min-width:0}
  .kst-brand img{width:165px;max-width:165px}
  .kst-menu-toggle{display:flex;margin-left:auto}
  .kst-nav{
    position:absolute;top:68px;left:14px;right:14px;width:auto;margin:0;padding:12px;
    display:none;flex-direction:column;align-items:stretch;gap:4px;background:#fff;
    border:1px solid var(--kst-line);border-radius:14px;box-shadow:0 18px 50px rgba(4,23,34,.16);z-index:10002
  }
  .kst-nav.kst-nav-open{display:flex}
  .kst-nav a{
    display:block;width:100%;padding:12px 13px;border-radius:9px;color:var(--kst-navy)!important;
    font-size:14px;white-space:normal
  }
  .kst-nav a:hover{background:var(--kst-pale)}
  .kst-header-cta{width:100%;min-height:46px;margin-top:5px;color:#fff!important}

  .kst-footer-grid{
    width:calc(100% - 32px);grid-template-columns:1fr 1fr;gap:30px 28px
  }
  .kst-footer-brand{grid-column:1/-1}
  .kst-footer-brand img{width:190px}
  .kst-footer-brand p{max-width:520px;font-size:13px}
  .kst-footer-bottom{width:calc(100% - 32px);margin-top:32px}

  .kst-whatsapp{
    right:16px;bottom:16px;width:50px!important;height:50px!important;
    min-width:50px!important;min-height:50px!important;max-width:50px!important;max-height:50px!important
  }
  .kst-whatsapp svg{
    width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;
    max-width:27px!important;max-height:27px!important
  }
  .kst-whatsapp-tooltip{display:none!important}
}

@media(max-width:650px){
  .kst-global-footer{padding:44px 0 22px}
  .kst-footer-grid{grid-template-columns:1fr;gap:24px}
  .kst-footer-brand{grid-column:auto}
  .kst-footer-brand img{width:175px;max-width:175px;padding:7px 10px}
  .kst-footer-brand p{margin-top:14px;font-size:13px;line-height:1.6}
  .kst-footer-col{gap:8px}
  .kst-footer-col strong{font-size:15px;margin-bottom:2px}
  .kst-footer-col a,.kst-footer-cookie{font-size:14px;line-height:1.5}
  .kst-footer-bottom{flex-direction:column;gap:6px;margin-top:28px;padding-top:18px;font-size:12px}
}

/* =========================================================
   KINSMAN — FIX FOOTER + MOBILE v11
   Cole no FINAL do kinsman-global.css
   ========================================================= */

/* legal links em desktop e mobile */
.kst-footer-legal{
  width:min(1180px,calc(100% - 40px));
  margin:28px auto 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  color:#9fb5c1;
  font-size:12px;
  line-height:1.5;
}

.kst-footer-legal a,
.kst-footer-legal button{
  color:#b9c9d1;
  text-decoration:none;
  background:none;
  border:0;
  padding:0;
  font:inherit;
  cursor:pointer;
}

.kst-footer-legal a:hover,
.kst-footer-legal button:hover{
  color:#fff;
}

/* garante que barra Fale conosco não apareça */
body > .float,
body > a.float,
.whatsapp-bar,
.whatsapp-bottom-bar,
.fale-conosco-bar,
.floating-whatsapp-bar{
  display:none !important;
}

/* garante botão flutuante correto */
.kst-whatsapp{
  position:fixed !important;
  right:24px !important;
  bottom:24px !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  min-height:54px !important;
  max-width:54px !important;
  max-height:54px !important;
  padding:0 !important;
  border-radius:50% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#25d366 !important;
  color:#fff !important;
  z-index:10001 !important;
}

.kst-whatsapp svg{
  width:29px !important;
  height:29px !important;
  max-width:29px !important;
  max-height:29px !important;
}

/* MOBILE */
@media(max-width:1000px){

  .kst-header-inner{
    width:calc(100% - 28px) !important;
    height:68px !important;
  }

  .kst-brand img{
    width:165px !important;
    max-width:165px !important;
  }

  .kst-menu-toggle{
    display:flex !important;
    margin-left:auto !important;
  }

  .kst-nav{
    display:none !important;
    position:absolute !important;
    top:68px !important;
    left:14px !important;
    right:14px !important;
    margin:0 !important;
    padding:12px !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:4px !important;
    background:#fff !important;
    border:1px solid rgba(10,41,64,.12) !important;
    border-radius:14px !important;
    box-shadow:0 18px 50px rgba(4,23,34,.16) !important;
    z-index:10002 !important;
  }

  .kst-nav.kst-nav-open{
    display:flex !important;
  }

  .kst-nav a{
    width:100% !important;
    padding:12px 13px !important;
    color:#061b2b !important;
    white-space:normal !important;
  }

  .kst-header-cta{
    width:100% !important;
    color:#fff !important;
  }

  .kst-footer-grid{
    width:calc(100% - 32px) !important;
    grid-template-columns:1fr 1fr !important;
    gap:30px 28px !important;
  }

  .kst-footer-brand{
    grid-column:1 / -1 !important;
  }

  .kst-footer-brand img{
    width:185px !important;
    max-width:185px !important;
  }

  .kst-footer-brand p{
    max-width:500px !important;
  }

  .kst-footer-legal,
  .kst-footer-bottom{
    width:calc(100% - 32px) !important;
  }

  .kst-whatsapp{
    right:16px !important;
    bottom:16px !important;
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    min-height:50px !important;
    max-width:50px !important;
    max-height:50px !important;
  }

  .kst-whatsapp svg{
    width:27px !important;
    height:27px !important;
  }
}

@media(max-width:650px){

  .kst-footer-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .kst-footer-brand{
    grid-column:auto !important;
  }

  .kst-footer-brand img{
    width:175px !important;
    max-width:175px !important;
  }

  .kst-footer-col{
    gap:8px !important;
  }

  .kst-footer-col strong{
    font-size:15px !important;
  }

  .kst-footer-col a{
    font-size:14px !important;
    line-height:1.5 !important;
  }

  .kst-footer-legal{
    gap:8px !important;
    margin-top:24px !important;
    padding-top:18px !important;
    text-align:center !important;
    font-size:12px !important;
  }

  .kst-footer-bottom{
    flex-direction:column !important;
    gap:6px !important;
    margin-top:18px !important;
  }
}
