:root {

    --primary-color: #FACC15;
    /* Amarelo noCauTe */

    --bg-dark: #111111;

    --bg-darker: #000000;

    --bg-card: #1A1A1A;

    --text-light: #FFFFFF;

    --text-muted: #A3A3A3;

    --border-color: #333333;

    font-family: 'Archivo', sans-serif;

}



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



body {

    font-family: var(--font-family);

    background-color: var(--bg-dark);

    color: var(--text-light);

    line-height: 1.6;

}



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

ul {
    list-style: none;
}



.container {

    width: 100%;

    margin: 0 auto;

}



.logo {

    width: 200px;

    margin-left: 10px
}



/* Typography & Utils */

h1,
h2,
h3 {
    font-weight: 700;
}

span {
    color: var(--primary-color);
}

.bg-dark {
    background-color: var(--bg-darker);
}

.section {
    padding-top: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-light);
    font-size: 3rem;
}

.section-header p {
    color: var(--text-light);
    font-weight: 450;
    font-size: 1.25rem;
}





/* Buttons */

.btn {

    display: inline-block;

    padding: 0.75rem 1.5rem;

    border-radius: 4px;

    font-weight: 600;

    cursor: pointer;

    border: none;

    text-align: center;

    transition: opacity 0.3s ease;

}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    padding: 8px 25px;
}

.btn-entrar{
    margin-right: 15px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--bg-dark);
}

.btn-black {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}



/* Header */

.header {
    background-color: var(--bg-darker);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 130px;
    
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}



/* ==========================================
   HERO / CARROSSEL DE TRÊS IMAGENS
   ========================================== */
.hero {
    position: relative;
    min-height: 68vh;
    overflow: hidden;
    background: #080808;
}

.hero-carousel {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: min(760px, 78vh);
    min-height: 590px;
    overflow: hidden;
    background: #080808;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #080808;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 800ms ease, visibility 800ms ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Imagem inteira, sem cortes agressivos */
.hero-slide img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Fundo desfocado para preencher as laterais quando necessário */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -1;
    background: var(--slide-background, #080808);
    filter: blur(24px);
    opacity: 0.45;
}

/* Camada escura para melhorar a leitura do texto */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.62) 42%,
            rgba(0, 0, 0, 0.16) 100%),
        linear-gradient(0deg,
            rgba(0, 0, 0, 0.45),
            transparent 45%);
}

/* Texto e botão sobre as imagens */
.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(3.5rem, 6vw, 8rem);
    width: min(560px, 46vw);
    max-width: calc(100% - 180px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    transform: translateY(-50%);
}

.hero-content>* {
    pointer-events: auto;
}

.hero-eyebrow {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 1.2rem;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.hero-content>p:not(.hero-eyebrow) {
    max-width: 620px;
    margin-bottom: 1.8rem;
    color: #f1f1f1;
    font-size: clamp(1.06rem, 1.5vw, 1.35rem);
}

.hero-content .btn {
    text-transform: uppercase;
    padding: 0.9rem 1.7rem;
    min-width: 210px;
}

/* Setas de avançar e voltar */
.hero-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-control:hover {
    background: var(--primary-color);
    color: #111;
}

.hero-prev {
    left: 1.5rem;
}

.header .btn-primary:hover,
.header .btn-primary:focus-visible,
.hero-content .btn-primary:hover,
.hero-content .btn-primary:focus-visible {
    background-color: #ffffff;
    color: #000000;
    opacity: 1;
}

.hero-next {
    right: 1.5rem;
}

/* Três indicadores de navegação */
.hero-dots {
    position: absolute;
    z-index: 4;
    bottom: 1.5rem;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    background: var(--primary-color);
    transform: scale(1.25);
}

.hero-control:focus-visible,
.hero-dot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

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

    .hero-slide,
    .hero-control,
    .hero-dot {
        transition: none;
    }
}

@media (max-width: 768px) {

    .hero,
    .hero-carousel {
        min-height: 590px;
        height: 72vh;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        line-height: 1.02;
    }

    .hero-overlay {
        background: linear-gradient(90deg,
                rgba(0, 0, 0, 0.82),
                rgba(0, 0, 0, 0.38));
    }

    .hero-prev {
        left: 0.65rem;
    }

    .hero-next {
        right: 0.65rem;
    }

    .hero-control {
        width: 38px;
        height: 38px;
    }

    .hero-content {
        left: 1rem;
        width: min(82%, 360px);
        max-width: calc(100% - 2.5rem);
        transform: none;
        top: 50%;
        gap: 0.15rem;
    }

    .hero-content .btn {
        padding: 0.8rem 1.2rem;
        min-width: 180px;
    }
}

/* Grid e Cards */

/* Fundo da secção com imagem e overlay escuro */

