/* ===================================
   CONFIGURAÇÕES GERAIS
=================================== */

:root {
    --navy: #0d1b3d;
    --blue: #1556c0;
    --teal: #00bfa8;
    --yellow: #ffc107;
    --paper: #f1f3f5;
    --white: #ffffff;
    --ink: #10182d;
    --muted: #5f6777;
    --max-width: 1200px;

    --shadow:
        0 20px 50px rgba(13, 27, 61, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;

}

img {
    display: block;
    max-width: 100%;
    border-radius: 10px 10px 10px 10px;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* ===================================
   CABEÇALHO
=================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

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

    height: 82px;

    padding-right:
        max(24px, calc((100vw - var(--max-width)) / 2));

    padding-left:
        max(24px, calc((100vw - var(--max-width)) / 2));

    background: rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid rgba(13, 27, 61, 0.08);

    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    color: var(--navy);
}

.brand-mark img {
 width: 90px;


}

.brand span:last-child {
    display: grid;
    line-height: 1;
}

.brand strong {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.brand small {
    margin-top: 7px;

    font-size: 0.55rem;
    letter-spacing: 0.42em;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    position: relative;

    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav a::after {
    content: "";

    position: absolute;
    right: 100%;
    bottom: -9px;
    left: 0;

    height: 2px;

    background: var(--teal);

    transition: right 0.25s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    right: 0;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    color: var(--navy);
    font-size: 1.4rem;

    cursor: pointer;
}

/* ===================================
   HERO
=================================== */

.hero {
    position: relative;

    display: grid;
    align-items: center;

    min-height: calc(100vh - 82px);

    color: var(--white);

    .hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero::after {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(13, 27, 61, 0.92) 0%,
            rgba(13, 27, 61, 0.55) 45%,
            rgba(13, 27, 61, 0.12) 78%);
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(620px, calc(100% - 48px));

    margin-left:
        max(24px, calc((100vw - var(--max-width)) / 2));

    padding: 70px 0;
}

.eyebrow {
    margin: 0 0 13px;

    color: var(--blue);

    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--white);
    opacity: 0.8;
}

.hero h1,
.section h2,
.map-copy h2 {
    margin: 0;

    font-weight: 500;
    line-height: 1.08;
}

.hero h1 {
    font-size: clamp(3rem, 7.5vw, 6.7rem);
    letter-spacing: -0.045em;
}

.hero h1 em {
    color: #76a8ff;
    font-style: normal;
}

.hero h1 span {
    color: var(--teal);
}

.hero-copy {
    max-width: 500px;

    margin: 28px 0 30px;

    font-size: 1.05rem;
}

.actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.button.primary {
    color: var(--white);
    background: var(--blue);
}

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

    box-shadow:
        0 10px 28px rgba(21, 86, 192, 0.3);
}

.text-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-link span {
    margin-left: 8px;
}

.hero-index {
    position: absolute;
    bottom: 20px;
    z-index: 3;

    left:
        max(24px, calc((100vw - var(--max-width)) / 2));

    font-size: 0.75rem;
}

/* ===================================
   SEÇÕES GERAIS
=================================== */

.section {
    max-width: var(--max-width);

    margin: auto;
    padding: 110px 24px;
}

.section h2,
.map-copy h2 {
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.rule {
    width: 54px;
    height: 3px;

    margin: 24px 0 30px;

    background: var(--teal);
}

/* ===================================
   SOBRE
=================================== */

.about {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.about-copy>p:not(.eyebrow) {
    max-width: 470px;
    color: var(--muted);
}

.about-visual {
    position: relative;
    padding-top: 35px;
}

.about-visual img {
    width: 100%;
    height: 380px;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.line-symbol {
    position: absolute;
    top: -50px;
    right: 8%;
    z-index: -1;

    color: var(--navy);

    font-size: 9rem;
    font-weight: 200;

    opacity: 0.12;

    transform: rotate(45deg);
}

/* Números do site */

.stats {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 20px;
    padding-top: 34px;

    border-top: 1px solid #d8dce3;
}

.stats div {
    display: flex;
    flex-direction: column;
    align-items: center;

    border-right: 1px solid #d8dce3;
}

.stats div:last-child {
    border-right: 0;
}

.stats strong {
    font-size: 1.75rem;
    font-weight: 500;
}

.stats span {
    color: var(--muted);

    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===================================
   EXPLORAR
=================================== */

.explore {
    max-width: none;

    padding-right:
        max(24px, calc((100vw - var(--max-width)) / 2));

    padding-left:
        max(24px, calc((100vw - var(--max-width)) / 2));

    background: var(--paper);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 55px;
}

.section-heading>p {
    max-width: 360px;
    margin-bottom: 28px;

    color: var(--muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #ced3db;
    border-left: 1px solid #ced3db;
}

.category-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 155px;

    border-right: 1px solid #ced3db;
    border-bottom: 1px solid #ced3db;

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

.category-grid b {
    color: var(--navy);

    font-size: 2.1rem;
    font-weight: 300;
}

.category-grid span {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.category-grid a:hover {
    color: var(--white);
    background: var(--navy);

    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.category-grid a:hover b {
    color: var(--teal);
}

/* ===================================
   EXPERIÊNCIAS
=================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    border-radius: 20px;
}

.place-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 440px;

    color: var(--white);
    background: var(--navy);

    overflow: hidden;

    border-radius: 20px;
}

.place-card img {
    width: 100%;
    height: 255px;

    object-fit: cover;

    transition: transform 0.5s;
}

.place-card:hover img {
    transform: scale(1.04);
}

.place-card>div:last-child {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 25px;
}

.place-card span {
    color: var(--teal);

    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.place-card h3 {
    margin: 8px 0 18px;

    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.35;
}

.place-card p {
    font-size: 0.9rem;
    opacity: 0.75;
}

.place-card a {
    margin-top: auto;
    font-size: 0.78rem;
}

.accent-card {
    padding-top: 80px;

    color: var(--navy);
    background: var(--yellow);
}

.accent-card .card-number {
    padding: 0 25px;

    font-size: 6rem;
    font-weight: 300;
    line-height: 1;

    opacity: 0.18;
}

.accent-card span {
    color: var(--blue);
}

/* ===================================
   MAPA
=================================== */

.map-section {
    display: grid;
    grid-template-columns:
        minmax(300px, 1fr) minmax(50%, 1.4fr);

    min-height: 620px;

    background: var(--paper);
}

.map-copy {
    align-self: center;

    padding-top: 90px;
    padding-bottom: 90px;

    padding-left:
        max(24px, calc((100vw - var(--max-width)) / 2));

    padding-right: 70px;
}

.map-copy p:not(.eyebrow) {
    max-width: 350px;

    margin-bottom: 30px;

    color: var(--muted);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 620px;

    border: 0;

    filter:
        saturate(0.65) contrast(0.95);
}

/* ===================================
   RODAPÉ
=================================== */

.site-footer {
    position: relative;

    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 60px;

    padding-top: 80px;
    padding-bottom: 24px;

    padding-right:
        max(24px, calc((100vw - var(--max-width)) / 2));

    padding-left:
        max(24px, calc((100vw - var(--max-width)) / 2));

    color: var(--white);
    background: var(--navy);

    overflow: hidden;
}

.brand-light {
    color: var(--white);
}

.footer-brand>p {
    max-width: 350px;

    margin-top: 24px;

    font-size: 0.88rem;

    opacity: 0.72;
}

.logo_rodape img{
    width: 250px;
}

.site-footer h3 {
    margin: 10px 0 22px;

    color: var(--teal);

    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer>div:not(.footer-brand):not(.footer-bottom) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer a,
.site-footer p {
    font-size: 0.82rem;
}

.site-footer>div a {
    opacity: 0.75;
}

.site-footer>div a:hover {
    color: var(--teal);
    opacity: 1;
}

.footer-bottom {
    z-index: 1;
    grid-column: 1 / -1;

    display: flex;
    justify-content: space-between;

    margin-top: 24px;
    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.2);

    font-size: 0.72rem;

    opacity: 0.65;
}

footer-logo
    {
        display: block  ;
    
        width: 500px;
        height: auto;
    
        object-fit: contain;
        
    }

/* ===================================
   ANIMAÇÕES
=================================== */

.reveal {
    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===================================
   TABLETS E CELULARES
=================================== */

@media (max-width: 850px) {

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        border: 0;
        background: transparent;

        color: #0d1b3d;
        font-size: 1.7rem;

        cursor: pointer;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        z-index: 999;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        padding: 15px 24px;

        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        width: 100%;
        padding: 13px 0;
    }



    .hero {
        min-height: calc(100svh - 70px);
    }

    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        padding-top: 0;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats div:nth-child(2) {
        border-right: 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .section-heading>p {
        margin: 0;
    }

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

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

    .place-card:last-child {
        grid-column: 1 / -1;
        min-height: 350px;
    }

    .map-section {
        grid-template-columns: 1fr;
    }

    .map-copy {
        padding: 80px 24px;
    }

    .map-frame iframe {
        min-height: 460px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ===================================
   CELULARES PEQUENOS
=================================== */

@media (max-width: 560px) {

    .section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-copy {
        font-size: 0.95rem;
    }

    .actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

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

    .stats div {
        border-right: 0;
    }

    .category-grid a {
        min-height: 130px;
        padding: 10px;

        text-align: center;
    }

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

    .place-card:last-child {
        grid-column: auto;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand,
    .footer-bottom {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .about-visual img {
        height: 290px;
    }
}

/* Reduz as animações para usuários que preferem menos movimento */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        transition: none !important;
    }


}
/* ===================================
   MODAL DE GASTRONOMIA
=================================== */

body.modal-open {
    overflow: hidden;
}

/* Fundo escuro da sobreposição */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;

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

    padding: 24px;

    background: rgba(13, 27, 61, 0.82);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

/* Modal aberto */

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Área branca do modal */

.modal-container {
    width: min(1200px, 100%);
    max-height: calc(100vh - 48px);

    padding: 45px;

    background: #ffffff9c;

    overflow-y: auto;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32);

    transform: translateY(25px) scale(0.98);

    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

/* ===================================
   CABEÇALHO DO MODAL
=================================== */

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 32px;
}

.modal-eyebrow {
    margin: 0 0 8px;

    color: var(--blue);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.modal-header h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.modal-rule {
    width: 55px;
    height: 3px;

    margin: 22px 0;

    background: var(--teal);
}

.modal-description {
    max-width: 600px;
    margin: 0;

    color: var(--blue);
}

/* Botão de fechar */

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    border: 1px solid #d8dce3;
    border-radius: 50%;

    color: var(--navy);
    background: transparent;

    font-size: 2rem;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s,
        background 0.2s,
        border-color 0.2s,
        transform 0.2s;
}

.modal-close:hover {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);

    transform: rotate(90deg);
}

/* ===================================
   FILTROS
=================================== */

.modal-filters {
    display: flex;
    gap: 10px;

    margin-bottom: 30px;
    padding-bottom: 22px;

    border-bottom: 1px solid #d8dce3;

    overflow-x: auto;
}

.filter-button {
    flex-shrink: 0;

    min-height: 40px;
    padding: 0 18px;

    border: 1px solid #cbd1da;

    color: var(--navy);
    background: #ffffff;

    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s,
        background 0.2s,
        border-color 0.2s;
}

.filter-button:hover,
.filter-button.active {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
}

/* ===================================
   CARDS DE GASTRONOMIA
=================================== */

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

.gastronomia-card {
    background: #ffffff;

    border: 1px solid #dfe3e9;

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

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

    box-shadow:
        0 18px 40px rgba(13, 27, 61, 0.14);
}

.gastronomia-image {
    position: relative;

    height: 215px;

    overflow: hidden;
}

.gastronomia-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s;
}

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

/* Categoria sobre a imagem */

.place-category {
    position: absolute;
    bottom: 14px;
    left: 14px;

    padding: 7px 11px;

    color: #ffffff;
    background: var(--navy);

    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Botão de favorito */

.favorite-button {
    position: absolute;
    top: 14px;
    right: 14px;

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

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    color: var(--navy);
    background: rgba(255, 255, 255, 0.94);

    font-size: 1.4rem;

    cursor: pointer;

    transition:
        color 0.2s,
        background 0.2s,
        transform 0.2s;
}

.favorite-button:hover,
.favorite-button.selected {
    color: #ffffff;
    background: var(--teal);

    transform: scale(1.06);
}

/* Conteúdo do card */

.gastronomia-content {
    padding: 23px;
}

.place-region {
    margin: 0 0 6px;

    color: var(--blue);

    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gastronomia-content h3 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 1.25rem;
    font-weight: 500;
}

.gastronomia-content > p:not(.place-region) {
    min-height: 73px;
    margin: 0;

    color: var(--muted);

    font-size: 0.86rem;
    line-height: 1.6;
}

.place-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 20px;
    padding-top: 17px;

    border-top: 1px solid #e2e5e9;
}

.place-footer > span {
    color: var(--muted);
    font-size: 0.75rem;
}

.place-footer a {
    color: var(--blue);

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.place-footer a:hover {
    color: var(--teal);
}

/* ===================================
   FINAL DO MODAL
=================================== */

.modal-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #d8dce3;
}

.modal-bottom p {
    margin: 0;
    color: var(--muted);
}

.modal-partner-link {
    color: var(--blue);

    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.modal-partner-link:hover {
    color: var(--teal);
}

/* ===================================
   MODAL EM TABLETS
=================================== */

@media (max-width: 900px) {

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

    .gastronomia-card:last-child {
        grid-column: 1 / -1;
    }

}

/* ===================================
   MODAL EM CELULARES
=================================== */

@media (max-width: 600px) {

    .modal-overlay {
        align-items: stretch;
        padding: 0;
    }

    .modal-container {
        width: 100%;
        max-height: 100vh;

        padding: 28px 20px;

        box-shadow: none;
    }

    .modal-header {
        gap: 18px;
    }

    .modal-header h2 {
        font-size: 2.35rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }

    .modal-close {
        width: 45px;
        height: 45px;

        font-size: 1.7rem;
    }

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

    .gastronomia-card:last-child {
        grid-column: auto;
    }

    .gastronomia-image {
        height: 210px;
    }

    .modal-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}
/* CORREÇÃO DO CABEÇALHO E DA LOGO */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

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

    width: 100%;
    height: 90px;

    padding: 0 5%;

    background-color: #ffffff;

    overflow: visible;
}

.site-header .brand {
    display: flex;
    align-items: center;

    height: 100%;
    max-width: 190px;

    flex-shrink: 0;
}

.site-header .header-logo {
    display: block;

    width: 165px;
    height: 72px;
    max-width: 100%;
    max-height: 72px;

    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #0d1b3d;

    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark{
    display: none !important;
}
/* ===================================
   MENU DE PERFIL
=================================== */

.profile-menu {
    position: relative;

    display: flex;
    align-items: center;
}

/* Botão redondo do perfil */

.profile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 1px solid rgba(13, 27, 61, 0.22);
    border-radius: 50%;

    color: var(--navy);
    background: #ffffff;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.profile-trigger svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-trigger:hover,
.profile-trigger[aria-expanded="true"] {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);

    transform: translateY(-2px);
}

/* Caixa do menu */

.profile-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    z-index: 1000;

    display: grid;

    width: 270px;

    padding: 12px;

    background: #ffffff;

    border: 1px solid rgba(13, 27, 61, 0.12);
    border-radius: 16px;

    box-shadow:
        0 24px 60px rgba(13, 27, 61, 0.2);

    animation: abrirMenuPerfil 0.22s ease;
}

/* Faz o atributo hidden funcionar corretamente */

.profile-dropdown[hidden] {
    display: none;
}

/* Cabeçalho interno do menu */

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 8px;
    padding: 12px;

    border-bottom: 1px solid #e5e7eb;
}

.profile-small-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    color: var(--white);
    background: var(--navy);

    font-size: 1.25rem;
}

.profile-dropdown-header div {
    display: flex;
    flex-direction: column;
}

.profile-dropdown-header strong {
    color: var(--navy);

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

.profile-dropdown-header small {
    color: var(--muted);

    font-size: 0.72rem;
}

/* Links do menu de perfil */

.profile-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 12px 13px;

    border-radius: 9px;

    color: var(--navy);

    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding 0.2s ease;
}

/* Remove a linha animada da navegação */

.profile-dropdown > a::after {
    display: none;
}

.profile-dropdown > a:hover {
    padding-left: 17px;

    color: var(--navy);
    background: rgba(0, 191, 168, 0.13);
}

.profile-dropdown > a:last-child {
    margin-top: 5px;

    color: var(--blue);

    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 9px 9px;
}

/* Animação de entrada */

@keyframes abrirMenuPerfil {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   MENU DE PERFIL NO CELULAR
=================================== */

@media (max-width: 850px) {

    .profile-menu {
        display: block;
        width: 100%;

        padding-top: 10px;

        border-top: 1px solid #e5e7eb;
    }

    .profile-trigger {
        width: 44px;
        height: 44px;
    }

    .profile-dropdown {
        position: static;

        width: 100%;

        margin-top: 12px;

        border-radius: 12px;

        box-shadow:
            0 12px 30px rgba(13, 27, 61, 0.12);
    }

    .profile-dropdown > a {
        padding: 13px;
    }

}
/* ===================================
   CORREÇÃO DOS BOTÕES DO EXPLORAR
=================================== */

.category-grid .explore-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 155px;
    margin: 0;
    padding: 20px;

    border: 0;
    border-right: 1px solid #ced3db;
    border-bottom: 1px solid #ced3db;

    color: var(--ink);
    background: transparent;

    font-family: inherit;

    cursor: pointer;

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

.category-grid .explore-category b {
    color: var(--navy);

    font-size: 2.1rem;
    font-weight: 300;
}

.category-grid .explore-category span {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.category-grid .explore-category:hover {
    color: var(--white);
    background: var(--navy);

    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.category-grid .explore-category:hover b {
    color: var(--teal);
}

@media (max-width: 560px) {

    .category-grid .explore-category {
        min-height: 130px;
        padding: 10px;
    }

}
.category-grid .explore-category .category-icon {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 0;
}

.category-grid .explore-category:hover .category-icon,
.category-grid .explore-category:focus-visible .category-icon {
    filter: brightness(0) invert(1);
}
@media (max-width: 850px) {
    .site-header {
        height: 70px;
    }

    .site-header .main-nav {
        top: 100%;
        display: none;
    }

    .site-header .main-nav.open {
        display: flex;
    }
}