/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #FF5C1A;
  --primary2:   #FF8C42;
  --primary3:   #FFB088;
  --bg:         #FAFAFA;
  --bg2:        #F2F2F7;
  --bg3:        #E8E8ED;
  --card:       #FFFFFF;
  --dark:       #0D0D14;
  --dark2:      #1C1C28;
  --dark3:      #3A3A4A;
  --gray:       #8E8E9A;
  --gray2:      #C7C7D0;
  --green:      #00875A;
  --green2:     #00A36C;
  --green-bg:   #F0FBF6;
  --white:      #FFFFFF;
  --accent-lo:  #FFF3EE;
  --accent-lo2: #FFE4D4;
  --shadow-xs:  0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --shadow-or:  0 4px 20px rgba(255,92,26,.25);
  --radius-xs:  8px;
  --radius-sm:  12px;
  --radius:     18px;
  --radius-lg:  24px;
  --nav-h:      66px;
  --header-h:   56px;
}

html { height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--dark2);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; }
button { cursor: pointer; border: none; outline: none; -webkit-tap-highlight-color: transparent; }
input, textarea { outline: none; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1 { font-size: 1.55rem; font-weight: 800; color: var(--dark); letter-spacing: -.3px; }
h2 { font-size: 1.2rem;  font-weight: 700; color: var(--dark); letter-spacing: -.2px; }
h3 { font-size: 1rem;    font-weight: 700; color: var(--dark); }
p  { font-size: .9rem;   line-height: 1.65; color: var(--dark3); }

/* ── LAYOUT ───────────────────────────────────────────────── */
#app { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; }

.screen {
  display: none; flex-direction: column; min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 24px);
  animation: fadeUp .22s ease;
}
.screen.active { display: flex; }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

.scroll-content { flex: 1; overflow-y: auto; padding: 16px; }

/* ── BROWSER BANNER ───────────────────────────────────────── */
.browser-banner {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 9998;
  background: linear-gradient(135deg, #1A1A2E, #2D2D44);
  color: white; padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.browser-banner h4 { font-size: .95rem; font-weight: 800; margin-bottom: 4px; color: #FFB088; }
.browser-banner p  { font-size: .78rem; line-height: 1.5; opacity: .9; margin-bottom: 10px; }
.browser-banner .bb-btns { display: flex; gap: 8px; }
.browser-banner .bb-btn  { flex: 1; padding: 9px; border-radius: 8px; font-size: .82rem; font-weight: 700; text-align: center; }
.bb-chrome  { background: #FF5C1A; color: white; }
.bb-dismiss { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }

/* ── HEADER ───────────────────────────────────────────────── */
.app-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 0 16px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 100;
}
.header-logo {
  font-size: 1.1rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BOTTOM NAV ───────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: stretch; z-index: 200;
  box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 -8px 24px rgba(0,0,0,.04);
}

.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  background: none; color: var(--gray2); font-size: .66rem;
  font-weight: 600; transition: color .18s; padding: 8px 4px;
  letter-spacing: .2px;
}
.nav-item.active { color: var(--primary); }
.nav-item svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: block; width: 100%; padding: 16px;
  border-radius: var(--radius-sm); font-size: .95rem;
  font-weight: 700; text-align: center;
  transition: transform .12s, box-shadow .12s, opacity .12s;
  letter-spacing: .2px;
}
.btn:active { transform: scale(.97); opacity: .9; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  color: var(--white); box-shadow: var(--shadow-or);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(255,92,26,.35); }

.btn-secondary { background: var(--bg2); color: var(--primary); font-weight: 600; }
.btn-ghost { background: transparent; color: var(--gray); font-size: .9rem; font-weight: 500; padding: 12px; }
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: var(--white); box-shadow: 0 4px 16px rgba(0,135,90,.25);
}
.btn-danger { background: #FFF0F0; color: #D63031; font-weight: 600; }

.btn-sm { padding: 10px 20px; font-size: .85rem; width: auto; display: inline-block; border-radius: var(--radius-xs); }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 18px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
}
.card-orange {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  color: var(--white); border: none;
  box-shadow: var(--shadow-or);
}
.card-dark {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
  color: var(--white); border: none;
}
.card-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green2) 100%);
  color: var(--white); border: none;
}
.card-light { background: var(--accent-lo); border: 1px solid var(--accent-lo2); box-shadow: none; }
.card-glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm);
}

