* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4efe9;
    color: #0f1147;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: all 0.3s ease;
}

body.home header {
    background: transparent;
    backdrop-filter: blur(6px);
    border-bottom: none;
}

body.internal header {
    background: #f4efe9;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-img,
.footer-logo {
    filter: none;
}

body.internal .logo-img {
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #0f1147;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

body.home .nav-links a {
    color: white;
}

body.internal .nav-links a {
    color: #0f1147;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

body.home .menu-toggle {
    color: white;
}

body.internal .menu-toggle {
    color: #0f1147;
}

.menu-toggle.active {
    color: #0f1147;
}

.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.section p {
    line-height: 1.6;
    color: #333;
}

#app {
    animation: fade 0.3s ease;
}

.hero {
    height: 100vh;
    min-height: 100vh;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background: linear-gradient(-45deg, #0f1147, #1d2070, #2b2f8f, #0f1147);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

#hero-title,
#hero-subtitle {
    opacity: 0;
    transition: opacity 0.8s ease;
}

#hero-title.show,
#hero-subtitle.show {
    opacity: 1;
}

#hero-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
    text-wrap: balance;
}

#hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 700px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 5px;
}

.instituicao {
    font-weight: bold;
    margin-bottom: 10px;
}

.email {
    font-size: 0.9rem;
    margin: 10px 0;
    word-break: break-word;
}

.card button {
    background: #0f1147;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: auto;
}

.card button:hover {
    opacity: 0.8;
}

.contato-wrapper {
    max-width: 1120px;
    margin: 30px auto 0;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row .form-group {
    flex: 1 1 0;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group i, svg {
    position: absolute;
    left: 14px;
    /* color: #999; */
    color: #0f1147;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 14px 10px 42px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group.textarea textarea {
    resize: none;
}

.form-group label {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    /* color: #999; */
    color: #0f1147;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s ease;
    opacity: 0.8;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 4px;
    transform: translateY(0);
    font-size: 0.65rem;
    color: #0f1147;
    letter-spacing: 0.5px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f1147;
    box-shadow: 0 0 0 2px rgba(15, 17, 71, 0.08);
}

.form-group input:focus + label {
    opacity: 1;
}

.autocomplete {
    width: 100%;
}

.autocomplete-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
}

.autocomplete-item {
    padding: 12px 14px 12px 42px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background: #f4efe9;
}

.contact-form button {
    background: #0f1147;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form button:hover {
    opacity: 0.9;
}

.contact-form button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left: 4px solid #0f1147;
    font-size: 0.95rem;
    color: #333;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    border-left-color: #2ecc71;
}

.toast.error {
    border-left-color: #e74c3c;
}

.solucoes-section {
    width: 100%;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.service-category {
    width: 100%;
}

.service-category-header {
    margin-bottom: 24px;
}

.service-category-header h3 {
    font-size: 1.6rem;
    color: #0f1147;
    margin-bottom: 8px;
}

.service-category-header p {
    max-width: 1200px;
    line-height: 1.6;
    color: #444;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card-image {
    width: 100%;
    height: 180px;
    background: #f4efe9;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-image:hover img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 18px;
}

.service-card-content h4 {
    color: #0f1147;
    font-size: 1rem;
    margin-bottom: 0;
}

.service-card-content p,
.service-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;

    line-height: 1.5;
    color: #444;

    transition:
        max-height 0.45s ease,
        opacity 0.25s ease,
        margin-top 0.25s ease;
}

.service-card.active .service-card-content p,
.service-card.active .service-text {
    max-height: none;
    opacity: 1;
    margin-top: 10px;
    overflow: visible;
}

.service-card.active .service-card-content p {
    margin-top: 12px;
}

.service-toggle {
    margin-top: 12px;
    background: none;
    border: none;
    color: #0f1147;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.service-toggle:hover {
    text-decoration: underline;
}

.service-content-link {
    display: none;
    margin-top: 14px;
    color: #0f1147;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.service-card.active .service-content-link {
    display: inline-block;
}

.service-content-link:hover {
    opacity: 0.7;
}

.sobre-section {
    max-width: 1100px;
    margin: 0 auto;
}

.sobre-bloco {
    margin-top: 40px;
}

.sobre-bloco h3 {
    margin-bottom: 10px;
    color: #0f1147;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h3 {
    margin-bottom: 6px;
    color: #0f1147;
}

.section-header p {
    color: #444;
    line-height: 1.6;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    align-items: start;
}

.sobre-card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sobre-card h4 {
    margin-bottom: 8px;
    color: #0f1147;
}

