/* global variables */
:root {
    --blue: #2563EB;
    --white: #ffffff;
    --gray: #E6E6E6;
    --green: #10b981;
}

body,
html {
    padding: 0;
    margin: 0;
}

html {
    font-family: 'Inter';
    background: var(--gray);
}

video {
    display: block;
    width: 100%;
    height: auto;
}

input[type="submit"],
input[type="text"],
input[type="email"],
textarea,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::-moz-selection {
    /* Code for Firefox */
    color: var(--white);
    background: var(--green);
}

::selection {
    color: var(--white);
    background: var(--green);
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.theme-container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

/* hero-blog */
.hero-blog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 550px;
    background-color: #DBEAFE;
    padding: 40px 0;
}
.hero-blog .theme-container.geral {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    z-index: 2;
}
.hero-blog .theme-container.geral .left .inner h2 {
    color: #1E3A8A;
    font-weight: 600;
    font-size: 48px;
    padding: 0;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-blog .theme-container.geral .left .inner {
    display: flex;
    flex-direction: column;
    max-width: 580px;
}
.hero-blog .theme-container.geral .left .inner p {
    color: #2E3E47;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    margin: 40px 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-blog .theme-container.geral .left .inner a.btn-primary {
    display: flex;
    max-width: 208px;
    justify-content: space-between;
    align-items: center;
}
.hero-blog .theme-container.geral .right .inner img {
    display: block;
    border-radius: 8px;
    width: 100%;
    max-width: 588px;
    height: auto;
    object-fit: cover;
}
.hero-blog .ellipse-green,
.hero-blog .ellipse-blue {
    position: absolute;
    z-index: 1;
}
.hero-blog .ellipse-green {
    left: 0;
    top: 0;
}
.hero-blog .ellipse-blue {
    right: 0;
    top: 0;
}

/* posts-blog */
.posts-blog {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 40px 0;
}
.posts-blog .theme-container.geral {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.posts-blog .theme-container.geral .header h4 {
    color: #1E293B;
    font-weight: 600;
    font-size: 40px;
    padding: 0;
    margin: 0;
}
.posts-blog .theme-container.geral .posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.posts-blog .theme-container.geral .posts .post {
    width: 100%;
    display: flex;
    grid-column: span 1;
}
.posts-blog .theme-container.geral .posts .post a {
    width: 100%;
    gap: 15px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.posts-blog .theme-container.geral .posts .post a .thumb img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
}
.posts-blog .theme-container.geral .posts .post a h2.title {
    color: #1E3A8A;
    font-weight: 600;
    font-size: 24px;
    margin: 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-clamp: 2;
}
.posts-blog .theme-container.geral .posts .post a p.excerpt {
    color: #2E3E47;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    margin: 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-clamp: 2;
}
.posts-blog .theme-container.geral .posts .post a .read-more {
    margin-top: auto;
}
.posts-blog .theme-container.geral .posts .post a .read-more span {
    color: #2563EB;
    font-weight: 500;
    font-size: 14px;
}
.posts-blog .theme-container.geral #blog-read-more {
    width: 150px;
    margin: 0 auto;
}

/* newsletter */
.newsletter {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding-top: 40px;
}
.newsletter .theme-container.geral .box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    background: #F3F7F9;
    border: 1px solid #2563EB;
    border-radius: 16px;
    padding: 30px;
}
.newsletter .theme-container.geral .box .icon,
.newsletter .theme-container.geral .box .form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.newsletter .theme-container.geral .box .icon {
    gap: 30px;
}
.newsletter .theme-container.geral .box .icon img {
    width: 48px;
}
.newsletter .theme-container.geral .box .icon h4 {
    padding: 0;
    margin: 0;
    color: #001C3C;
    font-weight: 600;
    font-size: 32px;
}

