/*==============
    Variables CSS
================*/

:root {
  --grisbeige: #7f718e;
  --texte: rgb(90, 90, 90);
  --clair: #ffffff;
  --fond-clair: #eeeef4;
  --logo: #fff;
  --mauverose: #611991;
}

/*================
    font-face
=================*/

@font-face {
  font-family: "Agrandir grand";
  src: url("../font/Agrandir-GrandHeavy.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Agrandir grand light";
  src: url("../font/Agrandir-TextLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Agrandir grand ultra light";
  src: url("../font/Agrandir-TextLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

/*================
    Global CSS
=================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Agrandir grand light", sans-serif;
}

body {
  background: var(--fond-clair);
  color: var(--texte);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
  text-decoration: none;
}

/* =========================
   MOBILE-FIRST
========================= */

/* header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--clair);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

header.hide {
  transform: translateY(-100%);
}

header::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center,
      rgba(127, 113, 142, 0.15),
      transparent);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

/* nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

/* Logo */
nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--texte);
}

nav .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-image: url("../uploads/T.webp");
  background-size: cover;
  background-position: center;
}

nav .logo span {
  font-family: "Agrandir grand", sans-serif;
  font-size: 1.3rem;
}

/* Masquer liens et CTA sur mobile */
nav .links,
nav .cta-btn {
  display: none;
}

/* Menu hamburger */
.menu-toggle {
  display: block;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--texte);
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 2000;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clair) 70%, rgba(97, 25, 145, 0.1));
  backdrop-filter: blur(12px);
  transition: right 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1500;
}

.menu-overlay.active {
  right: 0;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.menu-overlay.active .overlay-content a,
.menu-overlay.active .overlay-content .cta-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.menu-overlay.active .overlay-content a:nth-child(1) {
  animation-delay: 0.1s;
}

.menu-overlay.active .overlay-content a:nth-child(2) {
  animation-delay: 0.2s;
}

.menu-overlay.active .overlay-content a:nth-child(3) {
  animation-delay: 0.3s;
}

.menu-overlay.active .overlay-content a:nth-child(4) {
  animation-delay: 0.4s;
}

.menu-overlay.active .overlay-content .cta-btn {
  animation-delay: 0.6s;
}

.overlay-content a {
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--texte);
  font-family: "Agrandir grand", sans-serif;
  transition: all 0.3s ease;
}

.overlay-content a:hover {
  color: #611991;
  transition: all 0.3s ease;
}

/* CTA mobile */
.overlay-content .cta-btn {
  font-size: 1.2rem;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  background: #611991;
  color: var(--clair);
  border: 1px solid #611991;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.overlay-content .cta-btn:hover {
  background-color: var(--clair);
  color: #611991;
}

/* Animation fadeInUp */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bouton close menu */
.close-menu {
  position: absolute;
  /* placé par-dessus l'overlay */
  top: 1.2rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  /* léger fond semi-transparent */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2000;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover / interaction */
.close-menu:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Icône de la croix */
.close-menu i {
  font-size: 1.8rem;
  /* taille visible pour mobile */
  color: var(--mauverose);
  /* couleur assortie à ton thème */
}

/* Optionnel : animation entrée / sortie du menu */
.menu-overlay.active .close-menu {
  animation: fadeInUp 0.5s forwards;
}

/* =========================
   HERO - MOBILE-FIRST
========================= */

.hero {
  margin-top: 6rem;
  width: 100%;
  height: auto;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  /* mobile : une seule colonne */
  gap: 2rem;
  box-sizing: border-box;
}

@media (max-width: 425px) {
  .hero {
    padding: 2rem;
    box-sizing: border-box;
  }
}





.hero h1 {
  font-size: 2.2rem;
  /* un peu plus petit sur mobile */
  font-weight: 800;
  line-height: 1.3;
  color: var(--texte);
  font-family: "Agrandir grand", sans-serif;
}

.hero h1 span {
  background: linear-gradient(to right, #7f718e, #611991);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Agrandir grand", sans-serif;
}

.hero p {
  margin-top: 1rem;
  color: var(--grisbeige);
  max-width: 100%;
}

.hero .buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.hero .btn {
  text-align: center;
  width: 60%;
  position: relative;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: var(--clair);
  color: var(--texte);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s, background 0.3s;
  font-size: 0.7rem;
}

.hero .btn::before,
.hero .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  border: 2px solid #611991;
  transition: transform 0.6s ease;
}

.hero .btn::before {
  transform: scaleX(0);
  transform-origin: left;
}

.hero .btn::after {
  transform: scaleY(0);
  transform-origin: top;
  transition-delay: 0.3s;
}

.hero .btn:hover::before {
  transform: scaleX(1);
}

.hero .btn:hover::after {
  transform: scaleY(1);
}

.hero .btn:hover {
  transform: scale(1.05);
  background: #f5f5f5;
  color: var(--grisbeige);
}

.hero .follow {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  /* centré sur mobile */
  align-items: center;
  gap: 1rem;
  color: var(--grisbeige);
  font-size: 0.9rem;
}

.hero .follow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  text-decoration: none;
  color: var(--texte);
  transition: background 0.3s, color 0.3s;
}

