:root {
  --bg: #c4b8a8;
  --fg: #42200A;
  --muted: #42200A;
  --accent: #42200A;
  --line: #1f2540;
  --dot: #dfe4ff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --shadow: rgba(66, 32, 10, 0.1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 50% 30%, #B8A07F 0%, var(--bg) 60%);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.apropos-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 80px;
  padding-bottom: 2rem;
}

.hero-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
  text-shadow: 2px 2px 4px var(--shadow);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-section {
  margin-bottom: 2.5rem;
}

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

.highlight-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
}

.highlight-card h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
  line-height: 1.3;
}

.highlight-card p {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  text-align: center;
}

.apropos-article h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  margin: 2.5rem 0 1.5rem 0;
  color: var(--fg);
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  line-height: 1.3;
}

.apropos-article h2:first-of-type {
  margin-top: 0;
}

.apropos-article p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 1.5rem;
  text-align: justify;
  line-height: 1.7;
}

.apropos-article strong {
  color: var(--accent);
  font-weight: 600;
}

.pillars-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pillars-list li {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillars-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

.pillars-list h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--accent);
  line-height: 1.3;
}

.pillars-list p {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  text-align: left;
}

.formation-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.formation-section h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
  line-height: 1.3;
}

.formation-section ul {
  margin: 0;
  padding-left: 1.5rem;
}

.formation-section li {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.cta-approach {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(184, 160, 127, 0.1));
  border-radius: 15px;
  padding: 2.5rem;
  margin-top: 2.5rem;
  text-align: center;
  border: 2px solid rgba(124, 92, 255, 0.2);
}

.cta-approach h2 {
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cta-approach p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-align: center;
}

.cta-approach p:last-of-type {
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

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

.cta-button {
  display: inline-block;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button.primary {
  background-color: var(--fg);
  color: white;
  box-shadow: 0 2px 10px rgba(31, 37, 64, 0.2);
}

.cta-button.primary:hover {
  background-color: #2a3454;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 37, 64, 0.3);
  color: white;
}

.cta-button.secondary {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--fg);
}

.cta-button.secondary:hover {
  background-color: var(--fg);
  color: white;
  transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-content p {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--muted);
  opacity: 0.8;
}

/* Responsive Design amélioré */
@media (max-width: 768px) {
  .apropos-content {
    padding: 1rem;
    margin-top: 70px;
  }
  
  .content-section {
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .profile-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .highlight-card {
    padding: 1.5rem;
  }
  
  .pillars-list li {
    padding: 1.2rem;
  }
  
  .apropos-article h2 {
    margin: 2rem 0 1rem 0;
    padding-left: 0.8rem;
  }
  
  .cta-approach {
    padding: 2rem;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .site-footer {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .apropos-content {
    padding: 0.8rem;
    margin-top: 60px;
  }
  
  .hero-section {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }
  
  .content-section {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .pillars-list li {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .highlight-card {
    padding: 1rem;
  }
  
  .formation-section {
    padding: 1.5rem;
  }
  
  .cta-approach {
    padding: 1.5rem;
  }
  
  .apropos-article h2 {
    border-left: 3px solid var(--accent);
    padding-left: 0.6rem;
  }
  
  .site-footer {
    margin-top: 1.5rem;
    padding: 1rem 0;
  }
  
  .footer-content {
    padding: 0 0.8rem;
  }
}

@media (max-width: 360px) {
  .apropos-content {
    padding: 0.5rem;
  }
  
  .content-section {
    padding: 0.8rem;
  }
  
  .pillars-list li {
    padding: 0.8rem;
  }
  
  .highlight-card {
    padding: 0.8rem;
  }
  
  .formation-section {
    padding: 1rem;
  }
  
  .cta-approach {
    padding: 1rem;
  }
  
  .footer-content {
    padding: 0 0.5rem;
  }
}

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

.apropos-article > * {
  animation: fadeInUp 0.6s ease-out;
}

.pillars-list li {
  animation: fadeInUp 0.6s ease-out;
}

.highlight-card {
  animation: fadeInUp 0.6s ease-out;
}

.cta-approach {
  animation: fadeInUp 0.8s ease-out;
}

.site-footer {
  animation: fadeInUp 0.8s ease-out;
}

/* Amélioration de l'accessibilité */
.apropos-article h2:focus,
.pillars-list h3:focus,
.highlight-card h3:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cta-button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Smooth scrolling pour les ancres */
html {
  scroll-behavior: smooth;
}

/* Amélioration pour les écrans tactiles */
@media (hover: none) {
  .pillars-list li:hover,
  .highlight-card:hover,
  .cta-button:hover {
    transform: none;
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}