/* Generated by npm run build:css from css/style.css. */
/* ==========================================================================
   PICDROP DESIGN SYSTEM & STYLESHEET
   ==========================================================================
   ÍNDICE DE SEÇÕES:
   1. TOKENS DE DESIGN & VARIÁVEIS DE TEMA (CLARO / ESCURO)
   2. RESET, BASE & TIPOGRAFIA GLOBAL
   3. COMPONENTES E BOTÕES GLOBAIS (.nav-btn, .pd-btn, .theme-toggle-btn)
   4. LANDING PAGE & EDITORIAL (Hero, Pillars, Why, Categories, Pricing, FAQ)
   5. AUTENTICAÇÃO (LOGIN & CADASTRO - SPLIT LAYOUT)
   6. DASHBOARD MAIN & NAVEGAÇÃO LATERAL (Sidebar, Header, Topbar)
   7. SEÇÕES DO DASHBOARD (Início, Minha Conta, Meu Plano, Indique um Amigo)
   8. MEU PERFIL (Cards, Avatar Integrado, Grids & Redes Sociais Dinâmicas)
   9. GALERIAS & EDITOR DE FOTOS (Grid de Fotos, Modais & Uploader)
   10. MEDIA QUERIES RESPONSIVAS & RECTIFICAÇÕES MOBILE
   ========================================================================== */

/* ==========================================================================
   1. TOKENS DE DESIGN & VARIÁVEIS DE TEMA (CLARO / ESCURO)
   ========================================================================== */

/* Importar fontes premium do Google Fonts */


:root {
  /* Variáveis de Fundo e Texto (Tema Claro Padrão) */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --cor-principal: #181512;
  --cor-destaque: #2b2621;
  --text-main: #181512;
  --text-muted: #64748b;
  --border-color: rgba(0, 0, 0, 0.09);
  --nav-bg: rgba(248, 249, 250, 0.95);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-blur: 12px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.08);

  --text-primary: #475569;
  --input-bg: #ffffff;
  --input-border: rgba(0, 0, 0, 0.12);
  --border-radius: 6px;
  --focus-color: #181512;

  /* Namespace --pd Tokens (Tema Claro) */
  --pd-bg-main: #f8f9fa;
  --pd-bg-card: #ffffff;
  --pd-bg-card-hover: #f1f3f5;
  --pd-bg-secondary: #e2e8f0;
  --pd-bg-highlight: #ffffff;
  --pd-text-primary: #181512;
  --pd-text-secondary: #475569;
  --pd-text-muted: #64748b;
  --pd-text-dark: #ffffff;
  --pd-border: rgba(0, 0, 0, 0.09);
  --pd-border-subtle: rgba(0, 0, 0, 0.05);
  --pd-accent-btn: #181512;
  --pd-accent-btn-text: #f8f9fa;

  --pd-radius-sm: 8px;
  --pd-radius-md: 16px;
  --pd-radius-lg: 24px;
  --pd-radius-xl: 32px;
  --pd-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


body:not(.theme-dark) {
  --pd-bg-main: #f8f9fa;
  --pd-bg-card: #ffffff;
  --pd-bg-card-hover: #f1f3f5;
  --pd-bg-secondary: #e2e8f0;
  --pd-bg-highlight: #ffffff;

  --pd-text-primary: #181512;
  --pd-text-secondary: #475569;
  --pd-text-muted: #64748b;
  --pd-text-dark: #ffffff;

  --pd-border: rgba(0, 0, 0, 0.09);
  --pd-border-subtle: rgba(0, 0, 0, 0.05);

  --pd-accent-btn: #181512;
  --pd-accent-btn-text: #ffffff;
}


/* Overrides do Tema Escuro (theme-dark) */
body.theme-dark {
  --bg-primary: #141414;
  --bg-secondary: #1e1e1e;
  --bg-tertiary: #262626;
  --cor-principal: #f0f0f0;
  --cor-destaque: #ffffff;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --border-color: rgba(240, 240, 240, 0.12);
  --nav-bg: rgba(20, 20, 20, 0.95);

  --glass-bg: rgba(30, 30, 30, 0.7);
  --glass-border: rgba(240, 240, 240, 0.05);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);

  --input-bg: #1e1e1e;
  --input-border: rgba(240, 240, 240, 0.2);

  --pd-bg-main: #141414;
  --pd-bg-card: #1e1e1e;
  --pd-bg-card-hover: #262626;
  --pd-bg-secondary: #181818;
  --pd-bg-highlight: #262626;
  --pd-text-primary: #f0f0f0;
  --pd-text-secondary: #a0a0a0;
  --pd-text-muted: #707070;
  --pd-text-dark: #141414;
  --pd-border: rgba(240, 240, 240, 0.12);
  --pd-border-subtle: rgba(240, 240, 240, 0.06);
  --pd-accent-btn: #f0f0f0;
  --pd-accent-btn-text: #121212;
}


/* ==========================================================================
   2. RESET, BASE & TIPOGRAFIA GLOBAL
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 8px;
}


::-webkit-scrollbar-track {
  background: var(--bg-primary);
}


::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius);
}


::-webkit-scrollbar-thumb:hover {
  background: var(--cor-principal);
}


a {
  color: inherit;
  text-decoration: none;
}


/* ==========================================================================
   3. COMPONENTES E BOTÕES GLOBAIS
   ========================================================================== */

.brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  text-transform: lowercase;
  text-decoration: none;
  display: flex;
  align-items: center;
}


.brand img,
.mobile-brand img {
  height: 32px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}


body.theme-dark .brand img,
body.theme-dark .mobile-brand img {
  filter: invert(1);
}


