/* ============================================================
   /home/tvbb5cgibb3n/public_html/kidelicia/assets/style.css
   KI DELÍCIA SALGADOS — style.css (global)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Nunito+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── VARIÁVEIS DE COR ─────────────────────────────────────── */
:root {
  --primary:       #FFD400;
  --primary-dark:  #E8BE00;
  --primary-glow:  rgba(255,212,0,.25);
  --accent:        #1A1A1A;
  --accent2:       #2D2D2D;
  --bg:            #FAFAF8;
  --surface:       #FFFFFF;
  --surface2:      #F4F3EE;
  --border:        rgba(0,0,0,.09);
  --text:          #111111;
  --muted:         #6B6B6B;
  --muted2:        #9A9A9A;
  --font-display:  'Nunito', sans-serif;
  --font-body:     'Nunito Sans', sans-serif;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.07);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.16);
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .22s;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ── BOTÕES (seus botões antigos — mantém pílula) ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { background: rgba(255,255,255,.12); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary); color: var(--accent);
  box-shadow: 0 4px 20px var(--primary-glow); border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.btn--dark {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn--dark:hover { background: var(--accent2); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent; color: var(--accent); border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.btn--outline-light {
  background: rgba(0,0,0,.10); color: var(--accent);
  border-color: rgba(0,0,0,.18); font-weight: 800;
}
.btn--outline-light:hover {
  background: rgba(0,0,0,.22); border-color: rgba(0,0,0,.30);
  color: var(--accent); transform: translateY(-1px);
}
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ── BOTÕES KIDE (RETANGULARES p/ Entrar/Sair/Cadastro/Admin) ── */
.btn-kide{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 11px 16px;
  border-radius: 8px;                 /* <<< RETÂNGULO (canto leve) */
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-kide::after{
  content:'';
  position:absolute; inset:0;
  background: rgba(255,255,255,0);
  transition: background var(--t) var(--ease);
}
.btn-kide:hover{ transform: translateY(-1px); }
.btn-kide:hover::after{ background: rgba(255,255,255,.10); }
.btn-kide:active{ transform: translateY(0); }

.btn-kide-sm{
  padding: 9px 14px;                  /* menor */
  font-size: 13px;
  border-radius: 7px;                 /* retângulo mais “seco” */
}

.btn-kide-dark{
  background: var(--accent);
  color: #fff;
  border-color: rgba(0,0,0,.18);
  box-shadow: var(--shadow-xs);
}
.btn-kide-dark:hover{
  background: var(--accent2);
  box-shadow: var(--shadow-md);
}

.btn-kide-outline{
  background: rgba(0,0,0,.10);
  color: var(--accent);
  border-color: rgba(0,0,0,.18);
}
.btn-kide-outline:hover{
  background: rgba(0,0,0,.22);
  border-color: rgba(0,0,0,.30);
  color: var(--accent);
}

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--primary);
  border-bottom: 2px solid var(--primary-dark);
  transition: box-shadow var(--t) var(--ease);
}
.topbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}

/* Marca */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  width: 48px; height: 48px; object-fit: contain;
  transition: transform var(--t) var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.05) rotate(-2deg); }
.brand__text strong {
  display: block; font-family: var(--font-display);
  font-size: 18px; font-weight: 900; line-height: 1.1;
  color: var(--accent); letter-spacing: -.01em;
}
.brand__text span {
  display: block; font-size: 10px; font-weight: 800;
  color: rgba(0,0,0,.50); letter-spacing: .12em;
  text-transform: uppercase; margin-top: 1px;
}

.topbar__right { display: flex; align-items: center; gap: 10px; }
.user__name { font-size: 14px; color: rgba(0,0,0,.65); font-weight: 600; }

/* Burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: rgba(0,0,0,.12); border: 0; padding: 9px; cursor: pointer;
  border-radius: var(--r-sm); transition: background var(--t) var(--ease);
}
.burger:hover { background: rgba(0,0,0,.20); }
.burger span {
  display: block; width: 20px; height: 2px; background: var(--accent);
  border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SUBBAR ──────────────────────────────────────────────── */
/* FIX: era rgba(0,0,0,.10) que deixava o amarelo "desfocado" */
.subbar {
  background: rgba(0,0,0,.06);
  border-top: 1px solid rgba(0,0,0,.06);
  overflow: visible;
}
.subbar__inner { padding: 0; overflow: visible; }
.menu { display: flex; align-items: center; gap: 2px; overflow: visible; }
.menu > a {
  display: inline-flex; align-items: center;
  padding: 10px 16px; font-family: var(--font-display);
  font-size: 14px; font-weight: 800; color: var(--accent);
  border-radius: 0; letter-spacing: .01em; position: relative;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.menu > a:hover { background: rgba(0,0,0,.10); }
.menu > a.is-active::after {
  content: ''; position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--accent); border-radius: 2px 2px 0 0;
}
.drop.is-active-parent > .drop__btn { background: rgba(0,0,0,.16); }

