/* Abbey Road — protótipo da página de professores */
:root {
  --ink: #171612;
  --paper: #f2eee5;
  --paper-deep: #e5dfd2;
  --acid: #d9ef62;
  --orange: #df633c;
  --line: rgba(23, 22, 18, 0.2);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--acid);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 112px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 5vw, 76px);
  color: var(--paper);
}
.brand {
  display: flex;
  width: 158px;
  height: 76px;
  padding: 8px 10px;
  align-items: center;
  background: #fff;
  overflow: hidden;
}
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 13px 19px;
  border: 1px solid rgba(242, 238, 229, 0.55);
  border-radius: 100px;
  transition: 0.25s ease;
}
.nav-cta:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 810px;
  padding: 190px clamp(22px, 5vw, 76px) 120px;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
.hero::before {
  position: absolute;
  top: -16vw;
  right: 17vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(242, 238, 229, 0.1);
  border-radius: 50%;
  content: "";
}
.hero-copy { position: relative; z-index: 2; width: min(710px, 55%); }
.eyebrow {
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.method-copy h2,
.contact-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.89;
}
.hero h1 { max-width: 740px; font-size: clamp(62px, 7.4vw, 116px); }
em { font-weight: 400; }
.hero h1 em { color: var(--acid); }
.hero-intro {
  width: min(510px, 90%);
  margin: 35px 0 28px;
  color: rgba(242, 238, 229, 0.7);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(242, 238, 229, 0.45);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.text-link span { transition: transform 0.25s; }
.text-link:hover span { transform: translateY(4px); }
.hero-visual {
  position: absolute;
  z-index: 1;
  top: 145px;
  right: clamp(22px, 5vw, 76px);
  width: 38%;
  height: 570px;
}
.hero-photo { position: absolute; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.04); }
.hero-photo-main { top: 0; right: 0; width: 76%; height: 490px; }
.hero-photo-main img { object-position: center 22%; }
.hero-photo-small {
  bottom: 0;
  left: 0;
  width: 39%;
  aspect-ratio: 1 / 1.25;
  border: 8px solid var(--ink);
}
.hero-note {
  position: absolute;
  right: 2%;
  bottom: 30px;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 0.9;
  transform: rotate(-7deg);
}
.hero-courses {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--ink);
  background: var(--acid);
}
.hero-courses ul {
  display: grid;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 76px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}
.hero-courses li {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-courses li:not(:first-child) { border-left: 1px solid rgba(23, 22, 18, 0.16); }
.hero-courses li::before { color: var(--orange); content: "◆"; font-size: 7px; }

.teachers-section { padding: 125px clamp(22px, 5vw, 76px) 145px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 10vw;
  align-items: end;
  margin-bottom: 80px;
}
.section-heading h2 { font-size: clamp(66px, 8vw, 126px); }
.section-heading h2 em { color: var(--orange); }
.section-heading > p {
  max-width: 440px;
  margin: 0 0 9px;
  color: rgba(23, 22, 18, 0.68);
  font-size: 17px;
  line-height: 1.55;
}
.teachers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.teacher-card {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 555px;
  border-bottom: 1px solid var(--line);
}
.teacher-card:nth-child(odd) { border-right: 1px solid var(--line); }
.teacher-card:nth-child(4n + 3) .teacher-photo,
.teacher-card:nth-child(4n + 4) .teacher-photo { order: 2; }
.teacher-photo { min-width: 0; overflow: hidden; background: var(--paper-deep); }
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72);
  transition: filter 0.6s, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.teacher-photo-top img { object-position: center top; }
