
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans";
}



:root {
  --topbar-height: 97px;
  --mobile-topbar-height: 90px;
  --desktop-header-edge-spacing: 40px;
}

/*estilo de fundo animado neon*/
/*body{
  margin:0;
  height:100vh;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #ff4d4d);
  animation: animarFundo 12s ease infinite;
}

@keyframes animarFundo{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
}*/

.clear{
    clear: both;
}

header.topbar {
    width:100%;
    background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
    background-size: 400% 400%;
    animation: animarFundo_head 12s ease infinite;
    /*background: radial-gradient(circle at center, #ff3b3bf3 0%, #d32f2ff5 35%, #b71c1cf1 65%, #7f0000f8 100%); ESTAVA USANDO ESSE*/
    /*background: radial-gradient(circle at center, #ff3b3b 0%, #d32f2f 35%, #b71c1c 65%, #7f0000 100%);*/
    height: var(--topbar-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.9);
}


@keyframes animarFundo_head{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
    }




  .menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    margin-right: 12px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

nav.nav{
    float: right;
  margin-right: var(--desktop-header-edge-spacing);
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-indicator {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #ff1744);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 12px rgba(255, 23, 68, 0.2);
  border-radius: 999px;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  pointer-events: none;
}

nav.nav a{
    color: #fff;
    text-decoration: none;
    margin-left: 0;
    font-size: 20px;
    font-weight: bold;
  display: inline-block;
  padding: 7px 10px;
  border-radius: 8px;
  opacity: 0.9;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.nav-logout-form {
  margin: 0;
}

.nav-logout-btn {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
  padding: 7px 10px;
  border-radius: 8px;
  opacity: 0.9;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-logout-btn:hover {
  opacity: 1;
}

nav.nav a:hover{
  opacity: 1;
}

nav.nav a::after{
  display: none;
}

nav.nav a.is-active{
  background: transparent;
  opacity: 1;
}

nav.nav a.is-active::after{
  display: none;
}

.footer{
    width:100%;
    background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
    background-size: 400% 400%;
    animation: animarFundo_footer 12s ease infinite;
   /* background: radial-gradient(circle at center, #ff3b3bf3 0%, #d32f2ff5 35%, #b71c1cf1 65%, #7f0000f8 100%); ESTAVA USANDO ESSE */
    /*background: radial-gradient(circle at center, #ff3b3b 0%, #d32f2f 35%, #b71c1c 65%, #7f0000 100%);*/
    min-height: 78px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    margin-top: 0;
    color: white;
    border-top: 0;
  }

  .footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: rgba(255, 255, 255, 0.9);
}

@keyframes animarFundo_footer{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
    }

  .footer p {
    margin: 0;
    line-height: 1.35;
    text-align: center;
  }

.logo{
    width: clamp(200px, 25vw, 280px);
    float: left;
    margin-top: -33px;
  margin-left: calc(-1 * var(--desktop-header-edge-spacing));
}

.logo img{
    width:100%;
    height: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

section.baner{
    width:100%;
    min-height: 0;
    max-height: 1000px;
    margin-top: var(--topbar-height);
}

.ban-lef{
    width: 64%;
    height: 675px;
    float: left;
}

.ban-lef img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.form-login{
    width:36%;
    background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
    background-size: 400% 400%;
    animation: animarFundo 12s ease infinite;
    float: right;
    height: 675px;
    text-align: center;
    position: relative;
}

.form-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    display: none;
}



@keyframes animarFundo{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
    }


.form-login-conteudo{
    padding: 20px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.form-login-conteudo form{
    position: relative;
}

.form-login-feedback {
  width: 80%;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-login-conteudo form h2{
    color: #fff;
  margin-bottom: 24px;
}

.form-login-conteudo .alert {
  width: 100%;
  margin: 0;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-login-conteudo .alert.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.form-login-conteudo .alert-error {
  color: #fff;
  background: rgba(174, 16, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.form-login-conteudo .alert-success {
  color: #fff;
  background: rgba(23, 112, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.flash-messages .alert-error {
  color: #fff;
  background: rgba(174, 16, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.flash-messages .alert-success {
  color: #fff;
  background: rgba(23, 112, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.form-login-conteudo form input{
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}



.form-login-conteudo .email-row {
  width: 80%;
  margin: 20px auto;
  position: relative;
}

.form-login-conteudo .email-row input,
.form-login-conteudo .password-field input {
  width: 100%;
  margin: 0;
  padding: 14px 10px 8px;
}

.form-login-conteudo .password-field input {
  padding-right: 46px;
}

.form-login-conteudo .email-row .user-ani,
.form-login-conteudo .password-field .user-ani,
.form-register .register-field .user-ani,
.form-register .password-field .user-ani {
  position: absolute;
  left: 12px;
  top: 50%;
  color: rgba(58, 53, 47, 0.9);
  background: transparent;
  padding: 0 4px;
  border-radius: 3px;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: top 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), font-size 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-register .register-field .user-ani,
.form-register .password-field .user-ani {
  font-size: 14px;
}

.form-login-conteudo .email-row input:focus + .user-ani,
.form-login-conteudo .email-row input:not(:placeholder-shown) + .user-ani,
.form-login-conteudo .email-row input:-webkit-autofill + .user-ani,
.form-login-conteudo .password-field input:focus ~ .user-ani,
.form-login-conteudo .password-field input:not(:placeholder-shown) ~ .user-ani,
.form-login-conteudo .password-field input:-webkit-autofill ~ .user-ani,
.form-register .register-field input:focus + .user-ani,
.form-register .register-field input:not(:placeholder-shown) + .user-ani,
.form-register .register-field input:-webkit-autofill + .user-ani,
.form-register .password-field input:focus ~ .user-ani,
.form-register .password-field input:not(:placeholder-shown) ~ .user-ani,
.form-register .password-field input:-webkit-autofill ~ .user-ani {
  top: -9px;
  transform: translateY(0);
  color: #ffe9e9;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  font-size: 15px;
}

.form-register .register-field input:focus + .user-ani,
.form-register .register-field input:not(:placeholder-shown) + .user-ani,
.form-register .register-field input:-webkit-autofill + .user-ani,
.form-register .password-field input:focus ~ .user-ani,
.form-register .password-field input:not(:placeholder-shown) ~ .user-ani,
.form-register .password-field input:-webkit-autofill ~ .user-ani {
  font-size: 13px;
}

.form-login-conteudo .email-row input::placeholder {
  color: transparent;
}

.form-login-conteudo .password-field input::placeholder,
.form-register .register-field input::placeholder,
.form-register .password-field input::placeholder {
  color: transparent;
}

/* Remove o botao nativo de revelar senha no Edge/IE para evitar icone duplicado. */
.form-login-conteudo .password-field input::-ms-reveal,
.form-login-conteudo .password-field input::-ms-clear,
.form-register .password-field input::-ms-reveal,
.form-register .password-field input::-ms-clear {
  display: none;
}




  .form-login-conteudo .password-field {
    width: 80%;
    margin: 20px auto;
    position: relative;
  }

  .form-login-conteudo .password-field input {
    width: 100%;
    margin: 0;
    padding-right: 46px;
  }

  .form-login-conteudo .password-toggle {
    --eye-track-x: 0px;
    --eye-track-y: 0px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #3f3f3f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: background-color 0.2s ease;
  }

  .form-login-conteudo .password-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  .form-login-conteudo .password-toggle:focus-visible {
    outline: 2px solid rgba(183, 28, 28, 0.8);
    outline-offset: 2px;
  }

  .form-login-conteudo .password-icon.password-icon-hide {
    display: none;
  }

  .form-login-conteudo .password-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .form-login-conteudo .password-icon svg {
    display: block;
  }

  .form-login-conteudo .password-icon-show .eye-pupil {
    transform: translate(var(--eye-track-x), var(--eye-track-y));
    transform-origin: center;
    transition: transform 0.12s linear;
  }

  .form-login-conteudo .password-toggle.is-visible .password-icon-show {
    display: none;
  }

  .form-login-conteudo .password-toggle.is-visible .password-icon-hide {
    display: inline-flex;
  }

  .form-login-conteudo form .login-submit{
    width: 30%;
    padding: 10px;
    background-color: #b71c1c;
    color: #faf4f4;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    border: 1px solid rgb(214, 118, 118);
    margin-top: 10px;
}

.form-login-conteudo .login-access-links {
  width: 80%;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
}

.form-login-conteudo .login-access-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 0 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.form-login-conteudo .login-access-link:hover,
.form-login-conteudo .login-access-link:focus-visible {
  opacity: 0.92;
}

main {
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
  padding: 48px 20px 16px;
}

body.page-home main {
  padding: 0;
}

.page-inner main {
  position: relative;
  margin-top: var(--topbar-height);
  min-height: auto;
}

.flash-messages {
  width: 100%;
  max-width: 640px;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.flash-messages .alert {
  display: inline-block;
  width: auto;
  min-width: min(320px, 100%);
  max-width: 560px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.flash-messages .alert.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}



.info-page {
  max-width: 1100px;
  margin: 0 auto;
}

.info-about,
.info-contact,
.info-revisoes,
.register-section {
  min-height: calc(100vh - var(--topbar-height) + 80px);
  padding-bottom: clamp(96px, 14vh, 180px);
}

.info-hero {
  font-size: 18px;
  border-left: 5px solid #b71c1c;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(127, 0, 0, 0.2);
  line-height: 1.6;
}

.info-hero h1 {
  font-size: 34px;
  margin-bottom: 8px;
  color: #8f0000;
}

.info-hero p {
  font-size: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.info-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-left: 5px solid #b71c1c;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  animation: animarListra 12s ease infinite;
}

.info-card h2 {
  color: #8f0000;
  margin-bottom: 10px;
}

.info-card p {
  color: #1f1f1f;
  line-height: 1.6;
  margin-bottom: 8px;
}

@keyframes animarListra {
  0%   { border-color: #7f0000; }
  33%  { border-color: #c62828; }
  66%  { border-color: #f14545; }
  100% { border-color: #7f0000; }
}

.info-revisoes {
  --revisoes-accent-gradient: linear-gradient(135deg, #8f0000 0%, #b71c1c 38%, #d84343 72%, #f14545 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@keyframes revisoesAccentFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.revisoes-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(183, 28, 28, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
}

.revisoes-kicker,
.revisoes-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(183, 28, 28, 0.1);
  color: #8f0000;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.revisoes-kicker {
  margin-bottom: 12px;
}

.revisoes-care-card .revisoes-section-kicker {
  margin-bottom: 12px;
}

.revisoes-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.revisoes-hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(183, 28, 28, 0.14);
  box-shadow: 0 8px 20px rgba(127, 0, 0, 0.08);
  font-weight: 700;
  color: #5f0b0b;
}

.revisoes-highlight-grid,
.revisoes-timeline,
.revisoes-faq,
.revisoes-marcos-grid,
.revisoes-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.revisoes-highlight-card,
.revisoes-step-card,
.revisoes-faq-card,
.revisoes-care-card,
.revisoes-note-panel,
.revisoes-cta {
  background: #fff;
  border: 1px solid rgba(183, 28, 28, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(127, 0, 0, 0.1);
}

.revisoes-highlight-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-top: 4px solid transparent;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.revisoes-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--revisoes-accent-gradient);
  background-size: 200% 200%;
  animation: revisoesAccentFlow 8s ease infinite;
}

.revisoes-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(127, 0, 0, 0.14);
}

.revisoes-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #ffffff;
  color: #333;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.revisoes-highlight-card h2,
.revisoes-step-card h3,
.revisoes-faq-card h3,
.revisoes-care-card h2,
.revisoes-cta h2 {
  color: #8f0000;
}

.revisoes-highlight-card p,
.revisoes-step-card p,
.revisoes-faq-card p,
.revisoes-care-card p,
.revisoes-cta p {
  margin: 0;
  line-height: 1.65;
  color: #2b2b2b;
}

.revisoes-section-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.revisoes-highlight-grid--premium {
  margin-top: 4px;
}

.revisoes-hero {
  border-left-width: 6px;
  box-shadow: 0 18px 40px rgba(127, 0, 0, 0.16);
}

.revisoes-step-card,
.revisoes-note-panel,
.revisoes-care-card {
  position: relative;
  overflow: hidden;
}

.revisoes-step-card::after,
.revisoes-note-panel::after,
.revisoes-care-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(183, 28, 28, 0.03), transparent 45%);
  pointer-events: none;
}

.revisoes-step-card h3,
.revisoes-note-panel h2,
.revisoes-care-card h2 {
  position: relative;
  z-index: 1;
}

.revisoes-step-card p,
.revisoes-note-panel p,
.revisoes-care-card p,
.revisoes-list {
  position: relative;
  z-index: 1;
}

.revisoes-section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.revisoes-section-head h2 {
  margin: 0;
  color: #8f0000;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.revisoes-section-head p {
  margin: 0;
  line-height: 1.7;
}

@media screen and (min-width: 768px) {
  .revisoes-section-head--desktop-center {
    align-items: center;
    text-align: center;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 28px;
  }

  .revisoes-section-head--desktop-center h2 {
    max-width: 680px;
  }

  .revisoes-section-head--desktop-center p {
    max-width: 640px;
  }
}

.revisoes-step-card {
  padding: 18px;
}

.revisoes-step-card--marco {
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.revisoes-controle-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.revisoes-controle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 18px 14px 12px;
  border: 1.5px solid rgba(30, 30, 30, 0.78);
  border-radius: 12px;
  background: linear-gradient(180deg, #fcfcfc 0%, #f3f3f3 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.revisoes-controle-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--revisoes-accent-gradient);
  background-size: 200% 200%;
  animation: revisoesAccentFlow 8s ease infinite;
}

.revisoes-controle-card--compact {
  min-height: 220px;
}

.revisoes-controle-top {
  text-align: center;
  margin-bottom: 16px;
}

.revisoes-controle-top strong {
  display: block;
  color: #111;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.revisoes-controle-top small {
  display: block;
  margin-top: 2px;
  color: #3c3c3c;
  font-size: 0.82rem;
}

.revisoes-controle-top h3 {
  margin: 10px 0 0;
  color: #111;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.revisoes-controle-card--compact .revisoes-controle-top h3 {
  font-style: italic;
  font-size: 1.05rem;
}

.revisoes-controle-fields {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.revisoes-controle-field {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: #1f1f1f;
  font-size: 0.9rem;
  line-height: 1.4;
}

.revisoes-controle-field span:first-child {
  white-space: nowrap;
}

.revisoes-controle-line {
  display: block;
  flex: 1;
  min-width: 36px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.75);
  transform: translateY(-2px);
}

.revisoes-controle-field--date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.revisoes-controle-date-place {
  font-family: "Courier New", monospace;
  letter-spacing: 0.04em;
}

.revisoes-controle-assinatura {
  margin-top: auto;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ececec 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.revisoes-controle-rodape {
  margin: 6px 0 0;
  color: #303030;
  font-size: 0.63rem;
  line-height: 1.35;
  text-align: center;
}

.revisoes-periodicas-board {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(183, 28, 28, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fbf5f5 100%);
  box-shadow: 0 12px 28px rgba(127, 0, 0, 0.08);
}

.revisoes-periodicas-board__header {
  position: relative;
  overflow: hidden;
  padding: 12px 16px;
  background: var(--revisoes-accent-gradient);
  background-size: 200% 200%;
  animation: revisoesAccentFlow 8s ease infinite;
}

.revisoes-periodicas-board__header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.revisoes-periodicas-board__header h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.revisoes-periodicas-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.revisoes-periodicas-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 10px 8px;
  border: 1.4px solid rgba(40, 40, 40, 0.72);
  border-radius: 10px;
  background: linear-gradient(180deg, #fdfdfd 0%, #f2f2f2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.revisoes-periodicas-card__top {
  text-align: center;
}

.revisoes-periodicas-card__top strong,
.revisoes-periodicas-card__top span,
.revisoes-periodicas-card__top small {
  display: block;
}

.revisoes-periodicas-card__top strong {
  color: #111;
  font-size: 0.98rem;
  font-weight: 800;
}

.revisoes-periodicas-card__top span {
  color: #111;
  font-size: 0.94rem;
}

.revisoes-periodicas-card__top small {
  margin-top: 2px;
  color: #333;
  font-size: 0.68rem;
}

.revisoes-periodicas-card__top h4 {
  margin: 8px 0 0;
  color: #111;
  font-size: 0.96rem;
  font-weight: 500;
}

.revisoes-periodicas-card__fields {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.revisoes-periodicas-card__field {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: #151515;
  font-size: 0.82rem;
  line-height: 1.2;
}

.revisoes-periodicas-card__field--triple {
  align-items: center;
}

.revisoes-periodicas-card__line {
  flex: 1;
  min-width: 18px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.72);
}

.revisoes-periodicas-card__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.72);
}

.revisoes-marco-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b71c1c, #d84343);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 18px rgba(183, 28, 28, 0.22);
}

.revisoes-step-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.revisoes-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(183, 28, 28, 0.1);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.revisoes-step-top h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.revisoes-step-top p {
  color: #6b2a2a;
  font-size: 0.96rem;
}

.revisoes-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.revisoes-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
  color: #222;
}

.revisoes-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #b71c1c;
  font-size: 1.2rem;
}

.revisoes-list--compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.revisoes-care-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.revisoes-care-card {
  padding: 20px;
}

.revisoes-note-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-left: 5px solid transparent;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.revisoes-note-panel::before,
.revisoes-faq-card::before,
.revisoes-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--revisoes-accent-gradient);
  background-size: 200% 200%;
  animation: revisoesAccentFlow 8s ease infinite;
}

.revisoes-note-panel--soft {
  background: linear-gradient(135deg, #fffdfd 0%, #fff8f8 100%);
}

.revisoes-note-panel h2 {
  margin: 10px 0 10px;
  color: #8f0000;
}

.revisoes-note-panel p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: #2b2b2b;
}

.revisoes-care-card--alert {
  background: linear-gradient(135deg, #fffafa 0%, #fff3f3 100%);
}

.revisoes-faq-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-left: 4px solid transparent;
}

.revisoes-faq-card::before {
  width: 4px;
}

.revisoes-faq-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.revisoes-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #fff2f2 100%);
  border-left: 5px solid transparent;
}

.revisoes-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b71c1c, #d32f2f);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(183, 28, 28, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.revisoes-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(183, 28, 28, 0.3);
}

@media screen and (max-width: 900px) {
  .revisoes-care-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .revisoes-controle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .revisoes-periodicas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .revisoes-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .revisoes-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 767px) {
  .revisoes-hero,
  .revisoes-section-head,
  .revisoes-highlight-card,
  .revisoes-step-card,
  .revisoes-care-card,
  .revisoes-faq-card,
  .revisoes-cta,
  .revisoes-note-panel {
    text-align: center;
  }

  .revisoes-section-head,
  .revisoes-section-head.revisoes-section-head--desktop-center,
  .revisoes-step-top {
    align-items: center;
  }

  .revisoes-hero-badges {
    justify-content: center;
  }

  .revisoes-kicker,
  .revisoes-section-kicker,
  .revisoes-highlight-icon,
  .revisoes-marco-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .revisoes-step-top {
    flex-direction: column;
    text-align: center;
  }

  .revisoes-list {
    justify-items: center;
  }

  .revisoes-list li {
    max-width: 32rem;
    padding-left: 0;
    text-align: center;
  }

  .revisoes-list li::before {
    position: static;
    display: inline-block;
    margin-right: 6px;
  }
}

@media screen and (max-width: 480px) {
  .revisoes-kicker,
  .revisoes-section-kicker {
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .revisoes-highlight-card,
  .revisoes-step-card,
  .revisoes-faq-card,
  .revisoes-care-card,
  .revisoes-cta {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .revisoes-hero-badges span {
    width: 100%;
  }

  .revisoes-periodicas-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .revisoes-periodicas-card {
    min-height: auto;
  }

  .revisoes-list--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Revisões Pill Fixo --- */
.revisoes-pill-fixo {
  position: fixed;
  top: calc(var(--topbar-height) + 3px);
  right: 2px;
  left: auto;
  z-index: 990;
  white-space: nowrap;
  border-radius: 999px;
  animation: revisoesPillPulse 2.2s ease-in-out infinite;
  pointer-events: auto;
  max-width: calc(100vw - 4px);
}

.revisoes-pill-fixo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 18px rgba(127, 0, 0, 0.4);
  transition: filter 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  user-select: none;
}

.revisoes-pill-fixo-link:hover,
.revisoes-pill-fixo-link:focus-visible {
  filter: brightness(1.18);
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(127, 0, 0, 0.55);
  outline: none;
}

.revisoes-pill-fixo-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.revisoes-pill-fixo-icon {
  font-size: 1rem;
  line-height: 1;
}

.revisoes-pill-fixo-arrow {
  display: inline-block;
  transition: transform 0.22s ease;
  font-style: normal;
}

.revisoes-pill-fixo-link:hover .revisoes-pill-fixo-arrow {
  transform: translateX(4px);
}

@keyframes revisoesPillPulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(127, 0, 0, 0.4), 0 0 0 0 rgba(199, 40, 40, 0.55);
  }
  50% {
    box-shadow: 0 6px 28px rgba(127, 0, 0, 0.6), 0 0 0 9px rgba(199, 40, 40, 0);
  }
}

@media screen and (max-width: 1024px) {
  .revisoes-pill-fixo {
    top: calc(var(--mobile-topbar-height) + 4px);
    right: 6px;
    max-width: calc(100vw - 12px);
  }
}

@media screen and (max-width: 480px) {
  .revisoes-pill-fixo {
    right: 4px;
    max-width: calc(100vw - 8px);
  }

  .revisoes-pill-fixo-link {
    font-size: 0.8rem;
    padding: 8px 14px;
    gap: 6px;
  }
}

@media screen and (max-width: 360px) {
  .revisoes-pill-fixo {
    top: calc(82px + 4px);
    right: 4px;
    max-width: calc(100vw - 8px);
  }

  .revisoes-pill-fixo-link {
    font-size: 0.76rem;
    padding: 7px 11px;
  }
}
/* --- /Revisões Pill Fixo --- */

/* --- Modal Revisão --- */
.revisoes-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.revisoes-modal-overlay.is-open {
  display: flex;
}

.revisoes-modal {
  position: relative;
  background: #1a0000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #f14545;
  border-radius: 16px;
  padding: 36px 32px 32px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(127, 0, 0, 0.55);
  animation: revisaoModalEntrada 0.22s ease;
  color: #fff;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes revisaoModalEntrada {
  from { transform: scale(0.93) translateY(12px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.revisoes-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

.revisoes-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.revisoes-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.revisoes-modal-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.revisoes-modal-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-align: center;
}

.revisoes-modal-body {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.revisoes-pill-fixo {
  cursor: pointer;
}

@media (max-width: 480px) {
  .revisoes-modal {
    padding: 28px 20px 24px;
  }

  .revisoes-modal-header h2 {
    font-size: 1rem;
  }
}
/* --- /Modal Revisão --- */

/* --- Calculadora Revisão --- */
.revisoes-calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.revisoes-calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.revisoes-calc-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.revisoes-calc-optional {
  font-weight: 400;
  text-transform: none;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.revisoes-calc-field input,
.revisoes-calc-field select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  color-scheme: dark;
  width: 100%;
}

.revisoes-calc-field select {
  background: rgba(183, 28, 28, 0.14);
  border-color: rgba(241, 69, 69, 0.18);
}

.revisoes-calc-field select option {
  background: #6f1414;
  color: #fff;
}

.revisoes-calc-field select option:disabled {
  color: rgba(255, 255, 255, 0.7);
}

.revisoes-calc-field input:focus,
.revisoes-calc-field select:focus {
  border-color: #f14545;
  background: rgba(241, 69, 69, 0.1);
}

.revisoes-calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.03em;
  width: 100%;
}

.revisoes-calc-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.revisoes-calc-hint {
  font-size: 0.82rem;
  color: #ffcdd2;
  margin-bottom: 10px;
  text-align: center;
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid rgba(239, 154, 154, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
}

.revisoes-calc-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.revisoes-calc-results[hidden],
.revisoes-calc-result-card[hidden],
.revisoes-calc-hint[hidden] {
  display: none !important;
}

.revisoes-calc-result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
}

.revisoes-calc-result-card.status-ok   { border-left: 3px solid #4caf50; }
.revisoes-calc-result-card.status-warn { border-left: 3px solid #ff9800; }
.revisoes-calc-result-card.status-danger { border-left: 3px solid #f44336; }

.revisoes-calc-card-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.revisoes-calc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.revisoes-calc-badge.ok     { background: rgba(76, 175, 80, 0.2);  color: #81c784; }
.revisoes-calc-badge.warn   { background: rgba(255, 152, 0, 0.2);  color: #ffb74d; }
.revisoes-calc-badge.danger { background: rgba(244, 67, 54, 0.2);  color: #ef9a9a; }

.revisoes-calc-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.revisoes-calc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

.revisoes-calc-row-label {
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.revisoes-calc-row-value {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.revisoes-calc-inline-warning {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.revisoes-calc-inline-alert {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.14);
  border: 1px solid rgba(198, 40, 40, 0.26);
  color: #ffb3b3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.revisoes-calc-row-value--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.revisoes-calc-agendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b71c1c, #f14545);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.revisoes-calc-agendar-link:hover {
  filter: brightness(1.08);
}

.revisoes-calc-disclaimer {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}

.revisoes-calc-garantia-alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.revisoes-calc-garantia-alert--risk {
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.35);
  color: #ffe0b2;
}

.revisoes-calc-garantia-alert--loss {
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid rgba(239, 154, 154, 0.35);
  color: #ffcdd2;
}

.revisoes-calc-garantia-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 10px auto 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #062b13;
  font-weight: 700;
  text-decoration: none;
}

.revisoes-calc-garantia-link:hover {
  filter: brightness(1.05);
}

@media (max-width: 480px) {
  .revisoes-calc-row {
    flex-direction: column;
    gap: 2px;
  }

  .revisoes-calc-row-value {
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
  }

  .revisoes-calc-row-value--stack {
    align-items: flex-start;
  }
}
/* --- /Calculadora Revisão --- */

/* --- Fundador --- */
.about-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 20px;
  border-left: 5px solid #b71c1c;
  box-shadow: 0 12px 28px rgba(127, 0, 0, 0.18);
  padding: 36px 32px;
  text-align: center;
  animation: animarListra 12s ease infinite;
}

.about-founder-avatar-wrap {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  overflow: hidden;
  border: 5px solid #b71c1c;
  box-shadow: 0 8px 24px rgba(127, 0, 0, 0.35);
  flex-shrink: 0;
  animation: animarListra 12s ease infinite;
}

.about-founder-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.65));
}

.about-founder-title {
  font-size: 26px;
  color: #8f0000;
  margin-bottom: 18px;
}

.about-founder-title span {
  color: #b71c1c;
  position: relative;
}

.about-founder-title span::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
  border-radius: 999px;
  margin-top: 4px;
}

.about-founder-text p {
  color: #2c2c2c;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: center;
  padding: 0 2%;
}

.about-founder-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 700px) {
  .about-founder {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .about-founder-text p {
    text-align: left;
    padding: 0;
  }
}
/* --- /Fundador --- */



section.register-section{
  width:100%;
  text-align: center;
}



.form-register{
  display: inline-block;
  width:100%;
  max-width: 500px;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo-register 12s ease infinite;
  height:400px;
  border-radius: 4px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.55);
  overflow: hidden;
  background-clip: padding-box;
  will-change: background-position;
  transform: translateZ(0);
}




@keyframes animarFundo-register{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
    }


.form-register form{
  padding: 20px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.form-register form h2{
    color: #fff;
    margin-bottom: 24px;
}

.form-register form input{
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.form-register .register-field {
  width: 80%;
  margin: 20px auto;
  position: relative;
}

.form-register .register-field input,
.form-register .password-field input {
  width: 100%;
  margin: 0;
  padding: 14px 10px 8px;
}

  .form-register .password-field {
    width: 80%;
    margin: 20px auto;
    position: relative;
  }

  .form-register .password-field input {
    padding-right: 46px;
  }

  .form-register .password-toggle {
    --eye-track-x: 0px;
    --eye-track-y: 0px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #3f3f3f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: background-color 0.2s ease;
  }

  .form-register .password-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  .form-register .password-toggle:focus-visible {
    outline: 2px solid rgba(183, 28, 28, 0.8);
    outline-offset: 2px;
  }

  .form-register .password-icon.password-icon-hide {
    display: none;
  }

  .form-register .password-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .form-register .password-icon svg {
    display: block;
  }

  .form-register .password-icon-show .eye-pupil {
    transform: translate(var(--eye-track-x), var(--eye-track-y));
    transform-origin: center;
    transition: transform 0.12s linear;
  }

  .form-register .password-toggle.is-visible .password-icon-show {
    display: none;
  }

  .form-register .password-toggle.is-visible .password-icon-hide {
    display: inline-flex;
  }

  .password-toggle.is-blinking .password-icon-show svg,
  .password-toggle.is-blinking .password-icon-hide svg {
    transform-origin: center;
    animation: eyeBlinkFull 0.22s ease;
  }

  @keyframes eyeBlinkFull {
    0% {
      transform: scaleY(1);
    }

    45% {
      transform: translateY(0.5px) scaleY(0.06);
    }

    100% {
      transform: scaleY(1);
    }
  }

  .form-register form .register-submit{
    border: 1px solid rgb(214, 118, 118);
    margin-top: 10px;
    width:30%;
    padding: 10px;
    background-color: #b71c1c;
    color: #faf4f4;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}


/* ESTILO DO CAROUSEL QUE GIRA PARA PARA CIMA E PARA BAIXO */

.containerk {
  display: none;
  perspective: 1200px;
  width: 260px;
  aspect-ratio: 11 / 15;
  height: auto;
  margin: 32px auto 0;
  position: relative;
  overflow: visible;
}

.containerk::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 82%;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.14) 55%, rgba(0, 0, 0, 0) 100%);
  filter: blur(6px);
  pointer-events: none;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  z-index: 1;
}

.item {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 92, 92, 0.62) 0%, rgba(255, 58, 58, 0.2) 32%, rgba(255, 58, 58, 0) 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.item img{
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.item-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.32);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.containerk .item.is-redirecting {
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
}

.containerk .item.is-redirecting::before {
  animation: cardAttentionFlash 0.55s ease-out both;
}

.containerk .item.is-redirecting img {
  animation: cardAttentionZoom 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.containerk .item.is-redirecting .item-label {
  animation: cardLabelPulse 0.55s ease-out both;
}

@keyframes cardAttentionFlash {
  0% {
    opacity: 0;
  }

  35% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

@keyframes cardAttentionZoom {
  0% {
    transform: scale(1);
    filter: saturate(1);
  }

  55% {
    transform: scale(1.08);
    filter: saturate(1.15);
  }

  100% {
    transform: scale(1.03);
    filter: saturate(1.08);
  }
}

@keyframes cardLabelPulse {
  0% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-2px) scale(1.06);
  }

  100% {
    transform: translateY(0) scale(1.02);
  }
}


/* POSIÇÕES VISUAIS (SEGREDO AQUI 🔥) */
.item:nth-child(1) { transform: rotateY(-60deg) translateZ(60px) scale(0.7); opacity: 0.3; }
.item:nth-child(2) { transform: rotateY(-30deg) translateZ(200px) scale(0.85); opacity: 0.6; }
.item:nth-child(3) { transform: rotateY(0deg) translateZ(290px) scale(1); opacity: 1; }
.item:nth-child(4) { transform: rotateY(30deg) translateZ(200px) scale(0.85); opacity: 0.6; }
.item:nth-child(5) { transform: rotateY(60deg) translateZ(60px) scale(0.7); opacity: 0.3; }







@media screen and (max-width: 1200px) {
  .ban-lef {
    width: 58%;
  }

  .form-login {
    width: 42%;
  }

  .form-login-conteudo form .login-submit {
    width: 35%;
  }

  .form-login-conteudo .login-access-links {
    width: 84%;
    gap: 14px;
  }
}

@media screen and (max-width: 1024px) {
  header.topbar {
    height: 90px;
    padding: 8px clamp(10px, 3vw, 14px);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  section.info-page{
    margin-top: 40px;
  }

  body.page-pecas section.info-page {
    margin-top: 20px;
  }


  section.register-section{
    margin-top: 50px;
  }

  .logo {
    width: clamp(242px, 45vw, 288px);
    float: none;
    margin-top: clamp(20px, 3vw, 30px);
    margin-left: -28px;
  }

  .logo img {
    transform: translate(-26px, 4px);
  }

  .logo,
  .logo img {
    pointer-events: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-top: 8px;
    margin-right: 6px;
  }

  nav.nav {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    float: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #ff4d4d);
    background-size: 300% 300%;
    animation: animarFundo 12s ease infinite;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  body.menu-open nav.nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  @keyframes navItemIn {
    from {
      opacity: 0;
      transform: translateX(14px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .nav-indicator {
    display: none;
  }

  nav.nav a {
    width: 100%;
    text-align: center;
    font-size: 17px;
    padding: 12px 16px;
    opacity: 0;
    border-radius: 10px;
    transition:
      background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  nav.nav a.is-active {
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.3),
      0 6px 16px rgba(0, 0, 0, 0.2);
    opacity: 1;
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  @keyframes mobileNavActiveIn {
    from {
      opacity: 0;
      transform: translateX(14px);
      background-color: rgba(255, 255, 255, 0.05);
      box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
    }
    to {
      opacity: 1;
      transform: translateX(0);
      background-color: rgba(255, 255, 255, 0.16);
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.2);
    }
  }

  .nav-logout-form {
    width: 100%;
  }

  .nav-logout-btn {
    width: 100%;
    text-align: center;
    font-size: 17px;
    padding: 12px 16px;
    opacity: 0;
    border-radius: 10px;
  }

  body.menu-open nav.nav a.is-active {
    animation: mobileNavActiveIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  body.menu-open nav.nav a:not(.is-active) {
    animation: navItemIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  body.menu-open nav.nav a:nth-child(2) { animation-delay: 0.07s; }
  body.menu-open nav.nav a:nth-child(3) { animation-delay: 0.13s; }
  body.menu-open nav.nav a:nth-child(4) { animation-delay: 0.19s; }
  body.menu-open nav.nav a:nth-child(5) { animation-delay: 0.25s; }
  body.menu-open nav.nav a:nth-child(6) { animation-delay: 0.31s; }

  body.menu-open .nav-logout-btn {
    animation: navItemIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.37s;
  }

  .clear {
    display: none;
  }

  section.baner {
    margin-top: var(--mobile-topbar-height);
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  .ban-lef,
  .form-login {
    width: 100%;
    float: none;
    height: auto;
  }

  .ban-lef {
    margin-top: 0;
    min-height: 0;
  }

  .ban-lef img {
    height: auto;
  }

  .form-login {
    padding: 28px 0;
    height: 500px;
    margin-top: -3px;
  }

  .form-login::before {
    display: block;
  }

  .form-login-conteudo {
    top: 20px;
    transform: none;
  }

  .footer{
    margin-top: -68px;
  }

  body.page-index .footer {
    margin-top: 0;
  }

  .form-login-feedback {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    width: 90%;
    margin: 0;
    transform: translateX(-50%);
  }

  .form-login-conteudo form input {
    width: 90%;
  }

  .form-login-conteudo .email-row {
    width: 90%;
  }

  .form-login-conteudo .password-field {
    width: 90%;
  }

  .form-login-conteudo form .login-submit {
    width: 40%;
    min-width: 140px;
  }

  .form-login-conteudo .login-access-links {
    width: 100%;
    margin-top: 36px;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 12px 36px;
  }

  .form-login-conteudo .login-access-link {
    font-size: 13px;
  }

  .form-register form input {
    width: 90%;
  }

  .form-register .register-field {
    width: 90%;
  }

  .form-register .password-field {
    width: 90%;
  }

  main {
    padding: 34px 14px 12px;
  }

  .page-inner main {
    margin-top: var(--mobile-topbar-height);
    min-height: calc(100vh - 162px);
  }

  .flash-messages {
    top: 10px;
    max-width: calc(100% - 28px);
  }

  .flash-messages .alert {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .register-flash-messages .alert-error {
    margin-top: 20px;
  }

  .page-mobile-footer-spacing .footer {
    margin-top: 50px;
  }

  .info-about,
  .info-contact,
  .info-revisoes,
  .register-section {
    min-height: calc(100vh - var(--mobile-topbar-height) + 40px);
    padding-bottom: 120px;
  }

  body.page-pecas .footer {
    margin-top: 84px;
  }

  body.page-agendamento main {
    padding-left: 0;
    padding-right: 0;
  }

  .info-hero,
  .info-grid,
  .info-grid .info-card {
    text-align: center;
  }

  .info-hero {
    padding: 20px 2%;
  }

  .info-hero h1,
  .info-card h2 {
    font-size: clamp(20px, 5.2vw, 30px);
  }

  .info-hero h1 {
    white-space: nowrap;
  }

  .info-hero p,
  .info-card p {
    font-size: 15px;
  }
}

@media screen and (max-width: 680px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  

  .form-login {
    min-height: 320px;
  }

  .form-login-conteudo form .login-submit {
    width: 58%;
    max-width: 220px;
  }

  .form-login-conteudo .login-access-links {
    gap: 10px;
  }

  .form-register form .register-submit {
    width: 58%;
    max-width: 220px;
  }

  .footer {
    font-size: 14px;
    min-height: 88px;
  }
}

@media screen and (max-width: 480px) {
  nav.nav {
    padding: 10px;
  }

  nav.nav a,
  .nav-logout-btn {
    font-size: 16px;
    padding: 11px 10px;
  }

  main {
    padding: 28px 10px 10px;
  }

  .info-page {
    max-width: 100%;
  }

  .info-hero {
    padding: 16px 4%;
  }

  .info-hero h1 {
    white-space: normal;
    line-height: 1.2;
  }

  .info-card {
    padding: 16px 10px;
  }

  .about-founder {
    padding: 26px 12px;
    gap: 18px;
  }

  .about-founder-title {
    font-size: 22px;
    margin-left: -10px;
    margin-right: -10px;
  }

  .about-founder-text {
    margin: 0 -12px;
  }

  .form-register {
    height: auto;
    min-height: 0;
  }

  .form-register form {
    top: auto;
    transform: none;
    padding: 18px 12px;
  }

  .form-register .register-field,
  .form-register .password-field {
    width: 100%;
    margin: 16px auto;
  }

  .form-register form .register-submit {
    width: 100%;
    max-width: none;
  }

  .form-login {
    min-height: 300px;
    padding: 20px 0;
  }

  .form-login-conteudo {
    padding: 16px 12px;
  }

  .form-login-conteudo form .login-submit {
    width: 72%;
    max-width: 220px;
    display: block;
    margin: 10px auto 0;
  }

  .form-login-conteudo .login-access-links {
    grid-template-columns: repeat(2, max-content);
    gap: 8px 18px;
    margin-top: 28px;
    align-items: center;
    justify-content: center;
  }

  .form-login-conteudo .login-access-link {
    width: auto;
    justify-self: center;
  }

  .cards-container {
    padding: 30px 10px;
  }

  .containerk {
    width: min(78vw, 210px);
  }

  .pecas-tabs {
    gap: 6px;
  }

  .pecas-tab-btn {
    padding: 7px 10px;
    font-size: 11px;
  }

  .pecas-tab-icon {
    font-size: 16px;
  }

  .peca-card {
    padding: 16px 12px 14px;
  }

  .profile-page {
    max-width: 100%;
  }

  .profile-hero {
    padding: 14px;
  }

  .profile-hero-content h1 {
    font-size: 24px;
  }

  .profile-card {
    padding: 14px;
  }

  .profile-form-field input {
    font-size: 16px;
  }

  .profile-btn {
    width: 100%;
  }

  .profile-modal {
    width: min(95vw, 340px);
    padding: 20px 14px;
  }
}

@media screen and (max-width: 360px) {
  :root {
    --mobile-topbar-height: 82px;
  }

  header.topbar {
    height: 82px;
    padding: 6px clamp(10px, 3vw, 12px);
  }

  .logo {
    width: clamp(196px, 58vw, 232px);
    margin-left: -24px;
  }

  .logo img {
    transform: translate(-26px, 3px);
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    margin-right: 4px;
  }

  main {
    padding: 24px 8px 8px;
  }

  .page-inner main {
    margin-top: 82px;
    min-height: calc(100vh - 154px);
  }

  .footer {
    min-height: 82px;
    font-size: 13px;
  }

  .info-hero h1,
  .info-card h2 {
    font-size: clamp(17px, 6.1vw, 20px);
    white-space: normal;
  }

  .about-founder-title {
    margin-left: -6px;
    margin-right: -6px;
  }

  .about-founder-text {
    margin: 0 -8px;
  }

  .form-login-conteudo form h2,
  .form-register form h2 {
    font-size: 23px;
  }

  .form-login-conteudo .email-row,
  .form-login-conteudo .password-field,
  .form-register .register-field,
  .form-register .password-field {
    margin: 14px auto;
  }

  .form-login-conteudo .login-access-link {
    font-size: 12px;
  }

  .pecas-tab-nome {
    font-size: 11px;
  }

  .peca-card {
    padding: 14px 10px 12px;
  }

  .profile-hero-content p {
    font-size: 14px;
  }

  .profile-modal-msg {
    font-size: 16px;
  }
}

@media screen and (max-width: 320px) {
  .agendamento-header h1 {
    font-size: 17px;
  }

  .form-group .form-label {
    font-size: 9px;
  }

  .horario-btn {
    font-size: 11px;
  }

  .pecas-tab-btn {
    width: auto;
    justify-content: center;
  }

  .profile-hero-content h1 {
    font-size: 22px;
  }
}

@media screen and (max-width: 900px) {
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-card {
    padding: 18px 12px;
  }

  .about-founder-title {
    margin-left: -22px;
    margin-right: -22px;
  }

  .about-founder-text {
    padding: 0;
    margin: 0 -24px;
  }

  .about-founder-text p {
    padding: 0;
  }

  .info-hero h1,
  .info-card h2 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .info-hero h1 {
    white-space: normal;
  }

  .info-hero p {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .info-card {
    padding: 16px 10px;
  }

  .about-founder-title {
    margin-left: -10px;
    margin-right: -10px;
  }

  .about-founder-text {
    margin: 0 -12px;
  }
}

@media screen and (max-width: 360px) {
  .about-founder-title {
    margin-left: -6px;
    margin-right: -6px;
  }

  .about-founder-text {
    margin: 0 -8px;
  }
}

body {
  background: #f7f7f7;
}

body.page-index {
  background: #0a0a0a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-index main {
  flex: 1 0 auto;
}

body.page-index .footer {
  margin-top: auto;
}

/* container */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.card-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  isolation: isolate;
  --electric-red: rgba(255, 88, 88, 0.98);
  --electric-core: rgba(255, 247, 247, 0.99);
  --electric-base: rgba(255, 116, 116, 0.54);
  --electric-glow: rgba(255, 62, 62, 0.72);
  --electric-fray: rgba(255, 214, 214, 0.92);
  --electric-haze: rgba(255, 72, 72, 0.2);
}

.electric-frame {
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.96;
}

.electric-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 134, 134, 0.48);
  box-shadow:
    inset 0 0 14px rgba(255, 78, 78, 0.16),
    0 0 12px rgba(255, 62, 62, 0.24),
    0 0 28px rgba(255, 42, 42, 0.22),
    0 0 42px rgba(255, 30, 30, 0.12);
  opacity: 0.78;
  animation: electricBorderPulse 1.9s steps(3, end) infinite;
}

.electric-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 9px,
      rgba(255, 246, 246, 0.92) 9px 10px,
      rgba(255, 108, 108, 0.96) 10px 13px,
      transparent 13px 23px,
      rgba(255, 198, 198, 0.72) 23px 24px,
      transparent 24px 36px),
    repeating-linear-gradient(0deg,
      transparent 0 10px,
      rgba(255, 244, 244, 0.88) 10px 11px,
      rgba(255, 112, 112, 0.94) 11px 14px,
      transparent 14px 26px,
      rgba(255, 194, 194, 0.7) 26px 27px,
      transparent 27px 38px),
    linear-gradient(90deg,
      rgba(255, 206, 206, 0.12) 0%,
      rgba(255, 250, 250, 0.92) 20%,
      rgba(255, 92, 92, 0.96) 50%,
      rgba(255, 250, 250, 0.92) 80%,
      rgba(255, 206, 206, 0.12) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mix-blend-mode: screen;
  opacity: 0.92;
  background-size: 160px 160px, 160px 160px, 100% 100%;
  filter: blur(0.24px) drop-shadow(0 0 10px rgba(255, 84, 84, 0.62)) drop-shadow(0 0 22px rgba(255, 44, 44, 0.34)) drop-shadow(0 0 38px rgba(255, 28, 28, 0.18));
  animation: electricBorderNoise 560ms steps(6, end) infinite, electricBorderJitter 190ms steps(2, end) infinite, electricBorderPulse 2.1s ease-in-out infinite;
}

.electric-line {
  position: absolute;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  opacity: 0.95;
}

.electric-line::before,
.electric-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.electric-line::before {
  background: linear-gradient(90deg, rgba(255, 188, 188, 0.16) 0%, rgba(255, 248, 248, 0.96) 18%, rgba(255, 88, 88, 0.94) 52%, rgba(255, 248, 248, 0.96) 82%, rgba(255, 188, 188, 0.16) 100%);
  opacity: 0.74;
  filter: drop-shadow(0 0 5px rgba(255, 88, 88, 0.56)) drop-shadow(0 0 12px rgba(255, 48, 48, 0.24));
}

.electric-line::after {
  background: repeating-linear-gradient(90deg,
    transparent 0 8px,
    rgba(255, 247, 247, 0.96) 8px 9px,
    rgba(255, 104, 104, 0.96) 9px 12px,
    transparent 12px 20px,
    rgba(255, 186, 186, 0.78) 20px 21px,
    transparent 21px 31px);
  filter: blur(0.46px) drop-shadow(0 0 7px var(--electric-glow)) drop-shadow(0 0 16px rgba(255, 32, 32, 0.42));
  mix-blend-mode: screen;
}

.electric-line > i {
  display: none;
}

.electric-line--top,
.electric-line--bottom {
  left: 10px;
  right: 10px;
  height: 2px;
}

.electric-line--left,
.electric-line--right {
  top: 10px;
  bottom: 10px;
  width: 2px;
}

.electric-line--top {
  top: 0;
  border-radius: 999px;
}

.electric-line--top::after,
.electric-line--bottom::after {
  animation: electricNoiseShiftX 680ms steps(7, end) infinite, electricSparkFlash 1.08s steps(4, end) infinite;
}

.electric-line--top::before {
  animation: electricStaticFlicker 1.02s steps(4, end) infinite, electricBorderJitter 240ms steps(2, end) infinite;
}

.electric-line--right {
  right: 0;
  border-radius: 999px;
}

.electric-line--right::before,
.electric-line--left::before,
.electric-line--right::after,
.electric-line--left::after {
  background-size: 100% 40px;
}

.electric-line--right::before,
.electric-line--left::before {
  background: linear-gradient(180deg, rgba(255, 188, 188, 0.16) 0%, rgba(255, 248, 248, 0.96) 18%, rgba(255, 88, 88, 0.94) 52%, rgba(255, 248, 248, 0.96) 82%, rgba(255, 188, 188, 0.16) 100%);
}

.electric-line--right::after,
.electric-line--left::after {
  background: repeating-linear-gradient(180deg,
    transparent 0 8px,
    rgba(255, 247, 247, 0.96) 8px 9px,
    rgba(255, 104, 104, 0.96) 9px 12px,
    transparent 12px 20px,
    rgba(255, 186, 186, 0.78) 20px 21px,
    transparent 21px 31px);
  filter: blur(0.6px) drop-shadow(0 0 7px var(--electric-glow)) drop-shadow(0 0 16px rgba(255, 32, 32, 0.42));
}

.electric-line--right::before,
.electric-line--left::before {
  filter: drop-shadow(0 0 5px rgba(255, 88, 88, 0.56)) drop-shadow(0 0 12px rgba(255, 48, 48, 0.24));
}

.electric-line--right::after {
  animation: electricNoiseShiftY 720ms steps(7, end) infinite 0.12s, electricSparkFlash 1.05s steps(4, end) infinite 0.08s;
}

.electric-line--right::before {
  animation: electricStaticFlicker 1.16s steps(4, end) infinite 0.1s, electricBorderJitter 250ms steps(2, end) infinite 0.04s;
}

.electric-line--bottom {
  bottom: 0;
  border-radius: 999px;
}

.electric-line--bottom::after {
  animation: electricNoiseShiftX 760ms steps(7, end) infinite reverse, electricSparkFlash 1.16s steps(4, end) infinite 0.12s;
}

.electric-line--bottom::before {
  animation: electricStaticFlicker 1.14s steps(4, end) infinite 0.22s, electricBorderJitter 260ms steps(2, end) infinite 0.08s;
}

.electric-line--left {
  left: 0;
  border-radius: 999px;
}

.electric-line--left::after {
  animation: electricNoiseShiftY 690ms steps(7, end) infinite reverse, electricSparkFlash 1.12s steps(4, end) infinite 0.16s;
}

.electric-line--left::before {
  animation: electricStaticFlicker 1.12s steps(4, end) infinite 0.18s, electricBorderJitter 230ms steps(2, end) infinite 0.1s;
}

.electric-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 250, 250, 0.98) 0%, rgba(255, 116, 116, 0.9) 30%, rgba(255, 56, 56, 0.38) 58%, rgba(255, 56, 56, 0) 76%);
  filter: blur(0.18px) drop-shadow(0 0 8px rgba(255, 82, 82, 0.8)) drop-shadow(0 0 18px rgba(255, 36, 36, 0.44));
  animation: electricCornerPulse 1.12s steps(4, end) infinite, electricBorderJitter 220ms steps(2, end) infinite;
}

.electric-corner--top-left {
  top: -6px;
  left: -6px;
}

.electric-corner--top-right {
  top: -6px;
  right: -6px;
  animation-delay: 0.25s;
}

.electric-corner--bottom-right {
  right: -6px;
  bottom: -6px;
  animation-delay: 0.5s;
}

.electric-corner--bottom-left {
  bottom: -6px;
  left: -6px;
  animation-delay: 0.75s;
}

/* card */
.card {
  position: relative;
  width: 320px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.2);

  transform: translateY(80px) scale(0.85);
  opacity: 0;
  filter: blur(8px);

  transition:
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.8s ease,
    filter 0.8s ease,
    box-shadow 0.6s ease;
}

/* ativado ao aparecer */
.card.show {
  animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardEntrance {
  0% {
    transform: translateY(80px) scale(0.85);
    opacity: 0;
    filter: blur(8px);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 14px 32px rgba(0, 0, 0, 0.2),
      0 0 0 rgba(255, 74, 74, 0);
  }

  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 14px 32px rgba(0, 0, 0, 0.2),
      0 0 30px rgba(255, 74, 74, 0.4);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 14px 32px rgba(0, 0, 0, 0.2);
  }
}

/* imagem */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

/* overlay */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0) 80%);
}

/* conteúdo */
.card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  z-index: 2;
}

.card-content .card-title-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.32);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.card:hover .card-title-label,
.card-link:focus-visible .card-title-label,
.card-link:hover .card-title-label {
  color: #fff;
  background: rgba(168, 28, 28, 0.56);
  border-color: rgba(255, 95, 95, 0.52);
  box-shadow: 0 0 18px rgba(255, 86, 86, 0.18);
}

/* botão neon */
.card button {
  margin-top: 10px;
  background: transparent;
  border: 1px solid #ff1744;
  color: #ff1744;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.card button:hover {
  background: #ff1744;
  color: #fff;
  box-shadow: 0 0 20px #ff1744;
}

/* hover INSANO */
.card:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 102, 102, 0.28),
    0 0 16px rgba(255, 74, 74, 0.26),
    0 0 28px rgba(255, 62, 62, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.3);
}

.card-link:hover .electric-line,
.card-link:focus-visible .electric-line {
  opacity: 1;
}

.card-link:hover .electric-frame::before,
.card-link:focus-visible .electric-frame::before {
  border-color: rgba(255, 156, 156, 0.58);
  box-shadow:
    inset 0 0 18px rgba(255, 84, 84, 0.2),
    0 0 16px rgba(255, 58, 58, 0.32),
    0 0 30px rgba(255, 38, 38, 0.24),
    0 0 48px rgba(255, 26, 26, 0.16);
}

.card-link:hover .electric-frame::after,
.card-link:focus-visible .electric-frame::after {
  opacity: 1;
  filter: blur(0.24px) drop-shadow(0 0 14px rgba(255, 100, 100, 0.72)) drop-shadow(0 0 28px rgba(255, 46, 46, 0.5)) drop-shadow(0 0 46px rgba(255, 28, 28, 0.24));
}

.card-link:hover .electric-corner,
.card-link:focus-visible .electric-corner {
  filter: blur(0.18px) drop-shadow(0 0 11px rgba(255, 82, 82, 0.9)) drop-shadow(0 0 24px rgba(255, 36, 36, 0.56));
}

.card:hover img {
  transform: scale(1.1);
}

/* luz seguindo o mouse */
.card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.4), transparent 70%);
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: 0.2s;
}

