@font-face { font-family: "Bricolage"; src: url("fontes/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fontes/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fontes/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --terracota: #E07A4F;
  --terracota-escura: #B5532A;
  --salvia: #6E9A6B;
  --salvia-escura: #527A4F;   /* texto branco precisa de contraste 4,5 */
  --mostarda: #E3A72F;
  --creme: #FFF4E8;
  --pessego: #FBE6D6;
  --marrom: #3B2A24;
  --marrom-suave: #5E4A42;
  --titulo: "Bricolage", "Segoe UI", Arial, sans-serif;
  --corpo: "Atkinson", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--marrom);
  font-family: var(--corpo);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 800; color: var(--marrom); line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 8.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 6.5vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
a { color: var(--terracota-escura); }

.secao { padding: 56px 20px; }
.creme { background: var(--creme); }
.pessego { background: var(--pessego); }
.terracota { background: var(--terracota); color: var(--marrom); }
.miolo { max-width: 640px; margin: 0 auto; }

.selo {
  display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 99px;
  background: var(--terracota); color: var(--marrom); font-weight: 700; font-size: .95rem;
}
.sub { font-size: 1.15rem; color: var(--marrom-suave); }
.mockup { margin: 8px auto 24px; width: 100%; }
.letra-miuda { font-size: .9rem; color: var(--marrom-suave); text-align: center; margin-top: 12px; }

.botao-comprar {
  display: flex; align-items: center; justify-content: center; min-height: 56px; width: 100%;
  margin: 8px 0 0; padding: 14px 20px; border-radius: 16px;
  background: var(--terracota); color: var(--marrom); font-weight: 700; font-size: 1.12rem; text-align: center;
  text-decoration: none; box-shadow: 0 6px 0 var(--terracota-escura); transition: transform .1s, box-shadow .1s;
}
.botao-comprar:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--terracota-escura); }
.botao-comprar:focus-visible, .botao-medidor:focus-visible { outline: 3px solid var(--marrom); outline-offset: 3px; }
.terracota .botao-comprar { background: var(--creme); box-shadow: 0 6px 0 var(--marrom); }

.botao-medidor {
  display: flex; align-items: center; justify-content: center; min-height: 52px; width: 100%;
  padding: 12px 20px; border-radius: 16px; border: 2px solid var(--marrom);
  color: var(--marrom); background: transparent; font-weight: 700; font-size: 1.05rem; text-decoration: none; text-align: center;
}

.lista-dor li {
  background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px;
  border-left: 5px solid var(--terracota);
}

.autora { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.autora .foto { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 5px solid var(--terracota); background: var(--pessego); }
.autora .foto { flex: none; }
.autora .logo { flex: 0 1 150px; min-width: 0; }
.assinatura { font-weight: 700; color: var(--terracota-escura); }

.planos { display: grid; gap: 12px; margin-bottom: 20px; }
.plano { display: flex; align-items: center; gap: 16px; border-radius: 18px; padding: 16px 18px; }
.plano p { margin: 0; }
.plano-a { background: var(--salvia-escura); color: #fff; }
.plano-b { background: var(--mostarda); color: var(--marrom); }
.plano-c { background: var(--terracota); color: var(--marrom); }
.bateria {
  flex: none; position: relative; display: flex; gap: 3px; width: 54px; height: 28px; padding: 3px;
  border: 3px solid currentColor; border-radius: 6px;
}
.bateria::after { content: ""; position: absolute; right: -8px; top: 7px; width: 4px; height: 8px; border-radius: 0 2px 2px 0; background: currentColor; }
.bateria i { display: block; width: 13px; border-radius: 2px; background: currentColor; }
.forte { font-weight: 700; font-size: 1.1rem; }
.destaque {
  font-family: var(--titulo); font-weight: 800; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em;
  border-left: 5px solid var(--terracota); padding-left: 16px; margin: 1.2em 0 1.4em;
}

.itens { display: grid; gap: 16px; }
.item { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #F1D9C6; }
.item img { width: 100%; height: 200px; object-fit: cover; object-position: top; background: var(--pessego); }
.item > div { padding: 16px 20px 6px; }
.item h3 { display: flex; align-items: center; gap: 10px; }
.numero {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--terracota); color: var(--marrom);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.formato { font-weight: 700; color: var(--marrom-suave); margin-bottom: .4em; }

.lista-sim li, .lista-nao li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.lista-sim li::before, .lista-nao li::before {
  position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
}
.lista-sim li::before { content: "✓"; background: var(--salvia); color: #fff; }
.lista-nao li::before { content: "✗"; background: var(--marrom); color: #fff; }
.lista-nao { margin-bottom: 0; }

.preco {
  display: inline-block; margin: 8px 0 4px; padding: 10px 22px; border-radius: 99px;
  background: var(--creme); color: var(--marrom); font-weight: 700; font-size: 1.3rem;
}
.formas { font-weight: 700; }

details { background: #fff; border-radius: 14px; margin-bottom: 10px; border: 1px solid #F1D9C6; }
summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; min-height: 48px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.5rem; color: var(--terracota-escura); }
details[open] summary::after { content: "–"; }
details p { padding: 0 18px 16px; margin: 0; }

.rodape { background: var(--marrom); color: #F3E2D6; padding: 36px 20px 44px; font-size: .95rem; text-align: center; }
.rodape a { color: #fff; word-break: break-word; }
.rodape .letra-miuda { color: #D9C2B4; }

@media (min-width: 720px) {
  .secao { padding: 80px 24px; }
  .itens { grid-template-columns: repeat(2, 1fr); }
  .botao-comprar, .botao-medidor { max-width: 460px; margin-left: auto; margin-right: auto; }
  #abertura .miolo, #garantia .miolo, #medidor .miolo { text-align: center; }
  #abertura .sub { max-width: 560px; margin-left: auto; margin-right: auto; }
}
.item img.inteira { object-fit: contain; object-position: center; background: var(--terracota); }
