:root {
    --primary-color: #060A19;
    --secondary-color: #2E5175;
    --tertiary-color: #010204;
    --quaternary-color: #A8C5E5;
    --accent-color: #4091CD;
    --surface-color: #242934;
    --text-color: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.78);
    --text-muted: rgba(255, 255, 255, 0.62);
    --line-soft: rgba(255, 255, 255, 0.05);
    --line-accent: rgba(64, 145, 205, 0.28);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.18);
    --shadow-medium: 0 12px 28px rgba(0, 0, 0, 0.30);
    --shadow-strong: 0 16px 34px rgba(0, 0, 0, 0.42);
    --main-font: Roboto, Arial, sans-serif;
    --display-font: "Bebas Neue", sans-serif;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-pill: 999px;
}

/* =========================
   RESET + BASE
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: var(--text-color);
    font-family: var(--main-font);
    overflow-x: hidden;
}

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

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

section {
    position: relative;
}

/* =========================
   ANIMAÇÕES UTILITÁRIAS
========================= */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(64, 145, 205, 0.55);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(64, 145, 205, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(64, 145, 205, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   HEADER
========================= */
header {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    background-color: rgba(6, 10, 25, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.logo-link {
    display: inline-block;
}

#logo {
    width: 80px;
    height: auto;
    display: block;
}

.menu-toggle {
    display: block;
    font-size: 24px;
    color: var(--quaternary-color);
    font-family: var(--display-font);
    cursor: pointer;
    letter-spacing: 1px;
}

/* =========================
   HOME - HERO
========================= */
.hero {
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.78)
        ),
        url("../images/fujibujinkan.webp");
    background-size: 70%;
    background-position: top right;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

.hero-overlay {
    min-height: 100vh;
    padding-top: 1rem;
    padding-bottom: 3rem;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.82)
    );
}

.hero-content {
    width: 100%;
}

.titulo {
    font-family: var(--display-font);
    font-size: 60px;
    line-height: 0.84;
    letter-spacing: 3px;
    margin: 2rem 2rem 1.5rem 2rem;
    text-shadow: #000;
}

.titulo span {
    display: block;
    color: #fff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}


#ninjutsu {
    font-size: 85px;
    letter-spacing: 6px;
}

.sub-titulo {
    margin: 0 2rem 1.5rem 2rem;
    font-family: var(--display-font);
    font-size: 22px;
    letter-spacing: 3px;
    line-height: 1.2;
}

.sub-titulo span {
    display: block;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.sub-titulo span:nth-child(2) {
    font-weight: bold;
    font-size: 1.1em;
}

.hero-frase {
    margin: 0 2rem 1.6rem 2rem;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.hero-slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

#address {
    font-family: var(--display-font);
    font-weight: 200;
    color: #fff;
    font-size: 14px;
    margin: 0 2rem 2rem 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

/* =========================
   BOTÕES / CTA
========================= */
.cta-hero,
.cta-aside {
    display: block;
    width: 90%;
    margin: 0 auto 1.5rem auto;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-color), #1e3a5f);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: var(--display-font);
    letter-spacing: 2px;
    font-size: 15px;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cta-hero {
    font-size: 16px;
}

.cta-hero:active,
.cta-aside:active {
    transform: scale(0.98);
    filter: brightness(1.04);
}

.cta-aside {
    margin: 2rem auto 1.5rem auto;
    animation: pulse 2s infinite;
}

.cta-final-texto {
    color: #fff;
    font-family: var(--display-font);
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

/* =========================
   HOME - SEÇÕES
========================= */
.para-quem,
.beneficios,
.como-funciona,
.diferencial,
.cta-final {
    padding: 2rem 1.5rem;
}

.para-quem::after,
.beneficios::after,
.como-funciona::after,
.diferencial::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--line-soft);
    margin-top: 2rem;
}

.para-quem h2,
.beneficios h2,
.como-funciona h2,
.diferencial h2 {
    font-family: var(--display-font);
    font-size: 32px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 1rem;
}

.lista-beneficios p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(64, 145, 205, 0.32);
    border-radius: 12px;
    padding: 1rem 0.8rem;
    text-align: center;
    color: #fff;
    font-family: var(--display-font);
    letter-spacing: 2px;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.benefit-card:active {
    transform: scale(0.98);
    border-color: rgba(64, 145, 205, 0.70);
}

.passos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.passo {
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.diferencial p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
    text-transform: uppercase;
}

/* =========================
   HOME - CARROSSEL
========================= */
.carousel-section {
    margin: 2rem 0 0 0;
    padding-left: 20px;
    padding-right: 0;
    overflow: hidden;
}

.carousel-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.8rem;
    width: 280px;
}

