@charset "UTF-8";

/*
    Paleta de cores:
    Azul fundo: #001A27
    Azul escuro: #00273B
    Azul oficial: #0074AD
    Azul claro: #3FBFFF
    Amarelo primário: #FFE86D
    Laranja claro: #FFE7C7
    Laranja escuro: #FFA857
    Cinza claro: #E7F7FF
*/

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

:root{
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
  --font-heading: "Poppins", var(--font-body);
}
html{ font-family: var(--font-body); line-height:1.4; }
h1,h2,h3,h4,.btn-primary{ font-family: var(--font-heading); letter-spacing:.1px; }

@keyframes floaty {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-5px) }
  100% { transform: translateY(0) }
}
#texto-inicio > img, .mascote { animation: floaty 2s ease-in-out infinite; }

#inicio, #capitulos{
  padding-bottom: 30px;      /* ajuste o valor que preferir */
}

div.cta-row {
    margin-top: 10px;
    margin-bottom: 0px;
}

div.cta-row a{
    display: block;
    margin: auto;
    width: fit-content;
    color:#fff;
    font-weight:700;
    font-size: clamp(14px, 12px + 0.4vw, 18px);
    letter-spacing:.5px;
    padding: 12px 29px;
    border:0;
    border-radius:999px;
    background:#1b99d8;
    text-transform:uppercase;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.137);
    cursor:pointer;
    transition: transform .06s ease, filter .2s ease;
    text-decoration: none;
}

.cta-row a:hover{
    transform: brightness(2);
    background-color: #3FBFFF;
    transform: scale(1.05);
}

header {
    background-color: #0074AD;
}

div.logo {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
}

main {
    background-color: lightgray;
}

section#inicio {
    background-color: #0074AD;
}

div#texto-inicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 40px 0px 40px;
}

div#titulo-subtitulo {
    width: 70vw;
    max-width: 380px;
}

span.header {
    font-size: clamp(25px, 23px + 1vw, 38px);
    text-shadow: #001a27a6 2px 2px 2px;
}

h1.fundo-escuro {
    color: #fff;
    padding-bottom: 15px;
    text-align: center;
    font-size: clamp(22px, 20px + 1vw, 32px);
    line-height: 1.6em;
    margin: auto;
}

p#texto-no-inicio {
    text-align: center;
    font-size: clamp(15px, 15px + 0.2vw, 18px);
    line-height: 1.5em;
    color: #fff;
    padding-bottom: 30px;
}

div#texto-inicio > img {
    max-height: 300px;
    padding-bottom: 25px;
}

h2 {
    text-align: center;
    font-size: clamp(22px, 20px + 0.7vw, 35px);
    font-weight: bolder;
    line-height: 1.4em;
    color: #001A27;
    margin: auto;
}

section#capitulos {
    background-color: #FFA857;
}

div#texto-intro {
    width: 80vw;
    margin: auto;
    padding-top: 25px;
}

div.blocos-capitulos {
    display: flex;
    justify-content: center;
    flex-flow: column nowrap;
    align-items: center;
    margin-top: 30px;
}

.blocos-capitulos .bloco { will-change: transform, opacity; }

.reveal{
  opacity: 0;
  transform: translateY(14px) translateX(var(--offset, 0));
  transition:
    transform .60s cubic-bezier(0.17, 0.55, 0.55, 1) ,
    opacity  .45s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: none;
}
/* alterna lado automaticamente */
.blocos-capitulos .bloco:nth-child(odd).reveal { --offset: -28px; }
.blocos-capitulos .bloco:nth-child(even).reveal { --offset:  28px; }

div.bloco {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    width: 70vw;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.315);
    max-width: 700px;
}

div.bloco:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.315);
    transform: scale(1.02);
    transition: transform .06s ease, filter .2s ease;
}

div.titulo-capitulo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

div.titulo-capitulo-texto {
    margin-left: 15px;
}

h3 {
    color: #001A27;
    display: block;
    font-size: clamp(18px, 16px + 0.8vw, 20px);
}

h4 {
    font-size: clamp(16px, 15px + 0.6vw, 18px);
    font-weight: normal;
    color: #001A27;
    display: block;
}


div > p {
    font-size: clamp(13px, 11px + 0.4vw, 16px);
    line-height: 1.8em;
    color: #001A27;
}

section#form {
    background-color: #3FBFFF;
    padding: 32px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

form#ebook-forms{
    width: 100%;
    max-width: 580px;
}

div.form-wrap{
    width: 70vw;
    max-width: 630px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-title{
    text-align: center;
    color:#001A27;
    margin-bottom: 15px;
    font-size: clamp(22px, 20px + 0.7vw, 35px);
}

p#texto-no-form {
    text-align: center;
    color:#001A27;
    font-size: clamp(15px, 11px + 0.4vw, 17px);
    margin-bottom: 20px;
}

.field{
    margin-bottom: 14px;
}

.field label{
    margin-bottom: 6px;
    font-size: 14px;
    color:#001A27;
}

.field input{
    width:100%;
    padding: 10px 12px;
    border:1px solid #ddd;
    border-radius:6px;
    background:#fff;
    color:#001A27;
}

.field input:focus{
    outline:none;
    border-color:#0074AD;
    box-shadow: 0 0 0 3px rgba(0,116,173,.15);
}

.button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-primary{
    padding: 12px 29px;
    border:0;
    border-radius:999px;
    background:#00273B;
    color:#fff;
    font-weight:700;
    font-size: clamp(14px, 12px + 0.4vw, 18px);
    letter-spacing:.5px;
    text-transform:uppercase;
    margin-right: 15px;
    line-height: 20px;
    min-height: 50px;
    cursor:pointer;
    transition: transform .06s ease, filter .2s ease;
}

.btn-primary:hover{
    color: #001A27;
    background-color: #FFA857;
    border: #001A27 2px solid;
    transform: scale(1.05);
}

/* Robô */
.mascote{
    width:110px;
    height:auto;
}

section.footer-content {
    background-color: #0074AD;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 0px 15px;
}

div.redes-sociais {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    padding-left: 10px;
}

div.footer-logo {
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

footer p {
    background-color: #0074AD;
    text-align: center;
    color: #fff;
    font-size: 12px;
    padding-bottom: 15px;
}

html { scroll-behavior: smooth; }
