:root{
  --bg:#101112;
  --bg-2:#5b5f63;         /* cinza do print */
  --text:#f2f2f2;
  --muted:#c9c9c9;
  --accent:#ff1414;
  --card:#1a1c1e;
  --border:rgba(255,255,255,.12);
  --radius:22px;
  --container:1080px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

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

.container{
  width:min(var(--container), calc(100% - 36px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(16,17,18,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar__inner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  letter-spacing:.2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:2px solid var(--accent);
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s ease, filter .15s ease;
}
.btn:hover{ transform:translateY(-1px); filter:brightness(1.05); }
.btn:active{ transform:translateY(0); }

.btn--small{
  padding:9px 14px;
  font-size:14px;
}

.btn--ghost{
  background:transparent;
  color:#fff;
  border-color:var(--accent);
}

.hero{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  padding:88px 0 56px;
  border-bottom:1px solid var(--border);
}
.hero__inner{
  text-align:center;
  max-width:860px;
}
.hero__title{
  font-size:56px;
  line-height:1.05;
  margin:0 0 14px;
}
.hero__lead{
  margin:0 auto 10px;
  max-width:680px;
  color:#fff;
  font-weight:600;
}
.hero__sub{
  margin:0 auto 22px;
  max-width:760px;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}
.hero__logo{
  margin:26px auto 0;
  width:min(320px, 78vw);
  border-radius:18px;
  overflow:hidden;
  background:rgba(0,0,0,.35);
  padding:14px;
}
.hero__logo img{
  border-radius:16px;
  width:100%;
  height:auto;
}

.band{
  padding:72px 0;
}
.band--gray{
  background:var(--bg-2);
}
.band--dark{
  background:var(--bg);
}

h2{
  font-size:42px;
  margin:0 0 12px;
  letter-spacing:.2px;
}
.subtitle{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:13px;
}

.center{
  text-align:center;
  margin-bottom:34px;
}

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:center;
}
.split--reverse{
  grid-template-columns: .95fr 1.05fr;
}
.split--reverse .split__text{ order:1; }
.split--reverse .split__media{ order:2; }

.split__text p{
  color:rgba(255,255,255,.88);
  line-height:1.65;
  font-size:14px;
}
.split__text .btn{ margin-top:14px; }

.rounded{
  border-radius:var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.philo h3{
  margin:0 0 6px;
  font-size:18px;
}
.philo p{
  margin:0 0 18px;
  color:rgba(255,255,255,.88);
}

.aulas-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:26px;
  max-width:900px;
  margin:0 auto;
  text-align:center;
}
.aula-card{
  padding:8px 6px;
}
.aula-card h3{
  margin:0 0 8px;
  font-size:16px;
}
.aula-card p{
  margin:0;
  color:rgba(255,255,255,.85);
  font-size:12.5px;
  line-height:1.55;
}
.aula-card--center{
  grid-column:1 / -1;
  max-width:520px;
  margin:10px auto 0;
}

.steps{
  max-width:860px;
  margin:0 auto;
  text-align:center;
}
.step{
  margin: 0 auto 34px;
}
.step h3{
  margin:0 0 6px;
  font-size:16px;
}
.step p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:12.5px;
}

.gallery{
  display:grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap:18px;
  align-items:stretch;
}
.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.gallery__col{
  display:grid;
  grid-template-rows: 1fr 1fr;
  gap:18px;
}
.gallery__mid img{
  height:100%;
  min-height:420px;
}

.insta{
  display:inline-flex;
  margin-top:6px;
  color:#fff;
  opacity:.92;
  transition:transform .15s ease, opacity .15s ease;
}
.insta:hover{ transform:translateY(-2px); opacity:1; }

.footer{
  background:#0d0e0f;
  padding:44px 0 24px;
  border-top:1px solid var(--border);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:30px;
  align-items:start;
}
.footer h3{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.6px;
}
.footer p{
  margin:0 0 10px;
  color:rgba(255,255,255,.86);
  font-size:12.5px;
  line-height:1.55;
}
.muted{ color:rgba(255,255,255,.72); }

.social{
  display:flex;
  gap:10px;
  margin-top:10px;
}
.social__btn{
  width:38px; height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--border);
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.03);
  transition:transform .15s ease, background .15s ease;
}
.social__btn:hover{ transform:translateY(-1px); background:rgba(255,255,255,.06); }

.footer__col--right{
  text-align:left;
}
.hours{
  margin-top:10px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
  background:rgba(255,255,255,.03);
}
.hours summary{
  cursor:pointer;
  font-weight:700;
  font-size:12.5px;
}
.hours__grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:6px 10px;
  font-size:12px;
  color:rgba(255,255,255,.86);
}

.footer__bottom{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--border);
  text-align:center;
}
.footer__bottom p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:12px;
}

/* ===== animação "onda" (aparece ao descer) ===== */
.reveal{
  opacity:0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .7s ease, transform .7s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.reveal.is-visible{
  opacity:1;
  transform: translate3d(0, 0, 0);
}

/* ===== responsivo ===== */
@media (max-width: 920px){
  .hero__title{ font-size:42px; }
  h2{ font-size:34px; }

  .split, .split--reverse{
    grid-template-columns:1fr;
  }
  .split--reverse .split__text{ order:0; }
  .split--reverse .split__media{ order:0; }

  .gallery{
    grid-template-columns:1fr;
  }
  .gallery__mid img{ min-height:280px; }
  .footer__grid{ grid-template-columns:1fr; }
}

@media (max-width: 520px){
  .topbar__inner{ height:58px; }
  .hero{ padding:72px 0 46px; }
  .aulas-grid{ grid-template-columns:1fr; }
  .aula-card--center{ grid-column:auto; }
}

/* Aumentar a imagem do Mestre */
#mestre .split__media img {
  width: 100%;
  max-width: 600px;   /* aumenta aqui se quiser mais */
  height: auto;
}

/* Opcional: deixa ela com mais "presença" mantendo o corte bonito */
@media (min-width: 921px) {
  #mestre .split__media img {
    height: 380px;     /* aumenta/diminui */
    object-fit: cover;
  }
}

/* =========================
   AJUSTES MOBILE FINOS
   ========================= */
@media (max-width: 768px) {

  /* Geral */
  body {
    font-size: 15px;
  }

  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Hero */
  .hero {
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .hero__logo img {
    max-width: 220px;
    margin: 0 auto;
  }

  /* Botões */
  .btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    font-size: 15px;
  }

  /* Seções em coluna */
  .split {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Imagem do mestre */
  #mestre .split__media img {
    max-width: 100%;
    height: auto;
  }

  /* Cards / aulas */
  .aulas-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .aula-card {
    padding: 0;
  }

  /* Galeria */
  .gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .gallery img {
    height: auto;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .footer__bottom {
    font-size: 13px;
  }
}

/* Ajustes MOBILE - seção Fale com a gente */
@media (max-width: 768px) {

  #contato {
    padding-top: 36px;     /* diminui o buraco de cima */
    padding-bottom: 48px;  /* mantém espaço embaixo */
  }

  #contato h2 {
    margin-bottom: 12px;   /* aproxima do texto */
  }

  #contato p {
    margin-bottom: 18px;   /* espaça melhor o texto */
    line-height: 1.6;
  }

  #contato .btn {
    margin-top: 8px;
    margin-bottom: 16px;
  }

  #contato .social {
    margin-top: 10px;
  }
}

