/* Police Inter (SIL Open Font License, voir /fonts/LICENSE-Inter.txt) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-800.woff2') format('woff2');
}

/* ==========================================
   PERTEC.FR - Site Ultra Moderne
   ========================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #8b5cf6;
  --secondary: #f59e0b;
  --dark: #0a0a0f;
  --dark-light: #131318;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background Effects */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(128px);
  animation: float 8s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.15);
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.1);
  top: 50%;
  right: -200px;
  animation-delay: 2s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.08);
  bottom: -150px;
  left: 30%;
  animation-delay: 4s;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 600px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.glass-strong {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  border: 1px solid #2d2d44;
  border-radius: 12px;
  padding: 0.75rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  margin-top: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #2d2d44;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: #2d2d44;
  color: #ffffff;
}

/* Mobile Menu Section */
.mobile-menu-section {
  border-top: 1px solid #2d2d44;
  border-bottom: 1px solid #2d2d44;
  padding: 1rem 2rem;
  margin: 0.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  width: 100%;
  max-width: 360px;
}

.mobile-menu-title {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  padding: 0.5rem 0;
  text-align: center;
}

.mobile-menu-section a {
  font-size: 1.1rem;
  padding: 0.75rem 0;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav, .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  section {
    padding: 3rem 0;
  }
  .zone-card {
    padding: 1.5rem;
  }
  .cta-box {
    padding: 2rem;
  }
  .faq-item.active .faq-answer {
    max-height: 500px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-400);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

/* Demo Cards */
.demo-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.demo-card:hover {
  border-color: var(--primary);
}

.demo-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.demo-card:hover .demo-link {
  text-decoration: underline;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--gradient);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

/* Advantages */
.advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}

.advantage-item span:first-child {
  font-size: 1.5rem;
}

.advantage-item strong {
  color: var(--white);
}

/* Secteurs Grid */
.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.secteur-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.secteur-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.secteur-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.secteur-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.secteur-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(99, 102, 241, 0.2);
  font-family: serif;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: #facc15;
  font-size: 1.25rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  color: var(--gray-100);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info strong {
  display: block;
  color: var(--white);
}

.author-info span {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Zone Section */
.zone-card {
  padding: 3rem;
}

.zone-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .zone-content {
    grid-template-columns: 1fr;
  }
}

.zone-map {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.zone-map .pin {
  font-size: 4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.villes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.ville-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15), transparent);
  pointer-events: none;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  position: relative;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.form-box {
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.form-group label span {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-trust {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-trust svg {
  color: #22c55e;
}

/* Footer */
.footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 0;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-500);
  transition: color 0.3s ease;
  padding: 0.5rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Page Header */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
}

.page-header .hero-badge {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

/* Process Steps */
.process-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--secondary));
}

.process-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.process-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-content {
  flex: 1;
  padding: 1.5rem;
}

.process-step {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.process-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--gray-400);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-400);
}

/* Inclus List */
.inclus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.inclus-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  transition: background 0.3s ease;
}

.inclus-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.inclus-item span:first-child {
  font-size: 1.5rem;
}

