/*  

Estilos gerais da página

*/

html {
    scroll-behavior: smooth;
}



body {
    font-family: "Inter", sans-serif;
    color: #364153;
    /* TODO trocar isso de lugar  */
    /* font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; */
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Funnel Display", sans-serif;
}

a {
    text-decoration: none;
}

/* container pra encapsular os conteúdos das seções */
.container {
    padding-right: 16px;
    padding-left: 16px;
}

.hero {
    background: #FC7E00;
    background: linear-gradient(90deg, rgba(252, 126, 0, 1) 0%, rgba(209, 30, 0, 1) 100%);
    padding: 5rem 0;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0 0;
}

.hero__content-title {
    font-size: 3.25rem;
    color: #FFFFFF;
}

.--highlight {
    color: rgb(255, 253, 152);
}

.hero__content-description {
    font-family: "Inter", sans-serif;
    font-size: 1.125rem;
    color: #FFFFFF;
    text-align: center;
    text-wrap: balance;

    padding: 2rem 0;

}

.countdown__title {
    font-size: 1.5rem;
    color: #FFFFFF;
}

.countdown {
    display: flex;
    gap: .5rem;
    padding: 1.5rem 0 3rem;
}

.countdown__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);

    width: 75px;
}

.countdown__numbers {
    font-family: "Funnel Display", sans-serif;
    font-size: 2.125rem;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #FFF;
}

.countdown__label {
    font-family: "Inter", sans-serif;
    font-size: .625rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #FFF;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta {
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid white;
    padding: 1rem 2rem;

    font-size: 1.125rem;
}

.cta.white {
    background-color: #FFFFFF;
    color: #d11e00;
    transition: all .3s ease-in-out;
}

.cta.white:hover {
    opacity: .8;
}

.cta.transparent {
    color: white;
    background: none;
    transition: all .3s ease-in-out;
}

.cta.transparent:hover {
    background-color: color-mix(in oklab, #FFF 10%, transparent);
}

.about {
    background-color: #f9fafb;
    padding: 4rem 0;
    scroll-margin: 3rem 0 0;
}

.about__title {
    color: #d11e00;
    font-size: 2.5rem;
    margin: 0 0 2rem;
    text-align: center;
}

.about__description {
    font-family: "Inter", sans-serif;
    padding: 0 0 2rem;
}

.about__description p {
    margin: 0 0 1rem;
    text-align: justify;
}

.submissions,
.sponsor {
    background-color: #fc7e00;
    color: #FFF;
    padding: 4rem 0;
    text-align: center;
    scroll-margin: 3rem 0 0;
}

.submissions__title,
.sponsor__title {
    font-size: 2.5rem;
    margin: 0 0 2rem;
}

.current_sponsors {
    padding: 4rem 0;
}

.submissions__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.submissions__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0 0;
}

.submissions__actions,
.sponsor>.container>.cta.white {
    color: #FC7E00;
}

.description {
    padding: 0 0 1rem;
    font-size: 1.125rem;
}

.schedule {
    background-color: #FFF;
    padding: 4rem 0;
    scroll-margin: 3rem 0 0;
}

.schedule__title {
    font-size: 3rem;
    color: #d11e00;
    text-align: center;
    padding: 0 0 3rem;
}

.schedule__days-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style-type: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.item-card__header {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: 3px solid #FC7E00;
    background: linear-gradient(90deg, rgba(252, 126, 0, 1) 0%, rgba(209, 30, 0, 1) 100%);
    padding: 1rem 1.5rem;
    color: #FFF;
    font-size: 1.125rem;
}

.item-card__content {
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow-x: auto;
    background-color: #FFF;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* CSS de tabela caso precise! */
.schedule__table {
    border-collapse: collapse;
    width: 100%;
    font-family: "Inter", sans-serif;
    color: #1f2937;
}

.schedule__table thead th {
    padding: .875rem 1rem;
    border-bottom: 2px solid rgba(209, 30, 0, 0.18);
    background-color: #fff4ec;
    color: #8f1d00;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: left;
}

.schedule__table tbody th,
.schedule__table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(54, 65, 83, 0.14);
    vertical-align: top;
    line-height: 1.5;
    background-color: #FFF;
}

