/* Cabecalho, menu e rodape padrao do site (mesmo layout usado em Views/Home/index.html).
   Injetado automaticamente pelo HomeController.StaticPage em todas as paginas estaticas.
   Todas as regras ficam sob o namespace .cetes-chrome para nao conflitar com o CSS legado
   de cada pagina (bootstrap, doutor.css, mpi.css etc.), que reaproveitam nomes de classe
   genericos como .container, .nav e .btn. */

:root {
  --red: #a51218;
  --red-dark: #6f0c10;
  --green-dark: #0d5c3b;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #e6e9ee;
  --soft-green: #e9f5ef;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(17, 24, 39, .12);
}

.cetes-chrome,
.cetes-chrome * {
  box-sizing: border-box;
}

.cetes-chrome {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

.cetes-chrome a {
  text-decoration: none;
}

.cetes-chrome img,
.cetes-chrome svg {
  display: block;
  max-width: 100%;
}

.cetes-chrome.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.cetes-chrome.skip-link:focus {
  top: 16px;
}

/* Paginas internas nao tem banner/hero atras do menu, entao o cabecalho
   fica solido (fundo vermelho) e no fluxo normal, em vez de flutuar transparente. */
.cetes-chrome.site-header {
  position: static;
  background: var(--red);
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.cetes-chrome .nav {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cetes-chrome.site-header::before,
.cetes-chrome.site-header::after,
.cetes-chrome .nav::before,
.cetes-chrome .nav::after {
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cetes-chrome .brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.cetes-chrome .brand img {
  width: 146px;
  height: auto;
}

.cetes-chrome .nav-menu {
  display: flex;
  align-items: center;
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.cetes-chrome .nav-menu > li {
  position: relative;
}

.cetes-chrome .nav-menu > li > a {
  display: block;
  padding: 10px 10px;
  color: var(--white);
  font-size: .8rem;
  font-weight: 400;
  border-radius: var(--radius);
  white-space: nowrap;
}

.cetes-chrome .nav-menu > li > a:hover,
.cetes-chrome .nav-menu > li > a:focus {
  color: var(--red-dark);
  background: rgba(255, 255, 255, .92);
  outline: none;
}

.cetes-chrome .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 286px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 80;
}

.cetes-chrome .nav-menu li:hover .dropdown,
.cetes-chrome .nav-menu li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cetes-chrome .dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  font-size: .9rem;
  border-radius: 6px;
}

.cetes-chrome .dropdown a:hover,
.cetes-chrome .dropdown a:focus {
  color: var(--green-dark);
  background: var(--soft-green);
  outline: none;
}

.cetes-chrome .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cetes-chrome .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: .86rem;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.cetes-chrome .btn:hover,
.cetes-chrome .btn:focus {
  transform: translateY(-1px);
  outline: none;
}

.cetes-chrome .btn-primary {
  color: var(--red-dark);
  background: var(--white);
  box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}

.cetes-chrome .btn-primary:hover,
.cetes-chrome .btn-primary:focus {
  color: var(--white);
  background: var(--red-dark);
}

.cetes-chrome .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}

.cetes-chrome .menu-toggle span,
.cetes-chrome .menu-toggle::before,
.cetes-chrome .menu-toggle::after {
  content: "";
  width: 19px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px;
}

.cetes-chrome .menu-toggle span {
  margin: 5px 0;
}

@media (max-width: 1080px) {
  .cetes-chrome .nav {
    gap: 14px;
  }

  .cetes-chrome .nav-menu > li > a {
    padding-inline: 9px;
  }
}

@media (max-width: 900px) {
  .cetes-chrome .menu-toggle {
    display: inline-grid;
  }

  .cetes-chrome .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 14px 20px 18px;
    background: rgba(111, 12, 16, .96);
    border-bottom: 0;
    box-shadow: var(--shadow);
    z-index: 90;
  }

  .cetes-chrome .nav-menu.is-open {
    display: flex;
  }

  .cetes-chrome .dropdown {
    position: static;
    width: auto;
    display: none;
    margin: 3px 0 9px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .cetes-chrome .nav-menu li.is-open .dropdown {
    display: block;
  }

  .cetes-chrome .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .cetes-chrome .nav {
    width: min(100% - 28px, 1180px);
  }

  .cetes-chrome .brand img {
    width: 145px;
  }
}

/* Rodape */
.cetes-chrome.footer {
  color: #aab3c2;
  background: #0d121b;
}

.cetes-chrome .footer-main {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr 1.1fr;
  gap: 36px;
  padding: 66px 0 34px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cetes-chrome .footer-logo {
  display: inline-flex;
  padding: 0;
  margin-bottom: 18px;
  border-radius: var(--radius);
}

.cetes-chrome .footer-logo img {
  width: 184px;
  height: auto;
}

.cetes-chrome .footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cetes-chrome .footer-brand-block .footer-logo {
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
}

.cetes-chrome .footer-brand-block .footer-logo img {
  margin: 0 auto;
}

.cetes-chrome .footer-brand-block p {
  max-width: 310px;
  margin: 0 auto;
}

.cetes-chrome.footer h2,
.cetes-chrome.footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: .88rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cetes-chrome.footer p {
  margin: 0;
  font-size: .92rem;
}

.cetes-chrome.footer a {
  display: block;
  padding: 5px 0;
  color: #cdd4de;
  font-size: .92rem;
}

.cetes-chrome.footer a:hover,
.cetes-chrome.footer a:focus {
  color: var(--white);
  outline: none;
}

.cetes-chrome .footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cetes-chrome .footer-bottom a {
  display: inline;
  padding: 0;
}

@media (max-width: 1080px) {
  .cetes-chrome .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cetes-chrome .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Botoes sociais flutuantes */
.cetes-chrome.social-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 43.5px;
  height: 43.5px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #19b864;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(25, 184, 100, .38);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cetes-chrome.instagram-float {
  right: 77px;
  background: radial-gradient(circle at 30% 110%, #fdf497 0 16%, #fd5949 42%, #d6249f 68%, #285aeb 100%);
  box-shadow: 0 12px 26px rgba(214, 36, 159, .32);
}

.cetes-chrome.wa-float {
  background: #19b864;
  box-shadow: 0 12px 26px rgba(25, 184, 100, .38);
}

.cetes-chrome.social-float:hover,
.cetes-chrome.social-float:focus {
  outline: none;
  transform: translateY(-2px);
}

.cetes-chrome.instagram-float:hover,
.cetes-chrome.instagram-float:focus {
  box-shadow: 0 16px 34px rgba(214, 36, 159, .42);
}

.cetes-chrome.wa-float:hover,
.cetes-chrome.wa-float:focus {
  background: #12a957;
  box-shadow: 0 16px 34px rgba(25, 184, 100, .46);
}

.cetes-chrome.social-float svg {
  width: 23.25px;
  height: 23.25px;
  fill: currentColor;
}

.cetes-chrome.instagram-float svg {
  width: 21px;
  height: 21px;
}

/* Envolve o conteudo unico de cada pagina entre o cabecalho e o rodape padrao. */
#conteudo {
  min-height: 40vh;
}

/* Faixa CTA "Conheca mais servicos" - injetada em todas as paginas via _SiteFooter.html */
.cetes-chrome.mais-servicos-cta {
  background: linear-gradient(115deg, #8f0f12, #ac1313);
  color: #fff;
}
.mais-servicos-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.mais-servicos-inner .ms-text { flex: 1 1 320px; }
.mais-servicos-inner h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}
.mais-servicos-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.5;
}
.mais-servicos-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  background: #fff;
  color: #ac1313;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  border: 2px solid #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mais-servicos-btn:hover,
.mais-servicos-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
  text-decoration: none;
}
@media (max-width: 640px) {
  .mais-servicos-inner { justify-content: center; text-align: center; padding: 34px 0; }
  .mais-servicos-btn { width: 100%; }
}