.teacher-card:hover .teacher-photo img { filter: saturate(1); transform: scale(1.025); }
.teacher-info { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 28px clamp(22px, 3vw, 48px) 32px; }
.teacher-number { position: absolute; top: 29px; right: 28px; margin: 0; color: rgba(23,22,18,.45); font-size: 10px; letter-spacing: .12em; }
.teacher-subject { margin: 1px 0 44px; color: var(--orange); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.teacher-info h3 {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.1vw, 68px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.83;
}
.teacher-bio { margin: 0 0 22px; color: rgba(23, 22, 18, 0.67); font-size: 13px; line-height: 1.55; }
.instagram-link {
  display: flex;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.instagram-link span { transition: transform .25s; }
.instagram-link:hover span { transform: translate(3px, -3px); }

.method-section {
  display: grid;
  grid-template-columns: 0.36fr 1fr 0.62fr;
  gap: 6vw;
  padding: 130px clamp(22px, 5vw, 76px);
  color: var(--paper);
  background: var(--orange);
}
.method-label { display: flex; flex-direction: column; justify-content: space-between; }
.method-label span { font-family: var(--serif); font-size: 96px; line-height: 1; }
.method-copy h2 { font-size: clamp(65px, 7.6vw, 116px); }
.method-copy h2 em { color: var(--ink); }
.method-copy > p { max-width: 570px; margin: 42px 0 0; font-size: 17px; line-height: 1.65; }
.method-points { align-self: end; border-top: 1px solid rgba(242,238,229,.4); }
.method-points div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(242,238,229,.4); align-items: baseline; }
.method-points strong { font-size: 10px; font-weight: 500; }
.method-points span { font-family: var(--serif); font-size: 23px; }

.contact-section {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 100px 22px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
  overflow: hidden;
}
.contact-section::before,
.contact-section::after {
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(242,238,229,.12);
  border-radius: 50%;
  content: "";
}
.contact-section::before { top: -160px; left: -90px; }
.contact-section::after { right: -100px; bottom: -170px; }
.contact-mark {
  position: absolute;
  color: rgba(242,238,229,.025);
  font-family: var(--serif);
  font-size: min(45vw, 680px);
  line-height: 1;
  white-space: nowrap;
}
.contact-content { position: relative; z-index: 2; width: min(940px, 100%); }
.contact-content h2 { font-size: clamp(68px, 9.3vw, 142px); }
.contact-content h2 em { color: var(--acid); }
.whatsapp-button {
  display: inline-flex;
  width: min(470px, 100%);
  margin-top: 52px;
  padding: 19px 21px 19px 27px;
  border-radius: 100px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--acid);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s, background .25s;
}
.whatsapp-button:hover { background: var(--paper); transform: translateY(-3px); }
.whatsapp-button b { font-size: 20px; font-weight: 400; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 32px clamp(22px, 5vw, 76px);
  align-items: center;
  color: rgba(23,22,18,.62);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: .04em;
}
.site-footer > :last-child { justify-self: end; }
.site-footer address { font-style: normal; line-height: 1.5; text-align: center; }
.footer-brand { width: 105px; height: 50px; padding: 5px 7px; background: #fff; overflow: hidden; }
.footer-brand img { width: 100%; }
.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 20px;
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  place-items: center;
  color: #102513;
  background: #73e67b;
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
  transition: transform .25s;
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.floating-whatsapp svg { width: 25px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { min-height: 750px; }
  .hero-copy { width: 60%; }
  .hero-visual { width: 40%; opacity: .72; }
  .teacher-card { grid-template-columns: 48% 52%; min-height: 510px; }
  .teacher-info { padding-inline: 24px; }
  .method-section { grid-template-columns: 1fr 0.55fr; }
  .method-label { display: none; }
}

@media (max-width: 760px) {
  .site-header { height: 88px; padding: 12px 20px; }
  .brand { width: 120px; height: 58px; padding: 6px; }
  .menu-button {
    position: relative;
    z-index: 3;
    display: grid;
    width: 45px;
    height: 45px;
    padding: 13px 10px;
    border: 1px solid rgba(242,238,229,.5);
    border-radius: 50%;
    align-content: center;
    gap: 6px;
    color: var(--paper);
    background: transparent;
  }
  .menu-button span:not(.sr-only) { display: block; height: 1px; background: currentColor; transition: .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 135px 28px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: .25s;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { font-family: var(--serif); font-size: 40px; font-weight: 400; }
  .main-nav .nav-cta { margin-top: auto; font-family: var(--sans); font-size: 14px; }
  .hero { min-height: 0; padding: 145px 22px 100px; }
  .hero::before { width: 90vw; height: 90vw; right: -30vw; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(59px, 18vw, 82px); }
  .hero-intro { font-size: 16px; }
  .hero-visual { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 300px; margin-top: 50px; opacity: 1; }
  .hero-photo-main { width: 78%; height: 285px; }
  .hero-photo-small { width: 35%; }
  .hero-note { right: 0; bottom: 4px; }
  .hero-courses ul { padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-courses li { min-height: 40px; font-size: 11px; }
  .hero-courses li:nth-child(4) { border-left: 0; }
  .hero-courses li:nth-child(n + 4) { border-top: 1px solid rgba(23, 22, 18, 0.16); }
  .teachers-section { padding: 85px 22px 95px; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; margin-bottom: 55px; }
  .section-heading h2 { font-size: 74px; }
  .section-heading > p { font-size: 15px; }
  .teachers-grid { grid-template-columns: 1fr; }
  .teacher-card,
  .teacher-card:nth-child(odd) { min-height: 500px; border-right: 0; }
  .teacher-card:nth-child(4n + 3) .teacher-photo,
  .teacher-card:nth-child(4n + 4) .teacher-photo { order: initial; }
  .teacher-info h3 { font-size: 50px; }
  .teacher-subject { margin-bottom: 34px; }
  .method-section { grid-template-columns: 1fr; gap: 65px; padding: 90px 22px; }
  .method-copy h2 { font-size: 70px; }
  .method-copy > p { font-size: 15px; }
  .contact-section { min-height: 620px; }
  .contact-content h2 { font-size: 72px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 15px; }
  .site-footer address { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 480px) {
  .hero { padding-bottom: 145px; }
  .hero-courses ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-courses li:nth-child(4) { border-left: 1px solid rgba(23, 22, 18, 0.16); }
  .hero-courses li:nth-child(odd) { border-left: 0; }
  .hero-courses li:nth-child(n + 3) { border-top: 1px solid rgba(23, 22, 18, 0.16); }
  .teacher-card { grid-template-columns: 46% 54%; min-height: 455px; }
  .teacher-info { padding: 23px 17px 24px; }
  .teacher-number { top: 24px; right: 17px; }
  .teacher-info h3 { font-size: 40px; }
  .teacher-bio { font-size: 11.5px; line-height: 1.48; }
  .instagram-link { font-size: 9.5px; overflow-wrap: anywhere; }
  .contact-content h2 { font-size: 62px; }
  .whatsapp-button { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