.card:hover::before {
  opacity: 1;
}

@keyframes electricTravelX {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 48px 0;
  }
}

@keyframes electricTravelXReverse {
  0% {
    background-position: 48px 0;
  }

  100% {
    background-position: 0 0;
  }
}

@keyframes electricTravelY {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 48px;
  }
}

@keyframes electricTravelYReverse {
  0% {
    background-position: 0 48px;
  }

  100% {
    background-position: 0 0;
  }
}

@keyframes electricLineFlash {
  0%,
  100% {
    opacity: 0.72;
  }

  14% {
    opacity: 1;
  }

  15% {
    opacity: 0.58;
  }

  37% {
    opacity: 0.98;
  }

  38% {
    opacity: 0.62;
  }

  61% {
    opacity: 1;
  }

  62% {
    opacity: 0.68;
  }
}

@keyframes electricSecondaryFlash {
  0%,
  100% {
    opacity: 0.44;
  }

  24% {
    opacity: 0.82;
  }

  25% {
    opacity: 0.42;
  }

  56% {
    opacity: 0.78;
  }

  57% {
    opacity: 0.4;
  }
}

@keyframes electricCornerPulse {
  0%,
  100% {
    opacity: 0.54;
    transform: scale(0.88);
  }

  25% {
    opacity: 0.96;
    transform: scale(1.04);
  }

  26% {
    opacity: 0.52;
    transform: scale(0.9);
  }

  62% {
    opacity: 1;
    transform: scale(1.08);
  }

  63% {
    opacity: 0.56;
    transform: scale(0.92);
  }
}

