@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

:root {
    --verde: #08A73D;
    --verde-brilho: #0abb45;
    --branco: #fff;
    --preto: #000000;
}

body{
    font-family: "Montserrat", sans-serif;
}

html, body {
    background-color: var(--verde);
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: white;
    width: 90%;
    height: 10vh;
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    margin-top: 25px;
    margin-left: 5vw;
    border: solid 1px #ccc;
    box-shadow: 0px 2px 36px -15px #000000;
}

header img {
    width: 15%;
}

header nav {
    display: flex;
}

header nav ul {
    display: flex;
    gap: 20px;
}

ul a {
    color: black;
    font-weight: 500;
}

ul a:hover {
    color: var(--verde);
}

.btn-verde {
    background-color: #08A73D;
    padding: 15px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-verde:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 30px -10px var(--verde-brilho);
    background-color: var(--verde-brilho);
}

/* Section 1 */
.s1 {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s1-div-pai {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 50px;
}

.s1-div-pai img {
    width: 600px;
}

.s1-div-pai .btn-branco {
    align-self: flex-start;
}

.btn-branco {
    background-color: var(--branco);
    padding: 15px;
    border-radius: 25px;
    color: var(--verde);
    font-weight: 500;
    border: solid 2px var(--verde);
    transition: all 0.2s ease;
}

.btn-branco:hover {
    transform: scale(1.05);
}

/* Section 2 */
.s2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
}

.s2-div-pai {
    width: 75vw;
    height: 70vh;
    display: flex;
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0px 3px 50px -15px #000000;
}

.s2-div-filho-1 {
    margin: 10px;
    max-width: 37.5vw;
}

.s2-div-filho-1,
.s2-div-filho-2 {
    display: flex;
    flex-direction: column;
}

.s2-div-filho-2 {
    width: 37.5vw;
    box-shadow: 0px 3px 7px -5px #000000;
    border-radius: 10px;
    justify-content: center;
    padding: 0 25px 0 25px;
}

.s2-div-neto-h3 {
    font-size: 53px;
    font-weight: 450;
    margin-top: 10px;
}

.s2-div-neto {
    margin-bottom: 10px;
}

.s2-div-neto-linha {
    border-top: solid 2px #08A73D;
    margin: 10px 10px 10px 0px;
    padding-top: 15px;
}

.s2-div-neto-p {
    font-size: 23px;
}

.s2-div-neto-2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.s2-div-neto-2 label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.s2-div-neto-2 input {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #444;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fff;
}

