/* The sales page (bamboleio.com home), identical to the approved design (Daniel, 12/10/2026: "gostei da página de
   venda, pode fazer, IDÊNTICO"; designs in tmp/ui/bamboleio/venda/). Two layouts, as in the design:
   - computer: sizes measured on the 1920 px design and scaled with the screen width (px / 19.2 = vw), never under 1rem;
     then 15% smaller letters and 20% smaller everything, and a smaller wordmark (Daniel, 12/10/2026: "letras um
     pouco menores"; "logo muito grande; desktop: pode reduzir +20%");
   - phone: sizes measured on the 430 px design, with the text that was smaller raised to 1rem.
   Colours sampled from the design. */
.sale { max-width: none; padding: 0 4.4vw 2rem; gap: clamp(2.5rem, 4.0vw, 4.8rem); }

/* top */
.sale-top { display: flex; align-items: center; gap: clamp(1rem, 1.28vw, 1.6rem); padding: clamp(1rem, 1.92vw, 2.2rem) 4.4vw; }
.sale-top .brand img { width: clamp(9rem, 12vw, 15rem); }
.sale-menu { display: flex; gap: .25rem; margin-left: auto; background: #f1ebfd; border-radius: 999px; padding: .5rem clamp(1rem, 1.28vw, 1.6rem); }
.sale-menu a { font: 800 clamp(1rem, 0.918vw, 1.105rem) var(--title); color: var(--brand); padding: .5rem clamp(.75rem, 1.28vw, 1.6rem); border-radius: 999px; }
.sale-menu a:hover { background: #fff; }
.sale-enter { display: flex; align-items: center; gap: .6rem; font: 800 clamp(1rem, 0.918vw, 1.105rem) var(--title); color: var(--brand); background: #f1ebfd; border-radius: 999px; padding: .5rem clamp(1rem, 1.6vw, 2.0rem) .5rem .5rem; }
.sale-enter img { width: clamp(2rem, 2.32vw, 2.8rem); }
.sale-buy { font-size: clamp(1rem, 1.135vw, 1.36rem); padding: clamp(.6rem, 0.8vw, 0.88rem) clamp(1.5rem, 2.32vw, 2.8rem); }

/* opening */
.hero { position: relative; display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 2vw;
  margin: clamp(1.5rem, 2.4vw, 3.2rem) 0 clamp(1.5rem, 2.8vw, 3.6rem); }   /* room from the menu and from the content (Daniel, 12/10/2026) */
.clouds { position: absolute; left: -4.4vw; top: 0; width: 70vw; max-width: none; opacity: .9; z-index: 0; pointer-events: none; }
.hero-text { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 6.25rem); line-height: 1.08; color: var(--ink); }   /* the design's size (Daniel: "esse pode voltar para o tamanho que estava") */
.hero-buttons { display: flex; flex-wrap: wrap; gap: clamp(.75rem, 1.04vw, 1.2rem); margin: clamp(1.5rem, 2.4vw, 2.8rem) 0 0; }
.hero-buttons .button { font-size: clamp(1.125rem, 1.224vw, 1.53rem); padding: clamp(.8rem, 1.04vw, 1.28rem) clamp(1.5rem, 3.2vw, 4.0rem); }
.play-today { background: #ede6fd; color: var(--brand); }
.hero-art { position: relative; z-index: 1; }
.hero-art img { width: 100%; }

/* sections */
.panel { scroll-margin-top: 1rem; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(.75rem, 0.96vw, 1.2rem); }
.sale h2 { font-size: clamp(1.75rem, 2.55vw, 3.06rem); }
.sec-line { font: 700 clamp(1.125rem, 1.275vw, 1.53rem) var(--title); color: #8a7aa8; margin: -.25rem 0 clamp(1rem, 1.6vw, 2.0rem); }
.sale .more { font-size: clamp(1rem, 1.135vw, 1.36rem); padding: clamp(.5rem, 0.72vw, 0.88rem) clamp(1rem, 1.92vw, 2.2rem); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem clamp(2rem, 3.2vw, 4.0rem); padding: 0; margin: 0 0 clamp(1rem, 1.6vw, 2.0rem); }
.facts li { display: flex; align-items: center; gap: clamp(.5rem, 0.8vw, 1.0rem); font: 800 clamp(1.125rem, 1.275vw, 1.53rem) var(--title); color: var(--brand); }
.facts img { width: clamp(2.5rem, 3.36vw, 4.0rem); }
.sale .row.games, .sale .row.stories { grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 2.0rem); }
.sale .games .cover img { aspect-ratio: 16 / 9; }
.sale .name { font-size: clamp(1.125rem, 1.275vw, 1.53rem); padding: clamp(.75rem, 1.12vw, 1.4rem) clamp(1rem, 1.28vw, 1.6rem) 0; }
.sale .card > :last-child { padding-bottom: clamp(.75rem, 1.12vw, 1.4rem); }
.sale .tag { font-size: clamp(1rem, 1.135vw, 1.36rem); padding: .3rem clamp(.8rem, 1.28vw, 1.6rem); top: 1.2vw; left: 1.2vw; background: #34a83a; }

/* daily games: a board picture on top and the name under it (computer); on the phone, a coloured tile with the piece
   beside the name */
.dtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 2.0rem); }
.dtile { display: grid; background: var(--card); border-radius: 1.5rem; box-shadow: var(--shadow); overflow: hidden; }
.dpic { display: grid; place-items: center; aspect-ratio: 1; padding: 10%; }   /* square, so every picture fits and the name stays in view */
.dpic > .path-in, .dpic > .sud, .dpic > .board3 { width: 100%; }
.dname { font: 800 clamp(1.125rem, 1.275vw, 1.53rem) var(--title); color: var(--brand); padding: clamp(.75rem, 1.12vw, 1.4rem) clamp(1rem, 1.28vw, 1.6rem); }
.conquista .dpic { background: #a572e4; }
.eclipse .dpic { background: #345b9d; }
.zigue .dpic { background: #e69950; }
.sudoku .dpic { background: #f6ad60; }
.board3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4%; place-items: stretch; }
.board3 i { display: grid; place-items: center; border-radius: 12%; }
.conquista .board3 i { background: #8e55d0; }
.eclipse .board3 i { background: #4a73b8; }
.board3 img { width: 74%; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 1.6vw, 2.0rem); }
.plan { background: var(--card); border-radius: 1.5rem; box-shadow: var(--shadow); padding: clamp(1.5rem, 1.92vw, 2.4rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(.75rem, 1.12vw, 1.4rem) clamp(1rem, 1.6vw, 2.0rem); align-items: center; }
.plan.family { background: #f5effe; outline: 3px solid #d9b9fd; }
.plan-icon { width: clamp(5rem, 7.68vw, 9.2rem); }
.plan h3 { font: 900 clamp(1.25rem, 1.564vw, 1.87rem) var(--title); color: var(--ink); margin: 0; }
.price { margin: .2rem 0 0; font: 800 clamp(1.25rem, 1.564vw, 1.87rem) var(--title); color: var(--ink); }
.price strong { font-size: clamp(2rem, 2.55vw, 3.06rem); font-weight: 900; margin-right: .4em; }
.profiles { margin: .2rem 0 0; font: 700 clamp(1rem, 1.275vw, 1.53rem) var(--title); color: #8a7aa8; }
.checks { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(.5rem, 0.72vw, 0.8rem); }
.checks li { display: flex; align-items: center; gap: clamp(.6rem, 0.96vw, 1.2rem); font: 600 clamp(1rem, 1.135vw, 1.36rem) var(--body); color: #6b5a86; }
.checks li::before { content: ""; flex: none; width: clamp(1.4rem, 1.84vw, 2.2rem); aspect-ratio: 1; background: url(/j/img/venda/icone-check.png) center / contain no-repeat; }
.buy { grid-column: 1 / -1; font-size: clamp(1.125rem, 1.414vw, 1.7rem); padding: clamp(.8rem, 1.12vw, 1.4rem); }

/* questions */
.faqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 2.0rem); margin-top: clamp(1rem, 1.6vw, 2.0rem); }
.q { background: var(--card); border-radius: 1.5rem; box-shadow: var(--shadow); padding: clamp(1.25rem, 1.76vw, 2.2rem); }
.q h3 { font: 900 clamp(1.125rem, 1.275vw, 1.53rem) var(--title); color: var(--ink); margin: 0 0 .75rem; }
.q p { margin: 0; font-size: clamp(1rem, 1.135vw, 1.36rem); color: #7a6a95; line-height: 1.5; }

/* who it is for: right after the opening, two cards that send each visitor to their part of the page (Daniel,
   12/10/2026: "uma forma fácil da pessoa achar se é para ela ou para a família"). Same cards and icons as the plans. */
.who-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 2rem); margin-top: clamp(.75rem, 1.6vw, 2rem); }
.who-card { background: var(--card); border-radius: 1.5rem; box-shadow: var(--shadow); padding: clamp(1.25rem, 2vw, 2.5rem);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; gap: .5rem clamp(1rem, 1.6vw, 2rem); align-items: center; transition: transform .15s; }
.who-card:hover { transform: translateY(-4px); }
.who-card.family { background: #f5effe; outline: 3px solid #d9b9fd; }
.who-card img { grid-row: span 2; width: clamp(4.5rem, 6.4vw, 8rem); }
.who-name { font: 900 clamp(1.375rem, 2.2vw, 2.75rem) var(--title); color: var(--ink); align-self: end; }
.who-text { font-size: clamp(1rem, 1.2vw, 1.5rem); color: #6b5a86; align-self: start; }
.who-card .button { grid-column: 1 / -1; margin-top: .5rem; font-size: clamp(1.0625rem, 1.4vw, 1.75rem); padding: clamp(.75rem, 1vw, 1.25rem); }

/* the page for schools, companies and NGOs: what Bamboleio has today and a short contact form */
.inst { max-width: 70rem; margin: 0 auto; display: grid; gap: clamp(1.5rem, 3vw, 3rem); padding-top: clamp(1rem, 3vw, 3rem); }
.inst h1 { font-size: clamp(2rem, 3.6vw, 4rem); }
.inst-intro { font-size: clamp(1.0625rem, 1.3vw, 1.5rem); color: #6b5a86; margin: .75rem 0 0; max-width: 46rem; }
.inst-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 2rem); }
.inst-kind { background: var(--card); border-radius: 1.5rem; box-shadow: var(--shadow); padding: clamp(1.25rem, 2vw, 2.25rem); }
.inst-kind h2 { font-size: clamp(1.375rem, 2vw, 2.25rem); margin-bottom: .5rem; }
.inst-kind p { margin: 0; color: #6b5a86; font-size: clamp(1rem, 1.15vw, 1.375rem); }
.contact { background: #f5effe; border-radius: 1.5rem; outline: 3px solid #d9b9fd; padding: clamp(1.25rem, 2.5vw, 3rem); display: grid; gap: 1rem; }
.contact h2 { font-size: clamp(1.625rem, 2.6vw, 3rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.fields label { display: grid; gap: .35rem; font: 800 1.0625rem var(--title); color: var(--ink); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { font: 1.0625rem var(--body); color: var(--ink); background: #fff; border: 2px solid #d9cdea; border-radius: .9rem; padding: .75rem .9rem; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: 3px solid #b48cf0; border-color: transparent; }
.contact .button { justify-self: start; border: 0; cursor: pointer; }
.contact-note { margin: 0; color: var(--brand); font: 800 1.0625rem var(--title); }

/* bottom */
.sale-bottom { margin: 0 4.4vw; padding: clamp(2rem, 3.2vw, 3.6rem) 0; border-top: 2px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.sale-bottom .brand img { width: clamp(8rem, 10vw, 12rem); }
.sale-links { display: flex; flex-wrap: wrap; gap: .75rem clamp(1.5rem, 2.64vw, 3.2rem); justify-content: center; font: 800 clamp(1rem, 1.061vw, 1.275rem) var(--title); color: var(--brand); }
.sale-legal { text-align: right; color: #8a7aa8; font: 700 clamp(1rem, 0.918vw, 1.105rem) var(--title); }
.sale-legal p { margin: 0 0 .6rem; }
.sale-legal a { margin-left: clamp(1rem, 1.6vw, 2.0rem); }

/* phone: the computer's layout rearranged for a small screen (Daniel, 12/10/2026: "por que o modo responsivo mudou
   tanto? não gostei"; the first phone version copied a phone design with another structure). Same look as the
   computer, stacked; text at least 1rem. */
@media (max-width: 760px) {
  .sale { padding: 0 1rem 1.5rem; gap: 3.25rem; }   /* room between sections ("não dá para saber quando começa um e termina o outro") */
  .sale-top { flex-wrap: wrap; padding: .75rem 1rem; gap: .5rem; }
  .sale-top .brand img { width: 8rem; }
  .sale-enter { margin-left: auto; padding: .35rem .9rem .35rem .35rem; font-size: 1rem; gap: .4rem; }
  .sale-enter img { width: 1.75rem; }
  .sale-buy { font-size: 1rem; padding: .5rem 1.1rem; }
  .sale-menu { order: 5; width: 100%; margin: .35rem 0 0; justify-content: space-between; padding: .3rem; }
  .sale-menu a { font-size: 1rem; padding: .45rem .7rem; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; margin: 1.25rem 0 1.5rem; }   /* the opening ends well before the content ("sem respiro") */
  .clouds { width: 160vw; left: -30vw; top: -2rem; }
  .hero h1 { font-size: 2.125rem; }
  .hero-text { display: contents; }   /* the buttons go under the picture (Daniel: "esses botões para depois do banner") */
  .hero h1 { order: 1; position: relative; z-index: 1; }
  .hero-art { order: 2; }
  .hero-buttons { order: 3; position: relative; z-index: 1; margin-top: 0; gap: .6rem; }
  .hero-buttons .button { flex: 1 1 auto; font-size: 1.0625rem; padding: .8rem 1.1rem; }
  .sec-head { margin-bottom: .6rem; }
  .sale h2 { font-size: 1.625rem; }
  .sec-line { font-size: 1.0625rem; margin: 0 0 .9rem; }
  .sale .more { font-size: 1rem; padding: .45rem .9rem; }
  .facts { gap: .6rem 1.25rem; margin-bottom: .9rem; }
  .facts li { font-size: 1rem; gap: .45rem; }
  .facts img { width: 2rem; }
  .sale .row.games, .sale .row.stories { grid-template-columns: none; grid-auto-columns: 64%; gap: .75rem; }
  .sale .row.stories { grid-auto-columns: 78%; }
  .sale .name { font-size: 1.0625rem; padding: .6rem .8rem 0; }
  .sale .card > :last-child { padding-bottom: .75rem; }
  .sale .tag { font-size: 1rem; top: .5rem; left: .5rem; padding: .2rem .7rem; }
  .dtiles { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .dtile { border-radius: 1.1rem; }
  .dname { font-size: 1.0625rem; padding: .6rem .8rem; }
  .plans { grid-template-columns: 1fr; gap: .9rem; }
  .plan { padding: 1.1rem; gap: .75rem 1rem; border-radius: 1.1rem; }
  .plan-icon { width: 4.5rem; }
  .plan h3 { font-size: 1.375rem; }
  .price { font-size: 1.125rem; }
  .price strong { font-size: 2rem; }
  .profiles { font-size: 1rem; }
  .checks li { font-size: 1rem; }
  .checks li::before { width: 1.4rem; }
  .buy { font-size: 1.125rem; padding: .8rem; }
  .who-cards { grid-template-columns: 1fr; gap: .9rem; }
  .who-card { padding: 1.1rem; border-radius: 1.1rem; }
  .who-card img { width: 4rem; }
  .who-name { font-size: 1.375rem; }
  .who-text { font-size: 1rem; }
  .who-card .button { font-size: 1.0625rem; padding: .8rem; }
  .inst-kinds, .fields { grid-template-columns: 1fr; }
  .contact .button { justify-self: stretch; }
  .faqs { grid-template-columns: 1fr; gap: .75rem; margin-top: .9rem; }
  .q { padding: 1rem 1.1rem; border-radius: 1.1rem; }
  .q h3 { font-size: 1.125rem; margin-bottom: .4rem; }
  .q p { font-size: 1rem; }
  .sale-bottom { grid-template-columns: 1fr; justify-items: start; gap: 1rem; padding: 1.75rem 0 2rem; margin: 0 1rem; }
  .sale-bottom .brand img { width: 7.5rem; }
  .sale-links { justify-content: flex-start; font-size: 1rem; gap: .5rem 1.25rem; }
  .sale-legal { text-align: left; font-size: 1rem; }
  .sale-legal a { margin: 0 1.25rem 0 0; }
}
