/**
 * LYHA Design System
 * Charte graphique opérationnelle
 * 
 * Palette:
 * - Noir Structure: #0D0909
 * - Blanc Calme: #F5F7F7
 * - Bleu Clarté: #668EEC
 * - Bleu Décision: #0D1A3A
 * - Brun Confiance: #A6754B
 */

/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
  /* Couleurs principales */
  --lyha-noir-structure: #0D0909;
  --lyha-blanc-calme: #F5F7F7;
  --lyha-bleu-clarte: #668EEC;
  --lyha-bleu-decision: #0D1A3A;
  --lyha-brun-confiance: #A6754B;
  
  /* Couleurs dérivées */
  --lyha-bleu-clarte-light: #8AAAF0;
  --lyha-bleu-clarte-dark: #4A72D9;
  --lyha-bleu-decision-light: #1A2D5A;
  --lyha-brun-confiance-light: #C49A6C;
  
  /* États */
  --lyha-success: #2E7D4A;
  --lyha-success-light: #E8F5EC;
  --lyha-warning: #B8860B;
  --lyha-warning-light: #FFF8E7;
  --lyha-error: #C53030;
  --lyha-error-light: #FEE7E7;
  
  /* Typographie */
  --font-heading: 'Philosopher', Georgia, serif;
  --font-body: 'Oxygen', 'Segoe UI', sans-serif;
  
  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Coins identitaires (chanfrein subtil) */
  --corner-sm: 4px;
  --corner-md: 8px;
  --corner-lg: 12px;
  --corner-signature: 16px 4px 16px 4px;
  
  /* Ombres légères */
  --shadow-sm: 0 1px 2px rgba(13, 9, 9, 0.05);
  --shadow-md: 0 2px 8px rgba(13, 9, 9, 0.08);
  --shadow-lg: 0 4px 16px rgba(13, 9, 9, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ========================================
   Base & Reset
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--lyha-noir-structure);
  background-color: var(--lyha-blanc-calme);
  margin: 0;
  padding: 0;
}

/* ========================================
   Typography
   ======================================== */
.lyha-heading, h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--lyha-noir-structure);
}

h1, .lyha-h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h2, .lyha-h2 {
  font-size: 1.875rem;
  margin-bottom: var(--space-md);
}

h3, .lyha-h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

h4, .lyha-h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.lyha-body, p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lyha-noir-structure);
}

.lyha-small {
  font-size: 0.875rem;
  color: rgba(13, 9, 9, 0.7);
}

.lyha-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(13, 9, 9, 0.6);
}

/* ========================================
   Layout
   ======================================== */
.lyha-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.lyha-section {
  padding: var(--space-3xl) 0;
}

.lyha-grid {
  display: grid;
  gap: var(--space-lg);
}

.lyha-flex {
  display: flex;
  gap: var(--space-md);
}

.lyha-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Navigation
   ======================================== */
.lyha-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lyha-blanc-calme);
  border-bottom: 1px solid rgba(13, 9, 9, 0.08);
  padding: var(--space-md) 0;
}

.lyha-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.lyha-nav-logo {
  height: 36px;
  width: auto;
}

.lyha-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.lyha-nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--lyha-noir-structure);
  text-decoration: none;
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.lyha-nav-link:hover {
  color: var(--lyha-bleu-clarte);
}

.lyha-nav-link.active {
  color: var(--lyha-bleu-decision);
  border-bottom-color: var(--lyha-bleu-clarte);
}

/* ========================================
   Cards (Coins identitaires signature)
   ======================================== */
.lyha-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 9, 9, 0.08);
  border-radius: var(--corner-signature);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.lyha-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.lyha-card-flat {
  background: #FFFFFF;
  border: 1px solid rgba(13, 9, 9, 0.08);
  border-radius: var(--corner-signature);
  padding: var(--space-xl);
}

.lyha-card-accent {
  background: var(--lyha-bleu-decision);
  color: #FFFFFF;
  border: none;
  border-radius: var(--corner-signature);
  padding: var(--space-xl);
}

.lyha-card-accent h1,
.lyha-card-accent h2,
.lyha-card-accent h3,
.lyha-card-accent h4 {
  color: #FFFFFF;
}

