/* ==========================================================
   AMELIA COSTURA — Design System Compartilhado
   Agência Shoot · Jun/2026
   Usado por: ppil-cadastro2, ppil-cadastro3, ppil-cadastro5,
              ppil-aula1, index
   ========================================================== */

/* ---------- TOKENS ---------- */
:root {
  --cream:       #FBF3E4;
  --cream-2:     #FFF9EF;
  --white:       #FFFFFF;
  --pink:        #E94E77;
  --pink-soft:   #F9C9D6;
  --pink-bg:     #FDEDF1;
  --green:       #1E7A4C;
  --green-dark:  #15603A;
  --green-soft:  #DBEEDF;
  --yellow:      #F5C242;
  --orange:      #F08A3C;
  --teal:        #3B8FA3;
  --ink:         #4A3B36;
  --ink-soft:    #6E5B53;
  --stitch:      #E9A8BB;
  --radius:      18px;
  --shadow:      0 6px 20px rgba(122,79,60,.10);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

/* ---------- BASE ---------- */
body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display {
  font-family: 'Baloo 2', cursive;
  line-height: 1.15;
}

/* ---------- FUNDO TEXTURA COSTURA ---------- */
.page-bg {
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(
      45deg, transparent, transparent 22px,
      rgba(233,168,187,.13) 22px, rgba(233,168,187,.13) 24px
    ),
    repeating-linear-gradient(
      -45deg, transparent, transparent 22px,
      rgba(233,168,187,.08) 22px, rgba(233,168,187,.08) 24px
    );
}

/* ---------- UTILITÁRIOS ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- STITCH CARD ---------- */
.stitch-card {
  background: var(--white);
  border: 2px dashed var(--stitch);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- EYEBROW ---------- */
.eyebrow {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: .8rem;
  padding: 6px 22px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Baloo 2', cursive; font-weight: 700;
  font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, #27945D, var(--green));
  border: none; border-radius: 14px; cursor: pointer;
  padding: 13px 30px; text-decoration: none;
  box-shadow: 0 5px 0 var(--green-dark), 0 10px 22px rgba(30,122,76,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--green-dark); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn .heart { font-size: 1rem; }
.btn--pink {
  background: linear-gradient(180deg, #F2628A, var(--pink));
  box-shadow: 0 5px 0 #C03A60, 0 10px 22px rgba(233,78,119,.30);
}
.btn--pink:active { box-shadow: 0 3px 0 #C03A60; }

/* ---------- IMAGENS ---------- */
.logo-img { width: 100%; max-width: 420px; max-height: min(280px,28vh); height: auto; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(122,79,60,.12)); }
.hero-img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: center bottom; border-radius: 0 0 var(--radius) 0; display: block; }
.piece-img { width: 100%; border-radius: var(--radius); border: 2px dashed var(--stitch); box-shadow: var(--shadow); margin: 18px 0 22px; }
.teacher-img { width: 100%; border-radius: var(--radius); border: 2px dashed var(--stitch); box-shadow: var(--shadow); }

/* ---------- POLAROID ---------- */
.polaroid-frame {
  display: block; background: var(--white); border-radius: 12px;
  padding: 14px 14px 32px; box-shadow: 0 8px 30px rgba(122,79,60,.18), 0 2px 8px rgba(233,78,119,.12);
  position: relative; margin: 18px 0 22px; width: 100%;
}
.polaroid-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  border: 2px dashed var(--stitch); pointer-events: none; z-index: 1;
}
.polaroid-frame img { width: 100%; border-radius: 8px; display: block; }
.polaroid-label { text-align: center; font-family: 'Baloo 2', cursive; font-weight: 700; font-size: .9rem; color: var(--pink); margin-top: 10px; letter-spacing: .08em; }

/* ---------- HERO ---------- */
.hero {
  padding: 0;
  background-image: linear-gradient(rgba(251,243,228,.55), rgba(251,243,228,.55)),
    url('https://agents.agenciashoot.com.br/cdn/ppij/hero-bg.jpg');
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.hero-grid {
  display: grid; grid-template-columns: 47% 53%; gap: 0; align-items: stretch;
  max-width: 1140px; margin: 0 auto; min-height: clamp(580px,90vh,740px);
}
.hero-photo { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.hero-bubble {
  position: absolute; left: 18px; bottom: 20px; max-width: 175px;
  background: var(--white); border: 2px dashed var(--stitch); border-radius: 14px;
  padding: 9px 13px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow); font-size: .8rem;
}
.hero-bubble .hl-pink { color: var(--pink); }
.hero-content { padding: 12px 30px 16px 44px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-text-box { background: rgba(255,255,255,.9); border-radius: 24px; padding: 20px 28px; box-shadow: 0 4px 20px rgba(0,0,0,.05); width: 100%; max-width: 520px; margin-bottom: 10px; }
.logo-block { margin-bottom: 1px; }
.logo-block .eyebrow { margin-bottom: 2px; }
.logo-title { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: clamp(1.9rem,3.8vw,2.6rem); line-height: 1.02; }
.logo-title .w1 { color: var(--teal); }
.logo-title .w2 { color: var(--pink); }
.logo-title .w3 { color: var(--green); }
.hero-headline { font-size: clamp(1.1rem,2.2vw,1.4rem); font-weight: 700; margin-top: 2px; }
.hero-headline .g { color: var(--green); }
.hero-headline .o { color: var(--orange); }
.hero-sub { margin-top: 3px; font-size: .88rem; color: var(--ink-soft); max-width: 480px; }
.hero-sub strong { color: var(--pink); }
.hero-badges {
  display: flex; gap: 0; margin: 8px 0; width: 100%; max-width: 520px;
  background: transparent; overflow: hidden;
}
.hero-badges .badge {
  flex: 1; padding: 7px 8px; font-size: .78rem; font-weight: 800; line-height: 1.3;
  display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink);
}
.hero-badges .badge + .badge { border-left: 1px solid rgba(233,168,187,.4); }
.hero-badges .ico { font-size: 1.3rem; }

/* ---------- FORMULÁRIO ---------- */
.form-card { width: 100%; max-width: 520px; }
.form-card form { display: flex; flex-direction: column; gap: 6px; }
.field {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px solid var(--pink-soft); border-radius: 12px;
  padding: 9px 14px;
}
.field:focus-within { border-color: var(--pink); }
.field .f-ico { color: var(--pink); font-size: 1.05rem; }
.field input {
  border: none; outline: none; flex: 1;
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: var(--ink); background: transparent;
}
.field input::placeholder { color: #B9A79F; }
.form-note { margin-top: 14px; font-family: 'Baloo 2', cursive; font-weight: 700; color: var(--green); letter-spacing: .1em; font-size: .85rem; text-transform: uppercase; }
.form-note::before, .form-note::after { content: "— ✂ —"; color: var(--pink); margin: 0 8px; font-size: .8rem; }
.lgpd-tacito { font-size: .78rem; color: var(--ink-soft); line-height: 1.4; margin-top: 8px; text-align: center; max-width: 480px; }
.lgpd-tacito a { color: var(--green); text-decoration: underline; }
.form-erro { background: #FFF0F3; border: 1.5px solid var(--pink); border-radius: 10px; color: #C03A60; font-size: .88rem; font-weight: 700; padding: 10px 14px; text-align: center; }
.btn[disabled] { opacity: .7; cursor: not-allowed; transform: none !important; }

/* ---------- SEÇÃO QUEM PODE ---------- */
.who { background: var(--cream-2); border-top: 2px dashed var(--stitch); border-bottom: 2px dashed var(--stitch); }
.section-title { text-align: center; font-size: clamp(1.5rem,3.4vw,2.1rem); font-weight: 800; margin-bottom: 14px; }
.section-title .pk { color: var(--pink); }
.section-title .gr { color: var(--green); }
.section-intro { max-width: 760px; margin: 0 auto 38px; text-align: center; color: var(--ink-soft); }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(205px,1fr)); gap: 18px; margin-bottom: 40px; }
.who-card { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.who-card .emoji { font-size: 2.2rem; width: 74px; height: 74px; border-radius: 50%; background: var(--pink-bg); display: flex; align-items: center; justify-content: center; border: 2px dashed var(--stitch); }
.who-card h3 { font-size: 1.08rem; }
.who-card h3.c-pink { color: var(--pink); }
.who-card h3.c-green { color: var(--green); }
.who-card h3.c-teal { color: var(--teal); }
.who-card h3.c-orange { color: var(--orange); }
.who-card p { font-size: .9rem; color: var(--ink-soft); }
.who-footer { text-align: center; }
.who-footer p { margin-bottom: 20px; font-weight: 800; font-size: 1.1rem; }

/* ---------- COMO SERÁ / PEÇA ---------- */
.schedule-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.lessons-intro { color: var(--ink-soft); margin-bottom: 28px; font-size: .98rem; white-space: pre-line; }
.lesson { display: grid; grid-template-columns: 64px 1fr; gap: 18px; position: relative; padding-bottom: 30px; }
.lesson:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; border-left: 2px dashed var(--stitch); }
.lesson .l-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px dashed var(--stitch); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow); position: relative; z-index: 1; }
.lesson h3 { font-size: 1.05rem; }
.lesson h3.lg { color: var(--green); }
.lesson h3.lp { color: var(--pink); }
.lesson h3.lo { color: var(--orange); }
.lesson .l-date { font-weight: 800; font-size: .85rem; color: var(--ink); }
.lesson p { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }
.live-note { display: inline-block; background: #FFF1DB; color: #C76A1B; font-weight: 800; font-size: .8rem; padding: 8px 14px; border-radius: 10px; margin-top: 8px; }
.piece h2 { text-align: left; }
.piece-name { font-size: 1.6rem; }
.piece-name .l1 { color: var(--green); display: block; }
.piece-name .l2 { color: var(--pink); }
.piece blockquote { font-style: italic; color: var(--ink-soft); border-left: 4px solid var(--pink-soft); padding-left: 14px; margin: 14px 0; font-size: .95rem; }
.piece p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; }
.piece p strong { color: var(--ink); }
.piece .btn { margin-top: 8px; }

/* ---------- PROFESSORA ---------- */
.teacher { background: var(--cream-2); border-top: 2px dashed var(--stitch); border-bottom: 2px dashed var(--stitch); }
.teacher-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.teacher h2 { font-size: 1.4rem; margin-bottom: 4px; }
.teacher .t-name { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 2.6rem; color: var(--pink); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.teacher .t-name::before, .teacher .t-name::after { content: "⁘"; color: var(--yellow); font-size: 1.4rem; }
.t-checks { list-style: none; margin-bottom: 20px; }
.t-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: .98rem; margin-bottom: 8px; }
.t-checks li::before { content: "✔"; color: var(--green); font-weight: 800; }
.teacher p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; }
.t-bubble { margin-top: 18px; display: inline-block; background: var(--white); border: 2px dashed var(--stitch); border-radius: 24px; padding: 16px 22px; color: var(--pink); font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 1.02rem; box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 34px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: start; }
.faq-item { overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 12px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .98rem; color: var(--ink); padding: 16px 18px; }
.faq-q .q-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--pink-bg); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.faq-q .plus { margin-left: auto; font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 1.4rem; color: var(--pink); transition: transform .25s ease; line-height: 1; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: .92rem; color: var(--ink-soft); }
.faq-a-inner { padding: 0 20px 18px 64px; }
.faq-cta { text-align: center; margin-top: 36px; }

