/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #fefefe;
}

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

/* Variables CSS pour la palette INDRA */
:root {
  --primary-color: #1BA3A3;        /* Turquoise du logo */
  --secondary-color: #2C5F7A;      /* Bleu marine du logo */
  --accent-color: #20B2AA;         /* Turquoise plus clair */
  --dark-color: #2c3e50;           /* Texte principal */
  --light-color: #f8f9fa;          /* Arrière-plans clairs */
  --gradient-primary: linear-gradient(135deg, #1BA3A3 0%, #20B2AA 100%);
  --gradient-secondary: linear-gradient(135deg, #2C5F7A 0%, #34495e 100%);
}

/* Header et Navigation */
.header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.brand-link:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.brand-text .logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.brand-text .tagline {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 300;
  margin: 0;
}

/* Menu burger */
.burger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 50px;
  height: 40px;
  justify-content: space-between;
  position: relative;
}

.burger-menu span {
  display: block;
  width: 30px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  margin: 3px 0;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.nav-link {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

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

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

/* Section Hero */
.hero {
  background: linear-gradient(135deg, #e0f7f7 0%, #b3ecec 50%, #87ceeb 100%);
  padding: 3rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  text-align: center;
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
}

.hero-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(27, 163, 163, 0.2));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #495057;
  margin-bottom: 3rem;
  font-weight: 300;
}

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

/* Boutons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(27, 163, 163, 0.3);
}

.btn-primary, .btn-primary:link, .btn-primary:visited, .btn-primary:active {
  color: white !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 163, 163, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

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

/* Sections */
.section {
  padding: 5rem 0;
  scroll-margin-top: 120px; /* Offset pour le header fixe */
}

.section-alt {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: -4rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

/* Cards */
.card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-content .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #495057;
  margin-bottom: 1.5rem;
}

/* Partenaires */
.partners-section {
  margin-top: 2.5rem;
}

.partners-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.partners-image {
  display: flex;
  justify-content: center;
}

.partner-illustration {
  max-width: 100%;
  width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.partners-list {
  list-style: none;
  margin-left: 0;
}

.partners-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  padding-left: 1.5rem;
}

.partners-list li:before {
  content: '�';
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.partners-list li:last-child {
  border-bottom: none;
}

/* Bénévolat */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-item {
  background: linear-gradient(135deg, #e0f7f7 0%, #b3ecec 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(27, 163, 163, 0.1);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.benefit-item ul {
  list-style: none;
}

.benefit-item li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.benefit-item li:before {
  content: '🌀';
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.highlight {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--secondary-color);
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e0f7f7 0%, #b3ecec 100%);
  border-radius: 15px;
}

/* Section Soutien */
.cta-section {
  text-align: center;
  margin: 3rem 0;
}

.support-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.support-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  transition: transform 0.3s ease;
}

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

.support-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.support-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* Équipe */
.team-intro {
  text-align: center;
  margin: 2rem auto 3rem;
  max-width: 800px;
}

.team-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-color);
  font-style: italic;
  background: linear-gradient(135deg, #e0f7f7 0%, #b3ecec 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(27, 163, 163, 0.1);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.team-member {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
  margin-bottom: 1.5rem;
}

.member-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e0f7f7;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.member-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #495057;
  text-align: left;
}

/* Témoignages */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

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

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: serif;
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #495057;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-brand h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  margin: 0.5rem 0;
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
}

.footer-bottom p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #bdc3c7;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
  }
  
  .nav-brand {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
  
  .brand-logo {
    height: 40px;
  }
  
  .brand-text .logo {
    font-size: 1.5rem;
  }
  
  .brand-text .tagline {
    font-size: 0.8rem;
  }
  
  .hero-logo-img {
    width: 150px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card {
    padding: 2rem;
  }
  
  .benefits-grid,
  .support-types,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partner-illustration {
    width: 200px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-logo-img {
    width: 120px;
  }
  
  .brand-logo {
    height: 35px;
  }
  
  .brand-text .logo {
    font-size: 1.1rem;
  }
  
  .brand-text .tagline {
    font-size: 0.75rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .team-member,
  .testimonial {
    padding: 1.5rem;
  }
  
  .partner-illustration {
    width: 150px;
  }
  
  .section-title {
    margin-top: -2rem;
  }
}

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

.card,
.team-member,
.testimonial {
  animation: fadeInUp 0.6s ease-out;
}

/* Amélioration de l'accessibilité */
.nav-link:focus,
.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Section Parrains */
.parrains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.parrain-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.parrain-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.parrain-video {
  margin: 1.5rem 0;
}

.parrain-video video {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

.parrain-quote {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 0;
  font-style: italic;
  line-height: 1.6;
  border-radius: 0 8px 8px 0;
}

@media (min-width: 768px) {
  .parrains-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Page Mentions Légales */
.back-link {
  margin-top: 2rem;
  text-align: center;
}

/* Mentions légales - Typography */
.card-content h2 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-content h2:first-child {
  margin-top: 0;
}

.card-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.card-content a:hover {
  text-decoration: underline;
}

/* Lien discret (académie de sonothérapie) */
.link-discrete {
  font-style: italic;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.link-discrete:hover {
  opacity: 0.7;
}

.link-discrete:visited,
.link-discrete:active {
  color: inherit;
}

/* Smooth scrolling pour les navigateurs qui ne le supportent pas */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
