:root {
  --primary-color: #aa3f67;
  --primary-light: #eb7196;
  --primary-medium: #d16187;
  --secondary-color: #eb7196;
  --secondary-hover: #d16187;
  --accent-color: #eb7196;
  --text-color: #464757;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #464757;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

section {
  width: 100%;
  max-width: 100vw;
  overflow: visible;
}

[data-aos] {
  will-change: transform, opacity;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  box-shadow: var(--shadow-md);
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  min-height: 70px;
}

.logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 55px;
}

.logo-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.logo-icon {
  width: 100%;
  height: 100%;
  color: var(--primary-color);
}

.logo-text-group {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}

.logo-text {
  height: 55px;
  width: auto;
  display: block;
}

.logo-separator {
  color: rgba(70, 71, 87, 0.2);
  font-size: 2.5rem;
  font-weight: 100;
  line-height: 0.8;
  display: inline-flex;
  align-items: center;
}

.logo-subtitle {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

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

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-color);
}

.menu-toggle .material-icons {
  font-size: 1.75rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 2rem;
}

.mobile-menu.active {
  right: 0;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
}

.menu-close .material-icons {
  font-size: 2rem;
}

.mobile-nav {
  margin-top: 5rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--primary-color);
  color: var(--bg-color);
  padding-top: calc(70px + 3rem);
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  color: var(--bg-light);
  z-index: 1;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--bg-color);
}

.hero-content h1 .highlight {
  color: var(--bg-color);
  position: relative;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.15em;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-description p {
  margin-bottom: 1rem;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.about-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-description p {
  margin-bottom: 1rem;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  background-color: var(--bg-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.hero-cta .btn-primary:hover {
  background-color: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.hero-cta .btn-secondary {
  background-color: transparent;
  color: var(--bg-color);
  border-color: var(--bg-color);
}

.hero-cta .btn-secondary:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
}

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

.hero-illustration {
  width: 100%;
  max-width: 540px;
  height: auto;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Ressources Section */
.ressources {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

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

.resource-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.resource-card:not(.coming-soon):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.resource-card.coming-soon {
  opacity: 0.6;
  cursor: default;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge.event {
  background-color: rgba(170, 63, 103, 0.1);
  color: var(--primary-color);
}

.card-badge.solution {
  background-color: rgba(235, 113, 150, 0.1);
  color: var(--secondary-color);
}

.card-badge.soon {
  background-color: rgba(107, 114, 128, 0.1);
  color: var(--text-light);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.resource-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.card-meta i {
  color: var(--primary-color);
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
}

.card-link i {
  transition: transform 0.3s ease;
}

.resource-card:not(.coming-soon):hover .card-link i {
  transform: translateX(4px);
}

.card-link.disabled {
  color: var(--text-light);
}

/* Resources Pagination */
.resources-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 16px;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--bg-color);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pagination-btn:disabled,
.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-page {
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--bg-color);
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-page:hover {
  border-color: var(--primary-light);
  color: var(--primary-color);
}

.pagination-page.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(170, 63, 103, 0.3);
}

.pagination-info {
  display: none;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 768px) {
  .resources-pagination {
    gap: 0.75rem;
    padding: 1rem;
  }

  .pagination-pages {
    display: none;
  }

  .pagination-info {
    display: block;
  }

  .pagination-btn {
    width: 48px;
    height: 48px;
  }
}

/* A Propos Section */
.a-propos {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-content > p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-features li i {
  color: var(--primary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.about-features li span {
  color: var(--text-color);
  font-size: 0.95rem;
}

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

.stat-card {
  background-color: var(--bg-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-card:first-child {
  grid-column: span 2;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-medium));
  color: var(--bg-color);
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--bg-color);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-item i {
  font-size: 1.25rem;
}

/* Footer */
.footer {
  background-color: #464757;
  color: #ffffff;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  color: #eb7196;
}

.footer-logo-group span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a,
.footer-contact a,
.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(70px + 2rem);
    padding-bottom: 4rem;
    min-height: auto;
  }

  .hero-wave {
    height: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero-content h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero-description {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .hero-visual {
    order: -1;
  }

  .hero-illustration {
    max-width: 400px;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card:first-child {
    grid-column: auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo-group {
    justify-content: center;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
  }
}
