/* ─── Fonts ────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* ─── Font roles ───────────────────────────────────────────────────────────── */
:root {
  --font-display: 'Familjen Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ─── Design Tokens — paleta única da marca (creme + dourado, sem modo escuro) ───
   [data-theme=...] mantidos como aliases inertes: qualquer valor salvo em
   localStorage de sessões antigas continua resolvendo pra esta mesma paleta. */
:root,
[data-theme="dark"],
[data-theme="noite"],
[data-theme="creme"],
[data-theme="light"],
[data-theme="minimal"] {
  --bg-primary:   oklch(0.97 0.016 85);
  --bg-secondary: oklch(1 0 0);
  --bg-card:      oklch(1 0 0);
  --bg-glass:     oklch(0.99 0.010 85 / 0.94);
  --bg-input:     oklch(0.99 0.008 85);

  --border:       oklch(0.86 0.012 85 / 0.70);
  --border-hover: oklch(0.52 0.14 68 / 0.45);

  --accent:       oklch(0.52 0.14 68);
  --accent-hover: oklch(0.60 0.13 68);
  --accent-glow:  oklch(0.52 0.14 68 / 0.16);
  --accent-2:     oklch(0.58 0.15 62);
  --accent-3:     oklch(0.52 0.11 155);

  --text-primary:   oklch(0.24 0.020 60);
  --text-secondary: oklch(0.44 0.016 65);
  --text-muted:     oklch(0.64 0.012 70);

  --gradient-hero:   linear-gradient(160deg, oklch(0.97 0.018 85) 0%, oklch(0.93 0.022 82) 100%);
  --gradient-accent: linear-gradient(135deg, oklch(0.52 0.14 68), oklch(0.65 0.12 72));
  --gradient-card:   linear-gradient(145deg, oklch(1 0 0), oklch(0.98 0.012 85));

  --shadow-card:  0 2px 16px oklch(0.24 0.02 60 / 0.07);
  --shadow-glow:  0 0 24px oklch(0.52 0.14 68 / 0.12);
  --shadow-hover: 0 12px 40px oklch(0.24 0.02 60 / 0.12), 0 0 20px oklch(0.52 0.14 68 / 0.08);

  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Brand logo/icon (asset preto) — sem inversão, paleta é sempre clara ──── */
.fc-brand-logo,
.fc-brand-icon {
  filter: none;
}

/* ─── Smooth theme transition ────────────────────────────────────────────── */
html {
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ─── Reset + Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; }

/* ─── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { text-wrap: pretty; }

/* Remove gradient-text — use solid accent color instead */
.gradient-text {
  color: var(--accent);
  -webkit-text-fill-color: unset;
  background: none;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  letter-spacing: 0.005em;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
  background: var(--accent-glow);
}

/* ─── Theme Toggle ───────────────────────────────────────────────────────── */
.theme-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border);
}
.theme-toggle svg { display: block; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: oklch(1 0 0);
  box-shadow: 0 2px 12px var(--accent-glow);
}
[data-theme="creme"] .btn-primary,
[data-theme="light"] .btn-primary {
  color: oklch(1 0 0);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
  color: oklch(1 0 0);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: oklch(1 0 0);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-danger {
  background: oklch(0.55 0.18 25 / 0.08);
  color: oklch(0.55 0.18 25);
  border: 1px solid oklch(0.55 0.18 25 / 0.20);
}
.btn-danger:hover {
  background: oklch(0.55 0.18 25);
  color: oklch(1 0 0);
}

.btn-sm  { padding: 7px 13px; font-size: 0.8rem; }
.btn-lg  { padding: 13px 26px; font-size: 0.95rem; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 8px; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ─── Album Grid ─────────────────────────────────────────────────────────── */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.album-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  display: block;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}
.album-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.album-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.album-card:hover .album-cover img {
  transform: scale(1.06);
}
.album-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.88) 0%, oklch(0 0 0 / 0.12) 55%, transparent 100%);
}

.no-cover-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.album-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 1;
}
.album-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: oklch(1 0 0);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px oklch(0 0 0 / 0.5);
}
.album-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: oklch(1 0 0 / 0.55);
  font-size: 0.78rem;
  font-family: var(--font-body);
}
.album-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Photo Grid ─────────────────────────────────────────────────────────── */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 3px;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.40s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.photo-item:hover img { transform: scale(1.05); }

