:root {
    --color-blue: #0C416A;
    --color-gray: #1E1E1E;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --bg-gray: #f6f6f6;
    --bg-white: #ffffff;
    --font-gg:128px;
    --font-g:40px;
    --font-m:36px;
    --font-p:24px;
    --font-s:20px;
}

body {
    padding: 0; margin: 0;
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
    line-height: 1.2;
    background-color: var(--bg-white);
}

h1 {
    font-size: var(--font-g);
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 1px;
}

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

p {
    color: var(--color-gray);
}

.color-blue {
    color: var(--color-blue);
}

.img-fluid {
    max-width: 100%;
}

.row {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1450px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-direction: column;
}

#nav {
    position: absolute;
    top: 0;
    right: 30px;
    z-index: 999;
}

#nav a {
    color: #fff;
    margin-left: 5px;
    text-decoration: none;
}

#header {
    background: url('../images/bg-header.jpg') no-repeat top center;
    background-size: cover;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#header .mask {
    position: absolute;
    left: 0;
    z-index: 9;
     width: 100vw;
    height: 80vh;
    opacity: .6;
    cursor: pointer;
    background-color: #1e1e1e;
    z-index: 0;
}

#header .logo {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: -250px;
    opacity: 0;
    transition: margin-top 0.6s ease, opacity 0.3s ease;
    width: 100%;
}

section {
    width: 100%;
    padding: 80px 0;
    box-sizing: border-box;
}

.bg {
    background-color: var(--bg-gray);
}

#section-apresentacao p {
    font-size: var(--font-m);
    font-weight: 300;
}

#section-apresentacao .container {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-direction: column;
}

#section-apresentacao p b {
    font-weight: 700;    
}

#section-metodologia .text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

#section-metodologia h2 b {
    font-size: var(--font-m);
    font-weight: bold;
}

#section-metodologia h2 {
    width: 70%;
}

#section-metodologia p {
    font-size: var(--font-p);
    line-height: 1.7;
    margin-top: 30px;
}

#section-metodologia .itens {
    width: 100%;
    max-width: 1000px;
}

#section-metodologia .itens h3 {
    color: var(--color-black);
    font-size: var(--font-m);
    font-weight: 300;
    border: 2px solid #3a9dc1;
    border-radius: 100px;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    margin: 15px 0;

    /* width: 0%;
    overflow: hidden;
    height: auto;
    white-space: nowrap; */
}

#section-metodologia .itens h3:hover {
    color: #3a9dc1;
}

#section-metodologia .itens p {
    line-height: 1.7;
    text-align: justify;
    
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    transition: all 0.4s ease;
}

#section-metodologia .itens p.ativo {
    opacity: 1;
    margin: 0 0 10px;
    max-height: 500px; /* altura suficiente para o conteúdo */
}

.traco {
    border-bottom: 1px solid #3a9dc1;
    width: 184px;
    margin: 0 auto;
    margin-top: 150px;
    transform: rotate(90deg);
    transition: transform 0.6s ease;
}

.traco.second {
    margin-top: 100px;
    margin-bottom: 150px;
}

.traco.animate {
    transform: rotate(450deg);
}

#section-caminho {
    padding-bottom: 0;
}

#section-caminho h2 {
    font-size: var(--font-m);
    font-weight: 700;
    margin-bottom: 100px;
}

#section-numeracao {
    padding: 0;
}

#section-numeracao .box-itens {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

#section-numeracao .box-itens.first {
    justify-content: flex-start;
}

#section-numeracao .box-itens.second {
    justify-content: flex-end;
}

#section-numeracao .box-itens .item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 46%;
}

#section-numeracao .box-itens .numeracao {
    font-size: var(--font-gg);
    font-weight: 700;
    color: var(--color-blue);
}

#section-numeracao .box-itens .item .content {
    width: 70%;
}

#section-numeracao .box-itens h2 {
    font-size: var(--font-m);
    font-weight: 700;
    color: var(--color-blue);
    margin: 0;
}

#section-numeracao .box-itens p {
    font-size: var(--font-s);
    font-weight: 300;    
    color: var(--color-gray);
    margin: 0;
    margin-top: 8px;
}

#section-treino {
    background: url(../images/bg-parallax.jpg) no-repeat bottom center;
    background-color: #00000087;
    background-size: cover;
    width: 100vw;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: fill-box;
    background-blend-mode: color;
    padding-bottom: 0;
}

#section-treino .text p {
    font-size: var(--font-m);
    color: var(--color-white);
    font-weight: 200;
    text-align: center;
    max-width: 940px;
}

#section-galeria .text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

#section-galeria h2 {
    font-size: var(--font-m);
    font-weight: bold;
    width: 35%;
}

