html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.6;
}

header {
    background: #fff;
    border-bottom: 2px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 4vw;
    position: sticky;
    top: 0;
    z-index: 100;
}

main {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding: 1rem 0 2rem 0;
}
/*
footer {
    background: #214875;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem 7vw;
    font-size: 0.95rem;
    /* PAS de position: sticky/fixed/absolute 
}
*/


.logo {
    font-family: 'Vivaldi', 'Segoe Script', 'cursive';
    font-weight: normal;
    font-style: normal;
    letter-spacing: 0.5px;
    font-size: 5rem;
    color: #91c2f3;
    margin: 0;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.07rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border 0.18s;
}

nav a:hover, nav a.active {
    color: #141e7e;
    border-bottom: 2px solid #141e7e;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: #333;
    font-weight: 500;
    font-size: 1.07rem;
    padding-bottom: 2px;
    text-decoration: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background: #fff;
    min-width: 210px;
    box-shadow: 0 8px 18px rgba(20, 30, 126, 0.12);
    z-index: 1;
    margin-top: 0.6rem;
    border-radius: 5px;
    border: 1px solid #cce1ff;
}

.dropdown-content a {
    color: #141e7e;
    padding: 0.95em 1.5em;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    border-bottom: 1px solid #f3f7fc;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn,
.dropdown-content a:hover {
    color: #fff;
    background: #141e7e;
}

h1 {
    text-align: center;
    color: #141e7e;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button[type="submit"] {
    background: #141e7e;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button[type="submit"]:hover {
    background: #0b186b;
}

.info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f3f7fc;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
}

.info a {
    color: #141e7e;
    text-decoration: underline;
}

.info input[type="checkbox"] {
    margin-top: 0.5rem;
}

.coordinates {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

.coordinates h2 {
    color: #141e7e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.coordinates p {
    margin: 0;
    line-height: 1.6;
}

.coordinates a {
    color: #141e7e;
    text-decoration: none;
}

.coordinates a:hover {
    text-decoration: underline;
}

#articles-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 1rem;
}

article h1 {
    font-size: 1.5rem;
    margin-top: 0;
    color: #141e7e;
}

.meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

article img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.resume {
    font-weight: bold;
    margin: 1rem 0;
}

/*--------------------Footer ------------------------------*/
footer {
    background: #214875;
    color: #fff;
    font-size: 0.93rem;
    padding: 0.3em 2vw 0.15em 2vw;
    box-sizing: border-box;
    /* Pour que le footer ne prenne pas trop de place */
    min-height: unset !important;
    max-height: 160px;
    overflow: hidden;
}

.footer-main, .footer-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.3em;
    margin-bottom: 0.05em;
}
.footer-row a {
    color: #fff;
    text-decoration: underline;
    margin-right: 0.7em;
    font-weight: 400;
    white-space: nowrap;
    font-size: 0.99em;
}

.footer-row, .footer-plan, .footer-links, .footer-col {
    font-size: 1em;
    padding: 0;
    margin: 0;
}

.footer-plan, .footer-col {
    min-width: 150px;
}

.footer-row strong {
    color: #9cafda;
    font-weight: bold;
    margin-right: 0.6em;
    font-size: 1em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 1.2em 0 0;
    font-size: 1em;
    list-style: none;
    padding: 0;
}

.footer-links li:before {
    content: none;
}

.copyright {
    text-align: right;
    width: 100%;
    font-size: 0.85em;
    margin: 0.2em 0 0.2em 0;
    color: #c2dbf9;
    padding-bottom: 0.15em;
}

@media (max-width: 700px) {
    footer, .footer-main, .footer-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        max-height: 180px;
        overflow-y: auto;
    }
    .footer-links {
        flex-direction: column;
    }
    .copyright {
        text-align: left;
    }
    .footer-plan, .footer-col { min-width: 0; }
}


