
 body {
 font-family: Arial, sans-serif;
 margin: 0;
 background-color: #f5f5f5;
 color: #333;
 animation: fadeIn 1s ease-in;
 }
 
 header {
background-color: rgba(205, 214, 230, 0.4);
 padding: 20px;
 text-align: center;
 animation: slideInTop 0.8s ease-out;
 }
 
 nav ul {
 list-style: none;
 padding: 0;
 margin: 10px 0 0;
 display: flex;
 justify-content: center;
 gap: 20px;
 }
 
 nav a {
 color: white;
 text-decoration: none;
 font-weight: bold;
 position: relative;
 transition: color 0.3s ease;
 }
 
 nav a::after {
 content: "";
 position: absolute;
 width: 0%;
 height: 2px;
 bottom: -4px;
 left: 0;
 background-color: white;
 transition: width 0.3s ease;
 }
 
 nav a:hover::after {
 width: 100%;
 }
 
 main {
 padding: 20px;
 max-width: 900px;
 margin: auto;
 background-color: white;
 margin-top: 20px;
 border-radius: 8px;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 animation: fadeInUp 1s ease;
 }
 
 section {
 margin-bottom: 20px;
 animation: fadeInUp 1s ease;
 }
 
 section:nth-child(2) {
 animation-delay: 0.3s;
 }
 section:nth-child(3) {
 animation-delay: 0.6s;
 }
 
 .realisations ul li a {
 color: #CDD6E6;
 text-decoration: none;
 font-weight: bold;
 transition: transform 0.3s ease, color 0.3s ease;
 }
 
 .realisations ul li a:hover {
 transform: translateX(5px);
 color: #003366;
 }
 
 footer {
 text-align: center;
 padding: 15px;
 background-color: #eee;
 margin-top: 20px;
 animation: fadeIn 2s ease;
 }
 
 @keyframes fadeIn {
 from { opacity: 0; }
 to { opacity: 1; }
 }
 
 @keyframes fadeInUp {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
 }
 
 @keyframes slideInTop {
 from { opacity: 0; transform: translateY(-50px); }
 to { opacity: 1; transform: translateY(0); }
 }
 
 /*  section photos*/
 .photos-entreprise {
 margin-top: 40px;
 animation: fadeInUp 1.2s ease;
 }
 
 .photos-entreprise h2 {
 text-align: center;
 font-size: 1.8em;
 margin-bottom: 20px;
 }
 
 .photo-gallery {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 20px;
 }
 
 .photo-card {
 width: 350px;
 height: 230px;
 overflow: hidden;
 border-radius: 16px;
 box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
 transform: translateY(40px);
 opacity: 0;
 animation: photoFadeUp 1s ease forwards;
 transition: transform 0.4s ease;
 }
 
 .photo-card:nth-child(2) {
 animation-delay: 0.4s;
 }
 
 .photo-card img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.6s ease, filter 0.6s ease;
 }
 
 .photo-card:hover img {
 transform: scale(1.08);
 filter: brightness(0.9) blur(1px);
 }
 
 /* === ANIMATION DES CARTES === */
 @keyframes photoFadeUp {
 0% {
 opacity: 0;
 transform: translateY(40px);
 }
 100% {
 opacity: 1;
 transform: translateY(0);
 }
 }
 
 .timeline-section {
 margin: 50px auto;
 padding: 0 20px;
 max-width: 900px;
 animation: fadeInUp 1s ease;
 }
 
 .timeline {
 position: relative;
 margin-left: 20px;
 padding-left: 20px;
 border-left: 3px solid  #003366;
 }
 
 
 .timeline-item:nth-child(2) {
 animation-delay: 0.2s;
 }
 .timeline-item:nth-child(3) {
 animation-delay: 0.4s;
 }
 
 .timeline-date {
 font-weight: bold;
 color: #003366;
 font-size: 1.5em;
 margin-top: 5px;
 }
 
 .timeline-content {
 background: rgba(205, 214, 230, 0.4);
 padding: 10px 15px;
 border-radius: 10px;
 box-shadow: 0 4px 10px rgba(0, 102, 204, 0.1);
 margin-top: 5px;
 }
 
 /* Animation */
 @keyframes fadeSlide {
 to {
 opacity: 1;
 transform: translateY(0);
 }
 }
 
 
 .timeline-item {
 opacity: 0;
 transform: translateY(40px);
 transition: all 0.6s ease-out;
 }
 .timeline-item.visible {
 opacity: 1;
 transform: translateY(0);
 }
 
 body.dark-mode {
 background-color: #1e1e1e;
 color: #e0e0e0;
 }
 
 body.dark-mode header {
 background-color: #333;
 color: #fff;
 }
 
 body.dark-mode main {
 background-color: #2a2a2a;
 color: #f0f0f0;
 }
 
 body.dark-mode .timeline-content {
 background-color: #3a3a3a;
 }
 
 #darkModeToggle {
 margin-top: 10px;
 padding: 5px 10px;
 background: rgba(205, 214, 230);
 border: none;
 border-radius: 6px;
 cursor: pointer;
 transition: background 0.3s;
 }
 
 body.dark-mode #darkModeToggle {
 background: #555;
 color: white;
 }
 
 .contact {
 padding: 30px;
 background: #f9f9f9;
 border-radius: 12px;
 max-width: 800px;
 margin: 40px auto;
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 animation: fadeIn 1s ease;
 }
 
 .contact h2 {
 text-align: center;
 margin-bottom: 20px;
 }
 
 .contact form {
 display: flex;
 flex-direction: column;
 gap: 15px;
 }
 
 .contact input,
 .contact textarea {
 padding: 12px;
 border: 1px solid #ccc;
 border-radius: 8px;
 font-size: 1em;
 }
 
 .contact button {
 background-color: #90A5C8;;
 color: white;
 padding: 12px;
 border: none;
 border-radius: 8px;
 font-size: 1em;
 cursor: pointer;
 transition: background-color 0.3s ease;
 }
 
 .contact button:hover {
 background-color: white;
 border: solid 1px #90A5C8;
  color: #90A5C8;
 }
 /* Styles supplémentaires pour le rapport de lancement */
 
 .subsection {
 margin-bottom: 30px;
 padding: 20px;
 background-color: white;
 border-radius: 8px;
 border-left: 4px solid #90A5C8;
 }
 
 .subsection h3 {
 color: #90A5C8;
 margin-top: 0;
 margin-bottom: 15px;
 }
 
 .objectifs-grid, .techno-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 20px;
 margin-top: 20px;
 }
 
 .objectif-card, .techno-card {
 background: white;
 padding: 20px;
 border-radius: 8px;
 border-top: 3px solid #90A5C8;;
 }
 
 .objectif-card h4, .techno-card h4 {
 color: #90A5C8;;
 margin-top: 0;
 }
 
 .recommandations {
 display: flex;
 flex-direction: column;
 gap: 20px;
 }
 
 .recommandation-item {
 background: white;
 padding: 20px;
 border-radius: 8px;
 }
 
 .recommandation-item h4 {
 color: #90A5C8;;
 margin-top: 0;
 }
 
 .download-btn {
 display: inline-block;
 background-color: #90A5C8;;
 color: white;
 padding: 12px 20px;
 text-decoration: none;
 border-radius: 8px;
 font-weight: bold;
 transition: background-color 0.3s ease;
 }
 
