/*
  academy.css — página /ez-academy.html (30/09/2026)
  Verde sálvia é a cor EXCLUSIVA da EZ Academy no brand book (Casal Rocha);
  aqui ela assume o papel que o bordô tem no resto do site, e o bordô fica
  como cor de força nos CTAs.
*/
.page-academy {
  --acad-sage: #6B8E70;
  --acad-sage-deep: #3F5A44;
  --acad-sage-soft: #E6ECE3;
  --acad-bordo: #60222C;
  --acad-gold: #AD9364;
  --acad-text: #2A1A1C;
  --acad-muted: #6A5557;
  --acad-bg: #F5F7ED;
  --acad-bg-alt: #EDE5D8;
  background: var(--acad-bg);
  color: var(--acad-text);
}
html:has(.page-academy) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.page-academy) { scroll-behavior: auto; } }
.page-academy [id] { scroll-margin-top: 96px; }

/* ── tipografia comum ── */
.acad-eyebrow {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--acad-sage);
  margin: 0 0 20px;
}
.acad-eyebrow-light { color: #C9D6C4; }
.acad-h2 {
  font-family: 'IvyOra Text', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--acad-text);
  margin: 0 0 20px;
  text-wrap: balance;
}
.acad-h2-light { color: #F5F7ED; }
.acad-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.acad-lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--acad-muted);
  margin: 0;
}

/* ── botões ── */
.acad-btn {
  display: inline-block;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid var(--acad-bordo);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  text-align: center;
}
.acad-btn-solid { background: var(--acad-bordo); color: #F5F7ED; }
.acad-btn-solid:hover { background: transparent; color: var(--acad-bordo); }
.acad-btn-line { background: transparent; color: var(--acad-bordo); }
.acad-btn-line:hover { background: var(--acad-bordo); color: #F5F7ED; }
.acad-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acad-bordo);
  text-decoration: none;
  border-bottom: 1px solid rgba(96, 34, 44, 0.3);
  padding-bottom: 6px;
  transition: border-color 0.3s, gap 0.3s;
}
.acad-link::after { content: '→'; }
.acad-link:hover { border-color: var(--acad-bordo); gap: 14px; }

/* ── 1. hero ── */
.acad-hero {
  padding: 150px 32px 90px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(107, 142, 112, 0.18), transparent 55%),
    linear-gradient(180deg, var(--acad-bg) 0%, var(--acad-sage-soft) 100%);
}
.acad-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.acad-hero-title {
  font-family: 'IvyOra Text', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--acad-text);
  margin: 0 0 28px;
  text-wrap: balance;
}
.acad-hero-lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--acad-muted);
  max-width: 560px;
  margin: 0 0 40px;
}
.acad-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.acad-hero-ctas .acad-btn { padding: 16px 24px; letter-spacing: 0.14em; }
.acad-hero-photo {
  margin: 0;
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}
.acad-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 999px 999px 4px 4px;
  box-shadow: 0 30px 70px rgba(63, 90, 68, 0.22);
}
/* moldura dourada em arco, deslocada, eco da "moldura institucional" */
.acad-hero-photo::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--acad-gold);
  border-radius: 999px 999px 4px 4px;
  pointer-events: none;
}

/* ── 2. filosofia ── */
.acad-phil { padding: 120px 0; }
.acad-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(173, 147, 100, 0.4);
}
.acad-pillar {
  padding: 48px 36px 8px;
  border-right: 1px solid rgba(173, 147, 100, 0.4);
}
.acad-pillar:last-child { border-right: 0; }
.acad-pillar-num {
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--acad-gold);
  letter-spacing: 0.2em;
}
.acad-pillar-name {
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 4vw, 52px);
  color: var(--acad-sage-deep);
  margin: 14px 0 4px;
  line-height: 1;
}
.acad-pillar-sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acad-sage);
  margin: 0 0 22px;
}
.acad-pillar-desc { font-size: 15px; line-height: 1.8; color: var(--acad-muted); margin: 0; }

/* ── 3. para quem é ── */
.acad-who {
  background: var(--acad-sage-deep);
  padding: 110px 32px;
  position: relative;
  overflow: hidden;
}
.acad-who::after {
  content: 'EZ';
  position: absolute;
  right: -2vw;
  bottom: -9vw;
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-size: 34vw;
  line-height: 1;
  color: rgba(245, 247, 237, 0.05);
  pointer-events: none;
}
.acad-who-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.acad-who-text {
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.65;
  color: rgba(245, 247, 237, 0.88);
  margin: 0;
}