.brand span {
  color: inherit;
  font-weight: 800;
}


/* Note: Botões padronizados estão definidos na Seção de Componentes e Botões Globais */

/* Theme Toggle Button */

/* Form Inputs Comuns Globais */

label {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}


input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.85rem;
  color: var(--text-main);
  background-color: var(--input-bg);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);

  /* Remove estilos nativos que quebram a consistência */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


input[type="text"],
input[type="datetime-local"],
input[type="date"],
input[type="time"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.85rem;
  color: var(--text-main);
  background-color: var(--bg-secondary);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
}


/* Remover setas/spinners de campos numéricos */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
}


input[type="number"] {
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}


select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}


input[type="text"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--text-main);
  outline: none;
}


::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}


section,
header,
div[id],
.pd-section,
.pd-parallax-section {
  scroll-margin-top: 80px;
}


/* Seção Hero */

body.theme-dark .hero-section {
  background: var(--bg-primary);
}


body.theme-dark .hero-tag {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
}


/* Seção Recursos (Features) */

body.theme-dark .feature-icon {
  background-color: var(--bg-tertiary);
}


/* Card Criar Nova Galeria & Modais */

body.theme-dark .create-gallery-card {
  border-color: rgba(197, 168, 128, 0.3);
}


@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


body.theme-dark .download-all-btn,
body.theme-dark .download-all-photos-btn {
  color: #ffffff;
  background-color: var(--bg-tertiary);
  border: 1px solid #fff;
}


@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Botão de Download Individual no Canto Superior Direito */

/* Checkbox de Seleção no Canto Superior Esquerdo */

/* Modal / Bloqueio por PIN */

/* Lightbox Modal do Cliente */

/* Barra Flutuante de Seleção do Cliente */

/* Esconder Bottom Nav e Overlay por padrão no Desktop */

/* HUB DE GALERIAS (DESKTOP & MOBILE) */

body.theme-dark .hub-card,
body.theme-dark .mobile-hub-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   1. MENU DA INDEX E MENU DA DASHBOARD
   ========================================================================== */
.global-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}


.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}


.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}


.nav-link:hover {
  color: var(--cor-principal);
}


/* ==========================================================================
   PADRONIZAÇÃO GLOBAL DE BOTÕES DA DASHBOARD
   - Tema Claro: Botão Preto (#181512), Texto Branco (#ffffff), Hover (#332d27)
   - Tema Escuro: Botão Branco (#ffffff), Texto Preto (#121212), Hover (#e2e8f0)
   - Botões de Excluir/Apagar: Vermelho (#ef4444), Hover (#dc2626)
   ========================================================================== */

.nav-btn:not(.btn-danger),
.nav-btn-secondary,
.pd-btn,
.pd-btn-primary,
.pd-btn-outline,
.btn-save-settings,
.gallery-create-btn,
.btn-secondary,
.btn-primary,
.btn-action {
  background-color: #181512 !important;
  color: #ffffff !important;
  border: 1px solid #181512 !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: var(--border-radius, 8px);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}


.nav-btn:not(.btn-danger) *,
.nav-btn-secondary *,
.pd-btn *,
.pd-btn-primary *,
.pd-btn-outline *,
.btn-save-settings *,
.gallery-create-btn *,
.btn-secondary *,
.btn-primary *,
.btn-action * {
  color: inherit !important;
}


.nav-btn:not(.btn-danger):hover,
.nav-btn-secondary:hover,
.pd-btn:hover,
.pd-btn-primary:hover,
.pd-btn-outline:hover,
.btn-save-settings:hover,
.gallery-create-btn:hover,
.btn-secondary:hover,
.btn-primary:hover,
.btn-action:hover {
  background-color: #332d27 !important;
  color: #ffffff !important;
  border-color: #332d27 !important;
}


/* TEMA ESCURO (theme-dark) */
body.theme-dark .nav-btn:not(.btn-danger),
body.theme-dark .nav-btn-secondary,
body.theme-dark .pd-btn,
body.theme-dark .pd-btn-primary,
body.theme-dark .pd-btn-outline,
body.theme-dark .btn-save-settings,
body.theme-dark .gallery-create-btn,
body.theme-dark .btn-secondary,
body.theme-dark .btn-primary,
body.theme-dark .btn-action {
  background-color: #ffffff !important;
  color: #121212 !important;
  border: 1px solid #ffffff !important;
}


body.theme-dark .nav-btn:not(.btn-danger):hover,
body.theme-dark .nav-btn-secondary:hover,
body.theme-dark .pd-btn:hover,
body.theme-dark .pd-btn-primary:hover,
body.theme-dark .pd-btn-outline:hover,
body.theme-dark .btn-save-settings:hover,
body.theme-dark .gallery-create-btn:hover,
body.theme-dark .btn-secondary:hover,
body.theme-dark .btn-primary:hover,
body.theme-dark .btn-action:hover {
  background-color: #e2e8f0 !important;
  color: #121212 !important;
  border-color: #e2e8f0 !important;
}


/* EXCEÇÃO: BOTÕES DE EXCLUIR / APAGAR (VERMELHO EM AMBOS OS TEMAS) */
.btn-danger,
.btn-delete,
.btn-delete-selected,
.btn-cancel-sub,
.btn-remove-social,
.nav-btn.btn-danger,
.nav-btn.btn-remove-social,
body.theme-dark .btn-danger,
body.theme-dark .btn-delete,
body.theme-dark .btn-delete-selected,
body.theme-dark .btn-cancel-sub,
body.theme-dark .btn-remove-social,
body.theme-dark .nav-btn.btn-danger,
body.theme-dark .nav-btn.btn-remove-social {
  transition: all 0.2s ease !important;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: var(--border-radius, 8px);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background-color: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid #ef4444 !important;
}


.btn-danger:hover,
.btn-delete:hover,
.btn-delete-selected:hover,
.btn-cancel-sub:hover,
.btn-remove-social:hover,
.nav-btn.btn-danger:hover,
.nav-btn.btn-remove-social:hover,
body.theme-dark .btn-danger:hover,
body.theme-dark .btn-delete:hover,
body.theme-dark .btn-delete-selected:hover,
body.theme-dark .btn-cancel-sub:hover,
body.theme-dark .btn-remove-social:hover,
body.theme-dark .nav-btn.btn-danger:hover,
body.theme-dark .nav-btn.btn-remove-social:hover {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
}


.db-toggle {
  display: none;
}


.mobile-bottom-nav,
.mobile-menu-overlay,
#sec-galleries-hub,
#sec-mobile-galleries {
  display: none;
}


