/*
====================================
Breakpoint: 1440px
====================================
*/
@media (max-width: 1440px) {
  /* --- Seção Hero --- */
  .hero-container {
    max-width: 1270px;
    gap: 50px;
  }
  .hero-content {
    max-width: 730px;
  }
  .hero-title {
    font-size: 62px;
  }

  .footer i.fa-solid.fa-chevron-down {
    display: none;
  }
}

/*
====================================
Breakpoint: 1250px
====================================
*/
@media (max-width: 1250px) {
  /* --- Seção Hero --- */
  .hero-container {
    max-width: 1250px;
    padding: 40px;
  }
  .hero-content {
    flex: 0 1 57%;
  }
}

@media (max-width: 1200px) {
  /* --- Navegação / Menu --- */
  .nav-toggle {
    display: flex;
  }
  .nav-toggle.active span {
    background: #ac6240;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--spacing-xl);
    /* transition: var(--transition-slow); */
  }
  .nav-menu.active {
    left: 0;
  }
  ul.nav-menu.active {
    font-weight: 700;
    font-size: 28px;
    line-height: 29px;
    letter-spacing: -1px;
  }
  .nav-menu.active .menu-cta {
    display: block;
    margin-top: 2rem;
    text-align: center;
  }
}

/*
====================================
Breakpoint: 1024px
====================================
*/
@media (max-width: 1024px) {
  /* --- Títulos Gerais --- */
  .section-title,
  .hero-title {
    font-size: 38px !important;
    line-height: 48px;
  }

  /* --- Seção Hero --- */
  .hero-container {
    flex-direction: column;
    align-items: center; /* Unificado */
    text-align: center; /* Unificado */
    padding-top: 100px;
    gap: var(--spacing-sm);
  }
  .hero-content {
    max-width: 90%; /* Unificado e prevalecido sobre 60% */
    padding-top: 50px;
    text-align: center;
  }
  .hero-text {
    max-width: 70%;
    padding-top: 20px;
    font-weight: 300;
    font-size: 18px !important;
    line-height: 29px;
    text-align: center;
  }
  .hero-title {
    font-weight: 600;
    font-size: 65px !important;
    line-height: 100px;
    letter-spacing: -1px;
    text-align: center;
  }
  .hero-description-secondary {
    margin-bottom: 50px;
  }

  /* --- Seção Modelos (Models) --- */
  .models-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .models-header .section-title {
    text-align: center;
  }
  /* .models-grid {
    grid-template-columns: repeat(1, 1fr);
  } */
  .models-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* --- Seção Serviços (Services) --- */
  .service-title {
    font-size: clamp(
      16px,
      calc(16px + (5 * ((100vw - 768px) / (1024 - 768)))),
      21px
    );
  }
  .service-description {
    font-size: clamp(
      14px,
      calc(14px + (2 * ((100vw - 768px) / (1024 - 768)))),
      16px
    );
  }

  /* .menu-cta .cta-button {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
  } */
}

/*
====================================
Breakpoint: 1024px (Tablet Específico)
====================================
*/
@media (min-width: 768px) and (max-width: 1024px) {
  /* --- Seção Sobre (About) --- */
  #sobre {
    display: none;
  }
  .about-tablet {
    display: block;
  }
  .about {
    padding: 100px 0 50px;
  }
  .about-content {
    gap: 0;
    grid-template-columns: 3fr 2fr;
  }
  h2.section-title.about-title {
    font-weight: 700;
    font-size: 64px !important;
    line-height: 65px;
    text-align: center;
    color: #092128;
  }
  .about-description {
    max-width: 90%;
  }
  .about-sundescription {
    font-size: clamp(
      21px,
      calc(21px + (4 * ((100vw - 768px) / (1024 - 768)))),
      25px
    ) !important;
    line-height: 85.87px;
  }
  .about-image.desktop {
    display: none;
  }
  .about-image-mobile.mobile {
    display: block;
    text-align: center;
  }
  .about-image-mobile.mobile img {
    max-width: 120% !important;
    height: auto;
  }

  .models .section-title {
    font-size: 90px !important;
  }

  .models .section-title br {
    display: none;
  }

  .models-header {
    display: flex;
    flex-direction: column-reverse;
  }

  .models-rating p {
    text-align: center;
  }

  .model-title {
    font-size: calc(40px + (15 * ((100vw - 768px) / (1024 - 768))));
  }

  .model-description {
    font-size: 17px;
    max-width: 92%;
  }

  .model-cta-code {
    font-size: clamp(
      13px,
      calc(13px + (2 * ((100vw - 768px) / (1020 - 768)))),
      15px
    );
  }

  .cta-content {
    width: 95%;
    padding: 50px 50px;
    height: 100%;
    background-size: cover;
    background-position: right;
  }

  .cta-title {
    font-size: calc(48px + (60 - 48) * ((100vw - 768px) / (1024 - 768)));
    line-height: 55px;
  }

  .cta-content a {
    font-size: 18px;
    transition: all 0.3s ease-in-out;
  }

  .other-services {
    height: 600px;
  }

  .other-services .service-card {
    flex: 0 0 calc(35% - 2rem);
  }

  .other-services .services-title {
    justify-content: space-around;
  }

  .carousel-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-left: 170px;
  }
  .faq {
    background-image: none;
  }

  .faq-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 50px;
  }

  .faq-text {
    text-align: center;
  }

  .faq-text h2 {
    font-family: Lexend;
    font-weight: 700;
    font-style: Bold;
    font-size: clamp(
      49px,
      calc(49px + (60 - 49) * ((100vw - 768px) / (1024 - 768))),
      60px
    ) !important;
    leading-trim: NONE;
    line-height: 80px !important;
    letter-spacing: 1%;
    vertical-align: middle;
  }

  .faq .faq-text h2 br {
    display: none;
  }

  .faq-text p {
    font-family: Lexend;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px !important;
    leading-trim: NONE;
    line-height: 29px !important;
    letter-spacing: -3%;
    text-align: center;
    vertical-align: middle;
    max-width: 700px;
  }

  .faq-list {
    max-width: 700px;
  }

  #faq {
    padding-bottom: 0px !important;
  }

  .promo-seal {
    width: clamp(
      80px,
      calc(80px + (100 - 80) * ((100vw - 768px) / (1024 - 768))),
      100px
    );
  }

  html,
  body {
    overflow-x: hidden !important;
  }

  .carousel-wrapper {
    justify-content: center;
  }

  .faq-list {
    height: 1000px;
  }
}
/*
====================================
ajuste específico para slide serviços
====================================
*/

