:root{
    --pearl: rgba(249, 248, 244);
    --orange: rgba(247, 170, 78);
    --darkorange: rgba(189, 82, 28);
    --rust: rgba(209, 134, 77);
    --pumpkin: rgba(239, 115, 25);
    --tabasco: rgba(154, 42, 8);
    --beige: rgba(208, 182, 166);
    --notblack: rgba(53, 21, 3);
    --max: 1160px;
    --radius: 18px;
    --shadow: 0 12px 36px color-mix(in srgb, var(--notblack) 92%, transparent);
}

@font-face {
    font-family: "MADE Mirage";
    src: url(fonts/MADE\ Mirage\ Regular.otf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MADE Mirage";
    src: url(fonts/MADE\ Mirage\ Bold.otf);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    background-color: var(--pearl);
    color: var(--notblack);
    font-family: "MADE Mirage", Georgia, serif;
    font-size: 16px;
    line-height: 1.65;
    
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width:  min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}





/* Acessibility */
.skip {
    position: absolute;
    left: -9999px;
    top: 10px;
    padding: 10px;
    z-index: 99;
    background: #fff;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip:focus {
    left: 10px;
}





/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: white;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tabasco);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-img {
    width: auto;
    height: auto;
    display: block;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    font-size: 1rem;
    font-family: system-ui;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--tabasco);
}





/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--orange);
    border-radius: 999px;
    background-color: var(--orange);
    color: var(--pearl);
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 700;
    font-size: .92rem;
    transition: transform .2s, background .2s;
}

.button:hover {
    background: var(--darkorange);
    transform: translateY(-1px);
}

.button-outline {
    background: transparent;
    color: var(--darkorange);
    border-color: var(--darkorange);
}

.button-outline:hover {
    color: var(--pearl);
}

.menu {
    border: 1px solid var(--tabasco);
    border-radius: 10px;
    background: transparent;
    color: var(--tabasco);
    padding: 9px 12px;
    font: inherit;
    display: none;
}





/* Info */
.info {
    padding: 64px 0 72px;
    overflow: hidden;
    position: relative;
}

.info::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--darkorange) 66%, transparent);
    right: -180px;
    top: -190px;
    pointer-events: none;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: clamp(28px, 5vw, 68px);
    position: relative;
}

.sub {
    margin: 0 0 14px;
    color: var(--darkorange);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.info .sub {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid var(--orange);
    border-radius: 999px;
    letter-spacing: .11em;
}

.info .sub::before {
    content: "✦";
    font-size: .9rem;
}

.info-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 18px;
    margin: 24px 0;
    color: var(--notblack);
    font-size: 1rem;
}

.info-meta .meta-item {
    padding: 8px 11px;
    border: 1px solid var(--beige);
    border-radius: 10px;
    background: color-mix(in srgb, white 32%, transparent);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.meta-icon {
    color: var(--darkorange);
    font-size: 1.1rem;
}

.info-art {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    max-width: 500px;
    position: relative;
    border-radius: 50%;
    margin-inline: auto;
    overflow: hidden;
    box-shadow: var(--shadow);
    justify-content: center;
    background: linear-gradient(180deg, var(--pearl), var(--beige));
}

.info-art::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(49,27,17,.02) 35%, rgba(49,27,17,.28));
    z-index: 1;
    pointer-events: none;
}

.info-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 8px 24px rgba(74,42,24,.25));
}





/* About */
.section {
    padding: 76px 0;
}

.about {
    background: white;
    padding: clamp(55px, 8vw, 100px);
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-art {
    min-height: 350px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 25px;
}

.about-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 40%;
    scale: 1.3;
}

.about-text{
    padding-top: 24px;
    font-size: 1.2rem;
}

.about-text p {
    font-family: serif;
}

.values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.value-pill {
    border: 1px solid var(--beige);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: .9rem;
    color: var(--notblack);
}





/* Schedule */
.section-heading {
    max-width: 660px;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0 0 12px;
}

.schedule {
    background: var(--beige);
    padding: clamp(55px, 8vw, 100px);
}

.schedule > .container {
    width: min(1280px, calc(100% - 40px));
}

.schedule-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.schedule-intro .section-heading {
    margin: 0;
}

.schedule-hours {
    flex: none;
    padding: 12px 16px;
    border: 1px solid var(--darkorange);
    border-radius: 14px;
    background: var(--pearl);
    font-size: .88rem;
    font-family: serif;
}

