:root {
    --darkgray: #212329;
    --brightred: #f9423D;
    --white: #fff;
    --lightred: #f9433dcc;
}

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    /* espaço para rodapé fixo */
}

/* NAVBAR */
.nav-container {
    width: 100%;
    background-color: var(--darkgray);
    margin-bottom: 16px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    width: 90%;
    max-width: 1720px;
    margin: 0 auto;
}

#navbar-logo {
    color: var(--white);
    margin-left: 12px;
    cursor: pointer;
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.nav-links {
    color: var(--white);
    text-decoration: none;
    padding: 6px 10px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-links::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--brightred);
    transition: width 0.3s ease;
}

.nav-links:hover {
    color: var(--brightred);
    transform: translateY(-1px);
}

.nav-links:hover::after {
    width: 100%;
}

.menu-toggle {
  display: none !important;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1002;
}

.menu-toggle i {
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* SLIDER */
.wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.wrapper-holder {
    display: flex;
    width: 400%;
    height: 100%;
    transition: margin-left 0.6s ease-in-out;
}

.slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.slide-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 220px;
}

.slide-text {
    padding: 16px;
    text-align: left;
    color: #222;
}

.desktop-only {
    display: none;
}

.mobile-text {
    display: block;
    padding: 16px;
    text-align: left;
    color: #222;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 12px;
    z-index: 10;
}

.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.arrow:hover {
    background-color: var(--brightred);
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* BOTÕES DE AÇÃO */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn {
    background-color: var(--brightred);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--lightred);
}

.btn-secondary {
    background-color: var(--darkgray);
}

.btn-secondary:hover {
    background-color: #444;
}

/* DIFERENCIAIS */
.diferenciais {
    background-color: #f5f5f5;
    padding: 20px;
    margin-top: 40px;
    text-align: left;
}

.diferenciais h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--darkgray);
}

.diferenciais ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
}

.diferenciais li {
    font-size: 15px;
    margin: 6px 0;
    color: #333;
    position: relative;
    padding-left: 28px;
}

.diferenciais li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brightred);
    font-weight: bold;
}

/* RODAPÉ */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #1a1a1a, #2c2c2c);
    color: #ffffff;
    text-align: center;
    padding: 14px 12px;
    font-size: 13px;
    border-top: 2px solid #CE6F0A;
    z-index: 1000;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.4;
}

.footer-content p {
    margin: 4px 0;
}

.footer a {
    color: #CE6F0A;
    text-decoration: none;
}

.footer a:hover {
    color: #f9423D;
    text-decoration: underline;
}

.footer-content hr {
    border: none;
    border-top: 1px solid #CE6F0A;
    margin: 8px 0;
    width: 100%;
}

/* MOBILE */
@media screen and (max-width: 768px) {
    .menu-toggle {
         display: block !important;
         position: absolute;
         top: 16px;
         right: 20px; /* ajuste aqui para mover mais à direita */
         z-index: 1002;

  }

   .nav-menu {
       display: none;
       /* escondido por padrão */
       flex-direction: column;
       justify-content: flex-start;
       align-items: center;
       gap: 10px;
       background-color: rgba(0, 0, 0, 0.9);
       width: 30%;
       position: fixed;
       top: 0;
       bottom: 19%;
       right: 0;
       padding: 20px 0;
       transition: all 0.5s ease;
       z-index: 1001;
       overflow-y: auto;
   }

   .nav-menu.active {
       display: flex;
       /* só aparece quando tem a classe active */
   }

     .nav-links {
    text-align: center;
    line-height: 50px;
    width: 100%;
    padding: 10px 0;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
  }

    .nav-links:hover {
    background-color: var(--brightred);
    color: var(--white);
    transition: all 0.4s ease-out;
  }

  .navbar {
      width: 100%;
  }

   .mobile-text h2 {
        font-size: 18px;
  }

    .mobile-text p {
        font-size: 14px;
    }

    .btn {
        font-size: 13px;
        padding: 6px 12px;
    }

    .diferenciais h2 {
        font-size: 18px;
    }

    .diferenciais li {
        font-size: 14px;
    }

    .footer {
        font-size: 12px;
        padding: 14px 10px;
    }
}

/* EXTRA PEQUENAS TELAS */
@media screen and (max-width: 480px) {
    .nav-links {
        font-size: 14px;
    }

    .mobile-text h2 {
        font-size: 16px;
    }

    .mobile-text p {
        font-size: 13px;
    }

    .diferenciais h2 {
        font-size: 16px;
    }

    .diferenciais li {
        font-size: 13px;
    }

    .btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* DESKTOP */
@media screen and (min-width: 1020px) {
    .wrapper {
        height: 60vh;
    }

    .slide {
        flex-direction: row;
    }

    .slide-image {
        flex: 3;
    }

      .desktop-only {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    color: #111;
  }

  .desktop-only h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .desktop-only p {
    font-size: 15px;
  }

  .mobile-text {
    display: none;
  }

  .cta-buttons .btn {
    font-size: 15px;
    padding: 10px 20px;
  }

  .diferenciais {
    padding: 24px 30px;
    margin-top: 40px;
  }

  .diferenciais h2 {
    font-size: 24px;
    text-align: left;
  }

  .diferenciais li {
    font-size: 16px;
    padding-left: 30px;
  }

  .footer {
    font-size: 14px;
    padding: 16px 14px;
  }

  .footer-content p {
    font-size: 13px;
  }
}