@media (min-width: 768px) and (max-width: 900px) {
  .other-services .container {
    max-width: 900px;
  }

  .carousel-controls {
    margin-left: 81px;
  }

  .other-services .service-card {
    flex: 0 0 calc(47% - 2rem);
  }
}

/*
====================================
Breakpoint: 1000px
====================================
*/
@media (max-width: 1000px) {
  /* --- Popup --- */
  .popup-conteudo {
    width: 90%;
    height: auto;
    min-height: 447px;
    /* margin: 2% auto; */
  }
}

/*
====================================
Breakpoint: 991px
====================================
*/

/*
====================================
Breakpoint: 768px
====================================
*/
@media (max-width: 768px) {
  /* --- Configurações Gerais --- */
  html,
  body {
    overflow-x: hidden !important;
  }

  .footer i.fa-solid.fa-chevron-down {
    display: block;
  }
  .section-label {
    font-size: clamp(
      15px,
      calc(15px + (5 * ((100vw - 320px) / (768 - 320)))),
      20px
    );
  }

  /* --- Seção Hero --- */
  .hero-container {
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero-title {
    line-height: 50px;
    font-size: 38px !important;
  }
  .hero-text {
    max-width: 87%;
  }

  /* --- Seção Sobre (About) --- */
  .about {
    padding: 100px 0 0 0;
  }
  .about .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .about-text {
    text-align: center;
    padding: 0 20px;
  }
  .about-description {
    max-width: 100%;
    padding-top: 20px;
  }
  .about-sundescription {
    font-size: 21px;
    margin-bottom: 20px;
    line-height: 24.87px;
  }

  /* --- Seção Serviços (Services) --- */
  .services {
    padding: 100px 0 80px;
  }
  .service-title {
    margin-top: 40px;
  }
  .swiper-slide.service-card.swiper-slide-active {
    padding-top: 36px !important;
    padding-bottom: 60px !important;
  }

  /* --- Seção Modelos (Models) --- */
  .models {
    background: var(--white);
    padding-bottom: 0px;
  }
  .models-header {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 0;
  }
  .models-header .section-title {
    font-family: "Lexend";
    font-weight: 700;
    font-style: Bold;
    font-size: 46px;
    line-height: 100%;
    letter-spacing: -1px;
    text-align: center;
  }
  .models-header h2.section-title br {
    display: none;
  }
  .models-rating {
    text-align: center;
  }
  .models-rating p {
    text-align: center;
    font-size: clamp(
      13px,
      calc(13px + (5 * ((100vw - 350px) / (768 - 350)))),
      18px
    );
    margin-top: 20px;
  }
  .model-content {
    text-align: center;
  }
  .model-cta {
    margin-bottom: 40px;
  }

  .about-image-mobile.mobile {
    display: block;
  }

  .about-image-mobile.mobile img {
    max-width: 470px;
  }

  /* --- Componente Swiper (Carrossel) --- */
  .swiper-pagination-bullet {
    background: #d1e5ff !important;
    opacity: 1 !important;
  }
  .swiper-pagination-bullet-active {
    background: #e17446 !important;
    width: 20px !important;
    height: 7px !important;
    border-radius: 5px !important;
  }
  .swiper-pagination-bullet-active:focus {
    outline: none !important;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 15px !important;
  }
  div#modelspagination {
    bottom: 7px !important;
  }

  /* --- Seção CTA (Call to Action) --- */
  .cta-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .d {
    padding: 0 20px;
  }
  .cta-content {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    background-image: url(../images/bgsection.png);
    padding: 57px 20px;
    border-radius: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
  }
  .cta-title {
    font-weight: 600;
    font-size: 42px;
    line-height: 55px;
    text-align: center;
  }
  .cta-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    text-align: center;
    margin-bottom: 30px;
  }
  .cta-content a {
    text-decoration: none;
    font-size: 20px;
    padding: 15px 30px;
  }
  .cta-button.primary {
    font-size: 18px;
  }

  /* --- Seção Processo (Process) --- */
  .process-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .code-window {
    order: -1;
  }
  .line-stpe {
    height: 356px;
  }

  /* --- Popup de Pagamento --- */
  .cards {
    gap: 20px;
    align-items: flex-end;
  }
  .card1 img,
  .card2 img {
    width: 140px;
  }
  .separador span {
    font-size: 18px;
  }
  .title-popup {
    font-size: 28px;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 30px;
  }
  .subtitle-popup {
    font-size: 22px;
    max-width: 270px;
    margin: 0 auto;
  }
  .logo-popup img {
    width: 120px;
  }

  .promotemponumber,
  .promotemp {
    display: none;
  }

  /* --- Seção Outros Serviços (Other Services) --- */
  .other-services .services-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .other-services .section-subtitle {
    margin-left: 0;
    text-align: center;
  }
  .carousel-controls {
    justify-content: center;
  }

  /* --- Seção FAQ --- */
  .faq {
    background-image: none;
  }
  .faq-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .faq-text {
    text-align: center;
    padding-right: 0;
  }
  .faq-text .section-title {
    font-size: 2rem;
  }

  .services-cta {
    margin-top: 20px;
  }

  /* --- Componente Accordion (usado no FAQ e Footer) --- */
  .accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .accordion-header.active i {
    transform: rotate(180deg);
  }

  /* --- Rodapé (Footer) --- */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .footer-brand {
    text-align: center;
  }
  .footer-links {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-lg);
  }
  .footer-column {
    border-bottom: 1px solid;
  }
  .third-column {
    max-width: 100%;
  }
  .footer-input-wrapper {
    margin-bottom: 20px;
  }

  .promo-seal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 100px;
    z-index: 10;
  }

  #popupModeloDesktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  #popupModeloMobile {
    display: none !important;
  }
}