/* header-single */
.header-single {
    display: flex;
    flex-direction: column;
    background: #F3F7F9;
    padding: 40px 0;
}
.header-single .theme-container.geral {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}
.header-single .theme-container.geral .left,
.header-single .theme-container.geral .right {
    flex: 1;
}
.header-single .theme-container.geral .left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.header-single .theme-container.geral .left h1 {
    color: #2563EB;
    font-weight: 600;
    font-size: 40px;
    margin: 0;
}
.header-single .theme-container.geral .left h2 {
    color: #1E3A8A;
    font-weight: 600;
    font-size: 28px;
    margin: 0;
}
.header-single .theme-container.geral .left .description p {
    font-weight: 400;
    font-size: 16px;
    color: #1E293B;
    line-height: 24px;
    margin: 12px 0;
}
.header-single .theme-container.geral .left .description p:first-child {
    margin-top: 0;
}
.header-single .theme-container.geral .left .description p:last-child {
    margin-bottom: 0;
}
.header-single .theme-container.geral .left a.btn-primary {
    width: auto;
    align-self: flex-start;
}
.header-single .theme-container.geral .right img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* posts-simposio */
.posts-simposio {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 40px 0;
}
.posts-simposio .theme-container.geral {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.posts-simposio .theme-container.geral h4 {
    padding: 0;
    margin: 0;
    font-weight: 600;
    font-size: 40px;
    color: #1E293B;
}
.posts-simposio .theme-container.geral .posts {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}
.posts-simposio .theme-container.geral .posts a.post {
    display: flex;
    flex-direction: column;
    gap: 24px;
    grid-column: span 4;
    text-decoration: none;
    background: #F3F7F9;
    border-radius: 16px;
    padding: 24px;
}
.posts-simposio .theme-container.geral .posts a.post img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.posts-simposio .theme-container.geral .posts a.post h2 {
    padding: 0;
    margin: 0;
    color: #1E3A8A;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    line-height: 32px;
}
.posts-simposio .theme-container.geral .posts a.post span.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.posts-simposio .theme-container.geral .posts a.post span.btn-primary img {
    display: block;
    width: 6px;
    height: auto;
}

/* header-events */
.header-events {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 40px 0 0 0;
}
.header-events .theme-container.geral {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}
.header-events .theme-container.geral h3 {
    padding: 0;
    margin: 0;
    color: #1E293B;
    font-weight: 600;
    font-size: 40px;
}
.header-events .theme-container.geral .filter {
    display: grid;
    align-items: center;
    gap: 16px;
    grid-template-columns: repeat(12, 1fr);
    max-width: 500px;
    width: 100%;
}
.header-events .theme-container.geral .filter select {
    font-family: 'Inter';
    color: #405962;
    font-weight: 400;
    font-size: 14px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid #405962;
    border-radius: 6px;
    padding: 8px 12px;
}
.header-events .theme-container.geral .filter select[name="event_year"],
.header-events .theme-container.geral .filter select[name="event_month"] {
    grid-column: span 6;
}
.header-events .theme-container.geral .filter select::placeholder {
    font-family: 'Inter';
    font-size: 16px;
    color: #405962;
}
.header-events .theme-container.geral .filter select option {
    font-family: system-ui, -apple-system, sans-serif;
}

/* list-events */
.list-events {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 40px 0 40px 0;
}
.list-events .theme-container.geral .events {
    display: grid;
    align-items: self-start;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.list-events .theme-container.geral .events .event {
    text-decoration: none;
}
.list-events .theme-container.geral .events .event span.date {
    color: #405962;
    font-weight: 700;
    font-size: 12px;
}
.list-events .theme-container.geral .events .event h2 {
    font-weight: 600;
    font-size: 24px;
    color: #1E3A8A;
    padding: 0;
    margin: 10px 0 0 0;
}
.list-events .theme-container.geral .events .event img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}
.list-events .theme-container.geral .events .event .read-more {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}
.list-events .theme-container.geral .events .event .read-more span {
    color: #2563EB;
    font-weight: 500;n
    font-size: 14px;
}
.list-events .theme-container.geral .events .event .read-more img {
    width: 7px;
    height: auto;
    display: block;
    margin: 0;
}
.list-events .theme-container.geral .events .event .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}
.list-events .theme-container.geral .events .event .actions a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    background: #F3F7F9;
    border: 1px solid #e8ebec;
    border-radius: 6px;
    padding: 8px 16px;
}
.list-events .theme-container.geral .events .event .actions a img {
    display: block;
    width: 16px;
    height: auto;
    margin: 0;
}
.list-events .theme-container.geral .events .event .actions a span {
    color: #2563EB;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

/* topbar */
.topbar {
    position: sticky;
    position: -webkit-sticky;
    inset: auto 0;
    top: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background-color: rgba(243, 247, 249, 0.95);
    border-bottom: 1px solid #60A5FA;
}

.topbar .header {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.topbar .header .logo {
    margin-left: -5px;
}

.topbar .header nav.menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.topbar .header nav.menu ul li {
    position: relative;
}

.topbar .header nav.menu ul li.menu-item-has-children > a {
    position: relative;
}

.topbar .header nav.menu ul li.menu-item-has-children > a::after {
    content: '';
    width: 8px;
    height: 5px;
    background-image: url('../icons/arrow-down.svg');
    background-repeat: no-repeat;
}

.topbar .header nav.menu ul li a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #1E293B;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
}

.topbar .header nav.menu ul li {
    position: relative;
}

.topbar .header nav.menu ul li ul {
    position: absolute;
    left: 6px;
    width: 200px;
    padding: 5px 0;
    flex-direction: column;
    align-self: stretch;
    flex-grow: 0;
    background-color: var(--white);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    display: none;
}

.topbar .header nav.menu ul li:hover ul {
    display: flex;
}

.topbar .header nav.menu ul li ul li a {
    display: flex;
    padding: 8px 12px;
}

.topbar .header .actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar .header .call-to-action {
    display: flex;
    justify-content: flex-end;
}

.topbar .header nav.menu ul li.current-menu-item > a,
.topbar .header nav.menu ul li.current-menu-parent > a,
.topbar .header nav.menu ul li.current-menu-ancestor > a {
    color: #1f73e6;
}

.topbar .header nav.menu ul li ul li.current-menu-item > a {
    color: #1f73e6;
}

.footer {
    display: flex;
    flex-direction: column;
    background-color: #2563EB;
    padding: 40px 0;
    gap: 30px;
}

.footer .geral {
    display: flex;
    align-items: flex-start;
    gap: 150px;
}

.footer .geral ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .geral a {
    color: var(--white);
    text-decoration: none;
}

.footer .geral .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer .geral .left .info {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.footer .geral .left .network h3 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.footer .geral .left .network .links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer .geral .left .network .links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1E3A8A;
    border-radius: 50%;
}

.footer .geral .left .network .links a img {
    display: block;
    width: 16px;
    height: 16px;
}

.footer .geral .left .info div:first-child {
    display: flex;
    gap: 16px;
}

.footer .geral .left .info div .detail {
    display: flex;
    gap: 5px;
}

.footer .geral .left .info div .detail img {
    width: 16px;
    height: 16px;
}

.footer .geral .left .info div .detail span {
    color: var(--white);
}

.footer .geral .left .info div .detail span,
.footer .geral .left .info div .detail a {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
}

.footer .geral .right {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex: 0 0 720px;
}

.footer .geral .right div h3 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.footer .geral .right div nav {
    color: #DBEAFE;
    font-size: 12px;
    font-weight: 400;
}

.footer .geral .right div nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.footer .copy>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #60A5FA;
}

