/*
Theme Name: PurePlay
Theme URI: https://pureplay.fr
Description: Thème personnalisé pour PurePlay - Environnements immersifs pour le recrutement
Version: 1.0
Author: Pure Chase
Author URI: https://purechase.fr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pureplay
*/

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
  text-decoration: none;
  cursor: pointer;
}

.site-title span {
  color: #0066CC;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #0066CC;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #EFF6FF 0%, #F3E8FF 100%);
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Pie Chart Container */
.pie-chart-container {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

#pureplay-pie-chart {
  max-width: 100%;
  height: auto;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1f2937;
}

.card-text {
  color: #6b7280;
  line-height: 1.6;
}

/* Search Section */
.search-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 1000px;
  margin: 60px auto;
}

.search-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #1f2937;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.search-filters select {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s;
}

.search-filters select:focus {
  outline: none;
  border-color: #0066CC;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Scenarios List */
.scenarios-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scenario-card {
  background: #EFF6FF;
  padding: 20px;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
}

.scenario-card:hover {
  background: #DBEAFE;
}

.scenario-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 8px;
}

.scenario-meta {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Achats Page */
.achats-page {
  background: linear-gradient(135deg, #0066CC 0%, #004999 100%);
  min-height: 100vh;
  padding: 80px 0;
}

.achats-header {
  text-align: center;
  color: white;
  margin-bottom: 60px;
}

.achats-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.achats-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.scenario-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.scenario-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.scenario-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-niveau {
  background: #DBEAFE;
  color: #1E40AF;
}

.badge-domaine {
  background: #F3F4F6;
  color: #374151;
}

.scenario-item h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 15px;
}

.scenario-description {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-devis {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0066CC;
  color: white;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-devis:hover {
  background: #0052A3;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066CC;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #0066CC;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #0052A3;
}

.form-notice {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 15px;
}

/* Footer */
.site-footer {
  background: #1f2937;
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 80px;
}

.footer-subtitle {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .achats-title {
    font-size: 2.5rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
}