.photo-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0 0 0 / 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.22s ease;
}
.photo-item:hover .photo-overlay {
  background: oklch(0 0 0 / 0.26);
}
.photo-overlay-icon {
  opacity: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid oklch(1 0 0 / 0.60);
  border-radius: 50%;
  transform: scale(0.80);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.photo-item:hover .photo-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* ─── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: oklch(0.04 0 0 / 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 80px oklch(0 0 0 / 0.7);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.10);
  color: oklch(1 0 0 / 0.70);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
  font-weight: 300;
}
.lightbox-close:hover { background: oklch(1 0 0 / 0.14); color: oklch(1 0 0); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.08);
  color: oklch(1 0 0 / 0.70);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}
.lightbox-nav:hover {
  background: var(--accent-glow);
  border-color: var(--border-hover);
  color: oklch(1 0 0);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-download {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: oklch(1 0 0);
  border: none;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.lightbox-download:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.photo-img, .lightbox-img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

/* ─── Lead Modal ─────────────────────────────────────────────────────────── */
.lead-modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(8px);
}
.lead-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.lead-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 40px 80px oklch(0 0 0 / 0.4);
}
.lead-modal h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.lead-modal p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.875rem;
  line-height: 1.65;
  font-family: var(--font-body);
}
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 13px 16px;
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.lead-form input::placeholder { color: var(--text-muted); }
.lead-form button {
  background: var(--accent);
  color: oklch(1 0 0);
  border: none;
  padding: 13px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.lead-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.lead-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.lead-skip {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  transition: color 0.2s ease;
}
.lead-skip:hover { color: var(--text-secondary); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 65vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  top: -150px;
  left: -200px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-glow);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.hero h1 { margin-bottom: 18px; }
.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
  font-family: var(--font-body);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Inputs ─────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  font-family: var(--font-body);
}
.input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.input::placeholder { color: var(--text-muted); }
select.input { cursor: pointer; }
textarea.input { resize: vertical; min-height: 90px; }

/* ─── Upload Zone ────────────────────────────────────────────────────────── */
.upload-zone {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  background: var(--bg-input);
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: var(--shadow-glow);
}
.upload-zone-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  opacity: 0.3;
}
.upload-zone h3 { margin-bottom: 8px; }
.upload-zone p { color: var(--text-muted); font-size: 0.875rem; }

/* ─── Progress Bar ───────────────────────────────────────────────────────── */
.progress-bar {
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ─── Badges / Tags ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  text-transform: uppercase;
}
.badge-accent   { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--border-hover); }
.badge-success  { background: oklch(0.68 0.10 155 / 0.10); color: var(--accent-3); border: 1px solid oklch(0.68 0.10 155 / 0.20); }
.badge-warning  { background: oklch(0.78 0.15 85 / 0.10); color: oklch(0.62 0.15 85); border: 1px solid oklch(0.78 0.15 85 / 0.20); }
.badge-info     { background: oklch(0.65 0.14 240 / 0.10); color: oklch(0.65 0.14 240); border: 1px solid oklch(0.65 0.14 240 / 0.20); }

/* ─── Stat Cards ─────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}
.stat-icon-purple { background: var(--accent-glow); }
.stat-icon-pink   { background: oklch(0.70 0.13 50 / 0.10); }
.stat-icon-teal   { background: oklch(0.68 0.10 155 / 0.10); }
.stat-icon-blue   { background: oklch(0.65 0.14 240 / 0.10); }
.stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.stat-label { color: var(--text-muted); font-size: 0.78rem; font-weight: 500; font-family: var(--font-body); }

/* ─── Modals ─────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.70);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-hover);
  transform: scale(0.97) translateY(6px);
  transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal-backdrop.active .modal {
  transform: scale(1) translateY(0);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

/* ─── Toast ──────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  min-width: 260px;
  max-width: 340px;
  animation: toastIn 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  font-family: var(--font-body);
}
/* Toast status via bg tint + icon color — no side-stripe borders */
.toast-success { background: oklch(0.68 0.10 155 / 0.06); border-color: oklch(0.68 0.10 155 / 0.25); }
.toast-error   { background: oklch(0.55 0.18 25 / 0.06);  border-color: oklch(0.55 0.18 25 / 0.25); }
.toast-info    { background: var(--accent-glow);           border-color: var(--border-hover); }

@keyframes toastIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}