.footer .copy div .left,
.footer .copy div .right {
    color: var(--white);
}

.footer .copy div .left span {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
}

.footer .copy div .right {
    display: flex;
    gap: 20px;
}

.footer .copy div .right a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 12px;
}

.btn-primary {
    display: block;
    background: linear-gradient(81.26deg, #06B6D4 -20.11%, #2563EB 110.12%);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(270deg, #1E3A8A 0%, #2563EB 100%);
}

.btn-whatsapp .elementor-button-icon svg {
    width: 24px;
    height: 24px;
}
.btn-whatsapp .elementor-button span {
    line-height: 23px;
}

/* menu-toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}

/* menu-mobile */
.menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100dvh;
    background: var(--white);
    z-index: 9999;

    transform: translate3d(-100%, 0, 0);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;

    display: flex;
    flex-direction: column;
    overflow-y: auto;

    box-shadow: 4px 0 25px rgba(0, 0, 0, .15);
}

.menu-mobile.active {
    transform: translate3d(0, 0, 0);
}

/* header */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #EEF1F4;
}

.menu-logo img {
    width: 110px;
}

.menu-close {
    background: #F1F5F9;
    border: none;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: #1E293B;
    transition: all .2s ease;
}

.menu-close:hover {
    background: #E2E8F0;
}