.schedule-hours strong {
    display: block;
    font-size: 1.25rem;
    font-family: "MADE Mirage";
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.day-card {
    padding: 30px 28px;
    background: var(--pearl);
    border: 1px solid var(--pearl);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px var(--notblack);
    min-height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px var(--notblack);
}

.day-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 20px;

    border-bottom: 1px solid var(--darkorange);
}

.day-top h3 {
    font-size: clamp(1.55rem, 2vw, 1.85rem);
    color: var(--darkorange);
    margin: 0;
    line-height: 1.15;
}

.day-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 68px;
    height: 70px;
    border-radius: 18px;
    background: var(--darkorange);
    color: var(--pearl);
    font-size: .63rem;
    letter-spacing: .16em;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--beige);
}

.schedule-list li:last-child {
    border-bottom: 0;
}

.schedule-list time {
    color: var(--darkorange);
    align-self: center;
    font-weight: 600;
}

.schedule-title {
    display: block;
    font-size: .86rem;
    line-height: 1.45;
    font-weight: 700;
}

.schedule-list span {
    font-size: .86rem;
    line-height: 1.5;
    margin-top: 5px;
    font-family: serif;
}

.schedule-desc {
    display: block;
}

.schedule-pay {

    color: var(--tabasco);
    text-align: right;
}





/* Potters */
.potters {
    padding: clamp(55px, 8vw, 100px);
}

.potters > .container {
    width: min(1600px, calc(100% - 64px));
    margin-inline: auto;
}

.potters-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
}

.potters-top .section-heading {
    max-width: 660px;
    margin: 0 0 0 37px;
    padding: 0;
    text-align: left;
    min-width: 0;
}

.potters-top p {
    font-family: serif;
}

.potters-top .mobile {
    opacity: 0;
}

.potters .sub {
    font-family: "MADE Mirage", serif;
}

.potters .gallery {
    display: grid;
    width: 100%;
    margin: 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    isolation: isolate;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img,
.gallery-item:active img {
    transform: scale(1.04);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    
    z-index: 1;
    pointer-events: none;
}

.gallery-cap{
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: var(--pearl);
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
    background: rgba(48, 28, 18, .8);
}

.gallery-item:hover .gallery-cap,
.gallery-item:focus-within .gallery-cap,
.gallery-item:active .gallery-cap {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:focus-within::after,
.gallery-item:hover::after {
    opacity: 1;
}

@media (hover: none){
    .gallery-cap {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-cap,
    .gallery-item img {
        transition: none;
    }
}

.gallery-cap strong {
    display: block;
    font-size: 1.35rem;
}

.gallery-cap span {
    font-size: 1rem;
    font-family: serif;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6) {
    min-height: 0;
}





/* Sponsors */
.sponsors {
    background: var(--beige);
    position: relative;
    overflow: hidden;
    padding: clamp(55px, 8vw, 100px);
}

.sponsors::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--darkorange) 40%, transparent);
    left: -180px;
    top: -190px;
    pointer-events: none;
}

.sponsors > .sponsors-directory {
    width: min(1400px, calc(100% - 112px));
    max-width: none;
    margin-inline: auto;
}

.sponsors-directory {
    position: relative;
}

.sponsors-intro {
    margin: 14px 0 0;
    width: 100%;
}

.sponsors-top {
    margin-bottom: 30px;
    text-align: left;
    width: 90%;
    max-width: none;
    margin-inline: auto;
}

.sponsors-top p {
    font-family: serif;
}

.sponsors-top .sub {
    font-family: "MADE Mirage", serif;
}

.sponsors-top h2 {
    margin: 0;
}

.sponsors-top .sponsors-intro {
    margin-inline: 0;
}

.sponsors-category {
    margin-top: 40px;
    width: 100%;
}

.sponsors-title {
    font-size: 1.4rem;
    color: var(--tabasco);
    margin-bottom: 16px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sponsors-title::before {
    content: "✦";
    color: var(--tabasco);
    font-size: 1rem;
}

.sponsors-grid {
    display: grid;
    gap: 16px;
    width: 100%;
    grid-template-columns: repeat(autofit, minmax(140, 1fr));
}

.institucional .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
}

.fornecedores .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
}

.apoiadores .sponsors-grid {
    grid-template-columns: repeat(4, 1fr);
}

.sponsors-card {
    background: #fff;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform .2s ease;
}

.sponsors-card:hover {
    transform: translateY(-3px);
}

.sponsors-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}





/* footer */
footer{
    background: #fff;
    color: var(--tabasco);
    padding: 38px 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 26px;
}