/* ---------- FAIXA FINAL ---------- */
.final { background: var(--green); color: #fff; text-align: center; padding: 54px 0; position: relative; }
.final::before, .final::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 3px dashed rgba(255,255,255,.45); }
.final::before { top: 10px; }
.final::after { bottom: 10px; }
.final h2 { font-size: clamp(1.4rem,3vw,1.9rem); margin-bottom: 6px; }
.final .fy { color: var(--yellow); font-style: italic; }
.final .btn--pink { margin-top: 22px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--cream-2); padding: 48px 0 0; }
.numbers { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; padding: 28px; margin-bottom: 40px; }
.numbers h3 { color: var(--pink); font-size: 1.2rem; margin-bottom: 8px; text-transform: uppercase; }
.numbers .n-desc { font-size: .85rem; color: var(--ink-soft); }
.numbers .n-desc strong { color: var(--ink); }
.num-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 8px 22px; font-size: .9rem; font-weight: 700; }
.num-grid span::before { content: "📞 "; font-size: .8rem; }
.copyright { background: var(--green-dark); color: #fff; text-align: center; padding: 20px; font-size: .78rem; line-height: 1.6; }
.copyright strong { display: block; font-size: .85rem; margin-bottom: 4px; }
.copyright em { opacity: .75; font-style: normal; }

/* ---------- DISCLOSURE IA ---------- */
.hero-photo::after, .polaroid-frame::after {
  content: "Imagem gerada por IA";
  position: absolute; bottom: 10px; right: 12px;
  font-size: 0.7rem; color: #5D5D5D;
  background: rgba(255,255,255,.75); padding: 2px 8px; border-radius: 4px;
  pointer-events: none; z-index: 10; line-height: 1.4;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 960px) {
  .hero { padding: 0 !important; min-height: auto !important; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; order: 2; }
  .hero-content { padding: 4px 16px 0 !important; order: 1; }
  .logo-block { margin: 0 !important; padding: 0 !important; }
  .logo-img { max-height: 90px !important; }
  .hero-text-box { margin-top: 2px !important; padding: 12px 18px !important; border-radius: 18px !important; }
  .hero-headline { font-size: 1.05rem !important; line-height: 1.2 !important; margin: 0 0 4px !important; }
  .hero-sub { font-size: .8rem !important; margin: 0 !important; }
  .hero-badges { gap: 0 !important; margin: 6px 0 !important; padding: 0 !important; }
  .hero-badges .badge { font-size: .68rem !important; padding: 4px 2px !important; }
  .form-card { margin-top: 4px !important; }
  .field { padding: 8px 12px !important; margin-bottom: 5px !important; }
  .field input { font-size: .85rem !important; }
  .btn { padding: 10px !important; font-size: .93rem !important; margin: 6px 0 4px !important; }
  .schedule-grid, .teacher-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .hero-img { border-radius: var(--radius); width: calc(100% - 40px); margin: 0 20px 24px; max-height: 70vw; object-fit: contain; }
}
@media (max-width: 560px) {
  .hero-badges { flex-direction: row; flex-wrap: nowrap; }
  .hero-badges .badge { flex: 1; font-size: .72rem; padding: 8px 4px; }
  .hero-badges .badge + .badge { border-left: 1px solid rgba(233,168,187,.4); border-top: none; }
  section { padding: 48px 0; }
}
@media (max-width: 414px) {
  .hero-content { padding: 2px 14px 0 !important; }
  .logo-img { max-height: 160px !important; }
  .hero-text-box { padding: 6px 12px !important; }
  .hero-headline { font-size: 1rem !important; }
  .hero-sub { font-size: .78rem !important; }
  .hero-badges .badge { padding: 3px 2px !important; font-size: .66rem !important; }
  .hero-badges { margin: 2px 0 !important; }
  .field { padding: 8px 11px !important; margin-bottom: 2px !important; }
  .btn { padding: 10px 18px !important; font-size: .92rem !important; margin: 2px 0 1px !important; }
}
@media (max-width: 360px) {
  .hero-content { padding: 0 10px 0 !important; }
  .logo-img { max-height: 140px !important; max-width: 320px !important; }
  .hero-text-box { padding: 6px 12px !important; }
  .hero-headline { font-size: .96rem !important; }
  .hero-sub { font-size: .75rem !important; }
  .hero-badges { margin: 2px 0 !important; }
  .hero-badges .badge { font-size: .62rem !important; padding: 3px 2px !important; }
  .field { padding: 7px 10px !important; margin-bottom: 2px !important; }
  .btn { padding: 9px 16px !important; font-size: .9rem !important; margin: 2px 0 1px !important; }
  .hero-photo::after, .polaroid-frame::after { font-size: .65rem; padding: 2px 6px; bottom: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
