/* ==========================================================================
   DS HOME — Premium Furniture Marketplace
   Sua casa, nosso design.
   ========================================================================== */

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* GOLD */
  --gold-50:  #FAF6E4;
  --gold-100: #F5EBC1;
  --gold-200: #ECD68A;
  --gold-300: #E0BB55;
  --gold-400: #D4AF37;
  --gold-500: #B8941F;
  --gold-600: #A8862B;
  --gold-700: #806816;

  /* BLACK & GRAYS */
  --black: #0A0A0A;
  --black-soft: #141414;
  --charcoal: #1A1A1A;
  --dark-gray: #2D2D2D;
  --gray: #6B6B6B;
  --gray-light: #A1A1A1;
  --gray-pale: #E5E5E5;
  --off-white: #F8F8F6;
  --white-soft: #FAFAFA;
  --white: #FFFFFF;
  --cream: #FAF6F0;

  /* SEMANTIC */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --whatsapp: #25D366;

  /* SHADOWS */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --shadow-gold: 0 12px 32px rgba(212,175,55,0.3);
  --shadow-luxe: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(212,175,55,0.06);

  /* TRANSITIONS */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-luxe: 800ms cubic-bezier(0.65, 0, 0.35, 1);

  /* SIZES */
  --container: 1440px;
  --container-padding: 24px;
  --header-h: 140px;

  /* RADIUS */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

.hide-mobile { display: none; }
.hide-tablet { display: inherit; }

@media (min-width: 1024px) {
  .hide-mobile { display: inline-flex; }
  .hide-desktop { display: none; }
}

@media (max-width: 768px) {
  .hide-tablet { display: none; }
}

/* ===== TYPOGRAPHY ===== */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'Inter', sans-serif; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--black);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 600ms;
}

.btn--primary:hover::after { left: 100%; }

.btn--secondary {
  background: var(--black);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-500);
  border: 2px solid var(--gold-400);
}

.btn--outline-gold:hover {
  background: var(--gold-400);
  color: var(--black);
}

.btn--outline.btn--white {
  border-color: var(--white);
  color: var(--white);
}

.btn--outline.btn--white:hover {
  background: var(--white);
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-500);
  padding: 10px 16px;
}

.btn--lg { padding: 20px 44px; font-size: 14px; }
.btn--full { width: 100%; }
.btn i { width: 18px; height: 18px; }

/* ===== SECTION ===== */
.section { padding: 100px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 140px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
}

.section-header {
  margin-bottom: 56px;
  max-width: 800px;
}

.section-header--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-500);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

.section-header__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.section-header__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header__description {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 640px;
}

.section-header--centered .section-header__description {
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 64px;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.badge--own {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--black);
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}

.badge--supplier {
  background: linear-gradient(135deg, #4A90E2, #357ABD);
  color: var(--white);
}
.badge--dropshipping {
  background: var(--gray);
  color: var(--white);
  border: 1px solid var(--gray-light);
}
.badge--seller { background: var(--gray-light); color: var(--black); }
.badge--new { background: var(--success); color: var(--white); }
.badge--promo { background: var(--error); color: var(--white); }
.badge--trending {
  background: var(--black);
  color: var(--gold-400);
  border: 1px solid var(--gold-400);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.fade-in { animation: fadeInUp 500ms ease-out both; }
.fade-in--delay-1 { animation-delay: 80ms; }
.fade-in--delay-2 { animation-delay: 160ms; }
.fade-in--delay-3 { animation-delay: 240ms; }
.fade-in--delay-4 { animation-delay: 320ms; }

/* ===== HEADER STYLES ===== */

/* TOP BAR — Ds Art's LTDA */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-pale);
  font-size: 12px;
  padding: 8px 0;
  color: var(--gray);
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__left strong {
  color: var(--gold-600);
  font-weight: 600;
}

.top-bar__right {
  display: flex;
  gap: 24px;
}

.top-bar__right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  transition: color var(--t-fast);
  font-weight: 500;
}

.top-bar__right a:hover {
  color: var(--gold-600);
}