/* menu */
.menu-mobile nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-mobile nav ul li {
    display: flex;
    flex-direction: column;
}

/* links principais */
.menu-mobile nav ul li a {
    text-decoration: none;
    color: #1E293B;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease;
}

.menu-mobile nav ul li a:hover {
    background: #F1F5F9;
}

/* seta */
.menu-mobile nav ul li.menu-item-has-children>a::after {
    content: "";
    width: 10px;
    height: 6px;
    background-image: url('../icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .25s ease;
}

.menu-mobile nav ul li.open>a::after {
    transform: rotate(180deg);
}

/* submenu */
.menu-mobile .sub-menu {
    display: none;
    margin-top: 6px;
    padding-left: 14px;
    border-left: 2px solid #EEF2F7;
    flex-direction: column;
    gap: 4px;
}

.menu-mobile li.open>.sub-menu {
    display: flex;
}

/* links submenu */
.menu-mobile .sub-menu a {
    font-size: 14px;
    font-weight: 400;
    color: #64748B;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all .2s ease;
}

.menu-mobile .sub-menu a:hover {
    background: #F1F5F9;
    color: var(--blue);
    padding-left: 16px;
}

.menu-mobile nav ul li.current-menu-item > a,
.menu-mobile nav ul li.current-menu-parent > a,
.menu-mobile nav ul li.current-menu-ancestor > a {
    color: #1f73e6;
}

.menu-mobile nav ul li .sub-menu li.current-menu-item > a {
    color: #1f73e6;
}

/* overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* wpcf7  */
.wpcf7 form {
    position: relative;
}
.wpcf7 form p {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
}
.wpcf7 form input.wpcf7-text,
.wpcf7 form select,
.wpcf7 form textarea {
    font-family: 'Inter';
    font-size: 16px;
    font-weight:normal;
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #405962;
}
.wpcf7 form select option {
    font-family: system-ui, -apple-system, sans-serif;
}
.wpcf7 form input::placeholder,
.wpcf7 form select::placeholder,
.wpcf7 form textarea::placeholder {
    font-family: 'Inter';
    font-size: 16px;
    color: #405962;
}
.wpcf7 form input.wpcf7-submit {
    display: block;
    cursor: pointer;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    background: linear-gradient(81.26deg, #06B6D4 -20.11%, #2563EB 110.12%);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: none;
}
.wpcf7 form input.wpcf7-submit:hover {
    background: linear-gradient(270deg, #1E3A8A 0%, #2563EB 100%);
}
.wpcf7 form .wpcf7-list-item {
    display: flex;
    width: 100%;
    margin: 0;
}
.wpcf7 form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wpcf7 form .wpcf7-list-item label span {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #2E3E47;
}
.wpcf7-not-valid-tip {
    font-size: 12px;
}
.wpcf7-response-output {
    font-size: 12px;
    margin: 15px 0 0 0 !important;
}
/* Overlay mais suave */
.wpcf7-spinner {
    position: absolute;
    inset: -15px;
    width: auto;
    height: auto;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    z-index: 10;
    margin: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wpcf7-spinner::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563EB;
    top: 50%;
    left: 50%;
    animation: bounce 0.9s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
        opacity: 1;
    }
}

/* form-venha-fazer-parte */
.form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(1),
.form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(4),
.form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(5),
.form-venha-fazer-parte p .wpcf7-submit {
    grid-column: span 12;
}
.form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(2),
.form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(3) {
    grid-column: span 6;
} 
.form-venha-fazer-parte p textarea {
    height: 120px;
    resize: none;
}

/* form-venha-fazer-parte */
.form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(1),
.form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(4),
.form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(5),
.form-fala-com-a-gente p .wpcf7-submit {
    grid-column: span 12
}
.form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(2),
.form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(3) {
    grid-column: span 6
} 
.form-fala-com-a-gente p textarea {
    height: 120px;
    resize: none;
}

/* form-agendar-consulta */
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(1),
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(4),
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(5),
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(6),
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(7),
.form-agendar-consulta p .wpcf7-submit {
    grid-column: span 12;
}
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(2),
.form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(3) {
    grid-column: span 6;
} 
.form-agendar-consulta p textarea {
    height: 120px;
    resize: none;
}

/* form newsletter */
.newsletter .theme-container.geral .box .form p span.wpcf7-form-control-wrap:nth-child(1),
.newsletter .theme-container.geral .box .form p span.wpcf7-form-control-wrap:nth-child(2),
.newsletter .theme-container.geral .box .form p span.wpcf7-form-control-wrap:nth-child(3) {
    grid-column: span 12;
}
.newsletter .theme-container.geral .box .form p span.wpcf7-form-control-wrap:nth-child(4) {
    grid-column: span 9;
}
.newsletter .theme-container.geral p input.wpcf7-submit {
    grid-column: span 3;
}




.blog-single {
    padding: 80px 0;
    background: #fff;
}

.blog-single .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-article {
    width: 100%;
}

/* Imagem destacada */

.blog-cover {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Meta */

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-categories a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 30px;
    background: #eef6f8;
    color: #0c5f74;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: .2s;
}

.blog-categories a:hover {
    background: #0c5f74;
    color: #fff;
}

.blog-date {
    color: #777;
    font-size: .9rem;
}

/* Título principal */

.blog-title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 700;
    color: #1d2939;
    margin-bottom: 36px;
}

/* Conteúdo */

.blog-content {
    color: #475467;
    font-size: 1.08rem;
    line-height: 1.9;
}

.blog-content p {
    margin-bottom: 24px;
}

/* Títulos menores */

.blog-content h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin: 50px 0 20px;
    color: #1d2939;
}

