/* Variables pour les couleurs */
:root {
    --noir: #000000;
    --bleu-fonce: #003366;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
    --bleu-clair: #005a99;
  }
  
  /* Réinitialisation globale */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--gris-clair);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--noir);
    color: var(--blanc);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bleu-clair);
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links li a {
    color: var(--blanc);
    font-weight: 400;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: var(--bleu-clair);
  }
  
  /* Section Hero */
  .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, var(--bleu-fonce), var(--noir));
    color: var(--blanc);
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .hero h1 span {
    color: var(--bleu-clair);
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .hero-stats div {
    text-align: center;
  }
  
  .hero-stats h2 {
    font-size: 2rem;
    color: var(--bleu-clair);
  }
  
  .hero-stats p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    background: var(--bleu-clair);
    color: var(--blanc);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: var(--bleu-fonce);
  }
  
  /* Section About */
  .about {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    background: var(--blanc);
  }
  
  .about-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .about-content img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .about-content div {
    max-width: 600px;
  }
  
  .about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .about-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  /* Section Processus */
  .work-process {
    text-align: center;
    padding: 50px 20px;
    background: var(--gris-clair);
  }
  
  .work-process h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .process-step {
    padding: 20px;
    background: var(--blanc);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  .process-step .icon {
    font-size: 2rem;
    color: var(--bleu-clair);
    margin-bottom: 10px;
  }
  
  .process-step h3 {
    margin-bottom: 10px;
    color: var(--bleu-fonce);
  }
  
 /* Section Portfolio */
.portfolio {
  padding: 50px 20px;
  text-align: center;
}

.portfolio h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grille fluide avec une taille minimum de 250px */
  gap: 8px; 
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.portfolio-item:hover {
  transform: scale(1.05); 
}

.portfolio-item img {
  max-width: 100%; 
  height: auto;
  display: block; 
  margin: 0 auto; 
  border-radius: 10px;
}

  
  /* Footer */
  .contact {
    text-align: center;
    padding: 30px 20px;
    background: var(--bleu-fonce);
    color: var(--blanc);
  }
  
  .contact h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .contact a {
    color: var(--blanc);
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .contact a:hover {
    color: var(--bleu-clair);
  }
  

  @keyframes textSlide {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hero h1 {
    animation: textSlide 1s ease-out;
  }
  
  .hero p {
    animation: textSlide 1.5s ease-out;
  }

  

  .btn {
    position: relative;
    overflow: hidden;
  }
  
  .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s;
    z-index: 0;
  }
  
  .btn:hover:before {
    left: 0;
  }
  
  .btn span {
    position: relative;
    z-index: 1;
  }

  

  .testimonials {
    padding: 50px 20px;
    background: var(--gris-clair);
    text-align: center;
  }
  
  .testimonial-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .testimonial {
    background: var(--blanc);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    max-width: 300px;
  }
  
  .testimonial:hover {
    transform: scale(1.05);
  }
  
  .testimonial p {
    font-style: italic;
    color: var(--bleu-fonce);
  }

  

  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bleu-clair);
    color: var(--blanc);
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .back-to-top.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }

  

  .blog {
    padding: 50px 20px;
    background: var(--blanc);
    text-align: center;
  }
  
  .blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .post {
    max-width: 300px;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .post:hover {
    transform: scale(1.05);
  }
  
  .post img {
    width: 100%;
    height: auto;
    
  }
  


  .social-media {
    text-align: center;
    padding: 30px 0;
    background: var(--gris-clair);
  }
  
  .social-media h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--bleu-fonce);
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bleu-clair);
    color: var(--blanc);
    font-size: 1.5rem;
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
  }
  
  .social-icons a:hover {
    transform: scale(1.1);
    background: var(--bleu-fonce);
  }
  



  .blog .post a {
    display: block;
    text-decoration: none;
    color: var(--bleu-fonce);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .blog .post img {
    width: 100%;
    height: auto;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  .blog .post a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
  }
  
  .blog .post h3 {
    margin: 10px 0 5px;
  }
  
  .blog .post a:hover h3 {
    text-decoration: underline;
  }
  



  .post {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .post .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .post:hover .overlay {
    opacity: 1;
  }
  
  .post .overlay i {
    color: var(--blanc);
    font-size: 1.5rem;
    transition: transform 0.3s;
  }
  
  .post .overlay i:hover {
    transform: scale(1.2);
  }
  
  .post img {
    width: 100%;
    height: auto;
  }
  


  .cta-section {
    text-align: center;
    padding: 50px 20px;
    background: var(--gris-clair);
  }
  
  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--bleu-fonce);
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .cta-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    color: var(--blanc);
    background: var(--bleu-clair);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
  }
  
  .cta-btn:hover {
    background: var(--bleu-fonce);
    transform: scale(1.05);
  }
  


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

.pack-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.pack-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    text-align: center;
}

.pack-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 15px;
}

.description {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

.contact-btn {
    margin-top: 20px;
    background-color: #0a3db2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-btn:hover {
    background-color: #08396b;
}
  


/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style global */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* En-tête */
header {
  text-align: center;
  padding: 50px 20px;
  background-color: #000;
  color: white;
}

header h1 {
  font-size: 36px;
}

header p {
  font-size: 18px;
  margin-top: 10px;
}

/* Section des Packs */
.packs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px;
}

.pack {
  background-color: white;
  width: 30%;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.pack:hover {
  transform: translateY(-10px);
}

.pack img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.pack h2 {
  font-size: 24px;
  margin-top: 20px;
}

.pack p {
  font-size: 16px;
  margin-top: 15px;
}

.pack .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0a3db2;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

.pack .btn:hover {
  background-color: #000000;
}

 /* Footer Section */
 footer {
  background-color: hsl(0, 0%, 0%);
  color: white;
  padding: 20px 0;
  text-align: center;
  
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer form input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 80%;
}

footer form button {
  background-color: #0a3db2;
  color: rgb(255, 255, 255);
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer form button:hover {
  background-color: #000000;
}

footer p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
#extraits {
  padding: 20px;
  background: #f9f9f9;
}

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



/* Variables et reset restent les mêmes */

/* Media Queries pour la navbar */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    padding: 10px;
  }

  .nav-links li {
    margin: 10px 0;
  }
}

/* Hero section responsive */
@media screen and (max-width: 768px) {
  .hero {
    padding: 20px;
    height: auto;
    min-height: 100vh;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .hero p {
    font-size: 1rem;
  }
}

/* About section responsive */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content img {
    width: 150px;
    margin: 0 auto;
  }
}

/* Portfolio section responsive */
@media screen and (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
  }
}

/* Services/Packs section responsive */
@media screen and (max-width: 992px) {
  .pack {
    width: 45%;
  }
}

@media screen and (max-width: 768px) {
  .pack {
    width: 100%;
    margin: 10px 0;
  }

  .pack img {
    max-height: 200px;
    object-fit: cover;
  }
}

/* Blog section responsive */
@media screen and (max-width: 768px) {
  .blog-posts {
    flex-direction: column;
    align-items: center;
  }

  .post {
    width: 100%;
    max-width: 400px;
  }
}

/* CTA section responsive */
@media screen and (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    margin: 5px 0;
  }
}

/* Social media section responsive */
@media screen and (max-width: 768px) {
  .social-icons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Footer responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin: 20px 0;
  }

  footer form input[type="email"] {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Utilitaires responsive */
@media screen and (max-width: 768px) {
  .back-to-top {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
  }
}

/* Amélioration des performances */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Support des écrans haute résolution */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
    margin: 0 auto;
  }
}