/* 
   Design System - Ale Hilário 
   Paleta de Cores, Tipografia e Estilos Globais 
   v2.0 — Landing Page Completa
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,700;1,6..72,400&display=swap');

:root {
    /* Colors */
    --color-synth: #FDF8EB;
    --color-pop: #FAE36C;
    --color-pop-dark: #e8cc45;
    --color-samba: #E0674D;
    --color-samba-dark: #c9553c;
    --color-blues: #6A8ED1;
    --color-mpb: #D7B98D;
    --color-rock: #1F1006;
    --color-rock-soft: rgba(31, 16, 6, 0.7);
    --color-rock-light: rgba(31, 16, 6, 0.12);

    /* Fonts */
    --font-heading: 'Newsreader', serif;
    --font-body: 'Instrument Sans', sans-serif;

    /* Spacing */
    --section-padding: 6rem 5%;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-synth);
    color: var(--color-rock);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== DECORATIVE BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/decoration.svg');
    background-repeat: repeat;
    background-position: top left;
    background-size: 180px;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

p {
    line-height: 1.75;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: var(--section-padding);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(253, 248, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    padding: 1.1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-rock-light);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.75rem 5%;
    box-shadow: 0 4px 20px rgba(31, 16, 6, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-rock);
    position: relative;
    padding: 0.25rem 0;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-samba);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-samba);
}

.nav-cta {
    background-color: var(--color-samba);
    color: #fff !important;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--color-samba-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 103, 77, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-rock);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-pop {
    background-color: var(--color-pop);
    color: var(--color-rock);
}

.btn-pop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(250, 227, 108, 0.5);
    background-color: var(--color-pop-dark);
}

.btn-samba {
    background-color: var(--color-samba);
    color: #fff;
}

.btn-samba:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(224, 103, 77, 0.4);
    background-color: var(--color-samba-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-rock);
    border: 2px solid var(--color-rock-light);
}

.btn-outline:hover {
    border-color: var(--color-samba);
    color: var(--color-samba);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(106, 142, 209, 0.12);
    color: var(--color-blues);
    border: 1px solid rgba(106, 142, 209, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background-color: var(--color-blues);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: var(--color-rock);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: normal;
    color: var(--color-samba);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-rock-soft);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-rock-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-rock);
    line-height: 1;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-rock-soft);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-bg {
    position: absolute;
    width: 88%;
    height: 88%;
    background: linear-gradient(135deg, var(--color-pop) 0%, var(--color-mpb) 100%);
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    animation: morphBlob 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes morphBlob {

    0%,
    100% {
        border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    }

    25% {
        border-radius: 55% 45% 40% 60% / 60% 55% 45% 40%;
    }

    50% {
        border-radius: 45% 55% 60% 40% / 40% 60% 55% 45%;
    }

    75% {
        border-radius: 60% 40% 45% 55% / 55% 45% 40% 60%;
    }
}

.hero-image-frame {
    position: relative;
    z-index: 1;
    width: 400px;
    height: 400px;
    border-radius: 50% !important;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    box-shadow:
        0 24px 56px rgba(31, 16, 6, 0.18),
        0 0 0 8px rgba(253, 248, 235, 0.95),
        0 0 0 13px rgba(106, 142, 209, 0.2);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
    transform: scale(1.04);
}

/* Floating badge - BH + Online pill */
.float-badge {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 0.75rem 1.1rem;
    box-shadow: 0 8px 24px rgba(31, 16, 6, 0.12);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
    font-size: 0.85rem;
    font-weight: 600;
    /* Centered below the circle */
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-icon {
    font-size: 1.4rem;
}

/* ===== SOBRE (ABOUT) SECTION ===== */
.section-sobre {
    background-color: var(--color-rock);
    color: var(--color-synth);
    position: relative;
    overflow: hidden;
}

.section-sobre::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-synth);
    clip-path: ellipse(55% 100% at 50% 0%);
}

