/* ============================================================
   InVision Ótica Personalizada — Estilos customizados
   Bootstrap 5 cuida do grid, utilitários e componentes base.
   Aqui ficam apenas as sobreposições e peças exclusivas.
   ============================================================ */

/* ── VARIÁVEIS & TIPOGRAFIA ─────────────────────────────────── */

:root {
  --blue:       #00a9ce;
  --blue-dark:  #007fa0;
  --blue-light: #e6f7fc;
  --black:      #0a0a0a;
  --shadow:     0 4px 32px rgba(0, 169, 206, 0.12);
  --radius:     4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: "Cormorant Garamond", serif;
  --font-sans:  "DM Sans", sans-serif;
  font-variant-numeric: lining-nums;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  overflow-x: hidden;
}

.serif       { font-family: var(--font-serif); }
.text-invision { color: var(--blue) !important; }
.cursor-pointer { cursor: pointer; }
a { text-decoration: none; }

/* ── HEADER ─────────────────────────────────────────────────── */

#site-header { z-index: 100; }

/* Banner de aviso */
#notice-banner {
  display: none;
  background: #c0392b;
  color: #fff;
  text-align: center;
  padding: 0.5rem 5vw;
  font-size: 0.88rem;
  font-weight: 500;
  animation: noticeFadeIn 0.35s both;
}
#notice-banner.visible { display: block; }
@keyframes noticeFadeIn {
  from { opacity: 0; max-height: 0; }
  to   { opacity: 1; max-height: 80px; }
}

/* Offset de âncoras */
:target { scroll-margin-top: var(--header-h, 80px); }

/* ── HERO ────────────────────────────────────────────────────── */
/* ── HERO RENOVADO — VARILUX ─────────────────────────────────── */

.hero-right {
  background: #07090f;
  min-height: 400px;
}

.hero-right-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0,169,206,.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,127,160,.08) 0%, transparent 60%),
    linear-gradient(135deg, #07090f 0%, #0d1117 50%, #070c12 100%);
  z-index: 0;
}

/* Partículas flutuantes */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particle {
  position: absolute;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: particlePulse 4s ease-in-out infinite;
}
@keyframes particlePulse {
  0%,100% { opacity: 0;   transform: scale(1);    }
  50%      { opacity: .55; transform: scale(1.6);  }
}

/* Varilux — centro */
.varilux-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anel de brilho animado atrás do card */
.varilux-glow-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0,169,206,.18);
  animation: ringPulse 3.5s ease-in-out infinite;
}
.varilux-glow-ring::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0,169,206,.1);
  animation: ringPulse 3.5s ease-in-out infinite .8s;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1);    opacity: .5; }
  50%      { transform: scale(1.07); opacity: 1;  }
}

/* Card da Varilux */
.varilux-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 3rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(0,169,206,.08),
    0 24px 64px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.06);
  animation: variluxFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes variluxFloat {
  0%,100% { transform: translateY(0);     }
  50%      { transform: translateY(-8px);  }
}

.varilux-img {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,169,206,.25));
  transition: filter var(--transition);
}
.varilux-card:hover .varilux-img {
  filter: drop-shadow(0 6px 28px rgba(0,169,206,.45));
}

.varilux-label {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0,169,206,.7);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 767px) {
  .varilux-card { padding: 1.75rem 2rem; }
  .varilux-img  { width: 160px; }
  .varilux-glow-ring { width: 220px; height: 220px; }
}



#hero {
  padding-top: 72px; /* altura do header fixo */
}

@media (max-width: 767px) {
  #hero { grid-template-columns: 1fr !important; }
  .hero-right { height: 280px; }
}

.hero-left { animation: fadeUp 0.9s both; }
.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00a9ce22 0%, transparent 60%);
  z-index: 1;
}

/* ── TIPOGRAFIA DE SEÇÃO ─────────────────────────────────────── */

