/* Réinitialisation des marges et des paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f0f4f8;
    overflow-x: hidden;
    padding-top: 0
}

/* En-tête Fixe et Transparent */
.fixed-header {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 119, 182, 0.8);
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav .logo img {
    height: 60px;
}

nav .nav-links {
    display: flex;
    list-style: none;
}

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

nav .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.client-button {
    display: flex;
    align-items: center;
}

.client-button a {
    color: #fff;
    font-size: 30px;
    text-decoration: none;
}

.client-button span {
    color: #fff;
    margin-left: 5px;
}

section {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #0077b6;
    margin-bottom: 10px;
}

h3 {
	color: #90e0ef;
	margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #90e0ef;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0077b6;
    font-size: 24px;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

form input,
form select,
form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #0077b6;
    outline: none;
}

form button {
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

form button:hover {
    background: #005f86;
}

/* Formulaire de connexion */

#login .form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#login .form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0077b6;
    font-size: 24px;
}

#login .error {
    color: #ff0000;
    background: #ffe6e6;
    padding: 10px;
    border: 1px solid #ff0000;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

#login form {
    display: flex;
    flex-direction: column;
}

#login form label {
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

#login form input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#login form input:focus {
    border-color: #0077b6;
    outline: none;
}

#login form button {
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

#login form button:hover {
    background: #005f86;
}

/* Documents */
#documents .documents-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#documents .documents-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0077b6;
    font-size: 24px;
}

#documents .documents-list ul {
    list-style: none;
    padding: 0;
}

#documents .documents-list li {
    background: #f0f4f8;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#documents .documents-list li a {
    color: #0077b6;
    text-decoration: none;
    font-weight: bold;
}

#documents .documents-list li a:hover {
    text-decoration: underline;
}


.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #0077b6;
    color: #fff;
    margin-top: 20px;
}

/* Animation de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Spécifiquement pour Logos_signature_ANSSI_MSS.png */
.partner-logos-container img[alt="Logos ANSSI et MonServiceSécurisé"] {
    width: auto; /* Laisse la largeur s'ajuster automatiquement */
    max-width: 600px; /* Limite la largeur maximale à 400px */
    height: auto; /* Maintient le ratio d'aspect */
}

.card-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 40px auto;
    max-width: 1400px;
}

.card {
    background: #fff;
    width: 250px;
    margin: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.card h3 {
    color: #0077b6;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* Section d'introduction */
.intro-section {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
}

.intro-section h2 {
    color: #0077b6;
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

.partner-section {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
}

.partner-logos-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

.partner-logos-container img {
    max-width: 100%; /* Limite la largeur à 100% de son conteneur */
    height: auto; /* Maintient le ratio d'aspect de l'image */
    margin: 10px;
}

/* Styles pour la page de services */
.services-title {
    text-align: center;
    color: #0077b6;
    margin: 20px 0;
}

.services-sec{
    background-color: #d0e7f1; /* Bleu clair par exemple */
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: #0077b6;
    margin-bottom: 10px;
}

.service-card p {
    color: #333;
    line-height: 1.5;
}

.service-card i {
    font-size: 40px;
    color: #0077b6;
    margin-bottom: 10px;
}

/* Conteneur Flex pour la carte et le texte */
.content-container {
    display: flex;
    align-items: flex-start; /* Alignement des éléments en haut */
    gap: 20px; /* Espace entre la carte et la zone de texte */
    margin-top: 20px;
}

/* Styles pour la carte */
.map-container {
    flex: 1; /* La carte prendra plus de place */
}

/* Styles pour la zone de texte */
.text-container {
    flex: 1; /* La zone de texte prend le reste de l'espace */
    background-color: #f0f4f8; /* Couleur de fond pour différencier */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-container h3 {
    color: #0077b6; /* Couleur du titre */
    margin-bottom: 10px;
}

.text-container p {
    color: #333; /* Couleur du texte */
    line-height: 1.6; /* Hauteur de ligne pour lisibilité */
}

/* ===== ABOUT ===== */
.about-hero{
  background: linear-gradient(to bottom right, rgba(18,59,119,.65), rgba(111,90,209,.55)), url('background.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  margin-top: 0;
}

.about-container{
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about-photo{
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 0 24px rgba(111,90,209,.6);
}

.about-card{
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px 40px;
  color: #f3f6ff;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  text-align: left;
  max-width: 800px;
}

.about-card h2{
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-card p{
  color: #e5ecff;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ===== Certification ===== */
.about-certif{
  background: #f6f9fc;
  padding: 56px 0;
  text-align: center;
}

.about-certif h2{
  color: var(--brand-navy);
  margin-bottom: 32px;
  font-size: 1.8rem;
}

.certif-card{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(18,59,119,0.08);
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.certif-logo{
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.certif-text{
  max-width: 560px;
  text-align: left;
}

.certif-text h3{
  color: var(--brand-navy);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.certif-text p{
  color: #2f3440;
  line-height: 1.7;
  font-size: 1rem;
}

/* grille inchangée si tu utilises déjà .skills-grid */
.skills-grid{ display:grid; gap:22px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }

.skill{
  background:#fff;
  border-radius:16px;
  padding:18px 18px 20px;
  box-shadow:0 8px 20px rgba(18,59,119,.08);
  border-left:4px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.skill:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(18,59,119,.12); }

.skill-head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.skill-icon{
  width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center; color: var(--brand-violet);;
  background:linear-gradient(135deg, var(--brand-violet), var(--brand-teal));
  box-shadow:0 6px 16px rgba(18,59,119,.12);
  font-size:1.2rem;
}
.skill h3{ margin:0; color:var(--brand-navy); font-size:1.05rem; }

/* liste sobre avec puces check */
.skill-list li{
  background:none;
  padding:6px 0 6px 22px;
  border-radius:0;
  color:#2f3440;
}
.skill-list li{
  position:relative; padding-left:22px; margin:10px 0; color:#2f3440; line-height:1.55;
}
.skill-list li::before{
  content:"\f00c";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  position:absolute;
  left:0;
  top:0.2rem;
  color:var(--brand-teal);
}

/* petite touche de couleur différente par carte */
.skill.v1{ border-color:#6f5ad1; }
.skill.v2{ border-color:#22b8b5; }
.skill.v3{ border-color:#5b8def; }
.skill.v4{ border-color:#6dd3c0; }
.skill.v5{ border-color:#8f79ff; }
.skill.v6{ border-color:#2db6b3; }

.skill:hover .skill-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(111, 90, 209, 0.3);
}

/* responsive doux */
@media (max-width:560px){
  .skill{ padding:16px; }
  .skill-icon{ width:40px; height:40px; font-size:1.05rem; }
}

/* Styles pour la page MonServiceSécurisé */
.monservice-section {
    padding: 40px 20px;
    background-color: #f0f4f8;
    text-align: center;
}

.monservice-section h2 {
    color: #0077b6;
    margin-bottom: 20px;
    font-size: 2rem;
}

.monservice-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.monservice-section img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section des partenaires */
.partner-section {
    padding: 30px;
    background-color: #ffffff;
    text-align: center;
}

.partner-logos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.partner-logos-container img {
    width: 200px;
    height: auto;
    transition: filter 0.3s ease;
}

/* Styles pour les éléments individuels */
.partner-section h2 {
    color: #0077b6;
    margin-bottom: 20px;
}

.partner-section img {
    margin: 0 20px;
}   

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Ajustez selon vos besoins */
}

.icon-association-title {
    max-width: 100%;
    height: auto; /* Garde les proportions */
}

.certification-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certification {
    text-align: center;
    max-width: 500px;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certification-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
