/* ==== STYLE GÉNÉRAL ==== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #202124;
    line-height: 1.5;
  }
  
  a {
    color: #1a0dab;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  img {
  max-width: 100%;
  height: auto;
}
.certification-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
  
  /* ==== HEADER ET NAVIGATION ==== */
  .cv-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .header-container {
    display: flex;
    align-items: center;
    padding: 15px 30px;
  }
  
  .logo-link {
    text-decoration: none;
  }
  
  .logo-google {
    font-family: 'Product Sans', Arial, sans-serif;
    font-size: 32px;
    margin: 0;
    line-height: 1;
    margin-right: 20px;
  }
  
  .search-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
  }
  
  .search-bar {
    width: 100%;
    padding: 10px 50px 10px 20px;
    border-radius: 24px;
    border: 1px solid #dfe1e5;
    font-size: 16px;
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    outline: none;
  }
  
  .search-icons {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
  }
  
  .search-icons img {
    width: 20px;
    height: 20px;
    opacity: 0.55;
  }
  
  .profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #8ab4f8;
    margin-left: 20px;
  }
  
  .cv-tabs {
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
  }
  
  .cv-tabs ul {
    display: flex;
    list-style: none;
    padding: 0 30px;
  }
  
  .cv-tabs a {
    display: block;
    padding: 15px 20px;
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
  }
  
  .cv-tabs a:hover {
    color: #1a73e8;
    text-decoration: none;
  }
  
  .cv-tabs a.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
  }
  
  /* ==== CONTENEUR PRINCIPAL ==== */
  .cv-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
  }
  
  /* ==== SECTION PROFIL ==== */
  .profile-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .profile-grid {
    display: grid;
    grid-template-columns: 200px 1fr 300px;
    gap: 20px;
  }
  
  .profile-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
  
  .profile-info h1 {
    color: #202124;
    font-size: 28px;
    margin-bottom: 5px;
  }
  
  .profile-info h2 {
    font-size: 18px;
    font-weight: 400;
    color: #5f6368;
    margin-bottom: 10px;
  }
  
  .rating {
    margin-bottom: 15px;
  }
  
  .stars {
    color: #fbbc04;
    margin-right: 5px;
  }
  
  .profile-intro {
    font-style: italic;
    color: #5f6368;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 550px;
  }
  
  .profile-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background-color: #f1f3f4;
    border-radius: 20px;
    font-size: 14px;
  }
  
 .badge img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
  
  .profile-availability {
    margin-top: 20px;
  }
  
  .availability-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e8f0fe;
    color: #1a73e8;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
  }
  
  .profile-contact {
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
  }
  
  .profile-contact h3 {
    font-size: 18px;
    color: #202124;
    margin-bottom: 15px;
  }
  
  .profile-contact ul {
    list-style: none;
  }
  
  .profile-contact li {
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .qr-code {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
  
  .qr-code img {
    width: 150px;
    height: 150px;
  }
  
  /* ==== CARTES DE SECTION ==== */
  .section-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
  }
  
  .section-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .section-title {
    display: flex;
    align-items: center;
    color: #1a73e8;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .section-title img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }
  
  /* ==== SECTION EXPÉRIENCE ==== */
  .experience-item {
    margin-bottom: 30px;
    position: relative;
  }
  
  .experience-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
 /* Ajustement pour les logos d'entreprise et d'école */
.company-logo,
.school-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 10px;
}
  
  .education-title h3 {
    font-size: 18px;
    color: #202124;
    margin-bottom: 5px;
  }
  
  .education-period {
    font-size: 14px;
    color: #5f6368;
  }
  
  .education-content p {
    color: #5f6368;
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* ==== SECTION PROJETS ==== */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .project-image {
    height: 150px;
    overflow: hidden;
  }
  
  .project-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-content {
    padding: 15px;
  }
  
  .project-content h3 {
    font-size: 16px;
    color: #202124;
    margin-bottom: 8px;
  }
  
  .project-content p {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.4;
  }
  
  .projects-cta {
    text-align: center;
    margin-top: 20px;
  }
  
  .google-btn {
    display: inline-block;
    padding: 8px 24px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .google-btn:hover {
    background-color: #1557b0;
    text-decoration: none;
  }
/* Fix pour le logo CVgle au survol */
.logo-link:hover {
  text-decoration: none;
}

.logo-google:hover {
  text-decoration: none;
}

/* Ajustement de la barre de recherche */
.search-center {
  flex: 0 1 auto;  /* Ne pas étirer */
  padding: 0 2rem;
  max-width: 600px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

  
  /* ==== SECTION CONTACT ==== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #5f6368;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dfe1e5;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
  }
  
  .contact-form button {
    cursor: pointer;
    border: none;
    margin-top: 10px;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .contact-methods {
    margin-bottom: 30px;
  }
  
  .contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .contact-method img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    opacity: 0.7;
  }
  
  .contact-method a,
  .contact-method span {
    font-size: 14px;
    color: #5f6368;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f1f3f4;
    border-radius: 50%;
    transition: background-color 0.3s;
  }
  
  .social-link:hover {
    background-color: #e8f0fe;
  }
  
  .social-link img {
  width: 20px;
  height: 20px;
}
  
  /* ==== FOOTER ==== */
  .cv-footer {
    background-color: #f2f2f2;
    border-top: 1px solid #dadce0;
    padding: 20px 0;
    margin-top: 50px;
  }
  
  .footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    color: #70757a;
  }
  
  .footer-right {
    display: flex;
    gap: 20px;
  }
  
  .footer-right a {
    color: #70757a;
    transition: color 0.2s;
  }
  
  .footer-right a:hover {
    color: #1a73e8;
  }
  
  /* ==== RESPONSIVE ==== */
  @media (max-width: 1024px) {
    .profile-grid {
      grid-template-columns: 1fr;
    }
    
    .profile-photo {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }
    
    .profile-info {
      text-align: center;
      margin-bottom: 20px;
    }
    
    .profile-badges {
      justify-content: center;
    }
    
    .profile-contact {
      border-left: none;
      border-top: 1px solid #e0e0e0;
      padding-left: 0;
      padding-top: 20px;
    }
    
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .cv-tabs ul {
      padding: 0 15px;
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
    }
    
    .cv-tabs a {
      padding: 12px 15px;
    }
    
    .header-container {
      padding: 10px 15px;
      flex-wrap: wrap;
    }
    
    .logo-google {
      font-size: 24px;
      margin-right: 10px;
    }
    
    .search-wrapper {
      order: 3;
      width: 100%;
      margin: 10px 0 0;
      max-width: none;
    }
    
    .contact-info {
      margin-top: 30px;
    }
    
    .footer-wrapper {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
    
    .footer-right {
      justify-content: center;
      flex-wrap: wrap;
    }
   .certification-logo {
    width: 30px;
    height: 30px;
  }
  
  .profile-photo img {
    width: 120px;
    height: 120px;
  }
  
  .certification-card {
    display: flex;
    align-items: center;
  }
  
  .certification-content {
    padding-left: 10px;
  }
}

/* Ajustement pour la carte de certification */
.certification-card {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.certification-content {
  flex: 1;
  margin-left: 15px;
}

.certification-content h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.certification-content p {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 5px;
}

.certification-label {
  display: inline-block;
  padding: 2px 8px;
  background-color: #e8f0fe;
  color: #1a73e8;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* Optimisation pour le grid des certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  } 
  }