.py-section { padding: 5rem 5vw; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: normal; color: var(--blue); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

/* ── BOTÕES CUSTOMIZADOS ─────────────────────────────────────── */

.btn-invision {
  padding: 0.75rem 1.8rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.btn-invision:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.btn-invision-outline {
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
}
.btn-invision-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: #25d366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); color: #fff; }
.btn-whatsapp svg  { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ── SEÇÃO DE AVISO FIXO ─────────────────────────────────────── */

#aviso { padding: 0.75rem 5vw; font-size: 1rem; }

/* ── CATEGORIAS ──────────────────────────────────────────────── */

.cat-card {
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cat-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.cat-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-icon svg {
  width: 26px; height: 26px;
  stroke: var(--blue); fill: none; stroke-width: 1.6;
}

/* ── VITRINE ─────────────────────────────────────────────────── */

.filter-btn {
  padding: 0.4rem 1.1rem;
  background: transparent;
  border: 1.5px solid #d0d0d0;
  border-radius: 99px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #6b6b6b;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* Cards de produto são gerados via JS, mantém estilos essenciais */
.product-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: fadeUp 0.5s both;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue); color: #fff;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 99px; z-index: 2;
}
.product-card__image {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
}
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f0f9fd, #e6f7fc);
}
.product-card__info { padding: 1.25rem; }
.product-card__title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.3rem; }
.product-card__description { font-size: 0.8rem; color: #6b6b6b; margin-bottom: 0.9rem; line-height: 1.5; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f0f0; padding-top: 0.9rem; }
.product-card__price { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--blue); }
.product-card__price small { font-size: 0.7rem; color: #6b6b6b; font-family: var(--font-sans); font-weight: 400; }
.btn-ask {
  padding: 0.4rem 0.9rem; background: var(--black); color: #fff;
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background var(--transition);
}
.btn-ask:hover { background: var(--blue); }
.empty-state { text-align: center; padding: 4rem 2rem; color: #6b6b6b; }
.empty-state svg { width: 56px; height: 56px; margin-bottom: 1rem; opacity: 0.3; stroke: var(--blue); fill: none; stroke-width: 1.4; }

/* ── CONTATO & REDES SOCIAIS ─────────────────────────────────── */

.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg      { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.contact-icon svg.icon-fill { stroke: none; fill: var(--blue); }
.contact-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.2rem; }
.contact-value { font-size: 0.95rem; color: #ccc; line-height: 1.5; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { letter-spacing: 0.04em; }

/* ── PAINEL ADMIN ────────────────────────────────────────────── */

#admin-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: flex-end;
  padding: 1rem; overflow-y: auto;
}
#admin-overlay.open { display: flex; }
body.admin-open { overflow: hidden; }

.admin-panel {
  width: 100%; max-width: 540px; background: #fff; border-radius: 6px;
  overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.4);
  display: flex; flex-direction: column;
  height: calc(100vh - 2rem); min-height: 0;
}
@media (max-width: 767px) { .admin-panel { max-width: 100%; } }

.admin-body { flex: 1; overflow-y: auto; min-height: 0; }
.admin-content-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.admin-section-title {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
  padding-bottom: 0.4rem; border-bottom: 1px solid #eee;
}
.admin-section-title--notice { color: #c0392b; border-color: #f5c6c2; }

.btn-admin-close {
  background: none; border: none; color: #777; cursor: pointer; font-size: 1.3rem;
}
.btn-admin-logout {
  background: none; border: 1px solid #444; color: #aaa;
  padding: 0.3rem 0.7rem; border-radius: var(--radius);
  cursor: pointer; font-size: 0.75rem; font-family: inherit;
}

/* Formulário admin */
.admin-body .form-control,
.admin-body .form-select {
  background: #f5f5f5; border-color: #ddd; color: var(--black);
}
.admin-body .form-control:focus,
.admin-body .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(0,169,206,.15); }

.login-error { display: none; }
.login-error.visible { display: block; }

/* ── UPLOAD DE IMAGEM ────────────────────────────────────────── */

.img-upload-area {
  border: 2px dashed #d0d0d0; border-radius: var(--radius);
  background: #f5f5f5; cursor: pointer; min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.img-upload-area:hover,
.img-upload-area.drag-over { border-color: var(--blue); background: var(--blue-light); }
.img-upload-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.5rem; color: #6b6b6b; text-align: center; pointer-events: none;
}
.img-upload-placeholder svg { width: 32px; height: 32px; stroke: var(--blue); fill: none; stroke-width: 1.8; opacity: 0.7; }
.img-upload-placeholder span { font-size: 0.82rem; font-weight: 500; color: var(--blue); }
.img-upload-placeholder small { font-size: 0.72rem; }
.img-upload-preview { width: 100%; max-height: 180px; object-fit: contain; display: block; padding: 0.5rem; }
.btn-img-clear {
  background: none; border: none; color: #ee5555;
  font-size: 0.75rem; cursor: pointer; padding: 0; font-family: inherit;
}
.btn-img-clear:hover { text-decoration: underline; }

/* Lista de itens admin */
.admin-item {
  display: flex; gap: 1rem; align-items: center;
  padding: 0.9rem; border: 1px solid #eee; border-radius: var(--radius);
  margin-bottom: 0.6rem; transition: box-shadow var(--transition);
}
.admin-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.admin-item__thumb {
  width: 52px; height: 52px; border-radius: var(--radius);
  overflow: hidden; background: #f5f5f5; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.admin-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-item__info { flex: 1; }
.admin-item__name { font-weight: 500; font-size: 0.9rem; }
.admin-item__category { font-size: 0.72rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.07em; }
.admin-item__price { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.admin-item__actions { display: flex; gap: 0.4rem; }
.btn-icon {
  width: 32px; height: 32px; border: none; border-radius: var(--radius);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.btn-icon svg { width: 20px; height: 20px; stroke-width: 1.8; stroke: currentColor; fill: none; }
.btn-icon--edit   { background: var(--blue-light); color: var(--blue); }
.btn-icon--edit:hover { background: #b3e9f5; }
.btn-icon--delete { background: #fff0f0; color: #ee5555; }
.btn-icon--delete:hover { background: #ffd6d6; }

/* ── MODAL ────────────────────────────────────────────────────── */

#modal-contact {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
#modal-contact.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 8px; width: 100%; max-width: 380px;
  overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.3);
  animation: fadeUp 0.3s both; position: relative;
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 28px; height: 28px; background: rgba(0,0,0,.4); border: none;
  border-radius: 50%; cursor: pointer; font-size: 0.85rem; color: #fff;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.modal-close:hover { background: rgba(0,0,0,.65); }
.modal-product-image {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f9fd, #e6f7fc);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.modal-product-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-product-description { display: none; }
.modal-product-description.visible { display: block; }

/* ── VISIOFFICE 3 ────────────────────────────────────────────── */

.visioffice-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: #07090f;
  color: #fff;
  overflow: hidden;
}

/* Coluna de texto */
.visioffice-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(2rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(0,169,206,.07) 0%, transparent 65%);
  position: relative;
  z-index: 1;
}

.visioffice-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin: .5rem 0 1.25rem;
}
.visioffice-title em { font-style: normal; color: var(--blue); }

.visioffice-body {
  color: #aaa;
  font-size: .97rem;
  line-height: 1.85;
  max-width: 480px;
}

.visioffice-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .85rem;
  border: 1.5px solid rgba(0,169,206,.3);
  border-radius: 99px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0,169,206,.05);
  transition: background var(--transition), border-color var(--transition);
}
.visioffice-badge:hover {
  background: rgba(0,169,206,.13);
  border-color: var(--blue);
}
.visioffice-badge svg {
  width: 13px; height: 13px;
  stroke: var(--blue); fill: none; stroke-width: 2;
  flex-shrink: 0;
}

/* Coluna do vídeo */
.visioffice-video-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 60% at 100% 50%, rgba(0,169,206,.10) 0%, transparent 65%),
    linear-gradient(135deg, #0a0c14 0%, #07090f 100%);
}

/* Brilho decorativo por trás do vídeo */
.visioffice-video-glow {
  position: absolute;
  width: 340px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,169,206,.18) 0%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: .7; transform: scale(1);    }
  50%      { opacity: 1;  transform: scale(1.08); }
}