.hero .follow a:hover {
  background: #e2e2e2;
  color: #611991;
}

.hero .follow i {
  font-size: 1rem;
}

.image-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* =========================
   HERO2 - MOBILE-FIRST
========================= */
.hero2 {
  position: relative;
  width: 100%;
  min-height: auto;
  /* hauteur automatique sur mobile */
  display: flex;
  flex-direction: column;
  /* contenu empilé */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: var(--fond-clair);
  padding: 3rem 1.5rem;
}

.hero2 .container-hero2 {
  max-width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero2 h2 {
  font-size: 2rem;
  /* légèrement plus petit sur mobile */
  font-family: "Agrandir grand", sans-serif;
  margin-bottom: 1rem;
  color: var(--texte);
}

.hero2 p {
  color: var(--grisbeige);
  max-width: 100%;
  margin: 0 auto 2rem;
}

.services {
  display: flex;
  flex-direction: column;
  /* cartes empilées sur mobile */
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
  z-index: 2;
}




.service-card {
  background: var(--clair);
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.service-card i {
  font-size: 1.8rem;
  color: #611991;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--texte);
}

.service-card p {
  color: var(--grisbeige);
  font-size: 0.9rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(127, 113, 142, 0.25);
  cursor: pointer;
}


.service-card-real {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  background: var(--clair);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  overflow: hidden;
  /* pour que l'animation de hauteur fonctionne proprement */
}

.service-card-real:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(127, 113, 142, 0.25);
}

.real {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


/* style services Cards container*/

.serviceCard-all {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
}


/* style serviceCard */

.serviceCard {
  background: var(--clair);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(127, 113, 142, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.serviceCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(97, 25, 145, 0.2);
}

/* ====== Titre du service ====== */
.service_title h1 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--mauverose);
  font-family: "Agrandir grand", sans-serif;
  margin-bottom: 0.5rem;
}

.service-explication {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
/* ====== Texte explicatif ====== */
.service-explication p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grisbeige);
}

/* ====== Image ====== */
.imageCard {
  border-radius: 1rem;
  overflow: hidden;
  max-height: 220px;
}

.imageCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.imageCard img:hover {
  transform: scale(1.08);
}











/* bulles animées */
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at top left, #611991, #7f718e);
  opacity: 0.1;
  /* moins intense sur mobile */
  animation: float 15s infinite;
}

.bubble:nth-child(1) {
  width: 200px;
  height: 200px;
  top: -80px;
  right: 80px;
  animation-duration: 25s;
}

.bubble:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 0px;
  left: 60%;
  animation-duration: 30s;
}

.bubble:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 40px;
  animation-duration: 22s;
}

@media (max-width: 425px) {
  .bubble:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 0px;
    left: 100px;
    animation-duration: 30s;
  }

}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* =========================
   FOOTER MOBILE-FIRST
========================= */