.carousel-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #fff;
}

.carousel-caption {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--main-font);
    font-size: 12px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-counter {
    font-family: var(--main-font);
    font-size: 12px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.carousel-aside {
    display: none;
    background-color: rgba(36, 41, 52, 0.95);
    color: #fff;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    width: 280px;
    border-left: 3px solid var(--accent-color);
    font-family: var(--main-font);
    font-size: 12px;
    line-height: 1.4;
}

.carousel-aside.active {
    display: block;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    padding-top: 10px;
    padding-bottom: 10px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.35s ease;
    align-items: center;
}

.carousel-image {
    width: 260px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
    transform: scale(0.92);
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
    opacity: 0.72;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.carousel-image.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: var(--shadow-strong);
}

/* =========================
   ABOUT
========================= */
.sobre-page {
    background-color: #000;
    min-height: 100vh;
}

.sobre-conteudo {
    padding: 2rem 1.5rem 3rem 1.5rem;
    position: relative;
}

.sobre-titulo {
    font-family: var(--display-font);
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: 2px;
    color: var(--quaternary-color);
    max-width: 310px;
}

.sobre-titulo span {
    display: block;
}

.sobre-frase {
    margin-top: 1.5rem;
    max-width: 310px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.instagram-link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    color: var(--accent-color);
    font-family: var(--display-font);
    font-size: 18px;
    letter-spacing: 2px;
}

.sobre-aside {
    display: grid;
    width: 100%;
    max-width: 320px;
    min-height: 110px;
    margin: 0 auto 1.8rem auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border: 1px solid rgba(64, 145, 205, 0.25);
    border-radius: 14px;
    padding: 1rem;
    grid-template-columns: 100px 1fr;
    column-gap: 0.9rem;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sobre-aside:active {
    transform: scale(0.97);
}

.aside-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: rgba(64, 145, 205, 0.55);
    pointer-events: none;
}

.aside-image-box {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 12px;
}

.aside-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aside-texto {
    padding-top: 0.2rem;
    padding-right: 1.2rem;
}

.aside-texto h3 {
    font-family: var(--display-font);
    font-size: 20px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0.5rem;
}

.aside-texto p {
    font-family: var(--main-font);
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

/* =========================
   BUJINKAN
========================= */
.bujinkan-topo .sobre-titulo {
    color: rgba(255, 255, 255, 0.28);
}

.bujinkan-frase {
    margin: 1.5rem 1.5rem 0 1.5rem;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
    text-transform: uppercase;
}

.bujinkan-frase::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 90px;
    height: 2px;
    margin-top: 1.2rem;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.bujinkan-blocos {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bujinkan-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(64, 145, 205, 0.22);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease;
}

.bujinkan-card:active {
    transform: scale(0.98);
}

.bujinkan-card h2 {
    font-family: var(--display-font);
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0.8rem;
}

.bujinkan-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.65;
    text-transform: uppercase;
}

.destaque-final {
    border-color: rgba(64, 145, 205, 0.45);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.bujinkan-cta-final {
    padding: 1rem 1.5rem 3rem 1.5rem;
}

.video-container {
    width: 100%;
    max-width: 320px;
    height: 450px;
    margin: 1.5rem auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(64, 145, 205, 0.25);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-medium);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================
   WHATSAPP FLUTUANTE
========================= */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 999;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: bold;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.4),
        0 0 18px rgba(37, 211, 102, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:active {
    transform: scale(0.96);
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1024px) {
    header {
        padding: 0.5rem 1rem;
    }

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

    .menu-toggle {
        display: none;
    }

    #logo {
        width: 70px;
        margin-left: 0;
    }

    .cta-aside {
        width: 40%;
        font-size: 18px;
    }

    .cta-aside:hover,
    .cta-hero:hover,
    .sobre-aside:hover,
    .whatsapp-float:hover {
        transform: translateY(-2px);
    }

    .cta-aside:hover {
        background: linear-gradient(135deg, #ffffff, var(--accent-color));
        color: #000;
    }
}