/* Accessibility - Skip Link */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 15px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--primary);
  color: white;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
}

/* CSS Reset */
* {
  margin: 0;.social-icons {
  margin: 15px 0;
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: inherit; /* ou une couleur de ton choix */
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0077b5; /* Couleur LinkedIn par exemple, ou une autre */
}
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7bbfa3;
  --primary-dark: #5d9a82;
  --secondary: #e8c5c8;
  --accent: #f9f6f2;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #7bbfa3 0%, #5d9a82 100%);
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  height: 100%;
}

/* Fix for infinite scroll issue */
html, body {
  max-width: 100vw;
  position: relative;
}

/* Header */
.header-top {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.header-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.header-main {
  background: var(--white);
  padding: 20px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

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

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 10px 0;
}

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

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

.nav-menu a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(123,191,163,0.9) 0%, rgba(93,154,130,0.9) 100%), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="leaves" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="30" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="1200" height="800" fill="url(%23leaves)"/></svg>');
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.4;0.1" dur="2s" repeatCount="indefinite"/></circle><circle cx="50" cy="70" r="1" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.5;0.1" dur="4s" repeatCount="indefinite"/></circle></svg>');
  animation: float 6s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: slideInLeft 1s ease-out 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: slideInRight 1s ease-out 0.4s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--primary-dark);
}

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

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


/* Style de base pour le bouton Google Calendar */
#google-calendar-button .qxCTlb.btn.btn-secondary {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
  font-weight: bold !important;
}

/* Effet au survol */
#google-calendar-button .qxCTlb.btn.btn-secondary:hover {
  background: var(--white) !important;
  color: var(--primary) !important;
  transform: translateY(-3px) !important;
  border-color: var(--white) !important;
}



/* Sections */
.section {
  padding: 80px 0;
  position: relative;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  display: inline-block;
  width: 100%;
}

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

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background: var(--accent);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

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

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text);
}

.about-features {
  list-style: none;
  margin: 30px 0;
}

.about-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text);
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

/* Definition Section */
.definition-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.definition-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.definition-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.benefit-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

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

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}

/* Services Section */
.services {
  background: var(--accent);
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

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

.service-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text);
}

/* CTA Section */
.cta {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.cta-image {
  border-radius: 20px;.social-icons {
  margin: 15px 0;
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: inherit; /* ou une couleur de ton choix */
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0077b5; /* Couleur LinkedIn par exemple, ou une autre */
}
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Stats Section */
.stats {
  background: var(--text);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-card {
  padding: 30px 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

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

/* Testimonials */
.testimonials {
  background: var(--accent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

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

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

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--primary);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.testimonial-author {
  font-weight: bold;
  color: var(--text);
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  text-align: center;
  padding: 40px 0;
}

.footer p {
  opacity: 0.8;
  margin: 5px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content,
  .definition-content,
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.footer-link {
  color: inherit;
  text-decoration: underline;
}

.footer-note {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Conteneur du formulaire */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Style du formulaire */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Style des labels */
.contact-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

/* Style des inputs et textarea */
.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  margin-bottom: 15px;
  font-family: inherit;
  font-size: 1rem;
}

/* Style du select */
.contact-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* Style des boutons */
.contact-form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Style du message de statut */
.contact-form-status {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Hero section spécifique services */
#hero {
  min-height: 60vh;
}

/* Section Definition */
#definition .slide-in-right h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

#definition .slide-in-right p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Contact form (index.php) */
#contact form.service-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

#contact form.service-card input,
#contact form.service-card textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  margin-bottom: 15px;
}

#contact form.service-card button.btn-primary {
  display: inline-block;
}

#contact form.service-card a.btn-secondary {
  display: inline-block;
  margin-left: 12px;
}

#contact form.service-card p#contactStatus {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* CTA buttons wrapper */
#cta .cta-content > div:last-child div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Listes spécifiques aux services individuels */
.services-grid .service-card ul {
  text-align: left;
  margin-top: 15px;
}
/* Nouveaux styles pour les icônes et l'alignement */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.footer-contact--inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icons a {
  color: white;
  font-size: 20px;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.social-icons a:hover {
  color: white;
  opacity: 1;
  transform: scale(1.1);
}


/* Carrousel */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 500px; /* Ajuste selon tes besoins */
  overflow: hidden;
  margin: 0 auto;
}

.carousel {
  display: flex;
  width: 100%;
  animation: slide 30s infinite steps(1); /* 3 images * 15s = 45s */
}

.carousel-item {
  min-width: 100%;
}

.carousel-item img {
  width: 100%;
  display: block;
}


@keyframes slide {
  0%, 33.33% {
    transform: translateX(0);
  }
  33.34%, 66.66% {
    transform: translateX(-100%);
  }
  66.67%, 100% {
    transform: translateX(-200%);
  }
}


.footer-social a {
    margin: 0 10px;
    color: #ffffff; /* blanc par défaut */
    font-size: 1.6rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #cccccc; /* gris clair au survol */
}