.section-sobre::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-synth);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 1;
}

.sobre-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.sobre-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-pop);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sobre-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-pop);
    border-radius: 2px;
}

.sobre h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.sobre h2 em {
    color: var(--color-pop);
    font-style: italic;
}

.sobre-text {
    color: rgba(253, 248, 235, 0.75);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.sobre-filosofia {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 3px solid var(--color-samba);
    background: rgba(253, 248, 235, 0.05);
    border-radius: 0 12px 12px 0;
}

.sobre-filosofia p {
    color: rgba(253, 248, 235, 0.85);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.6;
}

.sobre-formacao {
    background: rgba(253, 248, 235, 0.05);
    border: 1px solid rgba(253, 248, 235, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.formacao-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(253, 248, 235, 0.08);
}

.formacao-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.formacao-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.formacao-text strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.formacao-text span {
    color: rgba(253, 248, 235, 0.55);
    font-size: 0.85rem;
}

/* ===== INSTRUMENTOS SECTION ===== */
.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-samba);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-samba);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-rock);
}

.section-subtitle {
    text-align: center;
    color: var(--color-rock-soft);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 3.5rem;
}

.instrumentos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.instrumento-card {
    flex: 0 0 calc(20% - 1rem);
    min-width: 160px;
    background: #fff;
    border: 1px solid var(--color-rock-light);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-bounce);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.instrumento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-pop), var(--color-samba));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.instrumento-card:hover::before {
    transform: scaleX(1);
}

.instrumento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(31, 16, 6, 0.1);
    border-color: transparent;
}

/* PNGs locais como background-image com blues: screen blend faz preto→azul, branco→transparente */
.instrumento-icon-png {
    display: block;
    margin: 0 auto 0.85rem;
    width: 42px;
    height: 42px;
    background-color: var(--color-blues);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: screen;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

/* img da Iconify (bateria, harmonia, percepção, multi) — cor via URL param, sem filter */
img.instrumento-icon {
    height: 42px;
}

/* Novas imagens PNG com cor própria e fundo transparente */
.instrumento-icon-img {
    display: block;
    margin: 0 auto 0.85rem;
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

/* Ukulele e Baixo: corrigir inclinação — -45° (antihorário) aponta headstock pra cima */
.instrumento-icon-rotated {
    transform: rotate(-45deg);
}

/* SVGs inline: evita que width:auto quebre as proporções */
svg.instrumento-icon {
    width: 36px;
}

/* SVG inline do teclado (mais largo que alto) */
svg.instrumento-icon-svg {
    width: 44px;
    height: 36px;
}

.instrumento-card:hover .instrumento-icon,
.instrumento-card:hover .instrumento-icon-png,
.instrumento-card:hover .instrumento-icon-img {
    opacity: 0;
    transform: translateY(-4px);
}

/* Hover do rotated: preserva a rotação + some */
.instrumento-card:hover .instrumento-icon-rotated {
    opacity: 0;
    transform: rotate(-45deg) translateY(-4px);
}

.instrumento-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-rock);
    margin-bottom: 0.3rem;
}

.instrumento-nivel {
    font-size: 0.78rem;
    color: var(--color-samba);
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Overlay de descrição — aparece no hover / toque */
.instrumento-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-rock);
    color: rgba(253, 248, 235, 0.88);
    padding: 1.25rem 1.25rem 1.5rem;
    font-size: 0.82rem;
    line-height: 1.65;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 20px 20px;
    text-align: center;
}

.instrumento-card:hover .instrumento-desc,
.instrumento-card.ativo .instrumento-desc {
    transform: translateY(0);
}

/* ===== AULAS SECTION ===== */
.section-aulas {
    background: linear-gradient(160deg, rgba(250, 227, 108, 0.15) 0%, rgba(224, 103, 77, 0.08) 100%);
    border-radius: 40px;
    margin: 0 3%;
    padding: 5rem 6%;
}