.lyha-card-accent p {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Buttons
   ======================================== */
.lyha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--corner-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.lyha-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary - Bleu Décision */
.lyha-btn-primary {
  background: var(--lyha-bleu-decision);
  color: #FFFFFF;
  border-color: var(--lyha-bleu-decision);
}

.lyha-btn-primary:hover:not(:disabled) {
  background: var(--lyha-bleu-decision-light);
  border-color: var(--lyha-bleu-decision-light);
}

/* Secondary - Outline */
.lyha-btn-secondary {
  background: transparent;
  color: var(--lyha-bleu-decision);
  border-color: var(--lyha-bleu-decision);
}

.lyha-btn-secondary:hover:not(:disabled) {
  background: var(--lyha-bleu-decision);
  color: #FFFFFF;
}

/* Clarity - Bleu Clarté */
.lyha-btn-clarity {
  background: var(--lyha-bleu-clarte);
  color: #FFFFFF;
  border-color: var(--lyha-bleu-clarte);
}

.lyha-btn-clarity:hover:not(:disabled) {
  background: var(--lyha-bleu-clarte-dark);
  border-color: var(--lyha-bleu-clarte-dark);
}

/* Accent - Brun Confiance (usage parcimonieux) */
.lyha-btn-accent {
  background: var(--lyha-brun-confiance);
  color: #FFFFFF;
  border-color: var(--lyha-brun-confiance);
}

.lyha-btn-accent:hover:not(:disabled) {
  background: var(--lyha-brun-confiance-light);
  border-color: var(--lyha-brun-confiance-light);
}

/* Ghost */
.lyha-btn-ghost {
  background: transparent;
  color: var(--lyha-noir-structure);
  border-color: transparent;
}

.lyha-btn-ghost:hover:not(:disabled) {
  background: rgba(13, 9, 9, 0.05);
}

/* Danger */
.lyha-btn-danger {
  background: var(--lyha-error);
  color: #FFFFFF;
  border-color: var(--lyha-error);
}

.lyha-btn-danger:hover:not(:disabled) {
  background: #A52828;
  border-color: #A52828;
}

/* Button Sizes */
.lyha-btn-sm {
  font-size: 0.8125rem;
  padding: var(--space-xs) var(--space-md);
}

.lyha-btn-lg {
  font-size: 1rem;
  padding: var(--space-md) var(--space-xl);
}

/* ========================================
   Form Elements
   ======================================== */
.lyha-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-sm) var(--space-md);
  background: #FFFFFF;
  border: 1px solid rgba(13, 9, 9, 0.2);
  border-radius: var(--corner-md);
  color: var(--lyha-noir-structure);
  transition: all var(--transition-fast);
}

.lyha-input:focus {
  outline: none;
  border-color: var(--lyha-bleu-clarte);
  box-shadow: 0 0 0 3px rgba(102, 142, 236, 0.15);
}

.lyha-input::placeholder {
  color: rgba(13, 9, 9, 0.4);
}

.lyha-textarea {
  min-height: 120px;
  resize: vertical;
}

.lyha-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D0909' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.lyha-label-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lyha-noir-structure);
  margin-bottom: var(--space-xs);
}

.lyha-form-group {
  margin-bottom: var(--space-lg);
}

/* ========================================
   Badges
   ======================================== */
.lyha-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--corner-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lyha-badge-primary {
  background: rgba(102, 142, 236, 0.15);
  color: var(--lyha-bleu-clarte-dark);
}

.lyha-badge-decision {
  background: var(--lyha-bleu-decision);
  color: #FFFFFF;
}

.lyha-badge-success {
  background: var(--lyha-success-light);
  color: var(--lyha-success);
}

.lyha-badge-warning {
  background: var(--lyha-warning-light);
  color: var(--lyha-warning);
}

.lyha-badge-error {
  background: var(--lyha-error-light);
  color: var(--lyha-error);
}

.lyha-badge-neutral {
  background: rgba(13, 9, 9, 0.08);
  color: rgba(13, 9, 9, 0.7);
}

/* ========================================
   Chat Bubbles
   ======================================== */
.lyha-chat-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
}

.lyha-chat-bubble {
  max-width: 75%;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--corner-signature);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* User message - Bleu Décision */
.lyha-chat-user {
  align-self: flex-end;
  background: var(--lyha-bleu-decision);
  color: #FFFFFF;
  border-bottom-right-radius: var(--corner-sm);
}

/* Assistant message - Light with border */
.lyha-chat-assistant {
  align-self: flex-start;
  background: #FFFFFF;
  color: var(--lyha-noir-structure);
  border: 1px solid rgba(13, 9, 9, 0.1);
  border-bottom-left-radius: var(--corner-sm);
}

