/* F40 — fidelidade visual: marca original maior + 4 atmosferas SEMANAIS na Home.
   Escopo: somente COPIA candidata, nunca a F40 de referência. 19/11/2026.
   Ilustrações: os mesmos quatro SVG oficiais F40, sem novas imagens.
*/
body:has(.home-premium) .site-header{
  height:108px;
  padding:19px 18px 10px;
}
body:has(.home-premium) .site-header .logo{
  width:min(310px,calc(100vw - 108px));
  height:74px;
  max-width:none;
  min-height:0;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
body:has(.home-premium) .site-header .logo .logo-oficial-f40{
  width:100%;
  max-width:100%;
  height:auto;
  max-height:72px;
  object-fit:contain;
  object-position:center;
}
body:has(.home-premium) .site-header .user-badge{
  top:37px;
  right:16px;
  width:31px;
  height:31px;
}
body:has(.home-premium) #screen-home .greeting{
  margin-top:12px;
}
/* Visible 4-week collection, intentionally INSIDE the approved Home. */
body:has(.home-premium) #screen-home .f40-weeks-home{
  margin:3px 0 27px;
  position:relative;
  isolation:isolate;
}
body:has(.home-premium) #screen-home .f40-weeks-heading{
  display:flex;align-items:end;justify-content:space-between;gap:10px;
  margin:0 0 14px;
}
body:has(.home-premium) #screen-home .f40-weeks-kicker{
  display:block;
  font:650 9px/1.4 "Segoe UI",Arial,sans-serif;
  color:#857965;
  letter-spacing:.18em;
  margin:0 0 6px;
}
body:has(.home-premium) #screen-home .f40-weeks-heading h2{
  margin:0;
  font:400 25px/1.16 "Palatino Linotype","Book Antiqua",Georgia,serif;
  letter-spacing:-.04em;
  color:#344536;
}
body:has(.home-premium) #screen-home .f40-weeks-all{
  border:0;border-bottom:1px solid #9caa96;
  border-radius:0;background:none;padding:7px 0;
  color:#5b765b;font:650 10px "Segoe UI",Arial,sans-serif;
  white-space:nowrap;cursor:pointer;
}
body:has(.home-premium) #screen-home .f40-weeks-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
body:has(.home-premium) #screen-home .f40-week-tile{
  --tile-art:url('/f40/assets/atelier-week-1.svg');
  --tile-ink:#53664f;
  position:relative;overflow:hidden;isolation:isolate;
  min-height:152px;border:1px solid rgba(255,251,241,.94);
  border-radius:18px;
  background:
    linear-gradient(150deg,rgba(255,252,244,.9) 0%,rgba(252,246,235,.65) 46%,rgba(247,235,215,.34) 100%),
    var(--tile-art) center center / cover no-repeat,
    #eee6d7;
  box-shadow:inset 0 0 0 1px rgba(208,194,172,.32),0 7px 21px rgba(77,65,45,.09);
  padding:14px 14px 15px;
  text-align:left;color:#344536;cursor:pointer;
  display:flex;flex-direction:column;justify-content:space-between;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body:has(.home-premium) #screen-home .f40-week-tile[data-week="2"]{
  --tile-art:url('/f40/assets/atelier-week-2.svg');--tile-ink:#6d846d;
}
body:has(.home-premium) #screen-home .f40-week-tile[data-week="3"]{
  --tile-art:url('/f40/assets/atelier-week-3.svg');--tile-ink:#698471;
}
body:has(.home-premium) #screen-home .f40-week-tile[data-week="4"]{
  --tile-art:url('/f40/assets/atelier-week-4.svg');--tile-ink:#608276;
}
body:has(.home-premium) #screen-home .f40-week-tile.is-current{
  border-color:#94a992;
  box-shadow:inset 0 0 0 1px rgba(132,162,137,.42),0 8px 24px rgba(71,100,72,.16);
}
body:has(.home-premium) #screen-home .f40-week-tile.is-future{
  filter:saturate(.88);
}
body:has(.home-premium) #screen-home .f40-week-tile:hover{
  transform:translateY(-2px);box-shadow:0 11px 25px rgba(75,65,48,.15);
}
body:has(.home-premium) #screen-home .f40-week-top{
  display:flex;justify-content:space-between;align-items:center;gap:6px;
}
body:has(.home-premium) #screen-home .f40-week-index{
  font:400 25px/1 Georgia,serif;letter-spacing:-.04em;
  color:var(--tile-ink);
}
body:has(.home-premium) #screen-home .f40-week-status{
  border:1px solid rgba(201,206,181,.64);
  background:rgba(251,249,235,.82);
  border-radius:30px;padding:5px 7px;
  color:#697d67;font:650 8px/1 "Segoe UI",Arial,sans-serif;
}
body:has(.home-premium) #screen-home .f40-week-tile.is-current .f40-week-status{
  background:#6f8d72;border-color:#6f8d72;color:white;
}
body:has(.home-premium) #screen-home .f40-week-name{
  font:400 21px/1.04 "Palatino Linotype",Georgia,serif;
  letter-spacing:-.045em;display:block;color:#344435;
  text-shadow:0 1px #fff9;
  margin-bottom:5px;
}
body:has(.home-premium) #screen-home .f40-week-dates{
  display:block;
  font:600 10px/1.4 "Segoe UI",Arial,sans-serif;
  color:#667564;
}
body:has(.home-premium) #screen-home .f40-week-tile[data-week="4"] .f40-week-dates{
  font-size:9.5px;
}
body:has(.home-premium) #screen-home .f40-weeks-footnote{
  font:400 10px/1.5 "Segoe UI",Arial,sans-serif;
  color:#7b8271;margin:11px 2px 0;
}
body:has(.home-premium) #screen-home .f40-week-tile:focus-visible,
body:has(.home-premium) #screen-home .f40-weeks-all:focus-visible{
  outline:3px solid #ac8a68;outline-offset:3px;
}
/* Premium rhythm remains, no transformation of the botanical progress card. */
body:has(.home-premium) #screen-home .journey-card{
  margin-bottom:28px;
}
@media(max-width:360px){
  body:has(.home-premium) .site-header .logo{width:min(263px,calc(100vw - 103px))}
  body:has(.home-premium) #screen-home .f40-weeks-grid{gap:8px}
  body:has(.home-premium) #screen-home .f40-week-tile{min-height:145px;padding:12px}
  body:has(.home-premium) #screen-home .f40-week-name{font-size:19px}
  body:has(.home-premium) #screen-home .f40-weeks-heading h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
 body:has(.home-premium) #screen-home .f40-week-tile{transition:none}
 body:has(.home-premium) #screen-home .f40-week-tile:hover{transform:none}
}
