/* ═══════════════════════════════════════════════════════════════
   BeamReactor Portal — Introduction & Content Pages
   v1.0.0 — 2026-02-14
   Skin-aligned with core.css v2.0
   ═══════════════════════════════════════════════════════════════ */


/* ─── Section layout ─── */
.intro-section {
	max-width: 1327px;
	margin: 0 auto;
	padding: 3.5rem 2rem;
	border-bottom: 1px solid var(--border-dark, #212121);
}

.intro-section:last-of-type {
	border-bottom: none;
}

/* ─── Section header ─── */
.section-header {
	margin-bottom: 1.8rem;
}

.intro-overview .intro-content {
	background-color: var(--card-bg, #232323);
	border-left: 3px solid var(--primary-color, #FFC735);
}

.section-tag {
	font-family: var(--font-mono, 'Fira Code', monospace);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--primary-color, #FFC735);
	margin-bottom: 0.5rem;
	text-shadow: #FFC735 0 0 2px;
}

.section-title {
	font-family: 'Ropa Sans', sans-serif;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 400;
	color: var(--text-gray, #CCC);
	text-shadow: #777777 0 0 4px;
	line-height: 1.3;
	margin: 0;
}

.section-title em {
	color: var(--primary-color, #FFC735);
	font-style: italic;
	text-shadow: #FFC735 0 0 2px;
}

/* ─── Content body ─── */
.intro-content {
	background-color: var(--frame-bg, #2F3235);
	border-radius: var(--border-radius, 7px);
	padding: 1.8rem 2rem;
	box-shadow: inset 0 0 16px var(--shadow-inset, rgba(0,0,0,0.25));
}

.intro-content p {
	color: var(--text-secondary, #DDD);
	line-height: 1.85;
	margin-bottom: 1rem;
	font-size: 16pt !important;
}

.intro-content p:last-child {
	margin-bottom: 0;
}

.intro-content strong {
	color: var(--text-primary, #fff);
	font-weight: 600;
}

.intro-content em {
	color: var(--text-gray, #CCC);
	font-style: italic;
}

.intro-content code {
	font-family: var(--font-mono, 'Fira Code', monospace);
	background: rgba(0, 0, 0, 0.3);
	color: var(--primary-color, #FFC735);
	padding: 0.15em 0.45em;
	border-radius: 3px;
	font-size: 0.84em;
	text-shadow: none;
}

.intro-content a {
	color: var(--primary-color, #FFC735);
	text-decoration: none;
	text-shadow: #FFC735 0 0 2px;
	transition: color 0.2s;
}

.intro-content a:hover {
	color: var(--link-hover, #E6B330);
}

/* ─── Lists inside content ─── */
.intro-content ul,
.intro-content ol {
	margin: 0.6rem 0 1rem 0;
	padding-left: 1.4em;
	list-style: square inside;
}

.intro-content li {
	font-size: 0.85rem;
	color: var(--text-secondary, #DDD);
	line-height: 1.75;
	margin-bottom: 0.3rem;
}

/* ─── Blockquotes ─── */
.intro-content blockquote {
	border-left: 3px solid var(--primary-color, #FFC735);
	padding: 0.6rem 1.2rem;
	margin: 1rem 0;
	background: rgba(255, 199, 53, 0.04);
	border-radius: 0 var(--border-radius-tiny, 3px) var(--border-radius-tiny, 3px) 0;
}

.intro-content blockquote p {
	color: var(--text-muted, #888);
	margin: 0;
}

/* ─── Code blocks ─── */
.intro-content pre {
	background: var(--sidebar-bg, #161718);
	border: 1px solid var(--border-dark, #212121);
	border-radius: var(--border-radius-small, 5px);
	padding: 1.2rem;
	overflow-x: auto;
	margin: 1rem 0;
}

.intro-content pre code {
	background: none;
	padding: 0;
	color: var(--text-secondary, #DDD);
	font-size: 0.8em;
	line-height: 1.65;
	text-shadow: none;
}

/* ─── Tables ─── */
.intro-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	font-size: 0.82rem;
}

.intro-content th {
	background: var(--sidebar-bg, #161718);
	color: var(--primary-color, #FFC735);
	font-weight: 500;
	text-align: left;
	padding: 0.6rem 0.8rem;
	border-bottom: 2px solid var(--primary-color, #FFC735);
}

.intro-content td {
	padding: 0.5rem 0.8rem;
	border-bottom: 1px solid var(--border-dark, #212121);
	color: var(--text-secondary, #DDD);
}

.intro-content tr:hover td {
	background: rgba(255, 199, 53, 0.03);
}

/* ─── Horizontal rule ─── */
.intro-content hr {
	border: none;
	border-top: 1px solid var(--border-dark, #212121);
	margin: 1.5rem 0;
}

/* ─── Images ─── */
.intro-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius-small, 5px);
	margin: 0.5rem 0;
}

/* ═══════════════════════════════════════
   CTA SECTION (shared with home)
   Only included if home.css is not loaded
   ═══════════════════════════════════════ */
.cta-section {
	max-width: 960px;
	margin: 0 auto;
	padding: 3rem 2rem;
	text-align: center;
}

.cta-title {
	font-family: 'Ropa Sans', sans-serif;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 400;
	color: var(--text-gray, #CCC);
	text-shadow: #777777 0 0 4px;
	margin-bottom: 0.6rem;
}

.cta-desc {
	font-size: 0.9rem;
	color: var(--text-muted, #888);
	margin-bottom: 1.8rem;
	line-height: 1.7;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
	.intro-section {
		padding: 2.5rem 1.2rem;
	}

	.intro-content {
		padding: 1.2rem 1rem;
	}

	.intro-content p {
		font-size: 0.82rem;
	}

	.intro-content pre {
		padding: 0.8rem;
		font-size: 0.75em;
	}
}

@media (max-width: 480px) {
	.intro-section {
		padding: 2rem 0.8rem;
	}

	.intro-content {
		padding: 1rem 0.8rem;
	}

	.section-tag {
		font-size: 0.6rem;
		letter-spacing: 2px;
	}
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay — hexagonal/industrial feel */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
	linear-gradient(rgba(255, 199, 53, 0.02) 1px, transparent 1px),
	linear-gradient(90deg, rgba(255, 199, 53, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Warm glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 199, 53, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-glow);
  border: 1px solid rgba(255, 199, 53, 0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  width: fit-content;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse-dot-gold 2s infinite;
}

@keyframes pulse-dot-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 199, 53, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(255, 199, 53, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px) !important;
  font-weight: 900;
  /* Augmentation du line-height pour laisser respirer le texte */
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px; /* Un peu plus d'espace sous le titre */
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary-color);
  text-shadow: 0 0 30px rgba(255, 199, 53, 0.2);
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
  padding: 13px 30px;
  border-radius: var(--border-radius-small);
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-color);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 199, 53, 0.25);
}

a.btn-primary:visited {
	color: #382e16;
	background-color: var(--primary-hover); /* Légèrement plus sombre */
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 199, 53, 0.35);
  text-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  text-shadow: none;
}