@keyframes electricNoiseShiftX {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 42px 0;
  }
}

@keyframes electricNoiseShiftY {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 42px;
  }
}

@keyframes electricBorderNoise {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 44px 0, 0 44px, 0 0;
  }
}

@keyframes electricSparkFlash {
  0%,
  100% {
    opacity: 0.7;
  }

  16% {
    opacity: 1;
  }

  17% {
    opacity: 0.52;
  }

  49% {
    opacity: 0.96;
  }

  50% {
    opacity: 0.58;
  }

  74% {
    opacity: 1;
  }

  75% {
    opacity: 0.64;
  }
}

@media screen and (max-width: 560px) {
  .card {
    width: 92vw;
    height: 58vw;
    max-height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .page-index {
    overscroll-behavior-y: none;
  }

  .page-index main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - var(--mobile-topbar-height) - 78px);
    padding: 0 14px;
  }

  .cards-container {
    display: none;
  }

  .containerk {
    display: block;
    width: min(66vw, 260px);
    margin: auto;
    touch-action: none;
    overscroll-behavior: contain;
    -webkit-user-select: none;
    user-select: none;
  }

  .containerk .item img {
    pointer-events: none;
  }

  .containerk .item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 18px 36px rgba(0, 0, 0, 0.24);
  }

  .containerk .item::before {
    opacity: 0.1;
    background:
      radial-gradient(circle at 18% 22%, rgba(255, 114, 114, 0.14) 0%, rgba(255, 114, 114, 0) 30%),
      radial-gradient(circle at 82% 78%, rgba(255, 78, 78, 0.1) 0%, rgba(255, 78, 78, 0) 28%),
      conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 86, 86, 0.22) 72deg, rgba(255, 255, 255, 0) 145deg, rgba(255, 92, 92, 0.18) 250deg, rgba(255, 255, 255, 0) 360deg);
    animation: cardRingRotate 8s linear infinite;
  }

  .containerk .item::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.42) 100%);
  }

  .card-title-label--revisoes,
  .item-label--revisoes {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media screen and (max-width: 480px) {
  .containerk {
    width: min(72vw, 220px);
    margin: auto;
  }

  .item {
    border-radius: 16px;
  }
}

/* ========================================
   PEÇAS ORIGINAIS — ABAS + CARDS
   ======================================== */

.pecas-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pecas-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pecas-tab-btn:hover {
  border-color: #b71c1c;
  color: #b71c1c;
}

.pecas-tab-btn.is-active {
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(143, 0, 0, 0.35);
}

.pecas-tab-icon {
  font-size: 18px;
  line-height: 1;
}

.pecas-painel {
  display: none;
}

.pecas-painel.is-active {
  display: block;
  animation: pecasFadeIn 0.3s ease;
}

@keyframes pecasFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pecas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.peca-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.peca-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
}

