/* L.I.A. (Learn IA) Design System */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #fcfaf6;
  --bg-secondary: #f6f3ed;
  --bg-card: #ffffff;
  --border-glass: rgba(30, 29, 26, 0.06);
  --border-focus: rgba(214, 98, 72, 0.4);
  
  --color-marianne: #000091;
  --color-marianne-hover: #1212ff;
  --color-marianne-active: #000074;
  --accent-terracotta: #d66248;
  --accent-terracotta-hover: #bf533b;
  --accent-gold: #c59b27;
  --accent-sage: #5f7a6b;
  
  --text-main: #242220;
  --text-muted: #6e6d68;
  --text-inverse: #fcfaf6;
  
  --gradient-warm: linear-gradient(135deg, var(--accent-terracotta) 0%, var(--accent-gold) 100%);
  --shadow-soft: 0 10px 40px rgba(30, 29, 26, 0.04);
  --shadow-card: 0 12px 30px rgba(30, 29, 26, 0.03);
  --shadow-hover: 0 20px 50px rgba(214, 98, 72, 0.08);
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1200px;
}

/* Accessibility: High-contrast focus-visible indicator */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #000091 !important;
  outline-offset: 2px !important;
}

/* Base resets & scrollbars */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(214, 98, 72, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(214, 98, 72, 0.4);
}

/* Typography headers */
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e1d1a;
}

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--text-main);
  text-shadow: 0 0 1px rgba(214, 98, 72, 0.2);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(252, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-text span {
  font-weight: 400;
  color: var(--accent-terracotta);
}

.logo-img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.controls-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Cards & Containers */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-terracotta);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(214, 98, 72, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #bf533b;
  box-shadow: 0 6px 20px rgba(214, 98, 72, 0.4);
  color: var(--text-inverse);
}

.btn-secondary {
  background: #fdfdfd;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(255, 80, 80, 0.05);
  color: #d93838;
  border: 1px solid rgba(255, 80, 80, 0.1);
}

.btn-danger:hover {
  background: rgba(255, 80, 80, 0.1);
  transform: translateY(-2px);
}

/* Language Toggle Button */
.lang-toggle {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.lang-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-terracotta);
}

/* Views Wrapper */
main {
  min-height: calc(100vh - 150px);
  padding: 2rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   LANDING VIEW
   ========================================== */
.hero {
  text-align: center;
  padding: 6rem 1rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #fcf4e8;
  border: 1px solid #ebd8bd;
  color: #a17835;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.hero h1 span.gradient-text {
  color: var(--accent-terracotta);
  font-style: italic;
  font-weight: 500;
}

.hero .lead-text {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.funding-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  margin: 2rem auto 5rem;
  max-width: 850px;
  border-left: 4px solid var(--accent-terracotta);
}

.funding-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.funding-logo {
  height: 38px;
  filter: grayscale(0.2) opacity(0.9);
}

.funding-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Ethos & Philosophy section */
.ethos-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin: 6rem 0;
}

.ethos-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.ethos-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ethos-illustration {
  background: #fbf9f5;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.ethos-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent-sage);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.ethos-quote-author {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

/* Testimonials section */
.testimonials-section {
  margin: 6rem auto;
}

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

.testimonial-card {
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.student-portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-terracotta);
}

.student-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.student-details p {
  font-size: 0.85rem;
  color: var(--accent-sage);
  font-weight: 600;
}

.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-outcome {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

/* Feature grid in Landing */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}

.feature-card {
  padding: 3rem 2rem;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-terracotta);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-terracotta);
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

/* Curriculum Section in Landing */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-terracotta);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.curriculum-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 6rem;
}

.timeline-step {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.timeline-step:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--accent-terracotta);
  line-height: 1;
}

.step-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

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

/* ==========================================
   DASHBOARD VIEW
   ========================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar styling */
.sidebar {
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.profile-card {
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--accent-terracotta);
  padding: 3px;
  object-fit: cover;
  background: var(--bg-primary);
}

.profile-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

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