/* ==========================================================================
   2. PÁGINA INDEX (LANDING PAGE)
   ========================================================================== */
.hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(85, 148, 193, 0.06) 0%, rgba(248, 249, 250, 0) 70%);
  transition: background 0.3s ease;
}


.hero-content {
  max-width: 800px;
  z-index: 5;
}


.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: rgba(88, 166, 160, 0.08);
  color: var(--cor-principal);
  padding: 6px 16px;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(88, 166, 149, 0.15);
}


.hero-section h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}


.hero-section p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}


.hero-actions a {
  border-radius: 30px;
}


.section-wrapper {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}


.section-header {
  text-align: center;
  margin-bottom: 4rem;
}


.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1rem;
}


.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}


.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}


.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(85, 148, 193, 0.3);
  box-shadow: var(--shadow-lg);
}


.feature-icon {
  background-color: rgba(85, 148, 193, 0.08);
  color: var(--cor-principal);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}


.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}


.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}


.pricing-grid,
.pd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}


.pricing-card,
.pd-pricing-card {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}


.pricing-card.premium,
.pricing-card.popular,
.pd-pricing-card.popular {
  border-color: var(--pd-text-primary);
  background-color: var(--pd-bg-highlight);
}


.pd-popular-badge,
.pricing-card.premium::before,
.pricing-card.popular::before {
  content: "Mais Popular";
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--pd-accent-btn);
  color: var(--pd-accent-btn-text);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.plan-name,
.pd-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--pd-text-primary);
  letter-spacing: 0.04em;
}


.plan-price,
.pd-plan-price {
  font-family: var(--font-sans) !important;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--pd-text-primary);
}


.plan-price span,
.pd-plan-price span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--pd-text-secondary);
}


.plan-features,
.pd-plan-features {
  list-style: none !important;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 !important;
}


.plan-features li,
.pd-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--pd-text-secondary);
  list-style: none !important;
}


.plan-features li::before,
.pd-plan-features li::before {
  content: none !important;
}


.plan-features li.check,
.pd-plan-features li.check {
  color: var(--pd-text-primary);
}


.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
}


.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}


.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cor-principal);
  transition: var(--transition-smooth);
}


.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}


.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}


footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 3rem 5% 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background-color 0.3s ease;
}


.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}


@keyframes heroBgFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes heroContentSlideUp {
  0% {
    opacity: 0;
    transform: translateY(var(--cover-animation-distance));
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes heroCreditSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, var(--cover-animation-distance));
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


.hero-scroll-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 13px 36px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius);
  backdrop-filter: blur(2px);
}


.hero-scroll-btn:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
}


/* ==========================================================================
   3. LOGIN
   ========================================================================== */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 1.5rem;
}


.login-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: var(--border-radius);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}


.login-card h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  text-align: center;
}


.login-card p.subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  text-align: center;
}


.login-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.login-card input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}


.login-card .footer-link {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}


.create-gallery-card {
  border: 2px dashed rgba(85, 148, 193, 0.3);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  height: 320px;
  transition: var(--transition-smooth);
}


.create-gallery-card:hover {
  border-color: var(--cor-principal);
  background-color: rgba(85, 148, 193, 0.02);
}


.create-gallery-card svg {
  color: var(--cor-principal);
  margin-bottom: 1rem;
}


.create-gallery-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}


.create-gallery-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}


#sec-galleries-hub.active,
#sec-mobile-galleries.active {
  display: block !important;
}


.galleries-hub,
.mobile-galleries-hub {
  max-width: 650px;
  padding: 0.5rem 0;
}


.mobile-galleries-hub {
  margin: 0 auto;
}


.hub-subtitle,
.mobile-hub-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}


.hub-grid,
.mobile-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.hub-card,
.mobile-hub-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-secondary, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 16px);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}


body.theme-dark .hub-card,
.mobile-hub-card {
  background-color: var(--bg-tertiary);
}


.hub-card:hover,
.mobile-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}


.hub-card:active,
.mobile-hub-card:active {
  transform: scale(0.98);
}


.hub-card-icon,
.mobile-hub-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--cor-principal, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}


.hub-card-icon.approved,
.mobile-hub-card-icon.approved {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}


.hub-card-icon.delivered,
.mobile-hub-card-icon.delivered {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}


.hub-card-content,
.mobile-hub-card-content {
  flex: 1;
}


.hub-card-content h3,
.mobile-hub-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px 0;
}


.hub-card-content p,
.mobile-hub-card-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}


.hub-card-arrow,
.mobile-hub-card-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  opacity: 0.6;
}


.form-group-divider {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}


.cover-select-label {
  margin-bottom: 0.5rem;
  display: block;
}


.delete-photo-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}


.delete-photo-btn:hover {
  background-color: rgba(239, 68, 68, 0.08);
}