.peca-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(143, 0, 0, 0.13);
}

.peca-card-indisponivel {
  opacity: 0.75;
}

.peca-card-indisponivel::before {
  background: #bdbdbd;
  animation: none;
}

.peca-card-header {
  display: flex;
  justify-content: flex-end;
}

.peca-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.peca-badge-ok {
  background: #e8f5e9;
  color: #2e7d32;
}

.peca-badge-off {
  background: #f5f5f5;
  color: #757575;
}

.peca-nome {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  flex: 1;
}

.peca-codigo {
  font-size: 12px;
  color: #999;
  font-family: monospace;
}

.peca-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 0;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.peca-btn:hover {
  opacity: 0.88;
}

.info-pecas {
  padding-bottom: clamp(120px, 16vh, 220px);
}

.info-pecas .info-hero h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.info-pecas .info-hero {
  position: relative;
  overflow: hidden;
  border-left: none;
}

.info-pecas .info-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
}

.info-pecas .info-hero h1 .pecas-title-text {
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_head 12s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  left: -4px;
}

.info-pecas .info-hero h1 .pecas-gear-icon {
  position: relative;
  width: 34px;
  height: 30px;
  top: 0;
  display: inline-block;
  margin-right: 2px;
  filter: drop-shadow(2px 1px 3px rgba(110, 110, 110, 0.28));
}