/* ── 4. jornada ── */
.acad-journey { padding: 120px 0; background: var(--acad-bg-alt); }
.acad-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.acad-step {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--acad-bg);
  border: 1px solid rgba(173, 147, 100, 0.35);
  min-height: 420px;
}
.acad-step:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.acad-step:nth-child(even) .acad-step-photo { order: 2; }
/* a foto nao dita a altura do card (retrato esticava o bloco 02) */
.acad-step-photo { margin: 0; overflow: hidden; position: relative; }
.acad-step-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.9s ease;
}
.acad-step:hover .acad-step-photo img { transform: scale(1.04); }
.acad-step-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.acad-step-num {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(107, 142, 112, 0.22);
}
.acad-step-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--acad-sage);
  margin: 0 0 10px;
}
.acad-step-name {
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--acad-gold);
  margin: 0 0 6px;
}
.acad-step-title {
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  color: var(--acad-text);
  margin: 0 0 18px;
  max-width: 460px;
}
.acad-step-desc { font-size: 15px; line-height: 1.8; color: var(--acad-muted); margin: 0 0 28px; max-width: 520px; }

/* ── 5. sobre a Dra. ── */
.acad-dra { padding: 120px 32px; }
.acad-dra-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.acad-dra-photo { margin: 0; }
.acad-dra-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 50% / 40%;
  border: 2px solid var(--acad-gold);
  box-shadow: 0 0 0 8px var(--acad-bg), 0 0 0 9px var(--acad-gold);
}
.acad-dra-body { font-size: 16px; line-height: 1.85; color: var(--acad-muted); margin: 0 0 32px; }

/* ── 7. FAQ ── */
.acad-faq { padding: 110px 32px; background: var(--acad-sage-soft); }
.acad-faq-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.acad-faq-head { position: sticky; top: 120px; }
.acad-faq-item { border-bottom: 1px solid rgba(63, 90, 68, 0.25); }
.acad-faq-item:first-child { border-top: 1px solid rgba(63, 90, 68, 0.25); }
.acad-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: 'IvyOra Text', 'Cormorant Garamond', serif;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.35;
  color: var(--acad-text);
}
.acad-faq-item summary::-webkit-details-marker { display: none; }
.acad-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--acad-sage);
  transition: transform 0.3s;
}
.acad-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acad-faq-item summary:focus-visible { outline: 2px solid var(--acad-sage); outline-offset: 4px; }
.acad-faq-item p { font-size: 15px; line-height: 1.8; color: var(--acad-muted); margin: 0 0 26px; max-width: 620px; }

/* ── 8. formulário ── */
.acad-form-band { background: var(--acad-bordo); padding: 110px 32px; }
.acad-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.acad-form-left p { font-size: 16px; line-height: 1.8; color: rgba(245, 247, 237, 0.78); margin: 0; }
.acad-form {
  background: var(--acad-bg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.acad-field { margin-bottom: 22px; }
.acad-field-full { grid-column: 1 / -1; }
.acad-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acad-muted);
  margin-bottom: 8px;
}
.acad-field input,
.acad-field select {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 15px;
  color: var(--acad-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(96, 34, 44, 0.3);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color 0.2s;
}
.acad-field select { cursor: pointer; }
.acad-field input:focus,
.acad-field select:focus { outline: none; border-bottom-color: var(--acad-sage); }
.acad-form .optin-block { margin: 6px 0 24px; }
.acad-submit { width: 100%; margin-top: 4px; }
.acad-form .form-legal-links { margin-top: 18px; }

/* ── responsivo ── */
@media (max-width: 960px) {
  .acad-hero { padding: 120px 20px 70px; }
  .acad-hero-inner { grid-template-columns: 1fr; }
  .acad-hero-photo { order: -1; width: min(72%, 320px); }
  .acad-pillars { grid-template-columns: 1fr; }
  .acad-pillar { border-right: 0; border-bottom: 1px solid rgba(173, 147, 100, 0.4); padding: 36px 8px 32px; }
  .acad-step,
  .acad-step:nth-child(even) { grid-template-columns: 1fr; }
  .acad-step:nth-child(even) .acad-step-photo { order: 0; }
  .acad-step-photo { aspect-ratio: 16 / 10; }
  .acad-dra-inner,
  .acad-faq-inner,
  .acad-form-inner { grid-template-columns: 1fr; }
  .acad-dra-photo { width: min(70%, 320px); margin: 0 auto; }
  .acad-faq-head { position: static; }
}
@media (max-width: 560px) {
  .acad-phil, .acad-journey { padding: 80px 0; }
  .acad-who, .acad-dra, .acad-faq, .acad-form-band { padding: 80px 16px; }
  .acad-hero-ctas .acad-btn { width: 100%; }
  .acad-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .acad-head { margin-bottom: 44px; }
  .acad-step-num { font-size: 48px; top: 18px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .acad-step-photo img { transition: none; }
  .acad-step:hover .acad-step-photo img { transform: none; }
}