.lyha-chat-meta {
  font-size: 0.75rem;
  color: rgba(13, 9, 9, 0.5);
  margin-top: var(--space-xs);
}

/* ========================================
   Goals List
   ======================================== */
.lyha-goals-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.lyha-goal-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: #FFFFFF;
  border: 1px solid rgba(13, 9, 9, 0.08);
  border-radius: var(--corner-md);
  transition: all var(--transition-fast);
}

.lyha-goal-item.completed {
  background: var(--lyha-success-light);
  border-color: rgba(46, 125, 74, 0.2);
}

.lyha-goal-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(13, 9, 9, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lyha-goal-item.completed .lyha-goal-checkbox {
  background: var(--lyha-success);
  border-color: var(--lyha-success);
  color: #FFFFFF;
}

.lyha-goal-text {
  font-size: 0.9375rem;
  color: var(--lyha-noir-structure);
}

.lyha-goal-item.completed .lyha-goal-text {
  color: var(--lyha-success);
}

/* ========================================
   Push-to-Talk Button
   ======================================== */
.lyha-ptt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.lyha-ptt-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--lyha-bleu-decision);
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  position: relative;
}

.lyha-ptt-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.lyha-ptt-btn.recording {
  background: var(--lyha-error);
  border-color: var(--lyha-error);
  animation: lyha-pulse 1.5s ease-in-out infinite;
}

.lyha-ptt-btn.processing {
  background: var(--lyha-warning);
  border-color: var(--lyha-warning);
  animation: lyha-spin 1s linear infinite;
}

.lyha-ptt-btn.speaking {
  background: var(--lyha-bleu-clarte);
  border-color: var(--lyha-bleu-clarte);
}

.lyha-ptt-btn svg,
.lyha-ptt-btn i {
  width: 32px;
  height: 32px;
  color: var(--lyha-bleu-decision);
  transition: color var(--transition-fast);
}

.lyha-ptt-btn.recording svg,
.lyha-ptt-btn.recording i,
.lyha-ptt-btn.processing svg,
.lyha-ptt-btn.processing i,
.lyha-ptt-btn.speaking svg,
.lyha-ptt-btn.speaking i {
  color: #FFFFFF;
}

.lyha-ptt-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(13, 9, 9, 0.6);
}

/* ========================================
   Stats Card
   ======================================== */
.lyha-stat-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 9, 9, 0.08);
  border-radius: var(--corner-signature);
  padding: var(--space-lg);
  text-align: center;
}

.lyha-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lyha-bleu-decision);
  line-height: 1;
}

.lyha-stat-label {
  font-size: 0.875rem;
  color: rgba(13, 9, 9, 0.6);
  margin-top: var(--space-xs);
}

.lyha-stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(102, 142, 236, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--lyha-bleu-clarte);
}

/* ========================================
   Score Circle
   ======================================== */
.lyha-score-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.lyha-score-circle svg {
  transform: rotate(-90deg);
}

.lyha-score-bg {
  fill: none;
  stroke: rgba(13, 9, 9, 0.1);
  stroke-width: 8;
}

.lyha-score-progress {
  fill: none;
  stroke: var(--lyha-bleu-clarte);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--transition-slow);
}

.lyha-score-progress.excellent {
  stroke: var(--lyha-success);
}

.lyha-score-progress.good {
  stroke: var(--lyha-bleu-clarte);
}

.lyha-score-progress.average {
  stroke: var(--lyha-warning);
}

.lyha-score-progress.poor {
  stroke: var(--lyha-error);
}

.lyha-score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lyha-noir-structure);
}

/* ========================================
   Modal
   ======================================== */
.lyha-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 9, 9, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lyha-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lyha-modal {
  background: #FFFFFF;
  border-radius: var(--corner-lg);
  padding: var(--space-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: all var(--transition-base);
}

.lyha-modal-overlay.active .lyha-modal {
  transform: scale(1) translateY(0);
}

.lyha-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.lyha-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(13, 9, 9, 0.05);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lyha-modal-close:hover {
  background: rgba(13, 9, 9, 0.1);
}

/* ========================================
   Tabs
   ======================================== */
.lyha-tabs {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid rgba(13, 9, 9, 0.1);
  margin-bottom: var(--space-lg);
}

.lyha-tab {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(13, 9, 9, 0.6);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -1px;
}

.lyha-tab:hover {
  color: var(--lyha-noir-structure);
}

.lyha-tab.active {
  color: var(--lyha-bleu-decision);
  border-bottom-color: var(--lyha-bleu-clarte);
}

.lyha-tab-panel {
  display: none;
}

.lyha-tab-panel.active {
  display: block;
}

/* ========================================
   Tables
   ======================================== */
.lyha-table {
  width: 100%;
  border-collapse: collapse;
}

.lyha-table th,
.lyha-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(13, 9, 9, 0.08);
}