.schedule__table tbody th[scope="row"] {
    color: #d11e00;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.schedule__table tbody tr:nth-child(even) th,
.schedule__table tbody tr:nth-child(even) td {
    background-color: #fffaf7;
}

.schedule__table tbody tr:hover th,
.schedule__table tbody tr:hover td {
    background-color: #fff1e7;
}


.schedule__table--detailed td:last-child,
.schedule__table--detailed th:last-child {
    white-space: nowrap;
}

.tiny {
    font-family: "Inter", sans-serif;
    color: #4b5563;
    margin-top: 1.25rem;
    text-align: center;
}

.keynotes {
    padding: 2rem 0 4rem;
}

.keynotes__title {
    font-size: 3rem;
    color: #d11e00;
    text-align: center;
    padding: 0 0 2rem;
}

.keynotes__list {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.keynotes__list-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.keynotes__info {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.keynotes__avatar {
    background-image: linear-gradient(90deg, rgba(252, 126, 0, 1) 0%, rgba(209, 30, 0, 1) 100%);
    border-radius: 100%;
    padding: 4px;
}

.keynotes__avatar img {
    position: relative;
    object-fit: cover;
    object-position: center;
    bottom: -2px;
    border-radius: 100%;
    height: 15rem;
    width: 15rem;
}

.keynotes__links {
    list-style-type: none;
}

.keynotes__links a {
    transition: opacity .3s ease-in-out;
}

.keynotes__links a:hover {
    opacity: .7;
}

.keynotes__text {
    text-align: justify;
}

.keynotes__heading {
    padding: 0 0 2rem;
}

.keynotes__name {
    font-size: 2rem;
    color: #d11e00;
}

.keynotes__summary {
    font-weight: 500;
}

.location {
    background-color: #f9fafb;
    padding: 5rem 0 4rem;
    scroll-margin: 3rem 0 0;
}

.location__title {
    font-size: 3rem;
    color: #d11e00;
    text-align: center;
    padding: 0 0 2rem;
}

.location__card {
    background-color: #FFF;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-radius: 10px;
    padding: 2rem;
}

.location__pin {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0 2rem;
}

.map {
    width: 100%;
}

.map-frame {
    width: 100%;
}

.accomodations {
    padding: 4rem 0 2rem;
}

.accomodations__heading {
    text-align: center;
}

.accomodations__title {
    font-size: 2rem;
    color: #d11e00;
    text-align: center;
    padding: 0 0 2rem;
}

.current_sponsors__options,
.accomodations__options {
    padding: 2rem 0 0;
}

.accomodations__options p {
    text-align: center;
}

.accomodations__options-title {
    font-size: 1.5rem;
    text-align: center;
    color: #d11e00;
    padding: 0 0 2rem;
}

.current_sponsors__list,
.accomodations__list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
    align-items: center;
}

.current_sponsors__card,
.accomodations__card {
    display: flex;
    flex-direction: column;
    background-color: #FFF;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: transform .3s ease-in-out;
    justify-content: center;
}

#sponsors_gold > .current_sponsors__card {
    width: 400px;
}

#sponsors_silver > .current_sponsors__card {
    width: 300px;
    height: 200px;
}


#sponsors_support > .current_sponsors__card,
#sponsors_org > .current_sponsors__card {
    width: 250px;
    height: 200px;
}

.accomodations__card:hover {
    transform: translateY(-2px);
}

.accomodations__card-title {
    color: #d11e00;
    font-size: 1.25rem;
    padding: 0 0 1rem;
}

.accomodations__card a {
    font-family: "Inter", sans-serif;
    color: #000;
    transition: color .3s ease-in-out;
    text-decoration: underline;
    padding: 0 0 .5rem;
}

.accomodations__card a:hover {
    color: #d11e00;
}

.sponsor__description {
    padding: 0 0 3rem;
}

.cdc {
    background-color: #f9fafb;
    padding: 2rem 0 4rem;
    scroll-margin: 4rem 0 0;
}

.cdc__title {
    font-size: 3rem;
    color: #d11e00;
    text-align: center;
    padding: 0 0 2rem;
}