.info-pecas .info-hero h1 .pecas-gear-icon .gear {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #5f5f5f;
  transform-origin: center;
}

.info-pecas .info-hero h1 .pecas-gear-icon .gear-main {
  left: 0;
  top: 1px;
  font-size: 24px;
  animation: gearSpinClockwise 4.2s linear infinite;
}

.info-pecas .info-hero h1 .pecas-gear-icon .gear-top {
  left: 11px;
  top: -6px;
  font-size: 12px;
  animation: gearSpinCounter 4.2s linear infinite;
}

.info-pecas .info-hero h1 .pecas-gear-icon .gear-small {
  right: 0;
  bottom: 0;
  font-size: 16px;
  animation: gearSpinCounter 4.2s linear infinite;
}

@keyframes gearSpinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gearSpinCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.peca-btn-disabled {
  background: #e0e0e0;
  color: #888;
  pointer-events: none;
}

@media screen and (max-width: 900px) {
  .pecas-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 6px 2px 8px;
    margin: 0 0 18px;
    scroll-padding-inline: 2px;
  }

  .info-pecas .pecas-tabs {
    position: sticky;
    top: calc(var(--mobile-topbar-height) + env(safe-area-inset-top) + 2px);
    z-index: 30;
    background: linear-gradient(180deg, #f7f7f7 78%, rgba(247, 247, 247, 0));
    border-radius: 12px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.06);
    touch-action: pan-x;
  }

  .pecas-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    touch-action: manipulation;
  }

  .pecas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pecas-tab-nome {
    display: none;
  }

  .pecas-tab-btn {
    padding: 10px 14px;
  }
}