.editor-photo-count-wrapper {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}


.section-title-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}


.toast-alert.visible,
.pd-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Retificações Mobile para Seção Meu Perfil */

.avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


.avatar-preview {
  width: 150px;
  height: 150px;
  border-radius: var(--border-radius);
  background-color: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--cor-principal);
}


.alterar-senha p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 1rem !important;
}


.alterar-senha button {
  margin-bottom: 1rem;
}


.exclude-account {
  margin-top: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}


.exclude-account h3 {
  color: #ef4444;
  margin-bottom: 1rem;
}


.exclude-account p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  margin-top: 0 !important;

}


.photographer-social-link.twitter_x,
.photographer-social-link.twitter,
.photographer-social-link.x,
body.theme-dark .photographer-social-link.twitter_x,
body.theme-dark .photographer-social-link.twitter,
body.theme-dark .photographer-social-link.x {
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.35);
  background: rgba(29, 161, 242, 0.12);
}


.photographer-social-link.twitter_x:hover,
.photographer-social-link.twitter:hover,
.photographer-social-link.x:hover,
body.theme-dark .photographer-social-link.twitter_x:hover,
body.theme-dark .photographer-social-link.twitter:hover,
body.theme-dark .photographer-social-link.x:hover {
  background: #1da1f2;
  color: #ffffff;
  border-color: #1da1f2;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.35);
}


.photographer-profile-body #theme-toggle {
  position: absolute;
  top: 30px;
  right: 30px;
  margin: 0;
  z-index: 100;
}


/* Skeleton Loaders do Perfil (Performance) */
@keyframes skeleton-pulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.5;
  }
}


.skeleton-spinner,
.skeleton-pill {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--pd-border, rgba(0, 0, 0, 0.12));
  border-top-color: var(--pd-text-primary, #181512);
  border-radius: 50%;
  animation: skeleton-spin 0.75s linear infinite;
  vertical-align: middle;
  margin: 4px 0;
}


body.theme-dark .skeleton-spinner,
body.theme-dark .skeleton-pill {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
}


@keyframes skeleton-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* ==========================================================================
   15. LINK PÚBLICO DAS GALERIAS ENTREGUES
   ========================================================================== */
.download-all-container,
.gallery-download-all-bar {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 2.5rem 1.5rem 2.5rem !important;
  max-width: 1400px;
  margin: 0 auto;
}


.download-all-btn,
.download-all-photos-btn {
  background-color: var(--bg-tertiary);
  color: black;
  border: 1px solid black;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


.download-all-btn:hover,
.download-all-photos-btn:hover {
  background-color: var(--cor-destaque, #3b76a2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}


.download-all-btn:disabled,
.download-all-photos-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}


#gallery-container #theme-toggle,
.gallery-top-controls #theme-toggle {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  top: auto !important;
  transform: none !important;
  display: inline-flex !important;
  margin: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--cor-principal, #181512) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 999;
}


body.theme-dark #gallery-container #theme-toggle,
body.theme-dark .gallery-top-controls #theme-toggle {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  background: rgba(24, 21, 18, 0.88) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}


#gallery-container #theme-toggle:hover,
.gallery-top-controls #theme-toggle:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}


body.theme-dark #gallery-container #theme-toggle:hover,
body.theme-dark .gallery-top-controls #theme-toggle:hover {
  background-color: rgba(40, 35, 30, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}


.pin-input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.pin-input-container input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 4px;
}


.pin-input-container .unlock-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  border: none;
  background-color: var(--cor-principal);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}


.pin-input-container .unlock-btn:hover {
  background-color: var(--cor-destaque);
}


.client-selection-bar.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.payment-method-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--bg-secondary, #f3f4f6);
  padding: 0.3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e5e7eb);
}


.pm-tab {
  background: transparent;
  border: none;
  color: var(--text-muted, #6b7280);
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}


.pm-tab.active {
  background: var(--bg-primary, #ffffff);
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.pm-container {
  display: none;
}


.pm-container.active {
  display: block;
}


@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}


.pd-auth-left .pd-brand {
  color: #181512 !important;
}


.pd-auth-left .pd-btn-primary {
  background-color: #181512 !important;
  color: #ffffff !important;
}


.pd-auth-left .pd-btn-primary:hover {
  background-color: #2b2621 !important;
}


.pd-auth-left .pd-btn-outline {
  background-color: #ffffff !important;
  border-color: #e5e0d3 !important;
  color: #181512 !important;
}


.pd-auth-left .pd-btn-outline:hover {
  background-color: #f8f6f0 !important;
}


/* ==========================================================================
   REGRAS MOBILE ADICIONAIS DE LOGIN/CADASTRO NO FINAL DO ARQUIVO
   ========================================================================== */

/* ==========================================================================
   4. LANDING PAGE & EDITORIAL (HERO, PILLARS, WHY, CATEGORIES, PRICING, FAQ)
   ========================================================================== */

.pd-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}


.pd-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background-color: var(--pd-bg-main);
}


/* Header & Nav */
.pd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--pd-bg-main) !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--pd-border-subtle);
  transition: background-color 0.3s ease;
}


.pd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}


.pd-brand {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pd-text-primary);
  text-decoration: none;
  text-transform: lowercase;
  display: flex;
  align-items: center;
}


.pd-brand-logo {
  height: 38px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}


body.theme-dark .pd-brand-logo {
  filter: invert(1);
}


.pd-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}