.top-bar__right i {
  width: 14px;
  height: 14px;
}

.announcement-bar {
  background: linear-gradient(90deg, var(--black) 0%, var(--charcoal) 50%, var(--black) 100%);
  color: var(--white);
  font-size: 13px;
  padding: 10px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.announcement-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  animation: shimmer 4s linear infinite;
  background-size: 200% 100%;
}

.announcement-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.announcement-bar__content strong {
  color: var(--gold-400);
}

.announcement-bar__contacts {
  display: flex;
  gap: 20px;
}

.announcement-bar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 12px;
  transition: color var(--t-fast);
}

.announcement-bar__contacts a:hover { color: var(--gold-400); }

.announcement-bar__contacts i {
  width: 14px;
  height: 14px;
}

.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--t-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__top {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-pale);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.menu-toggle:hover { background: var(--off-white); }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* LOGO — fonte combinando com a logo real DS Home */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 6px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.logo__ds {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  background: linear-gradient(135deg, #E6C766 0%, #B8860B 50%, #8B6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  line-height: 1;
}

.logo__home {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  letter-spacing: 4px;
  line-height: 1;
}

.logo--white .logo__home {
  color: var(--white);
}

/* SEARCH */
.search-bar {
  flex: 1;
  max-width: 720px;
  display: flex;
  align-items: center;
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  padding: 0 4px 0 20px;
  transition: all var(--t-base);
}

.search-bar:focus-within {
  background: var(--white);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}

.search-bar__icon {
  width: 20px;
  height: 20px;
  color: var(--gray);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 12px;
  outline: none;
  color: var(--black);
  font-size: 15px;
}

.search-bar input::placeholder { color: var(--gray-light); }

.search-bar__btn {
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background var(--t-base);
  text-transform: uppercase;
}

.search-bar__btn:hover { background: var(--dark-gray); }

/* HEADER ACTIONS */
.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  transition: background var(--t-fast);
  position: relative;
}

.header__action:hover { background: var(--off-white); }
.header__action i { width: 22px; height: 22px; }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold-400);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAVIGATION */
.nav {
  background: var(--white);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

/* No desktop o megamenu precisa "vazar" pra baixo do nav — overflow visível.
   (No mobile/tablet o megamenu é display:none, mantém o scroll horizontal.) */
@media (min-width: 1025px) {
  .nav { overflow: visible; }
}

.nav__list {
  display: flex;
  gap: 4px;
  padding: 12px 0;
  white-space: nowrap;
}

.nav__item {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  position: relative;
}

.nav__item:hover {
  color: var(--black);
  background: var(--off-white);
}

.nav__item.is-active {
  color: var(--gold-600);
  font-weight: 700;
}

.nav__item--featured {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--black) !important;
  font-weight: 700;
}

.nav__item--featured:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}

.nav__item--promo {
  color: var(--error) !important;
  font-weight: 700;
}

/* MEGA MENU */
.nav__has-megamenu {
  position: relative;
}

.nav__has-megamenu > .nav__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.megamenu {
  position: absolute;
  top: 100%;
  left: -32px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  min-width: 720px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9001;
  border-top: 3px solid var(--gold-400);
}

.nav__has-megamenu:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu--gold {
  background: linear-gradient(135deg, #FAF6E4 0%, #FFFFFF 100%);
}

.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 240px;
  gap: 32px;
}

.megamenu__col h4 {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-700);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-200);
}

.megamenu__col a {
  display: block;
  padding: 8px 0;
  color: var(--dark-gray);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--t-fast);
  border-radius: 0;
  background: none !important;
}

.megamenu__col a:hover {
  color: var(--gold-600);
  padding-left: 6px;
  background: none !important;
}

.megamenu__featured {
  background: var(--off-white);
  border-radius: var(--r-md);
  padding: 16px;
  margin: -16px;
}

.megamenu__featured-img {
  width: 100%;
  height: 140px;
  border-radius: var(--r-sm);
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
}

.megamenu__featured h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 6px;
}