/* ─── Search Page ────────────────────────────────────────────────────────── */
.search-upload-area {
  border: 1.5px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  background: var(--accent-glow);
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.search-upload-area:hover,
.search-upload-area.dragover {
  border-color: var(--accent);
  background: oklch(from var(--accent) l c h / 0.08);
}
.search-preview {
  max-width: 280px;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-hover);
}
.result-photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.result-photo-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.result-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.confidence-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: oklch(0 0 0 / 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.ai-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 60px 0;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

/* ─── Loader ─────────────────────────────────────────────────────────────── */
.loader {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}
.loader-lg {
  width: 40px;
  height: 40px;
  border-width: 2px;
}

.ai-orb { display: none; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  transition: color .2s;
}
.footer-credit:hover { color: var(--accent); }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.mt-0    { margin-top: 0; }
.mt-8    { margin-top: 8px; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }
.mt-32   { margin-top: 32px; }
.mb-8    { margin-bottom: 8px; }
.mb-16   { margin-bottom: 16px; }
.mb-24   { margin-bottom: 24px; }
.mb-32   { margin-bottom: 32px; }
.mb-40   { margin-bottom: 40px; }
.text-center    { text-align: center; }
.text-sm        { font-size: 0.85rem; }
.text-xs        { font-size: 0.75rem; }
.text-muted     { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.w-full  { width: 100%; }
.hidden  { display: none !important; }

/* ─── Empty State ────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-secondary);
  font-family: var(--font-body);
}
.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0.2;
  display: block;
  color: var(--accent);
}
.empty-state h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.empty-state p {
  margin-bottom: 24px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-inner { height: 56px; padding: 0 16px; }
  .navbar-links a { padding: 6px 9px; font-size: 0.8rem; }

  .hero { min-height: auto; padding: 60px 0; }
  .photos-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 2px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
  .navbar-links a { padding: 5px 7px; font-size: 0.75rem; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
}

/* ─── Admin Layout ───────────────────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 28px;
}

.nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  padding: 0 10px;
  margin: 18px 0 5px;
  font-family: var(--font-body);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.sidebar-nav a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.sidebar-nav a.active {
  background: var(--accent-glow);
  color: var(--accent);
}
.sidebar-nav a .nav-icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.8;
}
.sidebar-nav a.active .nav-icon { opacity: 1; }

.sidebar-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.main-content {
  padding: 36px 40px;
  overflow-x: hidden;
  background: var(--bg-primary);
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.page-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.875rem;
  font-family: var(--font-body);
}

.user-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}
.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: oklch(1 0 0);
  flex-shrink: 0;
  font-family: var(--font-body);
}

/* Admin Mobile */
.admin-header-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.55);
  z-index: 150;
  backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }

@media (max-width: 900px) {
  .admin-header-mobile { display: flex; }
  .admin-layout { grid-template-columns: 1fr !important; padding-top: 58px; }
  .sidebar {
    position: fixed !important;
    left: -220px;
    top: 0;
    bottom: 0;
    z-index: 200;
    width: 220px;
    transition: left 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex !important;
    box-shadow: 20px 0 50px oklch(0 0 0 / 0.4);
  }
  .sidebar.active { left: 0; }
  .main-content { padding: 24px 20px !important; }
}

/* ─── Spin animation ─────────────────────────────────────────────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html::before { display: none; }
}

/* ─── Gallery layout variants ────────────────────────────────────────────── */

/* Masonry */
.albums-grid.layout-masonry,
.photos-grid.layout-masonry {
  display: block;
  column-count: 3;
  column-gap: 16px;
}
.albums-grid.layout-masonry .album-card,
.photos-grid.layout-masonry .photo-item {
  break-inside: avoid;
  margin-bottom: 16px;
  display: block;
}
.albums-grid.layout-masonry .album-card {
  aspect-ratio: unset;
  height: auto;
}
.albums-grid.layout-masonry .album-card .album-cover {
  position: relative;
  inset: unset;
  width: 100%;
  height: auto;
  min-height: 160px;
}
.albums-grid.layout-masonry .album-card .album-cover img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: unset;
}
.albums-grid.layout-masonry .album-card .album-info {
  position: relative;
  bottom: unset;
  left: unset;
  right: unset;
  background: var(--bg-card);
  padding: 14px 16px;
}
.albums-grid.layout-masonry .album-card .album-info h3 {
  color: var(--text-primary);
  text-shadow: none;
}
.albums-grid.layout-masonry .album-card .album-meta {
  color: var(--text-muted);
}
.albums-grid.layout-masonry .album-card .album-cover-overlay { display: none; }
.photos-grid.layout-masonry .photo-item {
  aspect-ratio: unset;
}
.photos-grid.layout-masonry .photo-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: unset;
}
@media (max-width: 900px) {
  .albums-grid.layout-masonry,
  .photos-grid.layout-masonry { column-count: 2; }
}
@media (max-width: 580px) {
  .albums-grid.layout-masonry,
  .photos-grid.layout-masonry { column-count: 2; }
}

