@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #21152f;
    --paper: #fbf8f1;
    --purple: #4a235a;
    --purple-dark: #32173f;
    --gold: #d6a84f;
    --gold-dark: #b8872e;
    --line: rgba(33, 21, 47, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body.fundo {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        linear-gradient(118deg, transparent 0 61%, rgba(214, 168, 79, 0.16) 61% 70%, transparent 70%),
        linear-gradient(294deg, transparent 0 72%, rgba(74, 35, 90, 0.1) 72% 82%, transparent 82%);
    font-family: 'DM Sans', sans-serif;
}

.menu.navbar {
    min-height: 72px;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(251, 248, 241, 0.2);
    background: #111629 !important;
    box-shadow: 0 10px 30px rgba(42, 26, 60, 0.2);
}

.menu .container-fluid {
    max-width: 1440px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--paper);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--paper);
}

.img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 5px 5px 0 #DEA193;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.navbar-brand:hover .img,
.navbar-brand:focus .img {
    transform: rotate(-6deg) translateY(-2px);
    box-shadow: 7px 7px 0 var(--gold);
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(251, 248, 241, 0.55);
    border-radius: 50%;
    background: var(--gold);
    transition: background-color 180ms ease, transform 180ms ease;
}

.navbar-toggler:hover {
    background: var(--gold-dark);
    transform: rotate(8deg);
}

.navbar-toggler:focus-visible,
.nav-link:focus-visible,
.btn-close:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.offcanvas {
    width: min(380px, 88vw) !important;
    color: #000;
    background: var(--gold);
}

.offcanvas-header {
    padding: 2rem 1.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.offcanvas-title {
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.offcanvas .btn-close {
    opacity: 0.9;
}

.offcanvas-body {
    padding: 1.25rem 1.75rem;
}

.nav-link {
    padding: 0.9rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    color: #000 !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 180ms ease, padding-left 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    padding-left: 0.5rem !important;
    color: #000 !important;
}

.nav-link.active::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--gold);
    content: '';
}

.agenda-principal {
    width: min(100% - 1rem, 1120px);
    margin: 0 auto;
    padding: 7rem 0 3rem;
}

.agenda-cabecalho {
    max-width: 100%;
    margin-bottom: 1.75rem;
}

.agenda-etiqueta {
    margin: 0 0 0.8rem;
    color: #DEA193;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.agenda-cabecalho h1 {
    margin: 0;
    color: #111629;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.3rem, 12vw, 3.1rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.agenda-introducao {
    max-width: 480px;
    margin: 1.25rem 0 0;
    color: rgba(33, 21, 47, 0.7);
    font-size: 1.08rem;
    line-height: 1.6;
}

.tabela-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(251, 248, 241, 0.88);
    box-shadow: 12px 12px 0 rgba(74, 35, 90, 0.12);
}

.tabela-scroll:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}

.equipe-convite {
    max-width: 600px;
    margin: 2.5rem auto 0;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 248, 241, 0.9);
    box-shadow: 10px 10px 0 rgba(74, 35, 90, 0.12);
    text-align: center;
}

.equipe-convite figure {
    margin: 0;
}

.equipe-convite img {
    width: 100%;
    max-height: 400px;
    border-radius: 12px;
    object-fit: contain;
}

.equipe-convite figcaption {
    margin-top: 1rem;
    color: rgba(33, 21, 47, 0.82);
    font-size: 1.08rem;
    line-height: 1.2;
}

.equipe-convite figcaption p {
    margin: 0 0 0.75rem;
}

.equipe-convite figcaption p:last-child {
    margin-bottom: 0;
}

.equipe-convite2 {
    position: relative;
    max-width: 800px;
    margin: 2.5rem auto 0;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid rgba(74, 35, 90, 0.18);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(251, 248, 241, 0.98), rgba(255, 240, 224, 0.88));
    box-shadow: 12px 12px 0 rgba(74, 35, 90, 0.14), 0 18px 35px rgba(42, 26, 60, 0.1);
    text-align: center;
}

.equipe-convite2::before {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    color: #DEA193;
    content: '✿';
    font-size: 2rem;
    line-height: 1;
    transform: rotate(-12deg);
}

.equipe-convite2 figure {
    margin: 0;
}

.equipe-convite2 img {
    width: 100%;
    max-height: 600px;
    max-width: 500px;
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 10px 22px rgba(42, 26, 60, 0.16);
}

.equipe-convite2 figcaption {
    max-width: 620px;
    margin: 1.5rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(74, 35, 90, 0.16);
    color: rgba(33, 21, 47, 0.82);
    font-size: 1rem;
    line-height: 1.55;
}

.equipe-convite2 figcaption p {
    margin: 0 0 0.9rem;
}