.pd-nav-link {
  color: var(--pd-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}


.pd-nav-link:hover {
  color: var(--pd-text-primary);
}


.pd-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


.theme-toggle-btn {
  margin-left: auto;
  margin-right: 2rem;
  background: transparent;
  border: 1px solid var(--pd-border);
  color: var(--pd-text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  transform: none !important;
}


.theme-toggle-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}


.theme-toggle-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  background-color: var(--pd-bg-card-hover);
  transform: none;
}


.theme-toggle-btn:hover i {
  transform: rotate(15deg);
}


.theme-toggle-btn:focus,
.theme-toggle-btn:active,
.mobile-theme-btn,
.mobile-theme-btn:hover,
.mobile-theme-btn:focus,
.mobile-theme-btn:active {
  transform: none !important;
}


.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}


.pd-btn-primary {
  background-color: var(--pd-accent-btn);
  color: var(--pd-accent-btn-text);
}


.pd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


.pd-btn-outline {
  background-color: transparent;
  color: var(--pd-text-primary);
  border-color: var(--pd-border);
}


.pd-btn-outline:hover {
  background-color: var(--pd-bg-card-hover);
  transform: translateY(-2px);
}


.pd-btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}


.pd-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--pd-text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}


/* Hero Section */
.pd-hero {
  padding-top: 160px;
  padding-bottom: 90px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  background-color: var(--pd-bg-main);
}


.pd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}


.pd-hero-content {
  text-align: center;
}


.pd-hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--pd-text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}


.pd-hero-description {
  font-size: 1.25rem;
  color: var(--pd-text-secondary);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}


.pd-hero-showcase {
  position: relative;
}


.pd-hero-card-main {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-lg);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}


.pd-hero-photo-wrap {
  width: 100%;
  height: 420px;
  border-radius: var(--pd-radius-md);
  overflow: hidden;
  position: relative;
}


.pd-hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.pd-hero-card-floating {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 220px;
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.pd-floating-img {
  width: 100%;
  height: 170px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
}


.pd-floating-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pd-text-primary);
  text-transform: uppercase;
}


.pd-floating-sub {
  font-size: 0.75rem;
  color: var(--pd-text-secondary);
}


/* Section Headers */
.pd-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px auto;
}


.pd-section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--pd-text-primary);
  margin-bottom: 16px;
}


.pd-section-desc {
  font-size: 1.15rem;
  color: var(--pd-text-secondary);
}


/* Pillars (01 02 03 04) */
.pd-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


.pd-pillar-card {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 36px 28px;
  transition: all 0.3s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.pd-pillar-card:hover {
  background-color: var(--pd-bg-card-hover);
  transform: translateY(-4px);
}


.pd-pillar-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pd-text-muted);
  margin-bottom: 20px;
}


.pd-pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pd-text-primary);
  margin-bottom: 12px;
}


.pd-pillar-text {
  font-size: 0.95rem;
  color: var(--pd-text-secondary);
  line-height: 1.5;
}


/* ========================================================
   PARALLAX STICKY BACKGROUND REVEAL SECTIONS (WFOLIO STYLE)
   ======================================================== */

.pd-parallax-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
  z-index: 1;
}


/* Hero Overlay para garantir legibilidade dos textos */
.pd-parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(24, 21, 18, 0.88) 0%, rgba(24, 21, 18, 0.65) 50%, rgba(24, 21, 18, 0.35) 100%);
  z-index: 1;
}


body:not(.theme-dark) .pd-parallax-overlay {
  background: linear-gradient(90deg, rgba(245, 242, 235, 0.92) 0%, rgba(245, 242, 235, 0.7) 50%, rgba(245, 242, 235, 0.4) 100%);
}


.pd-parallax-section .pd-container {
  position: relative;
  z-index: 2;
}


/* Estilos de fundo padrão para substituição futura */
.pd-bg-impressive {
  background-image: url("../img/bg1.webp");
}


.pd-bg-client-galleries {
  background-color: #5c351f;
  /* Cor fallback terracota */
  background-image: url('../img/bg2.webp');
}


/* Feature Rows inside Parallax Sections */
.pd-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


.pd-feature-row.reverse {
  direction: rtl;
}


.pd-feature-row.reverse>* {
  direction: ltr;
}


.pd-feature-title {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--pd-text-primary);
}


.pd-feature-text {
  font-size: 1.2rem;
  color: var(--pd-text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}


/* Seção de Bullets que "desliza por cima" (Efeito Cortina / Curtain Slide) */
.pd-curtain-section {
  position: relative;
  z-index: 3;
  background-color: var(--pd-bg-main);
  padding: 80px 0;
}


.pd-bullets-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
}


.pd-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--pd-text-primary);
  font-weight: 500;
  line-height: 1.4;
}


.pd-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--pd-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--pd-text-primary);
  font-size: 0.85rem;
}


.pd-mockup-container {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-xl);
  padding: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}


.pd-mockup-img {
  width: 100%;
  border-radius: var(--pd-radius-md);
  display: block;
}


/* More Grid */
.pd-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


.pd-more-card {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}


.pd-more-card:hover {
  background-color: var(--pd-bg-card-hover);
  transform: translateY(-4px);
}


.pd-more-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}


.pd-more-text {
  font-size: 0.95rem;
  color: var(--pd-text-secondary);
}


/* Why Us Grid */
.pd-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}


.pd-why-card {
  border-top: 1px solid var(--pd-border);
  padding-top: 24px;
}


.pd-why-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--pd-text-primary);
}


.pd-why-text {
  font-size: 0.9rem;
  color: var(--pd-text-secondary);
  line-height: 1.5;
}


/* Stats Counter Banner */
.pd-stats-banner {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-xl);
  padding: 60px 40px;
  margin: 60px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}


.pd-stats-head h3 {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}


.pd-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--pd-text-primary);
  line-height: 1;
  margin-bottom: 8px;
}


