/*
Theme Name: bee-comm Professional
Description: Thème professionnel pour bee-comm.ch - Version complète
Version: 3.0.0
Author: Manus AI
*/

/* ===== VARIABLES CSS BEE-COMM ===== */
:root {
  --bee-primary: #2E86AB;
  --bee-secondary: #F24236;
  --bee-accent: #A23B72;
  --bee-green: #4CAF50;
  --bee-cyan: #00BCD4;
  --bee-dark: #333333;
  --bee-light: #f8fafc;
  --bee-white: #ffffff;
  --bee-gray: #666666;
  --bee-border: #e2e8f0;
  --bee-gradient: linear-gradient(135deg, var(--bee-primary), var(--bee-cyan));
  --bee-gradient-secondary: linear-gradient(135deg, var(--bee-secondary), #FF6B35);
  --bee-shadow: 0 10px 30px rgba(46, 134, 171, 0.1);
  --bee-shadow-hover: 0 20px 40px rgba(46, 134, 171, 0.2);
  --bee-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --bee-border-radius: 12px;
  --bee-border-radius-large: 20px;
  --bee-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bee-font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bee-font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== RESET ET BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--bee-font-secondary);
  color: var(--bee-dark);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--bee-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bee-primary);
  text-decoration: none;
  transition: var(--bee-transition);
}

a:hover {
  color: var(--bee-secondary);
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bee-font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--bee-dark);
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 25px;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.lead {
  font-size: 20px;
  font-weight: 400;
  color: var(--bee-gray);
  margin-bottom: 30px;
}

/* ===== LAYOUT PRINCIPAL ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section {
  padding: 80px 0;
}

.section-small {
  padding: 60px 0;
}

.section-large {
  padding: 120px 0;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--bee-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--bee-transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  min-height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-title {
  font-family: var(--bee-font-primary);
  font-size: 28px;
  font-weight: 700;
  color: var(--bee-primary);
  text-decoration: none;
}

/* ===== NAVIGATION ===== */
.primary-navigation {
  display: flex;
  align-items: center;
}

.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  color: var(--bee-dark);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  position: relative;
  transition: var(--bee-transition);
}

.primary-menu a:hover,
.primary-menu a.current {
  color: var(--bee-primary);
}

.primary-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--bee-gradient);
  transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu a.current::after {
  width: 100%;
}

/* Menu mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--bee-dark);
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--bee-gradient);
  color: var(--bee-white);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.5;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  font-family: var(--bee-font-primary);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--bee-transition);
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.btn-primary {
  background: var(--bee-gradient-secondary);
  color: var(--bee-white);
  box-shadow: var(--bee-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--bee-shadow-hover);
  color: var(--bee-white);
}

.btn-secondary {
  background: transparent;
  color: var(--bee-primary);
  border: 2px solid var(--bee-primary);
}

.btn-secondary:hover {
  background: var(--bee-primary);
  color: var(--bee-white);
}

.btn-white {
  background: var(--bee-white);
  color: var(--bee-primary);
  box-shadow: var(--bee-shadow);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--bee-shadow-hover);
  color: var(--bee-primary);
}

/* Effet de brillance sur les boutons */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* ===== GRILLE ET CARTES ===== */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--bee-white);
  border-radius: var(--bee-border-radius);
  padding: 40px 30px;
  box-shadow: var(--bee-shadow-card);
  transition: var(--bee-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--bee-shadow-hover);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--bee-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--bee-white);
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  color: var(--bee-dark);
}

.card-content {
  text-align: center;
  color: var(--bee-gray);
  line-height: 1.7;
  flex-grow: 1;
}

/* ===== SECTIONS SPÉCIALES ===== */
.section-gradient {
  background: var(--bee-gradient);
  color: var(--bee-white);
  position: relative;
}

.section-light {
  background: var(--bee-light);
}

.section-dark {
  background: var(--bee-dark);
  color: var(--bee-white);
}

/* ===== STATISTIQUES ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bee-white);
  border-radius: var(--bee-border-radius);
  box-shadow: var(--bee-shadow-card);
  transition: var(--bee-transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--bee-shadow-hover);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--bee-primary);
  display: block;
  margin-bottom: 10px;
  font-family: var(--bee-font-primary);
}

.stat-label {
  font-size: 16px;
  color: var(--bee-gray);
  font-weight: 500;
}

/* ===== TÉMOIGNAGES ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.testimonial {
  background: var(--bee-white);
  border-radius: var(--bee-border-radius);
  padding: 40px 30px;
  box-shadow: var(--bee-shadow-card);
  text-align: center;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 80px;
  color: var(--bee-primary);
  position: absolute;
  top: 10px;
  left: 30px;
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--bee-gray);
}

.testimonial-author {
  font-weight: 600;
  color: var(--bee-dark);
  margin-bottom: 5px;
}

.testimonial-company {
  font-size: 14px;
  color: var(--bee-gray);
}

/* ===== FORMULAIRES ===== */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--bee-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--bee-border);
  border-radius: var(--bee-border-radius);
  font-size: 16px;
  font-family: var(--bee-font-secondary);
  transition: var(--bee-transition);
  background: var(--bee-white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--bee-primary);
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

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

/* ===== FAQ ===== */
.faq-item {
  background: var(--bee-white);
  border-radius: var(--bee-border-radius);
  margin-bottom: 15px;
  box-shadow: var(--bee-shadow-card);
  overflow: hidden;
}

.faq-question {
  padding: 25px 30px;
  background: var(--bee-light);
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  transition: var(--bee-transition);
  position: relative;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--bee-dark);
}

.faq-question:hover {
  background: var(--bee-primary);
  color: var(--bee-white);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  transition: var(--bee-transition);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  padding: 0 30px 25px;
  color: var(--bee-gray);
  line-height: 1.7;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bee-dark);
  color: var(--bee-white);
  padding: 80px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: var(--bee-white);
  margin-bottom: 25px;
  font-size: 20px;
}

.footer-section p,
.footer-section li {
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: #cccccc;
  transition: var(--bee-transition);
}

.footer-section a:hover {
  color: var(--bee-cyan);
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bee-white);
  transition: var(--bee-transition);
}

.social-link:hover {
  background: var(--bee-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-menu a {
  color: #cccccc;
  font-size: 14px;
  transition: var(--bee-transition);
}

.footer-menu a:hover {
  color: var(--bee-cyan);
}

.copyright {
  font-size: 14px;
  color: #999999;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 20px 0;
  background: var(--bee-light);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--bee-primary);
}

.breadcrumb span {
  color: var(--bee-gray);
}

/* ===== UTILITAIRES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.hidden { display: none; }
.visible { display: block; }

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

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .primary-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-menu {
    flex-direction: column;
    gap: 15px;
  }
  
  .card {
    padding: 30px 20px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 14px;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible pour l'accessibilité */
.btn:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--bee-primary);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