/* ── PILL BADGE ───────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .3px;
}
.pill-orange { background: var(--accent-lo2); color: var(--primary); }
.pill-green  { background: var(--green-bg); color: var(--green); }
.pill-gray   { background: var(--bg2); color: var(--gray); }
.pill-dark   { background: var(--dark2); color: white; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: .8rem; font-weight: 700;
  color: var(--dark3); margin-bottom: 7px; letter-spacing: .2px;
  text-transform: uppercase;
}
.form-input {
  width: 100%; padding: 15px 16px;
  border: 1.5px solid var(--bg3);
  border-radius: var(--radius-sm); font-size: 1rem;
  color: var(--dark); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,92,26,.12); }
.form-input::placeholder { color: var(--gray2); }
.form-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238E8E9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}

/* ── PROGRESS BAR ─────────────────────────────────────────── */
.progress-bar-wrap {
  background: var(--bg2); border-radius: 100px; height: 8px; overflow: hidden; margin: 8px 0;
}
.progress-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  transition: width .5s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.progress-bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.progress-bar-fill.green { background: linear-gradient(90deg, var(--green), var(--green2)); }
.progress-bar-fill.white { background: rgba(255,255,255,.85); }

/* ── CHECKLIST ────────────────────────────────────────────── */
.check-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--bg2); cursor: pointer;
  transition: opacity .15s; -webkit-tap-highlight-color: transparent;
}
.check-item:last-child { border-bottom: none; }
.check-box {
  width: 28px; height: 28px; border-radius: 9px;
  border: 2px solid var(--bg3);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
  background: var(--white);
}
.check-box.checked {
  background: linear-gradient(135deg, var(--green), var(--green2));
  border-color: transparent; box-shadow: 0 2px 8px rgba(0,163,108,.35);
}
.check-box.checked::after { content: '✓'; color: white; font-size: .95rem; font-weight: 800; }
.check-label { font-size: .95rem; color: var(--dark2); flex: 1; line-height: 1.4; font-weight: 500; }
.check-item.checked .check-label { color: var(--gray2); text-decoration: line-through; }

/* ── SHOPPING CHECK ───────────────────────────────────────── */
.shop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--bg2); cursor: pointer;
}
.shop-item:last-child { border-bottom: none; }
.shop-box {
  width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid var(--bg3); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: all .2s;
}
.shop-box.checked { background: var(--primary); border-color: var(--primary); }
.shop-box.checked::after { content: '✓'; color: white; font-size: .8rem; font-weight: 800; }
.shop-label { font-size: .88rem; color: var(--dark2); flex: 1; }
.shop-item.checked .shop-label { color: var(--gray2); text-decoration: line-through; }

/* ── WATER TRACKER ────────────────────────────────────────── */
.water-track { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.water-cup {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--bg3); background: var(--white);
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s;
}
.water-cup.filled {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  border-color: #64B5F6; box-shadow: 0 2px 8px rgba(33,150,243,.2);
}

