/* ========== VARIABLES & RESET ========== */
:root {
  --primary: #1B3A6B;
  --primary-dark: #0f2442;
  --accent: #f9c421;
  --accent-dark: #e5b01c;
  --white: #FFFFFF;
  --gray: #F4F6F9;
  --gray-dark: #2C3E50;
  --danger: #C0392B;
  --success: #27ae60;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-soft: 0 8px 32px 0 rgba(27, 58, 107, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
}

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

/* ========== NAVIGATION ========== */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.logo-icon-small {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--accent);
}

.logo-icon-small i {
  font-size: 1.2rem;
}

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

.nav-link {
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.btn-nav {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27, 58, 107, 0.3);
}

.lang-toggle {
  background: var(--accent);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.lang-toggle:hover {
  background: var(--accent-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========== HERO PROFESSIONAL ========== */
.hero-professional {
  position: relative;
  background: linear-gradient(135deg, #0f2442 0%, var(--primary) 50%, #1a365d 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0 2rem;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(249, 196, 33, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 196, 33, 0.2);
  border: 2px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(249, 196, 33, 0.2);
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 10px rgba(249, 196, 33, 0.1); }
  50% { box-shadow: 0 0 20px rgba(249, 196, 33, 0.4); }
  100% { box-shadow: 0 0 10px rgba(249, 196, 33, 0.1); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(249, 196, 33, 0.4);
}

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

.btn-secondary:hover {
  background: var(--gray);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(249, 196, 33, 0.12) 0%, rgba(249, 196, 33, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-phone {
  position: relative;
  z-index: 1;
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: var(--white);
  border-radius: 40px;
  border: 12px solid var(--gray-dark);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  background: linear-gradient(135deg, #fff9e6 0%, #ffe4b5 100%);
  height: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.app-logo {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  color: var(--gray-dark);
  font-weight: 600;
}

.app-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.floating-elements {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.float-item {
  position: relative;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.float-item i {
  color: var(--accent);
}

.float-1 {
  animation-delay: 0s;
}

.float-2 {
  animation-delay: 1s;
}

.float-3 {
  animation-delay: 2s;
}

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

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ========== SECTIONS GENERAL ========== */

.section-padding {
  padding: 5rem 0;
}

.bg-gray {
  background: var(--gray);
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-line {
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-line.center {
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ========== ABOUT PROFESSIONAL ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-text strong {
  color: var(--primary);
}

.about-cta {
  margin-top: 2rem;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder i {
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.3;
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover .about-img {
  transform: scale(1.05);
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

/* ========== VALUES PROFESSIONAL ========== */
.values-grid-professional {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .values-grid-professional {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid-professional {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .values-grid-professional {
    grid-template-columns: 1fr;
  }
}

.value-card-professional {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card-professional:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(27, 58, 107, 0.12);
  border: 1px solid rgba(249, 196, 33, 0.3);
}

.value-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.value-card-professional h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card-professional p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== FEATURES PROFESSIONAL ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(27, 58, 107, 0.12);
  border-color: var(--accent);
}

.feature-card.featured {
  border-color: var(--accent);
  transform: scale(1.05);
}

.feature-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 20px 40px rgba(27, 58, 107, 0.15);
}

.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  color: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.feature-card > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.feature-list i {
  color: var(--success);
}

.feature-link {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== TIMELINE PREVIEW ========== */
.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 2rem 0;
  overflow-x: auto;
}

/* La ligne de fond */
.timeline-container::before {
  content: '';
  position: absolute;
  top: calc(2rem + 12px) !important;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
  border-radius: 2px;
  z-index: 1 !important; /* Reste TOUT au fond */
}

.timeline-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  z-index: 2 !important; /* Force l'item au-dessus de la ligne */
}

/* LE MARQUEUR (CERCLE) */
.timeline-marker {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  margin: 0 auto 1.5rem !important;
  position: relative !important;
  z-index: 9999 !important;
  border: 4px solid var(--white) !important;
  box-shadow: var(--shadow) !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Variantes de couleurs - Toutes en couleur primaire */
.timeline-marker.positive {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
}

.timeline-marker.negative {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
}

.timeline-marker.critical {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
}

.timeline-content {
  position: relative;
  z-index: 3 !important;
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* ========== CTA PROFESSIONAL ========== */
.cta-professional {
  background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
  position: relative;
  overflow: hidden;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  color: var(--white);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.cta-decoration {
  font-size: 10rem;
  opacity: 0.1;
  color: var(--accent);
}

/* ========== FOOTER PROFESSIONAL ========== */
.footer-professional {
  background: var(--gray-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-contact i {
  color: var(--accent);
  width: 20px;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-cta {
    display: flex;
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  

  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .cta-decoration {
    display: none;
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 1rem;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .phone-frame {
    width: 250px;
    height: 500px;
  }
  
  .timeline-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .timeline-container::before {
    display: none;
  }
}
/* ========== PAGES INTERNES ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.page-header h1 i {
  color: var(--accent);
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.page-content {
  padding: 3rem 20px;
  min-height: 60vh;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .compte-dashboard {
    grid-template-columns: 1fr;
  }
  
  .compte-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 600px) {
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .law-header {
    flex-direction: column;
  }
  
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .timeline-professional::before {
    left: 20px;
  }
  
  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .pack-card.featured {
    transform: scale(1);
  }
}
/* FICHES PRATIQUES */
.fiches-pratiques {
  margin: 3rem 0;
}

.fiches-pratiques h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-intro {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.fiches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.fiche-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

.fiche-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.fiche-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.fiche-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.fiche-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.fiche-langs {
  display: flex;
  gap: 0.75rem;
}

.btn-download-fr,
.btn-download-ar {
  flex: 1;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-download-fr {
  background: var(--primary);
  color: var(--white);
}

.btn-download-fr:hover {
  background: var(--primary-dark);
}

.btn-download-ar {
  background: var(--accent);
  color: var(--primary);
}

.btn-download-ar:hover {
  background: var(--accent-dark);
}

/* Responsive */
@media (max-width: 600px) {
  .fiche-langs {
    flex-direction: column;
  }
}