.aulas-sub-header {
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.aulas-sub-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-rock);
    margin-bottom: 0.5rem;
}

.aulas-sub-header p {
    font-size: 1rem;
    color: var(--color-rock-soft);
    max-width: 500px;
    margin: 0 auto;
}

.aulas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.aula-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--color-rock-light);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aula-card .btn {
    margin-top: auto;
}

.aula-card.featured {
    background: var(--color-rock);
    color: #fff;
    border-color: var(--color-rock);
    position: relative;
}

.aula-card.featured::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-rock);
    background: var(--color-pop);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    z-index: 10;
    display: block;
}

/* Garante que nenhum outro card mostre a tag, mesmo em hover */
.aula-card:not(.featured)::before {
    display: none !important;
    content: none !important;
}

.aula-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(31, 16, 6, 0.1);
}

.aula-card.featured:hover {
    box-shadow: 0 20px 50px rgba(31, 16, 6, 0.25);
}

.aula-icon {
    margin-bottom: 1.25rem;
    display: block;
}

.aula-icon svg {
    stroke: var(--color-samba);
    transition: var(--transition-smooth);
}

.aula-card.featured .aula-icon svg {
    stroke: var(--color-pop);
}

.aula-card:hover .aula-icon svg {
    transform: translateY(-2px);
}

.aula-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.aula-card.featured .aula-title {
    color: #fff;
}

.aula-desc {
    font-size: 0.95rem;
    color: var(--color-rock-soft);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.aula-card.featured .aula-desc {
    color: rgba(253, 248, 235, 0.65);
}

.aula-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.aula-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.aula-features li::before {
    content: '✓';
    color: var(--color-samba);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.aula-card.featured .aula-features li {
    color: rgba(253, 248, 235, 0.8);
}

.aula-card.featured .aula-features li::before {
    color: var(--color-pop);
}

/* ===== FILOSOFIA SECTION ===== */
.section-filosofia {
    text-align: center;
}

.filosofia-quote {
    max-width: 780px;
    margin: 0 auto 3.5rem;
}

.filosofia-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    color: var(--color-rock);
    line-height: 1.5;
    position: relative;
}

.filosofia-quote blockquote::before,
.filosofia-quote blockquote::after {
    font-size: 5rem;
    line-height: 0;
    position: absolute;
    color: var(--color-blues);
    font-style: normal;
    opacity: 0.7;
    font-family: var(--font-heading);
}

.filosofia-quote blockquote::before {
    content: '\201C';
    top: 1.2rem;
    left: -2rem;
}

.filosofia-quote blockquote::after {
    content: '\201D';
    bottom: -1rem;
    right: -2rem;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pilar-card {
    background: #fff;
    border: 1px solid var(--color-rock-light);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.pilar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 16, 6, 0.08);
}

.pilar-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-samba);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.pilar-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-rock);
}

.pilar-text {
    font-size: 0.9rem;
    color: var(--color-rock-soft);
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
}

/* ===== AVALIACOES SECTION ===== */
.section-avaliacoes {
    background: linear-gradient(160deg, rgba(106, 142, 209, 0.06) 0%, rgba(253, 248, 235, 0) 60%);
    text-align: center;
}

/* Rating summary bar */
.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.75rem 2.5rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--color-rock-light);
    box-shadow: 0 4px 20px rgba(31, 16, 6, 0.05);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.score-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-rock);
    line-height: 1;
}

.score-stars {
    display: flex;
    gap: 2px;
    font-size: 1.4rem;
    color: #FBBC05;
    animation: starPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes starPop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.score-total {
    font-size: 0.82rem;
    color: var(--color-rock-soft);
    font-weight: 500;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: #fff;
    border: 2px solid rgba(31, 16, 6, 0.12);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-rock);
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-google-review:hover {
    border-color: #4285F4;
    color: #4285F4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.2);
}

/* Carousel wrapper */
.avaliacoes-track-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
    padding: 0.5rem 0;
}

.avaliacoes-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

