/* RESPONSIVE */
@media (max-width: 768px) {

  /* Reorganiza os elementos em coluna e centraliza */
  .navbar,
  .hero-section,
  .services-container,
  .paragraph-and-button,
  .contact-container,
  .team-cards,
  .stats-section,
  .card-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* ===== NAVBAR ===== */
  /* Centraliza tudo e deixa o Contact com o mesmo alinhamento dos demais */
  .navbar {
    flex-direction: column;
    align-items: center;        /* antes: flex-start */
    gap: 10px;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;        /* antes: flex-start */
    gap: 10px;
    padding: 0;
  }

  .contact-btn {
    align-self: center;         /* antes: flex-start */
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 320px;
  }

  /* ===== HERO ===== */
  .hero-section img {
    width: 100%;
    height: auto;
  }

  .hero-section {
    gap: 20px;
    padding: 2rem 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  /* ===== CONTACT ===== */
  .contact-section {
    justify-content: center;    /* antes: flex-start */
  }

  .contact-container {
    width: 100%;
    padding: 0 16px;
  }

  /* Formulário de contato responsivo */
  .contact-form {
    padding: 30px;
    margin-top: 40px;           /* se quiser menos espaço: 24px */
    width: 100%;
    box-sizing: border-box;
  }

  .contact-text {
    text-align: center;
    width: 100%;
  }

  /* Cards e preços */
  .card-price,
  .card,
  .card-second {
    width: 90%;
    max-width: 100%;
  }

  /* ===== STATS ===== */
  .stats-section {
    padding: 24px 16px;         /* menos padding no mobile */
    margin: 16px auto;
    max-width: 100%;
    width: 100%;
    gap: 12px;
    align-items: stretch;       /* cada box ocupa toda a largura */
  }

  .stat-box {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-box h3 {
    font-size: 28px;
    margin: 0 0 6px 0;
  }

  .stat-box p {
    margin: 0;
    font-size: 14px;
  }

  .stat-text {
    order: 99;                  /* texto explicativo por último */
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.5;
  }

  /* ===== MODAL ===== */
  .modal {
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .login-modal {
    width: 90%;
    padding: 30px;
  }

  .input,
  .login-modal button {
    width: 100%;
    box-sizing: border-box;
  }

  .login-modal button {
    margin-top: 20px;
  }

  /* Outros ajustes menores */
  .paragraph-and-button {
    gap: 16px;
  }
}



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    background-color: #C9B194;
}

.logo {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-family: "Edu NSW ACT Hand Pre", cursive;
}

.navbar ul a {
    text-decoration: none;
    color: #fff;
}

.navbar ul a:hover {
    color: #fff;
    background-color: #e78286;
    padding: 6px;
    border-radius: 5px;

}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 1;
    padding: 2rem;
    text-decoration: none;
    list-style: none;
}

.contact-btn {
    border-radius: 10px;
    text-decoration: none;
    list-style: none;
    padding: 8px;
    color: #fff;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: #e78286;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #C9B194;
}

.hero-section img {
    width: 600px;
    height: auto;
    border-radius: 16px;
}

.hero-text {
    font-family: "Edu NSW ACT Hand Pre", cursive;
    font-size: 28px;
    color: #ddd;
}

.hero-text1 {
    font-size: 26px;
    margin-bottom: 1rem;
}

.hero-text p {
    padding: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    margin-top: 10px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.btn {
    border: none;
    border-radius: 10px;
    background-color: #E5989B;
    padding: 8px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

.btn:hover {
    background-color: #e78286;
}

.stats-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 3rem 4rem;
    margin: 1.5rem auto;

    /* largura ajustada */
    max-width: 1200px;
    width: 100%;


    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-box {
    background-color: #C9B194;
}

.stats-section h3 {
    background-color: #fff;
    font-size: 36px;
}

.stats-section p {
    background-color: #fff;
    margin-top: 5px;
}

.stat-box-p {
    justify-content: center;
    text-align: center;
    font-size: 16px;
}

.stat-text {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    font-size: 16px;
    line-height: 1.5;
}

.main-hero {
    background-color: rgba(212, 192, 167, 0.85);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hero-text {
    width: 100%;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: 30px;
    margin-bottom: 50px
}

.hero-text p {
    margin-bottom: 50px
}

.paragraph-and-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.paragraph-and-button p {
    flex: 1;
    margin: 0;
}

.btn-second {
    border: none;
    border-radius: 10px;
    background-color: #E5989B;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    margin: 0;
}

.text-group {
    flex: 1;
}

.btn-second:hover {
    background-color: #e78286;
}

.services-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: #c9b194cc;
    border-radius: 10px;
    padding: 40px;
    margin-top: 30px;
}

.services {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    margin-top: 4rem
}

.services img {
    width: 60px;
    height: auto;
    border-radius: 50px;
    background-color: #E5989B;
}

.description-team {
    display: block;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #F9EFE6;
    padding: 30px;
    flex-wrap: wrap;
}

.title-team {
    font-size: 28px;
    justify-content: flex-start;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #C9B194;
    border-radius: 16px;
    padding: 40px 30px;
    width: 300px;
    height: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    gap: 10px;
}

.card h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: auto;
}

.btn-view {
    margin-top: 20px;
    align-self: flex-start;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background-color: #f6acae;
}

.btn-view:hover {
    background-color: #e78286;
    color: #fff;
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 16px;
    background-color: #F9EFE6;
    padding: 16px;
    min-height: 300px;
    margin-top: 12px;
}

.card-second {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #F9EFE6;
    padding: 30px 20px;
    width: 300px;
    min-height: 500px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-second img {
    width: 280px;
    border-radius: 12px;
    border: none;
    height: auto;
    object-fit: cover;
    text-align: start;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
}

.card-footer p {
    margin: 0;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.btn-learn {
    margin-top: auto;
    align-self: flex-end;
    border: none;
    padding: 4px;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-learn:hover {
    background-color: #e78286;
}

.section-price {
    background-color: rgba(201, 177, 148, 0.4);
    flex-wrap: wrap;
    gap: 10px;
}

.description-price {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.section-price h2 {
    font-size: 26px;
    margin-bottom: 0.5rem;
    padding: 20px 20px 0 20px;
}

.section-price p {
    padding: 10px 20px 0 20px;
    font-size: 14px;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.card-price {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 40px 30px;
    width: 300px;
    height: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    gap: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.card-price button {
    border: none;
    border-radius: 10px;
    background-color: #E5989B;
    padding: 10px 24px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
}

.card-price button:hover {
    background-color: #e78286;
}

.contact-section {
    background-color: #FFF9F2;
    padding: 60px 20px;
    display: flex;
    justify-content: flex-start;
}

.contact-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin-top: 100px;
    box-shadow: 0 4px 16px rgba(85, 83, 83, 0.8);
    border-radius: 20px;
    padding: 60px;
    align-items: center;
}

.contact-form label {
    font-size: 14px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    padding: 8px 4px;
    font-size: 16px;
    resize: none;
    width: 100%;
    box-shadow: #333;
}


.btn-send {
    border: none;
    background-color: #f6acae;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-send:hover {
    background-color: #e78286;
}

.contact-text h2 {
    font-size: 26px;
    margin-bottom: 1rem;
}

.contact-text span {
    font-size: 14px;
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.login-modal {
    background-color: #f6acae;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    font-size: 16px;
}

.modal-content .btn-send {
    margin-top: 20px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.login-modal h2 {
    color: #fff;
}

.input {
    margin-top: 20px;
    outline: none;
    border: none;
    border-radius: 10px;
    padding: 10px;
}

.login-modal button {
    border: none;
    border-radius: 6px;
    padding: 10px;
    background-color: #E5989B;
    color: #fff;
    cursor: pointer;
}

.login-modal button:hover {
    background-color: #e78286;
}

#msg {
    margin-top: 10px;
}