legend {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.s2-div-neto-2 input:focus {
    border-color: #00a84d;
    box-shadow: 0 0 0 3px rgba(0, 168, 77, 0.1);
}

.btn-form {
    background-color: #00a84d;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.btn-form:hover {
    background-color: #008f41;
}

/* Section 3 */
.s3 {
    background-color: white;
    height: 100vh;
    margin-bottom: 20px;
}

.s3 h2 {
    text-align: end;
    font-size: 28px;
    margin: 20px;
}

.s3-div-pai {
    position: relative;
    background-image: url(https://assets.cdn.filesafe.space/CFj3Eip0HsAFpzYFbNzC/media/68dad3916cca5b2f1734d503.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30%;
    height: 90vh;
}

.s3-div-filho-1, .s3-div-filho-2, .s3-div-filho-3 {
    height: 25%;
}

.s3-div-filho-1 {
    position: absolute;
    top: 0%;
    left: 15%;
}

.s3-div-filho-2 {
    position: absolute;
    bottom: 20%;
    left: 30%;
}

.s3-div-filho-3 {
    position: absolute;
    top: 20%;
    left: 60%;
}

.s3-div-filho-1 img, .s3-div-filho-2 img {
    width: 35%;
}

.s3-div-filho-3 img {
    width: 60%;
}

/* Section 4 */
.s4 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s4-div-pai-1 {
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-left: 60px;
    gap: 10px;
}

.s4-div-pai-1 h2,
.s4-div-pai-1 p {
    font-size: 26px;
}


.s4-div-filho {
    background-color: #008f41;
    height: auto;
    width: min-content;
    color: #fff;
    padding: 20px 100px;
    border-radius: 25px;
    margin: 20px 0;
}

.s4-div-pai img {
    width: 100%;
    max-width: 500px; /* Limita o tamanho para não estourar em telas grandes */
    height: auto;
}

/* Section 5 */
.s5 {
    background-color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s5 img {
    width: 60%;
}

.s5-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.s5-div-pai-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

/* Section 6 */
.s6 {
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 50px 0;
}

/* Exemplo para a Section 6 (Tipos de Empresa) */
.s6-card {
    flex: 1; /* Faz todos os cards terem a mesma largura */
    padding: 20px;
}

.s6-card img {
    width: 100%;
    height: 200px; /* Ajuste para a altura que você deseja */
    object-fit: contain; /* Isso mantém a proporção sem cortar a imagem */
    margin: 0 auto;
}

/* Section 7 */
.s7 {
  background-color: #fff;
  height: 100vh;
  margin: 100px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  gap: 40px;
}

/* bloco da esquerda (fundo + bolas) */
.s7-div-pai-1 {
  width: 60%;
  height: 70vh; /* garante “palco” pra posicionar */
  position: relative;

  background-image: url(imagens/fundo-s7.png); /* recomendo sem / */
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}

/* bloco da direita (texto + botão) */
.s7-div-pai-2 {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.s7-div-pai-2 p {
    font-size: 24px;
}

/* Bolas */
.s7-bolas-1 img, 
.s7-bolas-2 img, 
.s7-bolas-3 img {
    width: 150px; /* Use um valor fixo em px ou vmin em vez de % se quiser tamanhos idênticos */
    height: 150px;
    object-fit: contain;
}

/* Section 8 */
.s8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.s8 h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 30px;
}

/* FAQ Section */
.faq {
    background: var(--verde);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.faq h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.faq-div-pai {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.faq-div-filho {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #08A73D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: #f5f5f5;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: bold;
    color: #08A73D;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    background-color: #f9f9f9;
    border-bottom: 2px solid #08A73D;
}

.faq-item p {
    padding: 0 25px 20px 25px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--verde);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Query para Celulares (Telas até 768px) */
@media screen and (max-width: 768px) {
    
    /* Header: Transforma o menu em coluna ou esconde elementos extras */
    header {
        width: 95%;
        margin-left: 2.5%;
        height: auto;
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
    }

    header img {
        width: 80%;
        margin-bottom: 15px;
    }

    header nav ul {
        display: none;
    }

    /* Section 1: Ajusta o banner principal */
    .s1 {
        flex-direction: column;
        height: auto;
        padding-top: 50px;
        text-align: center;
    }

    .s1 .btn-branco {
        align-self: center;
    }

    .s1-div-pai {
        margin-left: 0;
        align-items: center;
        padding: 20px;
    }

    .s1-div-pai h1 {
        font-size: 24px;
        line-height: 1.2;
    }

    .s1-div-pai img {
        width: 90%;
    }

    /* Section 2: Formulário ocupa a tela toda */
    .s2-div-pai {
        flex-direction: column;
        width: 95vw;
        height: auto;
        padding: 20px;
    }

    .s2-div-filho-1, .s2-div-filho-2 {
        max-width: 100%;
        width: 100%;
    }

    .s2-div-neto-h3 {
        font-size: 28px;
        text-align: center;
    }

    .s3 {
        display: none;
    }

    .s4 {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .s4-div-pai-1 {
        margin-left: 0;
        width: 100%;
    }

    /* Section 3, 5 e 6: Transforma os cards em lista vertical */
    .s5, .s6 div[style*="display: flex"] {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        background-image: none !important; /* Remove fundos que atrapalham no mobile */
    }

    .s7 {
        display: none;
    }

    .s6-card img, .s7-bolas-1 img, .s7-bolas-2 img, .s7-bolas-3 img {
        width: 60% !important;
        height: auto !important;
        margin: 0 auto;
    }
    
    /* Vídeos do YouTube: Faz ficarem responsivos */
    .s8 h2 {
        margin-bottom: 20px;
    }

    .s8 div {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    iframe {
        width: 100% !important;
        height: 250px;
    }

    /* FAQ: Responsivo para Mobile */
    .faq {
        padding: 40px 15px;
    }

    .faq h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-div-pai {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-item summary {
        font-size: 14px;
        padding: 15px 20px;
    }

    .faq-item p {
        font-size: 14px;
        padding: 0 20px 15px 20px;
    }
}