.pd-stat-label {
  font-size: 0.85rem;
  color: var(--pd-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* Creators Grid */
.pd-creators-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}


.pd-creator-card {
  position: relative;
  border-radius: var(--pd-radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border-subtle);
  cursor: pointer;
}


.pd-creator-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}


.pd-creator-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}


.pd-creator-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 16px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
}


.pd-creator-name {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.02em;
}


/* Categories Showcase */
.pd-categories-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-xl);
  padding: 40px;
}


.pd-cat-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.pd-cat-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--pd-radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pd-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}


.pd-cat-btn:hover {
  color: var(--pd-text-primary);
}


.pd-cat-btn.active {
  color: var(--pd-accent-btn-text);
  background-color: var(--pd-accent-btn);
}


.pd-cat-display {
  position: relative;
  height: 480px;
  border-radius: var(--pd-radius-md);
  overflow: hidden;
}


.pd-cat-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}


.pd-cat-img.active {
  opacity: 1;
}


.pd-cat-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


/* Pricing Grid */
.pd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}


.pd-pricing-card {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}


.pd-pricing-card.popular {
  border-color: var(--pd-text-primary);
  background-color: var(--pd-bg-highlight);
}


.pd-popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--pd-accent-btn);
  color: var(--pd-accent-btn-text);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


#btn-upgrade-pro.pd-btn-primary {
  color: var(--pd-accent-btn-text) !important;
}


.pd-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}


.pd-plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}


.pd-plan-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--pd-text-secondary);
}


.pd-plan-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.pd-plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--pd-text-secondary);
}


.pd-plan-features li.check {
  color: var(--pd-text-primary);
}


/* FAQ */
.pd-faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.pd-faq-item {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  overflow: hidden;
  transition: background-color 0.2s ease;
}


.pd-faq-question {
  padding: 24px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pd-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}


.pd-faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}


.pd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 32px;
  color: var(--pd-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}


.pd-faq-item.active {
  background-color: var(--pd-bg-card-hover);
}


.pd-faq-item.active .pd-faq-icon {
  transform: rotate(45deg);
}


.pd-faq-item.active .pd-faq-answer {
  max-height: 300px;
  padding: 0 32px 24px 32px;
}


/* Final CTA */
.last-section {
  padding-top: 0 !important;
}


.pd-final-cta {
  background-color: var(--pd-bg-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-xl);
  padding: 80px 40px;
  text-align: center;
}


.pd-final-cta h2 {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}


.pd-final-cta p {
  font-size: 1.2rem;
  color: var(--pd-text-secondary);
  max-width: 600px;
  margin: 0 auto 36px auto;
}


/* Footer */
.pd-footer {
  border-top: 1px solid var(--pd-border-subtle);
  padding: 80px 0 40px 0;
  background-color: var(--pd-bg-secondary);
  position: relative;
  z-index: 3;
}


.pd-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}


.pd-footer-brand {
  text-align: left;
}


.pd-footer-col {
  text-align: right;
}


.pd-footer-brand p {
  color: var(--pd-text-secondary);
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.95rem;
}


.pd-footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pd-text-primary);
  margin-bottom: 20px;
}


.pd-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.pd-footer-links li {
  color: var(--pd-text-secondary);
  font-size: 0.9rem;
}


.pd-footer-links a {
  color: var(--pd-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}


.pd-footer-links a:hover {
  color: var(--pd-text-primary);
}


.pd-footer-bottom {
  border-top: 1px solid var(--pd-border-subtle);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--pd-text-muted);
}


/* ==========================================================================
   10. MEDIA QUERIES RESPONSIVAS & RECTIFICAÇÕES MOBILE
   ========================================================================== */

/* Ocultar elementos exclusivos de mobile no desktop por padrão */
.pd-cat-mobile-controls,
.pd-mobile-login-text,
.pd-mobile-menu-btn,
.pd-why-nav-btn {
  display: none;
}


/* ==========================================================================
   EFEITO DE SCROLL REVEAL (FADE-UP / SUBO AO ROLAR A PÁGINA)
   ========================================================================== */
.pd-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}


.testimonial-rating-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}


