/* ==========================================================================
   P'tit Holding & P'tit Studio — Design System (Thème Bleu Cyan & Orange Ambré)
   Inspiré de l'anneau lumineux PAC360 et du thème bicolore historique FCF.
   ========================================================================== */

:root {
  --ph-bg-dark: #060d1a;
  --ph-navy: #0a192f;
  --ph-card: rgba(13, 33, 63, 0.72);
  --ph-cyan: #00e5ff;
  --ph-sky: #38bdf8;
  --ph-blue: #0288d1;
  --ph-amber: #ff9100;
  --ph-orange: #ff6d00;
  --ph-border-cyan: rgba(0, 229, 255, 0.16);
  --ph-border-amber: rgba(255, 145, 0, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ph-bg-dark);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(0, 229, 255, 0.11), transparent 36%),
    radial-gradient(circle at 86% 12%, rgba(255, 145, 0, 0.10), transparent 38%),
    linear-gradient(180deg, #060d1a 0%, #081427 100%);
  background-attachment: fixed;
}

/* Cartes effet verre dépoli */
.glass-card {
  background: var(--ph-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ph-border-cyan);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.38);
  box-shadow: 0 14px 36px -12px rgba(2, 136, 209, 0.32);
}

.glass-card-amber {
  background: var(--ph-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ph-border-amber);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.glass-card-amber:hover {
  border-color: rgba(255, 145, 0, 0.50);
  box-shadow: 0 14px 36px -12px rgba(255, 109, 0, 0.28);
}

/* Dégradés de marque bleu & orange */
.text-gradient-brand {
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 44%, #ff9100 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient-brand {
  background: linear-gradient(135deg, #00e5ff 0%, #0288d1 55%, #ff9100 100%);
  color: #060d1a;
  font-weight: 800;
  box-shadow: 0 10px 28px -8px rgba(0, 229, 255, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gradient-brand:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px -8px rgba(255, 145, 0, 0.42);
}

.hero-orb-ring {
  position: relative;
}

.hero-orb-ring::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 9999px;
  background: conic-gradient(
    from 210deg,
    rgba(0, 229, 255, 0.45),
    rgba(2, 136, 209, 0.15),
    rgba(255, 145, 0, 0.45),
    rgba(255, 109, 0, 0.15),
    rgba(0, 229, 255, 0.45)
  );
  filter: blur(22px);
  opacity: 0.72;
  z-index: 0;
  pointer-events: none;
}

.hero-orb-ring > img {
  position: relative;
  z-index: 1;
}

/* Grille technique subtile */
.tech-grid-bg {
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Badges statut */
.status-pill-live {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.status-pill-studio {
  background: rgba(255, 145, 0, 0.14);
  color: #ffb74d;
  border: 1px solid rgba(255, 145, 0, 0.32);
}

/* ==========================================================================
   Mode Clair Haut Contraste (Cohérent avec pac360.fr)
   ========================================================================== */
html.light-theme,
html.light-theme body {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
}

html.light-theme header {
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

html.light-theme #mobile-menu {
  background-color: #ffffff !important;
  border-top: 1px solid #cbd5e1 !important;
}

html.light-theme h1,
html.light-theme h2,
html.light-theme h3,
html.light-theme h4,
html.light-theme strong {
  color: #0f172a !important;
}

html.light-theme p,
html.light-theme li,
html.light-theme dt,
html.light-theme dd,
html.light-theme a:not(.btn-gradient-brand):not(.preserve-color) {
  color: #1e293b !important;
}

html.light-theme .text-white {
  color: #0f172a !important;
}

html.light-theme .text-slate-300,
html.light-theme .text-slate-400 {
  color: #334155 !important;
}

html.light-theme .glass-card,
html.light-theme .glass-card-amber {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}

html.light-theme .glass-card:hover {
  border-color: #0288d1 !important;
}

html.light-theme .glass-card-amber:hover {
  border-color: #ff6d00 !important;
}

html.light-theme .bg-surface-band {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light-theme .text-gradient-brand {
  background: linear-gradient(135deg, #0288d1 0%, #0369a1 45%, #e65100 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html.light-theme footer {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

html.light-theme .theme-toggle-btn {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

html.light-theme .status-pill-live {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border-color: #6ee7b7 !important;
}

html.light-theme .status-pill-studio {
  background: #fff7ed !important;
  color: #c2410c !important;
  border-color: #fdba74 !important;
}
