/* ===== VARIABLES ===== */
:root {
  --primary: #41B6E6;
  --primary-dark: #0072C6;
  --secondary: #0052A3;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --text-dark: #0052A3;
  --text-medium: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #41B6E6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: white;
  color: #0052A3;
  line-height: 1.6;
  padding: 15px 20px;
  min-height: 100vh;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 25px 30px;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  margin-bottom: 25px;
}

/* TITRE - MÊME TAILLE QUE GESTACRISES */
.hero-title {
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.3;
  color: #0052A3 !important;
  margin-bottom: 12px;
}

.title-line1,
.title-line2 {
  display: block;
  color: #0052A3 !important;
}

/* ===== BOUTON UNIVERS-MÉTIERS - PLUS GRAND ===== */
.univers-button-container {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.univers-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(135deg, #41B6E6 0%, #0072C6 100%) !important;
  color: white !important;
  box-shadow: var(--shadow-sm);
}

.univers-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #5CBDE6 0%, #0082D6 100%) !important;
}

.univers-btn:active {
  transform: translateY(0);
}

.univers-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

/* CARTES - TAILLE RÉDUITE */
.action-card {
  background: var(--bg-white);
  border: none;
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  position: relative;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* COULEURS AVEC DÉGRADÉS - DU PLUS CLAIR AU PLUS FONCÉ */
.action-card:nth-child(1) {
  background: linear-gradient(135deg, #41B6E6 0%, #0072C6 100%) !important;
}

.action-card:nth-child(2) {
  background: linear-gradient(135deg, #0072C6 0%, #0052A3 100%) !important;
}

.action-card:nth-child(3) {
  background: linear-gradient(135deg, #0052A3 0%, #003580 100%) !important;
}

/* ICÔNES - GARDÉES À 80px (pas de changement) */
.card-icon {
  font-size: 3.5em;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
  pointer-events: none;
}

/* STYLE POUR L'IMAGE LOGO - GARDÉE À 80px */
.card-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* TITRES - TAILLE RÉDUITE */
.card-title {
  font-size: 0.95em;
  font-weight: 600;
  color: white !important;
  margin-bottom: 10px;
  line-height: 1.2;
  pointer-events: none;
}

.card-desc {
  display: none;
}

/* BOUTONS INVISIBLES MAIS CLIQUABLES - COUVRENT TOUTE LA CARTE */
.card-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0;
  opacity: 0;
  z-index: 10;
}

/* ===== BADGES DE COMPLÉTION ===== */
.completion-badge {
  background: var(--success);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  pointer-events: none;
  position: relative;
  z-index: 5;
}

/* ===== ACTION BUTTONS SECTION - DÉGRADÉ BLEU ===== */
.action-buttons-section {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.action-btn-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(135deg, #41B6E6 0%, #0072C6 100%) !important;
  color: white !important;
  box-shadow: var(--shadow-sm);
}

.action-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #5CBDE6 0%, #0082D6 100%) !important;
}

.action-btn-small:active {
  transform: translateY(0);
}

.btn-icon-small {
  width: 18px;
  height: 18px;
}

/* ===== ACTION NOTICE - TEXTE BLEU FONCÉ ===== */
.action-notice {
  text-align: center;
  font-size: 14px;
  color: #0052A3 !important;
  margin-bottom: 20px;
  font-style: normal;
  padding: 12px 18px;
  background: #e6f3ff;
  border-left: 4px solid #0072C6;
  border-radius: 8px;
  line-height: 1.6;
}

.action-notice strong {
  color: #0052A3 !important;
  font-weight: 700;
}

/* ===== FOOTER ===== */
.page-footer {
  text-align: center;
  padding-top: 15px;
  color: var(--text-medium);
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body {
    padding: 15px 10px;
  }
  
  .container {
    padding: 20px 15px;
  }
  
  .hero-title {
    font-size: 1.3em;
    color: #0052A3 !important;
  }
  
  .univers-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .univers-icon {
    width: 16px;
    height: 16px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .action-card {
    min-height: 130px;
    padding: 15px 10px;
  }

  .card-icon {
    font-size: 3em;
  }

  .card-logo {
    width: 70px;
    height: 70px;
  }

  .card-title {
    font-size: 0.9em;
  }
  
  .action-buttons-section {
    flex-direction: column;
    gap: 10px;
  }
  
  .action-btn-small {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.action-card {
  animation: fadeIn 0.6s ease-out;
}

.action-card:nth-child(1) {
  animation-delay: 0.1s;
}

.action-card:nth-child(2) {
  animation-delay: 0.2s;
}

.action-card:nth-child(3) {
  animation-delay: 0.3s;
}
