/* ==========================================================================
   Mimeticclass — estilos
   ========================================================================== */

/* Fontes (auto-hospedadas) ------------------------------------------------ */
@font-face { font-family: "Playfair"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/playfair-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/playfair-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/lato-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/lato-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/lato-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/lato-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Tokens ------------------------------------------------------------------ */
:root {
  --gold: #d3b588;
  --gold-dark: #b8955f;
  --steel: #91999d;
  --text-soft: #a3a3a3;
  --text-mid: #818181;
  --text-strong: #6f6f6f;
  --white: #fff;

  --font-serif: "Playfair", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 980px;
  --container-narrow: 600px;
  --gutter: 20px;
  --radius: 10px;
  --section-y: clamp(64px, 9vw, 96px);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.4 var(--font-sans);
  color: var(--text-strong);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.icon { width: 27px; height: 27px; display: block; }

/* Tipografia ---------------------------------------------------------------- */
.display, .title {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}
.display { font-size: clamp(32px, 4.2vw, 48px); line-height: 1; color: var(--white); }
.display--center { text-align: center; }
.title { font-size: clamp(28px, 3.4vw, 39px); text-align: center; }
.title--gold { color: var(--gold); }
.title--light { color: var(--white); }

.prose { font-size: 16px; line-height: 1.5; color: var(--text-soft); }
.prose > * + * { margin-top: 1.5em; }

/* Botões -------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 18px 48px;
  border-radius: var(--radius);
  font: 400 18px/1.2 var(--font-sans);
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(.94); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--light { background: var(--white); color: var(--text-mid); }
.btn--gold  { background: var(--gold); color: var(--white); }
.btn--steel { background: var(--steel); color: var(--white); }
.btn--wide  { width: 100%; max-width: 395px; padding-inline: 24px; }

/* Seções -------------------------------------------------------------------- */
.section { position: relative; padding-block: var(--section-y); background: center / cover no-repeat; }
.section--light {
  background-color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.39), rgba(255,255,255,.39)), image-set(url(../img/fundo-claro.webp) 1x, url(../img/fundo-claro@2x.webp) 2x);
}
.section--beige { background-image: image-set(url(../img/fundo-bege.webp) 1x, url(../img/fundo-bege@2x.webp) 2x); }
.section--grey  { background-color: #6b6b6b; background-image: image-set(url(../img/fundo-cinza.webp) 1x, url(../img/fundo-cinza@2x.webp) 2x); color: var(--white); }
.section--silk  {
  background-color: #8a8a8a;
  background-image: linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)), image-set(url(../img/fundo-seda.webp) 1x, url(../img/fundo-seda@2x.webp) 2x);
  color: var(--white);
}

/* Emblema dourado que "costura" duas seções */
.divider {
  position: absolute; z-index: 2; top: 0; left: 50%;
  width: 76px; height: 76px;
  transform: translate(-50%, -50%);
}

