/* Edição da estrutura completa do site. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    cursor: url(Img/cursor.png), auto;
}

/* Paleta de cores */
:root {
    --cor1: #F2F2F2;
    --cor2: #C8555B;
    --cor3: #2B4C8C;
    --cor4: #00ffae;
    --cor5: #FFFA88;
}

/* Definição de padrão da página */
body {
    background-color: #F2F2f2;
    font-family: "cofo-sans-variable", sans-serif;
    font-variation-settings: "slnt" 0, "wght" 400;
    font-size: 17px;
    color: #2B4C8C;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(Img/bg1.jpg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho */
header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: space-between;
    font-family: "cofo-sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
    gap: 20px;
    position: relative;
}

header img {
    max-width: 150px;
    height: auto;
}

/* Botão hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    order: -1;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #2B4C8C;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span {
    background-color: #F2F2F2;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2B4C8C;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    color: #F2F2F2;
    font-size: 28px;
    font-family: "cofo-sans", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 35%;
    height: auto;
    gap: 100px;
    justify-content: center;
    min-width: 200px;
} 

nav a, .nav2 a {
      display: inline-block;
  transition: transform 0.3s ease;
}

nav a:hover, .nav2 a:hover {
  transform: scale(1.1) translateY(-5px);
}

.nav2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 35%;
    height: auto;
    gap: 100px;
    justify-content: center;
    min-width: 200px;
}

/* Main */
main {
    flex: 1; 
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 40px;
    padding: 20px 0px 20px 0px;
}

.parte1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    min-width: 300px;
    padding-left: 2%;
}

.parte1 p {
    line-height: 0.9;
}

.section-imagem { 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-end;
    min-width: 300px;
    padding-right: 0;
    margin-right: 0;
}

.section-imagem img {
    max-width: 100%;
    height: auto;
    max-height: 374px;
    display: block;
}

.parte2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    padding: 60px 40px;
    gap: 40px;
}

.receita {
    display: flex;
    flex-direction: column;
    width: 70%;
    gap: 10px;
}

