/* ===== Espaço Lua Branca — estilos ===== */

:root{
  --blue: #1b4d8f;
  --blue-dark: #0f3566;
  --gold: #eab820;
  --gold-dark: #c99a12;
  --green: #2f7a45;
  --green-dark: #1f5c33;
  --ink: #1b1f23;
  --ink-soft: #4a5259;
  --bg: #fbfaf5;
  --bg-alt: #f2efe4;
  --white: #ffffff;
  --border: #e6e2d6;

  --radius: 16px;
  --shadow: 0 12px 30px -12px rgba(15, 53, 102, .18);
  --ff-head: "Poppins", sans-serif;
  --ff-body: "Nunito Sans", sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--ff-head); margin:0; color: var(--blue-dark); }
p{ margin:0 0 1em; color: var(--ink-soft); }

.container{
  width:100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-block;
  font-family: var(--ff-head);
  font-weight:700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(47,122,69,.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section{ padding: 96px 0; }
.section-alt{ background: var(--bg-alt); }
.section h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-sub{ max-width: 560px; font-size: 1.05rem; margin-bottom: 44px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: var(--ff-head);
  font-weight:600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary{
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-dark);
  box-shadow: 0 10px 24px -8px rgba(234,184,32,.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(234,184,32,.65); }
.btn-outline{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.65);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  background: rgba(251,250,245,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 76px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{ height:44px; width:auto; border-radius:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{ font-family: var(--ff-head); color: var(--blue-dark); font-size: 1.05rem; }
.brand-text small{ color: var(--green); font-weight:600; font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }

.nav{ display:flex; align-items:center; gap: 28px; }
.nav a{
  font-family: var(--ff-head);
  font-weight:600;
  font-size: .92rem;
  color: var(--ink);
  position:relative;
  padding: 6px 0;
}
.nav a:not(.nav-cta)::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background: var(--gold);
  transform: scaleX(0); transform-origin:left;
  transition: transform .2s ease;
}
.nav a:not(.nav-cta):hover::after{ transform: scaleX(1); }
.nav-cta{
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover{ background: var(--blue-dark); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 8px;
}
.nav-toggle span{ width:24px; height:2px; background: var(--blue-dark); border-radius:2px; transition: transform .2s ease, opacity .2s ease; }

/* ===== Hero ===== */
.hero{
  position:relative;
  min-height: 100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding-top: 76px;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(234,184,32,.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(47,122,69,.4), transparent 50%),
    linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--green-dark));
  z-index:-1;
}
.hero-inner{ display:flex; flex-direction:column; align-items:center; }
.hero-logo{
  width:auto; max-width: min(360px, 80vw); height:auto;
  border-radius:0;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
  margin-bottom: 28px;
}
.hero h1{
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight:800;
  letter-spacing: -.02em;
}
.hero h1 span{ color: var(--gold); }
.hero-sub{
  color: rgba(255,255,255,.88);
  max-width: 560px;
  font-size: 1.15rem;
  margin: 20px 0 34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

.scroll-hint{
  position:absolute; bottom: 28px; left:50%; transform: translateX(-50%);
}
.scroll-hint span{
  display:block; width:26px; height:42px; border:2px solid rgba(255,255,255,.6); border-radius:20px; position:relative;
}
.scroll-hint span::before{
  content:""; position:absolute; top:6px; left:50%; width:4px; height:8px; background: var(--gold);
  border-radius:2px; transform: translateX(-50%); animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown{
  0%{ opacity:1; top:6px; }
  100%{ opacity:0; top:20px; }
}

/* ===== Page hero (páginas internas) ===== */
.page-hero{
  padding: 156px 0 76px;
  text-align:center;
  background:
    radial-gradient(circle at 20% 20%, rgba(234,184,32,.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(47,122,69,.4), transparent 50%),
    linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--green-dark));
}
.page-hero .eyebrow{ background: rgba(255,255,255,.15); color: var(--white); }
.page-hero h1{
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight:800;
  letter-spacing: -.02em;
  margin-top: 6px;
}
.page-hero p{
  color: rgba(255,255,255,.88);
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

/* ===== Conecta Lua Branca (alunos) ===== */
.students-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.student-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align:center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.student-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.student-avatar{
  width:72px; height:72px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 18px;
  font-family: var(--ff-head); font-weight:800; font-size:1.3rem;
  overflow:hidden;
}
.student-avatar img{
  width:100%; height:100%;
  object-fit: cover;
  border-radius: 50%;
}
.student-card h3{ font-size:1.1rem; }
.student-specialty{
  display:inline-block;
  font-family: var(--ff-head);
  font-weight:600;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(47,122,69,.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 10px 0 18px;
}
.student-instagram{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--ff-head); font-weight:600; font-size:.9rem;
  color: var(--blue-dark);
}
.student-instagram svg{ width:18px; height:18px; flex-shrink:0; }
.student-instagram:hover{ color: var(--gold-dark); }

/* ===== Sobre ===== */
.about-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 56px;
  align-items:center;
  margin-top: 20px;
}
.about-text.manifesto p{ margin-bottom: .45em; }
.about-list{ margin-top: 20px; display:flex; flex-direction:column; gap:12px; }
.about-list li{ padding-left: 26px; position:relative; color: var(--ink-soft); }
.about-list li::before{
  content:"✓"; position:absolute; left:0; top:0;
  color: var(--green); font-weight:800;
}
.about-emblem{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(160deg, var(--bg-alt), var(--white));
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
  padding: 30px;
}
.about-photo{
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.about-photo img{ width:100%; height:100%; object-fit: cover; }

/* ===== Cards / Modalidades ===== */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.values-grid{ margin-top: 56px; }
.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.card p{ font-size: .92rem; margin:0; }
.card-icon{
  width: 52px; height:52px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.card-icon svg{ width: 26px; height:26px; }
.icon-green{ background: rgba(47,122,69,.12); color: var(--green); }
.icon-blue{ background: rgba(27,77,143,.12); color: var(--blue); }
.icon-gold{ background: rgba(234,184,32,.18); color: var(--gold-dark); }

/* ===== Mestre ===== */
.mestre-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items:center;
}
.mestre-photo-frame{
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue), var(--green-dark));
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}
.mestre-photo-frame img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
}

/* ===== Galeria ===== */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item{
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  position:relative;
  overflow:hidden;
  margin:0;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.gallery-item img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transition: transform .35s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(15,53,102,.75) 0%, rgba(15,53,102,0) 45%);
  pointer-events:none;
}
.gallery-item figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 16px 18px;
  z-index:1;
}
.gallery-item figcaption span{
  color: var(--white);
  font-family: var(--ff-head);
  font-weight:600;
  font-size: .92rem;
}
.gallery-credit{
  margin-top: 18px;
  font-size: .8rem;
  color: var(--ink-soft);
  text-align:right;
}

