:root {
    --one-anim-duration: 1.2s;
}

* {
    box-sizing: border-box;
}

html, body {
    overscroll-behavior: none;
    scroll-behavior: smooth;
}

/* Ajustes necessários para a navbar */
body {
    font-family: sans-serif;
    margin-top: 55px; /* Importante para a navbar flutuante */
}

/* Garante que âncoras com id não fiquem escondidas atrás da navbar fixa */
[id] {
    scroll-margin-top: 20px;
}

/* Apara bloquear o scroll da página quando o modal for aberto. */
/* Só funciona no Chrome. Não funciona no Safari. */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

/* Estilos para a navbar */
.navbar {
    background-color: #37517e !important;
}

.navbar .nav-link:hover {
    color: #00aaff !important;
}

.navbar .nav-link {
    transition: color 0.5s ease;
    color: #fff !important;
    position: relative;
}

/* Estilos para o rodapé */
footer a:hover {
    color: #00aaff !important;
}

footer a {
    transition: color 0.5s ease;
    color: #000 !important;
    text-decoration: none;
}

/* Estilos para as sessões (normalmente background) */
section.one-bg-dark, footer.one-bg-dark {
    background-color: #F5F5F5;
}

/* Estilos para as sessões (normalmente background) */
section.one-bg-black, footer.one-bg-black {
    background-color: #37517e;
}

section.one-bg-light, footer.one-bg-light {
    background-color: #FFFFFF;
}

/* Estilo para a linha abaixo do título da sessão */
.one-hr-primary {
    width: 60px;
    height: 5px;
    background-color: #00aaff;
    opacity: 1;
}

/* Hero Container */
section.one-bg-hero {
    background-color: #37517e;
    color: white;
    min-height: 450px;
}

section.one-bg-hero img {
    max-height: 400px;
    width: auto;
}

/* Hero Container */
section.one-hero-parallax {
    height: 430px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

/* Estilo da sessão Process - número dos passos */
.one-como-funciona-step {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #00aaff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Estilo da sessão Call to Action (efeito de paralax via imagem fixa em background) */
section.one-call-to-action {
    min-height: 300px;
    position: relative;
}

video.one-call-to-action-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

/* Estilos da setinha float para voltar para o topo */
.one-arrow {
    background-color: #00aaff;
    color: white;
    border: 2px solid white;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.one-arrow:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
    background-color: #00aaff;
    border: 2px solid white;
}

/* Estilos do botão float do WhatsApp */
.one-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.one-whatsapp:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

/* Utilizado para a lista de bullets em 4, 2 ou 1 coluna */
.one-column-title {
    line-height: 1.3;
}

@media (min-width: 1201px) {
    .one-column-title {
        min-height: 3rem;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    .one-column-title {
        min-height: 5rem;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .one-column-title {
        min-height: 3rem;
    }
}

@media (max-width: 767px) {
    .one-column-title {
        min-height: unset;
    }
}

.one-social-icon.btn-outline-secondary:hover {
    background-color: transparent;
    color: #00aaff;
    border-color: #00aaff;
    box-shadow: none;
}

.one-table-no-vertical-borders td,
.one-table-no-vertical-borders th {
    border-left: none !important;
    border-right: none !important;
}

.one-box-highlighted {
    background-color: #fff9c4;
}

.one-target-link {
    text-decoration: none;
    color: #0d6efd;
}

.one-target-link:hover {
    text-decoration: underline;
}

.one-badge-process {
    background-color: #00aaff;
    color: #ffffff;
    font-size: 1.25rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    display: inline-block;
}

.one-badge-process {
    display: inline-block;
    background-color: #eaf6ff;
    color: #007acc;
    font-weight: 600;
    padding: 8px 18px;
    font-size: 0.95rem;
    border-radius: 40px;
    box-shadow: none;
    border: 1px solid #b3e0ff;
    cursor: default;
}

/* Estado inicial de qualquer elemento com data-one */
[data-one] {
    opacity: 0;
    transition: opacity var(--one-anim-duration) ease-out, transform var(--one-anim-duration) ease-out;
}

/* data-one (novo AOS) */
[data-one].one-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* fade-up */
[data-one="fade-up"] {
    transform: translateY(60px);
}

[data-one="fade-up"].one-in-view {
    transform: translateY(0);
}

/* zoom-in */
[data-one="zoom-in"] {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity var(--one-anim-duration) ease-out,
                transform var(--one-anim-duration) cubic-bezier(0.16, 1, 0.3, 1);
}

[data-one="zoom-in"].one-in-view {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.one-blog, .one-blog-content {
    max-width: 760px;        /* largura confortável para leitura */
    margin: 0 auto;          /* centraliza o conteúdo */
    line-height: 1.7;        /* melhora muito a leitura */
    font-size: 1.05rem;
    color: #333;
}

/* PARÁGRAFOS */
.one-blog-content p {
    margin-bottom: 1.4rem;   /* espaçamento entre parágrafos */
}

/* H2 — títulos principais dentro do post */
.one-blog-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #37517e;          /* mantém identidade One PRO Page */
    line-height: 1.35;
}

/* H3 — subtítulos internos */
.one-blog-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #007acc;          /* tom complementar */
    line-height: 1.35;
}

/* LISTAS */
.one-blog-content ul,
.one-blog-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.6rem;
}

.one-blog-content li {
    margin-bottom: 0.5rem;
}

/* IMAGENS DENTRO DO POST */
.one-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* CITAÇÕES */
.one-blog-content blockquote {
    border-left: 4px solid #00aaff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
}

/* LINKS */
.one-blog-content a {
    color: #0d6efd;
    text-decoration: none;
}

.one-blog-content a:hover {
    text-decoration: underline;
}