/* Cards */
.avaliacao-card {
    background: #fff;
    border: 1px solid var(--color-rock-light);
    border-radius: 24px;
    padding: 2rem 1.75rem 1.75rem;
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
}

.avaliacao-card::before {
    content: '\201C';
    position: absolute;
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-pop);
    opacity: 0.25;
    font-style: normal;
    pointer-events: none;
}

.avaliacao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(31, 16, 6, 0.1);
    border-color: transparent;
}

/* Header */
.avaliacao-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
}

.avaliacao-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.avaliacao-nome {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-rock);
    display: block;
    text-align: center;
}

.avaliacao-stars {
    font-size: 0.9rem;
    color: #FBBC05;
    letter-spacing: 2px;
    margin-top: 0.1rem;
    display: block;
}

.avaliacao-texto {
    font-size: 0.92rem;
    color: var(--color-rock-soft);
    line-height: 1.75;
    flex: 1;
    font-style: italic;
    text-align: center;
    padding: 0 0.25rem;
}

.avaliacao-instrumento {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-samba);
    background: rgba(224, 103, 77, 0.08);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    display: inline-block;
    letter-spacing: 0.02em;
    margin-top: auto;
}

/* Carousel nav buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-rock-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-rock);
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(31, 16, 6, 0.1);
}

.carousel-btn:hover {
    background: var(--color-samba);
    border-color: var(--color-samba);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 18px rgba(224, 103, 77, 0.35);
}

.carousel-prev {
    left: -12px;
}

.carousel-next {
    right: -12px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-rock-light);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-samba);
    width: 24px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
    .avaliacao-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 580px) {
    .avaliacoes-track-wrapper {
        padding: 0;
    }

    .avaliacoes-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        transform: none !important;
        /* Desativa o transform do JS para usar scroll nativo */
    }

    .avaliacoes-track::-webkit-scrollbar {
        display: none;
    }

    .avaliacao-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .rating-summary {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    /* Oculta as setas no mobile para não espremer o card nem tampar o texto */
    .carousel-btn {
        display: none;
    }

    .avaliacao-texto.expandido {
        -webkit-line-clamp: unset;
        display: block;
    }
}

/* ===== CTA SECTION ===== */
.section-cta {
    text-align: center;
    padding: 6rem 5%;
}