/* footer global */
footer {
  margin-top: 5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: black;
  padding: 3rem 2rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* statistiques */
.statistique {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* chaque bloc statistique */
.statistique div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statistique div h2 {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  color: var(--texte);
}

.statistique div p {
  margin: 0;
  color: var(--grisbeige);
  font-size: 0.85rem;
}

.statistique div span {
  font-size: 1.5rem;
  color: var(--grisbeige);
  margin: 0 0.5rem;
}

.statistique div .chiffre {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Agrandir grand", sans-serif;
}

.statistique div h1 {
  font-family: "Agrandir grand", sans-serif;
  color: var(--texte);
}

.statistique div .chiffre img {
  width: 20px;
  height: 20px;
}

/* connect */
.connect {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2rem;
}

/* image */
.image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100%;
}

.image picture img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image img:hover {
  transform: scale(1.05);
}

/* info */
.info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.titrefooter {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.info h1 {
  font-size: 2rem;
  color: var(--texte);
  font-family: "Agrandir grand", sans-serif;
}

.info h4 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #7f718e;
  font-family: "Agrandir grand", sans-serif;
}

/* logo + contacts */
.logo-contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.logo-contact img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  box-sizing: border-box;
  color: var(--texte);
}

.social a {
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  color: var(--texte);
  text-decoration: none;
}

.social a:hover {
  color: var(--grisbeige);
}

.social a i {
  color: var(--texte);
}

.reseaux {
  display: flex;
  gap: 1rem;
  justify-content: center;

}


.conditions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-family: "Agrandir grand light", sans-serif;
  color: #7f718e;
}

.conditions a {
  color: #7f718e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-footer {
  border-top: 1px solid #ddd;
  padding: 1rem 1rem;
  /* padding un peu plus compact sur mobile */
  font-size: 0.75rem;
  /* légèrement plus petit pour mobile */
  color: var(--grisbeige);
  display: flex;
  flex-direction: column;
  /* éléments empilés sur mobile */
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  /* espace entre éléments */
  text-align: center;
}

/* =========================
   LAPTOP SCREEN - MOBILE FIRST
========================= */

/* =========================
   LAPTOP SCREEN - MOBILE FIRST
========================= */

.laptop-screen {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-screen img {
  width: 110%;
  /* image plus grande que container */
  height: auto;
  /* s'adapte naturellement */
  display: block;
  object-fit: cover;
}

.screenoverflow {
  position: absolute;
  width: 68%;
  right: 10%;
  /* plus large pour mobile */
  height: 61%;
  /* centré */
  background-color: #3a2a4b;
  overflow: hidden;
}

/* Conteneur des cartes */
.image-hero {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Carte empilée initialement (version mobile) */
.case-card {
  position: absolute;
  width: 70%;
  /* plus petite que avant */
  height: auto;
  background: var(--clair);
  padding: 0.5rem;
  border-radius: 0.8rem;
  font-size: 0.7rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translate(50%, 50%) rotate(0deg);
  opacity: 0;
  transition: all 1s ease-in-out;
  z-index: 100;
}

/* Carte visible */
.case-card.show {
  opacity: 1;
}

/* Position et rotation des cartes empilées pour mobile */
.case-card.show:first-child {
  top: 5%;
  transform: translateX(5%) rotate(3deg);
}

.case-card.show:last-child {
  top: 35%;
  transform: translateX(5%) rotate(-3deg);
}

/* Contenu */
.case-card h3 {
  margin: 0;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--texte);
}

.case-card p {
  color: var(--grisbeige);
  font-size: 0.65rem;
  margin-top: 0.25rem;
}

.case-card .tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  margin-top: 0.3rem;
}

.case-card .tags div {
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 6px;
  font-size: 0.55rem;
  color: var(--texte);
}

.case-card .footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--grisbeige);
}

@media (max-width: 425px) {
  .case-card {
    width: 85%;
    height: 4rem;
    /* un peu plus large pour occuper l’écran étroit */
    padding: 0.4rem;
    /* réduit le padding */
    border-radius: 0.6rem;
    font-size: 0.65rem;
    /* police globale plus petite */
  }

  .case-card h3 {
    font-size: 0.6rem;
    /* titre plus compact */
  }

  .case-card p {
    font-size: 0.4rem;
    /* texte réduit */
    line-height: 1.2;
  }

  .case-card .tags {
    grid-template-columns: 2fr;
    /* les tags passent en une seule colonne */
    gap: 0.05rem;
  }

  .case-card .tags div {
    font-size: 0.3rem;
    /* tags plus petits */
    padding: 1px 2px;
  }

  .case-card .footer {
    font-size: 0.4rem;
    /* footer réduit */
  }
}

/*====================================================
    PAGE ABOUT
=====================================================*/