/*---------------------------------------------------------*/
.rond-rapports { display: flex; gap: 2rem; justify-content: center; margin: 2.5rem 0;}
.rond { width: 120px; height: 120px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #e6007a; font-weight: bold; box-shadow: 0 0 16px #ececec; text-align:center; cursor:pointer; transition: 0.2s;}
.rond.selected, .rond:hover { background: #141e7e; color: #fff; }


/* Ajout de styles pour les listes */
ul {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
}

ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

ul li:before {
    content: "•";
    color: #141e7e;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Ajout de styles pour les liens */
a {
    color: #141e7e;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}


/* Ajout de styles pour les images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Ajout de styles pour les paragraphes */
p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Ajout de styles pour les éléments strong et em */
strong {
    font-weight: bold;
    color: #141e7e;
}

em {
    font-style: italic;
    color: #555;
}




/* Styles pour les FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

details {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

summary {
    padding: 1rem;
    font-weight: bold;
    background: #f3f7fc;
    cursor: pointer;
    transition: background 0.3s ease;
}

summary:hover {
    background: #e6e6e6;
}

details[open] summary {
    background: #d9e6ff;
}

details p {
    padding: 1rem;
    margin: 0;
    background: #fff;
}

.team-cards .card img {
  display: block;
  margin: 0 auto 0.6rem auto;
  background: #f0f6ff;
}
.team-cards .card h3 {
  color: #093c84;
  font-size: 1.14em;
  margin-bottom: 0.5em;
  text-align: center;
}
.team-cards .card {
  transition: box-shadow 0.2s;
}
.team-cards .card:hover {
  box-shadow: 0 8px 24px #c2e0f7;
}
.about-hero {
  margin-bottom: 2.7rem !important;
}
 .solutions-cards {
      display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center;
      max-width: 1150px; margin: 0 auto 2.5rem auto;
    }
    .card-solution {
      background: #f2f7fc; border-radius: 10px; padding: 1.6rem 1.2rem 1.4rem 1.2rem;
      min-width: 220px; max-width: 300px; flex: 1 1 240px;
      text-align: center; box-shadow: 0 3px 14px #19335618;
      border: 1px solid #b3d2ed60;
      transition: transform 0.17s, box-shadow 0.17s;
    }
    .card-solution:hover {
      transform: translateY(-4px) scale(1.04);
      box-shadow: 0 8px 24px #21487534;
      background: #e7f2fa;
    }
    .card-solution h3 { color: #193356; font-size: 1.2rem; margin-bottom: 0.55em;}
    .card-solution p { color: #406497; font-size: 1.03rem; margin-bottom: 0.7em; min-height: 3.2em;}
    .card-solution a {
      display: inline-block; background: #214875;
      color: #fff; text-decoration: none; border-radius: 1em;
      padding: 0.55em 1.4em; font-weight: 500; font-size: 0.98rem;
      margin-top: 0.7em; transition: background 0.16s;
    }
    .card-solution a:hover { background: #4986bf; }
    /* Bloc contact/confiance */
    .rassure {
      max-width: 1200px; margin: 2.7rem auto 0 auto;
      padding: 1.4rem 1.5rem; border-radius: 8px;
      background: linear-gradient(90deg, #e6f3fd 30%, #e1f0f5 100%);
      box-shadow: 0 1px 6px #bdd2f61a;
      text-align: center; color: #214875;
      font-size: 1.08rem;
    }
    @media (max-width: 950px) {
      .solutions-cards { flex-direction: column; align-items: center; }
      .card-solution { min-width: 210px; max-width: 100%; }
      .bloc-societe { padding: 1.3rem 0.8rem 1.2rem 0.8rem; }
    }
    @media (max-width: 650px) {
      .hero-montvalier { min-height: 210px; border-radius: 0 0 10px 10px; }
      .hero-content { padding: 1.4rem 0.6rem 1.2rem 0.6rem; }
      .hero-content h1 { font-size: 2rem; }
      .bloc-societe { top: -16px; }
    }

    .confidentialite-div {
  max-width: 900px;
  margin: 2rem auto 2rem auto;
  background: #f8fbfd;
  border-radius: 16px;
  box-shadow: 0 4px 22px rgba(17,38,71,0.04);
  padding: 2.5rem 2vw;
}

.confidentialite-div h1 {
  color: #093c84;
  font-size: 2.2rem;
  margin-bottom: 1.3rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.icon-lock { font-size: 1.4em; vertical-align: middle; }
.icon-info { color: #4ec6c7; margin-left: 6px;}
.intro-bloc { background: #e7f3fa; border-radius: 8px; padding: 1.1em 1em; margin-bottom: 1.4em; border-left: 5px solid #93bafc; }

.rgpd-flex-blocks { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.rgpd-flex-blocks section { flex:1 1 220px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px #e8f1fb; padding: 1rem 1.3rem; }
.rgpd-flex-blocks h2 { color: #093c84; font-size: 1.17em; margin-top:0; }

.encart { margin: 2em 0; border-radius: 8px; padding: 1em 1.2em; font-size: 1.08em; }
.encart-attention { background: #ffe2e0; border-left: 4px solid #d54f36; color: #8c2412; }
.encart-ok { background: #e1f9e2; border-left: 4px solid #4ec6c7; color: #105829; }
.icon-attention, .icon-ok { font-size: 1.25em; vertical-align: middle; margin-right: 0.3em; }

.timeline-rgpd { margin: 2.5em 0 2em 0; padding: 1.1em 1em; border-radius: 8px; background: #f2f7fd; box-shadow: 0 2px 10px #e3eaf5; }
.timeline-rgpd > div { margin-bottom: 0.9em; font-size: 1.05em; display: flex; align-items: center; gap: 0.6em; }
.timeline-rgpd .icon { font-size: 1.22em; color: #093c84; }

.confidentialite-div ul {
  list-style: disc inside;
  margin: 0.7em 0 0.9em 0.2em;
  color: #093c84;
  font-size: 1.04em;
  padding-left: 1em;
}
.confidentialite-div li { margin-bottom: 0.42em; }

.mentions-div {
  max-width: 760px;
  margin: 2.2rem auto 2.7rem auto;
  background: #f9fbfd;
  border-radius: 16px;
  box-shadow: 0 4px 22px rgba(17,38,71,0.04);
  padding: 2.2rem 2vw;
}

.mentions-div h1 {
  color: #093c84;
  font-size: 2.2rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65em;
}



.legal-bloc {
  background: #fff;
  border-radius: 10px;
  margin: 2.1rem auto;
  box-shadow: 0 2px 8px #e3eefc;
  padding: 1.25rem 1.5rem 1.1rem 1.5rem;
  max-width: 650px;
  width: 100%;
}




.legal-bloc h2 {
  color: #1572cc;
  font-size: 1.16em;
  margin-bottom: 0.6em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.infos-cle {
  font-size: 1.08em;
  color: #12406a;
  margin-bottom: 0.4em;
}

.legal-bloc ul {
  list-style-type: disc;
  padding-left: 1.4em;
  margin: 0.6em 0 0.9em 0;
  color: #093c84;
  font-size: 1.05em;
}
.legal-bloc li { margin-bottom: 0.35em; }

.encart {
  background: #e8f5fe;
  color: #0b2341;
  padding: 0.7em 1em;
  border-radius: 6px;
  margin-top: 0.7em;
  margin-bottom: 0.4em;
  font-size: 1.05em;
}

.encart-med {
  background: #f8f6f9;
  color: #460a64;
  border-left: 4px solid #b48bd4;
  padding-left: 1.4em;
}

.icon-legal, .icon-office, .icon-server, .icon-shield, .icon-copyright, .icon-lock, .icon-mediation, .icon-person, .icon-mail, .icon-attention, .icon-med {
  font-size: 1.25em;
  vertical-align: middle;
}

a:hover { text-decoration: underline; }


.risque-bloc {
  max-width: 800px;
  margin: 2.5rem auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(20,30,126,0.06);
  padding: 2rem 2.3rem;
}

.risque-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.risque-icone {
  height: 58px;
  vertical-align: middle;
  margin-bottom: 0.4rem;
  opacity: 0.95;
}

.risque-header h1 {
  margin-bottom: 0.3rem;
  font-size: 2.3rem;
  color: #141e7e;
}

.risque-slogan {
  color: #5a7496;
  font-size: 1.13rem;
  font-style: italic;
  margin-top: 0.3rem;
  margin-bottom: 0.6rem;
}

.risque-intro p {
  font-size: 1.08rem;
  color: #32375b;
  margin-bottom: 1.6rem;
  text-align: justify;
}

.risque-list ul {
  list-style: none;
  padding: 0;
}

.risque-list li {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
}

.risque-list li:before {
  content: none !important;
  display: none !important;
}

.risque-tag {
  font-weight: bold;
  color: #216ae6;
  font-size: 1.09rem;
}

.risque-desc {
  font-size: 0.98rem;
  color: #373f55;
  margin-left: 0.3rem;
}

.valier-plus {
  margin-top: 2.1rem;
  background: #f8fbff;
  border-left: 5px solid #216ae6;
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
}

.valier-plus h2 {
  color: #216ae6;
  font-size: 1.24rem;
  margin-bottom: 0.6rem;
}

.valier-plus ul {
  margin: 0 0 1.1rem 0;
}

.valier-plus li {
  margin-bottom: 0.55rem;
  color: #373f55;
}

.risque-contact {
  text-align: center;
  margin-top: 1.2rem;
}

.risque-contact a {
  color: #141e7e;
  font-weight: bold;
  text-decoration: underline;
}
/* 1. Responsive NAV (burger menu basique) */
@media (max-width: 800px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    background: #fff;
    width: 100vw;
    z-index: 999;
    border-top: 1px solid #e3e3e3;
  }
  .nav-open nav {
    display: flex;
  }
  .burger {
    display: block;
    position: absolute;
    right: 2vw;
    top: 1.2rem;
    width: 36px; height: 36px;
    background: none;
    border: none;
    z-index: 1000;
    cursor: pointer;
  }
  .burger span, .burger span:before, .burger span:after {
    display: block;
    position: absolute;
    height: 4px;
    width: 28px;
    background: #214875;
    border-radius: 2px;
    transition: 0.3s;
  }
  .burger span { top: 16px; }
  .burger span:before { content: ""; top: 8px; }
  .burger span:after { content: ""; top: 24px; }
  .logo {
    font-size: 2.3rem;
  }
}
/*--------------------------------- MENU ------------------------------------------------*/
.burger-menu {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    height: 4px;
    width: 100%;
    background: #214875;
    border-radius: 2px;
    transition: all 0.22s;
}
/*------------------------------------------------------------------------------------*/






/* 3. Police logo mobile moins grosse */
@media (max-width: 800px) {
  .logo {
    font-size: 2.2rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    letter-spacing: 1px;
    color: #71bda6;
    padding-left: 0.2em;
  }
}