@media screen and (max-width: 540px) {
  .pecas-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pecas-tab-nome {
    display: inline;
    font-size: 12px;
  }

  .pecas-tabs {
    gap: 8px;
    justify-content: flex-start;
  }

  .pecas-tab-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ========================================
   ESTILOS - SISTEMA DE AGENDAMENTOS
   ======================================== */

/* Animação da motocicleta acelerando com fumaça */
.moto-animada {
  display: inline-flex;
  align-items: center;
    position: relative;
  top: 0;
  transform: translateY(-2px);
}

.moto-animada-glyph {
  display: inline-block;
  line-height: 1;
  animation: motoAcelera 2s ease-in-out infinite;
}

.moto-animada::after {
    content: "💨";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0;
    animation: fumaçaSai 2s ease-in-out infinite;
}

@keyframes motoAcelera {
    0% {
        transform: translateX(0) scaleX(1);
    }
    25% {
        transform: translateX(2px) scaleX(1.01);
    }
    50% {
        transform: translateX(4px) scaleX(1.02);
    }
    75% {
        transform: translateX(2px) scaleX(1.01);
    }
    100% {
        transform: translateX(0) scaleX(1);
    }
}

@keyframes fumaçaSai {
    0% {
        right: -30px;
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    40% {
        opacity: 1;
        right: -40px;
    }
    70% {
        opacity: 1;
        right: -60px;
    }
    100% {
        opacity: 0;
        right: -80px;
    }
}

.agendamento-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px;
}

.agendamento-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 5px 0;
}

