/* ============================================================
   7Convert — Estilos Principais
   Arquivo: css/style.css
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
  --yellow: #FFD000;
  --yellow-dark: #E6BC00;
  --yellow-light: #FFF6C0;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-400: #A1A1AA;
  --gray-600: #52525B;
  --gray-800: #27272A;
  --bg: #FFFFFF;
  --bg-2: #FAFAFA;
  --bg-3: #F4F4F5;
  --surface: #FFFFFF;
  --border: #E4E4E7;
  --text: #0A0A0A;
  --text-muted: #71717A;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0F0F0F;
  --bg-2: #161616;
  --bg-3: #1E1E1E;
  --surface: #1A1A1A;
  --border: #2A2A2A;
  --text: #F9F9F9;
  --text-muted: #888;
  --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ==================== TYPOGRAPHY ==================== */
.font-display { font-family: 'Syne', sans-serif; }
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.2; }

/* ==================== HEADER ==================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo span { color: var(--text); }
.logo .accent { color: var(--yellow-dark); }

/* ===== NAV ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 40px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover { color: var(--yellow-dark); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--yellow);
  transition: width 0.2s;
}

.nav-link:hover::after { width: 100%; }

/* ===== RIGHT SIDE ===== */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  font-size: 1.1rem;
}

.theme-toggle:hover { background: var(--yellow-light); transform: scale(1.05); }

/* ==================== HERO ==================== */
.hero {
  padding: 64px 24px 48px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow-light);
  border: 1px solid #FFD00044;
  color: #7a6200;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[data-theme="dark"] .hero-tag { background: #2a2400; border-color: #FFD00033; color: #FFD000; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero h1 .highlight {
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 6px;
  color: #000;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ==================== TABS ==================== */
.tabs-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.tabs-nav {
  display: flex;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: 9px 16px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 2px 8px rgba(255,208,0,0.3);
}
.tab-btn:not(.active):hover { background: var(--bg); color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ==================== CARD ==================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition);
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.card-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }

