:root {
  --couleur-primaire: #4b3cf5;
  --couleur-secondaire: #ff4d6a;
  --couleur-fond-clair: #f5f5f7;
  --couleur-fond-sombre: #111827;
  --texte-sombre: #111827;
  --texte-clair: #ffffff;
  --rayon: 14px;
  --ombre-douce: 0 18px 45px rgba(15, 23, 42, 0.18);
  --espace-s: 0.75rem;
  --espace-m: 1.5rem;
  --espace-l: 2.5rem;
  --espace-xl: 4rem;
  --largeur-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texte-sombre);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.py-s { padding-block: var(--espace-s); }
.py-m { padding-block: var(--espace-m); }
.py-l { padding-block: var(--espace-l); }
.py-xl { padding-block: var(--espace-xl); }

.mb-s { margin-bottom: var(--espace-s); }
.mb-m { margin-bottom: var(--espace-m); }
.mb-l { margin-bottom: var(--espace-l); }

.mt-l { margin-top: var(--espace-l); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.text-light  { color: var(--texte-clair); }
.text-dark   { color: var(--texte-sombre); }

.bg-primary  { background-color: var(--couleur-primaire); }
.bg-light    { background-color: var(--couleur-fond-clair); }
.bg-dark     { background-color: var(--couleur-fond-sombre); }

.shadow {
  box-shadow: var(--ombre-douce);
}

.rounded {
  border-radius: var(--rayon);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn-primaire {
  background-color: var(--couleur-secondaire);
  color: var(--texte-clair);
  box-shadow: var(--ombre-douce);
}

.btn-primaire:hover {
  background-color: #ff6b84;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--texte-clair);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background-color: rgba(15, 23, 42, 0.18);
  text-decoration: none;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-start;
}

header {
  color: var(--texte-clair);
  background: radial-gradient(circle at top left, #6366f1, #312e81 55%, #020617 100%);
}

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

#menu-toggle {
  position: absolute;
  left: -9999px;
}

.menu-icone {
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-icone:hover {
  background-color: rgba(148, 163, 184, 0.25);
}

.menu-container {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0.5rem 0;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-link {
  display: block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.9);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-link:hover {
  background-color: rgba(148, 163, 184, 0.25);
  color: #ffffff;
  text-decoration: none;
}

.menu-link.actif {
  background-color: var(--couleur-secondaire);
  color: var(--texte-clair);
}

.nav-wrapper:has(#menu-toggle:checked) .menu-container {
  display: flex;
}

@media (min-width: 768px) {
  .menu-icone {
    display: none;
  }

  .menu-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
  }
}

.hero {
  padding-block: var(--espace-xl);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.slogan {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-intro {
  max-width: 34rem;
}

.hero-portrait {
  max-width: 320px;
  margin-inline: auto;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: var(--ombre-douce);
  filter: saturate(1.1);
}

.grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.section {
  padding-block: var(--espace-xl);
}

.section-titre {
  margin-bottom: var(--espace-m);
}

.section-sous-titre {
  max-width: 36rem;
  margin-inline: auto;
  color: rgba(15, 23, 42, 0.7);
}

.card {
  background-color: #ffffff;
  border-radius: var(--rayon);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--ombre-douce);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.card img {
  border-radius: calc(var(--rayon) - 4px);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
}

.card-titre {
  margin-bottom: 0.25rem;
}

.card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.6);
}

.liste-competences {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.competence-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.competence-intitule {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

progress {
  width: 100%;
  height: 0.9rem;
  border-radius: 999px;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}

progress::-webkit-progress-bar {
  background-color: #e5e7eb;
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--couleur-secondaire), var(--couleur-primaire));
}

progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--couleur-secondaire), var(--couleur-primaire));
}

.formulaire-carte {
  background-color: #ffffff;
  border-radius: var(--rayon);
  padding: 1.8rem;
  box-shadow: var(--ombre-douce);
  max-width: 640px;
  margin-inline: auto;
}

.champ-formulaire {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.champ-formulaire label {
  font-size: 0.9rem;
  font-weight: 600;
}

.champ-formulaire input,
.champ-formulaire textarea {
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.champ-formulaire input:focus,
.champ-formulaire textarea:focus {
  outline: none;
  border-color: var(--couleur-primaire);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.champ-formulaire textarea {
  min-height: 150px;
  resize: vertical;
}

footer {
  color: rgba(249, 250, 251, 0.9);
  padding-block: var(--espace-m);
  margin-top: var(--espace-xl);
}

footer p {
  margin: 0;
  font-size: 0.85rem;
}

.liste-simple {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.liste-simple li::before {
  content: "• ";
  color: var(--couleur-secondaire);
}

main {
  background-color: #ffffff;
}

.shape-divider-bottom {
  position: relative;
  margin-top: var(--espace-l);
}

.shape-divider-bottom svg {
  display: block;
  width: 100%;
  height: 90px;
}

.shape-divider-bottom .divider-path {
  fill: #ffffff;
}


.map{

  margin-top:14px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.map iframe{width:100%;height:320px;border:0;display:block}