.agendamento-header h1 {
    font-size: 32px;
    color: #b71c1c;
    margin-bottom: 10px;
    font-weight: 700;
}

.agendamento-header h1 .moto-animada {
  transform: translateY(-4px);
}

.agendamento-header p {
    color: #666;
    font-size: 16px;
}

.form-agendamento {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #b71c1c;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(183, 28, 28, 0.1);
    border: 1px solid rgba(183, 28, 28, 0.1);
}

.form-agendamento::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_agend 12s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  z-index: 0;
}

.form-agendamento > * {
  position: relative;
  z-index: 1;
}


@keyframes animarFundo_agend{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
    }



.form-section {
    margin-bottom: 35px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(183, 28, 28, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title-centered {
    justify-content: center;
}

.title-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    top: -2px;
}

.form-agendamento .form-section:nth-of-type(2) .title-icon {
  top: 2px;
}

.form-agendamento .form-section:nth-of-type(3) .title-icon {
  top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-row.three-cols {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-row.form-row-date {
    grid-template-columns: max-content;
}

.form-row.form-row-date #data {
    max-width: 200px;
}

.form-row.form-row-date .help-text {
    white-space: nowrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 48px;
}

.form-group input,
.form-group select,
.form-group textarea {
    order: 1;
}

.form-group .form-label {
    order: 2;
}

.form-group .help-text {
    order: 3;
}

.form-group .placa-warning {
    order: 4;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group .form-label {
    position: absolute;
    left: 15px;
    top: 26px;
    transform: translateY(-50%);
    color: rgba(51, 51, 51, 0.5);
    background: white;
    padding: 0 4px;
    pointer-events: none;
    transform-origin: left center;
    transition: top 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), font-size 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    font-size: 12px;
    white-space: nowrap;
}

.form-group input:focus ~ .form-label,
.form-group input:not(:placeholder-shown) ~ .form-label,
.form-group select:focus ~ .form-label,
.form-group select:valid ~ .form-label,
.form-group select.has-value ~ .form-label,
.form-group textarea:focus ~ .form-label,
.form-group textarea:not(:placeholder-shown) ~ .form-label {
    top: -8px;
    transform: translateY(0);
    color: #ffe9e9;
    background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
    font-size: 11px;
    padding: 0 6px;
}

.form-group .horarios-label {
    position: static;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}





.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 15px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: "Open Sans", sans-serif;
    line-height: 1.5;
    min-height: 48px;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: transparent;
}

.form-group select::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b71c1c;
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
    background-color: #fafafa;
}