/* Secção principal: tem de ser relative para segurar a imagem lá dentro */

.bg-dark {

    position: relative;

    padding: 4rem 2rem;

    color: #ffffff;

    overflow: hidden;
    /* Evita que a imagem transborde */

}





/* Faz a tag \<img> cobrir toda a secção */

.bg-img {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;
    /* Mantém as proporções da imagem cortando os excessos */

    z-index: 1;
    /* Fica na camada mais profunda */

    filter: brightness(2.5);

}



/* Película escura sobre a imagem (substitui o linear-gradient) */

.bg-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: transparent;
    /* Preto com 75% de transparência */

    z-index: 2;
    /* Fica à frente da imagem, mas atrás do texto */

}



/* Garante que os textos e os cartões ficam por cima da imagem e da película */

.content-relative {

    position: relative;

    z-index: 3;

}

/* Cabeçalho - Ajuste para alinhar "Nossos Treinos" à esquerda */

.section-header {

    text-align: center;

    margin-bottom: 3rem;

}

.header-topo {

    text-align: left;

    width: 100%;

}



/* Grid configurada para 3 colunas em ecrãs grandes */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 992px) {

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}



/* Estilo dos Cartões */

.card {
    background: rgba(30, 30, 30, 0.85);
    /* Fundo escuro semitransparente */
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #333;
    /* Borda subtil */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* Cabeçalho do Cartão (Título + Ícone) */

.card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1rem;

}

.card-header h3 {

    margin: 0;

    font-size: 2.25rem;

}

.icon-placeholder {

    color: #ffc107;
    /* Cor amarela para os ícones */

    font-size: 1.8rem;

    font-style: normal;

}



.card p {

    font-size: 1.1rem;

    color: #cccccc;

    margin-bottom: 30px;

    flex-grow: 1;

}



/* Botão Amarelo alinhado à direita */

.btn-saiba-mais-modalidades {

    background-color: #ffc107;

    color: #000000;

    padding: 0.25rem 1rem;

    border-radius: 4px;

    font-weight: bold;

    font-size: 0.85rem;

    text-decoration: none;

    align-self: flex-end;
    /* Empurra o botão para a direita */

    transition: background-color 0.3s;

}



.btn-saiba-mais-modalidades:hover,
.btn-saiba-mais-modalidades:focus-visible,
.btn-saiba-mais:hover,
.btn-saiba-mais:focus-visible {
    background-color: #ffffff;
    color: #000000;
    opacity: 1;
}



/* QUEM SOMOS */

#institucional {
    background-color: #FFFFFF;
    color: #111111;
    /* Garante que o texto geral fique escuro no fundo branco */
}

/* Limita a largura máxima do conteúdo para não espalhar em telas ultra-wide */
#institucional .container {
    padding: 0px 50px 25px 50px;
}

.institucional-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    /* 3 colunas idênticas */

    gap: 40px;
    /* Espaço maior entre as colunas */

    align-items: center;
    /* Alinha tudo verticalmente ao centro */

}





.institucional-text h2 {

    font-size: 2.5rem;

    margin-bottom: 1.5rem;

    color: #000000;

    text-decoration: underline var(--primary-color);

}



.institucional-text p {

    margin-bottom: 2rem;

    color: #444444;



}



.institucional-img img {

    height: 500px;

    object-fit: cover;

    border-radius: 8px;

    box-shadow: -30px 30px var(--primary-color);
    /* Sombra leve para destacar a imagem */

    margin-left: 35px;

    align-items: center;

    justify-content: center;

    text-align: center;

}



/* Estilização do bloco da direita (Missão, Visão, Valores) */



.mvv {

    padding-left: 0;

    margin: 0;

}



.mvv-item {
    margin-bottom: 3rem;
    display: flex;
    gap: 5px;
}

.mvv-item:last-child {

    margin-bottom: 0;

}

.mvv-item:nth-child(5) {
    flex-direction: row-reverse;
}



.mvv-item h3 {

    color: #000000;

    font-size: 1.5rem;

    margin-top: -40px;

    position: absolute;

}





.mvv-item p {

    color: #555555;

    font-size: 0.95rem;

    padding-left: 10px;

}



.btn-saiba-mais {

    background-color: #FACC15;

    color: #000000;

    padding: 15px 50px;

    font-size: 20px;

    margin-top: 100px;

}



/*Modalidades*/



/*Modalidades*/

.subtitulo {
    text-align: justify;
    margin-left: 20px;
}

hr {
    width: 8rem;
    margin-left: 20px;
    height: 5px;
    border: 0;
    border-radius: 10px;
    background-color: var(--primary-color);
}

/* Grade de Horários */

