/* 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;
}

.pdf {
      transition: transform 0.3s ease;
}

.pdf:hover {
  transform: scale(1.0); 
  color: #00ffae;
}

/* 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: column;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0px 20px 0px;
}

section h1 {
    font-family: "cofo-sans-variable", sans-serif;
    font-variation-settings: 'wght' 700, 'slnt' 0;
    font-size: clamp(24px, 4vw, 36px);
    color: #2B4C8C;
    text-align: center;
    margin-bottom: 20px;
}

/* Imagens dentro das sections */
section img {
    width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Iframes (Reels/Vídeos) */
section iframe {
    width: 100%;
    max-width: 315px;
    height: 560px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.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;
}

footer 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);
    line-height: 0.9;
    text-align: right;
    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;
}

.video-container {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.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);
}

/* MEDIA QUERIES - RESPONSIVIDADE */

/* Tablet grande (iPad Pro, etc) */
@media (max-width: 1368px) and (min-width: 1025px) {
    /* Main responsivo */
    section {
        padding: 35px 40px;
        gap: 25px;
    }

    section iframe {
        max-width: 350px;
        height: 600px;
    }

    /* Footer */
    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;
    }

    footer 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;
    }
}

.parte2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 600px;
    justify-content: center;
    align-items: center;   
}

.video {
    display: flex;
    width: 60%;
    height: 600px;
    background-color:#00ffae;
}

.decoração {
    display: flex;
    width: 40%;
    height: 500px;
    background-color: #2B4C8C;
}

/* Tablet */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    nav, .nav2 {
        display: none;
    }

    /* Main responsivo */
    section {
        padding: 30px 30px;
        gap: 20px;
    }

    section h1 {
        font-size: 28px;
    }

    section iframe {
        max-width: 300px;
        height: 540px;
    }

    .section-imagem {
        display: none;
    }

    /* Footer */
    .conteudo1 {
        width: 50%;
    }

    .conteudo2 {
        width: 50%;
    }

    footer iframe {
        height: 350px;
    }

    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;
    }

    footer 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 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;
    }

    /* Main responsivo */
    section {
        padding: 25px 20px;
        gap: 15px;
    }

    section h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    section iframe {
        max-width: 280px;
        height: 500px;
    }

    section img {
        max-width: 95%;
    }

    .section-imagem {
        display: none;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 24px;
    }

    .back-to-top img {
        width: 16px;
    }

    /* Footer */
    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;
    }

    footer 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;
    }

    .parte2 {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    header {
        font-size: 14px;
        padding: 15px;
    }

    nav, .nav2 {
        gap: 15px;
        font-size: 14px;
    }

    /* Main responsivo */
    section {
        padding: 20px 15px;
        gap: 15px;
    }

    section h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    section iframe {
        max-width: 260px;
        height: 460px;
    }

    section img {
        max-width: 100%;
        width: 100%;
    }

    /* Footer */
    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;
    }

    footer 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;
    }
}

/* 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;
    }
    
    .gif {
        height: 300px;
    }
    
    .call-to-action {
        align-items: center;
        font-size: clamp(20px, 6vw, 40px);
        gap: 30px;
        padding: 15px;
    }
    
    .call1 {
        aspect-ratio: 1/1;
        padding: 15px;
        padding-bottom: 55px;
    }

    .call2 {
        aspect-ratio: 1/1;
    }
    
    .escamas {
        width: clamp(100px, 18vw, 120px);
    }
        .section-imagem {
        display: none;
    }

    .imgPescador {
        display: none;
    }
}