/* ============================================================
   BIANCA RIBEIRO — Aula Experimental 2026
   Fonts: Cormorant Garamond + DM Sans
   Palette: Forest Green · Warm Cream · Gold
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --forest:   #0F1B10;
  --forest-2: #182A1A;
  --cream:    #FAF7F0;
  --ivory:    #F2EBD9;
  --gold:     #C8943F;
  --gold-l:   #E5B86A;
  --text:     #1C1208;
  --muted:    #857567;
  --white:    #FFFFFF;
  --border:   #E4DDD2;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Section separator ---------- */
.sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 148, 63, 0.3) 30%, rgba(200, 148, 63, 0.3) 70%, transparent 100%);
  margin: 0;
}
.sep--light {
  background: linear-gradient(90deg, transparent 0%, rgba(200, 148, 63, 0.15) 30%, rgba(200, 148, 63, 0.15) 70%, transparent 100%);
}

/* ---------- CTA Button ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 2.5rem;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--spring), box-shadow 0.2s var(--ease);
}
.cta:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 148, 63, 0.35);
}
.cta:active { transform: scale(0.97) !important; }

.cta--light {
  background: var(--white);
  color: var(--forest);
}
.cta--light:hover {
  background: var(--cream);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.cta--full { width: 100%; justify-content: center; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.eyebrow.center { text-align: center; }
.eyebrow.light  { color: rgba(255, 255, 255, 0.4); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 56fr 44fr;
  min-height: 100svh;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__left {
  position: relative;
  background: var(--forest);
  background-image:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(30, 65, 32, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 100% 0%,  rgba(200, 148, 63, 0.04) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 4.5rem 4.5rem;
}

.logo {
  height: 46px;
  width: auto;
  margin-bottom: auto;
  padding-bottom: 2.5rem;
}

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
  max-width: 540px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: blink 2.4s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.hero__label {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--gold);
  margin-bottom: 0.6rem;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.2vw, 4.25rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-l);
}

.hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.hero__bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__when {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.hero__when-day {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.hero__when-sep {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.hero__when-time {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.scarcity {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.scarcity__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scarcity__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #F0A050;
  letter-spacing: 0.02em;
}

.scarcity__pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: #F0A050;
}

.scarcity__bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.scarcity__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #F0A050);
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scarcity__note {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.35);
}
.scarcity__note strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--forest-2);
}

.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--forest) 0%, transparent 32%);
  pointer-events: none;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  opacity: 0.88;
  filter: saturate(0.9);
}

/* ============================================================
   PARA QUEM
   ============================================================ */
.for-who {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  padding: 6rem 0;
}

.for-who__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.for-who__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 11, 0.45);
  z-index: 1;
}

.for-who .container {
  position: relative;
  z-index: 2;
}

.for-who .eyebrow {
  margin-bottom: 2.75rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  text-transform: none;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.trio__item {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease);
}
.trio__item:last-child { border-right: none; }
.trio__item:hover { background: rgba(255, 255, 255, 0.12); }

.trio__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 1.1rem;
  line-height: 1;
}

.trio__item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.72;
}

/* ============================================================
   O QUE VOCÊ VAI APRENDER
   ============================================================ */
.learn {
  background: var(--ivory);
  padding: 6.5rem 0;
}

.learn__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.learn__img {
  width: 100%;
  border-radius: 6px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.15));
}

.learn__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.18;
  margin-bottom: 2.25rem;
}

.checklist {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}

.checklist li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.65;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.checklist li.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.05rem;
}

/* ============================================================
   PROFESSORA
   ============================================================ */
.teacher {
  background: var(--forest);
  padding: 7rem 0;
}

.teacher__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5.5rem;
  align-items: center;
}

.teacher__photo {
  width: 100%;
  border-radius: 6px;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.5));
}

.teacher__name {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.teacher__text p {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.82;
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--forest-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer__logo {
  height: 38px;
  width: auto;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.footer__social {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
}

.footer__social-link {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}
.footer__social-link:hover { color: var(--gold); }

.footer__email {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  margin-bottom: 0.25rem;
}
.footer__email:hover { color: var(--gold); }

.footer p {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.04em;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--forest) 60%, transparent);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 9, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.modal-overlay.is-open { opacity: 1; }
.modal-overlay[hidden]  { display: none; }

.modal-box {
  background: var(--white);
  border-radius: 8px;
  padding: 2.75rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--spring);
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--border); color: var(--text); }

.modal-box {
  background: linear-gradient(155deg, #FDFAF5 0%, #F4EAD8 100%);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.modal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2.5px solid var(--gold);
  flex-shrink: 0;
}

.modal-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.modal-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0;
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.field input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder { color: #c5bdb5; }
.field input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 148, 63, 0.12);
}
.field input.error {
  border-color: #E85D40;
  box-shadow: 0 0 0 3px rgba(232, 93, 64, 0.1);
}

.modal-privacy {
  text-align: center;
  font-size: 0.7rem;
  color: #ccc;
  margin-top: 0.85rem;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0;
}
.form-success__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.95rem; color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__right {
    order: -1;
    height: 55vw;
    max-height: 420px;
  }
  .hero__right::after {
    background: linear-gradient(to top, var(--forest) 0%, transparent 40%);
  }
  .hero__left {
    padding: 2.5rem 2rem 4rem;
  }
  .hero__body { padding-top: 0; max-width: 100%; }

  .trio {
    grid-template-columns: 1fr;
  }
  .trio__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .trio__item:last-child { border-bottom: none; }

  .learn__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .learn__photo {
    max-width: 480px;
    margin: 0 auto;
  }

  .teacher__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .teacher__photo-col {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .sep { display: none; }
}

@media (max-width: 600px) {

  .hero__left   { padding: 2rem 1.25rem 3.5rem; }
  .hero__title  { font-size: 2.4rem; }
  .for-who      { padding: 4rem 0; }
  .learn        { padding: 4rem 0; }
  .teacher      { padding: 4rem 0; }
  .modal-box    { padding: 1.75rem 1.25rem; }
  .modal-header { flex-direction: column; align-items: flex-start; }

  .sticky-cta   { display: block; }

  .for-who .container,
  .learn .container,
  .teacher .container { padding-inline: 1.25rem; }
}