/* ==================== DROP ZONE ==================== */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-2);
  position: relative;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--yellow);
  background: var(--yellow-light);
}
[data-theme="dark"] .drop-zone:hover,
[data-theme="dark"] .drop-zone.dragover { background: #1a1600; border-color: var(--yellow); }
.drop-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop-icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  transition: transform var(--transition);
}
.drop-zone:hover .drop-icon { transform: scale(1.08) rotate(-4deg); }
.drop-zone h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.drop-zone p { font-size: 0.83rem; color: var(--text-muted); }
.drop-zone .formats { margin-top: 12px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.fmt-tag {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* ==================== OPTIONS ROW ==================== */
.options-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.option-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 140px; }
.option-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.option-group select,
.option-group input[type="number"],
.option-group input[type="range"] {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.option-group select:focus, .option-group input:focus { outline: none; border-color: var(--yellow); }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}
.select-wrapper select { width: 100%; padding-right: 32px; }
input[type="range"] {
  padding: 0;
  height: 4px;
  border-radius: 100px;
  cursor: pointer;
  accent-color: var(--yellow);
}
.range-row { display: flex; align-items: center; gap: 10px; }
.range-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  min-width: 36px;
  text-align: right;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.checkbox-row input[type="checkbox"] { accent-color: var(--yellow); width: 15px; height: 15px; cursor: pointer; }
.checkbox-row label { font-size: 0.85rem; color: var(--text-muted); cursor: pointer; }

/* ==================== PREVIEW ==================== */
.preview-section {
  margin-top: 28px;
  display: none;
  animation: fadeIn 0.3s ease;
}
.preview-section.visible { display: block; }
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.preview-header h4 { font-size: 0.9rem; font-weight: 700; }
.remove-btn {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.remove-btn:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
[data-theme="dark"] .remove-btn:hover { background: #2d1515; border-color: #7f1d1d; color: #f87171; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
}
.preview-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-3);
  aspect-ratio: 1;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .file-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-item .remove-file {
  position: absolute;
  top: 5px; right: 5px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.preview-item .remove-file:hover { background: #dc2626; }

/* ==================== PROGRESS BAR ==================== */
.progress-bar-wrap {
  display: none;
  margin-top: 20px;
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
  height: 6px;
}
.progress-bar-wrap.visible { display: block; }
.progress-bar {
  height: 100%;
  background: var(--yellow);
  border-radius: 100px;
  transition: width 0.15s ease;
  width: 0%;
}
.progress-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: none;
}
.progress-label.visible { display: block; }

/* ==================== CONVERT BUTTON ==================== */
.convert-btn {
  margin-top: 24px;
  width: 100%;
  padding: 14px 24px;
  background: var(--yellow);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.convert-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}
.convert-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,208,0,0.4); }
.convert-btn:hover::after { background: rgba(0,0,0,0.06); }
.convert-btn:active { transform: translateY(0); }
.convert-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ==================== RESULTS ==================== */
.results-section {
  display: none;
  margin-top: 28px;
  animation: fadeIn 0.4s ease;
}
.results-section.visible { display: block; }
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.results-header h4 { font-size: 0.9rem; font-weight: 700; }
.download-all-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  border: 1px solid transparent;
  transition: all var(--transition);
}
[data-theme="dark"] .download-all-btn { background: var(--yellow); color: #000; }
.download-all-btn:hover { opacity: 0.85; }
.result-list { display: flex; flex-direction: column; gap: 10px; }
.result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.result-item:hover { border-color: var(--yellow); }
.result-thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
}
.result-info { flex: 1; min-width: 0; }
.result-name { font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-meta { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.result-meta .saving { color: #22c55e; font-weight: 600; }
.dl-btn {
  padding: 7px 16px;
  border-radius: 8px;
  background: var(--yellow);
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dl-btn:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* ==================== HISTORY ==================== */
.history-section {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.history-header h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.clear-history-btn { font-size: 0.78rem; color: var(--text-muted); transition: color var(--transition); }
.clear-history-btn:hover { color: #dc2626; }
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}
.history-item .h-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--yellow-light); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
[data-theme="dark"] .history-item .h-icon { background: #2a2400; }
.history-item .h-name { flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item .h-meta { color: var(--text-muted); white-space: nowrap; }

/* ==================== TOAST ==================== */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--black);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s forwards;
  pointer-events: all;
  max-width: 320px;
}
[data-theme="dark"] .toast { background: var(--bg-3); border: 1px solid var(--border); }
.toast.success { border-left: 3px solid #22c55e; }
.toast.error { border-left: 3px solid #ef4444; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(20px); } }

/* ==================== INFO SECTION ==================== */
.info-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color var(--transition), transform var(--transition);
}
.info-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.info-card .ic-icon { font-size: 1.6rem; margin-bottom: 12px; }
.info-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.info-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.privacy-banner {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
[data-theme="dark"] .privacy-banner { background: linear-gradient(135deg, #052e16, #14532d); border-color: #166534; }
.privacy-banner .pb-icon { font-size: 2rem; flex-shrink: 0; }
.privacy-banner h3 { font-size: 0.95rem; font-weight: 700; color: #166534; margin-bottom: 4px; }
[data-theme="dark"] .privacy-banner h3 { color: #4ade80; }
.privacy-banner p { font-size: 0.82rem; color: #166534; opacity: 0.8; }
[data-theme="dark"] .privacy-banner p { color: #86efac; }

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
footer a { color: var(--yellow-dark); font-weight: 600; }
[data-theme="dark"] footer a { color: var(--yellow); }

/* ==================== AD BANNER (futuro) ==================== */
.ad-placeholder {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.ad-inner {
  background: var(--bg-3);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==================== LOADING SPINNER ==================== */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.spinner.visible { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== SOBRE ==================== */
.sobre-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}
.sobre-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.sobre-container h2 { font-size: 1.8rem; margin-bottom: 20px; }
.sobre-container p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.sobre-highlight { margin-top: 20px; font-weight: 600; color: var(--yellow-dark); }

/* ==================== RESPONSIVE (mobile only) ==================== */
@media (max-width: 600px) {
  /* Hero — corrige o "instantaneamente" vazando */
  .hero { padding: 32px 16px 28px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); letter-spacing: -0.02em; }
  .hero h1 .highlight { font-size: clamp(1.5rem, 7.5vw, 2.2rem); padding: 2px 8px; }
  .hero p { font-size: 0.95rem; }

  /* Layout geral */
  .card { padding: 18px 16px; }
  .tabs-wrapper { padding: 0 12px 60px; }
  .info-section { padding: 0 12px 60px; }
  .options-row { flex-direction: column; }

  /* Header */
  .privacy-badge { display: none; }
  .nav-links { display: none; }

  /* Tabs */
  .tabs-nav { gap: 4px; padding: 4px; border-radius: 12px; }
  .tab-btn { padding: 8px 10px; font-size: 0.78rem; gap: 4px; }

  /* Drop zone */
  .drop-zone { padding: 32px 16px; }
  .drop-icon { width: 48px; height: 48px; font-size: 1.3rem; }

  /* Preview */
  .preview-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }

  /* Results */
  .result-item { flex-wrap: wrap; gap: 10px; }
  .result-info { min-width: 0; flex: 1; }
  .dl-btn { width: 100%; justify-content: center; }

  /* Info cards */
  .info-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .info-card { padding: 16px; }

  /* Privacy banner */
  .privacy-banner { flex-direction: column; text-align: center; }

  /* Sobre */
  .sobre-container { padding: 24px 16px; }
  .sobre-container h2 { font-size: 1.4rem; }

  /* Ad */
  .ad-placeholder { padding: 0 12px; }
}
/* ==================== REMOVER FUNDO — API BOX ==================== */
.rmbg-api-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 4px;
}
.rmbg-api-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.rmbg-api-link {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow-dark);
  background: var(--yellow-light);
  padding: 3px 10px;
  border-radius: 100px;
  transition: opacity var(--transition);
}
[data-theme="dark"] .rmbg-api-link { background: #2a2400; color: var(--yellow); }
.rmbg-api-link:hover { opacity: 0.8; }

/* ==================== SOBRE MOBILE ==================== */
.sobre-mobile {
  display: none; /* hidden on desktop */
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.sobre-mobile-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.sobre-mobile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sobre-mobile-header svg { color: var(--yellow-dark); flex-shrink: 0; }
.sobre-mobile-header h2 { font-size: 1.05rem; font-weight: 700; }
.sobre-mobile-inner > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sobre-mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow-dark);
  background: var(--yellow-light);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all var(--transition);
}
[data-theme="dark"] .sobre-mobile-link { background: #2a2400; color: var(--yellow); }
.sobre-mobile-link:hover { opacity: 0.85; transform: translateY(-1px); }

/* ==================== IC-ICON (SVG icons) ==================== */
.ic-icon svg { color: var(--yellow-dark); }
[data-theme="dark"] .ic-icon svg { color: var(--yellow); }

@media (max-width: 600px) {
  .sobre-mobile { display: block; }
}
