:root {
    --bg: #0b0d0c;
    --bg-soft: #121513;
    --surface: #171c19;
    --surface-strong: #1e241f;
    --text: #f7f3ea;
    --text-muted: #c7c2b8;
    --accent: #d9c74f;
    --accent-strong: #f0de7a;
    --accent-green: #7ac58b;
    --line: rgba(247, 243, 234, 0.14);
    --shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% -10%, rgba(122, 197, 139, 0.35), transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(217, 199, 79, 0.35), transparent 55%),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.08), transparent 60%);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.06) 0,
        rgba(255, 255, 255, 0.06) 1px,
        transparent 1px,
        transparent 14px
    );
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.page {
    min-height: 100vh;
}

.site-header {
    position: relative;
    padding: 32px 6vw 80px;
    overflow: hidden;
    isolation: isolate;
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.85;
    z-index: 0;
}

.site-header::before {
    top: -240px;
    right: -180px;
    background: radial-gradient(circle at 30% 30%, rgba(217, 199, 79, 0.45), transparent 65%);
}

.site-header::after {
    bottom: -260px;
    left: -200px;
    background: radial-gradient(circle at 30% 30%, rgba(122, 197, 139, 0.4), transparent 65%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 22px;
    background: rgba(18, 21, 19, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 18px;
    z-index: 10;
}

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 240px;
    height: 56px;
    object-fit: contain;
    border-radius: 0;
    padding: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.brand-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.hero,
.section,
.cta,
.footer {
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    margin-top: 60px;
    align-items: stretch;
}

.hero-copy {
    animation: rise 0.8s ease both;
}

.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(217, 199, 79, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-strong);
}

.hero-copy h1 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    letter-spacing: 0.08em;
    margin: 14px 0 18px;
    text-transform: uppercase;
}

.hero-copy p {
    font-size: 1.05rem;
    max-width: 520px;
    color: var(--text-muted);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-note {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--accent-strong);
    font-weight: 600;
}

.btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #1a1506;
}

.btn.outline {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.metric {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    animation: rise 0.6s ease both;
    animation-delay: var(--delay, 0s);
}

.metric span {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.metric strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
    color: var(--text);
}

.hero-visual {
    display: grid;
    gap: 18px;
    height: 100%;
    align-items: stretch;
    min-height: 0;
}

.hero-visual > * {
    animation: rise 0.7s ease both;
    animation-delay: var(--delay, 0s);
}

.logo-card {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(18, 21, 19, 0.95));
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 28px;
    display: grid;
    justify-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
}

.logo-card img {
    width: min(260px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 16px;
}

.video-card {
    background: var(--surface);
    border-radius: 26px;
    border: 1px solid var(--line);
    padding: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    display: flex;
    position: relative;
    min-height: 0;
}

.video-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: cover;
}

.logo-caption span {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.logo-caption strong {
    display: block;
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 6px;
}

.hero-card {
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--line);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.hero-card p {
    color: var(--text-muted);
    margin: 0 0 8px;
}

.hero-card.accent {
    background: linear-gradient(135deg, rgba(122, 197, 139, 0.18), rgba(217, 199, 79, 0.15));
}

.card-label {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.logo-card,
.video-card,
.hero-card,
.about-card,
.plan-card,
.schedule-card,
.location-card,
.modality-card,
.testimonial-card,
.cta-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
}

.checklist li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.checklist li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-strong);
    font-weight: 600;
}

.section {
    padding: 80px 6vw;
}

.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/sobre-bg.jpg") center / cover no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.about > * {
    position: relative;
    z-index: 1;
}

.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/turma02.jpg") center / cover no-repeat;
    opacity: 0.22;
    z-index: 0;
}

.testimonials > * {
    position: relative;
    z-index: 1;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-heading h2 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(2.2rem, 3.2vw, 3.4rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--text-muted);
}

