/* ============================================
   DARK THEME GLOBAL - Harmonisation
   ============================================ */

/* =========================
   DARK THEME VARIABLES
   ========================= */
:root {
  /* Dark Theme Palette */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --surface-glass: rgba(30, 41, 59, 0.7);
  --surface-border: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  
  /* Couleurs Guinée */
  --guinee-red: #CE1126;
  --guinee-yellow: #FCD116;
  --guinee-green: #009460;
  
  /* Primaire : teal (sérieux, distinct du bleu « startup ») */
  --primary: #2dd4bf;
  --primary-dark: #0d9488;
  --primary-light: rgba(45, 212, 191, 0.12);
  --primary-glow: rgba(45, 212, 191, 0.35);
  --secondary: #34d399;
  --accent: #fbbf24;
  
  /* Override light theme colors for dark mode */
  --gray: var(--text-muted);
  --gray-light: var(--surface-border);
  --gray-lighter: rgba(255, 255, 255, 0.05);
  --white: var(--text-main);
  --dark: var(--text-main);
  --dark-soft: var(--text-muted);
  
  /* Semantic colors */
  --success: var(--secondary);
  --warning: var(--accent);
  --error: #EF4444;
  --info: var(--primary);
  
  /* Layout */
  --container: 1280px;
  --pad-x: 2rem;
  --pad-y: 5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */

/* Override body for dark theme */
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif !important;
  color: var(--text-main) !important;
  background-color: var(--bg-dark) !important;
  background-image:
    radial-gradient(at 0% 0%, rgba(13, 148, 136, 0.18) 0px, transparent 52%),
    radial-gradient(at 100% 0%, rgba(52, 211, 153, 0.1) 0px, transparent 48%),
    radial-gradient(at 50% 100%, rgba(206, 17, 38, 0.06) 0px, transparent 45%) !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* Override header */
header,
.site-header {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--surface-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: white;
  text-decoration: none;
}

.brand__logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.35), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 0 0 2px rgba(206, 17, 38, 0.2), 0 0 0 4px rgba(252, 209, 22, 0.12);
}

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

.nav__link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  text-decoration: none;
  transition: color 0.3s;
}

.nav__link:hover { 
  color: white; 
}

.nav__link::after {
  content: ''; 
  position: absolute; 
  bottom: -4px; 
  left: 0; 
  width: 0; 
  height: 2px;
  background: var(--primary); 
  transition: width 0.3s;
}

.nav__link:hover::after { 
  width: 100%; 
}

.nav__toggle { 
  display: none; 
  background: none; 
  border: none; 
  color: white; 
  font-size: 1.5rem; 
  cursor: pointer; 
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.hide-mobile {
  display: block;
}

@media (max-width: 768px) {
  .nav__toggle { 
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
  }
  
  .nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
  }
  
  .hide-mobile {
    display: none;
  }
}

/* Override main */
main {
  background: transparent !important;
  color: var(--text-main) !important;
}

/* Override main container */
main {
  background: transparent;
}

/* Form containers */
.form-container {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  color: var(--text-main);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
}

/* Text colors */
p, span, div, label {
  color: var(--text-main);
}

/* Form elements */
.form-group label {
  color: var(--text-main);
  font-weight: 500;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea,
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid var(--surface-border) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
  font-family: inherit;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  color: var(--text-main) !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7;
}

/* Select options styling */
select option {
  background: var(--bg-dark) !important;
  color: var(--text-main) !important;
  padding: 0.5rem;
}

select:focus option {
  background: var(--bg-dark) !important;
  color: var(--text-main) !important;
}

/* Textarea specific */
textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
  color: var(--text-main) !important;
}

/* Cards */
.card,
.category-card,
.feature-card,
.stat-card {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* Feed cards */
.feed-card,
.report-card {
  background: var(--surface-glass) !important;
  border: 1px solid var(--surface-border) !important;
  color: var(--text-main) !important;
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  overflow: hidden;
}

.report-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 0;
  margin-bottom: 0;
}

.report-card:hover img {
  transform: scale(1.05);
}

.feed-card:hover,
.report-card:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: var(--shadow-glow) !important;
  transform: translateY(-2px);
}

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