/* ── HUMOR ────────────────────────────────────────────────── */
.humor-wrap { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.humor-btn {
  font-size: 1.7rem; background: var(--bg2); padding: 10px;
  border-radius: 14px; transition: all .18s; border: 2px solid transparent;
}
.humor-btn.selected { background: var(--accent-lo); border-color: var(--primary); transform: scale(1.15); }

/* ── MEAL CARD ────────────────────────────────────────────── */
.meal-card {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 15px; margin-bottom: 10px;
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-xs);
}
.meal-title { font-size: .72rem; font-weight: 800; color: var(--primary); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .8px; }
.meal-item  { font-size: .98rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.meal-desc  { font-size: .83rem; color: var(--gray); line-height: 1.55; }

/* ── EXERCISE CARD ────────────────────────────────────────── */
.ex-card {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 15px; margin-bottom: 10px;
  border-left: 3px solid var(--green2); box-shadow: var(--shadow-xs);
}
.ex-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.ex-nome { font-size: .95rem; font-weight: 700; color: var(--dark); flex: 1; margin-right: 8px; }
.ex-duracao {
  font-size: .74rem; font-weight: 800; color: var(--green);
  background: var(--green-bg); padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
.ex-desc { font-size: .83rem; color: var(--gray); line-height: 1.55; }

/* ── GUIA READER ──────────────────────────────────────────── */
.guia-card {
  background: var(--card); border-radius: var(--radius);
  padding: 18px 16px; margin-bottom: 10px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04);
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; transition: transform .12s, box-shadow .12s;
  -webkit-tap-highlight-color: transparent;
}
.guia-card:active { transform: scale(.98); box-shadow: var(--shadow-xs); }
.guia-icon { font-size: 2.2rem; flex-shrink: 0; }
.guia-info h3 { font-size: .95rem; margin-bottom: 3px; }
.guia-info p  { font-size: .78rem; color: var(--gray); }
.guia-arrow { margin-left: auto; color: var(--gray2); font-size: 1.3rem; font-weight: 300; }

/* ── POPUP / MODAL ────────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 1000;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .18s ease; backdrop-filter: blur(4px);
}
.popup-box {
  background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 24px 20px 36px; width: 100%; max-width: 430px;
  animation: slideUp .28s cubic-bezier(.34,1.2,.64,1);
  position: relative; max-height: 90vh; overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg2); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: .9rem; color: var(--gray);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.popup-emoji  { font-size: 3rem; text-align: center; margin-bottom: 10px; }
.popup-title  { font-size: 1.3rem; font-weight: 800; text-align: center; color: var(--dark); margin-bottom: 6px; letter-spacing: -.3px; }
.popup-sub    { font-size: .88rem; color: var(--gray); text-align: center; line-height: 1.65; margin-bottom: 16px; }
.popup-price  { text-align: center; margin-bottom: 16px; }
.popup-original { font-size: .82rem; color: var(--gray); text-decoration: line-through; }
.popup-atual  { font-size: 2.2rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: calc(var(--nav-h) + 20px); left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,30,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); padding: 12px 24px; border-radius: 100px;
  font-size: .88rem; font-weight: 600; z-index: 999;
  white-space: nowrap; animation: toastIn .25s ease; pointer-events: none;
  border: 1px solid rgba(255,255,255,.1);
}
@keyframes toastIn { from { opacity:0; bottom: calc(var(--nav-h) + 8px); } to { opacity:1; } }

/* ── AUTH SCREEN ──────────────────────────────────────────── */
.auth-screen {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 100vh; padding: 32px 24px;
  background: linear-gradient(160deg, #FFF5F0 0%, #FAFAFA 60%);
}
.auth-logo  { font-size: 3.5rem; margin-bottom: 6px; }
.auth-brand {
  font-size: 1.6rem; font-weight: 900; text-align: center; margin-bottom: 3px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -.5px;
}
.auth-sub { font-size: .88rem; color: var(--gray); text-align: center; margin-bottom: 32px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 18px 0;
  color: var(--gray); font-size: .82rem;
}
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background: var(--bg3); }

/* ── ONBOARDING ───────────────────────────────────────────── */
.ob-step { display: none; animation: fadeUp .22s ease; }
.ob-step.active { display: block; }
.ob-header {
  background: linear-gradient(145deg, var(--dark) 0%, #2D2D44 100%);
  color: var(--white); padding: 28px 20px 36px; text-align: center;
}
.ob-header h2 { color: var(--white); font-size: 1.4rem; margin-top: 14px; }
.ob-header p  { color: rgba(255,255,255,.7); font-size: .88rem; margin-top: 6px; }
.ob-progress { display: flex; gap: 5px; justify-content: center; margin-top: 4px; }
.ob-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.3); transition: all .3s;
}
.ob-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }
.ob-dot.done   { background: rgba(255,255,255,.6); }
.ob-body { padding: 24px 20px; background: var(--white); }
.ob-options { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ob-option {
  padding: 15px 16px; border: 1.5px solid var(--bg3);
  border-radius: var(--radius-sm); font-size: .93rem; color: var(--dark2);
  background: var(--white); text-align: left; font-weight: 500; transition: all .18s;
}
.ob-option.selected {
  border-color: var(--primary); background: var(--accent-lo);
  color: var(--primary); font-weight: 700;
  box-shadow: 0 0 0 3px rgba(255,92,26,.1);
}

/* ── HOME HERO ────────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(145deg, var(--dark) 0%, #2D2D44 100%);
  padding: 24px 18px 28px; color: white;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content:''; position:absolute; top:-40px; right:-40px;
  width:180px; height:180px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,92,26,.25), transparent 70%);
  pointer-events: none;
}
.home-greeting { font-size: .85rem; opacity: .7; margin-bottom: 2px; letter-spacing: .3px; }
.home-day { font-size: 2.2rem; font-weight: 900; letter-spacing: -.5px; line-height: 1.1; }
.home-phase { font-size: .83rem; opacity: .75; margin-top: 3px; }

/* ── STAT CARDS ───────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stat-card {
  background: var(--card); border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center;
  box-shadow: var(--shadow-xs); border: 1px solid rgba(0,0,0,.04);
}
.stat-value { font-size: 1.7rem; font-weight: 900; color: var(--primary); letter-spacing: -.5px; }
.stat-label { font-size: .72rem; color: var(--gray); margin-top: 2px; font-weight: 500; }

/* ── TIMELINE ─────────────────────────────────────────────── */
.timeline {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; position: relative;
}
.timeline::before {
  content:''; position:absolute; left:24px; right:24px; top:50%;
  height:2px; background: var(--bg2); border-radius: 100px;
}
.timeline-fill {
  position:absolute; left:24px; top:50%; height:2px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  border-radius:100px; transition:width .6s ease;
}
.tl-point { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:5px; }
.tl-dot {
  width:14px; height:14px; border-radius:50%;
  background: var(--bg2); border:2px solid var(--bg3); transition:all .3s;
}
.tl-dot.active { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,92,26,.2); }
.tl-dot.done   { background: var(--green2); border-color: var(--green2); }
.tl-label { font-size: .68rem; color: var(--gray); font-weight: 600; text-align:center; line-height:1.3; }

