/* ─── SERVICES PAGES STYLES ─── */
.back-link {
  position: relative;
  top: 70px;
  display: inline-block;
  margin: 20px 0 0 1.5rem; 
  font-size: 0.95rem; color: var(--text-muted); 
  text-decoration: none; 
  transition: color 0.2s;
}
.service-hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  margin-bottom: 60px;
}

.service-hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #8d5cf8 0%, #cbccff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width:none
}

.service-hero p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-muted);
}

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

.description-section {
  margin-bottom: 80px;
}

.description-section h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: var(--text);
}

.description-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.description-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05em;
}

.features-list {
  list-style: none;
}

.features-list li {
  padding: 12px 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 1.3em;
  flex-shrink: 0;
}

.note-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: 0.95em;
}

.pricing-section {
  margin-bottom: 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  background: var(--bg2);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
}

.pricing-card.recommended {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, transparent 100%);
}

.pricing-card.recommended::before {
  content: "★ RECOMMANDÉ";
  position: absolute;
  top: -14px;
  left: 30px;
  background: linear-gradient(135deg, #8d5cf8, #6366f1);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 700;
}

.card-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--text);
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 0.95em;
  margin-bottom: 25px;
}

.price-section {
  margin: 25px 0;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-from {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 8px;
}

.price-main {
  font-size: 3em;
  font-weight: 700;
  background: linear-gradient(135deg, #8d5cf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9em;
}

.card-features {
  list-style: none;
  margin: 30px 0;
  flex-grow: 1;
}

.card-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.card-features li:last-child {
  border-bottom: none;
}

.card-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 1.3em;
  flex-shrink: 0;
}

.card-features li.not-included {
  color: var(--text-dim);
}

.card-features li.not-included::before {
  content: "−";
  color: var(--text-dim);
}

.card-cta {
  background: linear-gradient(135deg, #8d5cf8, #6366f1);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 25px;
  width: 100%;
}

.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.process-section {
  margin-bottom: 80px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  padding: 30px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8d5cf8, #6366f1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: var(--text);
}

.process-step p {
  color: var(--text-muted);
  line-height: 1.6;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  color: var(--text);
  font-weight: 700;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check {
  color: #10b981;
  font-weight: bold;
  font-size: 1.3em;
}

.cross {
  color: var(--text-dim);
  font-weight: bold;
  font-size: 1.3em;
}

.tech-stack {
  margin-bottom: 80px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tech-card {
  padding: 30px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.tech-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.tech-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: var(--text);
}

.tech-card p {
  color: var(--text-muted);
  font-size: 0.95em;
  line-height: 1.6;
}

.faq-section {
  margin-bottom: 80px;
}

.faq-item {
  margin-bottom: 25px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.faq-question:hover {
  background: var(--bg3);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  padding: 25px;
  max-height: 500px;
}

.faq-icon {
  font-size: 1.5em;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.cta-footer {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border-radius: 12px;
  margin-bottom: 80px;
}

.cta-footer h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.cta-footer p {
  font-size: 1.1em;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background: linear-gradient(135deg, #8d5cf8, #6366f1);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary.disabled,
.card-cta.disabled {
  background: var(--border) !important;
  color: var(--text-dim) !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  box-shadow: none;
  transform: none;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .description-content {
    grid-template-columns: 1fr;
  }
  
  .service-hero h1 {
    font-size: 2em;
  }
  
  .pricing-card {
    text-align: center;
    padding: 30px 20px;
  }
  .card-features li {    
    justify-content: center;
  }  
  .comparison-table th,
  .comparison-table td {
    padding: 12px;
    font-size: 0.9em;
  }
}