.report-category,
.report-severity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.report-category {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.report-severity {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.report-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.report-description {
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.report-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-border);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Receipt */
.receipt {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.receipt-code {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.receipt-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 2px solid rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
  color: var(--text-main) !important;
}

.receipt-warning h3 {
  color: #F59E0B !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
}

.receipt-warning ul {
  color: var(--text-main) !important;
  font-weight: 500 !important;
  font-size: 1.05rem !important;
}

.receipt-warning li {
  color: var(--text-main) !important;
}

/* Dashboard */
.dashboard-card,
.track-card {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

/* Filters */
.feed-filters {
  background: var(--surface-glass) !important;
  border: 1px solid var(--surface-border) !important;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.feed-filters label {
  color: var(--text-main) !important;
  font-weight: 600;
}

.feed-filters select,
.feed-filters input {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid var(--surface-border) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.feed-filters select option {
  background: var(--bg-dark) !important;
  color: var(--text-main) !important;
}

/* Step numbers */
.step-number {
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.category-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

/* Upload area */
.upload-area,
#upload-area,
.upload-zone {
  background: rgba(15, 23, 42, 0.6);
  border: 2px dashed var(--surface-border);
  color: var(--text-muted);
  transition: var(--transition);
}

.upload-area:hover,
#upload-area:hover,
.upload-zone:hover {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
}

.upload-placeholder {
  color: var(--text-muted);
}

.upload-icon {
  color: var(--primary);
}

/* File list */
.file-list-item,
.file-item,
.files-list {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.files-list {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
}

/* Messages/Alerts */
.alert {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.alert-error,
.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
  color: #EF4444;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* Status badges */
.status-badge {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-badge.published {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  border-color: rgba(16, 185, 129, 0.2);
}

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
}

/* Loading spinner */
.loading {
  border-color: var(--surface-border);
  border-top-color: var(--primary);
}

/* Small text */
small {
  color: var(--text-muted);
}

/* Links */
a {
  color: var(--primary);
}

a:hover {
  color: #60A5FA;
}

/* Tables */
table {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

th {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-main);
  border-bottom: 1px solid var(--surface-border);
}

td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Moderation dashboard */
.moderation-dashboard {
  background: transparent;
}

.kanban-column {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
}

.kanban-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.kanban-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* Modal */
.modal {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

/* Evidence list */
.evidence-list-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

/* Empty states */
.empty-state {
  color: var(--text-muted);
}

/* Moderation specific */
.moderation-container {
  background: transparent;
}

.moderation-header {
  background: var(--surface-glass);
  border-bottom: 1px solid var(--surface-border);
  color: var(--text-main);
}

.moderation-filters {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.filter-group label {
  color: var(--text-main);
}

.filter-group select,
.filter-group input {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid var(--surface-border) !important;
  color: var(--text-main) !important;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
}

.filter-group select option {
  background: var(--bg-dark) !important;
  color: var(--text-main) !important;
}

.user-info {
  color: var(--text-muted);
}

/* Text center adjustments */
.text-center h2,
.text-center h3,
.text-center p {
  color: var(--text-main);
}

.text-center p {
  color: var(--text-muted);
}

/* Receipt specific */
.receipt-icon {
  color: var(--secondary);
}

.receipt-info label {
  color: var(--text-main);
}

/* Track dashboard */
#dashboard {
  color: var(--text-main);
}

.dashboard-section {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}

.dashboard-section h3 {
  color: var(--text-main);
}

.dashboard-section p,
.dashboard-section span {
  color: var(--text-muted);
}

/* Evidence status badges */
.evidence-status {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.evidence-status.done {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  border-color: rgba(16, 185, 129, 0.2);
}

.evidence-status.failed {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
}

/* Progress bars */
.progress-bar {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--surface-border);
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary), #60A5FA);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-darker) !important;
  border-top: 1px solid var(--surface-border) !important;
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: grid; 
  grid-template-columns: 1.5fr repeat(3, 1fr); 
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 { 
  color: white; 
  margin-bottom: 1.25rem; 
}

.footer-col li { 
  margin-bottom: 0.75rem; 
}

.footer-col a { 
  color: var(--text-muted); 
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover { 
  color: var(--primary); 
}

/* ============================================
   BUTTONS (Override)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  color: #042f2e !important;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 14px -2px rgba(13, 148, 136, 0.45), 0 0 0 1px rgba(45, 212, 191, 0.25) !important;
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 28px -4px rgba(13, 148, 136, 0.5), 0 0 0 1px rgba(45, 212, 191, 0.35) !important;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: white !important;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  color: #042f2e !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.btn-large,
.btn--lg { 
  padding: 1rem 2rem; 
  font-size: 1.1rem; 
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Mobile et Tablette (768px et moins) */
@media (max-width: 768px) {
  :root {
    --pad-x: 1rem;
    --pad-y: 2rem;
  }
  
  /* Header Mobile */
  .site-header {
    padding: 0.75rem 1rem;
  }
  
  .brand {
    font-size: 1.25rem;
  }
  
  .nav__toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
  }
  
  .nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
  }
  
  .nav__menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--surface-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav__link {
    padding: 0.875rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: var(--radius);
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: all 0.3s var(--ease);
  }
  
  .nav__link:hover,
  .nav__link:focus {
    background: var(--surface-glass);
    color: var(--primary);
  }
  
  .nav__menu .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  /* Formulaires Mobile */
  .form-container {
    padding: 1.5rem 1rem;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
  
  .form-control,
  textarea.form-control,
  select.form-control {
    font-size: 16px; /* Évite le zoom sur iOS */
    padding: 0.875rem;
    min-height: 48px; /* Touch-friendly */
  }
  
  /* Grilles */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .category-card {
    padding: 1.25rem;
  }
  
  /* Cards */
  .card {
    padding: 1.25rem;
  }
  
  /* Boutons Mobile */
  .btn {
    min-height: 48px; /* Touch-friendly */
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn--lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  /* Feed Mobile */
  .feed-filters {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .feed-filters select,
  .feed-filters input {
    width: 100%;
    min-height: 48px;
  }
  
  .report-card {
    padding: 1rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
    text-align: center; 
  }
  
  /* Tables Mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  /* Modals Mobile */
  .modal-content {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
}

/* Très petits mobiles (480px et moins) */
@media (max-width: 480px) {
  :root {
    --pad-x: 0.75rem;
  }
  
  .site-header {
    padding: 0.5rem 0.75rem;
  }
  
  .brand {
    font-size: 1.1rem;
  }
  
  .form-container {
    padding: 1rem 0.75rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
}

/* Orientation paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 1.5rem 0;
  }
  
  .form-container {
    padding: 1rem;
  }
}