.pd-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.btn-login-history-update {
  font-size: 0.75rem;
  padding: 5px 10px;
  background: var(--bg-tertiary, #222);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}


.btn-login-history-update:hover {
  color: var(--text-main);
}


/* Página inicial — apresentação extraída do HTML/JS */

:is(#picdrop-inline-specificity, .index-style-1){border-top: 1px solid var(--pd-border-subtle);
}


:is(#picdrop-inline-specificity, .index-style-2){border-top: 1px solid var(--pd-border-subtle); padding-bottom: 0;
}


:is(#picdrop-inline-specificity, .index-style-3){padding-bottom: 0;
}


:is(#picdrop-inline-specificity, .index-style-4){display: flex; gap: 12px; margin-top: 16px;
}


:is(#picdrop-inline-specificity, .index-style-5){background-color: var(--pd-border); color: var(--pd-text-primary);
}


:is(#picdrop-inline-specificity, .dashboard-style-36){margin-left: auto; margin-right: 0.75rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-49){display: flex; gap: 0.75rem; width: 100%;
}


:is(#picdrop-inline-specificity, .dashboard-style-106){max-width: 800px; display: grid; gap: 2rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-107){background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}


:is(#picdrop-inline-specificity, .dashboard-style-108){color: var(--cor-principal); font-size: 1.4rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-109){margin-top: 0.5rem; color: var(--text-muted); font-size: 0.95rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-110){display: flex; gap: 0.5rem; margin-top: 1.5rem; max-width: 500px;
}


:is(#picdrop-inline-specificity, .dashboard-style-111){grid-template-columns: 1fr;
}


:is(#picdrop-inline-specificity, .dashboard-style-112){display: grid; gap: 1rem; margin-top: 0.5rem;
}


:is(#picdrop-inline-specificity, .dashboard-style-145){font-size: 1.1rem; opacity: 0.7;
}


:is(#picdrop-inline-specificity, .dashboard-style-152){font-size: 0.65rem; margin-right: 4px;
}


:is(#picdrop-inline-specificity, .dashboard-style-157){color: #22c55e;
}


:is(#picdrop-inline-specificity, .gallery-style-241){font-size: 0.85rem; font-weight: 600;
}


:is(#picdrop-inline-specificity, .gallery-style-242){width: 100%; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border-color);
}


:is(#picdrop-inline-specificity, .gallery-style-243){display: flex; gap: 0.75rem; margin-bottom: 1rem;
}


:is(#picdrop-inline-specificity, .gallery-style-244){flex: 1;
}

.gallery-custom-contrast :is(.nav-btn,.pd-btn,.btn-primary,.btn-secondary,.client-nav-btn) {
  background-color: var(--gallery-button-bg) !important; color: var(--gallery-button-text) !important; border-color: var(--gallery-button-bg) !important;
}

.gallery-custom-contrast :is(.nav-btn,.pd-btn,.btn-primary,.btn-secondary,.client-nav-btn) * { color: var(--gallery-button-text) !important; }


@media (max-width: 768px) {
  /* Perfil público */
  .photographer-profile-body #theme-toggle {
    display: none !important;
  }
}

@media (max-width: 992px) {

  body.theme-dark .db-nav-link.active {
    background-color: rgba(49, 45, 38, 0.12);
  }

  /* Compartilhado */

  .mobile-nav,
  .global-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
  }

  /* Dashboard */

  .global-nav,
  .db-sidebar .db-brand,
  .global-nav .brand,
  .db-header #theme-toggle {
    display: none !important;
  }

  .db-sidebar,
  .global-nav {
    display: none !important;
    position: absolute !important;
    top: 60px !important;
    width: 100%;
    height: auto;
    overflow-y: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px -10px rgba(2, 6, 23, 0.2);
    z-index: 999;
    padding: 0rem 0;
    background-color: var(--bg-tertiary);
  }

  /* Compartilhado */

  .global-nav {
    left: auto;
    right: 0;
    width: 250px;
  }

  .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border-top: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .selection-tabs-header {
    padding: 0 !important;
  }

  /* --------------------------------------------------------------------------
     16.10 MEU PERFIL (MOBILE)
  -------------------------------------------------------------------------- */
  /* Dashboard */
  .profile-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-photo-card {
    margin-bottom: 25px;
  }

  /* Compartilhado */

  .download-all-btn,
  .download-all-photos-btn {
    padding: 10px 16px;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    width: 80%;
    max-width: calc(100vw - 110px);
    white-space: nowrap;
    text-overflow: ellipsis;
    justify-content: center;
    text-align: center;
  }

  /* Dashboard */

  #gallery-container #theme-toggle {
    position: absolute !important;
    right: 0rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    margin: 0 !important;
    width: 36px;
    height: 36px;
  }
}