.sobre-text {
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sobre-card.expanded .sobre-text {
    max-height: 1000px;
}

.toggle-text {
    margin-top: 14px;
    background: none;
    border: none;
    color: #0f1147;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    align-self: flex-start;
}

.toggle-text:hover {
    opacity: 0.7;
}

.principios-slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.principio-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    min-height: 180px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: opacity 0.3s ease;
}

.principio-card span {
    display: inline-block;
    color: #0f1147;
    font-weight: 700;
    margin-bottom: 12px;
    opacity: 0.7;
}

.principio-card h4 {
    color: #0f1147;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.principio-card p {
    line-height: 1.6;
    color: #333;
    max-width: 760px;
}

.principio-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(15,17,71,0.2);
    background: #fff;
    color: #0f1147;
    cursor: pointer;
    transition: 0.3s ease;
}

.principio-nav:hover {
    background: #0f1147;
    color: #fff;
}

.fluxo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    align-items: start;
}

.fluxo-card {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.fluxo-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.fluxo-card i {
    font-size: 60px;
}

.fluxo-card h4 {
    margin-bottom: 6px;
    color: #0f1147;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0f1147;
    color: #fff;
    font-size: 0.7rem;
    cursor: help;
    position: relative;
}

.info-icon::after {
    content: attr(data-info);
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%);
    width: min(220px, 70vw);
    max-width: 220px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #0f1147;
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 9999;
}

.info-icon:hover::after {
    opacity: 1;
}

.parcerias-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* .video-placeholder {
    height: 100%;
    min-height: 360px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f1147, #23267a);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.video-placeholder i {
    font-size: 3.5rem;
    opacity: 0.9;
}

.video-placeholder span {
    font-weight: 600;
} */