/* Topo ---------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #8a8a8a center 75% / cover no-repeat;
  background-image: linear-gradient(rgba(0,0,0,.19), rgba(0,0,0,.19)), image-set(url(../img/fundo-seda.webp) 1x, url(../img/fundo-seda@2x.webp) 2x);
  color: var(--white);
}
.hero__inner { position: relative; min-height: 548px; padding-top: 19px; }
.hero__bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.hero__logo { width: 156px; }
.social { display: flex; gap: 12px; }
.social a { color: var(--white); transition: opacity .2s; }
.social a:hover { opacity: .8; }

.hero__text { position: relative; z-index: 2; max-width: 520px; margin-top: 45px; padding-bottom: 56px; }
.hero__text p { max-width: 386px; margin: 12px 0 28px; line-height: 1.4; }
.hero__text .btn { width: 100%; max-width: 395px; padding-inline: 24px; }

.hero__media { position: absolute; inset: 0 var(--gutter) 0 auto; width: 608px; pointer-events: none; }
.hero__emblem { position: absolute; top: 0; right: 0; width: 608px; height: 513px; object-fit: cover; }
.hero__people { position: absolute; bottom: 0; right: 30px; width: auto; height: 494px; }

/* Depoimentos (vídeos) ------------------------------------------------------ */
.videos { display: flex; justify-content: center; gap: 50px; margin-top: 36px; }
.video {
  position: relative; display: block; padding: 0; border: 0; cursor: pointer;
  width: 270px; aspect-ratio: 9 / 16; background: #000; overflow: hidden;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video:hover img { transform: scale(1.03); }
.video::after { /* botão de play */
  content: ""; position: absolute; top: 50%; left: 50%; width: 68px; height: 48px;
  transform: translate(-50%, -50%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Crect width='68' height='48' rx='14' fill='%23f00'/%3E%3Cpath d='M27 14v20l18-10z' fill='%23fff'/%3E%3C/svg%3E");
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::after { display: none; }
.video:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.section--video { display: flex; justify-content: center; padding-block: 30px; }
.video--large { width: 288px; }

/* Professoras ----------------------------------------------------------------- */
.teacher { display: grid; grid-template-columns: 390px 1fr; gap: 50px; align-items: center; max-width: 900px; margin-inline: auto; }
.teacher + .teacher { margin-top: 20px; }
.teacher__photo { width: 390px; aspect-ratio: 390 / 317; object-fit: cover; border-radius: var(--radius); }
.teacher__text { max-width: 330px; }
.teacher__text .title { text-align: left; font-size: 30px; margin: 14px 0 20px; }
.teacher__text p { font-size: 14px; line-height: 1.4; }
.teacher__social { display: inline-block; color: var(--white); }
.teacher__social .icon { width: 31px; height: 31px; }

.teacher--reverse .teacher__photo { order: 2; }
.teacher--reverse { grid-template-columns: 1fr 390px; }
.teacher--reverse .teacher__text { justify-self: end; text-align: right; }
.teacher--reverse .teacher__text .title { text-align: right; }

.teachers__summary {
  max-width: 950px; margin: 60px auto 0; padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,.35);
  font-size: 18px; font-weight: 700; text-align: center; line-height: 1.6;
}
.teachers__summary { text-wrap: balance; padding-inline: calc((100% - 460px) / 2); }

/* Listas ---------------------------------------------------------------------- */
.bullets li::before { content: "• "; }
.features li + li { margin-top: 1.5em; }
.features strong { font-weight: 400; }
.checks li::before { content: "✔️ "; }

/* Cursos ---------------------------------------------------------------------- */
.course { padding-block: 60px; background: center / cover no-repeat; }
.course--beige { padding-top: var(--section-y); background-image: image-set(url(../img/fundo-bege.webp) 1x, url(../img/fundo-bege@2x.webp) 2x); color: var(--white); }
.course--light {
  background-color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.33), rgba(255,255,255,.33)), image-set(url(../img/fundo-claro.webp) 1x, url(../img/fundo-claro@2x.webp) 2x);
  color: var(--text-mid);
}
.course--mist {
  background-color: #eee;
  background-image: linear-gradient(rgba(163,163,163,.17), rgba(163,163,163,.17)), image-set(url(../img/fundo-claro.webp) 1x, url(../img/fundo-claro@2x.webp) 2x);
  color: var(--text-strong);
}
.course .title { margin-bottom: 48px; }

.course__grid { display: grid; grid-template-columns: minmax(0, 1fr) 413px; gap: 60px; align-items: center; }
.course__text { max-width: 520px; font-size: 14px; line-height: 1.35; }
.course__text > * + * { margin-top: 1.1em; }
.course__title { font: 700 clamp(22px, 2.2vw, 26px)/1.2 var(--font-sans); text-transform: uppercase; }
.course__lead { font-weight: 700; }
.course--light .course__lead, .course--mist .course__lead { font-weight: 400; }
.course__text .btn { margin-top: 28px; }
.course__photo { width: 100%; max-width: 413px; aspect-ratio: 413 / 320; object-fit: cover; border-radius: 20px; justify-self: end; }
.course--light .course__photo { aspect-ratio: 390 / 374; max-width: 410px; }

/* Diferenciais ---------------------------------------------------------------- */
.section--silk { padding-block: 64px 80px; }
.highlights { width: fit-content; margin: 28px auto 0; font-size: 14px; line-height: 1.35; }
.highlights li::before { content: "•"; margin-right: 8px; }