/*
====================================
Breakpoint: 568px
====================================
*/
@media (max-width: 568px) {
  /* --- Popup de Pagamento --- */
  .cards {
    gap: 0px;
  }
  .card1 img,
  .card2 img {
    width: 110px;
  }

  .faq-question {
    font-size: clamp(
      13px,
      calc(13px + (3 * ((100vw - 320px) / (658 - 320)))),
      16px
    );
  }

  .faq-list {
    height: auto;
  }

  .faq-text .section-title {
    font-weight: 700;
    font-size: 48px !important;
    line-height: 65px !important;
    letter-spacing: 1px !important;
    text-align: center;
    vertical-align: middle;
  }

  .model-title {
    font-size: 45px;
  }

  div#modelspagination {
    bottom: 0px !important;
  }
  a.section-label.button {
    font-size: clamp(
      16px,
      calc(16px + (4 * ((100vw - 350px) / (1024 - 350)))),
      20px
    );
  }

  .hero-title {
    font-size: clamp(
      26px,
      calc(26px + (48 - 26) * ((100vw - 340px) / (768 - 340))),
      48px
    ) !important;
  }

  h2.section-title.about-title {
    font-size: clamp(
      28px,
      calc(28px + (48 - 28) * ((100vw - 340px) / (768 - 340))),
      48px
    ) !important;
    line-height: 40px;
  }

  .other-services {
    height: 700px;
  }

  .faq-answer p {
    font-size: 13px !important;
  }
}

/*
====================================
Breakpoint: 480px
====================================
*/
@media (max-width: 480px) {
  /* --- Variáveis Globais --- */
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
  }

  /* --- Seção Hero --- */
  .hero {
    min-height: 100vh;
    padding: 100px 0;
  }

  /* --- Grids Gerais --- */
  .services-grid,
  .models-grid {
    grid-template-columns: 1fr;
  }

  /* --- Rodapé (Footer) --- */
  .footer-links {
    grid-template-columns: 1fr;
  }

  /* --- Botão Flutuante WhatsApp --- */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-float i {
    font-size: 26px;
  }
}

/*
====================================
Breakpoint: 468px
====================================
*/
@media (max-width: 468px) {
  /* --- Botões --- */
  .cta-button.primary {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .cta-button.primary {
    font-size: 13px;
  }

  .cta-button.primary {
    padding: 18px 57px;
  }
}