.blog-content h2 {
    font-size: 1.7rem;
    line-height: 1.35;
    margin: 45px 0 18px;
    color: #1d2939;
}

.blog-content h3 {
    font-size: 1.45rem;
    line-height: 1.4;
    margin: 40px 0 16px;
    color: #1d2939;
}

.blog-content h4 {
    font-size: 1.25rem;
    line-height: 1.45;
    margin: 35px 0 14px;
    color: #1d2939;
}

.blog-content h5 {
    font-size: 1.1rem;
    line-height: 1.45;
    margin: 30px 0 12px;
    color: #1d2939;
}

.blog-content h6 {
    font-size: 1rem;
    line-height: 1.45;
    margin: 25px 0 10px;
    color: #1d2939;
}

.blog-content ul,
.blog-content ol {
    margin: 20px 0 28px 28px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content strong {
    color: #1d2939;
}

.blog-content a {
    color: #0c5f74;
    text-decoration: underline;
}

.blog-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 32px auto;
    border-radius: 12px;
}

.blog-content figure {
    margin: 32px 0;
    text-align: center;
}

.blog-content figcaption {
    margin-top: 10px;
    color: #777;
    font-size: .9rem;
}

.blog-content blockquote {
    margin: 40px 0;
    padding: 24px 28px;
    border-left: 4px solid #0c5f74;
    background: #f7fafb;
    border-radius: 10px;
    font-style: italic;
}

.blog-content pre {
    overflow-x: auto;
    padding: 18px;
    border-radius: 10px;
    background: #1f2937;
}

.blog-content code {
    font-family: Consolas, Monaco, monospace;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.blog-content table th,
.blog-content table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.blog-content iframe,
.blog-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 32px 0;
    border: 0;
    border-radius: 12px;
}