/* Oferta (vagas limitadas) ---------------------------------------------------- */
.offer { padding-block: 100px 60px; }
.offer__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 900px; }
.offer__grid::before { /* linha vertical que desce do emblema */
  content: ""; position: absolute; top: -62px; bottom: -14px; left: 50%; width: 1px; background: #c9c9c9;
}
.offer__col { padding-inline: 50px; text-align: center; font-size: 14px; line-height: 1.3; color: var(--text-strong); }
.offer__col p { margin-top: 18px; }
.offer__title { font: 400 28px/1.05 var(--font-sans); color: var(--gold); text-transform: uppercase; }
.offer__title--big { font-size: 33px; }
.offer__col:first-child p { max-width: 320px; margin-inline: auto; }
.offer .btn { margin-top: 28px; }

/* Chamada final + rodapé ---------------------------------------------------- */
.cta { text-align: center; padding-block: 80px 40px; }
.cta__title { font: 400 33px/1.15 var(--font-sans); }
.cta__title strong { display: block; font-weight: 700; }
.cta p { max-width: 460px; margin: 24px auto 0; font-size: 14px; line-height: 1.4; }
.cta p + p { margin-top: 16px; }
.cta .btn { margin-top: 30px; width: 100%; max-width: 395px; padding-inline: 24px; }
.cta__logo { width: 142px; margin: 48px auto 0; }

/* Mobile ---------------------------------------------------------------------- */
@media (max-width: 800px) {
  .hero__inner { min-height: 0; padding-bottom: 0; display: flex; flex-direction: column; }
  .hero__bar { align-items: center; }
  .hero__logo { width: 120px; }
  .hero__text { margin-top: 32px; padding-bottom: 32px; text-align: center; max-width: none; }
  .hero__text p { margin-inline: auto; }
  /* Foto num bloco próprio, abaixo do botão (nunca por cima do texto) */
  .hero__media { position: relative; inset: auto; width: 100%; max-width: 380px; height: 400px; margin: 0 auto; }
  .hero__emblem { inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
  .hero__people { left: 50%; right: auto; transform: translateX(-50%); height: 100%; width: auto; max-width: none; }

  .videos { flex-direction: column; align-items: center; gap: 24px; }

  .teacher, .teacher--reverse { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .teacher + .teacher { margin-top: 56px; }
  .teacher__photo, .teacher--reverse .teacher__photo { order: 0; width: 100%; max-width: 390px; margin-inline: auto; }
  .teacher__text, .teacher--reverse .teacher__text { justify-self: center; text-align: center; max-width: 390px; }
  .teacher__text .title, .teacher--reverse .teacher__text .title { text-align: center; font-size: 26px; }
  .teachers__summary { padding-inline: 0; font-size: 16px; }

  .course__grid { grid-template-columns: 1fr; gap: 32px; }
  .course__text { max-width: none; text-align: center; }
  .course__photo { order: -1; justify-self: center; }
  .checks { width: fit-content; margin-inline: auto; text-align: left; }

  .offer__grid { grid-template-columns: 1fr; gap: 56px; }
  .offer__grid::before { display: none; }
  .offer__col { padding-inline: 0; }
}

/* Cookies (LGPD) ------------------------------------------------------------- */
.cookie-link { margin-top: 24px !important; }
.cookie-link button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 12px; color: rgba(255,255,255,.75); text-decoration: underline;
}
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-inline: auto; padding: 18px 20px;
  display: flex; gap: 16px; align-items: center;
  background: #fff; color: var(--text-strong); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.18); font-size: 14px; line-height: 1.4;
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent__btn {
  padding: 10px 16px; border: 1px solid #ccc; border-radius: 8px; background: #fff; cursor: pointer;
  font: 400 14px/1 var(--font-sans); color: var(--text-strong);
}
.consent__btn--primary { border-color: var(--gold); background: var(--gold); color: #fff; }
@media (max-width: 560px) {
  .consent { flex-direction: column; align-items: stretch; text-align: center; }
  .consent__actions .consent__btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .video img { transition: none; }
}
