:root {
  --primary-color: #6a5acd; /* Violet */
  --secondary-color: #9370db; /* Medium purple */
  --accent-color: #5f4b8b; /* Dark slate blue */
  --background-color: #f8f9fa;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --text-color: #333;
  --light-text: #fff;
  --dark-text: #222;
  --card-bg: #fff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
  --footer-bg: #212529;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
}

h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.8rem;
  color: var(--accent-color);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

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

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

/* Header styles */
header {
  background: var(--gradient);
  color: var(--light-text);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-content {
  position: relative;
  z-index: 2;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.header-subtitle {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Navigation styles */
.navbar {
  background-color: #fff;
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 8px;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-top: 24px;
  margin-right: 24px;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
}

/* Main content styles */
main {
  padding: 4rem 0;
}

.intro {
  margin-bottom: 3rem;
}

.intro p {
  font-size: 1.1rem;
  max-width: 800px;
}

/* Enneagram types grid */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.type-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid var(--primary-color);
  height: 100%;
}

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

.type-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.type-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
}

.type-desc {
  font-size: 0.95rem;
  color: #666;
}

/* Benefits section */
.benefits {
  background-color: #f1f5f9;
  padding: 4rem 0;
  margin: 3rem 0;
  border-radius: var(--border-radius);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
}



.cta-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-desc {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Process section */
.process-section {
  margin: 4rem 0;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e9ecef;
  z-index: -1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 30%;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(106, 90, 205, 0.3);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
}

.step-desc {
  font-size: 0.95rem;
  color: #666;
}

/* Footer styles */
footer {
  background-color: var(--footer-bg);
  color: #f8f9fa;
  padding: 3rem 0 2rem;
}

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

.footer-logo {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

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

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  color: #ffffff;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

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

.footer-links a {
  color: #f8f9fa;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

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

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

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

/* Enneagram symbol */
.enneagram-symbol {
  max-width: 400px;
  margin: 2rem auto;
  display: block;
}



.section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section h2::before {
  content: '';
  width: 4px;
  height: 2rem;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.section p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.1rem;
}


/* Responsive styles */
@media (max-width: 992px) {
  .process-steps {
    flex-direction: column;
    gap: 3rem;
  }

  .process-steps::before {
    display: none;
  }

  .step {
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.8rem 0;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .cta-section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .header-content {
    padding: 0 1rem;
  }

  .types-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Styles spécifiques à la page de contact */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #614085;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
  background: #8052b5;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

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

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e4e7eb;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #614085;
  box-shadow: 0 0 0 3px rgba(97, 64, 133, 0.2);
  outline: none;
}

.form-input::placeholder {
  color: #a0aec0;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2d3748;
}

.btn-submit {
  background: #614085;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  align-self: flex-start;
}

.btn-submit:hover {
  background: #8052b5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 64, 133, 0.3);
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/1629236/pexels-photo-1629236.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  position: relative;
  color: #ffffff;
}

.hero-type {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/1293006/pexels-photo-1293006.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  max-width: 600px;
  margin: 1rem auto;
  font-size: 1.2rem;
}

.faq-section {
  background: #f8f9fa;
  padding: 4rem 0;
  margin-top: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.faq-question {
  background: white;
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  background: #f8f9fa;
  padding: 0 1.2rem;
  display:none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.active {
  display: block;
}

.map-container {
  height: 300px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.map-placeholder {
  background: #e4e7eb;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #614085;
  font-size: 1.2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #614085;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #4a5568;
  font-size: 1.1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
  
  .contact-info, .contact-form-container {
    width: 100%;
  }
}


.type-accent-color {
  color: var(--accent-color, #7E57C2);
}
.section-header {
  display: flex;
  flex-direction: column;
  align-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10vh;
}

.type-intro {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}

.type-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.type-accent-bg {
  background-color: var(--secondary-color, #7E57C2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* Hero section améliorée */
.type-hero {
  position: relative;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 110% 110%;
  background-position: center;
  z-index: -1;
  transition: transform 0.3s ease;
}

.type-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.type-headline {
  font-size: 3.5rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Type symbol amélioré */
.type-symbol {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: float 4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--accent-color, #7E57C2), var(--accent-color-dark, #5E35B1));
}

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

.type-number {
  font-size: 5rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Améliorations des sections */
.type-description-card {
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background-color: white;
}

.type-description-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.type-description-card h3 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--accent-color, #7E57C2);
}

.type-description-card h3 i {
  margin-right: 12px;
  font-size: 1.5rem;
}

/* Améliorations des ailes */
.wings-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0;
}

.wing-card {
  flex: 1;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  background-color: white;
  max-width: 45%;
}

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

.wing-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
}

.wing-base {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color, #7E57C2), var(--accent-color-dark, #5E35B1));
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

.wing-base:before, .wing-base:after {
  content: "";
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color, #7E57C2), transparent);
  width: 150px;
}

.wing-base:before {
  transform: translateX(-150px);
}

.wing-base:after {
  transform: translateX(150px);
}

/* Améliorations des sections d'évolution */
.evolution-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.evolution-card {
  flex: 1;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.evolution-card.integration {
  background: linear-gradient(135deg, #f5f7fa, #e8edf2);
  border-left: 5px solid #4CAF50;
}

.evolution-card.disintegration {
  background: linear-gradient(135deg, #f5f7fa, #e8edf2);
  border-left: 5px solid #F44336;
}

.evolution-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
}

.evolution-card.integration .evolution-icon {
  color: #4CAF50;
}

.evolution-card.disintegration .evolution-icon {
  color: #F44336;
}

/* Améliorations des relations */
.relationships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.relationship-card {
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  background-color: white;
}

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

.relationship-card h3 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.relationship-card h3 i {
  margin-right: 12px;
}

.relationship-card.affinity {
  border-top: 5px solid #4CAF50;
}

.relationship-card.complementary {
  border-top: 5px solid #2196F3;
}

.relationship-card.challenge {
  border-top: 5px solid #FF9800;
}

.type-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.type-chip {
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: #f0f0f0;
  color: var(--accent-color, #7E57C2);
  transition: transform 0.3s ease;
}

.type-chip:hover {
  transform: scale(1.05);
  background-color: var(--accent-color, #7E57C2);
  color: white;
}

/* CTA section améliorée */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/1293006/pexels-photo-1293006.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  padding: 70px 0;
  text-align: center;
  background-size: cover;
  border-radius: 16px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 30px 30px;
}

.cta-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: white;
  color: var(--accent-color, #7E57C2);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-primary i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-secondary {
  background-color: rgba(255,255,255,0.2);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(255,255,255,0.3);
}


/* Section principale */
.sponsored-books {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin: 3rem 0;
    overflow: hidden;
    position: relative;
}

/* En-tête avec gradient */
.books-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.books-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--white);
    border-radius: 20px 20px 0 0;
}

.books-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.books-header .icon {
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.books-subtitle {
  color: #764ba2;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Corps de la section */
.books-content {
    padding: 2rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Cartes de livres */
.book-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.book-card:hover .book-image {
    transform: scale(1.05);
}

.book-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Améliorations responsive */
@media (max-width: 768px) {
  .type-headline {
    font-size: 2.5rem;
  }
  
  .type-symbol {
    width: 150px;
    height: 150px;
  }
  
  .wings-container {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }
  
  .wing-card {
    max-width: 100%;
  }
  
  .wing-divider {
    margin: 20px 0;
  }
  
  .evolution-container {
    flex-direction: column;
  }
  
  .relationship-card {
    grid-column: span 2;
  }

  .books-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }
  
  .books-header {
      padding: 1.5rem;
  }
  
  .books-content {
      padding: 1.5rem;
  }
  
  .books-header h2 {
      font-size: 1.3rem;
  }

  
  .section h2 {
    font-size: 1.5rem;
  }

}

/* Améliorations supplémentaires pour écrans plus petits */
@media (max-width: 480px) {
  .type-headline {
    font-size: 2rem;
  }
  
  .type-hero {
    min-height: 450px;
  }
  
  .type-symbol {
    width: 120px;
    height: 120px;
  }
  
  .type-number {
    font-size: 3.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }

  .books-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
  }
  
  .book-link {
      padding: 1rem;
  }
  
  .book-image {
      max-width: 100px;
  }
  
  .book-title {
      font-size: 0.8rem;
  }

  .mobile-space {
    margin-bottom: 3vh;
  }

}