.video-placeholder {
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;

    background: linear-gradient(135deg, #0f1147, #23267a);
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;

    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* VÍDEO OCUPANDO TODO O ESPAÇO */
.video-placeholder video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ÍCONE PLAY */
.video-placeholder i {
    font-size: 3.5rem;
    opacity: 0.9;
    cursor: pointer;
    z-index: 2;
}

/* TEXTO */
.video-placeholder span {
    font-weight: 600;
    z-index: 2;
}

/* QUANDO ATIVO */
.video-placeholder.active video {
    opacity: 1;
}

.video-placeholder.active i,
.video-placeholder.active span {
    display: none;
}

.parcerias-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.parceria-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.parceria-card i {
    color: #0f1147;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.parceria-card h4 {
    color: #0f1147;
    margin-bottom: 8px;
}

.parceria-card p {
    line-height: 1.6;
    color: #333;
}

footer {
    text-align: center;
    padding: 20px;
    background: #0f1147;
    color: white;
}

.site-footer {
    background: #0f1147;
    color: #f4efe9;
    padding: 60px 40px 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.footer-logo {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.footer-brand,
.footer-links,
.footer-info,
.footer-certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links,
.footer-info {
    gap: 10px;
}

.footer-brand p {
    line-height: 1.6;
    opacity: 0.85;
    max-width: 360px;
    margin: 0 auto;
}

.site-footer h3 {
    font-size: 1rem;
    margin: 0 0 16px;
    color: #ffffff;
}

.site-footer a {
    color: #f4efe9;
    text-decoration: none;
    opacity: 1;
    transition: 0.3s;
}

.site-footer a:hover {
    opacity: 0.85;
}

.site-footer p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(244,239,233,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-certifications {
    margin-top: 0;
}

.footer-seals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-seals img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #f4efe9;
    padding: 6px;
    border: 1px solid rgba(244,239,233,0.35);
}

.footer-cert-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.certification-link {
    display: block;
    text-align: center;
    padding: 12px 14px;
    background: rgba(244,239,233,0.08);
    border: 1px solid rgba(244,239,233,0.35);
    border-radius: 10px;
    color: #f4efe9;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.certification-link:hover {
    background: #f4efe9;
    color: #0f1147;
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 45px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(244,239,233,0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.75;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    background: #25d366;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.7rem;
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    z-index: 9999;

    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.artigo-section {
    padding-top: 80px;
}

.artigo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-subtitle {
    max-width: 1200px;
    margin-bottom: 36px;
    color: #444;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* .post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.post-card img {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block;
}

.post-card-content {
    padding: 24px;
}

.post-card-content span,
.artigo-categoria {
    display: inline-block;
    margin-bottom: 10px;
    color: #0f1147;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-content h3 {
    margin-bottom: 10px;
    color: #0f1147;
}

.post-card-content p {
    margin-bottom: 16px;
}

.post-card-content a {
    color: #0f1147;
    font-weight: 700;
    text-decoration: none;
}

.post-card-content a:hover {
    opacity: 0.60;
} */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);

    display: flex;
    flex-direction: column;
}

.post-card img {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block;
}

.post-card-content {
    padding: 24px;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-content span,
.artigo-categoria {
    display: inline-block;
    margin-bottom: 10px;
    color: #0f1147;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-content h3 {
    margin-bottom: 10px;
    color: #0f1147;
}

.post-card-content p {
    margin-bottom: 16px;
}

.post-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    padding-top: 18px;
}

.post-main-btn,
.post-share-btn {
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
}

.post-main-btn {
    padding: 10px 16px;
    background: #0f1147;
    color: #fff !important;
}

.post-share-btn {
    width: 40px;
    height: 40px;
    padding: 0;

    border: none;
    background: #0f1147;
    color: #fff !important;

    font-size: 1.25rem;
}

.post-share-btn i {
    line-height: 1;
}

.post-share-btn.copy i {
    font-size: 1.35rem;
}

.post-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15,17,71,0.18);
    opacity: 0.96;
}

.post-share-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

.post-main-btn:active,
.post-share-btn:active {
    transform: scale(0.96);
}

.artigo-header {
    position: static;
    margin-bottom: 30px;
}

.artigo-header h1 {
    font-size: 2.4rem;
    color: #0f1147;
    margin-bottom: 14px;
}

.artigo-subtitulo {
    font-size: 1.15rem;
    max-width: 1200px;
}

.artigo-meta {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    color: #666;
    font-size: 0.9rem;
}

.artigo-capa {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 18px;
    margin: 36px 0;
}

.artigo-content h2 {
    color: #0f1147;
    margin: 32px 0 12px;
}

.artigo-content h3, h4 {
    color: #0f1147;
    margin: 0 0 12px;
}

.artigo-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.artigo-content .artigo-quote {
    font-style: italic;
    color: #0f1147;
}

.artigo-content .artigo-mark {
    font-weight: bold;
    color: #0f1147;
}

.artigo-video-bloco {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
    margin: 44px 0;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    background: #0f1147;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.artigo-video-bloco blockquote {
    background: #fff;
    border-left: 4px solid #0f1147;
    padding: 24px;
    border-radius: 14px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.artigo-content .artigo-reference {
    line-height: 1.4;
    margin-bottom: 15px;
}

.artigo-cta {
    margin-top: 50px;
    padding: 32px;
    border-radius: 18px;
    background: #0f1147;
    color: #fff;
    text-align: center;
}

.artigo-cta h3,
.artigo-cta p {
    color: #fff;
}

.artigo-cta a {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 18px;
    background: #f4efe9;
    color: #0f1147;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.artigo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 17, 71, 0.15);
}

.artigo-tags span {
    background: rgba(15, 17, 71, 0.08);
    color: #0f1147;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 32px;
}

.post-filter-btn {
    border: 1px solid rgba(15,17,71,0.18);
    background: #fff;
    color: #0f1147;

    padding: 10px 14px;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;
}

.post-filter-btn:hover {
    background: rgba(15,17,71,0.06);
}

.post-filter-btn.active {
    background: #0f1147;
    color: #fff;
    border-color: #0f1147;
}

.post-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(15,17,71,0.18);

    background: #fff;
    color: #0f1147;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;
    transition: all 0.25s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(15,17,71,0.06);
}

.pagination-btn.active {
    background: #0f1147;
    color: #fff;
    border-color: #0f1147;
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .post-actions {
        flex-direction: row;
    }

    .post-main-btn {
        flex: 1;
        text-align: center;
    }

    .post-share-btn {
        flex: 0 0 40px;
    }

    .artigo-section {
        padding-top: 70px;
    }

    .post-grid,
    .artigo-video-bloco {
        grid-template-columns: 1fr;
    }

    .artigo-header h1 {
        font-size: 2rem;
    }

    .artigo-capa {
        height: 240px;
    }

    .artigo-meta {
        flex-direction: column;
        gap: 6px;
    }
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .sobre-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fluxo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .parcerias-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #f4efe9;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    body.home .nav-links.active a,
    body.internal .nav-links.active a,
    .nav-links.active a {
        color: #0f1147 !important;
        font-size: 1.2rem;
        font-weight: 600;
    }

    body.menu-open .menu-toggle {
        color: #0f1147;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1040;
    }

    .overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .services-container {
        gap: 45px;
    }

    .service-card.active .service-card-content p,
    .service-card.active .service-text {
        max-height: none;
        overflow: visible;
    }

    .site-footer {
        padding: 45px 25px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-brand,
    .footer-links,
    .footer-info,
    .footer-certifications {
        padding: 28px 0;
        border-bottom: 1px solid rgba(244,239,233,0.2);
    }

    .footer-brand {
        padding-top: 0;
    }

    .footer-certifications {
        border-bottom: none;
    }

    .footer-logo {
        max-width: 190px;
    }

    .footer-bottom {
        margin-top: 25px;
        text-align: center;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .fluxo-grid {
        grid-template-columns: 1fr;
    }

    .principios-slider {
        grid-template-columns: 1fr;
    }

    .principio-nav {
        display: none;
    }

    .principio-card {
        padding: 24px;
    }

    .video-placeholder {
        min-height: 260px;
    }

    .info-icon::after {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 24px;
        transform: translateX(-50%);

        width: calc(100vw - 40px);
        max-width: 320px;

        padding: 12px 14px;
        font-size: 0.78rem;
        line-height: 1.45;
        text-align: center;

        z-index: 99999;
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    body.static-page .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        z-index: 99995;
    }

    body.static-page .nav-links.active {
        right: 0;
    }

    body.static-page .overlay.active {
        z-index: 99992;
    }

    body.static-page .menu-toggle {
        display: flex;
    }
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-filters {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 32px;
}

.event-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f1147;
}

.event-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-filter-btn {
    border: 1px solid rgba(15,17,71,0.18);
    background: #fff;
    color: #0f1147;

    padding: 10px 14px;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;
}

.event-filter-btn:hover {
    background: rgba(15,17,71,0.06);
}

.event-filter-btn.active {
    background: #0f1147;
    color: #fff;
    border-color: #0f1147;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.event-main-btn,
.event-share-btn {
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.event-main-btn {
    padding: 10px 16px;
    background: #0f1147;
    color: #fff !important;
}

.event-share-btn {
    width: 40px;
    height: 40px;
    padding: 0;

    border: none;
    color: #fff !important;

    font-size: 1.25rem;
}

.event-share-btn i {
    line-height: 1;
}

.event-share-btn.whatsapp {
    background: #25D366;
}

.event-share-btn.linkedin {
    background: #0A66C2;
}

.event-share-btn.copy {
    background: #0f1147;
}

.event-main-btn,
.event-share-btn {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
}

.event-main-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(15,17,71,0.18);

    opacity: 0.96;
}

.event-share-btn:hover {
    transform: translateY(-2px) scale(1.05);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.16);
}

.event-main-btn:active,
.event-share-btn:active {
    transform: scale(0.96);
}

/* .event-card img {
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
    display: block;
} */

.event-card img {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block;
}

.event-empty {
    color: #0f1147;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 20px 0 48px;
}

.event-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 36px 0 56px;
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-filters {
        flex-direction: column;
    }

    .event-filter-options {
        gap: 8px;
    }

    .event-actions {
        flex-direction: row;
        align-items: center;
    }

    .event-main-btn {
        flex: 1;
        text-align: center;
    }

    .event-share-btn {
        flex: 0 0 40px;
    }
}

body.internal .artigo-section {
    padding-top: 140px !important;
}

body.static-page header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99990;
    background: #f4efe9;
}

body.static-page .navbar {
    position: relative;
    z-index: 99991;
}

body.static-page .menu-toggle {
    position: relative;
    z-index: 99999;
}

body.static-page .overlay {
    z-index: 99992;
}

body.static-page .nav-links {
    z-index: 99995;
}

body.static-page .nav-links.active {
    z-index: 99995;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
iframe,
video {
    max-width: 100%;
}

body.static-page .site-footer {
    display: block !important;
}

body.static-page header,
body.internal header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f4efe9;
    z-index: 10000;
}

body.static-page .menu-toggle,
body.internal .menu-toggle {
    z-index: 10003;
}

body.static-page .nav-links,
body.internal .nav-links {
    z-index: 10002;
}

body.static-page .overlay,
body.internal .overlay {
    z-index: 10001;
}

.artigo-container,
.artigo-content,
.artigo-reference,
.artigo-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.artigo-content a,
.artigo-reference a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.artigo-content h3,
.artigo-content h4 {
    color: #0f1147;
    margin: 0 0 12px;
}

@media (max-width: 768px) {
    .section {
        width: 100%;
        max-width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    body.static-page .artigo-section,
    body.internal .artigo-section {
        padding-top: 130px !important;
    }

    .navbar {
        padding: 16px 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(78vw, 320px);
        max-width: 320px;
        height: 100vh;
        background: #f4efe9;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 25px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .artigo-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .artigo-subtitulo {
        font-size: 1rem;
    }

    .artigo-video-bloco {
        grid-template-columns: 1fr;
    }

    .artigo-capa {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar {
        padding: 14px 18px;
    }

    .logo-img {
        height: 34px;
    }

    .artigo-header h1 {
        font-size: 1.55rem;
    }

    .artigo-cta {
        padding: 24px 18px;
    }
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
iframe,
video {
    max-width: 100%;
}

body.static-page .site-footer {
    display: block !important;
}

.overlay,
.overlay.active,
body.static-page .overlay,
body.static-page .overlay.active,
body.internal .overlay,
body.internal .overlay.active {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.static-page header,
body.internal header,
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f4efe9;
    z-index: 1000;
}

body.home header {
    background: transparent;
}

body.home .nav-links a,
body.home .menu-toggle {
    color: #fff;
}

body.internal .nav-links a,
body.static-page .nav-links a,
body.internal .menu-toggle,
body.static-page .menu-toggle {
    color: #0f1147;
}

.artigo-container,
.artigo-content,
.artigo-reference,
.artigo-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.artigo-content a,
.artigo-reference a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.artigo-content h3,
.artigo-content h4 {
    color: #0f1147;
    margin: 0 0 12px;
}

@media (max-width: 768px) {
    .section {
        width: 100%;
        max-width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    body.static-page .artigo-section,
    body.internal .artigo-section,
    .artigo-section {
        padding-top: 130px !important;
    }

    .navbar {
        padding: 16px 24px;
    }

    .menu-toggle,
    body.static-page .menu-toggle,
    body.internal .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1200;
        color: #0f1147;
    }

    body.home .menu-toggle {
        color: #fff;
    }

    body.menu-open .menu-toggle,
    body.home.menu-open .menu-toggle {
        color: #0f1147;
    }

    .nav-links,
    body.static-page .nav-links,
    body.internal .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* width: min(80vw, 320px);
        max-width: 320px; */
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background: #f4efe9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
        /* gap: 25px; */
        gap: 40px;
        transition: right 0.3s ease;
        z-index: 1100;
    }

    .nav-links.active,
    body.static-page .nav-links.active,
    body.internal .nav-links.active {
        right: 0;
    }

    .nav-links.active a,
    body.home .nav-links.active a,
    body.internal .nav-links.active a,
    body.static-page .nav-links.active a {
        color: #0f1147 !important;
        /* font-size: 1.2rem; */
        font-size: 1.5em;
        font-weight: 600;
    }

    .post-grid,
    .artigo-video-bloco {
        grid-template-columns: 1fr;
    }

    .artigo-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .artigo-subtitulo {
        font-size: 1rem;
    }

    .artigo-capa {
        height: 220px;
    }

    .artigo-meta {
        flex-direction: column;
        gap: 6px;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .service-grid,
    .sobre-grid,
    .fluxo-grid,
    .principios-slider {
        grid-template-columns: 1fr;
    }

    .services-container {
        gap: 45px;
    }

    .service-card.active .service-card-content p,
    .service-card.active .service-text {
        max-height: none;
        overflow: visible;
    }

    .site-footer {
        padding: 45px 25px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-brand,
    .footer-links,
    .footer-info,
    .footer-certifications {
        padding: 28px 0;
        border-bottom: 1px solid rgba(244,239,233,0.2);
    }

    .footer-brand {
        padding-top: 0;
    }

    .footer-certifications {
        border-bottom: none;
    }

    .footer-logo {
        max-width: 190px;
    }

    .footer-bottom {
        margin-top: 25px;
        text-align: center;
    }

    .principio-nav {
        display: none;
    }

    .principio-card {
        padding: 24px;
    }

    .video-placeholder {
        min-height: 260px;
    }

    .info-icon::after {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 24px;
        transform: translateX(-50%);
        width: calc(100vw - 40px);
        max-width: 320px;
        padding: 12px 14px;
        font-size: 0.78rem;
        line-height: 1.45;
        text-align: center;
        z-index: 99999;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar {
        padding: 14px 18px;
    }

    .logo-img {
        height: 34px;
    }

    .artigo-header h1 {
        font-size: 1.55rem;
    }

    .artigo-cta {
        padding: 24px 18px;
    }
}

.artigo-reference a,
.artigo-link {
    color: #0f1147;
    text-decoration: none;
}

.artigo-link:hover {
    opacity: 0.7;
}