.form-group input::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b71c1c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.horario-btn {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.horario-btn:hover:not(:disabled) {
    border-color: #b71c1c;
    background: rgba(183, 28, 28, 0.05);
}

.horario-btn.selected {
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    color: white;
    border-color: #7f0000;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

.horario-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.help-text {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-agendamento .help-text {
    color: #fff;
}

.form-agendamento .placa-warning {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
    border-left-color: #fff;
}



.field-required {
    color: #b71c1c;
    font-weight: 700;
}

.form-actions {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit {
    background-color: #b71c1c;
    color: #faf4f4;
    border: 1px solid rgb(214, 118, 118);
    grid-column: 1;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(183, 28, 28, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-reset {
    background: #f0f0f0;
    color: #333;
    grid-column: 2;
}

.btn-reset:hover {
    background: #e0e0e0;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-error {
    background: rgba(211, 47, 47, 0.1);
    border-left: 4px solid #d32f2f;
    color: #b71c1c;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
    color: #1565c0;
}

.info-box {
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.05) 0%, rgba(211, 47, 47, 0.05) 100%);
    border: 1px solid rgba(183, 28, 28, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.info-box strong {
    color: #b71c1c;
}

.form-agendamento .info-box {
  color: #fff;
}

.form-agendamento .info-box strong {
  color: #fff;
}

.duration-badge {
    display: inline-block;
    background: rgba(183, 28, 28, 0.1);
    color: #b71c1c;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
}

.loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: rgba(14, 14, 16, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 2000;
  text-align: center;
  padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.loading.active {
    opacity: 1;
    visibility: visible;
}

.loading .spinner {
  width: 56px;
  height: 56px;
  border-width: 5px;
  margin: 0 auto;
}

.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 360px);
  min-height: 170px;
  height: auto;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(255, 245, 245, 0.97));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.loading > * {
  position: relative;
  z-index: 1;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(183, 28, 28, 0.2);
    border-top-color: #b71c1c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.show {
    display: block;
}

.success-message-hidden {
    display: none !important;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    margin-bottom: 20px;
}

.success-subtitle {
    color: #999;
    font-size: 14px;
}

/* Classes para remover estilos inline (CSP) */
.duracao-info-hidden {
    display: none;
}

.horarios-placeholder {
    color: #fff;
    grid-column: 1/-1;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 11px 16px;
    letter-spacing: 0.3px;
    width: fit-content;
  min-width: 230px;
    margin: 0 auto;
}

.horarios-error {
    color: #c62828;
    grid-column: 1/-1;
    text-align: center;
    font-weight: bold;
}

.horarios-carregando {
    color: #999;
    grid-column: 1/-1;
    text-align: center;
}

.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(183, 28, 28, 0.2);
    border-top-color: #b71c1c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.loading-text {
  margin-top: 14px;
  color: #8c1a1a;
  font-weight: 700;
  letter-spacing: 0.3px;
  width: min(76vw, 280px);
  line-height: 1.45;
  font-size: 15px;
}

body.is-submitting-agendamento {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loading,
  .loading-hidden,
  .spinner,
  .spinner-small {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .loading {
    gap: 12px;
  }

  .loading::before {
    width: min(94vw, 330px);
    min-height: 156px;
    border-radius: 14px;
  }

  .loading .spinner {
    width: 48px;
    height: 48px;
    border-width: 4px;
  }

  .loading-text {
    width: min(82vw, 260px);
    font-size: 14px;
    margin-top: 10px;
  }
}

@media (max-width: 380px) {
  .loading {
    gap: 10px;
  }

  .loading::before {
    width: calc(100vw - 18px);
    min-height: 148px;
  }

  .loading .spinner {
    width: 44px;
    height: 44px;
  }

  .loading-text {
    width: min(86vw, 236px);
    font-size: 13px;
  }
}

/* Form row centralizado */
.form-row-center {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.form-row-center .form-group {
    width: 100%;
}

/* Aviso de placa inválida */
.placa-warning {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 6px;
    padding: 8px 12px;
    background-color: #ffebee;
    border-left: 3px solid #d32f2f;
    border-radius: 2px;
    display: block;
}

.placa-warning-hidden {
    display: none;
}

/* Responsividade - Agendamentos */
@media (max-width: 768px) {
  .agendamento-container {
    padding: 6px 2px;
  }

    .form-row {
        grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
    }

    .form-row.three-cols {
        grid-template-columns: 1fr;
    }

  .form-row.form-row-date {
    grid-template-columns: 1fr;
  }

  .form-row.form-row-date #data {
    max-width: none;
    width: 100%;
  }

  .form-row.form-row-date .help-text {
    white-space: normal;
    line-height: 1.45;
  }

    .form-agendamento {
    padding: 26px 20px;
    border-radius: 12px;
    }

    .agendamento-header h1 {
        font-size: 24px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    position: relative;
    display: inline-block;
      padding-left: 41px;
    transform: translateX(-13px);
    white-space: nowrap;
    }

  .agendamento-header h1 .moto-animada {
    font-size: 1.35em;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-74%);
    display: inline-block;
    line-height: 1;
    vertical-align: top;
  }

  .agendamento-header h1 .moto-animada-glyph {
    animation: motoAcelera 2s ease-in-out infinite;
  }

  .section-title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    min-height: 44px;
    padding: 13px 11px 9px;
  }

  .form-group textarea {
    min-height: 96px;
  }

  .form-group .form-label {
    left: 12px;
  }

    .horarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .horario-btn {
    min-height: 42px;
    padding: 9px 8px;
    }

    .form-actions {
        grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
    }

    .btn-submit,
    .btn-reset {
        grid-column: auto;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 15px;
    }
}

@media (max-width: 480px) {
  .agendamento-container {
    padding: 2px 0;
  }

  .agendamento-header {
    margin-bottom: 12px;
  }

  .agendamento-header h1 {
    font-size: 20px;
  }

  .form-agendamento {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 43px;
    padding: 12px 10px 8px;
  }

  .form-section {
    margin-bottom: 22px;
  }

  .form-group .form-label {
    font-size: 11px;
  }

  .help-text {
    font-size: 11px;
    gap: 4px;
  }

  .horarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .horario-btn {
    font-size: 12px;
  }

  .horarios-placeholder {
    min-width: 0;
    width: 100%;
    padding: 10px 12px;
  }
}

@media (max-width: 360px) {
  .agendamento-container {
    padding: 0;
  }

  .agendamento-header h1 {
    font-size: 18px;
    line-height: 1.22;
  }

  .form-agendamento {
    padding: 16px 12px;
    border-radius: 8px;
  }

  .section-title {
    font-size: 15px;
    gap: 4px;
    margin-bottom: 12px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 9px 8px;
    min-height: 42px;
  }

  .form-group .form-label {
    left: 10px;
    max-width: calc(100% - 20px);
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .form-group .horarios-label {
    font-size: 12px;
  }

  .help-text {
    font-size: 10px;
    line-height: 1.35;
  }

  .horarios-grid {
    grid-template-columns: 1fr;
  }

  .horario-btn {
    min-height: 40px;
    font-size: 12px;
  }

  .btn-submit,
  .btn-reset {
    min-height: 44px;
    font-size: 14px;
  }
}

.page-agendamento .agendamento-container {
  padding-bottom: clamp(120px, 16vh, 220px);
}

@media (max-width: 768px) {
  .page-agendamento .agendamento-container {
    padding-bottom: 130px;
  }
}

@media (max-width: 480px) {
  .page-agendamento .agendamento-container {
    padding-bottom: 120px;
  }
}

@media (max-width: 360px) {
  .page-agendamento .agendamento-container {
    padding-bottom: 110px;
  }
}

.profile-page {
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: clamp(120px, 16vh, 220px);
}

.profile-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-hero {
  background: linear-gradient(270deg, #7f0000, #b71c1c, #c62828, #f14545);
  background-size: 400% 400%;
  animation: animarFundo_profile 12s ease infinite;
  border-radius: 20px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 30px rgba(127, 0, 0, 0.24);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: center;
  will-change: background-position;
  transform: translateZ(0);
  backface-visibility: hidden;
}


@keyframes animarFundo_profile{
  0%{
    background-position: 0% 50%;
  }

  50%{
    background-position: 100% 50%;
  }

  100%{
    background-position: 0% 50%;
  }
    }


.profile-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -110px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 70%);
}

.profile-hero-avatar-wrap {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.75);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.profile-hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(183, 28, 28, 0.12);
  color: rgba(127, 0, 0, 0.55);
}

.profile-avatar-placeholder svg {
  width: 60%;
  height: 60%;
}

.profile-avatar-delete-form {
  margin-top: 15px;
  text-align: center;
}

.profile-avatar-delete-form .profile-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-avatar-delete-form .profile-btn-danger svg {
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.profile-avatar-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.profile-avatar-delete-btn:hover {
  background: rgba(0, 0, 0, 0.38);
}

.profile-hero-content h1 {
  font-size: 34px;
  margin: 0;
  letter-spacing: 0.01em;
}

.profile-hero-content p {
  margin: 8px 0 0;
  max-width: 620px;
  line-height: 1.55;
}

.profile-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-stat-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.profile-stat-card-link {
  color: #fff;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.profile-stat-card-link:link,
.profile-stat-card-link:visited,
.profile-stat-card-link:active {
  color: #fff;
  text-decoration: none;
}

.profile-stat-card-link:hover,
.profile-stat-card-link:focus-visible {
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.42);
}

.profile-stat-card strong {
  font-size: 22px;
  color: #fff;
}

.profile-stat-card span {
  font-size: 13px;
  color: #fff;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-content-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.3fr);
  gap: 18px;
}

#meus-agendamentos {
  scroll-margin-top: calc(var(--topbar-height) + 24px);
}

.profile-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ebe8e8;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.profile-card-header h2 {
  color: #8f0000;
  margin: 0;
  font-size: 26px;
}

.profile-card-header p {
  margin-top: 6px;
  color: #5d5d5d;
}

.profile-form,
.profile-photo-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.profile-form-field {
  display: grid;
  gap: 7px;
}

.profile-form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #353535;
}

.profile-form-field input {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-form-field input:focus {
  border-color: #b71c1c;
  box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.18);
  outline: none;
}

.profile-btn {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #8f0000, #c62828);
  color: #fff;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(183, 28, 28, 0.28);
}

.profile-btn:hover {
  transform: translateY(-1px);
}

.profile-btn-secondary {
  background: linear-gradient(135deg, #4f4f4f, #2f2f2f);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.profile-btn-danger {
  background: linear-gradient(135deg, #880e0e, #e53935);
  box-shadow: 0 8px 16px rgba(136, 14, 14, 0.25);
}

.profile-empty-state {
  margin-top: 14px;
  border: 1px dashed #d5b6b6;
  border-radius: 12px;
  background: #fff9f9;
  padding: 18px;
  color: #5f4949;
}

.profile-appointments-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding-right: 2px;
}

.profile-appointment-item {
  border: 1px solid #ecd9d9;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.profile-appointment-main h3 {
  margin: 0;
  color: #8f0000;
}

.profile-appointment-main p {
  margin-top: 5px;
  color: #2e2e2e;
  line-height: 1.45;
}

.profile-status-chip {
  margin-top: 8px;
  display: inline-block;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-status-chip.status-pendente {
  background: #fff0cc;
  color: #8e6200;
}

.profile-status-chip.status-confirmado {
  background: #def7e3;
  color: #1e6a2d;
}

.profile-status-chip.status-concluido {
  background: #e4ecff;
  color: #1e3d93;
}

.profile-status-chip.status-cancelado {
  background: #ffe1e1;
  color: #8f0000;
}

.profile-appointment-actions {
  margin: 0;
}

/* Modal de confirmação de cancelamento */
.profile-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
}

.profile-modal-overlay.is-open {
  display: flex;
}

.profile-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: modalEntrada 0.2s ease;
}

@keyframes modalEntrada {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.profile-modal-msg {
  font-size: 17px;
  font-weight: 700;
  color: #2c1a1a;
  margin: 0 0 24px;
  line-height: 1.45;
}

.profile-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.profile-modal-actions .profile-btn {
  min-width: 90px;
}

@media (max-width: 980px) {
  .profile-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .profile-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .profile-stat-card-link {
    pointer-events: auto;
    cursor: pointer;
  }

  .profile-hero {
    padding: 18px;
  }

  .profile-hero-content h1 {
    font-size: 28px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile-appointment-item {
    grid-template-columns: 1fr;
  }

  .profile-appointment-actions .profile-btn {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  body.page-pecas .footer {
    margin-top: 96px;
  }
}

@keyframes electricBorderJitter {
  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(0.35px, -0.2px);
  }

  50% {
    transform: translate(-0.3px, 0.24px);
  }

  75% {
    transform: translate(0.25px, 0.15px);
  }
}

@keyframes electricBorderPulse {
  0%,
  100% {
    opacity: 0.72;
  }

  22% {
    opacity: 0.98;
  }

  23% {
    opacity: 0.7;
  }

  58% {
    opacity: 1;
  }

  59% {
    opacity: 0.76;
  }
}