.grade-horarios {
    position: relative;
    isolation: isolate;
    background: linear-gradient(45deg, #fafafa, #b4b4b4);
    color: #272728;
    padding: 4rem 0;
    padding-bottom: 17rem;
}

.grade-horarios > .section-header,
.grade-horarios > .table-responsive {
    position: relative;
    z-index: 1;
}

.grade-horarios > .schedule-background {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    display: block;
    width: min(500px, 100vw);
    height: auto;
    opacity: 0.22;
    pointer-events: none;
}



.sub-titulo-horario {

    margin-left: 50px;

    font-weight: 700;

}



.table-responsive {
    overflow-x: auto;
    width: 90%;
    margin: 0 auto 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.1);
}

.schedule-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--text-light);
    color: var(--bg-dark);
}

.schedule-table th,
.schedule-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e9e9e9;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.schedule-table th {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #1a1a1a;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.schedule-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.schedule-table tbody tr:last-child td {
    border-bottom: 0;
}

.schedule-table tbody tr {
    transition: background-color 180ms ease;
}

.schedule-table tbody tr:hover {
    background: #fff8d9;
}

.schedule-table td:nth-child(3) {
    color: #705600;
    font-weight: 700;
}

@media (max-width: 768px) {
    .grade-horarios {
        padding: 3rem 0 12.5rem;
    }

    .grade-horarios > .schedule-background {
        width: min(360px, 100vw);
        opacity: 0.14;
    }

    .table-responsive {
        margin-bottom: 1.5rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.9rem 1rem;
    }
}



/* Planos */

/* 1. Configuração da Seção Base */

.section.planos {
    position: relative;
    background: linear-gradient(to right, #4B4B4B 0%, #1a1a1a 45%, #000000 70%, #000000 100%);
    padding: 5rem 0 5.5rem;
    isolation: isolate;
    overflow: hidden;
}

.section.planos .header-topo .subtitulo,
.section.planos .header-topo hr {
    margin-left: 50px;
}



/* 2. Suavização da Imagem (O degradê que une o fundo com a foto) */

.section.planos::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 0.5) 70%, transparent 95%);

    z-index: -1;

    pointer-events: none;

}



/* 3. Posicionando a Imagem de Ponta a Ponta */

.section.planos img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100% !important;
    width: auto;
    object-fit: cover;
    z-index: -2;
    opacity: 0.75;
    mix-blend-mode: luminosity;
}



/* 4. Garantindo que o Container fique visível por cima */

.section.planos .container {

    position: relative;

}





.plans-grid {
    display: grid;
    width: min(1180px, calc(100% - 3rem));
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    align-items: stretch;
    gap: 1.25rem;
    margin: 0 auto;
}

.plan-card {
    background: var(--text-light);
    color: var(--bg-darker);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.plan-card.highlight {
    background: var(--primary-color);
    position: relative;
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
}

.plan-card.highlight:hover {
    transform: translateY(-12px);
}

.plan-card .price {
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1.15;
    margin: 1.25rem 0;
}

.plan-card ul {
    margin: 0 0 2rem;
    flex-grow: 1;
    text-align: left;
    padding: 0;
    list-style: none;
}

.plan-card li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.plan-card li:last-child {
    border-bottom: 0;
}

.plan-card h3 {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.tipo-assinatura {
    color: var(--bg-darker);
    font-size: 1rem;
    font-weight: 600;
}

.plan-card .badge {
    align-self: center;
    margin-top: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    background: #111111;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.btn-assine {
    width: 100%;
    margin-top: auto;
    padding: 0.9rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.plan-card:not(.highlight) .btn-assine:hover,
.plan-card:not(.highlight) .btn-assine:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.16);
}

.plan-card.highlight .btn-assine:hover,
.plan-card.highlight .btn-assine:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.14);
}

.plan-card li {
    border-color: rgba(17, 17, 17, 0.12);
}



/* CTA & Footer */

.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    padding: 3rem 0;
}

.cta-content {
    display: flex;
    padding-left: 20px;
    gap: 50px;
}

.mini-descricao-cta {

    display: flex;

    gap: 50px;

    margin: 0px 15px 25px 10%;

}



.mini-descricao-cta p {

    display: flex;

    align-items: center;
    /* Alinha o SVG e o texto pelo meio vertical */

    gap: 8px;
    /* Cria um espaçamento agradável entre o ícone e o texto */

    margin: 0;
    /* Remove margens padrões do \<p> se necessário */

}



.btn-fale-conosco {

    display: flex;

    justify-content: center;

}



.footer {
    text-align: center;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
}

.icone {

    width: 50px;

}



/* --- PÁGINA DE LOGIN --- */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-darker);
    background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.58)), url('../img/login.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 2rem;
}