.inclus-item strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.inclus-item p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin: 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.portfolio-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tags span {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.portfolio-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-featured {
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
}

.portfolio-featured .portfolio-image {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.blog-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section p,
.legal-section li {
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.5rem;
}

.legal-section li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.legal-section strong {
  color: var(--white);
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-bar {
  margin-bottom: 1.5rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-bar-header span:first-child {
  font-weight: 500;
}

.skill-bar-header span:last-child {
  color: var(--primary);
}

.skill-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 1s ease;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tags span {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.value-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* ==========================================
   Secteurs avec Images
   ========================================== */

.secteurs-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.secteur-img-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.secteur-img-card:hover {
  transform: translateY(-8px);
}

.secteur-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.secteur-img-card:hover img {
  transform: scale(1.08);
}

.secteur-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.secteur-img-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.secteur-img-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.secteur-img-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.secteur-img-card:hover .btn-link {
  gap: 0.75rem;
}

/* Hero with Image */
.hero-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--gradient);
  border-radius: 2rem;
  opacity: 0.15;
  z-index: -1;
  filter: blur(40px);
}

@media (max-width: 900px) {
  .hero-with-image {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Portfolio with Real Images */
.portfolio-real-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* About Image */
.about-image {
  position: relative;
}

.about-image img {
  border-radius: 1.5rem;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: var(--gradient);
  border-radius: 1rem;
  opacity: 0.2;
  z-index: -1;
}

/* ==========================================
   Tendances 2026 - Micro-interactions
   ========================================== */

/* Pulse animation pour les badges */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(99, 102, 241, 0.2);
  }
}

.hero-badge {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Gradient text animation */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-text {
  background-size: 200% auto;
  animation: gradient-shift 4s ease-in-out infinite;
}

/* Enhanced button hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* Card entrance animation */
@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-animate].animate {
  animation: card-enter 0.6s ease forwards;
}

/* Stronger glass effect on hover */
.glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Icon bounce on feature cards */
.feature-card:hover .feature-icon {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Navigation link underline animation */
.nav-link {
  position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Star rating glow */
.star {
  transition: all 0.3s ease;
}

.testimonial-card:hover .star {
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
}

/* Portfolio card shine effect */
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.portfolio-card:hover::before {
  left: 100%;
}

/* Form input focus glow */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Better focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Safari Mobile Optimizations */
@supports (-webkit-touch-callout: none) {
  .orb {
    filter: blur(80px);
    animation: none;
    opacity: 0.7;
  }

  .glass,
  .glass-strong {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

/* Mobile Performance */
@media (max-width: 768px) {
  .orb {
    filter: blur(60px);
    animation: none;
  }

  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 250px; height: 250px; }
  .orb-3 { width: 200px; height: 200px; }

  .glass,
  .glass-strong {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .grid-pattern {
    display: none;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .portfolio-card::before,
  .feature-card::before {
    display: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* ===== Page Tarifs ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.pricing-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .pricing-featured {
    transform: none;
  }
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-unit {
  font-size: 1rem;
  color: var(--gray-400);
}

.pricing-engagement {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--gray-400);
  margin-top: 2rem;
  font-size: 0.95rem;
}

.option-price {
  color: var(--primary);
  font-weight: 600;
  margin-top: 1rem;
}

.option-pour {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Comparateur */
.comparateur-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparateur {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparateur th,
.comparateur td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #2d2d44;
}

.comparateur thead th {
  background: #1a1a2e;
  font-weight: 600;
  vertical-align: bottom;
  padding-bottom: 1.5rem;
}

.comparateur thead th.col-featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.15) 0%, rgba(99,102,241,0.05) 100%);
  border-top: 2px solid var(--primary);
}

.comparateur-price {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
}

.comparateur .feature-name {
  text-align: left;
  font-weight: 500;
  color: var(--gray-300);
}

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

.comparateur .col-featured {
  background: rgba(99,102,241,0.03);
}

.comparateur .check-icon {
  display: inline-block;
}

.comparateur .no-feature {
  color: var(--gray-600);
}

.comparateur .feature-text {
  color: var(--gray-300);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .comparateur {
    font-size: 0.8rem;
  }
  .comparateur th,
  .comparateur td {
    padding: 0.5rem 0.35rem;
  }
  .comparateur .feature-name {
    text-align: left;
    white-space: nowrap;
  }
  .comparateur-price {
    font-size: 1rem;
  }
}

/* How it works */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .how-it-works {
    grid-template-columns: 1fr;
  }
}

.how-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.how-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.how-step h4 {
  margin-bottom: 0.25rem;
}

.how-step p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Accueil : tarifs et avis */
.home-pricing .feature-card { text-align: center; }
.feature-card .home-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0 1rem;
  font-variant-numeric: tabular-nums;
}
.home-pricing-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}
.home-avis { margin: 0; }
.home-avis-note { color: #fbbf24; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.home-avis blockquote { margin: 0 0 1rem; color: var(--gray-100); font-style: italic; }
.home-avis figcaption { color: var(--gray-400); font-size: 0.9rem; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== Rubrique Conseils ===== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.article-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.3s ease; }
.article-card:hover { transform: translateY(-4px); }
.article-card-image { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.article-card-content { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.article-card-content time { color: var(--gray-500); font-size: 0.85rem; }
.article-card-content h2 { font-size: 1.25rem; line-height: 1.35; }
.article-card-content p { color: var(--gray-400); font-size: 0.95rem; }
.article-card-content .btn-link { margin-top: auto; color: var(--primary-light); font-weight: 600; }

.article-header { padding-bottom: 2.5rem; }
.article-header h1 { max-width: 900px; margin: 0 auto; opacity: 1 !important; transform: none !important; }
.article-header .article-meta { opacity: 1 !important; transform: none !important; }
.article-breadcrumb { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.article-breadcrumb a { color: var(--gray-400); text-decoration: none; }
.page-header .article-apercu { display: inline-block; max-width: none; margin: 0 auto 1rem; padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.85rem; line-height: 1.4; font-weight: 600; color: #fcd34d; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); }
.article-breadcrumb a:hover { color: var(--white); }
.article-meta { color: var(--gray-500); font-size: 0.95rem; margin-top: 1.25rem; }
.article-meta a { color: var(--gray-400); }

.article-prose { max-width: 760px; margin: 0 auto; padding-bottom: 4rem; font-size: 1.075rem; line-height: 1.75; }
.article-prose > p, .article-prose li { color: var(--gray-400); }
.article-prose > p { margin-bottom: 1.25rem; }
.article-prose strong { color: var(--white); }
.article-prose a { color: var(--primary-light); }
.article-prose h2 { font-size: 1.75rem; line-height: 1.25; margin: 3rem 0 1rem; text-wrap: balance; }
.article-prose h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.article-prose ul, .article-prose ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-prose ul li { list-style: disc; margin-bottom: 0.75rem; }
.article-prose ol li { list-style: decimal; margin-bottom: 0.75rem; }

.article-answer { padding: 1.5rem 1.75rem; border-left: 3px solid var(--primary); border-radius: 12px; margin-bottom: 1rem; }
.article-answer p { color: var(--gray-100); margin-bottom: 0.75rem; }
.article-answer p:last-child { margin-bottom: 0; }
.article-answer .article-answer-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-light); }

.article-table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.article-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.article-table th { text-align: left; font-weight: 600; color: var(--gray-400); background: rgba(255,255,255,0.04); padding: 0.75rem 0.75rem; }
.article-table td { padding: 0.75rem 0.75rem; border-top: 1px solid rgba(255,255,255,0.08); color: var(--gray-400); vertical-align: top; }
.article-table-prix td:nth-child(2), .article-table-prix td:nth-child(4) { white-space: nowrap; }
.article-table-2col { min-width: 0; }
.article-table td { font-variant-numeric: tabular-nums; }

.article-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.article-price { padding: 1.25rem; border-radius: 12px; display: flex; flex-direction: column; gap: 0.3rem; }
.article-price span { color: var(--gray-400); font-size: 0.9rem; }
.article-price strong { font-size: 1.75rem; color: var(--primary-light); font-variant-numeric: tabular-nums; }
.article-price small { color: var(--gray-500); font-size: 0.8rem; line-height: 1.4; }

.article-faq { margin: 1rem 0 2.5rem; }
.article-cta { padding: 2rem; border-radius: 16px; text-align: center; margin-top: 3rem; }
.article-cta h2 { margin: 0 0 0.5rem; }
.article-cta p { color: var(--gray-400); margin-bottom: 1.5rem; }
.article-cta .hero-buttons { justify-content: center; }
.article-related { margin-top: 2rem; font-size: 0.95rem; }

@media (max-width: 600px) {
  .article-prose { font-size: 1rem; }
  .article-prose h2 { font-size: 1.45rem; }
  .article-answer, .article-cta { padding: 1.25rem; }
}

.article-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.article-ref { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; text-decoration: none; transition: transform 0.3s ease; }
.article-prose .article-ref { color: inherit; }
.article-ref:hover { transform: translateY(-3px); }
.article-ref-image { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: top center; }
.article-ref-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.25rem 1.25rem; font-size: 0.95rem; line-height: 1.5; }
.article-ref-body > span { color: var(--gray-400); }
.article-ref-body strong { font-size: 1.1rem; }
.article-ref-body .article-ref-type { color: var(--primary-light); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.article-ref-body .article-ref-link { color: var(--primary-light); font-weight: 600; margin-top: 0.25rem; }
/* Les boutons gardent leur couleur dans le texte des articles */
.article-prose a.btn { color: var(--white); text-decoration: none; }

/* ===== Index des secteurs ===== */
.secteurs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.secteur-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; text-decoration: none; color: inherit; transition: transform 0.3s ease; }
.secteur-card:hover { transform: translateY(-4px); }
.secteur-card-icon { flex-shrink: 0; width: 64px; height: 64px; }
.secteur-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.secteur-card-content { display: flex; flex-direction: column; gap: 0.3rem; }
.secteur-card-content h2 { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.secteur-card-content p { color: var(--gray-400); font-size: 0.9rem; margin: 0; }
.secteur-card-content .btn-link { color: var(--primary-light); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 600px) {
  .secteur-card { padding: 1.25rem; gap: 1rem; }
  .secteur-card-icon { width: 48px; height: 48px; }
  .secteur-card-content h2 { font-size: 1.05rem; }
}

/* Accueil : photo du poste de travail en fond, assombrie et floutée */
.hero-photo { overflow: hidden; isolation: isolate; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -2;
  background: url('/images/hero/bureau-droite.webp') center 78% / cover no-repeat;
  filter: blur(3px) saturate(1.1);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 15, 0.72) 0%, rgba(10, 10, 15, 0.88) 60%, #0a0a0f 100%),
    linear-gradient(180deg, transparent 70%, #0a0a0f 100%);
}
.hero-photo h1, .hero-photo p { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.hero-photo p { color: #d1d5db; }

.article-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.article-feature { padding: 1.25rem; border-radius: 12px; }
.article-prose .article-feature h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.article-feature p { color: var(--gray-400); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.article-features-compact .article-feature { padding: 1rem 1.25rem; }

.article-figure { margin: 1.5rem 0 2rem; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 20px 50px rgba(0,0,0,0.35); }
.article-figure figcaption { color: var(--gray-500); font-size: 0.88rem; line-height: 1.5; margin-top: 0.75rem; text-align: center; }

.article-ref { color: inherit; }
.article-ref-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; }
.article-refs-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); max-width: 960px; margin-left: auto; margin-right: auto; gap: 1.5rem; }
.features-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