.progress-section {
  margin-bottom: 2rem;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: #f0eaea;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-terracotta);
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Certificate Status Sidebar Panel */
.cert-status-box {
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1px dashed rgba(30, 29, 26, 0.1);
  text-align: center;
  margin-bottom: 2rem;
}

.cert-status-box.ready {
  border-color: var(--accent-terracotta);
  background: #fff8f5;
}

.cert-status-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.cert-status-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.cert-status-box.ready .cert-status-value {
  color: var(--accent-terracotta);
}

/* France Travail ID Settings Box */
.ft-settings-box {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 10px rgba(214, 98, 72, 0.15);
}

.alert-toast {
  font-size: 0.85rem;
  color: var(--accent-sage);
  margin-top: 0.5rem;
  display: none;
  font-weight: 600;
}

/* Modules Dashboard area */
.modules-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.module-card {
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.module-card.completed {
  border-color: rgba(95, 122, 107, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, rgba(95, 122, 107, 0.01) 100%);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.module-meta {
  flex: 1;
}

.module-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(214, 98, 72, 0.08);
  color: var(--accent-terracotta);
  border: 1px solid rgba(214, 98, 72, 0.15);
  margin-bottom: 0.75rem;
}

.module-card.completed .module-badge {
  background: rgba(95, 122, 107, 0.08);
  color: var(--accent-sage);
  border-color: rgba(95, 122, 107, 0.15);
}

.module-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.module-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.module-completion-check {
  font-size: 1.5rem;
  color: var(--accent-sage);
  background: rgba(95, 122, 107, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(95, 122, 107, 0.2);
}

.objectives-list {
  list-style: none;
  margin-bottom: 2rem;
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
}

.objectives-list li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.objectives-list li:last-child {
  margin-bottom: 0;
}

.objectives-list li::before {
  content: "✦";
  color: var(--accent-terracotta);
  font-weight: bold;
}

/* Hands-on Lab box inside modules */
.lab-box {
  background: #fdfdfd;
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.lab-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.lab-title-row h4 {
  font-size: 1.2rem;
  color: var(--text-main);
}

.lab-tag {
  background: #fdf4e8;
  border: 1px solid #ebd8bd;
  color: #a17835;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.lab-instructions {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.lab-submit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lab-submit-form textarea {
  height: 100px;
  resize: vertical;
}

/* ==========================================
   CERTIFICATE VIEW
   ========================================== */
.certificate-page-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cert-alert-banner {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(95, 122, 107, 0.08);
  border: 1px solid rgba(95, 122, 107, 0.15);
  color: var(--accent-sage);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Print / Visual Certificate Styling */
.cert-outer-frame {
  padding: 24px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(30, 29, 26, 0.08);
  margin-bottom: 2.5rem;
  color: #1a1a1a;
  border: 1px solid var(--border-glass);
}

.cert-inner-border {
  border: 4px double var(--accent-gold);
  padding: 40px 30px;
  border-radius: 12px;
  position: relative;
  background: #fcfcfb;
}

.cert-inner-border::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(197, 155, 39, 0.03) 2px, transparent 2px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cert-header-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-header-icon svg {
  width: 100%;
  height: 100%;
}

.cert-main-title {
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: 'Fraunces', serif;
}

.cert-divider {
  width: 120px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1.5rem auto;
}

.cert-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.cert-recipient {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  margin-bottom: 1.5rem;
  text-decoration: underline;
  text-decoration-color: var(--accent-gold);
  text-underline-offset: 8px;
}

.cert-text {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #444440;
}

.cert-skills-badge-list {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.skills-badge {
  background: #fdf4e8;
  color: #a17835;
  border: 1px solid #ebd8bd;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

.cert-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
}

.cert-metadata {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cert-metadata strong {
  color: var(--text-main);
}

.cert-seal-sig {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-signature-line {
  width: 180px;
  border-bottom: 1px solid var(--text-muted);
  margin-bottom: 0.5rem;
  height: 40px;
  font-family: 'Alex Brush', cursive, sans-serif;
  font-size: 1.6rem;
  color: #2c3e50;
  text-align: center;
  line-height: 40px;
}

.cert-signature-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.cert-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ==========================================
   ABOUT & ELIGIBILITY SECTIONS
   ========================================== */
.info-section-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.info-card {
  padding: 4rem 3rem;
  margin-bottom: 3rem;
}

.info-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-terracotta);
}

.info-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-steps {
  list-style: none;
  margin-top: 2rem;
}

.info-steps li {
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.info-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-terracotta);
  color: var(--text-inverse);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.info-steps h4 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.info-steps p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Emulation HUD (Helper banner for reviews) */
.emulation-hud {
  background: #fdf4e8;
  border: 1px solid #ebd8bd;
  color: #a17835;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.emulation-hud span {
  font-weight: 700;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 2rem;
  background: #ffffff;
  margin-top: 4rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ==========================================
   RESPONSIVENESS (MOBILE / TABLET)
   ========================================== */
@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  .ethos-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .controls-group {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    padding: 4rem 1rem 3rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero .lead-text {
    font-size: 1.1rem;
  }
  
  .funding-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .cert-outer-frame {
    padding: 12px;
  }
  
  .cert-inner-border {
    padding: 24px 12px;
  }
  
  .cert-main-title {
    font-size: 1.8rem;
  }
  
  .cert-recipient {
    font-size: 1.7rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   Accessibility & Handicap Tools Styles (Ind. 12)
   ========================================== */
html.text-size-agrandie {
  font-size: 115% !important;
}
html.text-size-grande {
  font-size: 130% !important;
}

html.high-contrast body,
html.high-contrast main,
html.high-contrast header,
html.high-contrast nav,
html.high-contrast section,
html.high-contrast footer,
html.high-contrast div:not(#lang-dropdown-menu):not(#accessibility-panel),
html.high-contrast .bg-white,
html.high-contrast .bg-stone-50,
html.high-contrast .bg-stone-100 {
  background-color: #0c1322 !important;
  color: #ffffff !important;
}

html.high-contrast p, 
html.high-contrast span,
html.high-contrast li,
html.high-contrast a,
html.high-contrast h1,
html.high-contrast h2,
html.high-contrast h3,
html.high-contrast h4,
html.high-contrast h5,
html.high-contrast h6,
html.high-contrast label,
html.high-contrast strong {
  color: #ffff00 !important;
}

html.high-contrast a {
  text-decoration: underline !important;
}

html.high-contrast .border,
html.high-contrast border,
html.high-contrast div {
  border-color: #ffffff !important;
}

html.high-contrast button:not(#accessibility-floating-btn) {
  background-color: #ffff00 !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
  font-weight: bold !important;
}

html.dyslexic-font,
html.dyslexic-font body,
html.dyslexic-font p,
html.dyslexic-font span,
html.dyslexic-font li,
html.dyslexic-font a,
html.dyslexic-font h1,
html.dyslexic-font h2,
html.dyslexic-font h3,
html.dyslexic-font h4,
html.dyslexic-font h5,
html.dyslexic-font h6,
html.dyslexic-font div,
html.dyslexic-font input,
html.dyslexic-font textarea,
html.dyslexic-font button {
  font-family: "Comic Sans MS", "Comic Neue", cursive, sans-serif !important;
}

html.text-spacing-large body,
html.text-spacing-large p,
html.text-spacing-large li,
html.text-spacing-large span {
  letter-spacing: 0.10em !important;
  word-spacing: 0.18em !important;
  line-height: 1.9 !important;
}

/* ==========================================
   VOICE RECORDING ANIMATIONS (Marianne)
   ========================================== */
@keyframes marianne-wave {
  0%, 100% { height: 8px; opacity: 0.5; }
  50% { height: 28px; opacity: 1; }
}

.voice-wave-bar {
  width: 4px;
  border-radius: 4px;
  height: 12px;
  transition: all 0.2s ease;
}

.voice-wave-bar.active {
  animation: marianne-wave 1.2s ease-in-out infinite;
}

.voice-wave-bar.blue { background-color: #000091; }
.voice-wave-bar.white { background-color: #e5e5e5; border: 1px solid #000091; }
.voice-wave-bar.red { background-color: #e1000f; }

@keyframes marianne-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 145, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(225, 0, 15, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 0, 15, 0); }
}

.voice-pulser-active {
  animation: marianne-pulse 2s infinite;
  border: 2px solid #000091;
  background-color: #e1000f !important;
}