.login-container {
    background-color: #FFFFFF;
    color: var(--bg-darker);
    padding: 3rem 2.2rem;
    border-radius: 18px;
    width: 100%;
    max-width: 430px;
    text-align: center;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(3px);
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.6rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.login-header h2 {
    font-style: italic;
    font-size: 2.1rem;
    margin-bottom: 0;
    letter-spacing: -0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--bg-darker);
}

.login-header h2::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    background: url('../img/icone-nocaute.png') center/cover no-repeat;

}

.login-header p {
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tab-btn {
    flex: 1;
    padding: 0.82rem;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #666;
    font-weight: 700;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: linear-gradient(180deg, #facc15 0%, #f3c80d 100%);
    color: var(--bg-darker);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #222;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #CCC;
    border-radius: 8px;
    outline: none;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18);
}

.login-form button[type="submit"] {
    background: linear-gradient(180deg, #facc15 0%, #f0b90d 100%);
    color: #111;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(250, 204, 21, 0.34);
}

.hidden {
    display: none;
}

.help-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2rem;
    color: #2b2b2b;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.back-link:hover {
    color: var(--bg-darker);
    transform: translateX(-2px);
}

.link-btn {
    background: none;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    font-weight: 600;
}

/* Responsivo */

@media (max-width: 768px) {

    .nav {
        display: none;
        /* Em produção, implementar menu hamburguer */
    }

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

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

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .plan-card.highlight {
        transform: scale(1);
    }

}

.institucional-text .btn-saiba-mais:hover,
.institucional-text .btn-saiba-mais:focus-visible {
    background-color: #000000;
    color: #ffffff;
    opacity: 1;
}

.btn-fale-conosco .btn-black:hover,
.btn-fale-conosco .btn-black:focus-visible {
    background-color: #ffffff;
    color: #000000;
    opacity: 1;
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        padding: 0 1rem;
    }

    .header .logo {
        width: 112px;
        margin-left: 0;
    }

    .header .btn-primary {
        margin-right: 0;
        padding: 0.55rem 1rem;
    }

    .nav {
        display: block;
        order: 3;
        flex: 0 0 100%;
        min-width: 0;
    }

    .nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem 1rem;
    }

    .nav-list a {
        display: block;
        padding: 0.2rem 0;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hero,
    .hero-carousel {
        min-height: 560px;
        height: 74vh;
    }

    .hero-content {
        top: 50%;
        left: 3rem;
        width: calc(100% - 6rem);
        max-width: none;
        transform: translateY(-50%);
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.05;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .hero-content > p:not(.hero-eyebrow) {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-content .btn {
        min-width: 0;
        max-width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .hero-control {
        width: 36px;
        height: 36px;
    }

    #institucional .container {
        padding: 0 1rem 1.5rem;
    }

    .institucional-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .institucional-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .institucional-text p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .institucional-img img {
        display: block;
        width: min(100%, 500px);
        height: auto;
        margin: 0 auto;
        box-shadow: -14px 14px var(--primary-color);
    }

    .btn-saiba-mais {
        max-width: 100%;
        margin-top: 1rem;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        white-space: normal;
    }

    .mvv-item {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        margin-bottom: 1.25rem;
    }

    .mvv-item h3 {
        position: static;
        flex: 0 0 100%;
        margin: 0;
        font-size: 1.1rem;
    }

    .mvv-item p {
        flex: 1 1 0;
        min-width: 0;
        padding: 0;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .mvv-item svg {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        max-width: 52px;
    }

    .mvv-item:nth-child(5) {
        flex-direction: row-reverse;
    }

    .section-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2.1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .bg-dark {
        padding: 3rem 1rem;
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .card-header h3 {
        font-size: 1.6rem;
    }

    .card p {
        margin-bottom: 1.25rem;
        font-size: 1rem;
    }

    .sub-titulo-horario {
        margin-left: 1rem;
    }

    .grade-horarios .header-topo hr {
        margin-left: 1rem !important;
    }

    .table-responsive {
        width: calc(100% - 2rem);
        -webkit-overflow-scrolling: touch;
    }

    .section.planos {
        padding: 4rem 0;
    }

    .section.planos .header-topo .subtitulo,
    .section.planos .header-topo hr {
        margin-left: 1rem;
    }

    .plans-grid {
        width: calc(100% - 2rem);
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .plan-card.highlight,
    .plan-card.highlight:hover {
        transform: none;
    }

    .plan-card .price {
        font-size: 2.3rem;
    }

    .cta-content {
        padding: 0 1rem;
        gap: 1.25rem;
    }

    .mini-descricao-cta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1rem;
        margin: 0;
    }

    .mini-descricao-cta p {
        font-size: 0.9rem;
    }

    .footer .container {
        padding: 0 1rem;
    }

    .icone {
        width: 40px;
    }
}