/* Frame do iframe com borda luminosa */
.visioffice-video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,169,206,.2),
    0 0 0 4px rgba(0,169,206,.06),
    0 32px 80px rgba(0,0,0,.6);
  aspect-ratio: 16 / 9;
  background: #000;
  transition: box-shadow var(--transition);
}
.visioffice-video-frame:hover {
  box-shadow:
    0 0 0 1px rgba(0,169,206,.45),
    0 0 0 4px rgba(0,169,206,.1),
    0 32px 80px rgba(0,0,0,.7);
}
.visioffice-video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Facade do YouTube ── */
.visioffice-video-frame {
  cursor: pointer;
}

.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(.88) saturate(.9);
}
.visioffice-video-frame:hover .yt-thumb {
  transform: scale(1.03);
  filter: brightness(.72) saturate(.85);
}

/* Botão play */
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform .25s ease;
}
.yt-play-btn svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.5));
  transition: transform .25s ease, filter .25s ease;
}
.visioffice-video-frame:hover .yt-play-btn svg {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 32px rgba(0,169,206,.45));
}

/* Duração */
.yt-duration {
  position: absolute;
  bottom: .75rem;
  right: .85rem;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .15rem .45rem;
  border-radius: 4px;
  z-index: 3;
  pointer-events: none;
}

/* Responsivo */
@media (max-width: 900px) {
  .visioffice-section {
    grid-template-columns: 1fr;
  }
  .visioffice-text {
    padding: 3.5rem 2rem 2rem;
  }
  .visioffice-video-wrap {
    padding: 0 2rem 3.5rem;
  }
}

/* ── QUEM SOMOS ──────────────────────────────────────────────── */

.quem-somos-emblem {
  width: clamp(180px, 28vw, 280px);
  height: clamp(180px, 28vw, 280px);
  opacity: .9;
  filter: drop-shadow(0 0 32px rgba(0,169,206,.18));
  animation: floatEmblem 6s ease-in-out infinite;
}

@keyframes floatEmblem {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-10px); }
}