.about-grid,
.plan-grid,
.schedule-grid,
.location-grid,
.modalities-grid,
.testimonials-grid {
    display: grid;
    gap: 20px;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-extra {
    margin-top: 28px;
    max-width: 900px;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-extra h3 {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
}

.about-extra p {
    margin: 0 0 12px;
}

.about-card,
.plan-card,
.schedule-card,
.location-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    animation: rise 0.7s ease both;
    animation-delay: var(--delay, 0s);
}

.about-card h3,
.plan-card h3,
.schedule-card h3,
.location-card h3 {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.plan-card.highlight {
    border-color: rgba(217, 199, 79, 0.5);
    box-shadow: 0 24px 48px rgba(217, 199, 79, 0.2);
}

.plan-card ul {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.plan-desc {
    color: var(--text-muted);
    margin: 8px 0 0;
}

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

.modality-card {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(18, 21, 19, 0.95));
    border-radius: var(--radius);
    padding: 26px;
    border: 1px solid var(--line);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
    animation: rise 0.7s ease both;
    animation-delay: var(--delay, 0s);
}

.modality-card h3 {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--accent);
}

.modality-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 199, 79, 0.5);
}

@media (hover: hover) and (pointer: fine) {
    .logo-card:hover,
    .video-card:hover,
    .hero-card:hover,
    .about-card:hover,
    .plan-card:hover,
    .schedule-card:hover,
    .location-card:hover,
    .modality-card:hover,
    .testimonial-card:hover,
    .cta-card:hover {
        transform: translateY(-6px);
        border-color: rgba(217, 199, 79, 0.5);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    }
}

.schedule-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.schedule-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.1rem;
}

.schedule-tag {
    display: inline-block;
    margin: 8px 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(122, 197, 139, 0.18);
    color: #bff3c4;
    font-size: 0.75rem;
    font-weight: 600;
}

.schedule-empty {
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.location-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.location-map {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.location-map iframe {
    width: 100%;
    height: 240px;
    border: 0;
    display: block;
}

.contact-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.contact-field {
    display: grid;
    gap: 6px;
}

.contact-field span {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(12, 15, 13, 0.85);
    color: var(--text);
    font-family: inherit;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: 2px solid rgba(217, 199, 79, 0.35);
    outline-offset: 2px;
}

.contact-form .btn {
    width: 100%;
}

.contact-feedback {
    min-height: 18px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-feedback.success {
    color: #bff3c4;
}

.contact-feedback.error {
    color: #f2a7a7;
}

.contact-note {
    margin-top: 12px;
    color: var(--text-muted);
}

.lineage-section {
    background: rgba(255, 255, 255, 0.04);
    padding: 60px 4vw;
    margin: 20px 2vw 40px;
    border-radius: 24px;
    border: 1px solid var(--line);
    text-align: center;
    box-shadow: var(--shadow);
}

.lineage-section .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.lineage-chain {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: center;
    gap: 24px;
    margin: 32px 0;
}

.lineage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lineage-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid rgba(217, 199, 79, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.lineage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lineage-name {
    font-size: 0.9rem;
    font-weight: 600;
    max-width: 130px;
    text-align: center;
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 20px;
}

.testimonial-card {
    background: rgba(23, 28, 25, 0.9);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    border-left: 4px solid var(--accent);
    animation: rise 0.7s ease both;
    animation-delay: var(--delay, 0s);
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
    margin-top: 14px;
}

.contact-bar {
    background: linear-gradient(135deg, rgba(217, 199, 79, 0.9), rgba(240, 222, 122, 0.9));
    color: #1a1506;
    padding: 22px 28px;
    margin: 24px 6vw 60px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.contact-bar strong {
    font-size: 1.2rem;
}

.whatsapp-btn {
    background: #ffffff;
    color: #000000;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.social-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 24px 0 0;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 199, 79, 0.6);
}

.cta {
    padding: 0 6vw 80px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(217, 199, 79, 0.18), rgba(122, 197, 139, 0.2));
    border-radius: 26px;
    padding: 32px 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow);
}

.cta-card h2 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(2.2rem, 3vw, 3rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.cta-card p {
    margin: 0;
    color: var(--text-muted);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer {
    padding: 28px 6vw 50px;
    text-align: center;
    color: var(--text-muted);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .nav {
        flex-wrap: wrap;
        border-radius: 24px;
        position: sticky;
        top: 12px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(85vw, 320px);
        background: var(--bg-soft);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 26px 26px;
        gap: 16px;
        transition: right 0.3s ease;
        z-index: 20;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a::after {
        display: none;
    }

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

    .contact-bar {
        margin: 24px 6vw 40px;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .brand img {
        width: 210px;
        height: 48px;
    }

    .brand-sub {
        font-size: 0.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

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

    .cta-actions {
        width: 100%;
    }

}

@media (max-width: 540px) {
    .brand img {
        width: 190px;
        height: 44px;
    }
}