.cta-box {
    background: var(--color-rock);
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(250, 227, 108, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(224, 103, 77, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box h2 em {
    color: var(--color-pop);
    font-style: italic;
}

.cta-box p {
    color: rgba(253, 248, 235, 0.7);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-whatsapp:hover {
    background: #1dbc5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* ===== FOOTER ===== */
footer {
    background: var(--color-rock);
    color: rgba(253, 248, 235, 0.6);
    padding: 3rem 5%;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(253, 248, 235, 0.55);
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-pop);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(253, 248, 235, 0.35);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-synth);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
}

/* Botão flutuante WhatsApp - Global (oculto por padrão) */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366 !important;
    color: #fff !important;
    border-radius: 50%;
    display: none;
    /* Só aparece no mobile */
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.floating-whatsapp.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.floating-whatsapp svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-rock);
}

.mobile-nav a:hover {
    color: var(--color-samba);
}

/* ===== SCROLL REVEAL animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Oculta dots dos carrosséis nativos no desktop */
.native-dots {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .instrumentos-grid {
        justify-content: center;
        gap: 1rem;
    }

    .instrumento-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 0;
        /* Remove restrição que permitia 3 colunas */
        padding: 0;
        /* Remove padding para a descrição ocupar tudo */
        overflow: hidden;
    }

    .instrumento-card>*:not(.instrumento-desc) {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Primeira parte do card (topo) */
    .instrumento-card .instrumento-icon-img,
    .instrumento-card .instrumento-icon-png,
    .instrumento-card .instrumento-icon,
    .instrumento-card .instrumento-name,
    .instrumento-card .instrumento-nivel {
        margin-top: 1.5rem;
        /* Adiciona padding de volta aos elementos internos específicos */
    }

    .instrumento-desc {
        font-size: 0.85rem;
        padding: 1.25rem;
        margin-bottom: 0;
        width: 100%;
        background: var(--color-pop);
        color: var(--color-rock);
    }

    @media (max-width: 768px) {
        :root {
            --section-padding: 3rem 5%;
        }

        .nav {
            display: none;
        }

        .mobile-toggle {
            display: flex;
        }

        .floating-whatsapp {
            display: flex;
        }

        .mobile-nav {
            display: flex;
        }

        .hero {
            padding-top: 8rem;
            padding-bottom: 4rem;
            min-height: auto;
        }

        .hero-inner {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .hero-content {
            order: 2;
        }

        .hero-image-wrapper {
            order: 1;
        }

        .hero-actions {
            justify-content: center;
        }

        .hero-stats {
            justify-content: center;
        }

        .hero-image-frame {
            width: 240px;
            height: 240px;
        }

        .float-badge {
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }

        .sobre-inner {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }

        .instrumentos-grid {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap !important;
            /* Impede que quebrem linha, forçando o carrossel horizontal */
            justify-content: flex-start !important;
            /* Reseta o 'center' que causa corte nos primeiros itens com overflow */
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 1rem;
            align-items: stretch;
            scrollbar-width: none;
        }

        .instrumentos-grid::-webkit-scrollbar {
            display: none;
        }

        /* Carrossel para Planos e Formatos */
        .aulas-grid {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            overflow-x: auto !important;
            scroll-snap-type: x mandatory !important;
            gap: 1.25rem !important;
            scrollbar-width: none;
            padding: 0 1rem 1rem !important;
            margin-left: -1rem;
            margin-right: -1rem;
        }

        .aulas-grid::-webkit-scrollbar {
            display: none;
        }

        .aula-card {
            flex: 0 0 100% !important;
            scroll-snap-align: center !important;
            min-height: auto;
        }

        .instrumento-card {
            flex: 0 0 100%;
            /* Ocupa a tela toda, sem mostrar pedaço do próximo */
            scroll-snap-align: start;
            /* Alinha certinho na esquerda */
            width: auto;
            max-width: none;
            min-width: 0 !important;
            padding: 2rem 0;
            /* Padding vertical equilibrado */
            min-height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }

        /* Padding apenas para os textos */
        .instrumento-card .instrumento-name,
        .instrumento-card .instrumento-nivel {
            padding-left: 1rem;
            padding-right: 1rem;
            text-align: center;
        }

        .instrumento-icon,
        .instrumento-icon-png,
        .instrumento-icon-img {
            margin: 0 0 0.5rem 0 !important;
            /* Margem apenas para baixo */
            display: block !important;
            padding: 0 !important;
        }

        /* Aumento dos tamanhos dos ícones no mobile */
        .instrumento-icon-png {
            width: 48px;
            height: 48px;
        }

        .instrumento-icon-img {
            width: 60px;
            height: 60px;
        }

        svg.instrumento-icon {
            width: 44px;
            height: auto;
        }

        .instrumento-name {
            font-size: 1.05rem;
            /* Reduzido para manter proporção com a descrição */
            margin-bottom: 0.1rem;
            line-height: 1.2;
        }

        .instrumento-nivel {
            font-size: 0.8rem;
            margin-bottom: 0;
        }

        .instrumento-icon,
        .instrumento-icon-png,
        .instrumento-icon-img,
        .instrumento-name,
        .instrumento-nivel {
            transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .instrumento-desc {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(100%) !important;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            background: var(--color-rock);
            color: rgba(253, 248, 235, 0.88);
            padding: 1.5rem;
            z-index: 5;
            border-radius: 20px;
            cursor: pointer;
            overflow-y: auto;
            text-align: center;
        }

        /* Somente a classe .ativo (via clique) deve abrir o card */
        .instrumento-card.ativo .instrumento-icon,
        .instrumento-card.ativo .instrumento-icon-png,
        .instrumento-card.ativo .instrumento-icon-img,
        .instrumento-card.ativo .instrumento-name,
        .instrumento-card.ativo .instrumento-nivel {
            opacity: 0 !important;
            transform: translateY(-15px) !important;
        }

        .instrumento-card.ativo .instrumento-desc {
            transform: translateY(0) !important;
        }

        /* Desabilita hover no mobile para evitar saltos ou bordas aparecendo sozinhas */
        .instrumento-card:hover {
            transform: none !important;
            box-shadow: none !important;
        }

        .instrumento-card:hover::before {
            transform: scaleX(0) !important;
            display: none !important;
        }

        .instrumento-card:hover .instrumento-icon,
        .instrumento-card:hover .instrumento-icon-png,
        .instrumento-card:hover .instrumento-icon-img,
        .instrumento-card:hover .instrumento-name,
        .instrumento-card:hover .instrumento-nivel {
            opacity: inherit;
            transform: inherit;
        }

        /* Garante que o hover de desktop não afete a descrição no mobile */
        .instrumento-card:hover .instrumento-desc {
            transform: translateY(100%) !important;
        }

        .instrumento-card.ativo:hover .instrumento-desc {
            transform: translateY(0) !important;
        }

        /* Seção Sobre como carrossel no mobile */
        .sobre-inner {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            overflow-x: auto !important;
            scroll-snap-type: x mandatory !important;
            gap: 0 !important;
            scrollbar-width: none;
            align-items: center !important;
            /* Centraliza verticalmente o conteúdo (especialmente o 2º slide) */
        }

        .sobre-inner::-webkit-scrollbar {
            display: none;
        }

        .sobre-col-info,
        .sobre {
            flex: 0 0 100% !important;
            scroll-snap-align: center !important;
            padding: 0 5% !important;
            box-sizing: border-box;
        }

        .sobre {
            order: -1;
            /* Faz "Quem sou" ser o primeiro slide */
        }

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

        .pilares-grid {
            display: flex;
            justify-content: flex-start;
            overflow-x: auto;
            overflow-y: hidden;
            /* Evita que o card balance para cima e para baixo */
            scroll-snap-type: x mandatory;
            gap: 1rem;
            scrollbar-width: none;
        }

        .pilares-grid::-webkit-scrollbar {
            display: none;
        }

        .pilar-card {
            flex: 0 0 100%;
            /* Ocupa a tela toda */
            scroll-snap-align: start;
        }

        .section-aulas {
            margin: 0;
            border-radius: 0;
        }

        .cta-box {
            padding: 3rem 2rem;
        }

        .filosofia-quote blockquote::before {
            left: 0;
            top: -1rem;
            font-size: 3rem;
        }

        .filosofia-quote blockquote {
            padding-top: 1rem;
        }

        .native-dots {
            margin-top: 1rem !important;
        }

        .avaliacao-texto {
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }



        @keyframes popIn {
            0% {
                transform: scale(0);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .hero-actions {
            flex-direction: column;
            gap: 1rem;
            width: 100%;
            max-width: 320px;
            margin: 0 auto 2.5rem;
        }

        .hero-actions .btn {
            width: 100%;
            justify-content: center;
        }

        /* Exibe os dots dos carrosseis nativos no mobile */
        .native-dots {
            display: flex;
        }
    }

    @media (max-width: 480px) {
        .hero h1 {
            font-size: 2.2rem;
        }

        .instrumento-emoji {
            font-size: 2rem;
        }

        .hero-stats {
            gap: 1.5rem;
        }

        .instrumento-card {
            flex: 0 0 100%;
            min-width: 0 !important;
            padding: 0;
            min-height: 200px;
        }

        .instrumento-name {
            font-size: 1.25rem;
        }

        .instrumento-nivel {
            font-size: 0.85rem;
        }
    }