#section-galeria p {
    font-size: var(--font-p);
    line-height: 1.7;
    margin-top: 30px;
}

#section-galeria .flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#section-galeria .flex .col {
    display: flex;
    flex-direction: column;
    width: 22%;
}

#section-galeria .flex .col a {
    position: relative;
  transition: transform 0.3s ease;
}

#section-galeria .flex .col img {
    max-width: 100%;
}

/* #section-galeria .col img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
} */
#section-galeria .col a:hover {
  transform: scale(.95);
}

/* ÍCONE DE AMPULHETA */
#section-galeria .col a::before {
  content: "⏳";
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 40px;
  color: white;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
#section-galeria .col a:hover::before {
  opacity: 1;
}

/* MODAL */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#modal.active {
  display: flex;
}
#modal img {
  width: 80%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* BOTÕES DE NAVEGAÇÃO */
.nav-btn {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.4);
  background: none;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  transform: translateY(-50%);
  border-radius: 50%;
  transition: background 0.3s;
}
.nav-btn:hover {
  color: #ccc;
}
#prevBtn { left: 30px; }
#nextBtn { right: 30px; }

/* BOTÃO FECHAR */
#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}


#section-video .row {
    margin-top: 30px;
}

#section-video .text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

#section-video h2 {
    font-size: var(--font-m);
    font-weight: bold;
    width: 35%;
}

#section-video p {
    font-size: var(--font-p);
    line-height: 1.7;
    margin-top: 30px;
}

#section-video #mainVideo {
    border-radius: 25px;
}

#section-video .video {
    width: 70%;
}

#section-form h2 {
    font-size: var(--font-m);
    font-weight: 300;
    width: 100%;
    max-width: 790px;
    text-align: center;
}

#section-form form  {
    width: 100%;
}

#section-form form .row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#section-form form fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#section-form form fieldset input {
    border: 2px solid var(--color-blue);
    border-radius: 100px;
    padding: 15px;
    text-align: left;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    font-size: var(--font-p);
    font-weight: 300;
}

#section-form form fieldset.col-right {
    width: 70%;
}

#section-form form fieldset.col-left {
    width: 30%;
}

#section-form form fieldset.col {
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
}

#section-form form fieldset input[type="submit"] {
    max-width: 250px;
    margin: 0 auto;
    background-color: #0C416A;
    color: #fff;
    margin-top: 20px;
    padding: 20px 40px;
    cursor: pointer;
}

#section-form form fieldset input[type="submit"]:hover {
    background-color: #000;
}

#footer {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: row;
    margin-bottom: 60px;
}

#footer span {
    margin: 0 50px;
    color: var(--color-blue);
    font-size: var(--font-m);
}

#footer a {
    color: var(--color-blue);
    font-size: var(--font-m);
    font-weight: 300;
    text-decoration: none;
}

#footer a:hover {
    color: var(--color-black);
}

@media (max-width: 992px) {
    #section-numeracao .box-itens .item {
        gap: 10px;
        width: 46%;
    }
}

@media (max-width: 923px) {
    #section-metodologia .text {
        flex-direction: column;
    }
    #section-metodologia h2 {
        width: 95%;
        text-align: center;
        margin-bottom: 0;
    }
    #section-metodologia p {
        margin-top: 0;
        text-align: center;
    }
    #section-numeracao .box-itens.second {
        justify-content: flex-start;
    }
    #section-numeracao .box-itens .item {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }
    #section-numeracao .box-itens h2,
    #section-numeracao .box-itens p {
        text-align: center;
    }
    #section-caminho h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    #section-galeria .text {
        flex-direction: column;
    }
    #section-galeria h2 {
        width: 95%;
        text-align: center;
        margin-bottom: 0;
    }
    #section-galeria p {
        margin-top: 0;
        text-align: center;
    }
    #section-video .text {
        flex-direction: column;
    }
    #section-video h2 {
        width: 95%;
        text-align: center;
        margin-bottom: 0;
    }
    #section-video p {
        margin-top: 0;
        text-align: center;
    }

}

@media (max-width: 767px) {
    :root {
        --font-gg: 64px;
        --font-g: 28px;
        --font-m: 24px;
        --font-p: 18px;
        --font-s: 16px;
    }
    #section-galeria .flex .col {
        width: 45%;
    }
}

@media (max-width:560px) {
    #section-form form .row {
        flex-direction: column;
    }
    #section-form form fieldset,
    #section-form form fieldset input[type='text'] {
        width: 100% !important;
        box-sizing: border-box;
    }
    #footer {
        flex-wrap: wrap;
    }
    #footer span {
        width: 100%;
        text-align: center;
    }
}