.equipe-convite2 figcaption p:first-child {
    color: var(--purple-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.equipe-convite2 figcaption p:last-child {
    margin-bottom: 0;
    color: var(--purple);
    font-weight: 700;
}

.socias-fundadoras {
    max-width: 800px;
    margin: 1.5rem auto 0;
    padding: 1.25rem clamp(1rem, 3vw, 2rem);
    border: 1px solid rgba(74, 35, 90, 0.18);
    border-radius: 18px;
    background: #111629;
    box-shadow: 8px 8px 0 rgba(214, 168, 79, 0.7);
    color: var(--paper);
    text-align: center;
}

.socias-fundadoras h2 {
    margin: 0 0 0.5rem;
    color: var(--gold);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
}

.socias-fundadoras p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}


.tabela-aulas {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    text-align: left;
}

.tabela-aulas caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.tabela-aulas th,
.tabela-aulas td {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: 0.82rem;
}

.tabela-aulas thead th {
    color: var(--paper);
    background: linear-gradient(110deg, #111629 0%, #32173f 72%, #DEA193 100%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tabela-aulas tbody th {
    color: var(--purple-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.professora-nome {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
}

.foto-professora {
    width: 145px;
    height: 170px;
    min-width: 145px;
    max-width: 145px;
    min-height: 170px;
    max-height: 170px;
    border: 2px solid #DEA193;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
    box-shadow: 3px 3px 0 var(--purple);
}

.tabela-aulas tbody tr:last-child th,
.tabela-aulas tbody tr:last-child td {
    border-bottom: 0;
}

.tabela-aulas tbody tr {
    transition: background-color 180ms ease;
}

.tabela-aulas tbody tr:hover {
    background: rgba(214, 168, 79, 0.12);
}

.grade-semanal {
    display: grid;
    gap: 1.5rem;
}

.agenda-whatsapp {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.agenda-whatsapp a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 360px);
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: #1f9d55;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.agenda-whatsapp a:hover,
.agenda-whatsapp a:focus-visible {
    background: #187a43;
    color: #ffffff;
}

.grade-dia {
    display: block;
}

.agenda-experimental {
    margin: 0;
    padding: 0.9rem 1.2rem;
    border: 0 !important;
    border-radius: 0 0 8px 8px;
    color: var(--paper);
    background: linear-gradient(110deg, #111629 0%, #32173f 72%, #DEA193 100%);
    box-shadow: 6px 6px 0 rgba(74, 35, 90, 0.16);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-align: center;
}

.grade-paginacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.grade-botao {
    min-width: 110px;
    padding: 0.75rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--paper);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, opacity 180ms ease;
}

.grade-botao:hover:not(:disabled),
.grade-botao:focus-visible:not(:disabled) {
    transform: translateY(-1px);
}

.grade-botao:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.grade-indicador {
    color: var(--purple-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tipo-aula {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(74, 35, 90, 0.25);
    border-radius: 999px;
    color: var(--purple);
    font-size: 0.9rem;
    font-weight: 700;
}

.contato-principal {
    padding-bottom: 5rem;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contato-card,
.formulario-contato {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 248, 241, 0.9);
    box-shadow: 10px 10px 0 rgba(74, 35, 90, 0.08);
}

.contato-card {
    padding: 0.85rem 1.1rem;
}

.contato-card h2 {
    margin: 0 0 0.55rem;
    color: var(--purple-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
}

.contato-lista {
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contato-lista li {
    display: grid;
    gap: 0.3rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--line);
}

.contato-lista li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contato-lista a,
.contato-lista p {
    margin: 0;
    color: rgba(33, 21, 47, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
}

.contato-lista a:hover,
.contato-lista a:focus-visible {
    color: var(--purple);
}

.contato-label {
    color: #DEA193;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-contato {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--paper);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-contato:hover,
.btn-contato:focus-visible {
    color: var(--paper);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(74, 35, 90, 0.18);
}

.formulario-contato {
    margin-top: 1rem;
    padding: 1.25rem;
}

.form-contato {
    display: grid;
    gap: 1.2rem;
}

.campo-duplo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.campo {
    display: grid;
    gap: 0.45rem;
}

.campo label {
    color: var(--purple-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(74, 35, 90, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--ink);
    font: inherit;
}

.campo input:focus,
.campo textarea:focus {
    outline: 2px solid rgba(214, 168, 79, 0.8);
    border-color: rgba(214, 168, 79, 0.8);
}

.btn-contato--submit {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.localizacao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: stretch;
}

.mapa-card {
    margin-top: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 248, 241, 0.9);
    box-shadow: 10px 10px 0 rgba(74, 35, 90, 0.08);
    overflow: hidden;
    width: 100%;
}

.mapa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0.5rem;
}

.mapa-header h2 {
    margin: 0;
    color: var(--purple-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
}

.mapa-header a {
    color: var(--purple);
    font-weight: 700;
    text-decoration: none;
}

    .grade-terca .tabela-aulas {
        min-width: 560px;
    }

    .grade-terca .tabela-aulas th,
    .grade-terca .tabela-aulas td {
        white-space: nowrap;
    }

.mapa-header a:hover,
.mapa-header a:focus-visible {
    text-decoration: underline;
}

.mapa-iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
}

.vagas {
    color: var(--gold-dark);
    font-weight: 700;
}

@media (min-width: 768px) {
    .menu.navbar {
        min-height: 96px;
        padding: 0.65rem clamp(1rem, 4vw, 4.5rem);
    }

    .img {
        width: 80px;
        height: 80px;
    }

    .foto-professora {
        width: 220px;
        height: 220px;
        min-width: 220px;
        max-width: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .agenda-principal {
        width: min(1120px, calc(100% - 2rem));
        padding: 9.5rem 0 4rem;
    }

    .agenda-cabecalho {
        max-width: 660px;
        margin-bottom: 2.5rem;
    }

    .agenda-cabecalho h1 {
        font-size: clamp(2.5rem, 6vw, 5rem);
    }

    .contato-grid,
    .localizacao-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .campo-duplo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .formulario-contato {
        margin-top: 1.5rem;
        padding: 2rem;
    }

    .mapa-header {
        padding: 1.5rem 2rem 0.5rem;
    }

    .mapa-iframe {
        min-height: 420px;
    }

    .tabela-aulas {
        min-width: 720px;
    }

    .tabela-aulas th,
    .tabela-aulas td {
        padding: 1.15rem 1.35rem;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .agenda-principal {
        width: min(100% - 1rem, 1120px);
        padding-top: 7.5rem;
    }

    .agenda-cabecalho h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .grade-paginacao {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .grade-botao {
        flex: 1 1 120px;
        min-width: 0;
    }

    .contato-grid,
    .campo-duplo,
    .localizacao-grid {
        grid-template-columns: 1fr;
    }

    .contato-card,
    .formulario-contato,
    .mapa-card {
        padding: 1.25rem;
    }

    .mapa-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.25rem 0.5rem;
    }

    .socias-fundadoras {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 14px;
        box-shadow: 5px 5px 0 rgba(214, 168, 79, 0.7);
    }

    .socias-fundadoras h2 {
        font-size: 1.2rem;
    }

    .socias-fundadoras p {
        font-size: 0.95rem;
    }

    .equipe-tabela {
        display: block;
    }

    .equipe-tabela thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .equipe-tabela tbody,
    .equipe-tabela tbody tr,
    .equipe-tabela tbody th,
    .equipe-tabela tbody td {
        display: block;
        width: 100%;
    }

    .equipe-tabela tbody tr {
        padding: 1rem;
        border-bottom: 1px solid var(--line);
    }

    .equipe-tabela tbody tr:last-child {
        border-bottom: 0;
    }

    .equipe-tabela tbody th,
    .equipe-tabela tbody td {
        min-width: 0;
        padding: 0.45rem 0;
        border-bottom: 0;
        text-align: left;
    }

    .equipe-tabela .professora-nome {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .equipe-tabela tbody td:nth-child(2)::before,
    .equipe-tabela tbody td:nth-child(3)::before {
        display: block;
        margin-bottom: 0.2rem;
        color: #DEA193;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .equipe-tabela tbody td:nth-child(2)::before {
        content: 'Função';
    }

    .equipe-tabela tbody td:nth-child(3)::before {
        content: 'Aulas ministradas';
    }

    .equipe-tabela .tipo-aula {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: clamp(0.45rem, 2vw, 0.65rem) clamp(0.55rem, 3vw, 0.8rem);
        border-radius: clamp(8px, 3vw, 14px);
        font-size: clamp(0.78rem, 3.5vw, 0.9rem);
        line-height: 1.45;
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .menu.navbar {
        min-height: 82px;
    }

    .img {
        width: 52px;
        height: 52px;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }

    .agenda-principal {
        width: min(100% - 1rem, 1120px);
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .agenda-cabecalho {
        margin-bottom: 1.75rem;
    }

    .agenda-cabecalho h1 {
        font-size: clamp(2.3rem, 12vw, 3.1rem);
    }

    .agenda-introducao {
        font-size: 1rem;
    }

    .tabela-scroll {
        border-radius: 10px;
    }

    .tabela-aulas {
        min-width: 0;
    }

    .tabela-aulas th,
    .tabela-aulas td {
        padding: 0.75rem 0.8rem;
        font-size: 0.82rem;
    }

    .grade-paginacao {
        gap: 0.5rem;
    }

    .grade-botao {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.corletra{
    color: black !important;
}