@media (max-width: 600px) {

  /* --------------------------------------------------------------------------
     16.2 PÁGINA INDEX (MOBILE)
  -------------------------------------------------------------------------- */
  /* Compartilhado */
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {

  .pd-promo-link {
    color: #181512;
  }

  .pd-btn-primary {
    background-color: #181512;
    color: #ffffff;
  }
}


@media (max-width: 768px) {
  /* Compartilhado */
  .pd-cat-caption {
    font-size: 1rem;
    padding: 16px 18px;
  }
}

@media (max-width: 1024px) {

  /* Página inicial */

  .pd-hero-grid,
  .pd-feature-row,
  .pd-categories-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Compartilhado */

  .pd-bullets-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Página inicial */

  .pd-pillars-grid,
  .pd-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-more-grid,
  .pd-pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Compartilhado */

  .pd-creators-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pd-stats-banner {
    grid-template-columns: 1fr 1fr;
  }

  .pd-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-footer-col {
    text-align: left;
  }
}


@media (max-width: 768px) {
  /* Compartilhado */
  .pd-nav-links {
    display: none;
  }

  .pd-mobile-toggle {
    display: block;
  }

  /* Página inicial */

  .pd-hero-title,
  .pd-feature-title {
    font-size: 2.4rem;
  }

  .pd-section-title {
    font-size: 2rem;
  }

  /* Compartilhado */

  .pd-bullets-list,
  .pd-stats-banner {
    grid-template-columns: 1fr;
  }

  /* 1. TUDO O QUE O FOTÓGRAFO PRECISA EM UM SÓ LUGAR */
  /* Página inicial */
  .pd-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pd-pillar-card {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--pd-border-subtle) !important;
    border-radius: 0 !important;
    padding: 24px 0 !important;
    min-height: auto !important;
    box-shadow: none !important;
  }

  .pd-pillar-card:last-child {
    border-bottom: none !important;
  }

  .pd-pillar-card:hover {
    background-color: transparent !important;
    transform: none !important;
  }

  /* 2. POR QUE NÓS: Slider com botões de seta redondos flutuantes nas laterais sobre o card */
  /* Compartilhado */
  .pd-why-slider-container {
    position: relative;
    width: 100%;
  }

  .pd-why-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 0 4px 16px 4px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pd-why-grid::-webkit-scrollbar {
    display: none;
  }

  .pd-why-card {
    flex: 0 0 100% !important;
    scroll-snap-align: center !important;
    border-top: none !important;
    background-color: var(--pd-bg-card);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-md);
    padding: 28px 20px;
    box-sizing: border-box;
  }

  .pd-why-nav-btn {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--pd-bg-card);
    border: 1px solid var(--pd-border);
    color: var(--pd-text-primary);
    font-size: 1.5rem;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .pd-why-nav-btn.pd-hidden-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .pd-why-prev {
    left: -10px;
  }

  .pd-why-next {
    right: -10px;
  }

  /* 3. QUEM ESTÁ CONOSCO?: Grid 3 fotos por linha */
  .pd-creators-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }

  /* 4. GALERIAS DE CLIENTES PARA TODO FOTÓGRAFO: Setas em formato de texto/ícone simples, sem fundo de botão */
  .pd-categories-wrapper {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .pd-cat-nav {
    display: none !important;
  }

  .pd-cat-display {
    height: 320px !important;
    border-radius: var(--pd-radius-md);
    width: 100%;
  }

  .pd-cat-mobile-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
  }

  .pd-cat-arrow {
    background: transparent !important;
    border: none !important;
    color: var(--pd-text-primary);
    font-size: 1.4rem;
    font-weight: 400;
    cursor: pointer;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: opacity 0.2s ease;
  }

  .pd-cat-arrow:active {
    opacity: 0.6;
  }

  .pd-cat-counter {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pd-text-primary);
    letter-spacing: 0.08em;
  }

  /* HEADER MOBILE ADAPTAÇÕES */
  .pd-nav-actions {
    gap: 12px;
  }

  .pd-desktop-only-btn {
    display: none !important;
  }

  /* Login / Cadastro */

  .pd-mobile-login-text {
    display: inline-block !important;
    color: var(--pd-text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 0;
  }

  /* Compartilhado */

  .pd-nav-actions #theme-toggle,
  .pd-nav-actions .theme-toggle-btn {
    margin: 0 !important;
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }

  .pd-mobile-menu-btn {
    display: block !important;
    margin-top: 4px;
  }

  .pd-mobile-menu-divider {
    border-top: 1px solid var(--pd-border-subtle);
    margin: 12px 0 8px 0 !important;
    padding: 0 !important;
    height: 1px;
    width: 100%;
  }

  .pd-final-cta {
    margin: 0 20px 0 20px !important;
    padding: 60px 20px !important;
    border-radius: var(--pd-radius-lg, 16px) !important;
  }

  .pd-final-cta h2 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }

  .pd-final-cta p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }

  .pd-final-cta .pd-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pd-footer-grid {
    grid-template-columns: 1fr;
  }

  .pd-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}


/* Homepage: preserve image proportions and keep translated phrases together. */
.page-index .pd-mockup-img {
  height: auto;
}


.page-index :is(.pd-hero-grid, .pd-feature-row, .pd-footer-grid) > * {
  min-width: 0;
}


.page-index .pd-plan-features li {
  align-items: flex-start;
}


.page-index .pd-plan-features li > i {
  flex: 0 0 1em;
  line-height: 1.5;
}


.page-index .pd-plan-feature-text {
  min-width: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
}


@media (max-width: 1100px) {
  .page-index .pd-nav-links {
    display: none;
  }

  .page-index .pd-nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    gap: 16px;
    padding: 24px;
    background: var(--pd-bg-main);
    border-bottom: 1px solid var(--pd-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }

  .page-index .pd-nav-actions {
    gap: 12px;
  }

  .page-index .pd-desktop-only-btn {
    display: none;
  }

  .page-index :is(.pd-mobile-toggle, .pd-mobile-menu-btn, .pd-mobile-login-text) {
    display: block;
  }

  .page-index .pd-mobile-login-text {
    color: var(--pd-text-primary);
    font-weight: 600;
    text-decoration: none;
  }

  .page-index .pd-mobile-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .page-index .pd-nav-actions .theme-toggle-btn {
    margin: 0;
    flex-shrink: 0;
  }
}


@media (max-width: 768px) {
  .page-index .pd-hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .page-index .pd-hero-title {
    font-size: clamp(2rem, 8.5vw, 2.4rem);
    overflow-wrap: break-word;
  }

  .page-index .pd-hero-description {
    font-size: 1.1rem;
  }

  .page-index .pd-hero-showcase {
    margin-bottom: 20px;
  }

  .page-index .pd-hero-photo-wrap {
    height: clamp(260px, 80vw, 360px);
  }

  .page-index .pd-hero-card-floating {
    width: 48%;
    max-width: 180px;
    right: 0;
    bottom: -20px;
    padding: 10px;
  }

  .page-index .pd-floating-img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .page-index :is(.pd-section, .pd-curtain-section) {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-index .pd-parallax-section {
    min-height: auto;
    padding: 64px 0;
    background-attachment: scroll;
  }

  .page-index .pd-feature-row.reverse {
    direction: ltr;
  }

  .page-index .pd-mockup-container {
    padding: 16px;
  }

  .page-index .pd-creators-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  }

  .page-index .pd-faq-question {
    padding: 20px;
    gap: 16px;
    font-size: 1rem;
  }

  .page-index .pd-faq-icon {
    flex-shrink: 0;
  }

  .page-index .pd-faq-answer {
    padding-inline: 20px;
  }

  .page-index .pd-faq-item.active .pd-faq-answer {
    max-height: none;
    padding: 0 20px 20px;
  }
}


@media (max-width: 480px) {
  .page-index .pd-container {
    padding-inline: 20px;
  }

  .page-index .pd-nav-actions {
    gap: 8px;
  }

  .page-index .pd-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-index .pd-footer-links {
    overflow-wrap: anywhere;
  }
}