.blog-content hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {

    .blog-single {
        padding: 50px 0;
    }

    .blog-title {
        font-size: 1.9rem;
    }

    .blog-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .blog-content h1 {
        font-size: 1.75rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.3rem;
    }

    .blog-content h4 {
        font-size: 1.15rem;
    }
}




/* theme-gallery */
.theme-gallery {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 40px 0;
}
.theme-gallery .theme-container.geral {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.theme-gallery .theme-container.geral h4 {
    padding: 0;
    margin: 0;
    font-weight: 600;
    font-size: 40px;
    color: #1E293B;
}

/* gallery-grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.gallery-item {
    text-decoration: none;
}
.gallery-item img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.gallery-item p {
    color: #1E293B;
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
}

.video {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(37,99,235,.15);
    background: #fff;
    padding: 6px;
    box-sizing: border-box;
}
.video iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
    border-radius: 10px;
}

.lg-outer {
    z-index: 9999999 !important;
}

.lg-backdrop {
    z-index: 9999998 !important;
}

.lg-container {
    z-index: 9999999 !important;
}

/* Especialista */

.expert-modal {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Cabeçalho */
.expert-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}
.expert-modal-thumb {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #F8FAFC;
    box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
.expert-modal-info {
    flex: 1;
}

/* Conteúdo */
.expert-modal-content {
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}
.expert-modal-content p {
    margin: 0 0 18px;
}

.expert-modal-content p:last-child {
    margin-bottom: 0;
}

.expert-modal-content ul,
.expert-modal-content ol {
    margin: 0 0 18px 22px;
}

.expert-modal-content li {
    margin-bottom: 8px;
}

.expert-modal-content strong {
    color: #1E293B;
    font-weight: 600;
}

.expert-modal-content a {
    color: #2563EB;
    text-decoration: none;
}

/* Responsivo */
@media (max-width:768px) {

    .expert-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .expert-modal-thumb {
        width: 110px;
        height: 110px;
    }

    .expert-modal-specialty {
        justify-content: center;
    }

}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    padding: 20px;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(4px);
    overflow: hidden auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-dialog {
    width: 100%;
    margin: auto;
    transform: translateY(-25px);
    transition: transform .25s ease;
}
.modal.active .modal-dialog {
    transform: translateY(0);
}

/* Tamanhos */
.modal-sm { max-width:420px; }
.modal-md { max-width:600px; }
.modal-lg { max-width:850px; }
.modal-xl { max-width:1000px; }
.modal-xxl { max-width:1200px; }

/* Conteúdo */
.modal-content {
    display: flex;
    flex-direction: column;
    background: #FFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

/* Cabeçalho */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 18px 24px;
    border-bottom: 1px solid #E5E7EB;
}
.modal-title {
    margin: 0;
    color: #1E293B;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

/* Fechar */
.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #F8FAFC;
    color: #64748B;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: .2s;
}
.modal-close:hover {
    background: #EEF2F7;
}

/* Corpo */
.modal-body {
    padding: 24px;
    background: #FFF;
}
.modal-body > *:first-child {
    margin-top: 0;
}
.modal-body > *:last-child {
    margin-bottom: 0;
}
.modal-body p {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

/* Rodapé */
.modal-footer {
    display: flex;
    gap: 12px;
    padding: 18px 24px;
    background: #F8FAFC;
    border-top: 1px solid #E5E7EB;
    align-items: stretch;
}
.modal-footer > * {
    flex: 1;
    display: flex;
}
.modal-footer > :only-child {
    flex: 0 0 100%;
}

/* Botões */
.modal-footer button,
.modal-footer a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.modal-footer button i,
.modal-footer a i,
.modal-footer button svg,
.modal-footer a svg {
    flex-shrink: 0;
}

/* Botão principal */
.modal-footer .btn-primary {
    background: #2563EB;
    color: #FFF;
}
.modal-footer .btn-primary:hover {
    background: #1D4ED8;
}

/* Botão secundário */
.modal-footer .modal-btn-close {
    background: #CBD5E1;
    color: #334155;
}
.modal-footer .modal-btn-close:hover {
    background: #B6C3D1;
}

/* Responsivo */

@media (max-width:768px) {
    .modal {
        padding: 15px;
    }
    .modal-content {
        border-radius: 12px;
    }
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .topbar .header nav.menu {
        display: none;
    }

    .footer .geral {
        flex-direction: column;
        gap: 30px;
    }

    .footer .geral .left,
    .footer .geral .right {
        width: 100%;
        flex: 0 0 100%;
    }

    .footer .geral .right,
    .footer .copy>div {
        flex-direction: column;
    }

    .footer .copy>div {
        gap: 15px;
    }

    .footer .copy div .left,
    .footer .copy div .right {
        text-align: center;
    }

    .hero-blog .theme-container.geral {
        flex-direction: column;
        gap: 16px;
    }
    .hero-blog .theme-container.geral .left {
        order: 1;
    }
    .hero-blog .theme-container.geral .right {
        order: 0;
    }
    .hero-blog .theme-container.geral .left .inner h2 {
        font-size: 30px;
    }
    .hero-blog .theme-container.geral .left .inner p {
        font-size: 16px;
        margin: 24px 0;
    }
    .hero-blog .theme-container.geral .right .inner img {
        max-width: 400px;
    }

    .newsletter .theme-container.geral .box {
        flex-direction: column;
    }
    .newsletter .theme-container.geral .box .icon h4 {
        font-size: 24px;
    }

    .posts-blog .theme-container.geral .header h4 {
        font-size: 30px;
    }
    .posts-blog .theme-container.geral .posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-blog .ellipse-blue {
        display: none;
    }

    .header-single .theme-container.geral {
        flex-direction: column;
    }
    .header-single .theme-container.geral .right {
        order: 0;
        width: 100%;
    }
    .header-single .theme-container.geral .left {
        order: 1;
        width: 100%;
    }

    .video iframe {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .header-single .theme-container.geral .left h1 {
        font-size: 32px;
    }
    .header-single .theme-container.geral .left h2 {
        font-size: 20px;
    }

    .posts-simposio .theme-container.geral h4 {
        font-size: 30px;
    }

    .posts-simposio .theme-container.geral .posts a.post {
        grid-column: span 6;
    }

    .list-events .theme-container.geral .events {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-events .theme-container.geral h3 {
        font-size: 30px;
    }
    .list-events .theme-container.geral .events .event h2 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(2),
    .form-venha-fazer-parte p span.wpcf7-form-control-wrap:nth-child(3) {
        grid-column: span 12;
    }

    .form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(2),
    .form-fala-com-a-gente p span.wpcf7-form-control-wrap:nth-child(3) {
        grid-column: span 12;
    }

    .form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(2),
    .form-agendar-consulta p span.wpcf7-form-control-wrap:nth-child(3) {
        grid-column: span 12;
    }

    .newsletter .theme-container.geral .box .form p span.wpcf7-form-control-wrap:nth-child(4),
    .newsletter .theme-container.geral p input.wpcf7-submit {
        grid-column: span 12;
    }

    .posts-blog .theme-container.geral .posts .post {
        grid-column: span 4;
    }
    .posts-blog .theme-container.geral .posts .post a h2 {
        font-size: 20px;
    }
    .posts-blog .theme-container.geral .posts .post a p {
        font-size: 14px;
        line-height: 20px;
    }

    .posts-simposio .theme-container.geral .posts a.post h2 {
        font-size: 18px;
    }
    .posts-simposio .theme-container.geral .posts a.post {
        grid-column: span 12;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-events .theme-container.geral {
        flex-direction: column;
    }
    .list-events .theme-container.geral .events {
        grid-template-columns: repeat(1, 1fr);
    }
    .header-events .theme-container.geral .filter select[name="event_year"], 
    .header-events .theme-container.geral .filter select[name="event_month"] {
        grid-column: span 12;
    }
}