.lyha-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(13, 9, 9, 0.6);
  background: rgba(13, 9, 9, 0.02);
}

.lyha-table tbody tr:hover {
  background: rgba(102, 142, 236, 0.05);
}

/* ========================================
   Dividers
   ======================================== */
.lyha-divider {
  height: 1px;
  background: rgba(13, 9, 9, 0.1);
  margin: var(--space-xl) 0;
}

.lyha-divider-vertical {
  width: 1px;
  background: rgba(13, 9, 9, 0.1);
  margin: 0 var(--space-lg);
}

/* ========================================
   Icons (Lucide integration)
   ======================================== */
.lyha-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.lyha-icon-sm {
  width: 16px;
  height: 16px;
}

.lyha-icon-lg {
  width: 24px;
  height: 24px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes lyha-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lyha-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lyha-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(197, 48, 48, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(197, 48, 48, 0);
  }
}

@keyframes lyha-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes lyha-speaking {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.lyha-animate-fade-in {
  animation: lyha-fade-in var(--transition-base) ease-out;
}

.lyha-animate-slide-up {
  animation: lyha-slide-up var(--transition-base) ease-out;
}

/* Speaking indicator */
.lyha-speaking-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.lyha-speaking-bar {
  width: 3px;
  height: 100%;
  background: var(--lyha-bleu-clarte);
  border-radius: 2px;
  animation: lyha-speaking 0.8s ease-in-out infinite;
}

.lyha-speaking-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.lyha-speaking-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.lyha-speaking-bar:nth-child(4) {
  animation-delay: 0.3s;
}

/* ========================================
   Utility Classes
   ======================================== */
.lyha-text-center { text-align: center; }
.lyha-text-right { text-align: right; }
.lyha-text-muted { color: rgba(13, 9, 9, 0.6); }
.lyha-text-primary { color: var(--lyha-bleu-clarte); }
.lyha-text-decision { color: var(--lyha-bleu-decision); }
.lyha-text-accent { color: var(--lyha-brun-confiance); }
.lyha-text-success { color: var(--lyha-success); }
.lyha-text-warning { color: var(--lyha-warning); }
.lyha-text-error { color: var(--lyha-error); }

.lyha-bg-white { background: #FFFFFF; }
.lyha-bg-calm { background: var(--lyha-blanc-calme); }
.lyha-bg-decision { background: var(--lyha-bleu-decision); }

.lyha-mt-0 { margin-top: 0; }
.lyha-mb-0 { margin-bottom: 0; }
.lyha-my-lg { margin-top: var(--space-lg); margin-bottom: var(--space-lg); }

.lyha-p-0 { padding: 0; }
.lyha-p-md { padding: var(--space-md); }
.lyha-p-lg { padding: var(--space-lg); }
.lyha-p-xl { padding: var(--space-xl); }

.lyha-rounded { border-radius: var(--corner-md); }
.lyha-rounded-lg { border-radius: var(--corner-lg); }
.lyha-rounded-signature { border-radius: var(--corner-signature); }

.lyha-shadow { box-shadow: var(--shadow-md); }
.lyha-shadow-lg { box-shadow: var(--shadow-lg); }

.lyha-w-full { width: 100%; }
.lyha-h-full { height: 100%; }

.lyha-hidden { display: none; }
.lyha-visible { visibility: visible; }
.lyha-invisible { visibility: hidden; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }
  
  h1, .lyha-h1 {
    font-size: 2rem;
  }
  
  h2, .lyha-h2 {
    font-size: 1.5rem;
  }
  
  .lyha-nav-links {
    gap: var(--space-md);
  }
  
  .lyha-chat-bubble {
    max-width: 85%;
  }
  
  .lyha-ptt-btn {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .lyha-nav-inner {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  
  .lyha-btn {
    width: 100%;
  }
  
  .lyha-chat-bubble {
    max-width: 90%;
  }
}