/* List */
.albums-grid.layout-list,
.photos-grid.layout-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.albums-grid.layout-list .album-card,
.photos-grid.layout-list .photo-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 88px;
  aspect-ratio: unset;
}
.albums-grid.layout-list .album-card .album-cover,
.photos-grid.layout-list .photo-item .photo-cover {
  width: 130px;
  min-width: 130px;
  height: 88px;
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
}
.albums-grid.layout-list .album-card .album-cover img,
.photos-grid.layout-list .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
}
.albums-grid.layout-list .album-card .album-info {
  position: relative;
  bottom: unset;
  left: unset;
  right: unset;
  padding: 12px 16px;
  flex: 1;
  background: var(--bg-card);
}
.albums-grid.layout-list .album-card .album-info h3 {
  color: var(--text-primary);
  text-shadow: none;
  font-size: 0.95rem;
}
.albums-grid.layout-list .album-card .album-meta {
  color: var(--text-muted);
}
.albums-grid.layout-list .album-card .album-cover-overlay { display: none; }

/* ─── Platform Layout ────────────────────────────────────────────────────── */
.platform-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.platform-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.platform-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 28px;
}

.p-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
}

.p-nav a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.p-nav a.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.p-nav .nav-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.70;
}

.p-nav a.active .nav-icon { opacity: 1; }

.platform-main {
  padding: 36px 40px;
  overflow-x: hidden;
}

/* ── Platform mobile topbar ─────────────────────────────────────────────── */
.platform-topbar {
  display: none;
}
.topbar-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topbar-hamburger:hover { background: var(--bg-card); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.45);
  z-index: 150;
}
.sidebar-overlay.open { display: block; }

@media (max-width: 900px) {
  .platform-layout { grid-template-columns: 1fr; }
  .platform-main { padding: 72px 16px 32px; }

  /* Sidebar vira drawer deslizante */
  .platform-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
    box-shadow: none;
  }
  .platform-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 32px oklch(0 0 0 / 0.18);
  }
  body.sidebar-open { overflow: hidden; }

  /* Topbar aparece no mobile */
  .platform-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 12px;
    z-index: 100;
  }
  .platform-topbar .topbar-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    color: var(--text-primary);
  }
}

/* ─── Login Card (admin + platform shared) ───────────────────────────────── */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-hover);
}

.login-logo {
  text-align: center;
  margin-bottom: 36px;
}

.login-logo h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.login-logo p {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: var(--font-body);
}

.login-tag {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-body);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.login-error {
  background: oklch(0.55 0.18 25 / 0.08);
  border: 1px solid oklch(0.55 0.18 25 / 0.25);
  color: oklch(0.65 0.18 25);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: none;
}

/* ─── Metric Cards (platform dashboard) ─────────────────────────────────── */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

/* ─── Tenant Table + Status Badges ──────────────────────────────────────── */
.tenant-table {
  width: 100%;
  border-collapse: collapse;
}

.tenant-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
}

.tenant-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-family: var(--font-body);
  vertical-align: middle;
}

.tenant-table tr:hover td { background: var(--bg-card); }

@media (max-width: 720px) {
  .tenant-table,
  .tenant-table tbody,
  .tenant-table tr,
  .tenant-table td { display: block; width: 100%; box-sizing: border-box; }

  .tenant-table thead { display: none; }
  .tenant-table tr:hover td { background: var(--bg-card); }

  .tenant-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg-card);
  }
  .tenant-table td { border-bottom: none; background: var(--bg-card); }
  .tenant-table td.hide-mobile { display: none !important; }

  .tenant-table td.card-head {
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--border);
  }
  .tenant-table td[data-label] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 14px;
    font-size: .85rem;
  }
  .tenant-table td[data-label]::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
    margin-right: 12px;
  }
  .tenant-table td.card-actions {
    padding: 10px 14px;
    border-top: 1px solid var(--border);
  }
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

.status-active    { background: oklch(0.78 0.15 162 / 0.14); color: oklch(0.78 0.15 162); }
.status-trialing  { background: oklch(0.72 0.15 270 / 0.14); color: oklch(0.72 0.15 270); }
.status-suspended { background: oklch(0.65 0.18 25 / 0.14);  color: oklch(0.65 0.18 25); }
.status-pending_payment { background: oklch(0.72 0.13 65 / 0.14); color: oklch(0.62 0.12 65); }
.status-canceled  { background: oklch(0.68 0.02 258 / 0.14); color: oklch(0.68 0.02 258); }

/* ─── Settings Sections (admin + platform) ───────────────────────────────── */
.settings-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.settings-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.settings-section .section-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: var(--font-body);
}

/* ─── Plan hint text ─────────────────────────────────────────────────────── */
.form-group .hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-body);
}

/* ─── Cookie Banner (LGPD) ───────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.cookie-banner-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-text p { max-width: 100%; }
  #cookie-banner { padding: 14px 16px; }
}