.links {
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 500px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.links a, .pdf {
      transition: transform 0.3s ease;
}

.links a:hover, .pdf:hover {
  transform: scale(1.0); 
  color: #00ffae;
}


h1 {
  font-family: cofo-raffine, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(16px, 5vw, 72px);
    color: #2B4C8C;
    width: fit-content; 
    border: 3px solid #00ffae; 
    padding: 20px;

}

        .comentarios-section {
            display: flex;
            flex-direction: column;
            width: 100%;
            padding: 60px 40px;
            gap: 20px;
        }

        .comentarios-section h2 {
                font-family: cofo-raffine, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(16px, 5vw, 72px);
            color: var(--cor3);
            text-align: left;
            margin-bottom: 20px;
        }

        .comentario-container {
            width: 100%;
            max-width: 800px;
        }

        textarea {
            width: 100%;
            min-height: 200px;
            padding: 20px;
            border: 3px solid var(--cor3);
            background-color: var(--cor1);
            font-family: "cofo-sans-variable", sans-serif;
            font-variation-settings: "slnt" 0, "wght" 400;
            font-size: 17px;
            color: var(--cor3);
            resize: vertical;
            transition: all 0.3s ease;
            border-radius: 0;
        }

        textarea::placeholder {
            color: rgba(43, 76, 140, 0.5);
        }

        textarea:focus {
            outline: none;
            border-color: var(--cor4);
            background-color: #fff;
        }

        .btn-enviar {
            margin-top: 20px;
            padding: 15px 40px;
            background-color: var(--cor4);
            color: var(--cor3);
            border: none;
            font-family: "cofo-sans", sans-serif;
            font-weight: 600;
            font-size: 18px;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-enviar:hover {
            background-color: var(--cor3);
            color: var(--cor1);
            transform: translateY(-3px);
        }

        .btn-enviar:active {
            transform: translateY(0);
        }
 
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #FFFA88;
    color: #D8E2DC;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 30px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    z-index: 100;
}

.back-to-top img{ 
    width: 20px;
}

.back-to-top.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top.hide {
    opacity: 0;
    transform: translateY(20px);
}
 
/* Footer */
footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    min-height: 600px;
    align-items: center;
    color: #F2F2F2;
    background-image: url('Img/footer.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 40px;
    justify-content: center;
    gap: 30px;
}

.logo2 {
    margin-left: 1%;
    max-width: 120px;
    height: auto;
}

.conteudo1 {
    display: flex;
    flex-direction: column;
    width: 40%;
    min-width: 300px;
    justify-content: center;
    align-items: last baseline;
}

.conteudo1-texto {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 20px;
    width: 100%;
    max-width: 700px;
    justify-content: space-between;
    gap: 30px;
}

.titulo-texto {
    font-family: "cofo-sans-variable", sans-serif;
    font-variation-settings: 'wght' 700, 'slnt' 0;
    font-size: 18px;
    flex: 1;
    min-width: 200px;
}

h3 {
    font-family: cofo-sans-variable, sans-serif; 
    font-variation-settings: 'wght' 200, 'slnt' 0;
    margin-bottom: 10px;
}

iframe {
    width: 100%;
    max-width: 700px;
    height: 450px;
    border: 0;
}

.conteudo2 {
    display: flex;
    flex-direction: row;
    width: 42%;
    min-width: 300px;
    align-items: center;
    justify-content: right;
    font-family: "cofo-raffine", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: clamp(30px, 5vw, 70px);
    text-align: right;
    line-height: 0.9;
    padding-bottom: 8%;
    padding-right: 3%;
}

.conteudo2-texto {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.conteudo2-texto span {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.conteudo2-texto img {
    width: 35px;
    height: 35px;
}

footer > p:last-child {
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

/* MEDIA QUERIES - RESPONSIVIDADE */

/* Tablet grande (iPad Pro, etc) - SÓ FOOTER */
@media (max-width: 1368px) and (min-width: 1025px) {
    footer {
        background-image: url('Img/footer.svg');
        background-size: cover;
        background-position: center;
        min-height: 800px;
        padding: 80px 40px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .logo2 {
        margin: 0 auto 40px;
        display: block;
    }

    footer > a {
        width: 100%;
        text-align: center;
        order: -1;
    }

    .conteudo1 {
        width: 100%;
        max-width: 800px;
        order: 1;
        margin-bottom: 30px;
        align-items: center;
    }

    .conteudo1-texto {
        flex-direction: row;
        justify-content: space-around;
        max-width: 100%;
        gap: 60px;
        margin-bottom: 30px;
    }

    .titulo-texto {
        flex: 1;
        max-width: 300px;
        text-align: center !important;
    }

    .titulo-texto h3,
    .titulo-texto p {
        text-align: center !important;
    }

    iframe {
        width: 100%;
        max-width: 600px;
        height: 400px;
        margin: 0 auto;
        display: block;
    }

    .conteudo2 {
        width: 100%;
        order: 2;
        justify-content: center;
        text-align: center;
        padding: 0;
        margin-top: 30px;
        align-items: center;
    }

    .conteudo2-texto {
        align-items: center;
    }

    .conteudo2-texto span {
        justify-content: center;
        margin-top: 20px;
    }

    footer > p:last-child {
        order: 3;
        margin-top: 40px;
    }

}


/* Tablet */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    nav, .nav2 {
        display: none;
    }

    .conteudo1 {
        width: 50%;
    }

    .conteudo2 {
        width: 50%;
    }

    iframe {
        height: 350px;
    }
    
   .parte2 {
        padding: 50px 30px;
    }

    .galeria {
        width: calc(50% - 15px);
        min-width: 200px;
        height: 250px;
        font-size: 18px;
    }
    
        footer {
        background-image: url('Img/footer.svg');
        background-size: cover;
        background-position: center;
        min-height: 800px;
        padding: 80px 40px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .logo2 {
        margin: 0 auto 40px;
        display: block;
    }

    footer > a {
        width: 100%;
        text-align: center;
        order: -1;
    }

    .conteudo1 {
        width: 100%;
        max-width: 800px;
        order: 1;
        margin-bottom: 30px;
        align-items: center;
    }

    .conteudo1-texto {
        flex-direction: row;
        justify-content: space-around;
        max-width: 100%;
        gap: 60px;
        margin-bottom: 30px;
    }

    .titulo-texto {
        flex: 1;
        max-width: 300px;
        text-align: center !important;
    }

    .titulo-texto h3,
    .titulo-texto p {
        text-align: center !important;
    }

    iframe {
        width: 100%;
        max-width: 600px;
        height: 400px;
        margin: 0 auto;
        display: block;
    }

    .conteudo2 {
        width: 100%;
        order: 2;
        justify-content: center;
        text-align: center;
        padding: 0;
        margin-top: 30px;
        align-items: center;
    }

    .conteudo2-texto {
        align-items: center;
    }

    .conteudo2-texto span {
        justify-content: center;
        margin-top: 20px;
    }

    footer > p:last-child {
        order: 3;
        margin-top: 40px;
    }
        .section-imagem {
        display: none;
    }
    .comentarios-section {
        padding: 30px 15px;
        align-items: flex-start;
    }

    .comentarios-section h2 {
        text-align: left;
        align-self: flex-start;
        font-size: clamp(30px, 8vw, 50px);
    }

    .comentario-container {
        align-self: flex-start;
    }

    .btn-enviar {
        display: block;
        width: auto;
    }

}

/* Tablet pequeno e Mobile landscape */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    nav, .nav2 {
        display: none;
    }

    section {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }


    .parte1 {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding-left: 2%;
    }

    .section-imagem {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    footer {
        padding: 40px 20px;
        min-height: auto;
        background-image: none;
        background-color: #2B4C8C;
    }

    .conteudo1 {
        width: 100%;
        align-items: center;
    }

    .conteudo1-texto {
        flex-direction: column;
        text-align: center;
        align-items: center; /* Adicione esta linha */
        gap: 30px;
    }

    .titulo-texto {
        text-align: center !important;
        width: 100%;
    }

    .titulo-texto h3,
    .titulo-texto p {
        text-align: center !important;
    }

    iframe {
        height: 300px;
        max-width: 100%;
    }

    .conteudo2 {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0;
        margin-top: 20px;
    }

    .conteudo2-texto {
        align-items: center;
    }

    .conteudo2-texto span {
        justify-content: center;
    }

        .section-imagem {
        display: none;
    }
     .back-to-top {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 24px;
    }

    .back-to-top img {
        width: 16px;
    }
        .parte2 {
        padding: 40px 20px;
        gap: 30px;
    }

    .parte2 h1 {
        font-size: clamp(35px, 8vw, 60px);
        margin-bottom: 15px;
    }

        .comentarios-section {
        padding: 30px 15px;
        align-items: flex-start;
    }

    .comentarios-section h2 {
        text-align: left;
        align-self: flex-start;
        font-size: clamp(30px, 8vw, 50px);
    }

    .comentario-container {
        align-self: flex-start;
    }

    .btn-enviar {
        display: block;
        width: auto;
    }

}

/* Mobile */
@media (max-width: 480px) {
    header {
        font-size: 14px;
        padding: 15px;
    }

    nav, .nav2 {
        gap: 15px;
        font-size: 14px;
    }

    section {
        padding: 15px;
    }

footer {
        padding: 30px 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;

    }

    .logo2 {
        margin: 0 auto 20px;
    }

    .conteudo1 {
        width: 100%;
        align-items: center;
    }

    .conteudo1-texto {
        flex-direction: column;
        align-items: center;
    }

    .titulo-texto {
        font-size: 16px;
        text-align: center !important;
    }

    .titulo-texto h3,
    .titulo-texto p {
        text-align: center !important;
    }

    iframe {
        height: 250px;
        width: 100%;
    }

    .conteudo2 {
        width: 100%;
        justify-content: center;
        padding: 0;
    }

    .conteudo2-texto {
        align-items: center;
        text-align: center;
    }

    .conteudo2-texto span {
        justify-content: center;
    }

    .conteudo2-texto img {
        width: 30px;
        height: 30px;
    }

    .parte2 {
        height: auto;
    }
    
    .video {
        height: 300px;
    }
    
    .decoração {
        height: 250px;
    }
    
    .parte3 {
        min-height: auto;
    }
    
        .comentarios-section {
        padding: 30px 15px;
        align-items: flex-start;
    }

    .comentarios-section h2 {
        text-align: left;
        align-self: flex-start;
        font-size: clamp(30px, 8vw, 50px);
    }

    .comentario-container {
        align-self: flex-start;
    }

    .btn-enviar {
        display: block;
        width: auto;
    }
  
}