/* =========================
   ABOUT SECTION (MOBILE FIRST)
========================= */

.about {
  position: relative;
  width: 100%;
  padding: 10rem 1.5rem;
  background: var(--fond-clair);
  overflow: hidden;
}

.about .container-about {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about h2 {
  font-family: "Agrandir grand", sans-serif;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: var(--texte);

}

.about h2 span {
  background: linear-gradient(to right, #7f718e, #611991);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Agrandir grand", sans-serif;
}

.about .intro {
  max-width: 90%;
  margin: 0 auto 2rem;
  color: var(--grisbeige);
  font-size: 1rem;
  line-height: 1.6;
}

/* Bloc image + texte */
.about-content {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 1rem;
  border-radius: 2rem;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.about-text {
  text-align: center;
  max-width: 600px;
  padding: 0 2rem;
}

.about-text h3 {
  font-family: "Agrandir grand", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--texte);
}

.about-text p {
  color: var(--grisbeige);
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: left;
}

.buleabout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  /* espace entre les bulles */
  padding: 2rem 1rem;
}

.bule {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px;
}

.buleimage {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.infotexte h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.infotexte p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.linkedin-btn, .phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    padding: 5px;
    border: none;
    background: none;
    cursor: pointer;
    color: #3a2a4b; /* couleur icône LinkedIn */
    font-size: 1.2rem;
}

.phone-btn:hover, .linkedin-btn:hover {
    color: #611991; /* couleur téléphone au survol */
}

/* orbes : mobile-first */
.orbes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  /* sous les photos */
}

.orbe {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 87, 181, 0.6), rgba(97, 25, 145, 0.3));
}

/* position initiale aléatoire (tu peux ajuster) */
.orbe:nth-child(1) {
  top: 10%;
  left: 10%;
}

.orbe:nth-child(2) {
  top: 15%;
  left: 70%;
}

.orbe:nth-child(3) {
  top: 30%;
  left: 40%;
}

/* .buleimage invisible au départ */
.buleimage {
  opacity: 1;
}





/*====================================================
    PAGE CONTACT
=====================================================*/
/* =========================
   CONTACT HERO
========================= */
.contact {
  padding: 3rem 1.5rem;
}

.contact-hero {
  position: relative;
  width: 100%;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--fond-clair);
  overflow: hidden;
}

.contact-hero h2 {
  font-size: 1.8rem;
  font-family: "Agrandir grand", sans-serif;
  margin-bottom: 1rem;
  color: var(--texte);
}

.contact-hero h2 span {
  background: linear-gradient(to right, #7f718e, #611991);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Agrandir grand", sans-serif;
}

.contact-hero p {
  color: var(--grisbeige);
  margin: 0 auto;
  line-height: 1.5;
  font-size: 1.2rem;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--clair);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.8rem;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #611991;
  box-shadow: 0 0 0 3px rgba(97, 25, 145, 0.1);
}

.input-group textarea {
  min-height: 120px;
  resize: none;
}

.btn-submit {
  background: #611991;
  color: var(--clair);
  border: none;
  padding: 1rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #611991;
}

.btn-submit:hover {
  background: var(--clair);
  color: #611991;
}

/* Infos contact */
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--clair);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 1.6rem;
  color: #611991;
  margin-bottom: 0.5rem;
}

.info-card h3 {
  margin-bottom: 0.3rem;
  font-family: "Agrandir grand", sans-serif;
  color: var(--texte);
}

.info-card p {
  color: var(--grisbeige);
  font-size: 0.9rem;
}

/* =========================
   MAP SECTION
========================= */
.map-section {
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/*=========================
    PAGE SERVICES
=========================*/

.realisations-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  text-align: center;
}

.realisations-hero h1 {
  font-size: 2rem;
  font-family: "Agrandir grand", sans-serif;
}

.realisations-hero h1 span {
  background: linear-gradient(to right, #7f718e, #611991);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-family: "Agrandir grand", sans-serif;
}

.realisations-hero p {
  margin-top: 1rem;
  color: var(--grisbeige);
}

/* Services */
.realisations-services {
  width: 100%;
  padding: 5rem 2rem;
  background: var(--fond-clair);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  position: relative;
}

.realisations-services h2 {
  font-size: 2.2rem;
  font-family: "Agrandir grand", sans-serif;
  text-align: center;
  color: var(--texte);
  position: relative;
}
.realisations-services h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 1rem auto 0;
  background: linear-gradient(to right, var(--grisbeige), var(--mauverose));
  border-radius: 2px;
}