/* ===== Horários ===== */
.table-wrap{
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
table.schedule{ width:100%; border-collapse: collapse; }
table.schedule th, table.schedule td{ padding: 16px 22px; text-align:left; }
table.schedule thead th{
  background: var(--blue);
  color: var(--white);
  font-family: var(--ff-head);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing:.05em;
}
table.schedule tbody tr:nth-child(even){ background: var(--bg-alt); }
table.schedule tbody td:first-child{ font-family: var(--ff-head); font-weight:700; color: var(--blue-dark); }

/* ===== Parceiros (Horários) ===== */
.partners-note{
  margin-top: 28px;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.partners-label{
  font-family: var(--ff-head); font-weight:700;
  color: var(--blue-dark); font-size:.92rem;
}
.partners-logos{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.partner-badge{
  display:inline-flex; align-items:center; gap:10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
}
.partner-logo-wellhub{ height:20px; width:auto; }
.partner-logo-totalpass{ height:26px; width:26px; border-radius:50%; }
.partner-badge strong{ font-family: var(--ff-head); font-weight:700; color: var(--ink); font-size:.9rem; }

/* ===== Localização ===== */
.loc-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items:center;
}
.loc-list{ display:flex; flex-direction:column; gap:20px; margin-top: 20px; }
.loc-list li{ display:flex; gap:14px; align-items:flex-start; color: var(--ink-soft); }
.loc-list svg{ width:24px; height:24px; flex-shrink:0; color: var(--green); margin-top:2px; }
.loc-map{
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.loc-map-embed{ display:block; }
.loc-map-placeholder{
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 12px, var(--white) 12px, var(--white) 24px);
  border: 2px dashed var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft);
  font-family: var(--ff-head);
  font-weight:600;
  box-shadow: var(--shadow);
}

/* ===== Contato ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  margin-top: 10px;
}
.contact-form{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap:18px;
}
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row label{ font-family: var(--ff-head); font-weight:600; font-size:.88rem; color: var(--blue-dark); }
.form-row input, .form-row textarea{
  font-family: var(--ff-body);
  font-size: .95rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input:focus, .form-row textarea:focus{
  outline:none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,77,143,.15);
}
.contact-form .btn{ align-self:flex-start; }
.form-note{ font-size: .85rem; color: var(--green); margin:0; min-height: 1.2em; }

.contact-info{ display:flex; flex-direction:column; gap:16px; }
.contact-item{
  display:flex; align-items:center; gap:16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-item:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon{
  width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-icon svg{ width:22px; height:22px; }
.contact-item strong{ display:block; font-family: var(--ff-head); color: var(--blue-dark); font-size:.95rem; }
.contact-item small{ color: var(--ink-soft); }

/* ===== Footer ===== */
.site-footer{
  background: var(--blue-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 20px;
}
.site-footer .brand-text strong{ color: var(--white); }
.footer-nav{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-nav a{ font-size:.9rem; font-weight:600; font-family: var(--ff-head); }
.footer-nav a:hover{ color: var(--gold); }
.footer-copy{ text-align:center; font-size:.82rem; color: rgba(255,255,255,.55); margin:0; }

/* ===== Redes sociais fixas ===== */
.social-dock{
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 90;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.social-dock a{
  display:flex; align-items:center; justify-content:center;
  width: 42px; height:42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #111;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.social-dock a svg{ width: 20px; height:20px; }
.social-dock a:hover{ transform: translateX(-4px) scale(1.06); box-shadow: 0 14px 28px -10px rgba(15,53,102,.35); }

/* ===== Reveal animation ===== */
[data-reveal]{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ===== Responsive ===== */
@media (max-width: 960px){
  .about-grid, .mestre-grid, .loc-grid, .contact-grid{ grid-template-columns: 1fr; }
  .mestre-photo{ max-width: 320px; margin: 0 auto; }
  .cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .students-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px){
  .nav{
    position:absolute; top:76px; left:0; right:0;
    background: var(--bg);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open{ opacity:1; transform:none; pointer-events:auto; }
  .nav a{ padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-cta{ text-align:center; margin-top: 12px; padding-left: 5px; padding-right: 5px; color: red}
  .nav-toggle{ display:flex; }
  .cards-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .students-grid{ grid-template-columns: 1fr; }
  .section{ padding: 64px 0; }
  .page-hero{ padding: 128px 0 56px; }
  .social-dock{ right: 8px; gap: 8px; }
  .social-dock a{ width: 34px; height:34px; }
  .social-dock a svg{ width: 16px; height:16px; }
}