.footer-dets {
    display: block;
    font-family: serif;
}

.footer-date {
    font-family: serif;
}

.footer-bottom {
    border-top: 1px solid var(--tabasco);
    padding: 17px;
    text-align: center;
}

.footer-bottom a {
    text-decoration: none;
    color: var(--rust);
}





/* Responsive */
/* ---------- 1200px ---------- */
@media (max-width: 1200px) {
    .sponsors > .sponsors-directory {
        width: min(1200px, calc(100% - 56px));
    }

    .potters > .container {
        width: min(1400px, calc(100% - 40px));
    }
}

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    html {
        scroll-padding-top: 74px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info h1 {
        max-width: none;
    }

    .info-art {
        max-width: 420px;
    }

    .info-stamp {
        left: 0;
        bottom: 12px;
        padding: 18px 22px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-art {
        min-height: 280px;
        order: -1;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sponsors-top,
    .sponsors-group,
    .sponsors-banner {
        width: 100%;
    }

    .potters-top .section-heading {
        margin-left: 0;
    }
}

/* burger menu */
@media (max-width: 900px) {
    header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: #fff;
    }

    .menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-family: system-ui, sans-serif;
        margin-left: auto;
    }

    .nav {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--tabasco);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: none;
        margin-top: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--beige);
        font-size: 1.05rem;
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    body {
        font-size: 15.5px;
    }

    .container {
        width: calc(100% - 32px);
    }

    .info {
        padding: 44px 0 56px;
    }

    .info h1 {
        font-size: clamp(2.1rem, 7vw, 3rem);
    }

    .info .sub {
        font-size: .8rem;
        padding: 7px 11px;
    }

    .info-meta {
        gap: 8px 10px;
        font-size: .92rem;
    }

    .meta-item {
        padding: 7px 10px;
    }

    .info-actions {
        width: 100%;
    }

    .info-actions .button {
        flex: 1 1 auto;
        text-align: center;
    }

    .about,
    .schedule,
    .potters,
    .sponsors {
        padding-left: clamp(20px, 5vw, 48px);
        padding-right: clamp(20px, 5vw, 48px);
    }

    .section {
        padding: 48px 0;
    }

    .section-heading h2 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .day-card {
        padding: 24px 20px;
    }

    .potters p {
        opacity: 0;
    }

    .potters-top .mobile {
        opacity: 1;
        padding-top: -20px;
    }

    .potters .sub {
        opacity: 1;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item{
        aspect-ratio: 1 / 1;
    }

    .gallery-cap {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease;
        background: rgba(48, 28, 18, .82);
        justify-content: center;
        padding-bottom: 14px;
    }

    .gallery-item:focus .gallery-cap {
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-item:focus {
        outline: 2px solid var(--tabasco);
    }

    .sponsors {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sponsors > .sponsors-directory {
        width: 100%;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-vila {
        height: 64px;
    }
}

/* ---------- 560px ---------- */
@media (max-width: 560px) {
    .logo-img {
        max-height: 44px;
        width: auto;
    }

    .info-stamp {
        position: static;
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }

    .info-stamp strong {
        font-size: 1.25rem;
    }

    .info-stamp span {
        font-size: .95rem;
    }

    .info-art {
        max-width: 320px;
    }

    .info-img {
        padding: 28px;
    }

    .schedule-intro {
        flex-direction: column;
        align-items: stretch;
    }

    .schedule-hours {
        width: 100%;
        text-align: center;
    }

    .day-top h3 {
        font-size: 1.35rem;
    }

    .day-number {
        width: 60px;
        height: 62px;
        font-size: .58rem;
    }

    .schedule-list li {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 0;
    }

    .schedule-list time {
        justify-self: start;
    }

    .sponsors-top h2,
    .potters-top h2 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .sponsors-grid,
    .institucional .sponsors-grid,
    .fornecedores .sponsors-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .apoiadores .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-dets {
        font-size: .92rem;
        line-height: 1.55;
    }

    .button {
        padding: 11px 16px;
        font-size: .88rem;
    }
}

/* ---------- 380px ---------- */
@media (max-width: 380px) {
    .info-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-actions {
        flex-direction: column;
    }

    .info-actions .button {
        width: 100%;
    }

    .day-top {
        flex-wrap: wrap;
    }
}

/* ---------- Very short landscape phones ---------- */
@media (max-height: 480px) and (orientation: landscape) {
    .info {
        padding: 28px 0 40px;
    }

    .info-art {
        max-width: 260px;
    }
}

/* ---------- Users who disable animation ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}