.megamenu__featured p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 12px;
}

.megamenu__cta {
  font-family: 'Cinzel', serif;
  color: var(--gold-600) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 0 !important;
}

@media (max-width: 1024px) {
  .megamenu { display: none; }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--t-base);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray-pale);
}

.mobile-menu__close {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__list {
  padding: 20px 0;
}

.mobile-menu__item {
  display: block;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-pale);
  transition: all var(--t-fast);
}

.mobile-menu__item:hover {
  background: var(--off-white);
  padding-left: 32px;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--black);
  color: var(--gray-light);
  padding-top: 80px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold-400) 50%,
    transparent 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dark-gray);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
}

.footer__logo-text .ds {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 28px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__logo-text .home {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--white);
  font-weight: 700;
  margin-top: 2px;
}

.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold-300);
  font-size: 20px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.footer__about {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  color: var(--gray-light);
}

.footer__social a:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--black);
  transform: translateY(-3px);
}

.footer__social i { width: 18px; height: 18px; }

.footer__column h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.footer__column ul li {
  margin-bottom: 14px;
}

.footer__column ul li a {
  font-size: 14px;
  color: var(--gray-light);
  transition: all var(--t-fast);
  display: inline-block;
}

.footer__column ul li a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer__column .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--gray-light);
}

.footer__column .contact-item i {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__payments {
  padding: 32px 0;
  border-bottom: 1px solid var(--dark-gray);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer__payments {
    grid-template-columns: 1fr 1fr;
  }
}

.footer__payments-title {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.payments-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-icon {
  background: var(--dark-gray);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid var(--charcoal);
}

.payment-icon.pix {
  background: linear-gradient(135deg, #32BCAD, #0AA39B);
  color: var(--white);
}

.footer__security {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer__security {
    justify-content: flex-end;
  }
}

.security-badge {
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--dark-gray);
}

.security-badge i {
  width: 14px;
  height: 14px;
  color: var(--success);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}

.footer__bottom p {
  margin-bottom: 6px;
}

.footer__bottom strong {
  color: var(--gold-400);
}

/* ============== WHATSAPP FLOAT ============== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  z-index: 99;
  transition: all var(--t-base);
  animation: bounce 3s ease-in-out infinite;
  font-weight: 600;
  font-size: 14px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  width: 24px;
  height: 24px;
}

.whatsapp-float__text {
  display: none;
}

@media (min-width: 768px) {
  .whatsapp-float__text {
    display: inline;
  }
}

/* ============== BACK TO TOP ============== */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: var(--black);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4), 0 2px 8px rgba(0,0,0,0.15);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.5), 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.96);
}

.back-to-top i {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

/* Animação sutil de pulse no canto */
.back-to-top::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  opacity: 0;
  transition: all 400ms ease;
}

.back-to-top.is-visible::before {
  animation: backToTopPulse 2.5s ease-in-out infinite;
}

@keyframes backToTopPulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}

/* ============== TOAST ============== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--black);
  color: var(--white);
  padding: 18px 32px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all var(--t-base);
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 90%;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast i {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
}

/* ============== UTILITIES ============== */
.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-black { color: var(--black); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.bg-black { background: var(--black); }
.bg-cream { background: var(--cream); }
.bg-off-white { background: var(--off-white); }

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== LOADING ============== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-pale) 25%, var(--off-white) 50%, var(--gray-pale) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== ANTI-FLASH DO HEADER (injetado via JS) ===== */
/* Reserva espaço enquanto o JS não preencheu o header/footer,
   evitando o "pulo" brusco do conteúdo ao carregar. */
#header-component:empty {
  display: block;
  min-height: 210px;          /* topbar + announcement + header + nav */
  background: var(--white);
  border-bottom: 1px solid var(--gray-pale);
}
@media (max-width: 1024px) {
  #header-component:empty { min-height: 150px; }
}
#header-component {
  animation: headerFadeIn 350ms ease-out;
}
@keyframes headerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#footer-component:empty {
  display: block;
  min-height: 400px;
  background: var(--black);
}
