/*
Theme Name: BJJ Core Japan Custom v10.8
Theme URI: https://bjjcorejapan.com/
Author: BJJ Core Japan
Description: Tema exclusivo, minimalista e responsivo para a BJJ Core Japan.
Version: 10.8.0
Text Domain: bjj-core-japan
*/

:root{
  --bg:#080808;
  --surface:#111;
  --surface-2:#171717;
  --text:#f5f5f5;
  --muted:#9b9b9b;
  --line:rgba(255,255,255,.14);
  --max:1320px;
  --header-h:86px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.admin-bar .site-header{top:32px}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(calc(100% - 48px),var(--max));margin-inline:auto}
.section{padding:120px 0}
.eyebrow{
  display:block;
  margin-bottom:22px;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.section-title{
  margin:0;
  font-size:clamp(2.7rem,7vw,7rem);
  line-height:.92;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.copy{
  max-width:610px;
  color:#c8c8c8;
  font-size:clamp(1rem,1.35vw,1.15rem);
  line-height:1.8;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 26px;
  border:1px solid var(--text);
  background:var(--text);
  color:#080808;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  transition:.25s ease;
}
.btn:hover{background:transparent;color:var(--text)}
.btn-outline{background:transparent;color:var(--text)}
.btn-outline:hover{background:var(--text);color:#080808}

/* Header */
.site-header{
  position:fixed;
  z-index:1000;
  top:0;
  left:0;
  width:100%;
  padding:18px 0;
  transition:.3s ease;
}
.site-header.is-scrolled{
  background:rgba(5,5,5,.88);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
}
.header-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:68px;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:rgba(5,5,5,.55);
  backdrop-filter:blur(16px);
}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img,
.custom-logo{
  display:block;
  width:auto !important;
  max-width:190px !important;
  height:54px !important;
  object-fit:contain;
}
.main-nav ul{
  display:flex;
  align-items:center;
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}
.main-nav a{
  position:relative;
  font-size:.71rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.main-nav a:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:0;
  height:1px;
  background:#fff;
  transition:.25s ease;
}
.main-nav a:hover:after{width:100%}
.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  color:#fff;
  cursor:pointer;
}

/* Hero */
.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.42),rgba(0,0,0,.18) 45%,rgba(0,0,0,.8)),
    var(--hero-image) center/cover no-repeat;
  filter:none;
  transform:scale(1.02);
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center,transparent 20%,rgba(0,0,0,.28) 100%);
}
.hero-inner{
  position:relative;
  z-index:2;
  width:min(calc(100% - 40px),1050px);
  padding-top:110px;
  text-align:center;
}
.hero-logo{
  width:min(520px,80vw);
  margin:0 auto 34px;
  filter:drop-shadow(0 12px 36px rgba(0,0,0,.4));
}
.hero-logo img{width:100%;height:auto}
.hero-subtitle{
  margin:0;
  font-size:clamp(.72rem,1.3vw,.95rem);
  font-weight:800;
  letter-spacing:.32em;
  text-transform:uppercase;
}
.scroll-cue{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:34px;
  width:1px;
  height:68px;
  background:linear-gradient(to bottom,#fff,transparent);
  animation:pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{50%{opacity:.35;transform:translateY(8px)}}

/* About */
.about-grid{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  align-items:center;
  gap:80px;
}
.about-image{
  overflow:hidden;
  min-height:650px;
  background:#111;
}
.about-image img{
  width:100%;
  height:650px;
  object-fit:cover;
  object-position:50% 50%;
  filter:none;
  transition:transform .7s ease;
}
.about-image:hover img{transform:scale(1.025)}
.about-content .section-title{margin-bottom:32px}

/* Instructors */
.instructors{background:#f2f2f2;color:#090909}
.instructors .eyebrow{color:#666}
.instructor-list{
  margin-top:64px;
  border-top:1px solid #cfcfcf;
}
.instructor-row{
  display:grid;
  grid-template-columns:160px 1fr auto;
  align-items:center;
  gap:34px;
  padding:28px 0;
  border-bottom:1px solid #cfcfcf;
}
.instructor-photo{
  aspect-ratio:1/1;
  overflow:hidden;
  background:#d8d8d8;
}
.instructor-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none;
}
.instructor-name{
  margin:0 0 8px;
  font-size:clamp(1.7rem,3vw,3.4rem);
  line-height:1;
  letter-spacing:-.04em;
  text-transform:uppercase;
}
.instructor-role{
  color:#666;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.instructor-number{
  color:#aaa;
  font-size:clamp(2rem,5vw,5rem);
  font-weight:800;
}

/* Locations */
.locations-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:60px;
}
.location-card{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#111;
}
.location-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none;
  opacity:.58;
  transition:.6s ease;
}
.location-card:hover img{transform:scale(1.03);opacity:.72}
.location-overlay{
  position:absolute;
  inset:auto 0 0;
  padding:40px;
  background:linear-gradient(to top,rgba(0,0,0,.92),transparent);
}
.location-title{
  margin:0 0 10px;
  font-size:clamp(2rem,4vw,4.4rem);
  line-height:.95;
  letter-spacing:-.04em;
  text-transform:uppercase;
}
.location-address{margin:0 0 22px;color:#c8c8c8}

/* Schedule */
.schedule{background:#101010}
.schedule-wrap{margin-top:58px;border-top:1px solid var(--line)}
.schedule-row{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:24px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.schedule-row strong{text-transform:uppercase;letter-spacing:.05em}
.schedule-row span{color:#bcbcbc}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
}
.contact-links{margin-top:44px;border-top:1px solid var(--line)}
.contact-link{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.08em;
}
.contact-link span:last-child{color:var(--muted)}
.contact-form{display:grid;gap:18px}
.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px 0;
  border:0;
  border-bottom:1px solid #3d3d3d;
  outline:none;
  background:transparent;
  color:#fff;
}
.contact-form textarea{min-height:130px;resize:vertical}

/* Footer */
.site-footer{padding:38px 0;border-top:1px solid var(--line)}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  color:#777;
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Reveal */
.reveal{opacity:0;transform:translateY(30px);transition:.8s cubic-bezier(.2,.7,.2,1)}
.reveal.visible{opacity:1;transform:none}

/* Responsive */
@media(max-width:900px){
  body.admin-bar .site-header{top:46px}
  .container{width:min(calc(100% - 32px),var(--max))}
  .section{padding:88px 0}
  .menu-toggle{display:grid;place-items:center}
  .main-nav{
    position:absolute;
    top:92px;
    left:16px;
    right:16px;
    display:none;
    padding:26px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#080808;
  }
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;align-items:flex-start;gap:22px}
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:48px}
  .about-image,.about-image img{min-height:470px;height:470px}
  .locations-grid{grid-template-columns:1fr}
  .instructor-row{grid-template-columns:110px 1fr}
  .instructor-number{display:none}
}
@media(max-width:620px){
  .header-shell{min-height:58px;padding:8px 12px}
  .brand img,.custom-logo{max-width:128px !important;height:38px !important}
  .hero-logo{width:min(420px,86vw)}
  .hero-subtitle{letter-spacing:.22em}
  .location-card{min-height:430px}
  .schedule-row{grid-template-columns:1fr;gap:8px}
  .instructor-row{grid-template-columns:82px 1fr;gap:18px}
  .footer-inner{align-items:flex-start;flex-direction:column}
}


/* Definitive v5.0 */
.locations-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.instructor-bio{max-width:720px;margin:14px 0 0;color:#555;line-height:1.65;font-size:.95rem;}
.instructor-social,.location-instagram{display:inline-block;margin-top:14px;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.location-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.schedule-location{margin-top:70px;}
.schedule-location-title{margin:0 0 20px;font-size:clamp(2rem,4vw,4rem);line-height:1;letter-spacing:-.045em;text-transform:uppercase;}
.schedule-row{grid-template-columns:minmax(130px,.45fr) 1.55fr;}
.schedule-classes{white-space:normal;line-height:1.8;}
.bjj-admin-group{margin:28px 0;padding:24px;border:1px solid #dcdcde;border-radius:10px;background:#fff;}
.bjj-admin-group h3{margin-top:0;font-size:20px;}
@media(max-width:1100px){.locations-grid{grid-template-columns:1fr}.instructor-row{grid-template-columns:120px 1fr auto}}
@media(max-width:700px){.schedule-row{grid-template-columns:1fr}.instructor-row{grid-template-columns:88px 1fr}.instructor-number{display:none}}


/* v5.2 — Hero cleanup */
.hero-inner{pointer-events:none;}
.hero-inner:empty{display:none;}


/* v5.3 — schedule status */
.schedule-empty{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.55);
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Premium schedule — version 6.0 */
.schedule-premium{background:#090a0b;overflow:hidden}
.schedule-heading{text-align:center;max-width:760px;margin:0 auto}
.schedule-heading .section-title{font-size:clamp(3.2rem,7vw,6.6rem)}
.schedule-heading p{margin:24px 0 0;color:var(--muted);font-size:1.05rem}
.schedule-tabs{display:grid;grid-template-columns:repeat(3,1fr);max-width:820px;margin:52px auto 18px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#111315}
.schedule-tab{min-height:58px;border:0;border-right:1px solid var(--line);background:transparent;color:#b9b9b9;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:.25s ease}
.schedule-tab:last-child{border-right:0}
.schedule-tab:hover{color:#fff;background:#17191c}
.schedule-tab.active{background:#d81925;color:#fff}
.schedule-panel{display:none;grid-template-columns:340px minmax(0,1fr);gap:28px;margin-top:18px;padding:28px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(135deg,#111315,#0d0f11)}
.schedule-panel.active{display:grid;animation:scheduleFade .35s ease}
@keyframes scheduleFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.schedule-location-card{display:flex;flex-direction:column;gap:20px;padding-right:26px;border-right:1px solid var(--line)}
.schedule-location-card h3{margin:0 0 8px;font-size:clamp(2.2rem,4vw,3.5rem);line-height:1;text-transform:uppercase;letter-spacing:-.04em}
.schedule-address{margin:0;color:#c7c7c7;line-height:1.65}
.schedule-location-card>img{width:100%;aspect-ratio:16/10;object-fit:cover;border:1px solid var(--line);filter:grayscale(100%)}
.schedule-map-btn{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 18px;border:1px solid rgba(255,255,255,.35);border-radius:5px;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;transition:.25s ease}
.schedule-map-btn:hover{border-color:#fff;background:#fff;color:#090909}
.schedule-features{display:grid;gap:16px;margin-top:auto}
.schedule-features div{padding-left:14px;border-left:4px solid #d81925}
.schedule-features strong,.schedule-features span{display:block}
.schedule-features strong{font-size:.77rem;letter-spacing:.04em;text-transform:uppercase}
.schedule-features span{margin-top:4px;color:var(--muted);font-size:.82rem}
.schedule-calendar{min-width:0}
.schedule-days{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:0;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
.schedule-day{min-height:430px;padding:0 10px 12px;border-right:1px solid var(--line)}
.schedule-day:last-child{border-right:0}
.schedule-day h4{margin:8px 0 28px;padding-bottom:14px;position:relative;text-align:center;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}
.schedule-day h4:after{content:"";position:absolute;left:50%;bottom:0;width:30px;height:2px;background:#d81925;transform:translateX(-50%)}
.schedule-class-list{display:grid;gap:14px}
.schedule-class{position:relative;display:flex;flex-direction:column;gap:8px;min-height:116px;padding:18px 14px 16px 18px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:linear-gradient(135deg,#202327,#151719)}
.schedule-class:before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;border-radius:7px 0 0 7px;background:#8c8f92}
.schedule-class time{color:#cacaca;font-size:.86rem}
.schedule-class strong{font-size:.86rem;line-height:1.2;text-transform:uppercase}
.schedule-class span{margin-top:auto;color:#aeb0b3;font-size:.8rem}
.schedule-class.type-fundamental:before{background:#00e676}
.schedule-class.type-basic:before{background:#2979ff}
.schedule-class.type-kids:before{background:#ffea00}
.schedule-class.type-pro:before{background:#ff1744}
.schedule-class.type-open:before{background:#d500f9}
.schedule-legend{display:flex;flex-wrap:wrap;gap:24px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line);color:#c7c7c7;font-size:.72rem;text-transform:uppercase}
.schedule-legend span{display:inline-flex;align-items:center;gap:9px}
.schedule-legend span:before{content:"";display:block;width:28px;height:8px;border-radius:3px;background:#888}
.schedule-legend .legend-fundamental:before{background:#00e676}
.schedule-legend .legend-basic:before{background:#2979ff}
.schedule-legend .legend-kids:before{background:#ffea00}
.schedule-legend .legend-pro:before{background:#ff1744}
.schedule-legend .legend-open:before{background:#d500f9}
.schedule-empty-premium{display:grid;place-content:center;min-height:430px;text-align:center;border:1px dashed var(--line);border-radius:8px}
.schedule-empty-premium strong{font-size:1.5rem;text-transform:uppercase}
.schedule-empty-premium span{margin-top:10px;color:var(--muted)}
.location-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.location-schedule-link{cursor:pointer}

@media(max-width:1100px){
  .schedule-panel{grid-template-columns:1fr}
  .schedule-location-card{display:grid;grid-template-columns:1fr 1fr;align-items:start;padding:0 0 26px;border-right:0;border-bottom:1px solid var(--line)}
  .schedule-location-card>img{grid-column:2;grid-row:1/4}
  .schedule-map-btn,.schedule-features{grid-column:1}
  .schedule-days{grid-template-columns:repeat(3,minmax(190px,1fr))}
}
@media(max-width:720px){
  .schedule-premium{padding:88px 0}
  .schedule-tabs{margin-top:34px}
  .schedule-tab{min-height:52px;font-size:.72rem}
  .schedule-panel{padding:18px}
  .schedule-location-card{display:flex}
  .schedule-location-card>img{order:2}
  .schedule-map-btn{order:3}
  .schedule-features{order:4}
  .schedule-days{grid-template-columns:1fr;overflow:visible}
  .schedule-day{min-height:0;padding:0 0 22px;border-right:0;border-bottom:1px solid var(--line)}
  .schedule-day:last-child{border-bottom:0}
  .schedule-day h4{text-align:left;margin:8px 0 16px}
  .schedule-day h4:after{left:0;transform:none}
  .schedule-class{min-height:104px}
}


/* v6.2 — natural-color photography and centered About portrait */
.about-image img{object-position:50% 50%;}
@media (max-width: 700px){
  .about-image img{object-position:50% 32%;}
}


/* v6.3 — contact cleanup and natural-color unit photography */
.location-card img,.schedule-location-card>img{filter:none !important;}


/* v6.5 — direct contact only and vivid class colors */
.contact-simple{padding-top:120px;padding-bottom:120px}
.contact-simple-inner{max-width:900px;margin-left:auto;margin-right:auto}
.contact-simple .section-title{max-width:760px}
.contact-copy{max-width:680px}
.contact-simple .contact-links{max-width:760px;margin-top:48px}
@media(max-width:700px){.contact-simple{padding-top:82px;padding-bottom:82px}}


/* v7.0 refinements */
.brand img{background:transparent!important;border:0!important;box-shadow:none!important}
.black-belt-label{display:inline-flex;margin:0 0 10px;padding:5px 9px;border:1px solid #111;font-size:.62rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.location-photo-placeholder,.schedule-photo-placeholder{display:grid;place-items:center;align-content:center;gap:16px;background:radial-gradient(circle at center,#222 0,#0c0c0c 68%);color:#aaa;text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;font-weight:800}
.location-photo-placeholder{position:absolute;inset:0}
.location-photo-placeholder img,.schedule-photo-placeholder img{width:min(210px,58%);height:auto;object-fit:contain}
.schedule-photo-placeholder{width:100%;aspect-ratio:16/10;border:1px solid var(--line)}
.schedule-photo-placeholder img{filter:none!important}
@media(max-width:700px){.brand img{max-width:145px!important;height:42px!important}.about-image img{object-position:50% 50%}}


/* v7.1 — full portrait centered without cropping */
.about-image{display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 38%,#333 0,#151515 48%,#0b0b0b 100%)}
.about-image img{width:100%;height:100%;object-fit:contain !important;object-position:50% 50% !important;margin:auto;filter:none}
@media(max-width:900px){.about-image,.about-image img{height:min(125vw,760px);min-height:520px}.about-image img{object-fit:contain !important;object-position:center center !important}}


/* v7.5 — larger instructor portraits on desktop */
@media (min-width: 901px){
  .instructor-row{
    grid-template-columns:280px minmax(0,1fr) auto;
    gap:48px;
    padding:38px 0;
    align-items:center;
  }
  .instructor-photo{
    width:280px;
    height:340px;
    aspect-ratio:auto;
    background:#e7e7e7;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .instructor-photo img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
  }
  .instructor-name{font-size:clamp(2.4rem,4vw,4.8rem)}
  .instructor-bio{max-width:820px;font-size:1rem;line-height:1.7}
}
@media (min-width: 1400px){
  .instructor-row{grid-template-columns:320px minmax(0,1fr) auto}
  .instructor-photo{width:320px;height:390px}
}


/* v7.6 — consistent instructor portrait framing */
@media (min-width: 901px){
  .instructor-photo{
    overflow:hidden;
    background:#fff;
  }
  .instructor-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 18%;
  }
}


/* v8.1 — enquadramento dos professores: mais espaço acima da cabeça */
@media (min-width: 901px){
  .instructor-photo img{
    object-fit:cover !important;
    object-position:50% 6% !important;
  }
}


/* v9.0 — seletor PT / 日本語 */
.header-shell{
  gap:18px;
}
.language-switcher{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  color:rgba(255,255,255,.45);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
}
.lang-btn{
  appearance:none;
  border:0;
  padding:7px 3px;
  background:transparent;
  color:rgba(255,255,255,.55);
  font:inherit;
  cursor:pointer;
  transition:color .2s ease, opacity .2s ease;
}
.lang-btn:hover,
.lang-btn.active{
  color:#fff;
}
html[lang="ja"] body{
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","YuGothic","Noto Sans JP",sans-serif;
}
html[lang="ja"] .section-title{
  letter-spacing:-.035em;
}
@media(max-width:900px){
  .language-switcher{
    margin-left:auto;
  }
}
@media(max-width:620px){
  .language-switcher{
    gap:5px;
    font-size:.66rem;
  }
}


/* v9.1 — fotos dos professores sem corte de cabeça, desktop e mobile */
.instructor-photo{
  background:#b9b9b9 !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
}
.instructor-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center top !important;
  transform:none !important;
}

/* Desktop */
@media (min-width:901px){
  .instructor-photo{
    min-height:340px !important;
  }
  .instructor-photo img{
    padding-top:12px !important;
  }
}

/* Tablet e celular: menos zoom e mais espaço acima da cabeça */
@media (max-width:900px){
  .instructor-photo{
    height:auto !important;
    min-height:390px !important;
  }
  .instructor-photo img{
    position:static !important;
    width:100% !important;
    height:auto !important;
    max-height:560px !important;
    padding:24px 8px 0 !important;
    object-fit:contain !important;
    object-position:center top !important;
  }
}
@media (max-width:560px){
  .instructor-photo{
    min-height:350px !important;
  }
  .instructor-photo img{
    max-height:500px !important;
    padding-top:28px !important;
  }
}


/* =========================================================
   v9.2 — PROFESSORES
   - mobile: foto em cima, texto embaixo, sem sobreposição
   - remove moldura/faixa entre o fundo da foto e o fundo da seção
   - preserva a foto inteira e não corta a cabeça
   ========================================================= */

/* A área da foto não cria uma segunda camada de cinza. */
.instructor-photo{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  min-height:0 !important;
  overflow:visible !important;
  display:block !important;
  line-height:0;
}

.instructor-photo img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  padding:0 !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:center top !important;
  transform:none !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Desktop: retrato à esquerda e texto à direita. */
@media (min-width:901px){
  .instructor-row{
    grid-template-columns:minmax(260px,320px) minmax(0,1fr) auto !important;
    align-items:start !important;
    gap:48px !important;
  }

  .instructor-photo{
    width:100% !important;
    height:auto !important;
    align-self:start !important;
  }

  .instructor-photo img{
    width:100% !important;
    height:auto !important;
  }
}

/* Tablet e celular:
   UMA coluna. A foto termina antes do texto começar. */
@media (max-width:900px){
  .instructor-list{
    margin-top:42px !important;
  }

  .instructor-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto !important;
    gap:0 !important;
    align-items:start !important;
    padding:30px 0 36px !important;
  }

  .instructor-row > .instructor-photo{
    grid-column:1 !important;
    grid-row:1 !important;
    width:100% !important;
    max-width:620px !important;
    margin:0 auto 28px !important;
    position:relative !important;
    inset:auto !important;
  }

  .instructor-row > div:nth-child(2){
    grid-column:1 !important;
    grid-row:2 !important;
    position:relative !important;
    z-index:2 !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
  }

  .instructor-number{
    display:none !important;
  }

  .instructor-photo img{
    position:static !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center top !important;
  }

  .black-belt-label{
    margin-top:0 !important;
  }

  .instructor-name{
    margin-top:18px !important;
  }

  .instructor-bio{
    max-width:none !important;
  }
}

/* Celulares menores: dá respiro lateral sem reduzir a cabeça/foto. */
@media (max-width:560px){
  .instructor-row{
    padding:26px 0 32px !important;
  }

  .instructor-row > .instructor-photo{
    width:100% !important;
    max-width:none !important;
    margin-bottom:24px !important;
  }

  .instructor-name{
    font-size:clamp(2rem,10vw,3.2rem) !important;
    line-height:.98 !important;
  }

  .instructor-bio{
    font-size:1rem !important;
    line-height:1.65 !important;
  }
}


/* =========================================================
   v9.3 — PROFESSORES / LAYOUT RECONSTRUÍDO
   O conteúdo agora usa .instructor-media + .instructor-copy.
   No mobile ambos ficam no fluxo normal do documento.
   ========================================================= */

#instructors.instructors{
  background:#f2f2f2 !important;
}

#instructors .instructor-list{
  display:block !important;
  margin-top:52px !important;
  border-top:0 !important;
}

#instructors .instructor-row{
  position:relative !important;
  isolation:isolate !important;
  box-sizing:border-box !important;
  width:100% !important;
  margin:0 0 26px !important;
  padding:0 !important;
  background:var(--portrait-bg,#d0d0d0) !important;
  border:0 !important;
  overflow:hidden !important;
}

#instructors .instructor-media,
#instructors .instructor-copy{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  float:none !important;
  clear:both !important;
  box-sizing:border-box !important;
}

#instructors .instructor-media{
  line-height:0 !important;
  background:var(--portrait-bg,#d0d0d0) !important;
  overflow:hidden !important;
}

#instructors .instructor-media img{
  position:static !important;
  inset:auto !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-shadow:none !important;
  object-fit:contain !important;
  object-position:center top !important;
  transform:none !important;
  filter:none !important;
}

#instructors .instructor-copy{
  background:var(--portrait-bg,#d0d0d0) !important;
  color:#090909 !important;
}

#instructors .instructor-number{
  pointer-events:none !important;
}

/* Desktop: foto grande à esquerda, texto à direita. */
@media (min-width:901px){
  #instructors .instructor-row{
    display:grid !important;
    grid-template-columns:minmax(300px,38%) minmax(0,1fr) 72px !important;
    align-items:stretch !important;
    gap:0 !important;
    min-height:500px !important;
  }

  #instructors .instructor-media{
    grid-column:1 !important;
    width:100% !important;
    min-height:500px !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
  }

  #instructors .instructor-media img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
  }

  #instructors .instructor-copy{
    grid-column:2 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    padding:54px 56px !important;
  }

  #instructors .instructor-number{
    grid-column:3 !important;
    align-self:center !important;
    text-align:center !important;
    display:block !important;
  }

  #instructors .instructor-name{
    font-size:clamp(2.6rem,4vw,5rem) !important;
  }
}

/* MOBILE/TABLET:
   foto ocupa um bloco próprio;
   o texto só começa DEPOIS que a imagem termina. */
@media (max-width:900px){
  #instructors .instructor-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    min-height:0 !important;
  }

  #instructors .instructor-media{
    order:1 !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    flex:none !important;
  }

  #instructors .instructor-media img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:contain !important;
  }

  #instructors .instructor-copy{
    order:2 !important;
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    flex:none !important;
    margin:0 !important;
    padding:30px 28px 36px !important;
    z-index:auto !important;
  }

  #instructors .instructor-number{
    display:none !important;
  }

  #instructors .black-belt-label{
    display:inline-block !important;
    margin:0 0 22px !important;
  }

  #instructors .instructor-name{
    margin:0 0 12px !important;
    font-size:clamp(2.15rem,9.5vw,3.7rem) !important;
    line-height:.96 !important;
  }

  #instructors .instructor-role{
    margin:0 !important;
    line-height:1.45 !important;
  }

  #instructors .instructor-bio{
    margin:24px 0 0 !important;
    max-width:none !important;
    font-size:1rem !important;
    line-height:1.65 !important;
  }
}

@media (max-width:560px){
  #instructors .instructor-list{
    margin-top:36px !important;
  }

  #instructors .instructor-row{
    margin-bottom:20px !important;
  }

  #instructors .instructor-copy{
    padding:28px 22px 34px !important;
  }
}


#instructors .instructor-row-1{--portrait-bg:rgb(124,123,120);}
#instructors .instructor-row-2{--portrait-bg:rgb(185,185,185);}
#instructors .instructor-row-3{--portrait-bg:rgb(184,181,182);}
#instructors .instructor-row-4{--portrait-bg:rgb(185,185,185);}
#instructors .instructor-row-5{--portrait-bg:rgb(194,193,194);}
#instructors .instructor-row-6{--portrait-bg:rgb(194,191,192);}


/* =========================================================
   v9.4 — Professores: cinza uniforme + sem numeração
   ========================================================= */

#instructors .instructor-row{
  --portrait-bg:#c2c2c2 !important;
  background:#c2c2c2 !important;
}

#instructors .instructor-media,
#instructors .instructor-copy{
  background:#c2c2c2 !important;
}

/* Remove qualquer regra antiga que pudesse exibir 01–06. */
#instructors .instructor-number{
  display:none !important;
}

/* Sem coluna reservada para número no desktop. */
@media (min-width:901px){
  #instructors .instructor-row{
    grid-template-columns:minmax(300px,38%) minmax(0,1fr) !important;
  }

  #instructors .instructor-media{
    grid-column:1 !important;
  }

  #instructors .instructor-copy{
    grid-column:2 !important;
    padding-right:64px !important;
  }
}

/* v10.8 — Instrutores */
.support-team-link{margin-top:34px;text-align:center}
.support-team-link a{display:inline-flex;align-items:center;gap:18px;border:1px solid #222;padding:13px 26px;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;color:#111;text-decoration:none;transition:.2s}
.support-team-link a:hover{background:#111;color:#fff}
.support-page{background:#050505;color:#fff;min-height:100vh}
.support-hero{padding:150px 0 90px;text-align:center}
.support-hero h1{margin:8px 0 14px;font-size:clamp(3rem,6vw,5.6rem);line-height:.95;text-transform:uppercase;letter-spacing:-.045em}
.support-lead{max-width:820px;margin:0 auto 48px;color:#c9c9c9;font-size:1.05rem;line-height:1.65}
.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}
.support-card{border:1px solid #292929;background:#080808;overflow:hidden}
.support-photo{aspect-ratio:3/4;overflow:hidden;background:#c8c8c8}
.support-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top;image-rendering:auto}
.support-info{padding:25px 25px 30px}
.support-info h2{font-size:clamp(1.45rem,2.2vw,2rem);line-height:1;margin:0;text-transform:uppercase;letter-spacing:-.025em}
.support-rule{width:54px;height:2px;background:#fff;margin:18px 0}
.support-belt,.support-location{text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;font-weight:700;margin:0 0 10px}
.support-location{color:#bcbcbc}
.support-info p{color:#d0d0d0;line-height:1.55;margin:20px 0 0}
.support-back{display:inline-block;margin-top:40px;border:1px solid #555;padding:13px 24px;color:#fff;text-decoration:none;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem}
.support-back:hover{background:#fff;color:#000}
@media(max-width:800px){.support-hero{padding:120px 0 65px}.support-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto}.support-photo{aspect-ratio:4/5}.support-info{padding:22px}.support-lead{font-size:.95rem;margin-bottom:32px}}
