/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #81B29A;
    --secondary-color: #124070;
    --section-bg-color: #F4F1DE;
    --custom-btn-bg-color: #66C08F;
    --custom-btn-bg-hover-color: #4e9c71;
    --dark-color: #000000;
    --p-color: #717275;
    --link-hover-color: #66C08F;

    --body-font-family: 'DM Sans', sans-serif;

    --h1-font-size: 42px;
    --h2-font-size: 36px;
    --h3-font-size: 28px;
    --h4-font-size: 24px;
    --h5-font-size: 22px;
    --h6-font-size: 20px;
    --p-font-size: 18px;
    --menu-font-size: 16px;
    --btn-font-size: 14px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

/* ====== navbar ====== */
.navbar {
    padding: 0 10px;
}

.sticky-wrapper.is-sticky .navbar {
    background-color: #124070;
}

.navbar {
    background: #124070;
    z-index: 99;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-brand,
.navbar-brand:hover {
    font-size: var(--h4-font-size);
    font-weight: var(--font-weight-bold);
    display: block;
    color: var(--dark-color);
    max-width: 48px;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
    color: var(--white-color);
}


.navbar-brand-image {
    width: 48px;
    height: 48px;
}

.navbar-brand-text {
    line-height: normal;
    margin-left: 10px;
    position: relative;
    bottom: 5px;
}

.navbar-brand-text small {
    display: block;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.navbar-expand-lg .navbar-nav .nav-link {
    border-radius: var(--border-radius-large);
    margin: 10px;
    padding: 10px;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: var(--white-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--link-hover-color);
}

.navbar .dropdown-menu {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    border: 0;
    display: inherit;
    opacity: 0;
    min-width: 9rem;
    margin-top: 20px;
    padding: 13px 0 10px 0;
    transition: all 0.3s;
    pointer-events: none;
}

.navbar .dropdown-menu::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 15px solid var(--white-color);
    position: absolute;
    top: -10px;
    left: 10px;
}

.navbar .dropdown-item {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
    background: transparent;
    color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: var(--copyright-font-size);
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 2px;
    border: 0;
}

@media screen and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        margin-top: 0;
        pointer-events: auto;
    }
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--white-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--white-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}


.section-padding {
    padding: 100px auto;
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
    background: var(--custom-btn-bg-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    transition: all 0.3s;
    padding: 10px 20px;
}

.custom-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
    background: var(--custom-btn-bg-color);
    border-color: transparent;
    color: var(--white-color);
}

.custom-btn-bg-white {
    border-color: var(--white-color);
    color: var(--white-color);
}

.custom-btn-group .link {
    color: var(--white-color);
    font-weight: var(--font-weight-medium);
}

.custom-btn-group .link:hover {
    color: var(--link-hover-color);
}

/* ====== home ====== */
.home {
    position: relative;
    min-height: 150vh;
    display: flex;
    align-items: start;
    justify-content: start;
    padding: 100px 0;

}

.home-bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/background-home.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 125%);
    z-index: 0;
}

#home-title {
    text-align: left;
    font-family: 'Bebas Neue', sans-serif, Arial;

    margin-bottom: 10%;
    padding-bottom: 10px;
    border-bottom: 3px solid #FFE7B1;
}

#home-title h1 {
    font-size: 64px;
    background: linear-gradient(170deg, #F1A853, #FFE7B1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

#home-title {
    margin-top: 100px;
    margin-left: 50px;
    z-index: 2;
}

#home-gif {
    z-index: 3;
    max-width: 50%;
}

#home-gif img {
    width: 100%;
}

.home-image {
    position: absolute;
    bottom: -300px;
    left: 0;
    z-index: 3;

    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 10%;
}

.home-image img {
    max-width: 50%;
}

.home-content {
    display: flex;
    flex-direction: row;
    gap: 20%;
}

.home-content-data {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.data-light-green,
.data-dark-green {
    background-color: #7FBAB7;
    padding: 30px;
    width: 100%;
    height: 100px;
    text-align: center;
    align-content: center;
    border-radius: 30px;
    font-weight: bold;
    color: white;
}

.data-dark-green {
    background-color: #4B8A87;
    height: 150px;
    font-size: 24px;
}

.data-dark-green small {
    font-size: 16px;
    font-weight: 500;
}

.display-none {
    display: none;
}

@media screen and (max-width: 1500px) {
    .home-content {
        display: none;
    }

    .home {
        flex-direction: column;
    }

    #home-gif {
        margin-top: 0;
    }

    .home-image {
        bottom: -50px;

    }

    .display-none {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 100px;
    }
}

@media screen and (max-width: 700px) {
    #home-title h1 {
        font-size: 36px;
    }

    #home-gif {
        max-width: 100%;
    }

    .data-light-green,
    .data-dark-green {
        height: auto;
    }


}

@media screen and (max-width: 500px) {
    #home-title {
        margin-left: 0;
    }

    .home-content {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
}

/* ====== Seção do projeto ====== */
#projeto {
    padding-top: 400px;
}