.quem-somos-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border: 1.5px solid rgba(0,169,206,.35);
  border-radius: 99px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0,169,206,.06);
  transition: background var(--transition), border-color var(--transition);
}
.quem-somos-badge:hover {
  background: rgba(0,169,206,.14);
  border-color: var(--blue);
}
.quem-somos-badge svg {
  width: 14px; height: 14px;
  stroke: var(--blue); fill: none; stroke-width: 1.8;
}

.quem-somos-text {
  color: #bbb;
  font-size: .97rem;
  line-height: 1.85;
  max-width: 640px;
}

/* ── CAROUSEL — estilo banner de campanha (Ray-Ban / editorial) ── */

#site-carousel-wrap {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

/* Item: altura generosa, imagem preenche tudo */
#siteCarousel .carousel-item {
  background: #0a0a0a;
}

#siteCarousel .carousel-item .carousel-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 180px;
  overflow: hidden;
}

#siteCarousel .carousel-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
  display: block;
  animation: none;
  transition: transform 8s ease;
}

#siteCarousel .carousel-item.active img {
  animation: kenBurns 8s ease forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1);    }
}

/* Caption: texto branco sobre gradiente, alinhado à direita como Ray-Ban */
#siteCarousel .carousel-caption {
  position: absolute;
  right: 6%;
  bottom: 12%;
  left: auto;
  width: min(420px, 45%);
  text-align: right;
  padding: 0;
  background: none;
}

#siteCarousel .carousel-caption h5 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  color: #fff;
}

#siteCarousel .carousel-caption p {
  font-size: .88rem;
  opacity: .88;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* Gradiente escuro nas laterais para legibilidade do texto */
#siteCarousel .carousel-item .carousel-img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 40%,
    rgba(0,0,0,.45) 100%
  );
  pointer-events: none;
}

/* Setas: minimalistas, finas, brancas */
#siteCarousel .carousel-control-prev,
#siteCarousel .carousel-control-next {
  width: 52px;
  opacity: 0;
  transition: opacity .3s ease;
}
#site-carousel-wrap:hover .carousel-control-prev,
#site-carousel-wrap:hover .carousel-control-next {
  opacity: 1;
}
#siteCarousel .carousel-control-prev-icon,
#siteCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  filter: none;
}

/* Indicadores: tracinhos finos como Ray-Ban */
#siteCarousel .carousel-indicators {
  bottom: 1rem;
  gap: 6px;
  margin: 0;
  justify-content: center;
}
#siteCarousel .carousel-indicators [data-bs-target] {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,.4);
  transition: background .3s ease, width .3s ease;
  margin: 0;
}
#siteCarousel .carousel-indicators .active {
  background: #fff;
  width: 36px;
}

@media (max-width: 768px) {
  #siteCarousel .carousel-caption {
    right: 5%;
    left: 5%;
    width: auto;
    bottom: 14%;
    text-align: center;
  }
  #siteCarousel .carousel-item .carousel-img-box::after {
    background: linear-gradient(
      to top,
      rgba(0,0,0,.55) 0%,
      transparent 60%
    );
  }
}

/* Admin: secao carousel */
.admin-section-title--carousel { color: #7c3aed; border-color: #ede9fe; }

.carousel-upload-box {
  background: #f8f7ff;
  border: 1px solid #ede9fe;
}

/* Slide item na lista admin */
.carousel-admin-item {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  border: 1px solid #eee;
  border-radius: var(--radius);
  margin-bottom: .5rem;
  transition: box-shadow var(--transition);
}
.carousel-admin-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.07); }

.carousel-admin-item__thumb {
  width: 72px; height: 48px;
  border-radius: var(--radius);
  overflow: hidden; background: #f5f5f5; flex-shrink: 0;
}
.carousel-admin-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.carousel-admin-item__info { flex: 1; min-width: 0; }
.carousel-admin-item__title { font-size: .85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carousel-admin-item__caption { font-size: .72rem; color: #6b6b6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.carousel-admin-item__order { display: flex; flex-direction: column; gap: 2px; }
.btn-order {
  background: #f0f0f0; border: none; border-radius: 2px;
  width: 22px; height: 22px; cursor: pointer; font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.btn-order:hover { background: #d0d0d0; }
.btn-order:disabled { opacity: .3; cursor: default; }

/* ── NOTIFICAÇÕES ────────────────────────────────────────────── */

.notif {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: var(--black); color: #fff;
  padding: 0.75rem 1.2rem; border-radius: var(--radius);
  font-size: 0.85rem; border-left: 3px solid var(--blue); z-index: 9999;
  animation: slideIn 0.3s both; box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.notif--success { border-left-color: #2ecc71; }
.notif--error   { border-left-color: #ee5555; }

/* ── ANIMAÇÕES ───────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}