/* Dropdown */
.drop { position: relative; }
.drop__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-family: var(--font-display);
  font-size: 14px; font-weight: 800; color: var(--accent);
  background: transparent; border: 0; border-radius: 0;
  cursor: pointer; letter-spacing: .01em;
  transition: background var(--t) var(--ease);
}
.drop__btn:hover, .drop.is-open .drop__btn { background: rgba(0,0,0,.10); }
.chev { width: 15px; height: 15px; transition: transform var(--t) var(--ease); }
.drop.is-open .chev { transform: rotate(180deg); }
.drop__panel {
  position: absolute; left: 0; top: calc(100% + 4px); min-width: 210px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 6px; display: none; z-index: 1000;
  animation: dropIn .18s var(--ease) forwards;
}
.drop__panel::before {
  content: ''; position: absolute; left: 0; top: -10px; width: 100%; height: 10px;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.drop__panel a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: var(--r-md);
  font-weight: 700; font-size: 14px; color: var(--text);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.drop__panel a:hover { background: var(--surface2); color: var(--accent); }
.drop.is-open .drop__panel { display: block; }

/* ── MOBILE NAV ───────────────────────────────────────────── */
.mobileNav {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  padding: 8px 12px 12px;
  display: none;
}
.mobileNav:not([hidden]) { display: block; }
.mobileNav[hidden] { display: none !important; }
.mobileNav a {
  display: block; padding: 11px 14px; font-weight: 700; font-size: 15px;
  color: var(--muted); border-radius: var(--r-md);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  position: relative;
}
.mobileNav a:hover { background: var(--surface2); color: var(--text); }
.mobileNav a.is-active {
  color: var(--text); background: var(--primary); font-weight: 800;
}
.mobileNav details { border-radius: var(--r-md); overflow: hidden; }
.mobileNav summary {
  cursor: pointer; font-weight: 700; font-size: 15px; color: var(--muted);
  padding: 11px 14px; border-radius: var(--r-md); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.mobileNav summary::-webkit-details-marker { display: none; }
.mobileNav summary:hover { background: var(--surface2); color: var(--text); }
.mobileNav summary.is-active { color: var(--text); font-weight: 800; }
.mobileNav details[open] summary { color: var(--text); }
.mobileNav details[open] summary svg { transform: rotate(180deg); }
.mobileNav summary svg { transition: transform var(--t) var(--ease); flex-shrink: 0; }
.mobileNav__sub {
  padding: 2px 0 6px 10px; margin: 2px 0 0 14px;
  border-left: 2px solid var(--border);
}
.mobileNav__sub a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 9px 12px; }
.mobileNav__sub a:hover { background: var(--surface2); color: var(--text); }
.mobileNav__sub a.is-active {
  color: var(--accent); background: rgba(255,212,0,.15); font-weight: 700;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--accent);
  color: rgba(255,255,255,.85);
  padding: 52px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer__brand strong {
  display: block; font-family: var(--font-display);
  font-size: 20px; font-weight: 900; color: var(--primary); margin-bottom: 8px;
}
.footer__brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer__col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.footer__col a {
  display: block; font-size: 14px; color: rgba(255,255,255,.7); padding: 4px 0;
  transition: color var(--t) var(--ease), transform var(--t) var(--ease);
}
.footer__col a:hover { color: var(--primary); transform: translateX(4px); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-full);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
  padding: 0;
}
.footer__social a:hover { background: var(--primary); color: var(--accent); transform: translateY(-2px); }
.footer__bottom {
  padding: 16px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.footer__legal {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.footer__legal a { color: rgba(255,255,255,.45); transition: color var(--t) var(--ease); text-decoration: none; }
.footer__legal a:hover { color: var(--primary); }

/* Footer contato (WhatsApp + Instagram + endereço) */
.footer__contato { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer__contato-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: 20px;
  font-size: .8rem; font-weight: 700; text-decoration: none;
  transition: opacity .15s, transform .15s; white-space: nowrap;
}
.footer__contato-btn:hover { opacity: .85; transform: translateY(-1px); }
.footer__contato-btn--wa  { background: #25d366; color: #fff; }
.footer__contato-btn--ig  {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.footer__endereco {
  display: flex; align-items: flex-start; gap: .45rem;
  margin-top: .875rem; font-size: .8rem;
  color: rgba(255,255,255,.5); line-height: 1.5;
}
.footer__endereco svg { flex-shrink: 0; margin-top: .15rem; opacity: .6; }

/* ── FLOATING WHATSAPP ────────────────────────────────────── */
.fab-whats {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; border-radius: var(--r-full);
  padding: 0 22px 0 18px; height: 52px;
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  animation: fabPop .5s var(--ease) .8s backwards;
  white-space: nowrap; text-decoration: none;
}
.fab-whats svg { flex-shrink: 0; width: 22px; height: 22px; }
.fab-whats:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 36px rgba(37,211,102,.55);
}
.fab-whats .fab-label { overflow: hidden; white-space: nowrap; }
@keyframes fabPop {
  from { transform: scale(0) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0);    opacity: 1; }
}

/* ── ANIMAÇÕES DE ENTRADA ─────────────────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ── UTILITÁRIOS ──────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-muted { color: var(--muted); }
.pill {
  display: inline-block; padding: 3px 10px; background: var(--primary);
  color: var(--accent); border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}

/* ── RESPONSIVO ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .burger { display: flex; }
  .subbar { display: none; }

  /* FIX: Entrar/Sair/Cadastro (kide) aparece no mobile também */
  .topbar__right .btn-kide { display: inline-flex; }

  /* Esconde só o nome do usuário no mobile para não lotar */
  .user__name { display: none; }

  /* Mobile FAB vira bolinha */
  .fab-whats {
    width: 56px; height: 56px; padding: 0;
    justify-content: center; bottom: 20px; right: 16px;
  }
  .fab-whats .fab-label { display: none; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }
}