.projeto-text {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.etapas-container {
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 60px 20px 40px 20px;
    flex-wrap: wrap;
    position: relative;
}

.etapa-item {
    text-align: center;
    width: 23%;
    min-width: 250px;
    padding: 20px;
    margin-bottom: 20px;
}

.etapa-numero-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.etapa-numero {
    font-size: 24px;
    font-weight: 700;
}

.etapa-item:nth-child(1) .etapa-numero-container {
    left: 12.5%;
}

.etapa-item:nth-child(2) .etapa-numero-container {
    left: 37.5%;
}

.etapa-item:nth-child(3) .etapa-numero-container {
    left: 62.5%;
}

.etapa-item:nth-child(4) .etapa-numero-container {
    left: 87.5%;
}


.etapa-1,
.etapa-3 {
    background: linear-gradient(0deg, #F8C882, #FFE7B1);
}

.etapa-2,
.etapa-4 {
    background: linear-gradient(0deg, #124070, #66C08F);
}

.etapa-icon {
    margin-bottom: 20px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.etapa-icon img {
    max-width: 60px;
    max-height: 60px;
}

.etapa-titulo {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.etapa-descricao {
    font-size: 16px;
    line-height: 1.6;
    color: var(--p-color);
}

@media (max-width: 1200px) {
    .etapa-item:nth-child(1) .etapa-numero-container {
        left: 13%;
    }

    .etapa-item:nth-child(2) .etapa-numero-container {
        left: 38%;
    }

    .etapa-item:nth-child(3) .etapa-numero-container {
        left: 63%;
    }

    .etapa-item:nth-child(4) .etapa-numero-container {
        left: 88%;
    }
}

/* Formatação */


@media (max-width: 1200px) {
    .etapas-container {
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
    }

    .etapa-item {
        width: 80%;
        max-width: 400px;
        padding-top: 40px;
        position: relative;
    }

    .etapa-numero-container {
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .etapa-item:nth-child(n) .etapa-numero-container {
        position: absolute;
        left: 50%;
    }
}

/*---------------------------------------
  BACKGROUND IMAGE SECTION        
-----------------------------------------*/

.section-first-image {
    background-image: url('../images/img1.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 63%;
    position: relative;
    min-height: 500px;
    margin-top: 100px;
}

.section-first-image svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: rotate(180deg);
}

.section-first-image svg path {
    fill: var(--primary-color);
}

.projeto-desc {
    background-image: url(../images/background-home.png);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 100px;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 63%;
}

.projeto-desc div {
    width: 80%;
    background-color: #ffffffaf;
    padding: 20px;
    border-radius: 20px;

}

.projeto-desc div p {
    text-align: center;
    font-size: 20px;
}

.projeto-desc iframe {
    margin: 100px 0;
}

#projeto {
    text-align: center;
}

#projeto iframe {
    margin-top: 50px;
    height: 400px;
    width: 50%;
}

@media screen and (max-width:700px) {
    #projeto iframe {
        width: 80%;
    }
}

/*---------------------------------------
  Seção professores
-----------------------------------------*/
.professores {
    height: 90vh;
    background-color: #68A49D;
    text-align: center;
}

.professores h2 {
    color: var(--white-color);
    font-size: 64px;
    padding-top: 50px;
    text-shadow: 2px 2px 5px rgba(88, 86, 86, 0.584);
}

.custom-cards-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 100px;
}

@media screen and (max-width:1000px) {
    .custom-cards-container {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .professores {
        height: auto;
        padding-bottom: 100px;
    }
}

.custom-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.custom-card img {
    max-width: 200px;
}

.custom-card h3 {
    margin: 15px 0 5px;
    font-size: 18px;
    color: #333;
}

.custom-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.custom-card button {
    background: var(--custom-btn-bg-color);
    color: var(--white-color);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
}

.custom-card button:hover {
    background: var(--custom-btn-bg-hover-color);
}


/*---------------------------------------
  BACKGROUND IMAGE SECTION        
-----------------------------------------*/
.section-first-image {
    background-image: url('../images/img1.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 63%;
    position: relative;
    margin-bottom: -70px;
    min-height: 500px;
}

.section-bg-image {
    background-image: url('../images/img2.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: -70px;
}

.section-bg-image .container+svg {
    transform: rotate(180deg);
    position: relative;
    bottom: -1px;
}

.section-bg-image svg {
    fill: #68A49D;
}

.section-bg-image-block {
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(209, 213, 219, 0.3);
    border-radius: var(--border-radius-medium);
    padding: 50px;
}

.section-bg-image-block .input-group {
    background-color: var(--white-color);
    border-radius: var(--border-radius-large);
    padding: 10px 15px;
}

.section-bg-image-block .input-group-text {
    background-color: transparent;
    border: 0;
}

.section-bg-image-block input[type="email"] {
    border: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding-left: 0;
}

.section-bg-image-block button[type="submit"] {
    background-color: var(--primary-color);
    border: 0;
    border-radius: var(--border-radius-large) !important;
    color: var(--white-color);
    max-width: 150px;
}


/*---------------------------------------
  Seção nossa escola em foco            
-----------------------------------------*/
.contact-section {
    margin-top: 100px;
    padding: 50px 0;
}

.contact-title {
    color: #68A49D;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 40px;
    text-align: center;
}

.contact-info i {
    font-size: 30px;
    color: #68A49D;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 30px;
    color: #6c757d;
}

.contact-form {
    padding: 40px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px;
}

/*---------------------------------------
  Seção nossa escola em foco            
-----------------------------------------*/

.survey-card {
    max-width: 650px;
    margin: 60px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.topic {
    margin-bottom: 30px;
}

.topic h5 {
    margin-bottom: 30px;
}

/* Layout das caixas */
.rating-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* permite quebrar linha em telas menores */
    gap: 12px;
    margin-top: 10px;
}

/* Cada caixa de avaliação */
.rating-box {
    min-width: 100px;
    height: 60px;
    border-radius: 10px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    padding: 0 10px;
    word-wrap: break-word;
    white-space: normal;
}

.rating-box:hover {
    background-color: #dee2e6;
}

/* Caixa selecionada */
.rating-box.active {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

textarea {
    resize: none;
}