/* ── TABS ─────────────────────────────────────────────────── */
.tabs {
  display: flex; background: var(--bg2); border-radius: var(--radius-sm);
  padding: 3px; gap: 3px; margin-bottom: 16px;
}
.tab {
  flex:1; padding: 10px 8px; border-radius: 10px;
  font-size: .8rem; font-weight: 700; color: var(--gray);
  background: none; transition: all .18s; text-align: center;
}
.tab.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-xs); }

/* ── ISABELLA MSG ─────────────────────────────────────────── */
.isabella-msg {
  background: linear-gradient(135deg, #1A1A2E, #2D2D44);
  border-radius: var(--radius); padding: 20px;
  margin-bottom: 14px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.isabella-msg::before {
  content:''; position:absolute; top:-30px; right:-30px; width:120px; height:120px;
  border-radius:50%; background: radial-gradient(circle, rgba(255,92,26,.2), transparent 70%);
}
.isabella-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.isabella-avatar {
  width:46px; height:46px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; flex-shrink:0; box-shadow: 0 3px 12px rgba(255,92,26,.4);
}
.isabella-name { font-weight:800; font-size:.9rem; color:white; }
.isabella-role { font-size:.72rem; color:rgba(255,255,255,.6); }
.isabella-text { font-size:.87rem; line-height:1.7; color:rgba(255,255,255,.85); font-style:italic; }

/* ── LOADING ──────────────────────────────────────────────── */
.loader {
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; min-height:100vh; gap:16px;
}
.spinner {
  width:38px; height:38px;
  border:3px solid var(--bg2); border-top-color: var(--primary);
  border-radius:50%; animation:spin .75s linear infinite;
}
@keyframes spin { to { transform:rotate(360deg); } }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty-state { text-align:center; padding:40px 20px; color:var(--gray); }
.empty-state .emoji { font-size:3rem; margin-bottom:12px; }
.empty-state p { font-size:.88rem; line-height:1.6; }

/* ── SECTION HEADER ───────────────────────────────────────── */
.section-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.section-title { font-size:1rem; font-weight:800; color:var(--dark); }
.section-action { font-size:.8rem; font-weight:700; color:var(--primary); cursor:pointer; }

/* ── DERMO CHÁ CARD (destaque) ────────────────────────────── */
.dermocha-card {
  background: linear-gradient(145deg, #0D4A1A, #1A7A30);
  border-radius: var(--radius); padding: 20px;
  margin-bottom: 16px; position: relative; overflow: hidden;
  box-shadow: 0 6px 24px rgba(13,74,26,.3);
}
.dermocha-card::before {
  content:''; position:absolute; top:-30px; right:-20px; width:120px; height:120px;
  border-radius:50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
}
.dermocha-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(255,255,255,.15); border-radius:100px;
  padding:4px 10px; font-size:.72rem; font-weight:800;
  color:white; margin-bottom:10px; letter-spacing:.5px;
}
.dermocha-title { font-size:1.2rem; font-weight:900; color:white; margin-bottom:4px; letter-spacing:-.2px; }
.dermocha-sub   { font-size:.82rem; color:rgba(255,255,255,.75); line-height:1.55; margin-bottom:14px; }
.dermocha-btn   {
  display:block; background:rgba(255,255,255,.2);
  border-radius:var(--radius-xs); padding:12px;
  text-align:center; color:white; font-weight:800;
  font-size:.88rem; text-decoration:none;
  border:1.5px solid rgba(255,255,255,.25);
  transition: background .18s;
}
.dermocha-btn:hover { background:rgba(255,255,255,.28); }

/* ── UTILITIES ────────────────────────────────────────────── */
.mt-4{margin-top:4px} .mt-8{margin-top:8px} .mt-12{margin-top:12px}
.mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px}
.mb-4{margin-bottom:4px} .mb-8{margin-bottom:8px} .mb-12{margin-bottom:12px}
.mb-16{margin-bottom:16px}
.text-center{text-align:center} .text-right{text-align:right}
.text-gray{color:var(--gray)} .text-primary{color:var(--primary)}
.text-green{color:var(--green2)} .text-white{color:white}
.text-sm{font-size:.85rem} .text-xs{font-size:.75rem}
.font-bold{font-weight:700} .font-black{font-weight:900}
.flex{display:flex} .flex-between{display:flex;justify-content:space-between;align-items:center}
.flex-center{display:flex;justify-content:center;align-items:center}
.gap-8{gap:8px} .gap-12{gap:12px}
.hidden{display:none!important} .opacity-50{opacity:.5}
.divider{height:1px;background:var(--bg2);margin:16px 0}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar{width:3px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--bg3);border-radius:4px}

/* ── SAFE AREA ────────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav { padding-bottom:env(safe-area-inset-bottom); height:calc(var(--nav-h) + env(safe-area-inset-bottom)); }
  .screen { padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 24px); }
}

/* ── CONFETTI ─────────────────────────────────────────────── */
.confetti-wrap { position:fixed; inset:0; pointer-events:none; z-index:2000; }