.cdc__card {
    background-color: #FFF;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: justify;
}

.cdc__card h3 {
    color: #d11e00;
    padding: 1rem 0;
}

.cdc__card ul {
    margin-left: 1rem;
}

.cdc__card li {
    padding: .25rem 0;
}

.faq {
    padding: 2rem 0 4rem;
}

.faq__title {
    font-size: 3rem;
    color: #d11e00;
    text-align: center;
    padding: 2rem 0 2rem;
}

.faq__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__content details::details-content {
    overflow: hidden;
    max-height: 0;

    transition: max-height 0.3s, content-visibility 0.3s;
    transition-behavior: allow-discrete;
}

.faq__content details[open]::details-content {
    max-height: 3000px;
}

details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

details[open] summary::after {

    transform: rotate(180deg);

}

details[open] .content-wrapper {
  opacity: 1;
}

.faq__content summary {
    font-family: "Funnel Display", sans-serif;
    font-size: 1.125rem;
    background-color: #f7f7f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 2rem 0.875rem 1.5rem;

    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;

    cursor: pointer;
}

.faq__content summary::after {
    content: "";
    display: inline-block;
    position: relative;
    background: url("/assets/images/arrow-down.svg") no-repeat center;
    width: 32px;
    height: 32px;
    right: 0;
    transition: transform 0.3s ease-in-out;
}

.faq__content .content-wrapper {
    background-color: #f7f7f7;
    padding: 0.875rem 2rem 0.875rem 1.5rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease-in-out allow-discrete;
}

.content-wrapper a {
    color: #d11e00;
    transition: color .3s ease-in-out;
}

.content-wrapper a:hover {
    color: #FC7E00;
}

.footer {
    background-color: #101828;
    color: #99a1af;
    padding: 3rem 0 2rem;
}

.footer__item-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style-type: none;
    padding: 0 0 2rem;
}

.content-title {
    color: #FFF;
    padding: 0 0 1rem;
}

.contact-email {
    color: #99a1af;
    text-decoration: underline;
    transition: color .3s ease-in-out;
}

.contact-email:hover {
    color: #FC7E00;
}

.footer__socials {
    display: flex;
    gap: 1rem;
}

.footer__socials a {
    transition: opacity .3s ease-in-out;
}

.footer__socials a:hover {
    opacity: .7;
}

.footer__bottom {
    border-top: 1px solid #1e2939;
    padding: 2rem 0 0;
    text-align: center;
}

.footer__bottom span {
    font-family: "Segoe UI Emoji", sans-serif;
}

.footer__bottom .copyright {
    font-size: .75rem;
    margin: 1rem 0 0;
}

.tiny {
    font-size: 12px;
    opacity: .85;
}

@media (min-width: 550px) {
    .container {
        padding-right: 25px;
        padding-left: 25px;
    }
}

@media (min-width: 750px) {
    .container {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (min-width: 1000px) {
    .container {
        padding-right: 40px;
        padding-left: 40px;
        max-width: 1280px;
    }
}

@media screen and (min-width: 768px) {
    .hero__content-title {
        font-size: 4rem;
    }

    .hero__actions {
        flex-direction: row;
    }

    .countdown__card {
        width: 120px;
        padding: 2rem 1rem;
    }

    .countdown__numbers {
        font-size: 3rem;
    }

    .countdown__label {
        font-size: .75rem;
    }

    .submissions__actions {
        flex-direction: row;
    }

    .current_sponsors__list,
    .accomodations__list {
        flex-direction: row;
        justify-content: center;
    }

    .keynotes__list-item {
        flex-direction: row;
        gap: 3rem;
    }

    .keynotes__list-item.reverse {
        flex-direction: row-reverse;
    }
}

@media screen and (min-width: 1024px) {
    .about__description {
        margin: 0 auto;
        max-width: 70%;
    }

    .description {
        max-width: 70%;
    }

    .footer__item-list {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (min-width: 1280px) {

    .container {
        padding-right: 0;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        width: 1200px;
    }

    .hero__content-title {
        font-size: 6rem;
    }

    .schedule__days-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .keynotes__list-item {
        max-width: 70%;
    }

}