.realisations-cards {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-sizing: border-box;
}


/* Slider */
.realisations-slider {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.realisations-slider h2 {
  font-size: 1.8rem;
  text-align: center;
  font-family: "Agrandir grand", sans-serif;
}

.slider-container {
  max-width: calc(2 * 32rem + 2rem);
  /* 2 cartes + gap */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
}

.real-card {
  max-width: 80%;
  /* réduit par rapport à 80% */
  color: var(--texte);
  text-decoration: none;
  flex-shrink: 0;
  background: var(--clair);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.real-card:hover {
  transform: scale(1.02);
}

.real-card img {
  width: 100%;
  height: 180px;
  /* fixe une hauteur plus petite pour mobile */
  display: block;
  object-fit: cover;
}

.real-info {
  padding: 1rem;
  text-align: left;
}

/* Boutons navigation */
.slider-btn {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: rgba(97, 25, 145, 0.85);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: #611991;
  box-shadow: 0 4px 15px rgba(97, 25, 145, 0.3);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Indicateurs (petits points en bas du slider) */
.slider-indicators {
  position: absolute;
  bottom: 10px;
  left: 35%;
  display: flex;
  gap: 0.5rem;
}

.slider-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-indicators button.active {
  background: #611991;
  transform: scale(1.2);
}

.slider-btn:disabled {
  background: rgba(200, 200, 200, 0.6);
  color: #888;
  box-shadow: none;
  transform: none;
}

.slider-btn:disabled:hover {
  background: rgba(200, 200, 200, 0.6);
  /* empêche effet hover */
  box-shadow: none;
  transform: none;
}

/* style message d'erreur */

/* Message de confirmation ou d'erreur */
.success,
.error {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

/* Message succès */
.success {
  background-color: #e6f7f1;
  /* vert clair */
  color: #2a7a4b;
  /* vert foncé */
  border: 1px solid #2a7a4b;
}

.liennondecore {
  text-decoration: none;
  color: var(--texte);
}

/* Message erreur */
.error {
  background-color: #fde6e6;
  /* rouge clair */
  color: #a12a2a;
  /* rouge foncé */
  border: 1px solid #a12a2a;
}


.maincg {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  padding: 10rem 1.5rem 2rem 1.5rem;
  box-sizing: border-box;
}

.titrecg {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  color: var(--texte);
  font-family: "Agrandir grand", sans-serif;
}

.titrecg span {
  background: linear-gradient(to right, #7f718e, #611991);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cg {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: auto;
}

.cg article {
  background: var(--clair);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--mauverose);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cg article:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(127, 113, 142, 0.15);
}

.cg article h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--texte);
}

.cg article h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--mauverose);
}

.cg article p {
  font-size: 0.95rem;
  color: var(--grisbeige);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ====== SECTION PROJET ====== */
.project {
  width: 100%;
  padding: 10rem 2rem 0rem 2rem;
  /* petit padding adapté au mobile */
  box-sizing: border-box;
  background: var(--fond-clair);
  display: flex;
  justify-content: center;
}

.project-container {
  width: 100%;
  background: var(--clair);
  border-radius: 1rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(127, 113, 142, 0.15);
}

/* Titre */
.project-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--mauverose);
}

/* Texte */
.project-content p {
  font-size: 0.95rem;
  color: var(--grisbeige);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Bloc Langages */
.project-tech {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--fond-clair);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.project-tech h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--mauverose);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Liste des technos */
.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.3s ease;
}

.tech-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.tech-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--texte);
}

/* Hover effet */
.tech-item:hover {
  transform: translateY(-3px);
}

.tech-item:hover img {
  transform: scale(1.05);
}

/* Images du projet (ex: slider) */
.project-swiper {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-swiper img {
  width: 100%;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
}



/* Couleur du bullet actif */
.swiper-pagination-bullet-active {
  background: var(--mauverose) !important;
  /* couleur personnalisée */
  opacity: 1;
  transform: scale(1.2);
  /* petit zoom sympa */
}


.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #611991;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    font-family: sans-serif;
    z-index: 1000;
}
.notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