.img-illustrations {
 width: 100%;   
 object-fit: contain;
  }
 /* Mode sombre pour les nouvelles sections */
 body.dark-mode .subsection {
 background-color: #3a3a3a;
 }
 
 body.dark-mode .objectif-card,
 body.dark-mode .techno-card,
 body.dark-mode .recommandation-item {
 background-color: #2a2a2a;
 color: #f0f0f0;
 }
 
 /* === ANIMATIONS AVANCÉES === */
 @keyframes morphingGradient {
 0% { background-position: 0% 50%; }
 50% { background-position: 100% 50%; }
 100% { background-position: 0% 50%; }
 }
 
 @keyframes floatingParticles {
 0% { transform: translateY(0px) rotate(0deg); opacity: 1; }
 100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
 }
 
 @keyframes glowPulse {
 0%, 100% { box-shadow: 0 0 20px rgba(0, 102, 204, 0.3); }
 50% { box-shadow: 0 0 40px rgba(0, 102, 204, 0.8), 0 0 60px rgba(0, 102, 204, 0.4); }
 }
 
 @keyframes dataFlow {
 0% { transform: translateX(-100%); opacity: 0; }
 50% { opacity: 1; }
 100% { transform: translateX(100%); opacity: 0; }
 }
 
 @keyframes typewriter {
 from { width: 0; }
 to { width: 100%; }
 }
 
 @keyframes blink {
 0%, 50% { border-color: transparent; }
 51%, 100% { border-color: #90A5C8; }
 }
 
 /* === BACKGROUND ANIMÉ === */
 .animated-background {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: -1;
 background-size: 400% 400%;
 animation: morphingGradient 15s ease infinite;
 opacity: 0.1;
 }
 
 .floating-particles {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: -1;
 pointer-events: none;
 }
 
 .particle {

 position: absolute;
 width: 4px;
 height: 4px;
 background: rgba(0, 102, 204, 0.6);
 border-radius: 50%;
 animation: floatingParticles 8s linear infinite;
 }
 
 header {
 position: relative;
 overflow: hidden;
 padding: 40px 20px;
 }
 
 header::before {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 animation: dataFlow 3s ease-in-out infinite;
 }
 
 .header-content {
 position: relative;
 z-index: 2;
 }
 
 .typewriter-text {
 font-size: 2.5em;
 font-weight: bold;
 margin: 0;
 overflow: hidden;
 border-right: 3px solid #90A5C8;;
 white-space: nowrap;
 animation: typewriter 3s steps(30) 1s both, blink 0.5s step-end infinite alternate;
 }
 
 /* === SECTIONS INTERACTIVES === */
 .section-card {
 background: rgba(255, 255, 255, 0.95);
 backdrop-filter: blur(10px);
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 20px;
 padding: 30px;
 margin: 30px 0;
 transform: translateY(50px);
 opacity: 0;
 transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 position: relative;
 overflow: hidden;
 }
 
 .section-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 4px;
 background-size: 300% 100%;
 }
 
 .section-card.visible {
 transform: translateY(0);
 opacity: 1;
 }
 
 .section-card:hover {
 transform: translateY(-10px) scale(1.02);

 }
 
 /* === TIMELINE 3D === */
 .timeline-3d {
 position: relative;
 perspective: 1000px;
 margin: 50px 0;
 }
 
 .timeline-3d::before {
 content: '';
 position: absolute;
 left: 30px;
 top: 0;
 bottom: 0;
 width: 4px;
 background: linear-gradient(to bottom, #90A5C8, #CDD6E6);
 border-radius: 2px;
 box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
 }
 
 .timeline-item-3d {
 position: relative;
 margin: 40px 0;
 padding-left: 80px;
 transform: rotateX(45deg) translateZ(0);
 opacity: 0;
 transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }
 
 .timeline-item-3d.visible {
 transform: rotateX(0deg) translateZ(0);
 opacity: 1;
 }
 
 .timeline-item-3d::before {
 content: '';
 position: absolute;
 left: 20px;
 top: 50%;
 transform: translateY(-50%);
 width: 20px;
 height: 20px;
 background: linear-gradient(45deg, #90A5C8, #CDD6E6);
 border-radius: 50%;
 box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
 animation: glowPulse 3s ease-in-out infinite;
 }
 
 .timeline-content-3d {
 background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
 backdrop-filter: blur(10px);
 padding: 20px;
 border-radius: 15px;
 border: 1px solid rgba(255, 255, 255, 0.3);
 transform: translateX(30px);
 transition: transform 0.3s ease;
 }
 
 .timeline-item-3d:hover .timeline-content-3d {
 transform: translateX(0) scale(1.05);
 }
 
 /* === CARTES TECHNOLOGIQUES ANIMÉES === */
 .techno-grid-advanced {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
 margin: 30px 0;
 }
 
 .techno-card-advanced {
 background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
 backdrop-filter: blur(15px);
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 20px;
 padding: 30px;
 position: relative;
 overflow: hidden;
 transform: translateY(30px);
 opacity: 0;
 transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }
 
 .techno-card-advanced.visible {
 transform: translateY(0);
 opacity: 1;
 }
 
 .techno-card-advanced::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
 transform: translateX(-100%);
 transition: transform 0.6s ease;
 }
 
 .techno-card-advanced:hover::before {
 transform: translateX(100%);
 }
 
 .techno-card-advanced:hover {
 transform: translateY(-15px) rotateX(5deg);
 box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
 }
 
 
 /* === GRAPHIQUES ANIMÉS === */
 .progress-circle {
 position: relative;
 width: 120px;
 height: 120px;
 margin: 20px auto;
 }
 
 .progress-circle svg {
 transform: rotate(-90deg);
 width: 100%;
 height: 100%;
 }
 
 .progress-circle circle {
 fill: none;
 stroke-width: 8;
 stroke-linecap: round;
 }
 
 .progress-bg {
 stroke: rgba(0, 102, 204, 0.2);
 }
 
 .progress-fill {
 stroke: url(#progressGradient);
 stroke-dasharray: 283;
 stroke-dashoffset: 283;
 animation: progressAnimation 2s ease-in-out forwards;
 }
 
 @keyframes progressAnimation {
 to { stroke-dashoffset: 0; }
 }
 
 /* === NAVIGATION FLOTTANTE === */
 .floating-nav {
 position: fixed;
 top: 50%;
 right: 30px;
 transform: translateY(-50%);
 z-index: 1000;
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 border-radius: 25px;
 padding: 20px 10px;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }
 
 .nav-dot {
 width: 12px;
 height: 12px;
 border-radius: 50%;
 background: rgba(0, 102, 204, 0.3);
 margin: 10px 0;
 cursor: pointer;
 transition: all 0.3s ease;
 }
 
 .nav-dot.active {
 background: #0066cc;
 transform: scale(1.5);
 box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
 }
 
 /* === BOUTONS INTERACTIFS === */
 .download-btn-advanced {
 display: inline-block;
 background: linear-gradient(45deg, #667eea, #764ba2);
 color: white;
 padding: 15px 30px;
 text-decoration: none;
 border-radius: 50px;
 font-weight: bold;
 position: relative;
 overflow: hidden;
 transition: all 0.3s ease;
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
 }
 
 .download-btn-advanced::before {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
 transition: left 0.5s ease;
 }
 
 .download-btn-advanced:hover::before {
 left: 100%;
 }
 
 .download-btn-advanced:hover {
 transform: translateY(-5px);
 box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
 }
 
 /* === RESPONSIVE === */
 @media (max-width: 768px) {
 .floating-nav { display: none; }
 .techno-grid-advanced { grid-template-columns: 1fr; }
 .typewriter-text { font-size: 1.8em; }
 }
 /* Style pour agrandir et embellir le schéma du projet */
 .schema-projet {
 grid-column: span 2;
 text-align: center;
 }
 
 .schema-projet img {
 width: 90%;
 max-width: 1200px;
 height: auto;
 border: 1px solid #ccc;
 border-radius: 12px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 margin-top: 1rem;
 }
 
 /* Couleurs principales à utiliser */
 :root {
 --color-primary: #D4C7B5;
 --color-secondary: #F5F2EE;
 --color-button-primary: #90A5C8;
 --color-button-secondary: #CDD6E6;
 --color-text: #656565;
 }
 
 /* Corps de la page */
 body {
 background-color: white !important; /* remplacer le fond actuel */
 color: var(--color-text);
 }
 
 /* Titres H1 */
 h1, .titre1 {
 color: var(--color-primary);
 text-transform: uppercase;
 font-size: 28px;
 font-weight: 600;
 font-family: inherit;
 }
 
 /* Titres H2 */
 h2, .titre2 {
 color: var(--color-primary);
 text-transform: uppercase;
 font-size: 20px;
 font-weight: 600;
 font-family: inherit;
 }
 
 /* Titres H3 */
 h3, .titre3 {
 color: var(--color-text);
 font-weight: 600;
 font-family: inherit;
 }
 
 /* Texte 1 - italique */
 .texte1 {
 color: var(--color-text);
 font-size: 16px;
 font-style: italic;
 font-family: inherit;
 }
 
 /* Texte 2 - normal */
 .texte2 {
 color: var(--color-text);
 font-size: 16px;
 font-family: inherit;
 }
 
 /* Modifier les couleurs des liens boutons pour correspondre à la palette */
 button, .btn-primary {
 background-color: var(--color-button-primary);
 color: white;
 }
 
 button.secondary, .btn-secondary {
 background-color: var(--color-button-secondary);
 color: var(--color-text);
 }
 
 /* Ajuster les liens nav pour une meilleure cohérence */
 nav a {
 color: var(--color-button-primary);
 }
 
 nav a:hover, nav a:focus {
 color: var(--color-primary);
 }
 
 /* Ajuster les titres des sections spécifiques */
 .photos-entreprise h2 {
 color: var(--color-primary);
 text-transform: uppercase;
 }
 
 .subsection h3, .objectif-card h4, .techno-card h4, .recommandation-item h4 {
 color: var(--color-primary);
 } 

 /* Style général pour les paragraphes du rapport */
p {
  text-align: justify;
  line-height: 1.5;
  margin: 1em;
  font-size: 1.1em;
}

li {
  line-height: 1.5;
  margin: 2em;
  font-size: 1.1em;
}


/* Pour centrer tout le contenu dans <main> */
.web-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

a {
  color: var(--color-button-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}